Test ran at 2024-12-10 12:42:35.877963+00:00 SOLUTION: scripted_testing=2.0.0: Integration testing Origin: commit 6720b9250e31c58d150d52c554193e22767a0704 from https://github.com/simonjwright/scripted_testing.git Properties: Author: Simon Wright Description: Integration testing License: GPL-3.0-or-later Long_Description: To set the scene, the Ada software under test (SUT) forms part of a system. Generally, the system will be constructed using a layered approach, and the other parts of the system that interact with the SUT are higher-level (which can call interface subprograms presented by the SUT) or lower-level (whose interfaces can be called by the SUT, or which can provide callbacks to the SUT). This package is intended for testing at a level between unit testing (using, for example, [AUnit](https://github.com/AdaCore/aunit)) and integration testing (using real hardware). Unit testing tends to be fragile, requiring a lot of rework for even minor functional changes in the requirements. The scripting language supported is [Tcl](http://www.tcl.tk), and specifically the Ada binding [Tash](https://github.com/simonjwright/tcladashell). The reason for choosing Tcl rather than Python or Lua is that Tcl's interface is entirely string-based; this is important, considering the need to specify values of enumerated types. The package provides facilities to write new commands in Tcl to * call the interface subprograms presented by the SUT, * set up values to be returned by calls the SUT makes to lower-level system components, * call callbacks provided by lower-level system components, * delay for appropriate periods, and * check that the proper calls have been made to lower-level system components, with the required values. It's assumed that the interface subprograms of the lower-level subsystems are stubbed so that: * `in` and `in out` parameters can be recorded for later checking, * `out` (and `in out`) parameter values and function `return` values can be provided to be returned to the SUT, * exceptions can be raised when required, * the number of calls to the subprogram can be checked. Maintainer: Simon Wright Maintainers_Logins: simonjwright Name: scripted_testing Tag: testing Tag: integration Tag: scripting Version: 2.0.0 Website: https://github.com/simonjwright/scripted_testing.git Dependencies (direct): tash^8.7.0 Dependencies (solution): libtcl=8.6.14 libtk=8.6.14 tash=8.7.2 Dependencies (graph): scripted_testing=2.0.0 --> tash=8.7.2 (^8.7.0) tash=8.7.2 --> libtcl=8.6.14 (~8.6.0) tash=8.7.2 --> libtk=8.6.14 (~8.6.0) LOG: Note: Deploying scripted_testing=2.0.0... Note: Deploying libtcl=8.6.14... The system package 'tcl8.6-dev' is about to be installed. This action might require admin privileges and impact your system installation. Do you want Alire to install this system package? Using default: Yes Selecting previously unselected package tcl8.6-dev:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 220461 files and directories currently installed.) Preparing to unpack .../tcl8.6-dev_8.6.14+dfsg-1build1_amd64.deb ... Unpacking tcl8.6-dev:amd64 (8.6.14+dfsg-1build1) ... Setting up tcl8.6-dev:amd64 (8.6.14+dfsg-1build1) ... Running kernel seems to be up-to-date. Restarting services... Service restarts being deferred: systemctl restart runner-provisioner.service No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. Note: Deploying libtk=8.6.14... The system package 'tk8.6-dev' is about to be installed. This action might require admin privileges and impact your system installation. Do you want Alire to install this system package? Using default: Yes Selecting previously unselected package bzip2-doc. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 220530 files and directories currently installed.) Preparing to unpack .../00-bzip2-doc_1.0.8-5.1build0.1_all.deb ... Unpacking bzip2-doc (1.0.8-5.1build0.1) ... Selecting previously unselected package libbrotli-dev:amd64. Preparing to unpack .../01-libbrotli-dev_1.1.0-2build2_amd64.deb ... Unpacking libbrotli-dev:amd64 (1.1.0-2build2) ... Selecting previously unselected package libbz2-dev:amd64. Preparing to unpack .../02-libbz2-dev_1.0.8-5.1build0.1_amd64.deb ... Unpacking libbz2-dev:amd64 (1.0.8-5.1build0.1) ... Selecting previously unselected package libpng-dev:amd64. Preparing to unpack .../03-libpng-dev_1.6.43-5build1_amd64.deb ... Unpacking libpng-dev:amd64 (1.6.43-5build1) ... Selecting previously unselected package libfreetype-dev:amd64. Preparing to unpack .../04-libfreetype-dev_2.13.2+dfsg-1build3_amd64.deb ... Unpacking libfreetype-dev:amd64 (2.13.2+dfsg-1build3) ... Selecting previously unselected package uuid-dev:amd64. Preparing to unpack .../05-uuid-dev_2.39.3-9ubuntu6.1_amd64.deb ... Unpacking uuid-dev:amd64 (2.39.3-9ubuntu6.1) ... Selecting previously unselected package libfontconfig-dev:amd64. Preparing to unpack .../06-libfontconfig-dev_2.15.0-1.1ubuntu2_amd64.deb ... Unpacking libfontconfig-dev:amd64 (2.15.0-1.1ubuntu2) ... Selecting previously unselected package libfontconfig1-dev:amd64. Preparing to unpack .../07-libfontconfig1-dev_2.15.0-1.1ubuntu2_amd64.deb ... Unpacking libfontconfig1-dev:amd64 (2.15.0-1.1ubuntu2) ... Selecting previously unselected package libpng-tools. Preparing to unpack .../08-libpng-tools_1.6.43-5build1_amd64.deb ... Unpacking libpng-tools (1.6.43-5build1) ... Selecting previously unselected package libpthread-stubs0-dev:amd64. Preparing to unpack .../09-libpthread-stubs0-dev_0.4-1build3_amd64.deb ... Unpacking libpthread-stubs0-dev:amd64 (0.4-1build3) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../10-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1.1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../11-x11proto-dev_2023.2-1_all.deb ... Unpacking x11proto-dev (2023.2-1) ... Selecting previously unselected package libxau-dev:amd64. Preparing to unpack .../12-libxau-dev_1%3a1.0.9-1build6_amd64.deb ... Unpacking libxau-dev:amd64 (1:1.0.9-1build6) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../13-x11proto-core-dev_2023.2-1_all.deb ... Unpacking x11proto-core-dev (2023.2-1) ... Selecting previously unselected package libxdmcp-dev:amd64. Preparing to unpack .../14-libxdmcp-dev_1%3a1.1.3-0ubuntu6_amd64.deb ... Unpacking libxdmcp-dev:amd64 (1:1.1.3-0ubuntu6) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../15-xtrans-dev_1.4.0-1_all.deb ... Unpacking xtrans-dev (1.4.0-1) ... Selecting previously unselected package libxcb1-dev:amd64. Preparing to unpack .../16-libxcb1-dev_1.15-1ubuntu2_amd64.deb ... Unpacking libxcb1-dev:amd64 (1.15-1ubuntu2) ... Selecting previously unselected package libx11-dev:amd64. Preparing to unpack .../17-libx11-dev_2%3a1.8.7-1build1_amd64.deb ... Unpacking libx11-dev:amd64 (2:1.8.7-1build1) ... Selecting previously unselected package libxext-dev:amd64. Preparing to unpack .../18-libxext-dev_2%3a1.3.4-1build2_amd64.deb ... Unpacking libxext-dev:amd64 (2:1.3.4-1build2) ... Selecting previously unselected package libxrender-dev:amd64. Preparing to unpack .../19-libxrender-dev_1%3a0.9.10-1.1build1_amd64.deb ... Unpacking libxrender-dev:amd64 (1:0.9.10-1.1build1) ... Selecting previously unselected package libxft-dev:amd64. Preparing to unpack .../20-libxft-dev_2.3.6-1build1_amd64.deb ... Unpacking libxft-dev:amd64 (2.3.6-1build1) ... Selecting previously unselected package libxss-dev:amd64. Preparing to unpack .../21-libxss-dev_1%3a1.2.3-1build3_amd64.deb ... Unpacking libxss-dev:amd64 (1:1.2.3-1build3) ... Selecting previously unselected package tk8.6-dev:amd64. Preparing to unpack .../22-tk8.6-dev_8.6.14-1build1_amd64.deb ... Unpacking tk8.6-dev:amd64 (8.6.14-1build1) ... Setting up bzip2-doc (1.0.8-5.1build0.1) ... Setting up libpng-tools (1.6.43-5build1) ... Setting up libpng-dev:amd64 (1.6.43-5build1) ... Setting up libpthread-stubs0-dev:amd64 (0.4-1build3) ... Setting up xtrans-dev (1.4.0-1) ... Setting up uuid-dev:amd64 (2.39.3-9ubuntu6.1) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up libbrotli-dev:amd64 (1.1.0-2build2) ... Setting up libbz2-dev:amd64 (1.0.8-5.1build0.1) ... Setting up libfreetype-dev:amd64 (2.13.2+dfsg-1build3) ... Setting up libfontconfig-dev:amd64 (2.15.0-1.1ubuntu2) ... Setting up libfontconfig1-dev:amd64 (2.15.0-1.1ubuntu2) ... Processing triggers for man-db (2.12.0-4build2) ... Processing triggers for sgml-base (1.31) ... Processing triggers for install-info (7.1-3build2) ... Setting up x11proto-dev (2023.2-1) ... Setting up libxau-dev:amd64 (1:1.0.9-1build6) ... Setting up libxdmcp-dev:amd64 (1:1.1.3-0ubuntu6) ... Setting up x11proto-core-dev (2023.2-1) ... Setting up libxcb1-dev:amd64 (1.15-1ubuntu2) ... Setting up libx11-dev:amd64 (2:1.8.7-1build1) ... Setting up libxext-dev:amd64 (2:1.3.4-1build2) ... Setting up libxrender-dev:amd64 (1:0.9.10-1.1build1) ... Setting up libxft-dev:amd64 (2.3.6-1build1) ... Setting up libxss-dev:amd64 (1:1.2.3-1build3) ... Setting up tk8.6-dev:amd64 (8.6.14-1build1) ... Running kernel seems to be up-to-date. Restarting services... Service restarts being deferred: systemctl restart runner-provisioner.service No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. Note: Deploying tash=8.7.2... Note: Running post_fetch actions for tash=8.7.2... make: Entering directory '/home/runner/work/alire-crates-ci/alire-crates-ci/test/84104d22-e6bf-4413-af27-6114ea86d63c/scripted_testing_2.0.0_6720b925/alire/cache/dependencies/tash_8.7.2_4c588c12/src' tclsh tcl_record_sizes.tcl >tcl_record_sizes.c gprbuild -P tcl_record_sizes.gpr -o tcl_record_sizes.exe Setup [mkdir] object directory for project Tcl_Record_Sizes Compile [c] tcl_record_sizes.c Link [archive] libtcl_record_sizes.a [index] libtcl_record_sizes.a [link] tcl_record_sizes.c /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib/x86_64-linux-gnu/libc.so.6: unknown type [0x13] section `.relr.dyn' /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libc.so.6 when searching for /lib/x86_64-linux-gnu/libc.so.6 /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /lib/x86_64-linux-gnu/libc.so.6 /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib/x86_64-linux-gnu/libc.so.6: unknown type [0x13] section `.relr.dyn' /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libc.so.6 when searching for /lib/x86_64-linux-gnu/libc.so.6 /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn' /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /lib64/ld-linux-x86-64.so.2 when searching for /lib64/ld-linux-x86-64.so.2 /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /lib64/ld-linux-x86-64.so.2 /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn' /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /lib64/ld-linux-x86-64.so.2 when searching for /lib64/ld-linux-x86-64.so.2 collect2: error: ld returned 1 exit status gprbuild: link of tcl_record_sizes.c failed gprbuild: failed command was: /home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/bin/gcc tcl_record_sizes.o libtcl_record_sizes.a -Wl,-rpath-link,/home/runner/.config/alire/cache/dependencies/gnat_native_11.2.4_2f37a10b/lib/gcc/x86_64-pc-linux-gnu/11.2.0//adalib -o /home/runner/work/alire-crates-ci/alire-crates-ci/test/84104d22-e6bf-4413-af27-6114ea86d63c/scripted_testing_2.0.0_6720b925/alire/cache/dependencies/tash_8.7.2_4c588c12/src//tcl_record_sizes.exe make: *** [Makefile:31: tcl_record_sizes.exe] Error 4 make: Leaving directory '/home/runner/work/alire-crates-ci/alire-crates-ci/test/84104d22-e6bf-4413-af27-6114ea86d63c/scripted_testing_2.0.0_6720b925/alire/cache/dependencies/tash_8.7.2_4c588c12/src' stderr: Command ["make", "-C", "src", "tcl_record_sizes.ads"] exited with code 2 stderr: ALIRE.CHECKED_ERROR stderr: Command ["make", "-C", "src", "tcl_record_sizes.ads"] exited with code 2 stderr: raised ALIRE.CHECKED_ERROR : alire-stored-error:1 [/home/runner/work/alire-crates-ci/alire-crates-ci/alire_install/bin/alr] 0xd7ada2 Alire.Raise_Checked_Error at alire.adb:251 0xa423cf Alire.Os_Lib.Subprocess.Checked_Spawn at alire-os_lib-subprocess.adb:110 0xa4a085 Alire.Properties.Actions.Executor.Execute_Run at alire-properties-actions-executor.adb:40 0xa4b07f Alire.Properties.Actions.Executor.Execute_Actions at alire-properties-actions-executor.adb:94 0xa4a689 Alire.Properties.Actions.Executor.Execute_Actions at alire-properties-actions-executor.adb:58 0xbc4d2c Alire.Roots.Deploy_Dependencies.Deploy_Release.Run_Post_Fetch at alire-roots.adb:346 0xbc5a0c Alire.Roots.Deploy_Dependencies.Deploy_Release at alire-roots.adb:418 0xbdb95e Alire.Roots.Traverse.Traverse_Wrap at alire-roots.adb:1364 0xc25a8b Alire.Solutions.Traverse.Visit at alire-solutions.adb:1443 0xc241fa Alire.Solutions.Traverse at alire-solutions.adb:1502 0xbdbaac Alire.Roots.Traverse at alire-roots.adb:1368 0xbc5d8e Alire.Roots.Deploy_Dependencies at alire-roots.adb:434 0x4b0337 Alr.Commands.Get.Retrieve at alr-commands-get.adb:173 0x4b4e77 Alr.Commands.Get.Execute at alr-commands-get.adb:348 0x53bb7e Alr.Commands.Sub_Cmd.Execute at clic-subcommand-instance.adb:742 0x54756f Alr.Commands.Execute at alr-commands.adb:492 0x43cb1a Alr.Main at alr-main.adb:10 0x43f3e7 Main at b__alr-main.adb:2132 [/lib/x86_64-linux-gnu/libc.so.6] 0x7fc218a2a1c8 0x7fc218a2a289 [/home/runner/work/alire-crates-ci/alire-crates-ci/alire_install/bin/alr] 0x43c9f8 _start at ??? 0xfffffffffffffffe stderr: A post-fetch action failed, re-run with -vv -d for details ERROR: A post-fetch action failed, re-run with -vv -d for details