Closed Bug 1351459 Opened 3 years ago Closed 3 years ago

PowerPC-32 failure: B64EncodeDecodeTest, LongFakeDecTest1 + LongFakeEncDecTest1

Categories

(NSS :: Libraries, defect)

3.31
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kaie, Unassigned)

Details

I see a new failure on our powerpc32 builder.

[ RUN      ] B64EncodeDecodeTest.LongFakeDecTest1
unknown file: Failure
C++ exception with description "basic_string::_S_create" thrown in the test body.
[  FAILED  ] B64EncodeDecodeTest.LongFakeDecTest1 (29 ms)
[ RUN      ] B64EncodeDecodeTest.LongFakeEncDecTest1
util_b64_unittest.cc:34: Failure
Value of: tmp
  Actual: false
Expected: true
util_b64_unittest.cc:35: Failure
Value of: SECITEM_CompareItem_Util(item, tmp.get())
  Actual: 1
Expected: SECEqual
Which is: 0
[  FAILED  ] B64EncodeDecodeTest.LongFakeEncDecTest1 (811194 ms)
Looks like that system (or compiler?) doesn't support building strings of that size (it's a really long string). We could disable the test on that system.
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-linux-gnu/4.9/lto-wrapper
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-powerpc/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-powerpc --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-powerpc --with-arch-directory=ppc --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-secureplt --disable-softfloat --with-cpu=default32 --disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux --enable-multiarch --with-long-double-128 --enable-multilib --enable-checking=release --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
(In reply to Franziskus Kiefer [:fkiefer or :franziskus] from comment #1)
> We could disable the test on that system.

What's an easy way to do so with configuration?
This test also fails on armv7.
Let's disable the long B64 tests for now until we find something more intelligent.
https://hg.mozilla.org/projects/nss/rev/802ec96a8dd1fe02df12c306c4867d867083b08a
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.32
Apparently the syntax you used to disable the tests doesn't work. I still see the failure on the most recent build on our power32 machine.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This was fixed by disabling the tests.
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.