[Pkg-javascript-devel] Bug#1009537: node-fs-write-stream-atomic: FTBFS: ERROR: Coverage for statements (91.86%) does not meet global threshold (100%)
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:19:05 BST 2022
Source: node-fs-write-stream-atomic
Version: 1.0.10-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure --buildsystem=nodejs
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> dh_auto_test --buildsystem=nodejs
> mkdir -p node_modules
> ln -s ../. node_modules/fs-write-stream-atomic
> /bin/sh -ex debian/tests/pkg-js/test
> + tap -J test
> TAP version 13
> (node:1750367) DeprecationWarning: is() is deprecated, use equal() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1750371) DeprecationWarning: is() is deprecated, use equal() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1750369) DeprecationWarning: is() is deprecated, use equal() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1750372) DeprecationWarning: is() is deprecated, use equal() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> (node:1750368) DeprecationWarning: is() is deprecated, use equal() instead
> (Use `node --trace-deprecation ...` to show where the warning was created)
> Error: ENOENT: no such file or directory, open '/<<PKGBUILDDIR>>/test/test.txt'
> at Object.openSync (fs.js:497:3)
> at Object.readFileSync (fs.js:393:35)
> at WriteStreamAtomic.<anonymous> (/<<PKGBUILDDIR>>/test/basic.js:43:20)
> at WriteStreamAtomic.apply [as emit] (events.js:400:28)
> at WriteStreamAtomic.emit (/<<PKGBUILDDIR>>/index.js:63:34)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> {
> name: 'TAP',
> errno: -2,
> syscall: 'open',
> code: 'ENOENT',
> path: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, open '/<<PKGBUILDDIR>>/test/test.txt'
> at Object.openSync (fs.js:497:3)
> at Object.readFileSync (fs.js:393:35)
> at WriteStreamAtomic.<anonymous> (/<<PKGBUILDDIR>>/test/basic.js:43:20)
> at WriteStreamAtomic.apply [as emit] (events.js:400:28)
> at WriteStreamAtomic.emit (/<<PKGBUILDDIR>>/index.js:63:34)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> {
> name: 'TAP',
> errno: -2,
> syscall: 'open',
> code: 'ENOENT',
> path: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, open '/<<PKGBUILDDIR>>/test/test.txt'
> at Object.openSync (fs.js:497:3)
> at Object.readFileSync (fs.js:393:35)
> at WriteStreamAtomic.<anonymous> (/<<PKGBUILDDIR>>/test/basic.js:43:20)
> at WriteStreamAtomic.apply [as emit] (events.js:400:28)
> at WriteStreamAtomic.emit (/<<PKGBUILDDIR>>/index.js:63:34)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> {
> name: 'TAP',
> errno: -2,
> syscall: 'open',
> code: 'ENOENT',
> path: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, open '/<<PKGBUILDDIR>>/test/test.txt'
> at Object.openSync (fs.js:497:3)
> at Object.readFileSync (fs.js:393:35)
> at WriteStreamAtomic.<anonymous> (/<<PKGBUILDDIR>>/test/basic.js:43:20)
> at WriteStreamAtomic.apply [as emit] (events.js:400:28)
> at WriteStreamAtomic.emit (/<<PKGBUILDDIR>>/index.js:63:34)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> {
> name: 'TAP',
> errno: -2,
> syscall: 'open',
> code: 'ENOENT',
> path: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, open '/<<PKGBUILDDIR>>/test/test.txt'
> at Object.openSync (fs.js:497:3)
> at Object.readFileSync (fs.js:393:35)
> at WriteStreamAtomic.<anonymous> (/<<PKGBUILDDIR>>/test/basic.js:43:20)
> at WriteStreamAtomic.apply [as emit] (events.js:400:28)
> at WriteStreamAtomic.emit (/<<PKGBUILDDIR>>/index.js:63:34)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> {
> name: 'TAP',
> errno: -2,
> syscall: 'open',
> code: 'ENOENT',
> path: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, open '/<<PKGBUILDDIR>>/test/test.txt'
> at Object.openSync (fs.js:497:3)
> at Object.readFileSync (fs.js:393:35)
> at WriteStreamAtomic.<anonymous> (/<<PKGBUILDDIR>>/test/basic.js:43:20)
> at WriteStreamAtomic.apply [as emit] (events.js:400:28)
> at WriteStreamAtomic.emit (/<<PKGBUILDDIR>>/index.js:63:34)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> {
> name: 'TAP',
> errno: -2,
> syscall: 'open',
> code: 'ENOENT',
> path: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, open '/<<PKGBUILDDIR>>/test/test.txt'
> at Object.openSync (fs.js:497:3)
> at Object.readFileSync (fs.js:393:35)
> at WriteStreamAtomic.<anonymous> (/<<PKGBUILDDIR>>/test/basic.js:43:20)
> at WriteStreamAtomic.apply [as emit] (events.js:400:28)
> at WriteStreamAtomic.emit (/<<PKGBUILDDIR>>/index.js:63:34)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> {
> name: 'TAP',
> errno: -2,
> syscall: 'open',
> code: 'ENOENT',
> path: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, open '/<<PKGBUILDDIR>>/test/test.txt'
> at Object.openSync (fs.js:497:3)
> at Object.readFileSync (fs.js:393:35)
> at WriteStreamAtomic.<anonymous> (/<<PKGBUILDDIR>>/test/basic.js:43:20)
> at WriteStreamAtomic.apply [as emit] (events.js:400:28)
> at WriteStreamAtomic.emit (/<<PKGBUILDDIR>>/index.js:63:34)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> {
> name: 'TAP',
> errno: -2,
> syscall: 'open',
> code: 'ENOENT',
> path: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, rename '/<<PKGBUILDDIR>>/test/test.txt.207684336' -> '/<<PKGBUILDDIR>>/test/test.txt'
>
> {
> name: 'TAP',
> errno: -2,
> code: 'ENOENT',
> syscall: 'rename',
> path: '/<<PKGBUILDDIR>>/test/test.txt.207684336',
> dest: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, rename '/<<PKGBUILDDIR>>/test/test.txt.3948286733' -> '/<<PKGBUILDDIR>>/test/test.txt'
>
> {
> name: 'TAP',
> errno: -2,
> code: 'ENOENT',
> syscall: 'rename',
> path: '/<<PKGBUILDDIR>>/test/test.txt.3948286733',
> dest: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, rename '/<<PKGBUILDDIR>>/test/test.txt.905233383' -> '/<<PKGBUILDDIR>>/test/test.txt'
>
> {
> name: 'TAP',
> errno: -2,
> code: 'ENOENT',
> syscall: 'rename',
> path: '/<<PKGBUILDDIR>>/test/test.txt.905233383',
> dest: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, rename '/<<PKGBUILDDIR>>/test/test.txt.3979807068' -> '/<<PKGBUILDDIR>>/test/test.txt'
>
> {
> name: 'TAP',
> errno: -2,
> code: 'ENOENT',
> syscall: 'rename',
> path: '/<<PKGBUILDDIR>>/test/test.txt.3979807068',
> dest: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, rename '/<<PKGBUILDDIR>>/test/test.txt.3832591620' -> '/<<PKGBUILDDIR>>/test/test.txt'
>
> {
> name: 'TAP',
> errno: -2,
> code: 'ENOENT',
> syscall: 'rename',
> path: '/<<PKGBUILDDIR>>/test/test.txt.3832591620',
> dest: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, rename '/<<PKGBUILDDIR>>/test/test.txt.1227260082' -> '/<<PKGBUILDDIR>>/test/test.txt'
>
> {
> name: 'TAP',
> errno: -2,
> code: 'ENOENT',
> syscall: 'rename',
> path: '/<<PKGBUILDDIR>>/test/test.txt.1227260082',
> dest: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, rename '/<<PKGBUILDDIR>>/test/test.txt.895799879' -> '/<<PKGBUILDDIR>>/test/test.txt'
>
> {
> name: 'TAP',
> errno: -2,
> code: 'ENOENT',
> syscall: 'rename',
> path: '/<<PKGBUILDDIR>>/test/test.txt.895799879',
> dest: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, rename '/<<PKGBUILDDIR>>/test/test.txt.2237158556' -> '/<<PKGBUILDDIR>>/test/test.txt'
>
> {
> name: 'TAP',
> errno: -2,
> code: 'ENOENT',
> syscall: 'rename',
> path: '/<<PKGBUILDDIR>>/test/test.txt.2237158556',
> dest: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, rename '/<<PKGBUILDDIR>>/test/test.txt.368976314' -> '/<<PKGBUILDDIR>>/test/test.txt'
>
> {
> name: 'TAP',
> errno: -2,
> code: 'ENOENT',
> syscall: 'rename',
> path: '/<<PKGBUILDDIR>>/test/test.txt.368976314',
> dest: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> Error: ENOENT: no such file or directory, rename '/<<PKGBUILDDIR>>/test/test.txt.4161909056' -> '/<<PKGBUILDDIR>>/test/test.txt'
>
> {
> name: 'TAP',
> errno: -2,
> code: 'ENOENT',
> syscall: 'rename',
> path: '/<<PKGBUILDDIR>>/test/test.txt.4161909056',
> dest: '/<<PKGBUILDDIR>>/test/test.txt',
> tapCaught: 'uncaughtException',
> test: 'TAP'
> }
> not ok 1 - test/basic.js # time=221.673ms
> ---
> env: {}
> file: test/basic.js
> timeout: 30000
> command: /usr/bin/node
> args:
> - test/basic.js
> stdio:
> - 0
> - pipe
> - 2
> cwd: /<<PKGBUILDDIR>>
> exitCode: 1
> ...
> {
> # Subtest: basic
> 1..120
> not ok 1 - 0. closed only after finish
> ---
> found: null
> wanted: true
> compare: ===
> at:
> line: 36
> column: 11
> file: test/basic.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:36:11)
> WriteStreamAtomic.emit (index.js:63:34)
> source: >2
> if (ev === 'close') {
> t.equal(this.__emittedFinish, true, num + '. closed only after finish')
> ----------^
> } else {
> this.__emittedFinish = true
> ...
>
> not ok 2 - Cannot read property '0' of null
> ---
> stack: |
> test/basic.js:46:43
> Array.forEach (<anonymous>)
> WriteStreamAtomic.<anonymous> (test/basic.js:45:13)
> WriteStreamAtomic.emit (index.js:63:34)
> at:
> line: 46
> column: 43
> file: test/basic.js
> type: TypeError
> tapCaught: uncaughtException
> test: basic
> source: |2
> lines.forEach(function (line, lineno) {
> var first = lines[0].match(/\d+$/)[0]
> ------------------------------------------^
> var cur = line.match(/\d+$/)[0]
> t.equal(cur, first, num + '. line ' + lineno + ' matches')
> ...
>
> # test count(2) != plan(120)
> # failed 2 of 2 tests
> not ok 1 - basic # time=206.879ms
>
> # Subtest: cleanup
> 1..0
> ok 2 - cleanup # time=0.999ms
>
> # Subtest
> not ok 3 - 1. closed only after finish
> ---
> found: null
> wanted: true
> compare: ===
> at:
> line: 36
> column: 11
> file: test/basic.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:36:11)
> WriteStreamAtomic.emit (index.js:63:34)
> source: >2
> if (ev === 'close') {
> t.equal(this.__emittedFinish, true, num + '. closed only after finish')
> ----------^
> } else {
> this.__emittedFinish = true
> ...
>
> # test count(1) != plan(null)
> # failed 2 test
> not ok 3 - ENOENT: no such file or directory, open '/<<PKGBUILDDIR>>/test/test.txt'
> ---
> at:
> line: 497
> column: 3
> file: fs.js
> function: Object.openSync
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:43:20)
> WriteStreamAtomic.emit (index.js:63:34)
> errno: -2
> syscall: open
> code: ENOENT
> path: /<<PKGBUILDDIR>>/test/test.txt
> tapCaught: uncaughtException
> test: TAP
> ...
>
> 1..3
> # failed 2 of 3 tests
> # time=221.673ms
> # Subtest
> # Subtest
> # Subtest
> not ok 4 - 2. closed only after finish
> ---
> found: null
> wanted: true
> compare: ===
> at:
> line: 36
> column: 11
> file: test/basic.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:36:11)
> WriteStreamAtomic.emit (index.js:63:34)
> source: >2
> if (ev === 'close') {
> t.equal(this.__emittedFinish, true, num + '. closed only after finish')
> ----------^
> } else {
> this.__emittedFinish = true
> ...
>
> not ok 5 - 3. closed only after finish
> ---
> found: null
> wanted: true
> compare: ===
> at:
> line: 36
> column: 11
> file: test/basic.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:36:11)
> WriteStreamAtomic.emit (index.js:63:34)
> source: >2
> if (ev === 'close') {
> t.equal(this.__emittedFinish, true, num + '. closed only after finish')
> ----------^
> } else {
> this.__emittedFinish = true
> ...
>
> not ok 6 - 4. closed only after finish
> ---
> found: null
> wanted: true
> compare: ===
> at:
> line: 36
> column: 11
> file: test/basic.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:36:11)
> WriteStreamAtomic.emit (index.js:63:34)
> source: >2
> if (ev === 'close') {
> t.equal(this.__emittedFinish, true, num + '. closed only after finish')
> ----------^
> } else {
> this.__emittedFinish = true
> ...
>
> not ok 7 - 5. closed only after finish
> ---
> found: null
> wanted: true
> compare: ===
> at:
> line: 36
> column: 11
> file: test/basic.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:36:11)
> WriteStreamAtomic.emit (index.js:63:34)
> source: >2
> if (ev === 'close') {
> t.equal(this.__emittedFinish, true, num + '. closed only after finish')
> ----------^
> } else {
> this.__emittedFinish = true
> ...
>
> not ok 8 - 6. closed only after finish
> ---
> found: null
> wanted: true
> compare: ===
> at:
> line: 36
> column: 11
> file: test/basic.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:36:11)
> WriteStreamAtomic.emit (index.js:63:34)
> source: >2
> if (ev === 'close') {
> t.equal(this.__emittedFinish, true, num + '. closed only after finish')
> ----------^
> } else {
> this.__emittedFinish = true
> ...
>
> not ok 9 - 7. closed only after finish
> ---
> found: null
> wanted: true
> compare: ===
> at:
> line: 36
> column: 11
> file: test/basic.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:36:11)
> WriteStreamAtomic.emit (index.js:63:34)
> source: >2
> if (ev === 'close') {
> t.equal(this.__emittedFinish, true, num + '. closed only after finish')
> ----------^
> } else {
> this.__emittedFinish = true
> ...
>
> not ok 10 - 8. closed only after finish
> ---
> found: null
> wanted: true
> compare: ===
> at:
> line: 36
> column: 11
> file: test/basic.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:36:11)
> WriteStreamAtomic.emit (index.js:63:34)
> source: >2
> if (ev === 'close') {
> t.equal(this.__emittedFinish, true, num + '. closed only after finish')
> ----------^
> } else {
> this.__emittedFinish = true
> ...
>
> not ok 11 - 9. closed only after finish
> ---
> found: null
> wanted: true
> compare: ===
> at:
> line: 36
> column: 11
> file: test/basic.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/basic.js:36:11)
> WriteStreamAtomic.emit (index.js:63:34)
> source: >2
> if (ev === 'close') {
> t.equal(this.__emittedFinish, true, num + '. closed only after finish')
> ----------^
> } else {
> this.__emittedFinish = true
> ...
>
> # test count(8) != plan(null)
> # failed 9 of 8 tests
> }
>
> not ok 2 - test/chown.js # time=93.553ms
> ---
> env: {}
> file: test/chown.js
> timeout: 30000
> command: /usr/bin/node
> args:
> - test/chown.js
> stdio:
> - 0
> - pipe
> - 2
> cwd: /<<PKGBUILDDIR>>
> exitCode: 1
> ...
> {
> # Subtest: chown works
> 1..1
> ok 1 - no errors before close
> ok 1 - chown works # time=14.827ms
>
> # Subtest: chown fails
> 1..1
> not ok 1 - error before close
> ---
> found: false
> wanted: true
> compare: ===
> at:
> line: 118
> column: 15
> file: internal/util.js
> type: Test
> function: deprecated
> stack: |
> WriteStreamAtomic.<anonymous> (test/chown.js:36:7)
> WriteStreamAtomic.emit (index.js:63:34)
> ...
>
> # failed 1 test
> not ok 2 - chown fails # time=58.091ms
>
> # Subtest: cleanup
> 1..0
> ok 3 - cleanup # time=2.596ms
>
> # Error: TEST BREAK
> at Object.chown (/<<PKGBUILDDIR>>/test/chown.js:27:8)
> at WriteStream.<anonymous> (/<<PKGBUILDDIR>>/index.js:85:17)
> at Object.onceWrapper (events.js:519:28)
> at WriteStream.emit (events.js:400:28)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> not ok 4 - test count exceeds plan # time=14.827ms
> ---
> stack: |
> WriteStreamAtomic.<anonymous> (test/chown.js:19:7)
> WriteStreamAtomic.emit (index.js:63:34)
> index.js:141:21
> at:
> line: 118
> column: 15
> file: internal/util.js
> function: Test.deprecated
> test: chown works
> plan: 1
> ...
>
> # Error: TEST BREAK
> at Object.chown (/<<PKGBUILDDIR>>/test/chown.js:27:8)
> at WriteStream.<anonymous> (/<<PKGBUILDDIR>>/index.js:85:17)
> at Object.onceWrapper (events.js:519:28)
> at WriteStream.emit (events.js:400:28)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> 1..4
> # failed 2 of 4 tests
> # time=93.553ms
> }
>
> not ok 3 - test/rename-eperm.js # time=85.06ms
> ---
> env: {}
> file: test/rename-eperm.js
> timeout: 30000
> command: /usr/bin/node
> args:
> - test/rename-eperm.js
> stdio:
> - 0
> - pipe
> - 2
> cwd: /<<PKGBUILDDIR>>
> exitCode: 1
> ...
> {
> # Subtest: rename eperm none existing file
> 1..2
> not ok 1 - error was caught
> ---
> found: false
> wanted: true
> compare: ===
> at:
> line: 118
> column: 15
> file: internal/util.js
> type: Test
> function: deprecated
> stack: |
> WriteStreamAtomic.<anonymous> (test/rename-eperm.js:42:7)
> WriteStreamAtomic.emit (index.js:63:34)
> ...
>
> ok 2 - finish was called before close
> # failed 1 of 2 tests
> not ok 1 - rename eperm none existing file # time=51.937ms
>
> # Subtest: rename eperm existing file different content
> 1..2
> not ok 1 - error was caught
> ---
> found: false
> wanted: true
> compare: ===
> at:
> line: 118
> column: 15
> file: internal/util.js
> type: Test
> function: deprecated
> stack: |
> WriteStreamAtomic.<anonymous> (test/rename-eperm.js:92:7)
> WriteStreamAtomic.emit (index.js:63:34)
> ...
>
> ok 2 - finish was called before close
> # failed 1 of 2 tests
> not ok 2 - rename eperm existing file different content # time=6.41ms
>
> # Subtest: rename eperm existing file different content
> 1..2
> ok 1 - error was caught
> not ok 2 - finish was called before close
> ---
> found: false
> wanted: true
> compare: ===
> at:
> line: 118
> column: 15
> file: internal/util.js
> type: Test
> function: deprecated
> stack: |
> WriteStreamAtomic.<anonymous> (test/rename-eperm.js:144:7)
> WriteStreamAtomic.emit (index.js:63:34)
> ...
>
> # failed 1 of 2 tests
> not ok 3 - rename eperm existing file different content # time=4.906ms
>
> # Subtest: cleanup
> 1..0
> ok 4 - cleanup # time=2.139ms
>
> # Error: TEST BREAK
> at /<<PKGBUILDDIR>>/test/rename-eperm.js:123:21
> at /usr/share/nodejs/graceful-fs/graceful-fs.js:143:16
> at /usr/share/nodejs/graceful-fs/graceful-fs.js:61:14
> at FSReqCallback.oncomplete (fs.js:179:23) {
> syscall: 'rename',
> code: 'EPERM'
> }
> # Error: TEST BREAK
> at /<<PKGBUILDDIR>>/test/rename-eperm.js:123:21
> at /usr/share/nodejs/graceful-fs/graceful-fs.js:143:16
> at /usr/share/nodejs/graceful-fs/graceful-fs.js:61:14
> at FSReqCallback.oncomplete (fs.js:179:23) {
> syscall: 'rename',
> code: 'EPERM'
> }
> 1..4
> # failed 3 of 4 tests
> # time=85.06ms
> }
>
> not ok 4 - test/rename-fail.js # time=72.739ms
> ---
> env: {}
> file: test/rename-fail.js
> timeout: 30000
> command: /usr/bin/node
> args:
> - test/rename-fail.js
> stdio:
> - 0
> - pipe
> - 2
> cwd: /<<PKGBUILDDIR>>
> exitCode: 1
> ...
> {
> # Subtest: rename fails
> 1..1
> not ok 1 - error before close
> ---
> found: false
> wanted: true
> compare: ===
> at:
> line: 118
> column: 15
> file: internal/util.js
> type: Test
> function: deprecated
> stack: |
> WriteStreamAtomic.<anonymous> (test/rename-fail.js:22:7)
> WriteStreamAtomic.emit (index.js:63:34)
> ...
>
> # failed 1 test
> not ok 1 - rename fails # time=56.75ms
>
> # Subtest: cleanup
> 1..0
> ok 2 - cleanup # time=1.646ms
>
> # Error: TEST BREAK
> at Object.rename (/<<PKGBUILDDIR>>/test/rename-fail.js:13:8)
> at moveIntoPlace (/<<PKGBUILDDIR>>/index.js:92:8)
> at WriteStream.<anonymous> (/<<PKGBUILDDIR>>/index.js:87:7)
> at Object.onceWrapper (events.js:519:28)
> at WriteStream.emit (events.js:400:28)
> at emitCloseNT (internal/streams/destroy.js:87:10)
> at processTicksAndRejections (internal/process/task_queues.js:81:21)
> 1..2
> # failed 1 of 2 tests
> # time=72.739ms
> }
>
> not ok 5 - test/slow-close.js # time=276.62ms
> ---
> env: {}
> file: test/slow-close.js
> timeout: 30000
> command: /usr/bin/node
> args:
> - test/slow-close.js
> stdio:
> - 0
> - pipe
> - 2
> cwd: /<<PKGBUILDDIR>>
> exitCode: 1
> ...
> {
> # Subtest: slow close
> 1..2
> not ok 1 - didn't close before target was closed
> ---
> found: false
> wanted: true
> compare: ===
> at:
> line: 118
> column: 15
> file: internal/util.js
> type: Test
> function: deprecated
> stack: |
> WriteStreamAtomic.<anonymous> (test/slow-close.js:32:7)
> WriteStreamAtomic.emit (index.js:63:34)
> ...
>
> ok 2 - didn't finish before target was closed
> # failed 1 of 2 tests
> not ok 1 - slow close # time=268.366ms
>
> # Subtest: cleanup
> 1..0
> ok 2 - cleanup # time=1.768ms
>
> 1..2
> # failed 1 of 2 tests
> # time=276.62ms
> }
>
> not ok 6 - test/toolong.js # time=59.434ms
> ---
> env: {}
> file: test/toolong.js
> timeout: 30000
> command: /usr/bin/node
> args:
> - test/toolong.js
> stdio:
> - 0
> - pipe
> - 2
> cwd: /<<PKGBUILDDIR>>
> exitCode: 1
> ...
> {
> # Subtest: name too long
> 1..2
> not ok 1 - got error before close
> ---
> at:
> line: 26
> column: 7
> file: test/toolong.js
> type: WriteStreamAtomic
> stack: |
> WriteStreamAtomic.<anonymous> (test/toolong.js:26:7)
> WriteStreamAtomic.emit (index.js:63:34)
> source: |2
> stream.on('close', function () {
> t.ok(hadError, 'got error before close')
> ------^
> })
> stream.end()
> ...
>
> ok 2 - 4082 character name results in ENAMETOOLONG
> # failed 1 of 2 tests
> not ok 1 - name too long # time=52.886ms
>
> 1..1
> # failed 1 test
> # time=59.434ms
> }
>
> 1..6
> # failed 6 of 6 tests
> # time=1689.832ms
> ERROR: Coverage for lines (94.93%) does not meet global threshold (100%)
> ERROR: Coverage for functions (95.65%) does not meet global threshold (100%)
> ERROR: Coverage for branches (82.85%) does not meet global threshold (100%)
> ERROR: Coverage for statements (91.86%) does not meet global threshold (100%)
> ----------|---------|----------|---------|---------|-------------------
> File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
> ----------|---------|----------|---------|---------|-------------------
> All files | 91.86 | 82.85 | 95.65 | 94.93 |
> index.js | 91.86 | 82.85 | 95.65 | 94.93 | 69,121-123
> ----------|---------|----------|---------|---------|-------------------
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2022/04/12/node-fs-write-stream-atomic_1.0.10-5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-javascript-devel
mailing list