no space left on device in jenkins jobs
We encounter 'no space left on device' errors in UT Jenkins jobs:
https://jenkins.aws.isc.org/job/kea-dev/job/ut-tsan/798/console
[HAMMER] 2022-11-29 18:09:16,550 [ 75%] Linking C executable ../utest_parser_xml
[HAMMER] 2022-11-29 18:09:16,565 [ 75%] Linking C executable ../utest_new
[HAMMER] 2022-11-29 18:09:16,652 [ 75%] Linking C executable ../utest_tree_data
[HAMMER] 2022-11-29 18:09:17,141 /usr/bin/ld/usr/bin/ld: final link failed: : final link failed: No space left on deviceNo space left on device
[HAMMER] 2022-11-29 18:09:17,141
[HAMMER] 2022-11-29 18:09:17,163 collect2: error: ld returned 1 exit status
[HAMMER] 2022-11-29 18:09:17,166 make[2]: *** [tests/utests/CMakeFiles/utest_printer_tree.dir/build.make:241: tests/utest_printer_tree] Error 1
[HAMMER] 2022-11-29 18:09:17,166 make[1]: *** [CMakeFiles/Makefile2:1508: tests/utests/CMakeFiles/utest_printer_tree.dir/all] Error 2
[HAMMER] 2022-11-29 18:09:17,166 make[1]: *** Waiting for unfinished jobs....
[HAMMER] 2022-11-29 18:09:17,168 collect2: error: ld returned 1 exit status
[HAMMER] 2022-11-29 18:09:17,169 make[2]: *** [tests/utests/CMakeFiles/utest_tree_data.dir/build.make:241: tests/utest_tree_data] Error 1
[HAMMER] 2022-11-29 18:09:17,170 make[1]: *** [CMakeFiles/Makefile2:1534: tests/utests/CMakeFiles/utest_tree_data.dir/all] Error 2
[HAMMER] 2022-11-29 18:09:17,288 [ 75%] Built target utest_new
[HAMMER] 2022-11-29 18:09:17,307 [ 75%] Built target utest_parser_xml
[HAMMER] 2022-11-29 18:09:17,308 make: *** [Makefile:146: all] Error 2
[HAMMER] 2022-11-29 18:09:17,308 The command return non-zero exitcode 2, cmd: 'make -j $(nproc || gnproc || echo 1)'
Traceback (most recent call last):
File "/var/tmp/workspace/kea-dev/ut-tsan/kea/hammer.py", line 1093, in _install_libyang_from_sources
execute('make -j $(nproc || gnproc || echo 1)', cwd='/tmp/libyang/build')
File "/var/tmp/workspace/kea-dev/ut-tsan/kea/hammer.py", line 406, in execute
raise ExecutionError("The command return non-zero exitcode %s, cmd: '%s'" % (exitcode, cmd))
ExecutionError: The command return non-zero exitcode 2, cmd: 'make -j $(nproc || gnproc || echo 1)'
[HAMMER] 2022-11-29 18:09:17,309 >>>>> Executing rm -rf /tmp/libyang in /var/tmp/workspace/kea-dev/ut-tsan
Traceback (most recent call last):
File "/var/tmp/workspace/kea-dev/ut-tsan/kea/hammer.py", line 3185, in <module>
main()
File "/var/tmp/workspace/kea-dev/ut-tsan/kea/hammer.py", line 3157, in main
prepare_system_cmd(args)
File "/var/tmp/workspace/kea-dev/ut-tsan/kea/hammer.py", line 2987, in prepare_system_cmd
prepare_system_local(features, args.check_times, args.ignore_errors_for)
File "/var/tmp/workspace/kea-dev/ut-tsan/kea/hammer.py", line 1995, in prepare_system_local
_install_netconf_libraries_from_sources('netconf' in ignore_errors_for)
File "/var/tmp/workspace/kea-dev/ut-tsan/kea/hammer.py", line 1204, in _install_netconf_libraries_from_sources
_install_libyang_from_sources(ignore_errors)
File "/var/tmp/workspace/kea-dev/ut-tsan/kea/hammer.py", line 1101, in _install_libyang_from_sources
raise e
File "/var/tmp/workspace/kea-dev/ut-tsan/kea/hammer.py", line 1093, in _install_libyang_from_sources
execute('make -j $(nproc || gnproc || echo 1)', cwd='/tmp/libyang/build')
File "/var/tmp/workspace/kea-dev/ut-tsan/kea/hammer.py", line 406, in execute
raise ExecutionError("The command return non-zero exitcode %s, cmd: '%s'" % (exitcode, cmd))
__main__.ExecutionError: The command return non-zero exitcode 2, cmd: 'make -j $(nproc || gnproc || echo 1)'