Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1624

OpenSSL entropy checks causes test failures on Solaris 10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.2
    • Labels:
      None
    • Platform:
      Solaris

      Description

      <pre>
      ----------------------------------------------------------------------
      ./16_cf-serverd/01_start/copy_from_digest_different_expand_ip.cf
      ----------------------------------------------------------------------
      crypto.c:135: Unexpected Error - this is a BUG, please report it: Low entropy! Please report which platform you are using.
      crypto.c:135: Unexpected Error - this is a BUG, please report it: Low entropy! Please report which platform you are using.
      2014-07-31T14:10:07+0200 notice: /default/default/methods/'any'/default/test_run/methods/'any'/default/test/methods/'any'/default/generate_key/commands/'"/home/build/build/core/tests/acceptance/workdir/__16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/bin/cf-key"'[0]: Q: "...in/cf-key"": crypto.c:135: Unexpected Error - this is a BUG, please report it: Low entropy! Please report which platform you are using.
      Q: "...in/cf-key"": Making a key pair for cfengine, please wait, this could take a minute...
      Q: "...in/cf-key"": 2014-07-31T14:10:07+0200 error: Unable to generate key (RSA_generate_key: PRNG not seeded)

      2014-07-31T14:10:11+0200 error: /default/default/methods/'any'/default/test_run/methods/'any'/default/test/methods/'any'/default/start_server/commands/'"/home/build/build/core/tests/acceptance/workdir/_16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/bin/cf-serverd" -Kf /home/build/build/core/tests/acceptance/./16_cf-serverd/01_start/./localhost_open.srv'[0]: Finished command related to promiser '"/home/build/build/core/tests/acceptance/workdir/_16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/bin/cf-serverd" -Kf /home/build/build/core/tests/acceptance/./16_cf-serverd/01_start/./localhost_open.srv' – an error occurred, returned 1
      2014-07-31T14:10:11+0200 notice: /default/default/methods/'any'/default/test_run/methods/'any'/default/test/methods/'any'/default/start_server/commands/'"/home/build/build/core/tests/acceptance/workdir/__16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/bin/cf-serverd" -Kf /home/build/build/core/tests/acceptance/./16_cf-serverd/01_start/./localhost_open.srv'[0]: Q: "...f-serverd" -Kf ": crypto.c:135: Unexpected Error - this is a BUG, please report it: Low entropy! Please report which platform you are using.
      Q: "...f-serverd" -Kf ": crypto.c:135: Unexpected Error - this is a BUG, please report it: Low entropy! Please report which platform you are using.
      Q: "...f-serverd" -Kf ": 2014-07-31T14:10:10+0200 warning: Cannot implicitly evaluate bundle 'common paths_init', as this bundle takes arguments.
      Q: "...f-serverd" -Kf ": 2014-07-31T14:10:10+0200 warning: Cannot implicitly evaluate bundle 'common paths_absolute', as this bundle takes arguments.
      Q: "...f-serverd" -Kf ": 2014-07-31T14:10:11+0200 warning: Cannot implicitly evaluate bundle 'common paths_init', as this bundle takes arguments.
      Q: "...f-serverd" -Kf ": 2014-07-31T14:10:11+0200 warning: Cannot implicitly evaluate bundle 'common paths_absolute', as this bundle takes arguments.
      Q: "...f-serverd" -Kf ": 2014-07-31T14:10:11+0200 error: No public/private key pair is loaded, create one with cf-key
      Q: "...f-serverd" -Kf ": 2014-07-31T14:10:11+0200 error: Unable to start server

      2014-07-31T14:10:11+0200 error: /default/default/methods/'any'/default/test_run/methods/'any'/default/test/methods/'any'[0]: Method 'start_server' failed in some repairs
      2014-07-31T14:10:15+0200 notice: /default/default/methods/'any'/default/test_run/methods/'any'/default/test/methods/'any'/default/run_test/commands/'"/home/build/build/core/tests/acceptance/workdir/_16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/bin/cf-agent" -KIf /home/build/build/core/tests/acceptance/./16_cf-serverd/01_start/copy_from_digest_different_expand_ip.cf.sub -D DEBUG,AUTO,ok 2>&1 | /bin/tee /home/build/build/core/tests/acceptance/workdir/_16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/agent-debug.log'[0]: Q: ".../cf-agent" -KIf": crypto.c:135: Unexpected Error - this is a BUG, please report it: Low entropy! Please report which platform you are using.
      Q: ".../cf-agent" -KIf": crypto.c:135: Unexpected Error - this is a BUG, please report it: Low entropy! Please report which platform you are using.
      Q: ".../cf-agent" -KIf": 2014-07-31T14:10:15+0200 info: /default/default/methods/'any'/default/test_run/methods/'any'/default/test/files/'/home/build/build/core/tests/acceptance/workdir/__16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/tmp/TEST.cfengine/destination_file'[0]: Unable to establish connection with 127.0.0.1
      Q: ".../cf-agent" -KIf": 2014-07-31T14:10:15+0200 error: /default/default/methods/'any'/default/test_run/methods/'any'/default/test/files/'/home/build/build/core/tests/acceptance/workdir/__16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/tmp/TEST.cfengine/destination_file'[0]: No suitable server responded to hail
      Q: ".../cf-agent" -KIf": 2014-07-31T14:10:15+0200 info: /default/default/methods/'any'/default/test_run/methods/'any'/default/test/files/'/home/build/build/core/tests/acceptance/workdir/__16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/tmp/TEST.cfengine/destination_file'[0]: Promise belongs to bundle 'test' in file '/home/build/build/core/tests/acceptance/./16_cf-serverd/01_start/copy_from_digest_different_expand_ip.cf.sub' near line 26
      Q: ".../cf-agent" -KIf": 2014-07-31T14:10:15+0200 error: /default/default/methods/'any'/default/test_run/methods/'any'[1]: Method 'test' failed in some repairs
      Q: ".../cf-agent" -KIf": R: FILES DIFFER BUT SHOULD BE THE SAME
      Q: ".../cf-agent" -KIf": R: CONTENTS OF /home/build/build/core/tests/acceptance/workdir/__16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/tmp/TEST.cfengine/127.0.0.1.txt:
      Q: ".../cf-agent" -KIf": Source and Destination are different_A
      Q: ".../cf-agent" -KIf": R: CONTENTS OF /home/build/build/core/tests/acceptance/workdir/__16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/tmp/TEST.cfengine/destination_file:
      Q: ".../cf-agent" -KIf": Source and Destination are different_B
      Q: ".../cf-agent" -KIf": R: — /home/build/build/core/tests/acceptance/workdir/__16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/tmp/TEST.cfengine/destination_file Thu Jul 31 14:10:07 2014
      Q: ".../cf-agent" -KIf": +++ /home/build/build/core/tests/acceptance/workdir/__16_cf-serverd_01_start_copy_from_digest_different_expand_ip_cf/tmp/TEST.cfengine/127.0.0.1.txt Thu Jul 31 14:10:06 2014
      Q: ".../cf-agent" -KIf": @@ -1,1 +1,1 @@
      Q: ".../cf-agent" -KIf": -Source and Destination are different_B
      Q: ".../cf-agent" -KIf": +Source and Destination are different_A
      Q: ".../cf-agent" -KIf": R: /home/build/build/core/tests/acceptance/./16_cf-serverd/01_start/copy_from_digest_different_expand_ip.cf FAIL
      Q: ".../cf-agent" -KIf": 2014-07-31T14:10:15+0200 error: /default/default/methods/'any'[0]: Method 'test_run' failed in some repairs

      2014-07-31T14:10:15+0200 error: /default/default/methods/'any'/default/test_run/methods/'any'[1]: Method 'test' failed in some repairs
      2014-07-31T14:10:15+0200 error: /default/default/methods/'any'[0]: Method 'test_run' failed in some repairs

      Return code is 0.

      ==> FAIL
      </pre>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10040 Kristian Amlie
                Reporter:
                jiraadmin Old User (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel