D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/nodejs-heap-0.2.6-8.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Dy0XCf + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf package + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/heap-0.2.6.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd package + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm lib/heap.js + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Bp3tKf + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd package + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/coffee -c -b -o lib/ src/heap.coffee + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.eUqAMi + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/nodejs-heap-0.2.6-8.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/nodejs-heap-0.2.6-8.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/nodejs-heap-0.2.6-8.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/nodejs-heap-0.2.6-8.mga8.x86_64 + cd package + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/nodejs-heap-0.2.6-8.mga8.x86_64/usr/lib/node_modules/heap + cp -pr package.json index.js lib/ /home/iurt/rpmbuild/BUILDROOT/nodejs-heap-0.2.6-8.mga8.x86_64/usr/lib/node_modules/heap + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 0.2.6-8.mga8 --unique-debug-suffix -0.2.6-8.mga8.x86_64 --unique-debug-src-base nodejs-heap-0.2.6-8.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/package + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.oCJE7f + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd package + '[' 1 -eq 1 ']' + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + /usr/bin/node -e 'require("./")' + /usr/bin/coffee -c -b test/heap.test.coffee + /usr/bin/mocha -r should -R spec Heap#push, Heap#pop 1) should sort an array using push and pop 2) should work with custom comparison function Heap#replace 3) should behave like pop() followed by push() Heap#pushpop 4) should behave like push() followed by pop() Heap#contains 5) should return whether it contains the value Heap#peek 6) should return the top value Heap#clone 7) should return a cloned heap Heap.nsmallest 8) should return exactly n elements when size() >= n 9) should return size() elements when size() <= n Heap.nlargest 10) should return exactly n elements when size() >= n 11) should return size() elements when size() <= n Heap#updateItem 12) should return correct order 13) should return correct order when used statically 0 passing (27ms) 13 failing 1) Heap#push, Heap#pop should sort an array using push and pop: TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:23:40) at processImmediate (internal/timers.js:458:21) 2) Heap#push, Heap#pop should work with custom comparison function: TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:48:50) at processImmediate (internal/timers.js:458:21) 3) Heap#replace should behave like pop() followed by push(): TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:59:27) at processImmediate (internal/timers.js:458:21) 4) Heap#pushpop should behave like push() followed by pop(): TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:71:27) at processImmediate (internal/timers.js:458:21) 5) Heap#contains should return whether it contains the value: TypeError: Cannot read property 'be' of undefined at Context. (test/heap.test.js:84:30) at processImmediate (internal/timers.js:458:21) 6) Heap#peek should return the top value: TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:96:23) at processImmediate (internal/timers.js:458:21) 7) Heap#clone should return a cloned heap: TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:112:30) at processImmediate (internal/timers.js:458:21) 8) Heap.nsmallest should return exactly n elements when size() >= n: TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:119:62) at processImmediate (internal/timers.js:458:21) 9) Heap.nsmallest should return size() elements when size() <= n: TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:124:48) at processImmediate (internal/timers.js:458:21) 10) Heap.nlargest should return exactly n elements when size() >= n: TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:130:68) at processImmediate (internal/timers.js:458:21) 11) Heap.nlargest should return size() elements when size() <= n: TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:133:47) at processImmediate (internal/timers.js:458:21) 12) Heap#updateItem should return correct order: TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:157:26) at processImmediate (internal/timers.js:458:21) 13) Heap#updateItem should return correct order when used statically: TypeError: Cannot read property 'eql' of undefined at Context. (test/heap.test.js:179:35) at processImmediate (internal/timers.js:458:21) error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.oCJE7f (%check) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.oCJE7f (%check) I: [iurt_root_command] ERROR: chroot