[Pkg-javascript-devel] Bug#1011891: node-immutable: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Thu May 26 20:11:16 BST 2022
Source: node-immutable
Version: 4.0.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rollup -c ./resources/rollup-config.js
> [36m
> [1m/<<PKGBUILDDIR>>/src/Immutable.js[22m → [1mdist/immutable.js[22m...[39m
> [1m[33m(!) Circular dependencies[39m[22m
> src/Seq.js -> src/Collection.js -> src/Seq.js
> src/Map.js -> src/Operations.js -> src/Map.js
> src/OrderedMap.js -> src/Map.js -> src/Operations.js -> src/OrderedMap.js
> ...and 6 more
> [32mcreated [1mdist/immutable.js[22m in [1m3.2s[22m[39m
> rollup -c ./resources/rollup-config-es.js
> [36m
> [1m/<<PKGBUILDDIR>>/src/Immutable.js[22m → [1mdist/immutable.es.js[22m...[39m
> [1m[33m(!) Circular dependencies[39m[22m
> src/Seq.js -> src/Collection.js -> src/Seq.js
> src/Map.js -> src/Operations.js -> src/Map.js
> src/OrderedMap.js -> src/Map.js -> src/Operations.js -> src/OrderedMap.js
> ...and 6 more
> [32mcreated [1mdist/immutable.es.js[22m in [1m1s[22m[39m
> cp type-definitions/immutable.* dist/
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> ln -s ../debian/tests/test_modules/jasmine-check node_modules/jasmine-check
> ln -s ../debian/tests/test_modules/make-synchronous node_modules/make-synchronous
> ln -s ../debian/tests/test_modules/subsume node_modules/subsume
> ln -s ../debian/tests/test_modules/testcheck node_modules/testcheck
> ln -s ../. node_modules/immutable
> /bin/sh -ex debian/tests/pkg-js/test
> + [ -e node_modules/immutable ]
> + + grepls __tests__/ArraySeq.ts __tests__/Conversion.ts __tests__/Equality.ts __tests__/IndexedSeq.ts __tests__/KeyedSeq.ts __tests__/List.ts __tests__/Map.ts __tests__/ObjectSeq.ts __tests__/OrderedMap.ts __tests__/OrderedSet.ts __tests__/Predicates.ts __tests__/Range.ts __tests__/Record.ts __tests__/Repeat.ts __tests__/Seq.ts __tests__/Set.ts __tests__/Stack.ts __tests__/concat.ts __tests__/count.ts __tests__/find.ts __tests__/flatten.ts __tests__/fromJS.ts __tests__/get.ts __tests__/getIn.ts __tests__/groupBy.ts __tests__/hasIn.ts __tests__/hash.ts __tests__/interpose.ts __tests__/issues.ts __tests__/join.ts __tests__/merge.ts __tests__/minmax.ts __tests__/slice.ts __tests__/sort.ts __tests__/splice.ts __tests__/transformerProtocol.ts __tests__/updateIn.ts __tests__/zip.ts
> -v -f debian/tests/test_excluded
> + jest --ci -u __tests__/ArraySeq.ts __tests__/Conversion.ts __tests__/Equality.ts __tests__/IndexedSeq.ts __tests__/KeyedSeq.ts __tests__/ObjectSeq.ts __tests__/OrderedMap.ts __tests__/OrderedSet.ts __tests__/Predicates.ts __tests__/Range.ts __tests__/Repeat.ts __tests__/Stack.ts __tests__/concat.ts __tests__/count.ts __tests__/find.ts __tests__/flatten.ts __tests__/get.ts __tests__/groupBy.ts __tests__/hash.ts __tests__/interpose.ts __tests__/issues.ts __tests__/join.ts __tests__/merge.ts __tests__/minmax.ts __tests__/slice.ts __tests__/sort.ts __tests__/splice.ts __tests__/zip.ts
> ts-jest[config] (WARN) [94mmessage[0m[90m TS151001: [0mIf you have issues related to imports, you should consider setting `esModuleInterop` to `true` in your TypeScript configuration file (usually `tsconfig.json`). See https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#easier-ecmascript-module-interoperability for more information.
> ts-jest[config] (WARN) [94mmessage[0m[90m TS151001: [0mIf you have issues related to imports, you should consider setting `esModuleInterop` to `true` in your TypeScript configuration file (usually `tsconfig.json`). See https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#easier-ecmascript-module-interoperability for more information.
> ts-jest[config] (WARN) [94mmessage[0m[90m TS151001: [0mIf you have issues related to imports, you should consider setting `esModuleInterop` to `true` in your TypeScript configuration file (usually `tsconfig.json`). See https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#easier-ecmascript-module-interoperability for more information.
> ts-jest[config] (WARN) [94mmessage[0m[90m TS151001: [0mIf you have issues related to imports, you should consider setting `esModuleInterop` to `true` in your TypeScript configuration file (usually `tsconfig.json`). See https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#easier-ecmascript-module-interoperability for more information.
> ts-jest[config] (WARN) [94mmessage[0m[90m TS151001: [0mIf you have issues related to imports, you should consider setting `esModuleInterop` to `true` in your TypeScript configuration file (usually `tsconfig.json`). See https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#easier-ecmascript-module-interoperability for more information.
> ts-jest[config] (WARN) [94mmessage[0m[90m TS151001: [0mIf you have issues related to imports, you should consider setting `esModuleInterop` to `true` in your TypeScript configuration file (usually `tsconfig.json`). See https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#easier-ecmascript-module-interoperability for more information.
> ts-jest[config] (WARN) [94mmessage[0m[90m TS151001: [0mIf you have issues related to imports, you should consider setting `esModuleInterop` to `true` in your TypeScript configuration file (usually `tsconfig.json`). See https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#easier-ecmascript-module-interoperability for more information.
> PASS __tests__/concat.ts (5.768 s)
> PASS __tests__/Range.ts (5.993 s)
> FAIL __tests__/issues.ts (6.679 s)
> ● Issue #1293 › merge() should not deeply coerce values
>
> expect(received).toEqual(expected) // deep equality
>
> Expected: Immutable.Record {"foo": {"qux": "quux"}, "biz": "baz"}
> Received: serializes to the same string
>
> 98 | const secondState = State().merge({ foo: deepObject });
> 99 |
> > 100 | expect(secondState).toEqual(firstState);
> | ^
> 101 | });
> 102 | });
> 103 |
>
> at Object.<anonymous> (__tests__/issues.ts:100:25)
>
> FAIL __tests__/merge.ts (6.798 s)
> ● merge › mergeDeep and Map#mergeDeep merges Record and Map
>
> expect(received).toEqual(expected) // deep equality
>
> Expected: {"a": Immutable.Record {"a": 1, "b": 5}}
> Received: serializes to the same string
>
> 311 | const aObject = { a: value1 };
> 312 | const bObject = { a: value2 };
> > 313 | expect(mergeDeep(aObject, bObject)).toEqual({ a: result });
> | ^
> 314 |
> 315 | const aMap = Map({ a: value1 }) as Map<unknown, unknown>;
> 316 | const bMap = Map({ a: value2 });
>
> at Object.<anonymous> (__tests__/merge.ts:313:43)
>
> ● merge › mergeDeep and Map#mergeDeep merges Record and object
>
> expect(received).toEqual(expected) // deep equality
>
> Expected: {"a": Immutable.Record {"a": 1, "b": 7}}
> Received: serializes to the same string
>
> 311 | const aObject = { a: value1 };
> 312 | const bObject = { a: value2 };
> > 313 | expect(mergeDeep(aObject, bObject)).toEqual({ a: result });
> | ^
> 314 |
> 315 | const aMap = Map({ a: value1 }) as Map<unknown, unknown>;
> 316 | const bMap = Map({ a: value2 });
>
> at Object.<anonymous> (__tests__/merge.ts:313:43)
>
> ● merge › mergeDeep and Map#mergeDeep merges Record and Record
>
> expect(received).toEqual(expected) // deep equality
>
> Expected: {"a": Immutable.Record {"a": 3, "b": 2}}
> Received: serializes to the same string
>
> 311 | const aObject = { a: value1 };
> 312 | const bObject = { a: value2 };
> > 313 | expect(mergeDeep(aObject, bObject)).toEqual({ a: result });
> | ^
> 314 |
> 315 | const aMap = Map({ a: value1 }) as Map<unknown, unknown>;
> 316 | const bMap = Map({ a: value2 });
>
> at Object.<anonymous> (__tests__/merge.ts:313:43)
>
> PASS __tests__/OrderedMap.ts
> FAIL __tests__/OrderedSet.ts
> ● OrderedSet › keeps the Set ordered when updating a value with .map()
>
> expect(received).toEqual(expected) // deep equality
>
> Expected: Immutable.OrderedSet [Immutable.Map {"id": 1, "valid": true}, Immutable.Map {"id": 2, "valid": false}, Immutable.Map {"id": 3, "valid": true}]
> Received: serializes to the same string
>
> 134 | ]);
> 135 |
> > 136 | expect(out).toEqual(expected);
> | ^
> 137 |
> 138 | expect(out.has(first)).toBe(true);
> 139 | expect(out.has(second)).toBe(false);
>
> at Object.<anonymous> (__tests__/OrderedSet.ts:136:17)
>
> PASS __tests__/Conversion.ts (7.567 s)
> PASS __tests__/flatten.ts
> PASS __tests__/ArraySeq.ts
> PASS __tests__/slice.ts (8.015 s)
> PASS __tests__/count.ts
> PASS __tests__/zip.ts
> PASS __tests__/groupBy.ts
> PASS __tests__/Stack.ts (8.698 s)
> PASS __tests__/sort.ts
> PASS __tests__/ObjectSeq.ts
> PASS __tests__/Predicates.ts
> PASS __tests__/splice.ts
> PASS __tests__/KeyedSeq.ts
> PASS __tests__/IndexedSeq.ts
> PASS __tests__/interpose.ts
> PASS __tests__/get.ts
> PASS __tests__/hash.ts
> PASS __tests__/Repeat.ts
> PASS __tests__/find.ts
> PASS __tests__/Equality.ts
> PASS __tests__/minmax.ts
> PASS __tests__/join.ts
>
> Summary of all failing tests
> FAIL __tests__/issues.ts (6.679 s)
> ● Issue #1293 › merge() should not deeply coerce values
>
> expect(received).toEqual(expected) // deep equality
>
> Expected: Immutable.Record {"foo": {"qux": "quux"}, "biz": "baz"}
> Received: serializes to the same string
>
> 98 | const secondState = State().merge({ foo: deepObject });
> 99 |
> > 100 | expect(secondState).toEqual(firstState);
> | ^
> 101 | });
> 102 | });
> 103 |
>
> at Object.<anonymous> (__tests__/issues.ts:100:25)
>
> FAIL __tests__/merge.ts (6.798 s)
> ● merge › mergeDeep and Map#mergeDeep merges Record and Map
>
> expect(received).toEqual(expected) // deep equality
>
> Expected: {"a": Immutable.Record {"a": 1, "b": 5}}
> Received: serializes to the same string
>
> 311 | const aObject = { a: value1 };
> 312 | const bObject = { a: value2 };
> > 313 | expect(mergeDeep(aObject, bObject)).toEqual({ a: result });
> | ^
> 314 |
> 315 | const aMap = Map({ a: value1 }) as Map<unknown, unknown>;
> 316 | const bMap = Map({ a: value2 });
>
> at Object.<anonymous> (__tests__/merge.ts:313:43)
>
> ● merge › mergeDeep and Map#mergeDeep merges Record and object
>
> expect(received).toEqual(expected) // deep equality
>
> Expected: {"a": Immutable.Record {"a": 1, "b": 7}}
> Received: serializes to the same string
>
> 311 | const aObject = { a: value1 };
> 312 | const bObject = { a: value2 };
> > 313 | expect(mergeDeep(aObject, bObject)).toEqual({ a: result });
> | ^
> 314 |
> 315 | const aMap = Map({ a: value1 }) as Map<unknown, unknown>;
> 316 | const bMap = Map({ a: value2 });
>
> at Object.<anonymous> (__tests__/merge.ts:313:43)
>
> ● merge › mergeDeep and Map#mergeDeep merges Record and Record
>
> expect(received).toEqual(expected) // deep equality
>
> Expected: {"a": Immutable.Record {"a": 3, "b": 2}}
> Received: serializes to the same string
>
> 311 | const aObject = { a: value1 };
> 312 | const bObject = { a: value2 };
> > 313 | expect(mergeDeep(aObject, bObject)).toEqual({ a: result });
> | ^
> 314 |
> 315 | const aMap = Map({ a: value1 }) as Map<unknown, unknown>;
> 316 | const bMap = Map({ a: value2 });
>
> at Object.<anonymous> (__tests__/merge.ts:313:43)
>
> FAIL __tests__/OrderedSet.ts
> ● OrderedSet › keeps the Set ordered when updating a value with .map()
>
> expect(received).toEqual(expected) // deep equality
>
> Expected: Immutable.OrderedSet [Immutable.Map {"id": 1, "valid": true}, Immutable.Map {"id": 2, "valid": false}, Immutable.Map {"id": 3, "valid": true}]
> Received: serializes to the same string
>
> 134 | ]);
> 135 |
> > 136 | expect(out).toEqual(expected);
> | ^
> 137 |
> 138 | expect(out.has(first)).toBe(true);
> 139 | expect(out.has(second)).toBe(false);
>
> at Object.<anonymous> (__tests__/OrderedSet.ts:136:17)
>
>
> Test Suites: 3 failed, 25 passed, 28 total
> Tests: 5 failed, 292 passed, 297 total
> Snapshots: 0 total
> Time: 11.688 s
> Ran all test suites matching /__tests__\/ArraySeq.ts|__tests__\/Conversion.ts|__tests__\/Equality.ts|__tests__\/IndexedSeq.ts|__tests__\/KeyedSeq.ts|__tests__\/ObjectSeq.ts|__tests__\/OrderedMap.ts|__tests__\/OrderedSet.ts|__tests__\/Predicates.ts|__tests__\/Range.ts|__tests__\/Repeat.ts|__tests__\/Stack.ts|__tests__\/concat.ts|__tests__\/count.ts|__tests__\/find.ts|__tests__\/flatten.ts|__tests__\/get.ts|__tests__\/groupBy.ts|__tests__\/hash.ts|__tests__\/interpose.ts|__tests__\/issues.ts|__tests__\/join.ts|__tests__\/merge.ts|__tests__\/minmax.ts|__tests__\/slice.ts|__tests__\/sort.ts|__tests__\/splice.ts|__tests__\/zip.ts/i.
> 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/05/25/node-immutable_4.0.0-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&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