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

11 test failures on big-endian architectures #3634

Open
matoro opened this issue Mar 15, 2023 · 0 comments
Open

11 test failures on big-endian architectures #3634

matoro opened this issue Mar 15, 2023 · 0 comments

Comments

@matoro
Copy link

matoro commented Mar 15, 2023

Hi, 11 of the decoding tests currently fail on big-endian architectures. I tested this in powerpc big-endian, where these tests fail, and comparing to powerpc little-endian, where all tests pass, and confirmed on mips big-endian (where the exact same tests fail with the exact same incorrect hashes).

These are the failed tests:

[ RUN      ] DecodeFile/DecoderOutputTest.CompareOutput/45
./test/utils/HashFunctions.h:19: Failure
Expected equality of these values:
  hashStr
    Which is: "b7f04399f38a90c866f0b518d1dd93c823d5d91f"
  hashStrCmp
    Which is: "8dad93e83f5fe6f7a21fc9d302b667b31a887af3"
[  FAILED  ] DecodeFile/DecoderOutputTest.CompareOutput/45, where GetParam() = 16-byte object <00-00 00-01 1A-10 76-88 0
0-00 00-01 1A-10 76-B8> (4591 ms)
[ RUN      ] DecodeFile/DecoderOutputTest.CompareOutput/46
./test/utils/HashFunctions.h:19: Failure
Expected equality of these values:
  hashStr
    Which is: "dabc1d0d44921a5c72ed2d4fde1d602465249c97"
  hashStrCmp
    Which is: "1311f7647ed83b609c313fecaf1a67834cfb7ffd"
[  FAILED  ] DecodeFile/DecoderOutputTest.CompareOutput/46, where GetParam() = 16-byte object <00-00 00-01 1A-10 76-E8 0
0-00 00-01 1A-10 77-18> (8254 ms)
[ RUN      ] DecodeFile/DecoderOutputTest.CompareOutput/47
./test/utils/HashFunctions.h:19: Failure
Expected equality of these values:
  hashStr
    Which is: "6e719adb650cee4ca99a45242685d261257c04cc"
  hashStrCmp
    Which is: "960eb89cb12aedeb3e4ab1dfabb8ab42c2a5f7b5"
[  FAILED  ] DecodeFile/DecoderOutputTest.CompareOutput/47, where GetParam() = 16-byte object <00-00 00-01 1A-10 77-48 0
0-00 00-01 1A-10 77-78> (4013 ms)
[ RUN      ] DecodeFile/DecoderOutputTest.CompareOutput/48
./test/utils/HashFunctions.h:19: Failure
Expected equality of these values:
  hashStr
    Which is: "33bfa44b4a3c87fe28354cace1d4b99a03d2967d"
  hashStrCmp
    Which is: "aeca401d3584ea9fac52dbebb460eeee3f4b01b1"
[  FAILED  ] DecodeFile/DecoderOutputTest.CompareOutput/48, where GetParam() = 16-byte object <00-00 00-01 1A-10 77-A8 0
0-00 00-01 1A-10 77-D8> (4238 ms)
[ RUN      ] DecodeFile/DecoderOutputTest.CompareOutput/49
./test/utils/HashFunctions.h:19: Failure
Expected equality of these values:
  hashStr
    Which is: "4face6b5d73a378b6e564a831b49311c230158e4"
  hashStrCmp
    Which is: "565523dfda185266eeeeffb842a5cca99099d05c"
[  FAILED  ] DecodeFile/DecoderOutputTest.CompareOutput/49, where GetParam() = 16-byte object <00-00 00-01 1A-10 78-08 0
0-00 00-01 1A-10 78-38> (7858 ms)
[ RUN      ] DecodeFile/DecoderOutputTest.CompareOutput/50
./test/utils/HashFunctions.h:19: Failure
Expected equality of these values:
  hashStr
    Which is: "b35dc99604ea2a1fda5b84d1b9098cb7565dec8f"
  hashStrCmp
    Which is: "37215c264c825c2ae2aa8bf2dce8a0d760b473f9"
[  FAILED  ] DecodeFile/DecoderOutputTest.CompareOutput/50, where GetParam() = 16-byte object <00-00 00-01 1A-10 78-68 0
0-00 00-01 1A-10 78-98> (3933 ms)

[ RUN      ] ThreadDecodeFile/ThreadDecoderOutputTest.CompareOutput/34
./test/utils/HashFunctions.h:30: Failure
Expected equality of these values:
  hashStr[0]
    Which is: "ae5f21eff917d09d5a1ba2ad2075edd92eb6b61c"
  hashStrCmp
    Which is: "81fb305adb3edec3b1954b43fbafb93bdf2c6323"
[  FAILED  ] ThreadDecodeFile/ThreadDecoderOutputTest.CompareOutput/34, where GetParam() = 16-byte object <00-00 00-01 1
A-10 76-88 00-00 00-01 1A-10 B0-80> (4492 ms)
[ RUN      ] ThreadDecodeFile/ThreadDecoderOutputTest.CompareOutput/35
./test/utils/HashFunctions.h:30: Failure
Expected equality of these values:
  hashStr[0]
    Which is: "8c93ae9acfdf6d902c1a47102d4bf3294f45c0f3"
  hashStrCmp
    Which is: "fa41afce45eafa0ce979c15107a7ace2efa623b8"
[  FAILED  ] ThreadDecodeFile/ThreadDecoderOutputTest.CompareOutput/35, where GetParam() = 16-byte object <00-00 00-01 1
A-10 77-48 00-00 00-01 1A-10 B0-B0> (2061 ms)
[ RUN      ] ThreadDecodeFile/ThreadDecoderOutputTest.CompareOutput/36
./test/utils/HashFunctions.h:30: Failure
Expected equality of these values:
  hashStr[0]
    Which is: "d9b31a2586ee156fe697de5934afb5a769f79494"
  hashStrCmp
    Which is: "f081ecd2d8537903541c0e3c7719bb99e6c1920d"
[  FAILED  ] ThreadDecodeFile/ThreadDecoderOutputTest.CompareOutput/36, where GetParam() = 16-byte object <00-00 00-01 1
A-10 77-A8 00-00 00-01 1A-10 B0-E0> (2456 ms)
[ RUN      ] ThreadDecodeFile/ThreadDecoderOutputTest.CompareOutput/37
./test/utils/HashFunctions.h:30: Failure
Expected equality of these values:
  hashStr[0]
    Which is: "888c31cef73eb6804e2469fa77e51636c915ff82"
  hashStrCmp
    Which is: "31c3c346ebb8a566533e98e6eb8df27068aff69e"
[  FAILED  ] ThreadDecodeFile/ThreadDecoderOutputTest.CompareOutput/37, where GetParam() = 16-byte object <00-00 00-01 1
A-10 78-08 00-00 00-01 1A-10 B1-10> (4610 ms)
[ RUN      ] ThreadDecodeFile/ThreadDecoderOutputTest.CompareOutput/38
./test/utils/HashFunctions.h:30: Failure
Expected equality of these values:
  hashStr[0]
    Which is: "4467039825f472bae31e58b383b1f2c9a73ce8e0"
  hashStrCmp
    Which is: "07763111bccbf0a1e9c0c5ae0b8d27c6ffcbcae8"
[  FAILED  ] ThreadDecodeFile/ThreadDecoderOutputTest.CompareOutput/38, where GetParam() = 16-byte object <00-00 00-01 1
A-10 78-68 00-00 00-01 1A-10 B1-40> (2009 ms)
matoro added a commit to matoro/gentoo that referenced this issue Mar 15, 2023
Patch backports cisco/openh264#3630

Tests are currently broken on BE but pass on LE.

cisco/openh264#3634

Bug: https://bugs.gentoo.org/896138
Signed-off-by: Matoro Mahri <[email protected]>
matoro added a commit to matoro/gentoo that referenced this issue Mar 15, 2023
Patch backports cisco/openh264#3630

Tests are currently broken on BE but pass on LE.

cisco/openh264#3634

Bug: https://bugs.gentoo.org/896138
Signed-off-by: Matoro Mahri <[email protected]>
matoro added a commit to matoro/gentoo that referenced this issue Mar 15, 2023
Patch backports cisco/openh264#3630

Tests are currently broken on BE but pass on LE.

cisco/openh264#3634

Bug: https://bugs.gentoo.org/896138
Signed-off-by: Matoro Mahri <[email protected]>
gentoo-bot pushed a commit to gentoo/gentoo that referenced this issue Mar 15, 2023
Patch backports cisco/openh264#3630

Tests are currently broken on BE but pass on LE.

cisco/openh264#3634

Bug: https://bugs.gentoo.org/896138
Signed-off-by: Matoro Mahri <[email protected]>
Closes: #30137
Signed-off-by: Joonas Niilola <[email protected]>
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

No branches or pull requests

1 participant