OpenDDS / OpenDDS

OpenDDS is an open source C++ implementation of the Object Management Group (OMG) Data Distribution Service (DDS). OpenDDS also supports Java bindings through JNI.
http://www.opendds.org
Other
1.28k stars 463 forks source link

tests with 'ERROR: could not sign' but pass #4592

Closed jrw972 closed 4 weeks ago

jrw972 commented 4 weeks ago

Discussed in https://github.com/OpenDDS/OpenDDS/discussions/4552

Originally posted by **vermaete** April 1, 2024 Hi, To start, I didn't find time to dig into this issue myself yet. Sorry for asking it so fast. I'm running the tests of OpenDDS version 3.27 at an Debian 12 box. And in the log I see `ERROR: could not sign`. But the tests seems to pass. The configuration was done with `./configure --tests --security --doc-group3 --prefix=/usr` And the tests with `./auto_run_tests.pl --security 2>&1 | tee -a run.log` ``` auto_run_tests: tests/security/attributes/run_test.pl SC0_sec_off ERROR: could not sign /home/jan/projects/OpenDDS/tests/security/attributes/subscriber -Governance governance.xml.p7s -Topic OD_OL_OA_OM_OD -IdentityCA ../certs/identity/identity_ca_cert.pem -PermissionsCA ../certs/permissions/permissions_ca_cert.pem -DCPSConfigFile unsec_base.ini -Identity ../certs/identity/test_participant_02_cert.pem -PrivateKey ../certs/identity/test_participant_02_private_key.pem -Permissions permissions/permissions_test_participant_02_allowall_signed.p7s -Timeout 10 -DCPSDebugLevel 4 -ORBVerboseLogging 1 -DCPSTransportDebugLevel 2 -ORBLogFile subscriber.log -DCPSPendingTimeout 3 subscriber PID: 2225413 started at 2024-03-31 21:52:31 /home/jan/projects/OpenDDS/tests/security/attributes/publisher -Governance governance.xml.p7s -Topic OD_OL_OA_OM_OD -IdentityCA ../certs/identity/identity_ca_cert.pem -PermissionsCA ../certs/permissions/permissions_ca_cert.pem -DCPSConfigFile unsec_base.ini -Identity ../certs/identity/test_participant_01_cert.pem -PrivateKey ../certs/identity/test_participant_01_private_key.pem -Permissions permissions/permissions_test_participant_01_allowall_signed.p7s -Timeout 10 -DCPSDebugLevel 4 -ORBVerboseLogging 1 -DCPSTransportDebugLevel 2 -ORBLogFile publisher.log -DCPSPendingTimeout 3 publisher PID: 2225414 started at 2024-03-31 21:52:31 Starting publisher Starting publisher with 17 args Reliable DataWriter Transport is RELIABLE Reliable DataReader USER DATA: Creating Writer Starting Writer SampleInfo.sample_rank = 0 SampleInfo.instance_state = 1 Message: subject = Review subject_id = 99 from = Comic Book Guy count = 0 text = Worst. Movie. Ever. SampleInfo.sample_rank = 0 SampleInfo.instance_state = 1 Message: subject = Review subject_id = 98 from = Comic Book Guy count = 1 text = Worst. Movie. Ever. SampleInfo.sample_rank = 0 SampleInfo.instance_state = 1 Message: subject = Review subject_id = 97 from = Comic Book Guy count = 2 text = Worst. Movie. Ever. SampleInfo.sample_rank = 0 SampleInfo.instance_state = 1 Message: subject = Review subject_id = 96 from = Comic Book Guy count = 3 text = Worst. Movie. Ever. SampleInfo.sample_rank = 0 SampleInfo.instance_state = 1 Message: subject = Review subject_id = 95 from = Comic Book Guy count = 4 text = Worst. Movie. Ever. SampleInfo.sample_rank = 0 SampleInfo.instance_state = 1 Message: subject = Review subject_id = 94 from = Comic Book Guy count = 5 text = Worst. Movie. Ever. SampleInfo.sample_rank = 0 SampleInfo.instance_state = 1 Message: subject = Review subject_id = 93 from = Comic Book Guy count = 6 text = Worst. Movie. Ever. SampleInfo.sample_rank = 0 SampleInfo.instance_state = 1 Message: subject = Review subject_id = 92 from = Comic Book Guy count = 7 text = Worst. Movie. Ever. SampleInfo.sample_rank = 0 SampleInfo.instance_state = 1 Message: subject = Review subject_id = 91 from = Comic Book Guy count = 8 text = Worst. Movie. Ever. SampleInfo.sample_rank = 0 SampleInfo.instance_state = 1 Message: subject = Review subject_id = 90 from = Comic Book Guy count = 9 text = Worst. Movie. Ever. Writer finished Writer wait for ACKS deleting DW deleting contained entities SampleInfo.sample_rank = 0 SampleInfo.instance_state = 2 deleting participant SampleInfo.sample_rank = 0 SampleInfo.instance_state = 4 SampleInfo.sample_rank = 0 SampleInfo.instance_state = 4 SampleInfo.sample_rank = 0 SampleInfo.instance_state = 4 SampleInfo.sample_rank = 0 SampleInfo.instance_state = 4 SampleInfo.sample_rank = 0 SampleInfo.instance_state = 4 SampleInfo.sample_rank = 0 SampleInfo.instance_state = 4 SampleInfo.sample_rank = 0 SampleInfo.instance_state = 4 SampleInfo.sample_rank = 0 SampleInfo.instance_state = 4 SampleInfo.sample_rank = 0 SampleInfo.instance_state = 4 deleting contained entities shutdown deleting participant shutdown test PASSED. auto_run_tests_finished: tests/security/attributes/run_test.pl SC0_sec_off Time:1s Result:0 ```