Skip to content

Build failure on fresh clone due to OpenSSL test failure (80-test_cmp_http.t) #151

@arzan03

Description

@arzan03

Description:
I attempted to build the module from a fresh clone of this repository without making any code changes. The build fails during the OpenSSL build step, specifically in the make test phase, with the following error:

518.6 80-test_ca.t ....................... ok
518.7 80-test_cipherbytes.t .............. ok
518.9 80-test_cipherlist.t ............... ok
519.0 80-test_ciphername.t ............... ok
519.3 
519.3 cmp: Received request, 1st line: POST /pkix/ HTTP/1.0
519.3 CMP DEBUG: received IR
519.3 CMP DEBUG: validating CMP message
519.3 CMP DEBUG: sending IP
519.3 cmp: Received request, 1st line: POST /pkix/ HTTP/1.0
519.3 CMP DEBUG: received CERTCONF
519.3 CMP DEBUG: validating CMP message
519.3 CMP DEBUG: sending PKICONF
519.3 # cmp_main:apps/cmp.c:2832:CMP info: using section(s) 'Mock connection' of OpenSSL configuration file '../Mock/test.cnf'
519.3 # opt_str:apps/cmp.c:2316:CMP warning: -proxy option argument is empty string, resetting option
519.3 # setup_client_ctx:apps/cmp.c:2009:CMP info: will contact http://xn--rksmrgs-5wao1o.example.com:42161/pkix/
519.3 # CMP info: sending IR
519.3 # CMP info: received IP
519.3 # CMP info: sending CERTCONF
519.3 # CMP info: received PKICONF
519.3 # save_free_certs:apps/cmp.c:2056:CMP info: received 1 enrolled certificate(s), saving to file '../../../../test-runs/test_cmp_http/test.cert.pem'
519.3 ../../../../util/wrap.pl ../../../../apps/openssl cmp -config ../Mock/test.cnf -section 'Mock connection' -certout ../../../../test-runs/test_cmp_http/test.cert.pem -proxy '' -no_proxy 127.0.0.1 -server 'xn--rksmrgs-5wao1o.example.com:42161' -msg_timeout 1 => 0
519.3     not ok 2 - wrong server
519.3 # ------------------------------------------------------------------------------
533.8     # Looks like you failed 1 test of 37.
533.8 not ok 1 - CMP app CLI Mock connection
533.8 # ------------------------------------------------------------------------------
544.7 # Looks like you failed 1 test of 6.80-test_cmp_http.t ................. 
544.7 Dubious, test returned 1 (wstat 256, 0x100)
544.7 Failed 1/6 subtests 
549.8 80-test_cms.t ...................... ok
550.0 80-test_cmsapi.t ................... ok
550.1 80-test_ct.t ....................... ok
550.3 80-test_dane.t ..................... ok
552.0 80-test_dtls.t ..................... ok
552.2 80-test_dtls_mtu.t ................. ok
552.3 80-test_dtlsv1listen.t ............. ok
554.9 80-test_ocsp.t ..................... ok
555.7 80-test_pkcs12.t ................... ok
555.9 80-test_policy_tree.t .............. ok
581.8 80-test_ssl_new.t .................. ok
588.9 80-test_ssl_old.t .................. ok
588.9 80-test_ssl_test_ctx.t ............. ok
589.2 80-test_sslcorrupt.t ............... ok
590.2 80-test_tsa.t ...................... ok
590.3 80-test_x509aux.t .................. ok
590.7 81-test_cmp_cli.t .................. ok
590.8 90-test_asn1_time.t ................ ok
591.0 90-test_async.t .................... ok
591.2 90-test_bio_enc.t .................. ok
591.4 90-test_bio_memleak.t .............. ok
591.5 90-test_constant_time.t ............ ok
591.7 90-test_fatalerr.t ................. ok
591.8 90-test_fipsload.t ................. skipped: Test is disabled with disabled fips
592.0 90-test_gmdiff.t ................... ok
592.1 90-test_ige.t ...................... ok
592.4 90-test_includes.t ................. ok
592.5 90-test_memleak.t .................. ok
592.6 90-test_overhead.t ................. ok
592.7 90-test_secmem.t ................... ok
593.0 90-test_shlibload.t ................ ok
593.1 90-test_srp.t ...................... ok
598.6 90-test_sslapi.t ................... ok
598.7 90-test_sslbuffers.t ............... ok
609.7 90-test_store.t .................... ok
609.8 90-test_store_cases.t .............. ok
610.0 90-test_sysdefault.t ............... ok
610.2 90-test_threads.t .................. ok
610.3 90-test_time_offset.t .............. ok
610.5 90-test_tls13ccs.t ................. ok
610.7 90-test_tls13encryption.t .......... ok
610.8 90-test_tls13secrets.t ............. ok
611.0 90-test_traceapi.t ................. ok
611.1 90-test_v3name.t ................... ok
611.5 91-test_pkey_check.t ............... ok
611.6 95-test_external_gost_engine.t ..... skipped: No external tests in this configuration
611.7 95-test_external_krb5.t ............ skipped: No external tests in this configuration
611.9 95-test_external_pyca.t ............ skipped: No external tests in this configuration
611.9 99-test_ecstress.t ................. ok
612.0 99-test_fuzz_asn1.t ................ ok
612.1 99-test_fuzz_asn1parse.t ........... ok
612.1 99-test_fuzz_bignum.t .............. ok
612.2 99-test_fuzz_bndiv.t ............... ok
612.2 99-test_fuzz_client.t .............. ok
612.4 99-test_fuzz_cmp.t ................. ok
612.5 99-test_fuzz_cms.t ................. ok
612.5 99-test_fuzz_conf.t ................ ok
612.6 99-test_fuzz_crl.t ................. ok
612.7 99-test_fuzz_ct.t .................. ok
612.8 99-test_fuzz_server.t .............. ok
612.9 99-test_fuzz_x509.t ................ ok
612.9 
612.9 Test Summary Report
612.9 -------------------
612.9 80-test_cmp_http.t               (Wstat: 256 (exited 1) Tests: 6 Failed: 1)
612.9   Failed test:  1
612.9   Non-zero exit status: 1
612.9 Files=255, Tests=3381, 273 wallclock secs ( 4.99 usr  0.45 sys + 213.78 cusr 49.99 csys = 269.21 CPU)
612.9 Result: FAIL
612.9 make[2]: *** [Makefile:3281: run_tests] Error 1
612.9 make[2]: Leaving directory '/tmp/openssl-src'
612.9 make[1]: *** [Makefile:3278: _tests] Error 2
612.9 make[1]: Leaving directory '/tmp/openssl-src'
612.9 make: *** [Makefile:3276: tests] Error 2
------
WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
openssl.dockerfile:22
--------------------
  21 |     RUN ./config --prefix=${OUT_DIR} --openssldir=${OUT_DIR} shared zlib
  22 | >>> RUN <<`
  23 | >>>     set -e
  24 | >>>     make
  25 | >>>     make test
  26 | >>>     make install
  27 | >>> `
  28 |     RUN <<`
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c     set -e\n    make\n    make test\n    make install\n" did not complete successfully: exit code: 2

Observed Behavior:
The build fails during make test in the OpenSSL compilation stage, due to one failing CMP test (80-test_cmp_http.t).

Additional Info:
Environment: Ubuntu 24.04 LTS, Docker version 28.3.3
This appears to be an upstream OpenSSL test failure rather than a change in this module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions