openssl: Test 80-test_cmp_http hangs on NonStop x86 when run without a valid tty

I’m not sure what is happening here, but when I run the test through our Jenkins CI test, which is not currently verbose, the test hangs 100% of the time - the terminal is defunct when this happens. When run from an interactive shell, whether verbose or not, the test passes.

This occurs at commit 835dd706d. It has been happening since the test was known to pass on the platform at alpha17. Unfortunately, I could not throw the hung process into debug - that may change with verbose on on the next run.

I am going to be rerunning the test cycle with verbose turned on to see whether I can find which subtest is having issues. The stack trace in openssl is as follows, which seems to be indicating that our friend problem server port is not being communicated between the openssl (at BIO_accept_ex) and the test script:

Procedure call trace:
  AsmBreakDispatchNoRelink + 0x2 (Milli)
  $n_NSK_Event_Wait + 0xCA (Milli)
  Timer_WaitOnEmbeddedTLE_ + 0xDE (SLr)
  PROCESS_WAIT_ + 0x38 (SLr)
  WAIT + 0x36 (SLr)
  tsleep_l + 0x359 (DLL zcipdll)
  csif_oss_accept64 + 0x20E5 (DLL zcipdll)
  QIOCIP_OSS_FS_ACCEPT_ + 0x1FD (SLr)
  Pxso_SocketAccept_Net_ + 0x107A (SLr)
  PXL2_SOCKET_ACCEPT_ + 0x411 (SLr)
  accept + 0x597 (SLr)
  $n_EnterPriv + 0x540 (Milli)
  BIO_accept_ex + 0x4F (DLL libcrypto.so)
  acpt_state + 0x60E (DLL libcrypto.so)
  acpt_ctrl + 0xD8 (DLL libcrypto.so)
  BIO_ctrl + 0xCC (DLL libcrypto.so)
  http_server_get_asn1_req + 0xAC (UCr)
  cmp_server + 0x12F (UCr)
  cmp_main + 0xC17 (UCr)
  do_cmd + 0x82 (UCr)
  main + 0x2A0 (UCr)
  _MAIN + 0x3F (UCr)

The situation is similar to running the test from inside a Docker container.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 26 (26 by maintainers)

Commits related to this issue

Most upvoted comments

Test results on NonStop x86 at Beta1 (unthreaded):

All tests successful.
Files=239, Tests=3326, 2763 wallclock secs (10.14 usr  0.00 sys + 1205.02 cusr 16.29 csys = 1231.45 CPU)
Result: PASS

Thank you all for your support.

@rsbeckerca, I hope #15797 fixes things for you as well. We’re hurrying that fix now because we want it in the beta1 release, which is happening today.

Will try first thing when I can drag myself out of bed this AM