Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20240110-revert-8340 #8352

Merged
merged 1 commit into from
Jan 11, 2025
Merged

Conversation

douzzer
Copy link
Contributor

@douzzer douzzer commented Jan 10, 2025

Revert "quic_record_append: return correct code"

This reverts commit bc12dad.

This commit broke builds that combine QUIC and PQ -- known failures are pq-all-valgrind-unittest, pq-hybrid-all-rpk, pq-hybrid-all-rpk-valgrind-unittest, quantum-safe-wolfssl-all-gcc-latest, quantum-safe-wolfssl-all-g++-latest, quantum-safe-wolfssl-all-fortify-source-asm, quantum-safe-wolfssl-all-fortify-source-asm-noasm, and quantum-safe-wolfssl-all-intelasm-sp-asm-valgrind.

Note that the unit.test asserts added by this commit fail both before and after reversion.

Excerpts from representative defect reports:

[pq-all-valgrind-unittest] [83 of 323] [dc2ada117e]
    configure...   real 0m10.088s  user 0m7.186s  sys 0m3.653s
    build...   real 0m30.714s  user 1m28.350s  sys 0m5.297s
    valgrind unit.test...==19540== Conditional jump or move depends on uninitialised value(s)
    [...]
    pq-all-valgrind-unittest fail_analysis
    failed config: '--srcdir' '.' '--disable-jobserver' '--enable-option-checking=fatal' '--enable-all' '--e
nable-testcert' '--enable-acert' '--enable-dtls13' '--enable-dtls-mtu' '--enable-dtls-frag-ch' '--enable-dtl
scid' '--enable-quic' '--with-sys-crypto-policy' '--disable-asm' '--enable-experimental' '--with-liboqs' 'LD
FLAGS=-ggdb -fno-omit-frame-pointer' '--disable-optflags' 'CPPFLAGS=-DNO_WOLFSSL_CIPHER_SUITE_TEST -DWOLFSSL
_OLD_PRIME_CHECK -pedantic' 'CFLAGS=-ggdb -fno-omit-frame-pointer -O2'
[pq-hybrid-all-rpk] [84 of 323] [dc2ada117e]
    configure...   real 0m9.592s  user 0m6.871s  sys 0m3.527s
    build...   real 0m22.215s  user 1m15.551s  sys 0m4.231s
    check...FAIL: scripts/unit.test
   real 0m20.247s  user 0m8.630s  sys 0m3.892s

scripts/unit.log tail:
    test_set_quic_method: passed
SSL quic data buffered: 
  - 0-104/104 (cap 2048, level=0)
  scratch: -

ERROR - tests/quic.c line 292 failed with:
    expected: provide_data(ssl, wolfssl_encryption_initial, lbuffer+4, len, 0) is true
    result:   provide_data(ssl, wolfssl_encryption_initial, lbuffer+4, len, 0) => FALSE

FAIL scripts/unit.test (exit status: 134)

check exited with status 2
[...]
    pq-hybrid-all-rpk fail_check
    failed config: '--srcdir' '.' '--disable-jobserver' '--enable-option-checking=fatal' '--enable-all' '--enable-testcert' '--enable-acert' '--enable-dtls13' '--enable-dtls-mtu' '--enable-dtls-frag-ch' '--enable-dtlscid' '--enable-quic' '--with-sys-crypto-policy' '--enable-intelasm' '--enable-sp-asm' '--enable-experimental' '--with-liboqs' '--enable-dual-alg-certs' 'CPPFLAGS=-DHAVE_RPK -DNO_WOLFSSL_CIPHER_SUITE_TEST -DWOLFSSL_OLD_PRIME_CHECK -pedantic'
[quantum-safe-wolfssl-all-gcc-latest] [90 of 323] [dc2ada117e]
    configure...   real 0m10.336s  user 0m7.270s  sys 0m3.835s
    build...   real 0m50.334s  user 2m28.108s  sys 0m4.276s
    check...FAIL: scripts/unit.test
   real 0m21.048s  user 0m10.091s  sys 0m3.816s

scripts/unit.log tail:
    test_set_quic_method: passed
SSL quic data buffered: 
  - 0-104/104 (cap 2048, level=0)
  scratch: -

ERROR - tests/quic.c line 292 failed with:
    expected: provide_data(ssl, wolfssl_encryption_initial, lbuffer+4, len, 0) is true
    result:   provide_data(ssl, wolfssl_encryption_initial, lbuffer+4, len, 0) => FALSE

FAIL scripts/unit.test (exit status: 134)

check exited with status 2
[...]
    quantum-safe-wolfssl-all-gcc-latest fail_check
    failed config: '--srcdir' '.' '--disable-jobserver' '--enable-option-checking=fatal' '--enable-all' '--enable-testcert' '--enable-acert' '--enable-dtls13' '--enable-dtls-mtu' '--enable-dtls-frag-ch' '--enable-dtlscid' '--enable-quic' '--with-sys-crypto-policy' '--enable-intelasm' '--enable-sp-asm' '--enable-experimental' '--enable-kyber=all,original' '--enable-lms' '--enable-xmss' '--enable-dilithium' '--enable-dual-alg-certs' '--disable-qt' 'CPPFLAGS=-pedantic -DWOLFCRYPT_TEST_LINT' 'CC=gcc-15'
[quantum-safe-wolfssl-all-intelasm-sp-asm-valgrind] [103 of 323] [dc2ada117e]
    configure...   real 0m10.104s  user 0m7.239s  sys 0m3.668s
    build...   real 0m31.571s  user 1m35.470s  sys 0m5.622s
    valgrind unit.test...==6659== Conditional jump or move depends on uninitialised value(s)
[...]
    quantum-safe-wolfssl-all-intelasm-sp-asm-valgrind fail_analysis
    failed config: '--srcdir' '.' '--disable-jobserver' '--enable-option-checking=fatal' '--enable-all' '--enable-testcert' '--enable-acert' '--enable-dtls13' '--enable-dtls-mtu' '--enable-dtls-frag-ch' '--enable-dtlscid' '--enable-quic' '--with-sys-crypto-policy' '--enable-intelasm' '--enable-sp-asm' '--enable-experimental' '--enable-kyber=all,original' '--enable-lms' '--enable-xmss' '--enable-dilithium' '--enable-dual-alg-certs' '--disable-qt' 'CPPFLAGS=-DNO_WOLFSSL_CIPHER_SUITE_TEST -DWOLFSSL_OLD_PRIME_CHECK -pedantic' 'LDFLAGS=-ggdb -fno-omit-frame-pointer' '--disable-optflags' 'CFLAGS=-ggdb -fno-omit-frame-pointer -O2'

This reverts commit bc12dad.

This commit broke builds that combine QUIC and PQ -- known failures are pq-all-valgrind-unittest, pq-hybrid-all-rpk, pq-hybrid-all-rpk-valgrind-unittest, quantum-safe-wolfssl-all-gcc-latest, quantum-safe-wolfssl-all-g++-latest, quantum-safe-wolfssl-all-fortify-source-asm, quantum-safe-wolfssl-all-fortify-source-asm-noasm, and quantum-safe-wolfssl-all-intelasm-sp-asm-valgrind.

Note that the unit.test asserts added by this commit fail both before and after reversion.
@douzzer
Copy link
Contributor Author

douzzer commented Jan 11, 2025

reverts #8340

@douzzer
Copy link
Contributor Author

douzzer commented Jan 11, 2025

retest this please (numerous FIPS failures with "Found unhandled hudson.remoting.ProxyException exception:
1: java.io.IOException: Failed to extract wolfssl.tar.gz")

@JacobBarthelmeh JacobBarthelmeh merged commit e037e08 into wolfSSL:master Jan 11, 2025
151 of 152 checks passed
@douzzer
Copy link
Contributor Author

douzzer commented Jan 11, 2025

note PRB-master-job did in fact complete with success
https://cloud.wolfssl-test.com/jenkins/job/PRB-master-job/7439/

Setting status of d4c654205b396bc094101924cec5c70f3c1c43a1 to SUCCESS with url https://cloud.wolfssl-test.com/jenkins/job/PRB-master-job/7439/ and message: 'Horray! No issues found. No test results found.'
Using context: PRB-master-job
Finished: SUCCESS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants