Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920578 - net-libs/nodejs-18.18.2 fails tests
Summary: net-libs/nodejs-18.18.2 fails tests
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 916729
  Show dependency tree
 
Reported: 2023-12-23 17:33 UTC by matoro
Modified: 2024-06-20 22:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.gz,63.01 KB, application/gzip)
2023-12-23 17:33 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2023-12-23 17:33:11 UTC
All DNS-related.  build.log and emerge --info in attachment.

=== release test-dns-resolveany ===                                           
Path: parallel/test-dns-resolveany
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected ... Lines skipped

  [
    {
...
    {
      entries: [
+       'v=spf1 ~allxyz\x00foo'
-       'v=spf1 ~all',
-       'xyz\x00foo'
      ],
...
      type: 'CAA'
    }
  ]
    at validateResults (/var/tmp/portage/net-libs/nodejs-18.18.2/work/node-v18.18.2/test/parallel/test-dns-resolveany.js:61:10)
    at Socket.<anonymous> (/var/tmp/portage/net-libs/nodejs-18.18.2/work/node-v18.18.2/test/parallel/test-dns-resolveany.js:51:3) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: [
    { address: '1.2.3.4', ttl: 123, type: 'A' },
    { address: '::42', ttl: 123, type: 'AAAA' },
    { exchange: 'foobar.com', priority: 42, type: 'MX' },
    { value: 'foobar.org', type: 'NS' },
    { entries: [ 'v=spf1 ~allxyz\x00foo' ], type: 'TXT' },
    { value: 'baz.org', type: 'PTR' },
    {
      nsname: 'ns1.example.com',
      hostmaster: 'admin.example.com',
      serial: 156696742,
      refresh: 900,
      retry: 900,
      expire: 1800,
      minttl: 60,
      type: 'SOA'
    },
    { critical: 128, issue: 'platynum.ch', type: 'CAA' }
  ],
  expected: [
    { type: 'A', address: '1.2.3.4', ttl: 123 },
    { type: 'AAAA', address: '::42', ttl: 123 },
    { type: 'MX', priority: 42, exchange: 'foobar.com' },
    { type: 'NS', value: 'foobar.org' },
    { type: 'TXT', entries: [ 'v=spf1 ~all', 'xyz\x00foo' ] },
    { type: 'PTR', value: 'baz.org' },
    {
      type: 'SOA',
      nsname: 'ns1.example.com',
      hostmaster: 'admin.example.com',
      serial: 156696742,
      refresh: 900,
      retry: 900,
      expire: 1800,
      minttl: 60
    },
    { type: 'CAA', critical: 128, issue: 'platynum.ch' }
  ],
  operator: 'deepStrictEqual'
}

Node.js v18.18.2
Command: out/Release/node /var/tmp/portage/net-libs/nodejs-18.18.2/work/node-v18.18.2/test/parallel/test-dns-resolveany.js


[00:54|%  49|+ 1654|-   1]: release test-inspector-already-activated-cli: Skipping as node was compiled without inspector support
[00:55|%  50|+ 1692|-   1]: release test-inspector-port-zero-cluster: Skipping as node was compiled without inspector support
=== release test-process-versions ===                                         
Path: parallel/test-process-versions
node:assert:1026
    throw err;
    ^

AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^\d+(?:\.\d+){2,3}(?:-.*)?$/. Input:

'1.3'

    at Object.<anonymous> (/var/tmp/portage/net-libs/nodejs-18.18.2/work/node-v18.18.2/test/parallel/test-process-versions.js:61:8)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
    at node:internal/main/run_main_module:23:47 {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: '1.3',
  expected: /^\d+(?:\.\d+){2,3}(?:-.*)?$/,
  operator: 'match'
}

Node.js v18.18.2
Command: out/Release/node /var/tmp/portage/net-libs/nodejs-18.18.2/work/node-v18.18.2/test/parallel/test-process-versions.js


[01:30|%  87|+ 2942|-   2]: release test-warn-sigprof: Skipping as node was compiled without inspector support
=== release test-dns-resolveany-bad-ancount ===                               
Path: parallel/test-dns-resolveany-bad-ancount
Command: out/Release/node /var/tmp/portage/net-libs/nodejs-18.18.2/work/node-v18.18.2/test/parallel/test-dns-resolveany-bad-ancount.js
--- TIMEOUT ---


[06:18|% 100|+ 3347|-   3]: Done                    

Failed tests:
out/Release/node /var/tmp/portage/net-libs/nodejs-18.18.2/work/node-v18.18.2/test/parallel/test-dns-resolveany.js
out/Release/node /var/tmp/portage/net-libs/nodejs-18.18.2/work/node-v18.18.2/test/parallel/test-process-versions.js
out/Release/node /var/tmp/portage/net-libs/nodejs-18.18.2/work/node-v18.18.2/test/parallel/test-dns-resolveany-bad-ancount.js

Reproducible: Always
Comment 1 matoro archtester 2023-12-23 17:33:44 UTC
Created attachment 880261 [details]
build.log and emerge --info
Comment 2 matoro archtester 2023-12-23 18:21:15 UTC
This reproduces on ppc64le also, so likely generic issue.
Comment 3 William Hubbs gentoo-dev 2024-06-20 22:26:56 UTC
This version is no longer in the tree.