[Pkg-javascript-devel] Bug#964880: npm: test failures in ppc64el and s390x

Gianfranco Costamagna locutusofborg at debian.org
Sat Jul 11 18:54:33 BST 2020


Source: npm
Version: 6.14.6+ds-1
Severity: serious

Hello, looks like one test is failing on ppc64el and s390x.
Could you please have a look?

this on s390x
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/s390x/n/npm/20200711_092356_eb5fd@/log.gz
# Subtest: test/tap/legacy-platform-all.js
    # Subtest: setup
        1..0
    ok 1 - setup # time=2.926ms
    
    # Subtest: platform-all
        not ok 1 - no error messages
          ---
          found: >
            npm ERR! code EBADPLATFORM
          
            npm ERR! notsup Unsupported platform for npm-test-platform-all at 9.9.9-9: wanted
            {"os":"darwin,linux,win32,solaris,haiku,sunos,freebsd,openbsd,netbsd","arch":"arm,arm64,mips,ia32,x64,sparc"}
            (current: {"os":"linux","arch":"s390x"})
          
            npm ERR! notsup Valid OS:   
            darwin,linux,win32,solaris,haiku,sunos,freebsd,openbsd,netbsd
          
            npm ERR! notsup Valid Arch:  arm,arm64,mips,ia32,x64,sparc
          
            npm ERR! notsup Actual OS:   linux
          
            npm ERR! notsup Actual Arch: s390x
          
          
            npm ERR! A complete log of this run can be found in:
          
            npm ERR!    
            /tmp/autopkgtest.TwzxSV/autopkgtest_tmp/smokeh0DzIy/test/npm_cache_legacy-platform-all/_logs/2020-07-11T09_18_58_795Z-debug.log
          wanted: ''
          compare: ===
          at:
            line: 55
            column: 7
            file: test/tap/legacy-platform-all.js
            type: global
            function: installCheckAndTest
          stack: |
            installCheckAndTest (test/tap/legacy-platform-all.js:55:7)
            f (/usr/lib/nodejs/once/once.js:25:25)
            ChildProcess.<anonymous> (test/common-tap.js:175:5)
          source: |
            t.is(stderr, '', 'no error messages')
          ...
        
        not ok 2 - install went ok
          ---
          found: 1
          wanted: 0
          compare: ===
          at:
            line: 56
            column: 7
            file: test/tap/legacy-platform-all.js
            type: global
            function: installCheckAndTest
          stack: |
            installCheckAndTest (test/tap/legacy-platform-all.js:56:7)
            f (/usr/lib/nodejs/once/once.js:25:25)
            ChildProcess.<anonymous> (test/common-tap.js:175:5)
          source: |
            t.is(code, 0, 'install went ok')
          ...
        
        1..2
        # failed 2 of 2 tests
    not ok 2 - platform-all # time=767.548ms
    
    # Subtest: cleanup
        1..0
    ok 3 - cleanup # time=1.651ms
    
    1..3
    # failed 1 of 3 tests
    # time=782.166ms
not ok 103 - test/tap/legacy-platform-all.js # time=1350.563ms


and this on ppc64el
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/ppc64el/n/npm/20200711_093200_7007f@/log.gz
# Subtest: test/tap/legacy-platform-all.js
    # Subtest: setup
        1..0
    ok 1 - setup # time=4.916ms
    
    # Subtest: platform-all
        not ok 1 - no error messages
          ---
          found: >
            npm ERR! code EBADPLATFORM
          
            npm ERR! notsup Unsupported platform for npm-test-platform-all at 9.9.9-9: wanted
            {"os":"darwin,linux,win32,solaris,haiku,sunos,freebsd,openbsd,netbsd","arch":"arm,arm64,mips,ia32,x64,sparc"}
            (current: {"os":"linux","arch":"ppc64"})
          
            npm ERR! notsup Valid OS:   
            darwin,linux,win32,solaris,haiku,sunos,freebsd,openbsd,netbsd
          
            npm ERR! notsup Valid Arch:  arm,arm64,mips,ia32,x64,sparc
          
            npm ERR! notsup Actual OS:   linux
          
            npm ERR! notsup Actual Arch: ppc64
          
          
            npm ERR! A complete log of this run can be found in:
          
            npm ERR!    
            /tmp/autopkgtest.RvsIrP/autopkgtest_tmp/smokevhVLkX/test/npm_cache_legacy-platform-all/_logs/2020-07-11T09_24_22_560Z-debug.log
          wanted: ''
          compare: ===
          at:
            line: 55
            column: 7
            file: test/tap/legacy-platform-all.js
            type: global
            function: installCheckAndTest
          stack: |
            installCheckAndTest (test/tap/legacy-platform-all.js:55:7)
            f (/usr/lib/nodejs/once/once.js:25:25)
            ChildProcess.<anonymous> (test/common-tap.js:175:5)
          source: |
            t.is(stderr, '', 'no error messages')
          ...
        
        not ok 2 - install went ok
          ---
          found: 1
          wanted: 0
          compare: ===
          at:
            line: 56
            column: 7
            file: test/tap/legacy-platform-all.js
            type: global
            function: installCheckAndTest
          stack: |
            installCheckAndTest (test/tap/legacy-platform-all.js:56:7)
            f (/usr/lib/nodejs/once/once.js:25:25)
            ChildProcess.<anonymous> (test/common-tap.js:175:5)
          source: |
            t.is(code, 0, 'install went ok')
          ...
        
        1..2
        # failed 2 of 2 tests
    not ok 2 - platform-all # time=1259.494ms
    
    # Subtest: cleanup
        1..0
    ok 3 - cleanup # time=3.623ms
    
    1..3
    # failed 1 of 3 tests
    # time=1284.26ms
not ok 103 - test/tap/legacy-platform-all.js # time=2193.623ms


Looks like you already did a patch for this, not sure why it is commented out...

This is the last test that is failing on ppc64el and s390x



More information about the Pkg-javascript-devel mailing list