You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I did get warnings at the end stage of my build:
ld: warning: dylib (/usr/local/Cellar/openssl@3/3.0.0_1/lib/libssl.dylib) was built for newer macOS version (11.0) than being linked (10.15)
ld: warning: dylib (/usr/local/Cellar/openssl@3/3.0.0_1/lib/libcrypto.dylib) was built for newer macOS version (11.0) than being linked (10.15)
[919/1019] ld tests/TestSafeInt
ld: warning: dylib (/usr/local/Cellar/openssl@3/3.0.0_1/lib/libssl.dylib) was built for newer macOS version (11.0) than being linked (10.15)
Proposed Solution
None
The text was updated successfully, but these errors were encountered:
ghost
changed the title
unit test failed on MacOS 11.6.1
Unit test failed on MacOS 11.6.1
Nov 22, 2021
Problem
I want to build and run the host application and followed the build instruction. But the unit test failed on my side.
The machine is a MacBook Air with Intel Core i-5 cpu, running MacOS 11.6.1 Big Sur.
This is my error message:
jiankuang@Jians-Air connectedhomeip % ninja -C out/host check
ninja: Entering directory `out/host'
[4/160] ACTION //src/app/tests:TestDataModelSerialization_run(//build/toolchain/host:mac_x64_gcc)
FAILED: gen/src/app/tests/TestDataModelSerialization_run.pw_pystamp
python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../src/app/tests --default-toolchain=//build/toolchain/host:mac_x64_gcc --current-toolchain=//build/toolchain/host:mac_x64_gcc --touch gen/src/app/tests/TestDataModelSerialization_run.pw_pystamp --capture-output -- ../../third_party/pigweed/repo/pw_unit_test/py/pw_unit_test/test_runner.py --runner ../../third_party/pigweed/repo/targets/host/run_test --test tests/TestDataModelSerialization
INF Test 1/1: [ RUN] TestDataModelSerialization
ERR ../../third_party/pigweed/repo/targets/host/run_test exited with status 255
OUT [29249]
'#0:','TestDataModelSerialization'
'#2:','Setup ','PASSED'
'#3:','TestDataModelSerialization_EncAndDecSimple ','PASSED'
'#3:','TestDataModelSerialization_EncAndDecNestedStruct ','PASSED'
'#3:','TestDataModelSerialization_EncAndDecDecodableNestedStructList ','PASSED'
../../src/app/tests/TestDataModelSerialization.cpp:505: assertion failed: "err == CHIP_NO_ERROR"
../../src/app/tests/TestDataModelSerialization.cpp:528: assertion failed: "iter.GetStatus() == CHIP_NO_ERROR"
../../src/app/tests/TestDataModelSerialization.cpp:529: assertion failed: "i == 4"
'#3:','TestDataModelSerialization_EncAndDecDecodableDoubleNestedStructList','FAILED'
'#3:','TestDataModelSerialization_OptionalFields ','PASSED'
'#3:','TestDataModelSerialization_ExtraField ','PASSED'
'#3:','TestDataModelSerialization_InvalidSimpleFieldTypes ','PASSED'
'#3:','TestDataModelSerialization_InvalidListType ','PASSED'
'#3:','TestDataModelSerialization_NullablesOptionalsStruct ','PASSED'
'#3:','TestDataModelSerialization_NullablesOptionalsCommand ','PASSED'
'#4:','Teardown ','PASSED'
'#6:','1','10'
'#7:','3','265'
INF Test 1/1: [FAIL] TestDataModelSerialization
[9/160] ACTION //src/credentials/tests:TestCertificationDeclaration_run(//build/toolchain/host:mac_x64_gcc)
ninja: build stopped: subcommand failed.
And I did get warnings at the end stage of my build:
ld: warning: dylib (/usr/local/Cellar/openssl@3/3.0.0_1/lib/libssl.dylib) was built for newer macOS version (11.0) than being linked (10.15)
ld: warning: dylib (/usr/local/Cellar/openssl@3/3.0.0_1/lib/libcrypto.dylib) was built for newer macOS version (11.0) than being linked (10.15)
[919/1019] ld tests/TestSafeInt
ld: warning: dylib (/usr/local/Cellar/openssl@3/3.0.0_1/lib/libssl.dylib) was built for newer macOS version (11.0) than being linked (10.15)
Proposed Solution
None
The text was updated successfully, but these errors were encountered: