Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-8209

encryption.encrypt_and_grep fails in buildbot and outside

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1
    • Fix Version/s: 10.1.5
    • Component/s: Tests
    • Labels:
      None

      Description

      http://buildbot.askmonty.org/buildbot/builders/bld-dan-release/builds/2493/steps/test/logs/stdio

      encryption.encrypt_and_grep 'xtradb'     w1 [ fail ]
              Test ended at 2015-05-21 18:17:28
      
      CURRENT_TEST: encryption.encrypt_and_grep
      --- /opt/buildbot-slave/mariadb/dan_demeter2/build/mysql-test/suite/encryption/r/encrypt_and_grep.result	2015-05-21 11:29:18.561315509 +0300
      +++ /opt/buildbot-slave/mariadb/dan_demeter2/build/mysql-test/suite/encryption/r/encrypt_and_grep.reject	2015-05-21 18:17:28.771705446 +0300
      @@ -21,7 +21,7 @@
       # t1 yes on expecting NOT FOUND
       NOT FOUND /foobar/ in t1.ibd
       # t2 ... on expecting FOUND
      -FOUND /temp/ in t2.ibd
      +NOT FOUND /temp/ in t2.ibd
       # t3 no  on expecting FOUND
       FOUND /dummy/ in t3.ibd
       # ibdata1 expecting NOT FOUND
      @@ -33,7 +33,7 @@
       # t1 yes on expecting NOT FOUND
       NOT FOUND /foobar/ in t1.ibd
       # t2 ... on expecting NOT FOUND
      -NOT FOUND /temp/ in t2.ibd
      +FOUND /temp/ in t2.ibd
       # t3 no  on expecting FOUND
       FOUND /dummy/ in t3.ibd
       # ibdata1 expecting NOT FOUND
      
      mysqltest: Result content mismatch
      

      Fails for me locally as well, but sporadically – sometimes at line 24, sometimes at line 36, sometimes both.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              jplindst Jan Lindström added a comment -

              Repeating the problem does not seem to be very easy:

              jan@jan-GE70-0NC-0ND ~/mysql/10.1-encryption/mysql-test $ ./mysql-test-run --vardir=/dev/shm encrypt_and_grep --parallel=4 --repeat=10
              Logging: ./mysql-test-run  --vardir=/dev/shm encrypt_and_grep --parallel=4 --repeat=10
              
              
              ==============================================================================
              
              TEST                                  WORKER RESULT   TIME (ms) or COMMENT
              --------------------------------------------------------------------------
              
              worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
              worker[3] Using MTR_BUILD_THREAD 301, with reserved ports 16020..16039
              worker[2] Using MTR_BUILD_THREAD 303, with reserved ports 16060..16079
              worker[4] Using MTR_BUILD_THREAD 302, with reserved ports 16040..16059
              encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ]  18383
              encryption.encrypt_and_grep 'xtradb'     w3 [ pass ]  18392
              encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ]  12295
              encryption.encrypt_and_grep 'xtradb'     w3 [ pass ]  12296
              encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ]  12286
              encryption.encrypt_and_grep 'xtradb'     w3 [ pass ]  12285
              encryption.encrypt_and_grep 'xtradb'     w3 [ pass ]  18002
              encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ]  18004
              encryption.encrypt_and_grep 'xtradb'     w3 [ pass ]  12318
              encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ]  12352
              encryption.encrypt_and_grep 'xtradb'     w3 [ pass ]  12362
              encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ]  12399
              encryption.encrypt_and_grep 'xtradb'     w3 [ pass ]  12289
              encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ]  12292
              encryption.encrypt_and_grep 'xtradb'     w3 [ pass ]  12306
              encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ]  12375
              encryption.encrypt_and_grep 'xtradb'     w3 [ pass ]  12301
              encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ]  12311
              encryption.encrypt_and_grep 'xtradb'     w3 [ pass ]  12387
              encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ]  12410
              --------------------------------------------------------------------------
              The servers were restarted 0 times
              Spent 270.045 of 147 seconds executing testcases
              
              Show
              jplindst Jan Lindström added a comment - Repeating the problem does not seem to be very easy: jan@jan-GE70-0NC-0ND ~/mysql/10.1-encryption/mysql-test $ ./mysql-test-run --vardir=/dev/shm encrypt_and_grep --parallel=4 --repeat=10 Logging: ./mysql-test-run --vardir=/dev/shm encrypt_and_grep --parallel=4 --repeat=10 ============================================================================== TEST WORKER RESULT TIME (ms) or COMMENT -------------------------------------------------------------------------- worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019 worker[3] Using MTR_BUILD_THREAD 301, with reserved ports 16020..16039 worker[2] Using MTR_BUILD_THREAD 303, with reserved ports 16060..16079 worker[4] Using MTR_BUILD_THREAD 302, with reserved ports 16040..16059 encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ] 18383 encryption.encrypt_and_grep 'xtradb' w3 [ pass ] 18392 encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ] 12295 encryption.encrypt_and_grep 'xtradb' w3 [ pass ] 12296 encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ] 12286 encryption.encrypt_and_grep 'xtradb' w3 [ pass ] 12285 encryption.encrypt_and_grep 'xtradb' w3 [ pass ] 18002 encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ] 18004 encryption.encrypt_and_grep 'xtradb' w3 [ pass ] 12318 encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ] 12352 encryption.encrypt_and_grep 'xtradb' w3 [ pass ] 12362 encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ] 12399 encryption.encrypt_and_grep 'xtradb' w3 [ pass ] 12289 encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ] 12292 encryption.encrypt_and_grep 'xtradb' w3 [ pass ] 12306 encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ] 12375 encryption.encrypt_and_grep 'xtradb' w3 [ pass ] 12301 encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ] 12311 encryption.encrypt_and_grep 'xtradb' w3 [ pass ] 12387 encryption.encrypt_and_grep 'innodb_plugin' w1 [ pass ] 12410 -------------------------------------------------------------------------- The servers were restarted 0 times Spent 270.045 of 147 seconds executing testcases
              Hide
              jplindst Jan Lindström added a comment -

              Perro with 20 iterations does not repeat, decreasing the priority.

              Show
              jplindst Jan Lindström added a comment - Perro with 20 iterations does not repeat, decreasing the priority.
              Hide
              elenst Elena Stepanova added a comment -

              We've had over 50 buildbot failures in the last 4 days, so it being not reproducible on Perro does not really make it any less important.
              Please feel free to set the priority as you like, but fix it.
              Besides, if something does not get encrypted only on certain machines, it makes the problem even more important, since it's harder to catch.

              Show
              elenst Elena Stepanova added a comment - We've had over 50 buildbot failures in the last 4 days, so it being not reproducible on Perro does not really make it any less important. Please feel free to set the priority as you like, but fix it. Besides, if something does not get encrypted only on certain machines, it makes the problem even more important, since it's harder to catch.
              Hide
              elenst Elena Stepanova added a comment -

              In fact, it fails just fine on perro.
              I created a setup in the usual manner, please feel free to use it.

              cd mdev8209/mysql-test
              perl ./mtr encryption.encrypt_and_grep --repeat=10
              

              1st run: 8 failures out of 20 tests.
              2nd run: 15 railures out of 20 tests.

              Output of these runs can be found in mdev8209/mysql-test/test.out and mdev8209/mysql-test/test2.out

              It's a normal debug build (cmake . -DCMAKE_BUILD_TYPE=Debug).

              Show
              elenst Elena Stepanova added a comment - In fact, it fails just fine on perro. I created a setup in the usual manner, please feel free to use it. cd mdev8209/mysql-test perl ./mtr encryption.encrypt_and_grep --repeat=10 1st run: 8 failures out of 20 tests. 2nd run: 15 railures out of 20 tests. Output of these runs can be found in mdev8209/mysql-test/test.out and mdev8209/mysql-test/test2.out It's a normal debug build (cmake . -DCMAKE_BUILD_TYPE=Debug).

                People

                • Assignee:
                  jplindst Jan Lindström
                  Reporter:
                  elenst Elena Stepanova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 5 hours
                    5h