From 9b85508f62072bcc81b2d55c21dbe0219df6cdf5 Mon Sep 17 00:00:00 2001 From: Carel Combrink Date: Tue, 20 May 2025 08:20:36 +0200 Subject: [PATCH 1/4] Disable a few options - Not interested in these now and looked more involved to solve - d: complains about some libss missing linker object - dart: complains about an sdk version - lisp: some compile error --- build/docker/scripts/cross-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/docker/scripts/cross-test.sh b/build/docker/scripts/cross-test.sh index 0b6748ab254..3e9b3d185ae 100755 --- a/build/docker/scripts/cross-test.sh +++ b/build/docker/scripts/cross-test.sh @@ -2,7 +2,7 @@ set -ev ./bootstrap.sh -./configure --enable-tutorial=no +./configure --enable-tutorial=no --with-cl=no --with-d=no --with-dart=no make -j3 precross set +e @@ -10,7 +10,7 @@ make cross$1 RET=$? if [ $RET -ne 0 ]; then - if [ -f "test/features/log/unexpected_failures.log" ]; then + if [ -f "test/features/log/unexpected_failures.log" ]; then cat "test/features/log/unexpected_failures.log" fi if [ -f "test/log/unexpected_failures.log" ]; then From 06bc24494f6823739708f99eb386cd0325a4db79 Mon Sep 17 00:00:00 2001 From: Carel Combrink Date: Tue, 20 May 2025 13:43:49 +0200 Subject: [PATCH 2/4] Print the UUID that Go sends - Need to see it to compare to Java and C++ --- test/go/src/bin/testclient/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/go/src/bin/testclient/main.go b/test/go/src/bin/testclient/main.go index a71223ca602..643ad997243 100644 --- a/test/go/src/bin/testclient/main.go +++ b/test/go/src/bin/testclient/main.go @@ -152,6 +152,7 @@ func callEverything(client *thrifttest.ThriftTestClient) { 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, } u, err := client.TestUuid(defaultCtx, uout) + t.Printf("TestUuid(%v)", uout) if err != nil { t.Fatalf("TestUuid failed with %v", err) } From 2e5a7059f32a31e1863334b14b832b08aaceb1d5 Mon Sep 17 00:00:00 2001 From: Carel Combrink Date: Wed, 21 May 2025 07:10:09 +0200 Subject: [PATCH 3/4] Force swift to print known UUID - And print what is sent --- test/swift/CrossTests/Sources/TestClient/main.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/swift/CrossTests/Sources/TestClient/main.swift b/test/swift/CrossTests/Sources/TestClient/main.swift index d6274086942..650d34c9f27 100644 --- a/test/swift/CrossTests/Sources/TestClient/main.swift +++ b/test/swift/CrossTests/Sources/TestClient/main.swift @@ -384,7 +384,8 @@ Bân-lâm-gú, 粵語 }*/ func testUuid() throws { - let uuid = UUID() + let uuid = UUID(uuidString: "00112233-4455-6677-8899-aabbccddeeff")! + print("testUuid(\(uuid))") guard try client.testUuid(thing: uuid) == uuid else { resultCode |= Error.baseTypes.rawValue return From 7e5e16ef121a40b0eefc2c872b4e49507243fbcb Mon Sep 17 00:00:00 2001 From: Carel Combrink Date: Wed, 21 May 2025 07:38:03 +0200 Subject: [PATCH 4/4] Add the test pattern to the C++ side - To assist in debugging and writing up the findings --- test/cpp/src/TestClient.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cpp/src/TestClient.cpp b/test/cpp/src/TestClient.cpp index 41f5007e792..1163a76a5a5 100644 --- a/test/cpp/src/TestClient.cpp +++ b/test/cpp/src/TestClient.cpp @@ -668,6 +668,7 @@ int main(int argc, char** argv) { UUID_TEST(testUuid, TUuid{"5e2ab18817264e75a04f1ed9a6a89c4c"}, expected_uuid); UUID_TEST(testUuid, TUuid{"{5e2ab18817264e75a04f1ed9a6a89c4c}"}, expected_uuid); UUID_TEST(testUuid, TUuid{}, TUuid{"00000000-0000-0000-0000-000000000000"}); + UUID_TEST(testUuid, TUuid{"00112233-4455-6677-8899-aabbccddeeff"}, TUuid{"00112233-4455-6677-8899-aabbccddeeff"}); /** * STRUCT TEST