Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 759343

Summary: x11-misc/synergy-1.9.1-r1 - fails ClipboardChunkTests.data_formatDataChunk, ClipboardChunkTests.end_formatDataChunk tests
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED WONTFIX    
Severity: normal CC: jstein
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC64   
OS: Linux   
URL: https://github.com/symless/synergy-core/issues/6960
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log
build.log (1.13.0)
build.log (1.13.1.41)

Description ernsteiswuerfel archtester 2020-12-10 12:30:29 UTC
Created attachment 677566 [details]
emerge --info

[...]
[ RUN      ] ClipboardChunkTests.data_formatDataChunk
/var/tmp/portage/x11-misc/synergy-1.9.1-r1/work/synergy-core-1.9.1-stable/src/test/unittests/synergy/Cli
pboardChunkTests.cpp:50: Failure
Value of: (UInt32)chunk->m_chunk[1]
  Actual: 0
Expected: sequence
Which is: 1
[  FAILED  ] ClipboardChunkTests.data_formatDataChunk (0 ms)
[ RUN      ] ClipboardChunkTests.end_formatDataChunk
/var/tmp/portage/x11-misc/synergy-1.9.1-r1/work/synergy-core-1.9.1-stable/src/test/unittests/synergy/Cli
pboardChunkTests.cpp:73: Failure
Value of: (UInt32)chunk->m_chunk[1]
  Actual: 0
Expected: sequence
Which is: 1
[  FAILED  ] ClipboardChunkTests.end_formatDataChunk (0 ms)
[...]
[==========] 139 tests from 12 test cases ran. (7 ms total)
[  PASSED  ] 137 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] ClipboardChunkTests.data_formatDataChunk
[  FAILED  ] ClipboardChunkTests.end_formatDataChunk

 2 FAILED TESTS
 * ERROR: x11-misc/synergy-1.9.1-r1::gentoo failed (test phase):
 *   Failed to run 'my_test'
Comment 1 ernsteiswuerfel archtester 2020-12-10 12:31:30 UTC
Created attachment 677569 [details]
build.log
Comment 2 ernsteiswuerfel archtester 2021-03-11 19:18:45 UTC
Created attachment 690816 [details]
build.log (1.13.0)

1.13.0 fails 6 tests more, but these tests were not in 1.9.1-r1.

[...]
[  PASSED  ] 181 tests.
[  FAILED  ] 8 tests, listed below:
[  FAILED  ] ClipboardChunkTests.data_formatDataChunk
[  FAILED  ] ClipboardChunkTests.end_formatDataChunk
[  FAILED  ] ReadfIntTests/ReadfIntTestFixture.readf_int/0, where GetParam() = (0x10a170380 pointing to "%1i", 1)
[  FAILED  ] ReadfIntTests/ReadfIntTestFixture.readf_int/1, where GetParam() = (0x10a170388 pointing to "%2i", 2)
[  FAILED  ] WriteIntTest/WriteIntTest.write_int/1, where GetParam() = (0x10a170388 pointing to "%2i", 2)
[  FAILED  ] WriteIntTest/WriteIntTest.write_int/2, where GetParam() = (0x10a170390 pointing to "%4i", 4)
[  FAILED  ] WriteIntVectorTest/WriteIntVectorTest.write_vector_int/1, where GetParam() = (0x10a170370 pointing to "%2I", 2)
[  FAILED  ] WriteIntVectorTest/WriteIntVectorTest.write_vector_int/2, where GetParam() = (0x10a170378 pointing to "%4I", 4)

 8 FAILED TESTS
 * ERROR: x11-misc/synergy-1.13.0::gentoo failed (test phase):
Comment 3 ernsteiswuerfel archtester 2021-03-11 19:24:14 UTC
Created attachment 690819 [details]
build.log (1.13.1.41)

1.13.1.41 fails 3 tests more, but these tests were not in 1.13.0.

[...]
[  PASSED  ] 203 tests.
[  FAILED  ] 11 tests, listed below:
[  FAILED  ] UnicodeTests.doUTF32ToUTF8_will_convert_simple_string
[  FAILED  ] UnicodeTests.doUTF16ToUTF8_will_convert_simple_string
[  FAILED  ] UnicodeTests.doUCS2ToUTF8_will_convert_simple_string_kUCS2
[  FAILED  ] ClipboardChunkTests.data_formatDataChunk
[  FAILED  ] ClipboardChunkTests.end_formatDataChunk
[  FAILED  ] ReadfIntTests/ReadfIntTestFixture.readf_int/0, where GetParam() = (0x108d193c0 pointing to "%1i", 1)
[  FAILED  ] ReadfIntTests/ReadfIntTestFixture.readf_int/1, where GetParam() = (0x108d193c8 pointing to "%2i", 2)
[  FAILED  ] WriteIntTest/WriteIntTest.write_int/1, where GetParam() = (0x108d193c8 pointing to "%2i", 2)
[  FAILED  ] WriteIntTest/WriteIntTest.write_int/2, where GetParam() = (0x108d193d0 pointing to "%4i", 4)
[  FAILED  ] WriteIntVectorTest/WriteIntVectorTest.write_vector_int/1, where GetParam() = (0x108d193e0 pointing to "%2I", 2)
[  FAILED  ] WriteIntVectorTest/WriteIntVectorTest.write_vector_int/2, where GetParam() = (0x108d193e8 pointing to "%4I", 4)

11 FAILED TESTS
 * ERROR: x11-misc/synergy-1.13.1.41::gentoo failed (test phase):
Comment 4 ernsteiswuerfel archtester 2021-03-11 20:02:27 UTC
Tookt it upstream.
Comment 5 ernsteiswuerfel archtester 2021-05-31 18:18:05 UTC
Ok, according to upstream "I am afraid Synergy is not supported on ppc64" this won't be fixed.