From 890db2a379230b458ea06d2e77fb89780a2ec4ce Mon Sep 17 00:00:00 2001 From: Mendi03 Date: Tue, 11 Jul 2023 11:38:47 -0500 Subject: [PATCH 1/7] Doc fix for Specifying Scheduler Directives added build command, highlighted .yml files, and made .txt file match the inspect dropdown --- docs/buildspecs/spack.rst | 6 ++++++ .../spack/inspect/spack_sbatch.txt | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/buildspecs/spack.rst b/docs/buildspecs/spack.rst index 477742848..8b9c04056 100644 --- a/docs/buildspecs/spack.rst +++ b/docs/buildspecs/spack.rst @@ -325,11 +325,16 @@ since we are not using the a slurm executor. .. literalinclude:: ../../examples/spack/spack_sbatch.yml :language: yaml + :emphasize-lines: 7 buildtest will generate the shell script with the job directives and set the name, output and error files based on name of test. If we build this test, and inspect the generated test we see that **#SBATCH** directives are written based on the **sbatch** field. +.. dropdown:: ``buildtest build -b /home/spack/buildtest/examples/spack/spack_sbatch.yml`` + + .. program-output:: cat buildtest_tutorial_examples/spack/build/spack_sbatch.txt + .. dropdown:: ``buildtest inspect query --testpath spack_sbatch_example`` .. program-output:: cat buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt @@ -344,4 +349,5 @@ Shown below is an example buildspec that will specify ``sbatch`` directives for .. literalinclude:: ../../examples/spack/spack_multiple_executor_sbatch.yml :language: yaml + :emphasize-lines: 7-11 diff --git a/docs/buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt b/docs/buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt index a272b2ef4..f3533e676 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -t spack_sbatch_example +$ buildtest inspect query --testpath spack_sbatch_example ──────────────────────────────────────────────────────────────────────────────────────── spack_sbatch_example/af908912-36f3-4722-a3ff-4c06bd292208 ──────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: sbatch directives can be defined in spack schema From 1d837496824b21027e64a03241166ec12e883a22 Mon Sep 17 00:00:00 2001 From: Mendi03 Date: Tue, 11 Jul 2023 13:45:51 -0500 Subject: [PATCH 2/7] Renamed the -t command to --testpath in DOCS --- docs/buildspecs/compiler.rst | 16 ++++++++-------- docs/buildspecs/spack.rst | 2 +- .../compilers/inspect/custom_run.txt | 2 +- .../compilers/inspect/envvar_override.txt | 2 +- .../compilers/inspect/gnu_hello_c.txt | 2 +- .../compilers/inspect/gnu_hello_fortran.txt | 2 +- .../compilers/inspect/openmp_hello.txt | 2 +- .../compilers/inspect/pre_post_build_run.txt | 2 +- .../compilers/inspect/stream_example.txt | 2 +- .../spack/inspect/e4s_testsuite_mpich.txt | 2 +- .../spack/inspect/env_create_directory.txt | 2 +- .../spack/inspect/env_create_manifest.txt | 2 +- .../spack/inspect/env_install.txt | 2 +- .../spack/inspect/install_specs.txt | 2 +- .../spack/inspect/mirror_example.txt | 2 +- .../spack/inspect/pre_post_cmds.txt | 2 +- .../spack/inspect/remove_environment_example.txt | 2 +- .../spack/inspect/spack_test.txt | 2 +- .../spack/inspect/spack_test_specs.txt | 2 +- 19 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/buildspecs/compiler.rst b/docs/buildspecs/compiler.rst index 575f2ac06..831228331 100644 --- a/docs/buildspecs/compiler.rst +++ b/docs/buildspecs/compiler.rst @@ -48,7 +48,7 @@ Shown below is an example build for this test. The generated test for test name **hello_f** is the following: -.. dropdown:: ``buildtest inspect query -t hello_f`` +.. dropdown:: ``buildtest inspect query --testpath hello_f`` .. program-output:: cat buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt @@ -126,7 +126,7 @@ Let's build this test, we will see there is one builder instance for each compil If we inspect the following test, we see each test has its own compiler flags. The default cflag is ``-O1`` while **gcc_6.5.0** will use ``-O2`` and **gcc_8.3.0** will use ``-O3``. -.. dropdown:: ``buildtest inspect query -t hello_c/`` +.. dropdown:: ``buildtest inspect query --testpath hello_c/`` .. program-output:: cat buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt @@ -172,7 +172,7 @@ Now let's build this test. We can see the generated test using ``buildtest inspect query`` given the name of test. Take a close look at the ``export OMP_NUM_THREADS`` in the generated test. -.. dropdown:: ``buildtest inspect query -t openmp_hello_c_example`` +.. dropdown:: ``buildtest inspect query --testpath openmp_hello_c_example`` .. program-output:: cat buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt @@ -188,11 +188,11 @@ We can build this test by running:: buildtest build -b $BUILDTEST_ROOT/examples/compilers/envvar_override.yml -Next, let's see the generated test by running ``buildtest inspect query -d all -t override_environmentvars``. The +Next, let's see the generated test by running ``buildtest inspect query -d all --testpath override_environmentvars``. The ``-d all`` will display all test records for ``override_environmentvars``. Take a note that we have ``export OMP_NUM_THREADS=4`` for `gcc_8.3.0` test and ``export OMP_NUM_THREADS=2`` for system gcc. -.. dropdown:: ``buildtest inspect query -t override_environmentvars/`` +.. dropdown:: ``buildtest inspect query --testpath override_environmentvars/`` .. program-output:: cat buildtest_tutorial_examples/compilers/inspect/envvar_override.txt @@ -254,7 +254,7 @@ You can build this test by running the following:: Once test is complete let's inspect the generated test. We see that buildtest will insert the line specified by ``run`` property after compilation and run the executable. -.. dropdown:: ``buildtest inspect query -b -t custom_run_by_compilers/`` +.. dropdown:: ``buildtest inspect query -b --testpath custom_run_by_compilers/`` .. program-output:: cat buildtest_tutorial_examples/compilers/inspect/custom_run.txt @@ -298,7 +298,7 @@ You can run this example by running the following command:: If we inspect the content of test we see that buildtest will insert the shell commands for ``pre_build``, ``post_build``, ``pre_run`` and ``post_run`` in its corresponding section. -.. dropdown:: ``buildtest inspect query -t pre_post_build_run`` +.. dropdown:: ``buildtest inspect query --testpath pre_post_build_run`` .. program-output:: cat buildtest_tutorial_examples/compilers/inspect/pre_post_build_run.txt @@ -336,7 +336,7 @@ If we build this test we see one test is created per compiler instance defined i Next, let's see the generated test using ``buildtest inspect query``, we notice buildtest will set variables ``BUILDTEST_*`` for each test to map to each compiler. -.. dropdown:: ``buildtest inspect query -t stream_openmp_c/`` +.. dropdown:: ``buildtest inspect query --testpath stream_openmp_c/`` .. program-output:: cat buildtest_tutorial_examples/compilers/inspect/stream_example.txt diff --git a/docs/buildspecs/spack.rst b/docs/buildspecs/spack.rst index 8b9c04056..9da84b9fa 100644 --- a/docs/buildspecs/spack.rst +++ b/docs/buildspecs/spack.rst @@ -239,7 +239,7 @@ If we look at the generated script for both tests, we see that mirror is added f one can have mirrors defined in their ``spack.yaml`` or one of the `configuration scopes `_ defined by spack. -.. dropdown:: ``buildtest inspect query -o --testpath add_mirror add_mirror_in_spack_env`` +.. dropdown:: ``buildtest inspect query -o --testpath add_mirror add_mirror_in_spack_env`` .. program-output:: cat buildtest_tutorial_examples/spack/inspect/mirror_example.txt diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/custom_run.txt b/docs/buildtest_tutorial_examples/compilers/inspect/custom_run.txt index 72bcf5e51..e3a58ea52 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/custom_run.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/custom_run.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -b -t custom_run_by_compilers/ +$ buildtest inspect query -b --testpath custom_run_by_compilers/ ────────────────────────────────────────────────────────────────────────────────────── custom_run_by_compilers/00777c4e-fba1-4dab-b197-972a4111470a ─────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Customize binary launch based on compiler diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/envvar_override.txt b/docs/buildtest_tutorial_examples/compilers/inspect/envvar_override.txt index 41df384fc..57aeb0411 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/envvar_override.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/envvar_override.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -t override_environmentvars/ +$ buildtest inspect query --testpath override_environmentvars/ ────────────────────────────────────────────────────────────────────────────────────── override_environmentvars/4512576c-a862-4156-9e90-7b69e22061ae ────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override default environment variables diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt b/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt index 4c0e7ee8a..93c54a91b 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -t hello_c/ +$ buildtest inspect query --testpath hello_c/ ────────────────────────────────────────────────────────────────────────────────────────────── hello_c/5121e6ef-d112-46b8-bdb0-e8abb348301a ─────────────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Hello World C Compilation diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt b/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt index a3697a05c..b477f5b33 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -t hello_f +$ buildtest inspect query --testpath hello_f ────────────────────────────────────────────────────────────────────────────────────────────── hello_f/f030b521-098d-4d68-8a90-f2738342f68d ─────────────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Hello World Fortran Compilation diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt b/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt index 32e4ca820..1ef2d59ba 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -t openmp_hello_c_example +$ buildtest inspect query --testpath openmp_hello_c_example ─────────────────────────────────────────────────────────────────────────────────────── openmp_hello_c_example/559c9f80-0ead-48d9-84c5-6ecb2c4c8213 ─────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: OpenMP Hello World C example diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/pre_post_build_run.txt b/docs/buildtest_tutorial_examples/compilers/inspect/pre_post_build_run.txt index a32c63600..3f623c4a3 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/pre_post_build_run.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/pre_post_build_run.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -t pre_post_build_run +$ buildtest inspect query --testpath pre_post_build_run ───────────────────────────────────────────────────────────────────────────────────────── pre_post_build_run/aee93675-6a3c-4423-9cf1-19a37fddba65 ───────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: example using pre_build, post_build, pre_run, post_run example diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt b/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt index 0937360a2..03b533e51 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -t stream_openmp_c/ +$ buildtest inspect query --testpath stream_openmp_c/ ────────────────────────────────────────────────────────────────────────────────────────── stream_openmp_c/8f8b6c26-a782-41ef-b004-1313107c6102 ─────────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: STREAM Microbenchmark C Test with OpenMP diff --git a/docs/buildtest_tutorial_examples/spack/inspect/e4s_testsuite_mpich.txt b/docs/buildtest_tutorial_examples/spack/inspect/e4s_testsuite_mpich.txt index 6ecc2c2cc..4f923965f 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/e4s_testsuite_mpich.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/e4s_testsuite_mpich.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -o -e -t mpich_e4s_testsuite +$ buildtest inspect query -o -e --testpath mpich_e4s_testsuite ──────────────────────────────────────────────────────────────────────────────────────── mpich_e4s_testsuite/a14380f6-722c-4d81-bc3d-4e051ae6f791 ───────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Run E4S Testsuite mpich test diff --git a/docs/buildtest_tutorial_examples/spack/inspect/env_create_directory.txt b/docs/buildtest_tutorial_examples/spack/inspect/env_create_directory.txt index 08c73b459..0a6a3e428 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/env_create_directory.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/env_create_directory.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -o -t spack_env_directory +$ buildtest inspect query -o --testpath spack_env_directory ──────────────────────────────────────────────────────────────────────────────────────── spack_env_directory/c5e078b9-e1a7-44a7-b00c-662e89d196db ───────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: create spack environment in directory diff --git a/docs/buildtest_tutorial_examples/spack/inspect/env_create_manifest.txt b/docs/buildtest_tutorial_examples/spack/inspect/env_create_manifest.txt index fdf6c1cb6..841c21a4b 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/env_create_manifest.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/env_create_manifest.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -o -t spack_env_create_from_manifest +$ buildtest inspect query -o --testpath spack_env_create_from_manifest ─────────────────────────────────────────────────────────────────────────────────── spack_env_create_from_manifest/28fc5836-60b1-41d2-9b72-677bb011d12f ─────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Create spack environment from spack.yaml diff --git a/docs/buildtest_tutorial_examples/spack/inspect/env_install.txt b/docs/buildtest_tutorial_examples/spack/inspect/env_install.txt index 0b0fd6f2d..497329a97 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/env_install.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/env_install.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -t install_in_spack_env +$ buildtest inspect query --testpath install_in_spack_env ──────────────────────────────────────────────────────────────────────────────────────── install_in_spack_env/9f0c2e5d-0974-4881-8066-c79aa2ed352f ──────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Install m4 and zlib in a spack environment named m4_zlib diff --git a/docs/buildtest_tutorial_examples/spack/inspect/install_specs.txt b/docs/buildtest_tutorial_examples/spack/inspect/install_specs.txt index 9b3af85fc..6434d4221 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/install_specs.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/install_specs.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -o -t install_specs_example clone_spack_and_install_zlib +$ buildtest inspect query -o --testpath install_specs_example clone_spack_and_install_zlib ─────────────────────────────────────────────────────────────────────────────────────── install_specs_example/e19633f1-8ecd-4e30-b931-f2102038942c ──────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Install zlib from an existing spack instance diff --git a/docs/buildtest_tutorial_examples/spack/inspect/mirror_example.txt b/docs/buildtest_tutorial_examples/spack/inspect/mirror_example.txt index e81765c2d..d625b58c6 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/mirror_example.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/mirror_example.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -o -t add_mirror add_mirror_in_spack_env +$ buildtest inspect query -o --testpath add_mirror add_mirror_in_spack_env ────────────────────────────────────────────────────────────────────────────────────── add_mirror_in_spack_env/a1846e85-149f-4efb-9c20-cab8fd43c5f0 ─────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Declare spack mirror in spack environment diff --git a/docs/buildtest_tutorial_examples/spack/inspect/pre_post_cmds.txt b/docs/buildtest_tutorial_examples/spack/inspect/pre_post_cmds.txt index 172abb055..bbe7ac46a 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/pre_post_cmds.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/pre_post_cmds.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -o -t run_pre_post_commands +$ buildtest inspect query -o --testpath run_pre_post_commands ─────────────────────────────────────────────────────────────────────────────────────── run_pre_post_commands/3462c60f-14df-43a3-8729-59b3d12c06a0 ──────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Install zlib diff --git a/docs/buildtest_tutorial_examples/spack/inspect/remove_environment_example.txt b/docs/buildtest_tutorial_examples/spack/inspect/remove_environment_example.txt index 711221f20..e241d5970 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/remove_environment_example.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/remove_environment_example.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -t remove_environment_automatically remove_environment_explicit +$ buildtest inspect query --testpath remove_environment_automatically remove_environment_explicit ────────────────────────────────────────────────────────────────────────────────── remove_environment_automatically/e9de2b6c-8d1e-4859-b15d-2a3cfc34ad34 ────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: remove spack environment automatically before creating a new environment diff --git a/docs/buildtest_tutorial_examples/spack/inspect/spack_test.txt b/docs/buildtest_tutorial_examples/spack/inspect/spack_test.txt index 163da2425..ee9eed59e 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/spack_test.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/spack_test.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -o -t spack_test_m4 +$ buildtest inspect query -o --testpath spack_test_m4 ────────────────────────────────────────────────────────────────────────────────────────── spack_test_m4/63314812-fcd6-4aeb-a51e-c6cb3924d171 ────────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Run spack test for m4 package and report results diff --git a/docs/buildtest_tutorial_examples/spack/inspect/spack_test_specs.txt b/docs/buildtest_tutorial_examples/spack/inspect/spack_test_specs.txt index 60502dd6d..708f182e6 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/spack_test_specs.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/spack_test_specs.txt @@ -1,4 +1,4 @@ -$ buildtest inspect query -o -t spack_test_results_specs_format +$ buildtest inspect query -o --testpath spack_test_results_specs_format ────────────────────────────────────────────────────────────────────────────────── spack_test_results_specs_format/23f16eff-ed9f-46d9-aabe-46e188eedb01 ─────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Run spack test results with spec format From 2382db0a7da26dfe4e9ae38618b2da06b45e66d2 Mon Sep 17 00:00:00 2001 From: Mendi03 Date: Wed, 12 Jul 2023 10:50:48 -0500 Subject: [PATCH 3/7] changed _help to _show --- buildtest/cli/show.py | 46 +++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/buildtest/cli/show.py b/buildtest/cli/show.py index 83a38db82..b9b91e949 100644 --- a/buildtest/cli/show.py +++ b/buildtest/cli/show.py @@ -2,7 +2,7 @@ from rich.table import Table -def print_build_help(): +def print_build_show(): """This method will print help message for command ``buildtest show build``""" table = Table(title="Building buildspecs", show_lines=False) @@ -109,7 +109,7 @@ def print_build_help(): console.print(table) -def print_buildspec_help(): +def print_buildspec_show(): """This method will print help message for command ``buildtest show buildspec``""" table = Table(title="Finding Buildspecs", show_lines=False) @@ -260,7 +260,7 @@ def print_buildspec_help(): console.print(table) -def print_config_help(): +def print_config_show(): """This method will print help message for command ``buildtest show config``""" table = Table(title="Configuring Buildtest", show_lines=False) @@ -321,7 +321,7 @@ def print_config_help(): console.print(table) -def print_inspect_help(): +def print_inspect_show(): """This method will print help message for command ``buildtest show inspect``""" table = Table(title="Inspecting a test", show_lines=False) @@ -367,7 +367,7 @@ def print_inspect_help(): console.print(table) -def print_report_help(): +def print_report_show(): """This method will print help message for command ``buildtest show report``""" table = Table(title="Viewing Test Report", show_lines=False) @@ -424,7 +424,7 @@ def print_report_help(): console.print(table) -def print_history_help(): +def print_history_show(): """This method will print help message for command ``buildtest show history``""" table = Table(title="Editing buildspec", show_lines=False) @@ -454,7 +454,7 @@ def print_history_help(): console.print(table) -def print_cdash_help(): +def print_cdash_show(): """This method will print help message for command ``buildtest show cdash``""" table = Table(title="Editing buildspec", show_lines=False) @@ -483,7 +483,7 @@ def print_cdash_help(): console.print(table) -def print_schema_help(): +def print_schema_show(): """This method will print help message for command ``buildtest show schema``""" table = Table(title="Buildtest Schemas", show_lines=False) @@ -502,7 +502,7 @@ def print_schema_help(): console.print(table) -def print_stylecheck_help(): +def print_stylecheck_show(): """This method will print help message for command ``buildtest show stylecheck``""" table = Table(title="Buildtest stylecheck", show_lines=False) @@ -523,7 +523,7 @@ def print_stylecheck_help(): console.print(table) -def print_unittests_help(): +def print_unittests_show(): """This method will print help message for command ``buildtest show unittests``""" table = Table(title="Buildtest unittests", show_lines=False) @@ -553,7 +553,7 @@ def print_unittests_help(): console.print(table) -def print_path_help(): +def print_path_show(): """This method will print help message for command ``buildtest show schema``""" table = Table(title="Get Path to Test", show_lines=False) @@ -586,7 +586,7 @@ def print_path_help(): console.print(table) -def buildtest_help(command): +def buildtest_show(command): """Entry point for ``buildtest show`` which display a summary of how to use buildtest commands Args: @@ -594,24 +594,24 @@ def buildtest_help(command): """ if command in ["build", "bd"]: - print_build_help() + print_build_show() elif command in ["buildspec", "bc"]: - print_buildspec_help() + print_buildspec_show() elif command in ["config", "cg"]: - print_config_help() + print_config_show() elif command in ["inspect", "it"]: - print_inspect_help() + print_inspect_show() elif command in ["report", "rt"]: - print_report_help() + print_report_show() elif command == "path": - print_path_help() + print_path_show() elif command in ["history", "hy"]: - print_history_help() + print_history_show() elif command == "cdash": - print_cdash_help() + print_cdash_show() elif command == "schema": - print_schema_help() + print_schema_show() elif command in ["stylecheck", "style"]: - print_stylecheck_help() + print_stylecheck_show() elif command in ["unittests", "test"]: - print_unittests_help() + print_unittests_show() From 08f914e7b28adad88b64ef6f084d1b9462ee83f4 Mon Sep 17 00:00:00 2001 From: Mendi03 Date: Wed, 12 Jul 2023 10:55:16 -0500 Subject: [PATCH 4/7] import error fix --- buildtest/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildtest/main.py b/buildtest/main.py index dd62895c2..b74ebda02 100644 --- a/buildtest/main.py +++ b/buildtest/main.py @@ -35,7 +35,7 @@ from buildtest.cli.path import path_cmd from buildtest.cli.report import Report, report_cmd from buildtest.cli.schema import schema_cmd -from buildtest.cli.show import buildtest_help +from buildtest.cli.show import buildtest_show from buildtest.cli.stats import stats_cmd from buildtest.config import SiteConfiguration from buildtest.defaults import ( @@ -339,7 +339,7 @@ def main(): ) elif args.subcommands in ["show", "s"]: - buildtest_help(command=args.command) + buildtest_show(command=args.command) elif args.subcommands == "clean": clean(configuration=configuration, yes=args.yes) From dd42ac1102e62d350795b4416e7474250ad617ee Mon Sep 17 00:00:00 2001 From: Mendi03 Date: Wed, 12 Jul 2023 11:16:34 -0500 Subject: [PATCH 5/7] updated test_show.py --- tests/cli/test_help.py | 15 --------------- tests/cli/test_show.py | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 tests/cli/test_help.py create mode 100644 tests/cli/test_show.py diff --git a/tests/cli/test_help.py b/tests/cli/test_help.py deleted file mode 100644 index 9ba178d77..000000000 --- a/tests/cli/test_help.py +++ /dev/null @@ -1,15 +0,0 @@ -from buildtest.cli.show import buildtest_help - - -def test_buildtest_help(): - buildtest_help(command="build") - buildtest_help(command="buildspec") - buildtest_help(command="config") - buildtest_help(command="cdash") - buildtest_help(command="path") - buildtest_help(command="history") - buildtest_help(command="inspect") - buildtest_help(command="report") - buildtest_help(command="schema") - buildtest_help(command="stylecheck") - buildtest_help(command="unittests") diff --git a/tests/cli/test_show.py b/tests/cli/test_show.py new file mode 100644 index 000000000..5f95a5bb5 --- /dev/null +++ b/tests/cli/test_show.py @@ -0,0 +1,15 @@ +from buildtest.cli.show import buildtest_show + + +def test_buildtest_show(): + buildtest_show(command="build") + buildtest_show(command="buildspec") + buildtest_show(command="config") + buildtest_show(command="cdash") + buildtest_show(command="path") + buildtest_show(command="history") + buildtest_show(command="inspect") + buildtest_show(command="report") + buildtest_show(command="schema") + buildtest_show(command="stylecheck") + buildtest_show(command="unittests") From 1586bbfe87b77919c356edfc8782bc632a0701f4 Mon Sep 17 00:00:00 2001 From: Mendi03 Date: Fri, 14 Jul 2023 13:51:11 -0500 Subject: [PATCH 6/7] Ran buildtest tutorial-examples inside container Ran command in title to update documentation --- buildtest/tools/docs.py | 36 +-- .../compilers/build/compiler_exclude.txt | 94 ++++---- .../compilers/build/compiler_status_regex.txt | 205 +++++++++-------- .../compilers/build/custom_run.txt | 94 ++++---- .../compilers/build/envvar_override.txt | 94 ++++---- .../compilers/build/gnu_hello_c.txt | 118 +++++----- .../compilers/build/gnu_hello_fortran.txt | 70 +++--- .../compilers/build/openmp_hello.txt | 80 +++---- .../compilers/build/pre_post_build_run.txt | 70 +++--- .../compilers/build/stream_example.txt | 118 +++++----- .../build/stream_example_metrics.txt | 70 +++--- .../compilers/build/vecadd.txt | 118 +++++----- .../inspect/compiler_status_regex.txt | 72 +++--- .../compilers/inspect/custom_run.txt | 154 ++++++------- .../compilers/inspect/envvar_override.txt | 102 ++++----- .../compilers/inspect/gnu_hello_c.txt | 148 ++++++------- .../compilers/inspect/gnu_hello_fortran.txt | 48 ++-- .../compilers/inspect/openmp_hello.txt | 50 ++--- .../compilers/inspect/pre_post_build_run.txt | 94 ++++---- .../compilers/inspect/stream_example.txt | 150 ++++++------- .../inspect/stream_openmp_metrics.txt | 96 ++++---- .../spack/build/e4s_testsuite_mpich.txt | 70 +++--- .../spack/build/env_create_directory.txt | 70 +++--- .../spack/build/env_create_manifest.txt | 70 +++--- .../spack/build/env_install.txt | 70 +++--- .../spack/build/install_specs.txt | 124 +++++++---- .../spack/build/mirror_example.txt | 94 ++++---- .../spack/build/pre_post_cmds.txt | 70 +++--- .../build/remove_environment_example.txt | 108 ++++----- .../spack/build/spack_sbatch.txt | 70 +++--- .../spack/build/spack_test.txt | 84 +++---- .../spack/build/spack_test_specs.txt | 70 +++--- .../spack/inspect/e4s_testsuite_mpich.txt | 209 +++++++++++------- .../spack/inspect/env_create_directory.txt | 90 ++++---- .../spack/inspect/env_create_manifest.txt | 93 ++++---- .../spack/inspect/env_install.txt | 40 ++-- .../spack/inspect/install_specs.txt | 80 +++---- .../spack/inspect/mirror_example.txt | 140 ++++++------ .../spack/inspect/pre_post_cmds.txt | 104 ++++----- .../inspect/remove_environment_example.txt | 70 +++--- .../spack/inspect/spack_sbatch.txt | 42 ++-- .../spack/inspect/spack_test.txt | 72 +++--- .../spack/inspect/spack_test_specs.txt | 170 +++++++------- 43 files changed, 2076 insertions(+), 2015 deletions(-) diff --git a/buildtest/tools/docs.py b/buildtest/tools/docs.py index 9bd94a415..b2e96e8e8 100644 --- a/buildtest/tools/docs.py +++ b/buildtest/tools/docs.py @@ -78,17 +78,17 @@ def build_spack_examples(autogen_dir): f"{build_dir}/spack_test_specs.txt": f"buildtest build -b {SPACK_EXAMPLE_DIR}/spack_test_specs.yml", f"{build_dir}/spack_sbatch.txt": f"buildtest build -b {SPACK_EXAMPLE_DIR}/spack_sbatch.yml", f"{build_dir}/e4s_testsuite_mpich.txt": f"buildtest build -b {SPACK_EXAMPLE_DIR}/e4s_testsuite_mpich.yml", - f"{inspect_dir}/install_specs.txt": "buildtest inspect query -o -t install_specs_example clone_spack_and_install_zlib", - f"{inspect_dir}/env_install.txt": "buildtest inspect query -t install_in_spack_env", - f"{inspect_dir}/env_create_directory.txt": "buildtest inspect query -o -t spack_env_directory", - f"{inspect_dir}/env_create_manifest.txt": "buildtest inspect query -o -t spack_env_create_from_manifest", - f"{inspect_dir}/remove_environment_example.txt": "buildtest inspect query -t remove_environment_automatically remove_environment_explicit", - f"{inspect_dir}/pre_post_cmds.txt": "buildtest inspect query -o -t run_pre_post_commands", - f"{inspect_dir}/mirror_example.txt": "buildtest inspect query -o -t add_mirror add_mirror_in_spack_env", - f"{inspect_dir}/spack_test.txt": "buildtest inspect query -o -t spack_test_m4", - f"{inspect_dir}/spack_test_specs.txt": "buildtest inspect query -o -t spack_test_results_specs_format", - f"{inspect_dir}/spack_sbatch.txt": "buildtest inspect query -t spack_sbatch_example", - f"{inspect_dir}/e4s_testsuite_mpich.txt": "buildtest inspect query -o -e -t mpich_e4s_testsuite", + f"{inspect_dir}/install_specs.txt": "buildtest inspect query -o --testpath install_specs_example clone_spack_and_install_zlib", + f"{inspect_dir}/env_install.txt": "buildtest inspect query --testpath install_in_spack_env", + f"{inspect_dir}/env_create_directory.txt": "buildtest inspect query -o --testpath spack_env_directory", + f"{inspect_dir}/env_create_manifest.txt": "buildtest inspect query -o --testpath spack_env_create_from_manifest", + f"{inspect_dir}/remove_environment_example.txt": "buildtest inspect query --testpath remove_environment_automatically remove_environment_explicit", + f"{inspect_dir}/pre_post_cmds.txt": "buildtest inspect query -o --testpath run_pre_post_commands", + f"{inspect_dir}/mirror_example.txt": "buildtest inspect query -o --testpath add_mirror add_mirror_in_spack_env", + f"{inspect_dir}/spack_test.txt": "buildtest inspect query -o --testpath spack_test_m4", + f"{inspect_dir}/spack_test_specs.txt": "buildtest inspect query -o --testpath spack_test_results_specs_format", + f"{inspect_dir}/spack_sbatch.txt": "buildtest inspect query --testpath spack_sbatch_example", + f"{inspect_dir}/e4s_testsuite_mpich.txt": "buildtest inspect query -o -e --testpath mpich_e4s_testsuite", } for fname, command in commands_to_run.items(): @@ -112,24 +112,24 @@ def build_compiler_examples(autogen_dir): COMPILER_EXAMPLE_DIR = os.path.join(BUILDTEST_ROOT, "examples", "compilers") commands_to_run = { f"{build_dir}/gnu_hello_fortran.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/gnu_hello_fortran.yml", - f"{inspect_dir}/gnu_hello_fortran.txt": "buildtest inspect query -t hello_f", + f"{inspect_dir}/gnu_hello_fortran.txt": "buildtest inspect query --testpath hello_f", f"{compiler_dir}/compilers_list.txt": "buildtest config compilers -y", f"{build_dir}/vecadd.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/vecadd.yml", f"{build_dir}/gnu_hello_c.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/gnu_hello_c.yml", - f"{inspect_dir}/gnu_hello_c.txt": "buildtest inspect query -t hello_c/", + f"{inspect_dir}/gnu_hello_c.txt": "buildtest inspect query --testpath hello_c/", f"{build_dir}/compiler_exclude.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/compiler_exclude.yml", f"{build_dir}/openmp_hello.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/openmp_hello.yml", - f"{inspect_dir}/openmp_hello.txt": "buildtest inspect query -t openmp_hello_c_example", + f"{inspect_dir}/openmp_hello.txt": "buildtest inspect query --testpath openmp_hello_c_example", f"{build_dir}/envvar_override.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/envvar_override.yml", - f"{inspect_dir}/envvar_override.txt": "buildtest inspect query -t override_environmentvars/", + f"{inspect_dir}/envvar_override.txt": "buildtest inspect query --testpath override_environmentvars/", f"{build_dir}/compiler_status_regex.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/compiler_status_regex.yml", f"{inspect_dir}/compiler_status_regex.txt": "buildtest inspect query -o override_status_regex/", f"{build_dir}/custom_run.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/custom_run.yml", - f"{inspect_dir}/custom_run.txt": "buildtest inspect query -b -t custom_run_by_compilers/", + f"{inspect_dir}/custom_run.txt": "buildtest inspect query -b --testpath custom_run_by_compilers/", f"{build_dir}/pre_post_build_run.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/pre_post_build_run.yml", - f"{inspect_dir}/pre_post_build_run.txt": "buildtest inspect query -t pre_post_build_run", + f"{inspect_dir}/pre_post_build_run.txt": "buildtest inspect query --testpath pre_post_build_run", f"{build_dir}/stream_example.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/stream_example.yml", - f"{inspect_dir}/stream_example.txt": "buildtest inspect query -t stream_openmp_c/", + f"{inspect_dir}/stream_example.txt": "buildtest inspect query --testpath stream_openmp_c/", f"{build_dir}/stream_example_metrics.txt": f"buildtest build -b {COMPILER_EXAMPLE_DIR}/stream_example_metrics.yml", f"{inspect_dir}/stream_openmp_metrics.txt": "buildtest inspect query -o stream_openmp_metrics/", } diff --git a/docs/buildtest_tutorial_examples/compilers/build/compiler_exclude.txt b/docs/buildtest_tutorial_examples/compilers/build/compiler_exclude.txt index b9834ec01..d856325d4 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/compiler_exclude.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/compiler_exclude.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/compiler_exclude.yml -╭────────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:30 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/compiler_exclude.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭────────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:47:54 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/compiler_exclude.yml │ +│ │ +╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═══════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/compiler_exclude.y Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── vecadd_gnu_exclude: Excluding compiler gcc_6.5.0 during test generation Valid Buildspecs: 1 Invalid Buildspecs: 0 @@ -37,42 +37,42 @@ Total builder objects created: 2 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ vecadd_gnu_exclude/5537cab5 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ Vector Addition example with GNU compilers but exclude gcc_6.5.0 │ /home/spack/buildtest/examples/compilers/compiler_exclude.yml │ +│ vecadd_gnu_exclude/b8a8a787 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ Vector Addition example with GNU compilers but exclude gcc_6.5.0 │ /home/spack/buildtest/examples/compilers/compiler_exclude.yml │ ├─────────────────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼──────────────────────────────────────────────────────────────────┼───────────────────────────────────────────────────────────────┤ -│ vecadd_gnu_exclude/20479852 │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ Vector Addition example with GNU compilers but exclude gcc_6.5.0 │ /home/spack/buildtest/examples/compilers/compiler_exclude.yml │ +│ vecadd_gnu_exclude/831b2196 │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ Vector Addition example with GNU compilers but exclude gcc_6.5.0 │ /home/spack/buildtest/examples/compilers/compiler_exclude.yml │ └─────────────────────────────┴──────────┴────────────────────┴───────────┴───────┴───────┴──────────────────────────────────────────────────────────────────┴───────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -vecadd_gnu_exclude/5537cab5: Creating test directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/5537cab5 -vecadd_gnu_exclude/5537cab5: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/5537cab5/stage -vecadd_gnu_exclude/5537cab5: Writing build script: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/5537cab5/vecadd_gnu_exclude_build.sh -vecadd_gnu_exclude/20479852: Creating test directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/20479852 -vecadd_gnu_exclude/20479852: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/20479852/stage -vecadd_gnu_exclude/20479852: Writing build script: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/20479852/vecadd_gnu_exclude_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +vecadd_gnu_exclude/b8a8a787: Creating test directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/b8a8a787 +vecadd_gnu_exclude/b8a8a787: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/b8a8a787/stage +vecadd_gnu_exclude/b8a8a787: Writing build script: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/b8a8a787/vecadd_gnu_exclude_build.sh +vecadd_gnu_exclude/831b2196: Creating test directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/831b2196 +vecadd_gnu_exclude/831b2196: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/831b2196/stage +vecadd_gnu_exclude/831b2196: Writing build script: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/831b2196/vecadd_gnu_exclude_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -vecadd_gnu_exclude/20479852 does not have any dependencies adding test to queue -vecadd_gnu_exclude/5537cab5 does not have any dependencies adding test to queue -vecadd_gnu_exclude/20479852: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/20479852/stage -vecadd_gnu_exclude/5537cab5: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/5537cab5/stage -vecadd_gnu_exclude/20479852: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_exclude_build.sh -vecadd_gnu_exclude/5537cab5: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_exclude_build.sh -vecadd_gnu_exclude/5537cab5: Test completed in 0.132073 seconds -vecadd_gnu_exclude/20479852: Test completed in 0.136859 seconds -vecadd_gnu_exclude/5537cab5: Test completed with returncode: 0 -vecadd_gnu_exclude/20479852: Test completed with returncode: 0 -vecadd_gnu_exclude/5537cab5: Writing output file - /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/5537cab5/vecadd_gnu_exclude.out -vecadd_gnu_exclude/20479852: Writing output file - /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/20479852/vecadd_gnu_exclude.out -vecadd_gnu_exclude/5537cab5: Writing error file - /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/5537cab5/vecadd_gnu_exclude.err -vecadd_gnu_exclude/20479852: Writing error file - /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/20479852/vecadd_gnu_exclude.err -In this iteration we are going to run the following tests: [vecadd_gnu_exclude/20479852, vecadd_gnu_exclude/5537cab5] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +vecadd_gnu_exclude/831b2196 does not have any dependencies adding test to queue +vecadd_gnu_exclude/b8a8a787 does not have any dependencies adding test to queue +vecadd_gnu_exclude/831b2196: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/831b2196/stage +vecadd_gnu_exclude/b8a8a787: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/b8a8a787/stage +vecadd_gnu_exclude/b8a8a787: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_exclude_build.sh +vecadd_gnu_exclude/831b2196: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_exclude_build.sh +vecadd_gnu_exclude/b8a8a787: Test completed in 0.090026 seconds +vecadd_gnu_exclude/b8a8a787: Test completed with returncode: 0 +vecadd_gnu_exclude/b8a8a787: Writing output file - /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/b8a8a787/vecadd_gnu_exclude.out +vecadd_gnu_exclude/b8a8a787: Writing error file - /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/b8a8a787/vecadd_gnu_exclude.err +vecadd_gnu_exclude/831b2196: Test completed in 0.094865 seconds +vecadd_gnu_exclude/831b2196: Test completed with returncode: 0 +vecadd_gnu_exclude/831b2196: Writing output file - /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/831b2196/vecadd_gnu_exclude.out +vecadd_gnu_exclude/831b2196: Writing error file - /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/831b2196/vecadd_gnu_exclude.err +In this iteration we are going to run the following tests: [vecadd_gnu_exclude/831b2196, vecadd_gnu_exclude/b8a8a787] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ vecadd_gnu_exclude/5537cab5 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.132073 │ +│ vecadd_gnu_exclude/831b2196 │ generic.local.bash │ PASS │ None None None │ 0 │ 0.094865 │ ├─────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ vecadd_gnu_exclude/20479852 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.136859 │ +│ vecadd_gnu_exclude/b8a8a787 │ generic.local.bash │ PASS │ None None None │ 0 │ 0.090026 │ └─────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -82,4 +82,4 @@ Failed Tests: 0/2 Percentage: 0.000% Adding 2 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_hkz1se5t.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_680om0wb.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/compiler_status_regex.txt b/docs/buildtest_tutorial_examples/compilers/build/compiler_status_regex.txt index 3d395fa34..680bf0691 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/compiler_status_regex.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/compiler_status_regex.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/compiler_status_regex.yml -╭───────────────────────────────────────────────────────── buildtest summary ─────────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:36 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ -│ │ -╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭───────────────────────────────────────────────────────── buildtest summary ─────────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:47:58 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ +│ │ +╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔════════════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/compiler_status_re Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/compiler_status_regex.yml: VALID @@ -36,112 +36,109 @@ Total builder objects created: 6 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ default_status_returncode/d5456f3e │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ status check based on returncode │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ +│ default_status_returncode/c2065b52 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ status check based on returncode │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ ├────────────────────────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼───────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────┤ -│ default_status_returncode/8ff27ea6 │ compiler │ generic.local.bash │ gcc_6.5.0 │ None │ None │ status check based on returncode │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ +│ default_status_returncode/8571159a │ compiler │ generic.local.bash │ gcc_6.5.0 │ None │ None │ status check based on returncode │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ ├────────────────────────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼───────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────┤ -│ default_status_returncode/13cd7d68 │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ status check based on returncode │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ +│ default_status_returncode/29ba819d │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ status check based on returncode │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ ├────────────────────────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼───────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────┤ -│ override_status_regex/6e430300 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ override 'status' property in compiler gcc_8.3.0 instance │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ +│ override_status_regex/bf116c56 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ override 'status' property in compiler gcc_8.3.0 instance │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ ├────────────────────────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼───────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────┤ -│ override_status_regex/23d3b199 │ compiler │ generic.local.bash │ gcc_6.5.0 │ None │ None │ override 'status' property in compiler gcc_8.3.0 instance │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ +│ override_status_regex/1729a47c │ compiler │ generic.local.bash │ gcc_6.5.0 │ None │ None │ override 'status' property in compiler gcc_8.3.0 instance │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ ├────────────────────────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼───────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────┤ -│ override_status_regex/3fab18b2 │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ override 'status' property in compiler gcc_8.3.0 instance │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ +│ override_status_regex/0f00848c │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ override 'status' property in compiler gcc_8.3.0 instance │ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ └────────────────────────────────────┴──────────┴────────────────────┴───────────┴───────┴───────┴───────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -default_status_returncode/d5456f3e: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/d5456f3e -default_status_returncode/d5456f3e: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/d5456f3e/stage -default_status_returncode/d5456f3e: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/d5456f3e/default_status_returncode_build.sh -default_status_returncode/8ff27ea6: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8ff27ea6 -default_status_returncode/8ff27ea6: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8ff27ea6/stage -default_status_returncode/8ff27ea6: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8ff27ea6/default_status_returncode_build.sh -default_status_returncode/13cd7d68: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/13cd7d68 -default_status_returncode/13cd7d68: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/13cd7d68/stage -default_status_returncode/13cd7d68: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/13cd7d68/default_status_returncode_build.sh -override_status_regex/6e430300: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300 -override_status_regex/6e430300: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300/stage -override_status_regex/6e430300: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300/override_status_regex_build.sh -override_status_regex/23d3b199: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199 -override_status_regex/23d3b199: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199/stage -override_status_regex/23d3b199: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199/override_status_regex_build.sh -override_status_regex/3fab18b2: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2 -override_status_regex/3fab18b2: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/stage -override_status_regex/3fab18b2: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/override_status_regex_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +default_status_returncode/c2065b52: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/c2065b52 +default_status_returncode/c2065b52: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/c2065b52/stage +default_status_returncode/c2065b52: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/c2065b52/default_status_returncode_build.sh +default_status_returncode/8571159a: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8571159a +default_status_returncode/8571159a: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8571159a/stage +default_status_returncode/8571159a: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8571159a/default_status_returncode_build.sh +default_status_returncode/29ba819d: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/29ba819d +default_status_returncode/29ba819d: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/29ba819d/stage +default_status_returncode/29ba819d: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/29ba819d/default_status_returncode_build.sh +override_status_regex/bf116c56: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56 +override_status_regex/bf116c56: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56/stage +override_status_regex/bf116c56: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56/override_status_regex_build.sh +override_status_regex/1729a47c: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c +override_status_regex/1729a47c: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c/stage +override_status_regex/1729a47c: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c/override_status_regex_build.sh +override_status_regex/0f00848c: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c +override_status_regex/0f00848c: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/stage +override_status_regex/0f00848c: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/override_status_regex_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -override_status_regex/6e430300 does not have any dependencies adding test to queue -default_status_returncode/8ff27ea6 does not have any dependencies adding test to queue -override_status_regex/3fab18b2 does not have any dependencies adding test to queue -override_status_regex/23d3b199 does not have any dependencies adding test to queue -default_status_returncode/13cd7d68 does not have any dependencies adding test to queue -default_status_returncode/d5456f3e does not have any dependencies adding test to queue -override_status_regex/6e430300: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300/stage -default_status_returncode/8ff27ea6: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8ff27ea6/stage -override_status_regex/3fab18b2: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/stage -override_status_regex/23d3b199: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199/stage -default_status_returncode/8ff27ea6: Running Test via command: bash --norc --noprofile -eo pipefail default_status_returncode_build.sh -override_status_regex/23d3b199: Running Test via command: bash --norc --noprofile -eo pipefail override_status_regex_build.sh -override_status_regex/6e430300: Running Test via command: bash --norc --noprofile -eo pipefail override_status_regex_build.sh -override_status_regex/3fab18b2: Running Test via command: bash --norc --noprofile -eo pipefail override_status_regex_build.sh -override_status_regex/6e430300: Test completed in 0.126933 seconds -override_status_regex/6e430300: Test completed with returncode: 0 -override_status_regex/6e430300: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300/override_status_regex.out -override_status_regex/6e430300: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300/override_status_regex.err -override_status_regex/6e430300: Checking returncode - 0 is matched in list [1] -default_status_returncode/13cd7d68: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/13cd7d68/stage -default_status_returncode/13cd7d68: Running Test via command: bash --norc --noprofile -eo pipefail default_status_returncode_build.sh -override_status_regex/23d3b199: Test completed in 0.159414 seconds -default_status_returncode/8ff27ea6: Test completed in 0.161142 seconds -override_status_regex/23d3b199: Test completed with returncode: 0 -default_status_returncode/8ff27ea6: Test completed with returncode: 0 -override_status_regex/23d3b199: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199/override_status_regex.out -override_status_regex/23d3b199: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199/override_status_regex.err -default_status_returncode/8ff27ea6: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8ff27ea6/default_status_returncode.out -default_status_returncode/8ff27ea6: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8ff27ea6/default_status_returncode.err -override_status_regex/23d3b199: Checking returncode - 0 is matched in list [1] -default_status_returncode/8ff27ea6: Checking returncode - 0 is matched in list [0] -default_status_returncode/d5456f3e: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/d5456f3e/stage -default_status_returncode/d5456f3e: Running Test via command: bash --norc --noprofile -eo pipefail default_status_returncode_build.sh -override_status_regex/3fab18b2: Test completed in 0.183776 seconds -override_status_regex/3fab18b2: Test completed with returncode: 0 -override_status_regex/3fab18b2: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/override_status_regex.out -override_status_regex/3fab18b2: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/override_status_regex.err -override_status_regex/3fab18b2: performing regular expression - '^final result: 0.99$' on file: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/override_status_regex.out -override_status_regex/3fab18b2: Regular Expression Match - Failed! -default_status_returncode/d5456f3e: Test completed in 0.099493 seconds -default_status_returncode/d5456f3e: Test completed with returncode: 0 -default_status_returncode/d5456f3e: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/d5456f3e/default_status_returncode.out -default_status_returncode/d5456f3e: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/d5456f3e/default_status_returncode.err -default_status_returncode/13cd7d68: Test completed in 0.1432 seconds -default_status_returncode/d5456f3e: Checking returncode - 0 is matched in list [0] -default_status_returncode/13cd7d68: Test completed with returncode: 0 -default_status_returncode/13cd7d68: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/13cd7d68/default_status_returncode.out -default_status_returncode/13cd7d68: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/13cd7d68/default_status_returncode.err -default_status_returncode/13cd7d68: Checking returncode - 0 is matched in list [0] -In this iteration we are going to run the following tests: [override_status_regex/6e430300, default_status_returncode/8ff27ea6, override_status_regex/3fab18b2, override_status_regex/23d3b199, default_status_returncode/13cd7d68, default_status_returncode/d5456f3e] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +default_status_returncode/8571159a does not have any dependencies adding test to queue +default_status_returncode/c2065b52 does not have any dependencies adding test to queue +default_status_returncode/29ba819d does not have any dependencies adding test to queue +override_status_regex/bf116c56 does not have any dependencies adding test to queue +override_status_regex/0f00848c does not have any dependencies adding test to queue +override_status_regex/1729a47c does not have any dependencies adding test to queue +default_status_returncode/8571159a: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8571159a/stage +default_status_returncode/c2065b52: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/c2065b52/stage +default_status_returncode/29ba819d: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/29ba819d/stage +override_status_regex/bf116c56: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56/stage +default_status_returncode/8571159a: Running Test via command: bash --norc --noprofile -eo pipefail default_status_returncode_build.sh +default_status_returncode/29ba819d: Running Test via command: bash --norc --noprofile -eo pipefail default_status_returncode_build.sh +default_status_returncode/c2065b52: Running Test via command: bash --norc --noprofile -eo pipefail default_status_returncode_build.sh +override_status_regex/bf116c56: Running Test via command: bash --norc --noprofile -eo pipefail override_status_regex_build.sh +override_status_regex/bf116c56: Test completed in 0.102039 seconds +override_status_regex/bf116c56: Test completed with returncode: 0 +override_status_regex/bf116c56: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56/override_status_regex.out +override_status_regex/bf116c56: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56/override_status_regex.err +override_status_regex/bf116c56: Checking returncode - 0 is matched in list [1] +default_status_returncode/8571159a: Test completed in 0.119817 seconds +default_status_returncode/8571159a: Test completed with returncode: 0 +default_status_returncode/8571159a: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8571159a/default_status_returncode.out +default_status_returncode/c2065b52: Test completed in 0.114903 seconds +default_status_returncode/8571159a: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/8571159a/default_status_returncode.err +default_status_returncode/29ba819d: Test completed in 0.123274 seconds +override_status_regex/0f00848c: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/stage +default_status_returncode/29ba819d: Test completed with returncode: 0 +default_status_returncode/c2065b52: Test completed with returncode: 0 +default_status_returncode/29ba819d: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/29ba819d/default_status_returncode.out +default_status_returncode/c2065b52: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/c2065b52/default_status_returncode.out +override_status_regex/1729a47c: Current Working Directory : /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c/stage +default_status_returncode/29ba819d: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/29ba819d/default_status_returncode.err +default_status_returncode/c2065b52: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/c2065b52/default_status_returncode.err +override_status_regex/0f00848c: Running Test via command: bash --norc --noprofile -eo pipefail override_status_regex_build.sh +override_status_regex/1729a47c: Running Test via command: bash --norc --noprofile -eo pipefail override_status_regex_build.sh +override_status_regex/0f00848c: Test completed in 0.090674 seconds +override_status_regex/0f00848c: Test completed with returncode: 0 +override_status_regex/0f00848c: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/override_status_regex.out +override_status_regex/0f00848c: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/override_status_regex.err +override_status_regex/1729a47c: Test completed in 0.093167 seconds +override_status_regex/1729a47c: Test completed with returncode: 0 +override_status_regex/1729a47c: Writing output file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c/override_status_regex.out +override_status_regex/0f00848c: performing regular expression - '^final result: 0.99$' on file: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/override_status_regex.out +override_status_regex/1729a47c: Writing error file - /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c/override_status_regex.err +override_status_regex/0f00848c: Regular Expression Match - Failed! +override_status_regex/1729a47c: Checking returncode - 0 is matched in list [1] +In this iteration we are going to run the following tests: [default_status_returncode/8571159a, default_status_returncode/c2065b52, default_status_returncode/29ba819d, override_status_regex/bf116c56, override_status_regex/0f00848c, override_status_regex/1729a47c] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ override_status_regex/3fab18b2 │ generic.local.bash │ FAIL │ False False False │ 0 │ 0.183776 │ +│ override_status_regex/1729a47c │ generic.local.bash │ FAIL │ False None None │ 0 │ 0.093167 │ ├────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ default_status_returncode/8ff27ea6 │ generic.local.bash │ PASS │ True False False │ 0 │ 0.161142 │ +│ default_status_returncode/c2065b52 │ generic.local.bash │ FAIL │ None None None │ 0 │ 0.114903 │ ├────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ override_status_regex/6e430300 │ generic.local.bash │ FAIL │ False False False │ 0 │ 0.126933 │ +│ override_status_regex/bf116c56 │ generic.local.bash │ FAIL │ False None None │ 0 │ 0.102039 │ ├────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ override_status_regex/23d3b199 │ generic.local.bash │ FAIL │ False False False │ 0 │ 0.159414 │ +│ override_status_regex/0f00848c │ generic.local.bash │ FAIL │ None False None │ 0 │ 0.090674 │ ├────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ default_status_returncode/13cd7d68 │ generic.local.bash │ PASS │ True False False │ 0 │ 0.1432 │ +│ default_status_returncode/8571159a │ generic.local.bash │ FAIL │ None None None │ 0 │ 0.119817 │ ├────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ default_status_returncode/d5456f3e │ generic.local.bash │ PASS │ True False False │ 0 │ 0.099493 │ +│ default_status_returncode/29ba819d │ generic.local.bash │ FAIL │ None None None │ 0 │ 0.123274 │ └────────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ -Passed Tests: 3/6 Percentage: 50.000% -Failed Tests: 3/6 Percentage: 50.000% +Passed Tests: 0/6 Percentage: 0.000% +Failed Tests: 6/6 Percentage: 100.000% Adding 6 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_yq_tajje.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_wj396b91.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/custom_run.txt b/docs/buildtest_tutorial_examples/compilers/build/custom_run.txt index f415a7ecb..accb8ba4c 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/custom_run.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/custom_run.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/custom_run.yml -╭─────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:39 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/custom_run.yml │ -│ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭─────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:48:01 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/custom_run.yml │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/custom_run.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/custom_run.yml: VALID @@ -36,42 +36,42 @@ Total builder objects created: 2 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ custom_run_by_compilers/0652c62c │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ Customize binary launch based on compiler │ /home/spack/buildtest/examples/compilers/custom_run.yml │ +│ custom_run_by_compilers/4cb28671 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ Customize binary launch based on compiler │ /home/spack/buildtest/examples/compilers/custom_run.yml │ ├──────────────────────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼───────────────────────────────────────────┼─────────────────────────────────────────────────────────┤ -│ custom_run_by_compilers/00777c4e │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ Customize binary launch based on compiler │ /home/spack/buildtest/examples/compilers/custom_run.yml │ +│ custom_run_by_compilers/569258a7 │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ Customize binary launch based on compiler │ /home/spack/buildtest/examples/compilers/custom_run.yml │ └──────────────────────────────────┴──────────┴────────────────────┴───────────┴───────┴───────┴───────────────────────────────────────────┴─────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -custom_run_by_compilers/0652c62c: Creating test directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c -custom_run_by_compilers/0652c62c: Creating the stage directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/stage -custom_run_by_compilers/0652c62c: Writing build script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/custom_run_by_compilers_build.sh -custom_run_by_compilers/00777c4e: Creating test directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e -custom_run_by_compilers/00777c4e: Creating the stage directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/stage -custom_run_by_compilers/00777c4e: Writing build script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/custom_run_by_compilers_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +custom_run_by_compilers/4cb28671: Creating test directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671 +custom_run_by_compilers/4cb28671: Creating the stage directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/stage +custom_run_by_compilers/4cb28671: Writing build script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/custom_run_by_compilers_build.sh +custom_run_by_compilers/569258a7: Creating test directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7 +custom_run_by_compilers/569258a7: Creating the stage directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/stage +custom_run_by_compilers/569258a7: Writing build script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/custom_run_by_compilers_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -custom_run_by_compilers/00777c4e does not have any dependencies adding test to queue -custom_run_by_compilers/0652c62c does not have any dependencies adding test to queue -custom_run_by_compilers/00777c4e: Current Working Directory : /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/stage -custom_run_by_compilers/0652c62c: Current Working Directory : /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/stage -custom_run_by_compilers/00777c4e: Running Test via command: bash --norc --noprofile -eo pipefail custom_run_by_compilers_build.sh -custom_run_by_compilers/0652c62c: Running Test via command: bash --norc --noprofile -eo pipefail custom_run_by_compilers_build.sh -custom_run_by_compilers/0652c62c: Test completed in 0.070924 seconds -custom_run_by_compilers/0652c62c: Test completed with returncode: 0 -custom_run_by_compilers/0652c62c: Writing output file - /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/custom_run_by_compilers.out -custom_run_by_compilers/0652c62c: Writing error file - /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/custom_run_by_compilers.err -custom_run_by_compilers/00777c4e: Test completed in 0.081841 seconds -custom_run_by_compilers/00777c4e: Test completed with returncode: 0 -custom_run_by_compilers/00777c4e: Writing output file - /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/custom_run_by_compilers.out -custom_run_by_compilers/00777c4e: Writing error file - /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/custom_run_by_compilers.err -In this iteration we are going to run the following tests: [custom_run_by_compilers/00777c4e, custom_run_by_compilers/0652c62c] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +custom_run_by_compilers/4cb28671 does not have any dependencies adding test to queue +custom_run_by_compilers/569258a7 does not have any dependencies adding test to queue +custom_run_by_compilers/4cb28671: Current Working Directory : /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/stage +custom_run_by_compilers/569258a7: Current Working Directory : /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/stage +custom_run_by_compilers/4cb28671: Running Test via command: bash --norc --noprofile -eo pipefail custom_run_by_compilers_build.sh +custom_run_by_compilers/569258a7: Running Test via command: bash --norc --noprofile -eo pipefail custom_run_by_compilers_build.sh +custom_run_by_compilers/4cb28671: Test completed in 0.06254 seconds +custom_run_by_compilers/4cb28671: Test completed with returncode: 0 +custom_run_by_compilers/4cb28671: Writing output file - /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/custom_run_by_compilers.out +custom_run_by_compilers/569258a7: Test completed in 0.064842 seconds +custom_run_by_compilers/4cb28671: Writing error file - /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/custom_run_by_compilers.err +custom_run_by_compilers/569258a7: Test completed with returncode: 0 +custom_run_by_compilers/569258a7: Writing output file - /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/custom_run_by_compilers.out +custom_run_by_compilers/569258a7: Writing error file - /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/custom_run_by_compilers.err +In this iteration we are going to run the following tests: [custom_run_by_compilers/4cb28671, custom_run_by_compilers/569258a7] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ custom_run_by_compilers/00777c4e │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.081841 │ +│ custom_run_by_compilers/4cb28671 │ generic.local.bash │ PASS │ None None None │ 0 │ 0.06254 │ ├──────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ custom_run_by_compilers/0652c62c │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.070924 │ +│ custom_run_by_compilers/569258a7 │ generic.local.bash │ PASS │ None None None │ 0 │ 0.064842 │ └──────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -81,4 +81,4 @@ Failed Tests: 0/2 Percentage: 0.000% Adding 2 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_xmxrzfnb.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_ajtucgia.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/envvar_override.txt b/docs/buildtest_tutorial_examples/compilers/build/envvar_override.txt index 959eb303d..6d01cbcd5 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/envvar_override.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/envvar_override.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/envvar_override.yml -╭────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:34 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/envvar_override.yml │ -│ │ -╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:47:56 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/envvar_override.yml │ +│ │ +╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔══════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/envvar_override.ym Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/envvar_override.yml: VALID @@ -36,42 +36,42 @@ Total builder objects created: 2 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ override_environmentvars/4512576c │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ override default environment variables │ /home/spack/buildtest/examples/compilers/envvar_override.yml │ +│ override_environmentvars/b9231c81 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ override default environment variables │ /home/spack/buildtest/examples/compilers/envvar_override.yml │ ├───────────────────────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼────────────────────────────────────────┼──────────────────────────────────────────────────────────────┤ -│ override_environmentvars/b8b359fa │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ override default environment variables │ /home/spack/buildtest/examples/compilers/envvar_override.yml │ +│ override_environmentvars/8a3cd42a │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ override default environment variables │ /home/spack/buildtest/examples/compilers/envvar_override.yml │ └───────────────────────────────────┴──────────┴────────────────────┴───────────┴───────┴───────┴────────────────────────────────────────┴──────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -override_environmentvars/4512576c: Creating test directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c -override_environmentvars/4512576c: Creating the stage directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c/stage -override_environmentvars/4512576c: Writing build script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c/override_environmentvars_build.sh -override_environmentvars/b8b359fa: Creating test directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa -override_environmentvars/b8b359fa: Creating the stage directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa/stage -override_environmentvars/b8b359fa: Writing build script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa/override_environmentvars_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +override_environmentvars/b9231c81: Creating test directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81 +override_environmentvars/b9231c81: Creating the stage directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81/stage +override_environmentvars/b9231c81: Writing build script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81/override_environmentvars_build.sh +override_environmentvars/8a3cd42a: Creating test directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a +override_environmentvars/8a3cd42a: Creating the stage directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a/stage +override_environmentvars/8a3cd42a: Writing build script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a/override_environmentvars_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -override_environmentvars/b8b359fa does not have any dependencies adding test to queue -override_environmentvars/4512576c does not have any dependencies adding test to queue -override_environmentvars/b8b359fa: Current Working Directory : /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa/stage -override_environmentvars/4512576c: Current Working Directory : /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c/stage -override_environmentvars/b8b359fa: Running Test via command: bash --norc --noprofile -eo pipefail override_environmentvars_build.sh -override_environmentvars/4512576c: Running Test via command: bash --norc --noprofile -eo pipefail override_environmentvars_build.sh -override_environmentvars/4512576c: Test completed in 0.07792 seconds -override_environmentvars/4512576c: Test completed with returncode: 0 -override_environmentvars/4512576c: Writing output file - /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c/override_environmentvars.out -override_environmentvars/4512576c: Writing error file - /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c/override_environmentvars.err -override_environmentvars/b8b359fa: Test completed in 0.102525 seconds -override_environmentvars/b8b359fa: Test completed with returncode: 0 -override_environmentvars/b8b359fa: Writing output file - /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa/override_environmentvars.out -override_environmentvars/b8b359fa: Writing error file - /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa/override_environmentvars.err -In this iteration we are going to run the following tests: [override_environmentvars/b8b359fa, override_environmentvars/4512576c] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +override_environmentvars/8a3cd42a does not have any dependencies adding test to queue +override_environmentvars/b9231c81 does not have any dependencies adding test to queue +override_environmentvars/8a3cd42a: Current Working Directory : /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a/stage +override_environmentvars/b9231c81: Current Working Directory : /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81/stage +override_environmentvars/8a3cd42a: Running Test via command: bash --norc --noprofile -eo pipefail override_environmentvars_build.sh +override_environmentvars/b9231c81: Running Test via command: bash --norc --noprofile -eo pipefail override_environmentvars_build.sh +override_environmentvars/b9231c81: Test completed in 0.066649 seconds +override_environmentvars/b9231c81: Test completed with returncode: 0 +override_environmentvars/b9231c81: Writing output file - /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81/override_environmentvars.out +override_environmentvars/8a3cd42a: Test completed in 0.070743 seconds +override_environmentvars/8a3cd42a: Test completed with returncode: 0 +override_environmentvars/b9231c81: Writing error file - /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81/override_environmentvars.err +override_environmentvars/8a3cd42a: Writing output file - /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a/override_environmentvars.out +override_environmentvars/8a3cd42a: Writing error file - /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a/override_environmentvars.err +In this iteration we are going to run the following tests: [override_environmentvars/8a3cd42a, override_environmentvars/b9231c81] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ override_environmentvars/4512576c │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.07792 │ +│ override_environmentvars/b9231c81 │ generic.local.bash │ PASS │ None None None │ 0 │ 0.066649 │ ├───────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ override_environmentvars/b8b359fa │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.102525 │ +│ override_environmentvars/8a3cd42a │ generic.local.bash │ PASS │ None None None │ 0 │ 0.070743 │ └───────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -81,4 +81,4 @@ Failed Tests: 0/2 Percentage: 0.000% Adding 2 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_v6igvzj9.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_tmgr3xnu.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/gnu_hello_c.txt b/docs/buildtest_tutorial_examples/compilers/build/gnu_hello_c.txt index 209a770f5..eb11b6874 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/gnu_hello_c.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/gnu_hello_c.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/gnu_hello_c.yml -╭──────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:27 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ -│ │ -╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭──────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:47:52 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ +│ │ +╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔══════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/gnu_hello_c.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/gnu_hello_c.yml: VALID @@ -36,56 +36,56 @@ Total builder objects created: 3 ┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ hello_c/df93067a │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ Hello World C Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ +│ hello_c/51f8839c │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ Hello World C Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ ├──────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼───────────────────────────┼──────────────────────────────────────────────────────────┤ -│ hello_c/162f122f │ compiler │ generic.local.bash │ gcc_6.5.0 │ None │ None │ Hello World C Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ +│ hello_c/a40def68 │ compiler │ generic.local.bash │ gcc_6.5.0 │ None │ None │ Hello World C Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ ├──────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼───────────────────────────┼──────────────────────────────────────────────────────────┤ -│ hello_c/5121e6ef │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ Hello World C Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ +│ hello_c/d2efbeff │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ Hello World C Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ └──────────────────┴──────────┴────────────────────┴───────────┴───────┴───────┴───────────────────────────┴──────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -hello_c/df93067a: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a -hello_c/df93067a: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a/stage -hello_c/df93067a: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a/hello_c_build.sh -hello_c/162f122f: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f -hello_c/162f122f: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f/stage -hello_c/162f122f: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f/hello_c_build.sh -hello_c/5121e6ef: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef -hello_c/5121e6ef: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef/stage -hello_c/5121e6ef: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef/hello_c_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +hello_c/51f8839c: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c +hello_c/51f8839c: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c/stage +hello_c/51f8839c: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c/hello_c_build.sh +hello_c/a40def68: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68 +hello_c/a40def68: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68/stage +hello_c/a40def68: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68/hello_c_build.sh +hello_c/d2efbeff: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff +hello_c/d2efbeff: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff/stage +hello_c/d2efbeff: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff/hello_c_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -hello_c/df93067a does not have any dependencies adding test to queue -hello_c/162f122f does not have any dependencies adding test to queue -hello_c/5121e6ef does not have any dependencies adding test to queue -hello_c/df93067a: Current Working Directory : /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a/stage -hello_c/5121e6ef: Current Working Directory : /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef/stage -hello_c/162f122f: Current Working Directory : /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f/stage -hello_c/df93067a: Running Test via command: bash --norc --noprofile -eo pipefail hello_c_build.sh -hello_c/5121e6ef: Running Test via command: bash --norc --noprofile -eo pipefail hello_c_build.sh -hello_c/162f122f: Running Test via command: bash --norc --noprofile -eo pipefail hello_c_build.sh -hello_c/df93067a: Test completed in 0.078018 seconds -hello_c/df93067a: Test completed with returncode: 0 -hello_c/df93067a: Writing output file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a/hello_c.out -hello_c/df93067a: Writing error file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a/hello_c.err -hello_c/5121e6ef: Test completed in 0.086328 seconds -hello_c/5121e6ef: Test completed with returncode: 0 -hello_c/5121e6ef: Writing output file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef/hello_c.out -hello_c/5121e6ef: Writing error file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef/hello_c.err -hello_c/162f122f: Test completed in 0.102578 seconds -hello_c/162f122f: Test completed with returncode: 0 -hello_c/162f122f: Writing output file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f/hello_c.out -hello_c/162f122f: Writing error file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f/hello_c.err -In this iteration we are going to run the following tests: [hello_c/df93067a, hello_c/162f122f, hello_c/5121e6ef] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +hello_c/a40def68 does not have any dependencies adding test to queue +hello_c/d2efbeff does not have any dependencies adding test to queue +hello_c/51f8839c does not have any dependencies adding test to queue +hello_c/a40def68: Current Working Directory : /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68/stage +hello_c/d2efbeff: Current Working Directory : /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff/stage +hello_c/51f8839c: Current Working Directory : /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c/stage +hello_c/d2efbeff: Running Test via command: bash --norc --noprofile -eo pipefail hello_c_build.sh +hello_c/a40def68: Running Test via command: bash --norc --noprofile -eo pipefail hello_c_build.sh +hello_c/51f8839c: Running Test via command: bash --norc --noprofile -eo pipefail hello_c_build.sh +hello_c/51f8839c: Test completed in 0.071433 seconds +hello_c/51f8839c: Test completed with returncode: 0 +hello_c/51f8839c: Writing output file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c/hello_c.out +hello_c/a40def68: Test completed in 0.077856 seconds +hello_c/d2efbeff: Test completed in 0.076189 seconds +hello_c/51f8839c: Writing error file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c/hello_c.err +hello_c/a40def68: Test completed with returncode: 0 +hello_c/d2efbeff: Test completed with returncode: 0 +hello_c/a40def68: Writing output file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68/hello_c.out +hello_c/d2efbeff: Writing output file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff/hello_c.out +hello_c/a40def68: Writing error file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68/hello_c.err +hello_c/d2efbeff: Writing error file - /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff/hello_c.err +In this iteration we are going to run the following tests: [hello_c/a40def68, hello_c/d2efbeff, hello_c/51f8839c] Test Summary ┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ hello_c/162f122f │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.102578 │ +│ hello_c/51f8839c │ generic.local.bash │ PASS │ None None None │ 0 │ 0.071433 │ ├──────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ hello_c/df93067a │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.078018 │ +│ hello_c/d2efbeff │ generic.local.bash │ PASS │ None None None │ 0 │ 0.076189 │ ├──────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ hello_c/5121e6ef │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.086328 │ +│ hello_c/a40def68 │ generic.local.bash │ PASS │ None None None │ 0 │ 0.077856 │ └──────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -95,4 +95,4 @@ Failed Tests: 0/3 Percentage: 0.000% Adding 3 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_pr60nsgz.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_mq2kmruk.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/gnu_hello_fortran.txt b/docs/buildtest_tutorial_examples/compilers/build/gnu_hello_fortran.txt index 173668405..9800319bc 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/gnu_hello_fortran.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/gnu_hello_fortran.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/gnu_hello_fortran.yml -╭─────────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:23 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/gnu_hello_fortran.yml │ -│ │ -╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭─────────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:47:48 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/gnu_hello_fortran.yml │ +│ │ +╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔════════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/gnu_hello_fortran. Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/gnu_hello_fortran.yml: VALID @@ -36,28 +36,28 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ hello_f/f030b521 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ Hello World Fortran Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_fortran.yml │ +│ hello_f/600c36b4 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ Hello World Fortran Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_fortran.yml │ └──────────────────┴──────────┴────────────────────┴───────────┴───────┴───────┴─────────────────────────────────┴────────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -hello_f/f030b521: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521 -hello_f/f030b521: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521/stage -hello_f/f030b521: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521/hello_f_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +hello_f/600c36b4: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4 +hello_f/600c36b4: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4/stage +hello_f/600c36b4: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4/hello_f_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -hello_f/f030b521 does not have any dependencies adding test to queue -hello_f/f030b521: Current Working Directory : /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521/stage -hello_f/f030b521: Running Test via command: bash --norc --noprofile -eo pipefail hello_f_build.sh -hello_f/f030b521: Test completed in 0.148772 seconds -hello_f/f030b521: Test completed with returncode: 0 -hello_f/f030b521: Writing output file - /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521/hello_f.out -hello_f/f030b521: Writing error file - /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521/hello_f.err -In this iteration we are going to run the following tests: [hello_f/f030b521] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +hello_f/600c36b4 does not have any dependencies adding test to queue +hello_f/600c36b4: Current Working Directory : /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4/stage +hello_f/600c36b4: Running Test via command: bash --norc --noprofile -eo pipefail hello_f_build.sh +hello_f/600c36b4: Test completed in 0.145381 seconds +hello_f/600c36b4: Test completed with returncode: 0 +hello_f/600c36b4: Writing output file - /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4/hello_f.out +hello_f/600c36b4: Writing error file - /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4/hello_f.err +In this iteration we are going to run the following tests: [hello_f/600c36b4] Test Summary ┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ hello_f/f030b521 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.148772 │ +│ hello_f/600c36b4 │ generic.local.bash │ PASS │ None None None │ 0 │ 0.145381 │ └──────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_kpk33jcz.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_j74m3d1x.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/openmp_hello.txt b/docs/buildtest_tutorial_examples/compilers/build/openmp_hello.txt index bb6098868..68e60e6c5 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/openmp_hello.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/openmp_hello.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/openmp_hello.yml -╭──────────────────────────────────────────────────── buildtest summary ─────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:32 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/openmp_hello.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭──────────────────────────────────────────────────── buildtest summary ─────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:47:55 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/openmp_hello.yml │ +│ │ +╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═══════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/openmp_hello.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/openmp_hello.yml: VALID @@ -36,29 +36,29 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ openmp_hello_c_example/559c9f80 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ OpenMP Hello World C example │ /home/spack/buildtest/examples/compilers/openmp_hello.yml │ +│ openmp_hello_c_example/acf167ec │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ OpenMP Hello World C example │ /home/spack/buildtest/examples/compilers/openmp_hello.yml │ └─────────────────────────────────┴──────────┴────────────────────┴───────────┴───────┴───────┴──────────────────────────────┴───────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -openmp_hello_c_example/559c9f80: Creating test directory: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80 -openmp_hello_c_example/559c9f80: Creating the stage directory: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80/stage -openmp_hello_c_example/559c9f80: Writing build script: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80/openmp_hello_c_example_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +openmp_hello_c_example/acf167ec: Creating test directory: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec +openmp_hello_c_example/acf167ec: Creating the stage directory: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec/stage +openmp_hello_c_example/acf167ec: Writing build script: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec/openmp_hello_c_example_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -openmp_hello_c_example/559c9f80 does not have any dependencies adding test to queue -openmp_hello_c_example/559c9f80: Current Working Directory : /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80/stage -openmp_hello_c_example/559c9f80: Running Test via command: bash --norc --noprofile -eo pipefail openmp_hello_c_example_build.sh -openmp_hello_c_example/559c9f80: Test completed in 0.231787 seconds -openmp_hello_c_example/559c9f80: Test completed with returncode: 0 -openmp_hello_c_example/559c9f80: Writing output file - /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80/openmp_hello_c_example.out -openmp_hello_c_example/559c9f80: Writing error file - /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80/openmp_hello_c_example.err -In this iteration we are going to run the following tests: [openmp_hello_c_example/559c9f80] - Test Summary -┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ -┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ openmp_hello_c_example/559c9f80 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.231787 │ -└─────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +openmp_hello_c_example/acf167ec does not have any dependencies adding test to queue +openmp_hello_c_example/acf167ec: Current Working Directory : /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec/stage +openmp_hello_c_example/acf167ec: Running Test via command: bash --norc --noprofile -eo pipefail openmp_hello_c_example_build.sh +openmp_hello_c_example/acf167ec: Test completed in 0.06204 seconds +openmp_hello_c_example/acf167ec: Test completed with returncode: 0 +openmp_hello_c_example/acf167ec: Writing output file - /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec/openmp_hello_c_example.out +openmp_hello_c_example/acf167ec: Writing error file - /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec/openmp_hello_c_example.err +In this iteration we are going to run the following tests: [openmp_hello_c_example/acf167ec] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓ +┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩ +│ openmp_hello_c_example/acf167ec │ generic.local.bash │ PASS │ None None None │ 0 │ 0.06204 │ +└─────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴─────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_hscajvbf.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_8_zgkyx0.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/pre_post_build_run.txt b/docs/buildtest_tutorial_examples/compilers/build/pre_post_build_run.txt index c90eb0474..b3fcb3f36 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/pre_post_build_run.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/pre_post_build_run.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/pre_post_build_run.yml -╭─────────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:42 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/pre_post_build_run.yml │ -│ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭─────────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:48:03 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/pre_post_build_run.yml │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═════════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/pre_post_build_run Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/pre_post_build_run.yml: VALID @@ -36,28 +36,28 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ pre_post_build_run/aee93675 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ example using pre_build, post_build, pre_run, post_run example │ /home/spack/buildtest/examples/compilers/pre_post_build_run.yml │ +│ pre_post_build_run/52b3e3cd │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ example using pre_build, post_build, pre_run, post_run example │ /home/spack/buildtest/examples/compilers/pre_post_build_run.yml │ └─────────────────────────────┴──────────┴────────────────────┴───────────┴───────┴───────┴────────────────────────────────────────────────────────────────┴─────────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -pre_post_build_run/aee93675: Creating test directory: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675 -pre_post_build_run/aee93675: Creating the stage directory: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675/stage -pre_post_build_run/aee93675: Writing build script: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675/pre_post_build_run_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +pre_post_build_run/52b3e3cd: Creating test directory: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd +pre_post_build_run/52b3e3cd: Creating the stage directory: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd/stage +pre_post_build_run/52b3e3cd: Writing build script: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd/pre_post_build_run_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -pre_post_build_run/aee93675 does not have any dependencies adding test to queue -pre_post_build_run/aee93675: Current Working Directory : /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675/stage -pre_post_build_run/aee93675: Running Test via command: bash --norc --noprofile -eo pipefail pre_post_build_run_build.sh -pre_post_build_run/aee93675: Test completed in 0.060811 seconds -pre_post_build_run/aee93675: Test completed with returncode: 0 -pre_post_build_run/aee93675: Writing output file - /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675/pre_post_build_run.out -pre_post_build_run/aee93675: Writing error file - /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675/pre_post_build_run.err -In this iteration we are going to run the following tests: [pre_post_build_run/aee93675] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +pre_post_build_run/52b3e3cd does not have any dependencies adding test to queue +pre_post_build_run/52b3e3cd: Current Working Directory : /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd/stage +pre_post_build_run/52b3e3cd: Running Test via command: bash --norc --noprofile -eo pipefail pre_post_build_run_build.sh +pre_post_build_run/52b3e3cd: Test completed in 0.062408 seconds +pre_post_build_run/52b3e3cd: Test completed with returncode: 0 +pre_post_build_run/52b3e3cd: Writing output file - /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd/pre_post_build_run.out +pre_post_build_run/52b3e3cd: Writing error file - /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd/pre_post_build_run.err +In this iteration we are going to run the following tests: [pre_post_build_run/52b3e3cd] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ pre_post_build_run/aee93675 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.060811 │ +│ pre_post_build_run/52b3e3cd │ generic.local.bash │ PASS │ None None None │ 0 │ 0.062408 │ └─────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_0_8ztrgm.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_01ojvnxz.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/stream_example.txt b/docs/buildtest_tutorial_examples/compilers/build/stream_example.txt index 1ff7b3b30..0cbd2d66b 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/stream_example.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/stream_example.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/stream_example.yml -╭───────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:44 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/stream_example.yml │ -│ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭───────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:48:04 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/stream_example.yml │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/stream_example.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/stream_example.yml: VALID @@ -36,56 +36,56 @@ Total builder objects created: 3 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ stream_openmp_c/82e362e5 │ script │ generic.local.bash │ gcc_7.5.0 │ None │ None │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example.yml │ +│ stream_openmp_c/a6109a55 │ script │ generic.local.bash │ gcc_7.5.0 │ None │ None │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example.yml │ ├──────────────────────────┼────────┼────────────────────┼───────────┼───────┼───────┼──────────────────────────────────────────┼─────────────────────────────────────────────────────────────┤ -│ stream_openmp_c/8f8b6c26 │ script │ generic.local.bash │ gcc_6.5.0 │ None │ None │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example.yml │ +│ stream_openmp_c/e34e58ec │ script │ generic.local.bash │ gcc_6.5.0 │ None │ None │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example.yml │ ├──────────────────────────┼────────┼────────────────────┼───────────┼───────┼───────┼──────────────────────────────────────────┼─────────────────────────────────────────────────────────────┤ -│ stream_openmp_c/5789baf6 │ script │ generic.local.bash │ gcc_8.3.0 │ None │ None │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example.yml │ +│ stream_openmp_c/91a2d4f4 │ script │ generic.local.bash │ gcc_8.3.0 │ None │ None │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example.yml │ └──────────────────────────┴────────┴────────────────────┴───────────┴───────┴───────┴──────────────────────────────────────────┴─────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -stream_openmp_c/82e362e5: Creating test directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5 -stream_openmp_c/82e362e5: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5/stage -stream_openmp_c/82e362e5: Writing build script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5/stream_openmp_c_build.sh -stream_openmp_c/8f8b6c26: Creating test directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26 -stream_openmp_c/8f8b6c26: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26/stage -stream_openmp_c/8f8b6c26: Writing build script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26/stream_openmp_c_build.sh -stream_openmp_c/5789baf6: Creating test directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6 -stream_openmp_c/5789baf6: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6/stage -stream_openmp_c/5789baf6: Writing build script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6/stream_openmp_c_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +stream_openmp_c/a6109a55: Creating test directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55 +stream_openmp_c/a6109a55: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55/stage +stream_openmp_c/a6109a55: Writing build script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55/stream_openmp_c_build.sh +stream_openmp_c/e34e58ec: Creating test directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec +stream_openmp_c/e34e58ec: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec/stage +stream_openmp_c/e34e58ec: Writing build script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec/stream_openmp_c_build.sh +stream_openmp_c/91a2d4f4: Creating test directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4 +stream_openmp_c/91a2d4f4: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4/stage +stream_openmp_c/91a2d4f4: Writing build script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4/stream_openmp_c_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -stream_openmp_c/82e362e5 does not have any dependencies adding test to queue -stream_openmp_c/5789baf6 does not have any dependencies adding test to queue -stream_openmp_c/8f8b6c26 does not have any dependencies adding test to queue -stream_openmp_c/82e362e5: Current Working Directory : /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5/stage -stream_openmp_c/5789baf6: Current Working Directory : /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6/stage -stream_openmp_c/8f8b6c26: Current Working Directory : /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26/stage -stream_openmp_c/82e362e5: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -stream_openmp_c/5789baf6: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -stream_openmp_c/8f8b6c26: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -stream_openmp_c/8f8b6c26: Test completed in 2.243298 seconds -stream_openmp_c/8f8b6c26: Test completed with returncode: 0 -stream_openmp_c/8f8b6c26: Writing output file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26/stream_openmp_c.out -stream_openmp_c/8f8b6c26: Writing error file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26/stream_openmp_c.err -stream_openmp_c/82e362e5: Test completed in 3.072662 seconds -stream_openmp_c/82e362e5: Test completed with returncode: 0 -stream_openmp_c/82e362e5: Writing output file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5/stream_openmp_c.out -stream_openmp_c/82e362e5: Writing error file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5/stream_openmp_c.err -stream_openmp_c/5789baf6: Test completed in 3.08798 seconds -stream_openmp_c/5789baf6: Test completed with returncode: 0 -stream_openmp_c/5789baf6: Writing output file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6/stream_openmp_c.out -stream_openmp_c/5789baf6: Writing error file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6/stream_openmp_c.err -In this iteration we are going to run the following tests: [stream_openmp_c/82e362e5, stream_openmp_c/5789baf6, stream_openmp_c/8f8b6c26] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +stream_openmp_c/a6109a55 does not have any dependencies adding test to queue +stream_openmp_c/91a2d4f4 does not have any dependencies adding test to queue +stream_openmp_c/e34e58ec does not have any dependencies adding test to queue +stream_openmp_c/a6109a55: Current Working Directory : /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55/stage +stream_openmp_c/91a2d4f4: Current Working Directory : /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4/stage +stream_openmp_c/e34e58ec: Current Working Directory : /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec/stage +stream_openmp_c/91a2d4f4: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh +stream_openmp_c/a6109a55: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh +stream_openmp_c/e34e58ec: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh +stream_openmp_c/91a2d4f4: Test completed in 3.733477 seconds +stream_openmp_c/91a2d4f4: Test completed with returncode: 0 +stream_openmp_c/e34e58ec: Test completed in 3.73544 seconds +stream_openmp_c/91a2d4f4: Writing output file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4/stream_openmp_c.out +stream_openmp_c/e34e58ec: Test completed with returncode: 0 +stream_openmp_c/91a2d4f4: Writing error file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4/stream_openmp_c.err +stream_openmp_c/e34e58ec: Writing output file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec/stream_openmp_c.out +stream_openmp_c/a6109a55: Test completed in 3.7425 seconds +stream_openmp_c/e34e58ec: Writing error file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec/stream_openmp_c.err +stream_openmp_c/a6109a55: Test completed with returncode: 0 +stream_openmp_c/a6109a55: Writing output file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55/stream_openmp_c.out +stream_openmp_c/a6109a55: Writing error file - /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55/stream_openmp_c.err +In this iteration we are going to run the following tests: [stream_openmp_c/a6109a55, stream_openmp_c/91a2d4f4, stream_openmp_c/e34e58ec] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ stream_openmp_c/8f8b6c26 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 2.243298 │ +│ stream_openmp_c/a6109a55 │ generic.local.bash │ PASS │ None None None │ 0 │ 3.7425 │ ├──────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ stream_openmp_c/5789baf6 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 3.08798 │ +│ stream_openmp_c/e34e58ec │ generic.local.bash │ PASS │ None None None │ 0 │ 3.73544 │ ├──────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ stream_openmp_c/82e362e5 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 3.072662 │ +│ stream_openmp_c/91a2d4f4 │ generic.local.bash │ PASS │ None None None │ 0 │ 3.733477 │ └──────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -95,4 +95,4 @@ Failed Tests: 0/3 Percentage: 0.000% Adding 3 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_t31d0f7k.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_p9dylkh7.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/stream_example_metrics.txt b/docs/buildtest_tutorial_examples/compilers/build/stream_example_metrics.txt index d2aa8bbaf..d514bac79 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/stream_example_metrics.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/stream_example_metrics.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/stream_example_metrics.yml -╭───────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:49 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/stream_example_metrics.yml │ -│ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭───────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:48:10 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/stream_example_metrics.yml │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═════════════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/stream_example_met Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/stream_example_metrics.yml: VALID @@ -36,28 +36,28 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ stream_openmp_metrics/4831075d │ script │ generic.local.bash │ gcc_7.5.0 │ None │ None │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example_metrics.yml │ +│ stream_openmp_metrics/ecdc83a8 │ script │ generic.local.bash │ gcc_7.5.0 │ None │ None │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example_metrics.yml │ └────────────────────────────────┴────────┴────────────────────┴───────────┴───────┴───────┴──────────────────────────────────────────┴─────────────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -stream_openmp_metrics/4831075d: Creating test directory: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d -stream_openmp_metrics/4831075d: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d/stage -stream_openmp_metrics/4831075d: Writing build script: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d/stream_openmp_metrics_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +stream_openmp_metrics/ecdc83a8: Creating test directory: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8 +stream_openmp_metrics/ecdc83a8: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8/stage +stream_openmp_metrics/ecdc83a8: Writing build script: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8/stream_openmp_metrics_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -stream_openmp_metrics/4831075d does not have any dependencies adding test to queue -stream_openmp_metrics/4831075d: Current Working Directory : /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d/stage -stream_openmp_metrics/4831075d: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_metrics_build.sh -stream_openmp_metrics/4831075d: Test completed in 1.425017 seconds -stream_openmp_metrics/4831075d: Test completed with returncode: 0 -stream_openmp_metrics/4831075d: Writing output file - /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d/stream_openmp_metrics.out -stream_openmp_metrics/4831075d: Writing error file - /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d/stream_openmp_metrics.err -In this iteration we are going to run the following tests: [stream_openmp_metrics/4831075d] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +stream_openmp_metrics/ecdc83a8 does not have any dependencies adding test to queue +stream_openmp_metrics/ecdc83a8: Current Working Directory : /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8/stage +stream_openmp_metrics/ecdc83a8: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_metrics_build.sh +stream_openmp_metrics/ecdc83a8: Test completed in 1.024799 seconds +stream_openmp_metrics/ecdc83a8: Test completed with returncode: 0 +stream_openmp_metrics/ecdc83a8: Writing output file - /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8/stream_openmp_metrics.out +stream_openmp_metrics/ecdc83a8: Writing error file - /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8/stream_openmp_metrics.err +In this iteration we are going to run the following tests: [stream_openmp_metrics/ecdc83a8] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ stream_openmp_metrics/4831075d │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 1.425017 │ +│ stream_openmp_metrics/ecdc83a8 │ generic.local.bash │ PASS │ None None None │ 0 │ 1.024799 │ └────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_ylkfna4p.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_wkwxaqmp.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/vecadd.txt b/docs/buildtest_tutorial_examples/compilers/build/vecadd.txt index a35d45a08..9d84a80c8 100644 --- a/docs/buildtest_tutorial_examples/compilers/build/vecadd.txt +++ b/docs/buildtest_tutorial_examples/compilers/build/vecadd.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/vecadd.yml -╭───────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:26 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/vecadd.yml │ -│ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭───────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:47:51 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/compilers/vecadd.yml │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/compilers/vecadd.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/vecadd.yml: VALID @@ -36,56 +36,56 @@ Total builder objects created: 3 ┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ vecadd_gnu/2c418366 │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ Vector Addition example with GNU compiler │ /home/spack/buildtest/examples/compilers/vecadd.yml │ +│ vecadd_gnu/672eb5ee │ compiler │ generic.local.bash │ gcc_7.5.0 │ None │ None │ Vector Addition example with GNU compiler │ /home/spack/buildtest/examples/compilers/vecadd.yml │ ├─────────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼───────────────────────────────────────────┼─────────────────────────────────────────────────────┤ -│ vecadd_gnu/e9980f08 │ compiler │ generic.local.bash │ gcc_6.5.0 │ None │ None │ Vector Addition example with GNU compiler │ /home/spack/buildtest/examples/compilers/vecadd.yml │ +│ vecadd_gnu/b79a8605 │ compiler │ generic.local.bash │ gcc_6.5.0 │ None │ None │ Vector Addition example with GNU compiler │ /home/spack/buildtest/examples/compilers/vecadd.yml │ ├─────────────────────┼──────────┼────────────────────┼───────────┼───────┼───────┼───────────────────────────────────────────┼─────────────────────────────────────────────────────┤ -│ vecadd_gnu/e53a5a83 │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ Vector Addition example with GNU compiler │ /home/spack/buildtest/examples/compilers/vecadd.yml │ +│ vecadd_gnu/2c0d2722 │ compiler │ generic.local.bash │ gcc_8.3.0 │ None │ None │ Vector Addition example with GNU compiler │ /home/spack/buildtest/examples/compilers/vecadd.yml │ └─────────────────────┴──────────┴────────────────────┴───────────┴───────┴───────┴───────────────────────────────────────────┴─────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -vecadd_gnu/2c418366: Creating test directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c418366 -vecadd_gnu/2c418366: Creating the stage directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c418366/stage -vecadd_gnu/2c418366: Writing build script: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c418366/vecadd_gnu_build.sh -vecadd_gnu/e9980f08: Creating test directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e9980f08 -vecadd_gnu/e9980f08: Creating the stage directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e9980f08/stage -vecadd_gnu/e9980f08: Writing build script: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e9980f08/vecadd_gnu_build.sh -vecadd_gnu/e53a5a83: Creating test directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e53a5a83 -vecadd_gnu/e53a5a83: Creating the stage directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e53a5a83/stage -vecadd_gnu/e53a5a83: Writing build script: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e53a5a83/vecadd_gnu_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +vecadd_gnu/672eb5ee: Creating test directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/672eb5ee +vecadd_gnu/672eb5ee: Creating the stage directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/672eb5ee/stage +vecadd_gnu/672eb5ee: Writing build script: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/672eb5ee/vecadd_gnu_build.sh +vecadd_gnu/b79a8605: Creating test directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/b79a8605 +vecadd_gnu/b79a8605: Creating the stage directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/b79a8605/stage +vecadd_gnu/b79a8605: Writing build script: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/b79a8605/vecadd_gnu_build.sh +vecadd_gnu/2c0d2722: Creating test directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c0d2722 +vecadd_gnu/2c0d2722: Creating the stage directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c0d2722/stage +vecadd_gnu/2c0d2722: Writing build script: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c0d2722/vecadd_gnu_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -vecadd_gnu/e53a5a83 does not have any dependencies adding test to queue -vecadd_gnu/2c418366 does not have any dependencies adding test to queue -vecadd_gnu/e9980f08 does not have any dependencies adding test to queue -vecadd_gnu/e53a5a83: Current Working Directory : /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e53a5a83/stage -vecadd_gnu/2c418366: Current Working Directory : /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c418366/stage -vecadd_gnu/e9980f08: Current Working Directory : /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e9980f08/stage -vecadd_gnu/e53a5a83: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_build.sh -vecadd_gnu/e9980f08: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_build.sh -vecadd_gnu/2c418366: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_build.sh -vecadd_gnu/e9980f08: Test completed in 0.114212 seconds -vecadd_gnu/e9980f08: Test completed with returncode: 0 -vecadd_gnu/e9980f08: Writing output file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e9980f08/vecadd_gnu.out -vecadd_gnu/e9980f08: Writing error file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e9980f08/vecadd_gnu.err -vecadd_gnu/2c418366: Test completed in 0.112464 seconds -vecadd_gnu/e53a5a83: Test completed in 0.121041 seconds -vecadd_gnu/2c418366: Test completed with returncode: 0 -vecadd_gnu/e53a5a83: Test completed with returncode: 0 -vecadd_gnu/2c418366: Writing output file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c418366/vecadd_gnu.out -vecadd_gnu/2c418366: Writing error file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c418366/vecadd_gnu.err -vecadd_gnu/e53a5a83: Writing output file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e53a5a83/vecadd_gnu.out -vecadd_gnu/e53a5a83: Writing error file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/e53a5a83/vecadd_gnu.err -In this iteration we are going to run the following tests: [vecadd_gnu/e53a5a83, vecadd_gnu/2c418366, vecadd_gnu/e9980f08] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +vecadd_gnu/672eb5ee does not have any dependencies adding test to queue +vecadd_gnu/b79a8605 does not have any dependencies adding test to queue +vecadd_gnu/2c0d2722 does not have any dependencies adding test to queue +vecadd_gnu/672eb5ee: Current Working Directory : /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/672eb5ee/stage +vecadd_gnu/b79a8605: Current Working Directory : /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/b79a8605/stage +vecadd_gnu/2c0d2722: Current Working Directory : /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c0d2722/stage +vecadd_gnu/672eb5ee: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_build.sh +vecadd_gnu/b79a8605: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_build.sh +vecadd_gnu/2c0d2722: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_build.sh +vecadd_gnu/2c0d2722: Test completed in 0.107996 seconds +vecadd_gnu/672eb5ee: Test completed in 0.114516 seconds +vecadd_gnu/b79a8605: Test completed in 0.112393 seconds +vecadd_gnu/672eb5ee: Test completed with returncode: 0 +vecadd_gnu/2c0d2722: Test completed with returncode: 0 +vecadd_gnu/672eb5ee: Writing output file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/672eb5ee/vecadd_gnu.out +vecadd_gnu/2c0d2722: Writing output file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c0d2722/vecadd_gnu.out +vecadd_gnu/b79a8605: Test completed with returncode: 0 +vecadd_gnu/672eb5ee: Writing error file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/672eb5ee/vecadd_gnu.err +vecadd_gnu/2c0d2722: Writing error file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2c0d2722/vecadd_gnu.err +vecadd_gnu/b79a8605: Writing output file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/b79a8605/vecadd_gnu.out +vecadd_gnu/b79a8605: Writing error file - /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/b79a8605/vecadd_gnu.err +In this iteration we are going to run the following tests: [vecadd_gnu/672eb5ee, vecadd_gnu/b79a8605, vecadd_gnu/2c0d2722] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ vecadd_gnu/e9980f08 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.114212 │ +│ vecadd_gnu/672eb5ee │ generic.local.bash │ PASS │ None None None │ 0 │ 0.114516 │ ├─────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ vecadd_gnu/e53a5a83 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.121041 │ +│ vecadd_gnu/2c0d2722 │ generic.local.bash │ PASS │ None None None │ 0 │ 0.107996 │ ├─────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ vecadd_gnu/2c418366 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.112464 │ +│ vecadd_gnu/b79a8605 │ generic.local.bash │ PASS │ None None None │ 0 │ 0.112393 │ └─────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -95,4 +95,4 @@ Failed Tests: 0/3 Percentage: 0.000% Adding 3 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_7eyyppn2.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_1hn5mxpy.log diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/compiler_status_regex.txt b/docs/buildtest_tutorial_examples/compilers/inspect/compiler_status_regex.txt index 1cc04b3d2..91019300b 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/compiler_status_regex.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/compiler_status_regex.txt @@ -1,52 +1,52 @@ $ buildtest inspect query -o override_status_regex/ -─────────────────────────────────────────────────────────────────────────────────────── override_status_regex/3fab18b2-55ed-44b2-9f93-784db0aa7212 ──────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────── override_status_regex/1729a47c-6190-4049-a820-491610ae7679 ──────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override 'status' property in compiler gcc_8.3.0 instance State: FAIL Returncode: 0 -Runtime: 0.183776 sec -Starttime: 2023/02/06 21:16:37 -Endtime: 2023/02/06 21:16:37 +Runtime: 0.093167 sec +Starttime: 2023/07/14 18:47:59 +Endtime: 2023/07/14 18:47:59 Command: bash --norc --noprofile -eo pipefail override_status_regex_build.sh -Test Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/override_status_regex.sh -Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/override_status_regex_build.sh -Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/override_status_regex.out -Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/override_status_regex.err -Log File: /home/spack/buildtest/var/logs/buildtest_yq_tajje.log -───────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/3fab18b2/override_status_regex.out ───────────────────────────────────────────────────── -final result: 1.000000 - -─────────────────────────────────────────────────────────────────────────────────────── override_status_regex/23d3b199-0006-4fb1-8079-fe451bce4a8b ──────────────────────────────────────────────────────────────────────────────────────── +Test Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c/override_status_regex.sh +Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c/override_status_regex_build.sh +Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c/override_status_regex.out +Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c/override_status_regex.err +Log File: /home/spack/buildtest/var/logs/buildtest_wj396b91.log +───────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/1729a47c/override_status_regex.out ───────────────────────────────────────────────── +final result: 1.000000 + +─────────────────────────────────────────────────────────────────────────────────── override_status_regex/bf116c56-9731-4a12-b47a-0156d0d1ba7a ──────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override 'status' property in compiler gcc_8.3.0 instance State: FAIL Returncode: 0 -Runtime: 0.159414 sec -Starttime: 2023/02/06 21:16:37 -Endtime: 2023/02/06 21:16:37 +Runtime: 0.102039 sec +Starttime: 2023/07/14 18:47:59 +Endtime: 2023/07/14 18:47:59 Command: bash --norc --noprofile -eo pipefail override_status_regex_build.sh -Test Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199/override_status_regex.sh -Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199/override_status_regex_build.sh -Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199/override_status_regex.out -Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199/override_status_regex.err -Log File: /home/spack/buildtest/var/logs/buildtest_yq_tajje.log -───────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/23d3b199/override_status_regex.out ───────────────────────────────────────────────────── -final result: 1.000000 - -─────────────────────────────────────────────────────────────────────────────────────── override_status_regex/6e430300-cf1d-4985-bb57-c541e46d171b ──────────────────────────────────────────────────────────────────────────────────────── +Test Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56/override_status_regex.sh +Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56/override_status_regex_build.sh +Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56/override_status_regex.out +Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56/override_status_regex.err +Log File: /home/spack/buildtest/var/logs/buildtest_wj396b91.log +───────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/bf116c56/override_status_regex.out ───────────────────────────────────────────────── +final result: 1.000000 + +─────────────────────────────────────────────────────────────────────────────────── override_status_regex/0f00848c-6288-4669-9ee7-4a9d6d909a3c ──────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override 'status' property in compiler gcc_8.3.0 instance State: FAIL Returncode: 0 -Runtime: 0.126933 sec -Starttime: 2023/02/06 21:16:37 -Endtime: 2023/02/06 21:16:37 +Runtime: 0.090674 sec +Starttime: 2023/07/14 18:47:59 +Endtime: 2023/07/14 18:47:59 Command: bash --norc --noprofile -eo pipefail override_status_regex_build.sh -Test Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300/override_status_regex.sh -Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300/override_status_regex_build.sh -Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300/override_status_regex.out -Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300/override_status_regex.err -Log File: /home/spack/buildtest/var/logs/buildtest_yq_tajje.log -───────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/6e430300/override_status_regex.out ───────────────────────────────────────────────────── -final result: 1.000000 - +Test Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/override_status_regex.sh +Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/override_status_regex_build.sh +Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/override_status_regex.out +Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/override_status_regex.err +Log File: /home/spack/buildtest/var/logs/buildtest_wj396b91.log +───────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/0f00848c/override_status_regex.out ───────────────────────────────────────────────── +final result: 1.000000 + diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/custom_run.txt b/docs/buildtest_tutorial_examples/compilers/inspect/custom_run.txt index e3a58ea52..ee8a3ffa0 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/custom_run.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/custom_run.txt @@ -1,87 +1,87 @@ -$ buildtest inspect query -b --testpath custom_run_by_compilers/ -────────────────────────────────────────────────────────────────────────────────────── custom_run_by_compilers/00777c4e-fba1-4dab-b197-972a4111470a ─────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query -b --testpath custom_run_by_compilers/ +────────────────────────────────────────────────────────────────────────────────── custom_run_by_compilers/569258a7-97a4-4beb-b4bc-1859d643bf14 ─────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Customize binary launch based on compiler State: PASS Returncode: 0 -Runtime: 0.081841 sec -Starttime: 2023/02/06 21:16:39 -Endtime: 2023/02/06 21:16:39 +Runtime: 0.064842 sec +Starttime: 2023/07/14 18:48:01 +Endtime: 2023/07/14 18:48:01 Command: bash --norc --noprofile -eo pipefail custom_run_by_compilers_build.sh -Test Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/custom_run_by_compilers.sh -Build Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/custom_run_by_compilers_build.sh -Output File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/custom_run_by_compilers.out -Error File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/custom_run_by_compilers.err -Log File: /home/spack/buildtest/var/logs/buildtest_xmxrzfnb.log -────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/custom_run_by_compilers.sh ────────────────────────────────────────────────────────── -#!/bin/bash - - -# name of executable -_EXEC=argc.c.exe -# Loading modules -module load gcc/8.3.0-gcc-7.5.0 -# Compilation Line -gcc -o $_EXEC /home/spack/buildtest/examples/compilers/src/argc.c - - -# Run executable -./$_EXEC 100 120 - - -─────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/custom_run_by_compilers_build.sh ─────────────────────────────────────────────────────── -#!/bin/bash -export BUILDTEST_TEST_NAME=custom_run_by_compilers -export BUILDTEST_TEST_ROOT=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e -export BUILDTEST_BUILDSPEC_DIR=/home/spack/buildtest/examples/compilers -export BUILDTEST_STAGE_DIR=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/stage -# source executor startup script -source /home/spack/buildtest/var/executor/generic.local.bash/before_script.sh -# Run generated script -/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/00777c4e/stage/custom_run_by_compilers.sh -# Get return code -returncode=$? -# Exit with return code -exit $returncode -────────────────────────────────────────────────────────────────────────────────────── custom_run_by_compilers/0652c62c-3aac-427d-89d8-b8f525119a49 ─────────────────────────────────────────────────────────────────────────────────────── +Test Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/custom_run_by_compilers.sh +Build Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/custom_run_by_compilers_build.sh +Output File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/custom_run_by_compilers.out +Error File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/custom_run_by_compilers.err +Log File: /home/spack/buildtest/var/logs/buildtest_ajtucgia.log +────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/custom_run_by_compilers.sh ────────────────────────────────────────────────────── +#!/bin/bash + + +# name of executable +_EXEC=argc.c.exe +# Loading modules +module load gcc/8.3.0-gcc-7.5.0 +# Compilation Line +gcc -o $_EXEC /home/spack/buildtest/examples/compilers/src/argc.c + + +# Run executable +./$_EXEC 100 120 + + +─────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/custom_run_by_compilers_build.sh ─────────────────────────────────────────────────── +#!/bin/bash +export BUILDTEST_TEST_NAME=custom_run_by_compilers +export BUILDTEST_TEST_ROOT=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7 +export BUILDTEST_BUILDSPEC_DIR=/home/spack/buildtest/examples/compilers +export BUILDTEST_STAGE_DIR=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/stage +# source executor startup script +source /home/spack/buildtest/var/executor/generic.local.bash/before_script.sh +# Run generated script +/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/569258a7/stage/custom_run_by_compilers.sh +# Get return code +returncode=$? +# Exit with return code +exit $returncode +────────────────────────────────────────────────────────────────────────────────── custom_run_by_compilers/4cb28671-4ecf-414a-9f52-5222914e80e3 ─────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Customize binary launch based on compiler State: PASS Returncode: 0 -Runtime: 0.070924 sec -Starttime: 2023/02/06 21:16:39 -Endtime: 2023/02/06 21:16:39 +Runtime: 0.06254 sec +Starttime: 2023/07/14 18:48:01 +Endtime: 2023/07/14 18:48:01 Command: bash --norc --noprofile -eo pipefail custom_run_by_compilers_build.sh -Test Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/custom_run_by_compilers.sh -Build Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/custom_run_by_compilers_build.sh -Output File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/custom_run_by_compilers.out -Error File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/custom_run_by_compilers.err -Log File: /home/spack/buildtest/var/logs/buildtest_xmxrzfnb.log -────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/custom_run_by_compilers.sh ────────────────────────────────────────────────────────── -#!/bin/bash - - -# name of executable -_EXEC=argc.c.exe -# Compilation Line -/usr/bin/gcc -o $_EXEC /home/spack/buildtest/examples/compilers/src/argc.c - - -# Run executable -./$_EXEC 1 3 - - -─────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/custom_run_by_compilers_build.sh ─────────────────────────────────────────────────────── -#!/bin/bash -export BUILDTEST_TEST_NAME=custom_run_by_compilers -export BUILDTEST_TEST_ROOT=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c -export BUILDTEST_BUILDSPEC_DIR=/home/spack/buildtest/examples/compilers -export BUILDTEST_STAGE_DIR=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/stage -# source executor startup script -source /home/spack/buildtest/var/executor/generic.local.bash/before_script.sh -# Run generated script -/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/0652c62c/stage/custom_run_by_compilers.sh -# Get return code -returncode=$? -# Exit with return code -exit $returncode +Test Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/custom_run_by_compilers.sh +Build Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/custom_run_by_compilers_build.sh +Output File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/custom_run_by_compilers.out +Error File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/custom_run_by_compilers.err +Log File: /home/spack/buildtest/var/logs/buildtest_ajtucgia.log +────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/custom_run_by_compilers.sh ────────────────────────────────────────────────────── +#!/bin/bash + + +# name of executable +_EXEC=argc.c.exe +# Compilation Line +/usr/bin/gcc -o $_EXEC /home/spack/buildtest/examples/compilers/src/argc.c + + +# Run executable +./$_EXEC 1 3 + + +─────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/custom_run_by_compilers_build.sh ─────────────────────────────────────────────────── +#!/bin/bash +export BUILDTEST_TEST_NAME=custom_run_by_compilers +export BUILDTEST_TEST_ROOT=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671 +export BUILDTEST_BUILDSPEC_DIR=/home/spack/buildtest/examples/compilers +export BUILDTEST_STAGE_DIR=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/stage +# source executor startup script +source /home/spack/buildtest/var/executor/generic.local.bash/before_script.sh +# Run generated script +/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/4cb28671/stage/custom_run_by_compilers.sh +# Get return code +returncode=$? +# Exit with return code +exit $returncode diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/envvar_override.txt b/docs/buildtest_tutorial_examples/compilers/inspect/envvar_override.txt index 57aeb0411..296e87822 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/envvar_override.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/envvar_override.txt @@ -1,61 +1,61 @@ -$ buildtest inspect query --testpath override_environmentvars/ -────────────────────────────────────────────────────────────────────────────────────── override_environmentvars/4512576c-a862-4156-9e90-7b69e22061ae ────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query --testpath override_environmentvars/ +────────────────────────────────────────────────────────────────────────────────── override_environmentvars/8a3cd42a-89cf-4dd4-ac71-769482ead72c ────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override default environment variables State: PASS Returncode: 0 -Runtime: 0.07792 sec -Starttime: 2023/02/06 21:16:35 -Endtime: 2023/02/06 21:16:35 +Runtime: 0.070743 sec +Starttime: 2023/07/14 18:47:57 +Endtime: 2023/07/14 18:47:57 Command: bash --norc --noprofile -eo pipefail override_environmentvars_build.sh -Test Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c/override_environmentvars.sh -Build Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c/override_environmentvars_build.sh -Output File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c/override_environmentvars.out -Error File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c/override_environmentvars.err -Log File: /home/spack/buildtest/var/logs/buildtest_v6igvzj9.log -────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/4512576c/override_environmentvars.sh ─────────────────────────────────────────────────────── -#!/bin/bash - - -# name of executable -_EXEC=hello_omp.c.exe -export OMP_NUM_THREADS="2" -# Compilation Line -/usr/bin/gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello_omp.c - - -# Run executable -./$_EXEC - - -────────────────────────────────────────────────────────────────────────────────────── override_environmentvars/b8b359fa-573d-45aa-9aa7-a01d07055d7c ────────────────────────────────────────────────────────────────────────────────────── +Test Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a/override_environmentvars.sh +Build Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a/override_environmentvars_build.sh +Output File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a/override_environmentvars.out +Error File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a/override_environmentvars.err +Log File: /home/spack/buildtest/var/logs/buildtest_tmgr3xnu.log +────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8a3cd42a/override_environmentvars.sh ─────────────────────────────────────────────────── +#!/bin/bash + + +# name of executable +_EXEC=hello_omp.c.exe +export OMP_NUM_THREADS="4" +# Loading modules +module load gcc/8.3.0-gcc-7.5.0 +# Compilation Line +gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello_omp.c + + +# Run executable +./$_EXEC + + +────────────────────────────────────────────────────────────────────────────────── override_environmentvars/b9231c81-d763-465e-b253-ab3e5a3cb988 ────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override default environment variables State: PASS Returncode: 0 -Runtime: 0.102525 sec -Starttime: 2023/02/06 21:16:35 -Endtime: 2023/02/06 21:16:35 +Runtime: 0.066649 sec +Starttime: 2023/07/14 18:47:57 +Endtime: 2023/07/14 18:47:57 Command: bash --norc --noprofile -eo pipefail override_environmentvars_build.sh -Test Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa/override_environmentvars.sh -Build Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa/override_environmentvars_build.sh -Output File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa/override_environmentvars.out -Error File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa/override_environmentvars.err -Log File: /home/spack/buildtest/var/logs/buildtest_v6igvzj9.log -────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b8b359fa/override_environmentvars.sh ─────────────────────────────────────────────────────── -#!/bin/bash - - -# name of executable -_EXEC=hello_omp.c.exe -export OMP_NUM_THREADS="4" -# Loading modules -module load gcc/8.3.0-gcc-7.5.0 -# Compilation Line -gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello_omp.c - - -# Run executable -./$_EXEC - - +Test Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81/override_environmentvars.sh +Build Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81/override_environmentvars_build.sh +Output File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81/override_environmentvars.out +Error File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81/override_environmentvars.err +Log File: /home/spack/buildtest/var/logs/buildtest_tmgr3xnu.log +────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/b9231c81/override_environmentvars.sh ─────────────────────────────────────────────────── +#!/bin/bash + + +# name of executable +_EXEC=hello_omp.c.exe +export OMP_NUM_THREADS="2" +# Compilation Line +/usr/bin/gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello_omp.c + + +# Run executable +./$_EXEC + + diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt b/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt index 93c54a91b..58db30b8b 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt @@ -1,89 +1,89 @@ -$ buildtest inspect query --testpath hello_c/ -────────────────────────────────────────────────────────────────────────────────────────────── hello_c/5121e6ef-d112-46b8-bdb0-e8abb348301a ─────────────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query --testpath hello_c/ +────────────────────────────────────────────────────────────────────────────────────────── hello_c/a40def68-aca7-4fde-8ac7-1559bc1f81e6 ─────────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Hello World C Compilation State: PASS Returncode: 0 -Runtime: 0.086328 sec -Starttime: 2023/02/06 21:16:27 -Endtime: 2023/02/06 21:16:28 +Runtime: 0.077856 sec +Starttime: 2023/07/14 18:47:52 +Endtime: 2023/07/14 18:47:52 Command: bash --norc --noprofile -eo pipefail hello_c_build.sh -Test Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef/hello_c.sh -Build Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef/hello_c_build.sh -Output File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef/hello_c.out -Error File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef/hello_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_pr60nsgz.log -───────────────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/5121e6ef/hello_c.sh ────────────────────────────────────────────────────────────────────────── -#!/bin/bash - - -# name of executable -_EXEC=hello.c.exe -# Loading modules -module load gcc/8.3.0-gcc-7.5.0 -# Compilation Line -gcc -O3 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c - - -# Run executable -./$_EXEC - - -────────────────────────────────────────────────────────────────────────────────────────────── hello_c/df93067a-f8d8-4737-952c-e87703ab6712 ─────────────────────────────────────────────────────────────────────────────────────────────── +Test Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68/hello_c.sh +Build Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68/hello_c_build.sh +Output File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68/hello_c.out +Error File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68/hello_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_mq2kmruk.log +───────────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a40def68/hello_c.sh ────────────────────────────────────────────────────────────────────── +#!/bin/bash + + +# name of executable +_EXEC=hello.c.exe +# Loading modules +module load gcc/6.5.0-gcc-7.5.0 +# Compilation Line +gcc -O2 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c + + +# Run executable +./$_EXEC + + +────────────────────────────────────────────────────────────────────────────────────────── hello_c/51f8839c-14dc-4a79-9bf7-d1485f1de1fd ─────────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Hello World C Compilation State: PASS Returncode: 0 -Runtime: 0.078018 sec -Starttime: 2023/02/06 21:16:27 -Endtime: 2023/02/06 21:16:28 +Runtime: 0.071433 sec +Starttime: 2023/07/14 18:47:52 +Endtime: 2023/07/14 18:47:52 Command: bash --norc --noprofile -eo pipefail hello_c_build.sh -Test Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a/hello_c.sh -Build Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a/hello_c_build.sh -Output File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a/hello_c.out -Error File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a/hello_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_pr60nsgz.log -───────────────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/df93067a/hello_c.sh ────────────────────────────────────────────────────────────────────────── -#!/bin/bash - - -# name of executable -_EXEC=hello.c.exe -# Compilation Line -/usr/bin/gcc -O1 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c - - -# Run executable -./$_EXEC - - -────────────────────────────────────────────────────────────────────────────────────────────── hello_c/162f122f-cb47-4eb8-aae0-1c705247e984 ─────────────────────────────────────────────────────────────────────────────────────────────── +Test Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c/hello_c.sh +Build Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c/hello_c_build.sh +Output File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c/hello_c.out +Error File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c/hello_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_mq2kmruk.log +───────────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/51f8839c/hello_c.sh ────────────────────────────────────────────────────────────────────── +#!/bin/bash + + +# name of executable +_EXEC=hello.c.exe +# Compilation Line +/usr/bin/gcc -O1 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c + + +# Run executable +./$_EXEC + + +────────────────────────────────────────────────────────────────────────────────────────── hello_c/d2efbeff-0924-4526-b7a8-7c6e37169738 ─────────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Hello World C Compilation State: PASS Returncode: 0 -Runtime: 0.102578 sec -Starttime: 2023/02/06 21:16:27 -Endtime: 2023/02/06 21:16:28 +Runtime: 0.076189 sec +Starttime: 2023/07/14 18:47:52 +Endtime: 2023/07/14 18:47:52 Command: bash --norc --noprofile -eo pipefail hello_c_build.sh -Test Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f/hello_c.sh -Build Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f/hello_c_build.sh -Output File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f/hello_c.out -Error File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f/hello_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_pr60nsgz.log -───────────────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/162f122f/hello_c.sh ────────────────────────────────────────────────────────────────────────── -#!/bin/bash - - -# name of executable -_EXEC=hello.c.exe -# Loading modules -module load gcc/6.5.0-gcc-7.5.0 -# Compilation Line -gcc -O2 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c - - -# Run executable -./$_EXEC - - +Test Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff/hello_c.sh +Build Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff/hello_c_build.sh +Output File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff/hello_c.out +Error File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff/hello_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_mq2kmruk.log +───────────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/d2efbeff/hello_c.sh ────────────────────────────────────────────────────────────────────── +#!/bin/bash + + +# name of executable +_EXEC=hello.c.exe +# Loading modules +module load gcc/8.3.0-gcc-7.5.0 +# Compilation Line +gcc -O3 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c + + +# Run executable +./$_EXEC + + diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt b/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt index b477f5b33..e23d0254a 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt @@ -1,29 +1,29 @@ -$ buildtest inspect query --testpath hello_f -────────────────────────────────────────────────────────────────────────────────────────────── hello_f/f030b521-098d-4d68-8a90-f2738342f68d ─────────────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query --testpath hello_f +────────────────────────────────────────────────────────────────────────────────────────── hello_f/600c36b4-feda-4b60-9c77-ff409d864136 ─────────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Hello World Fortran Compilation State: PASS Returncode: 0 -Runtime: 0.148772 sec -Starttime: 2023/02/06 21:16:23 -Endtime: 2023/02/06 21:16:23 +Runtime: 0.145381 sec +Starttime: 2023/07/14 18:47:48 +Endtime: 2023/07/14 18:47:49 Command: bash --norc --noprofile -eo pipefail hello_f_build.sh -Test Script: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521/hello_f.sh -Build Script: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521/hello_f_build.sh -Output File: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521/hello_f.out -Error File: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521/hello_f.err -Log File: /home/spack/buildtest/var/logs/buildtest_kpk33jcz.log -────────────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/f030b521/hello_f.sh ─────────────────────────────────────────────────────────────────────── -#!/bin/bash - - -# name of executable -_EXEC=hello.f90.exe -# Compilation Line -/usr/bin/gfortran -Wall -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.f90 - - -# Run executable -./$_EXEC - - +Test Script: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4/hello_f.sh +Build Script: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4/hello_f_build.sh +Output File: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4/hello_f.out +Error File: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4/hello_f.err +Log File: /home/spack/buildtest/var/logs/buildtest_j74m3d1x.log +────────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/600c36b4/hello_f.sh ─────────────────────────────────────────────────────────────────── +#!/bin/bash + + +# name of executable +_EXEC=hello.f90.exe +# Compilation Line +/usr/bin/gfortran -Wall -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.f90 + + +# Run executable +./$_EXEC + + diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt b/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt index 1ef2d59ba..0f2a995f7 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt @@ -1,30 +1,30 @@ -$ buildtest inspect query --testpath openmp_hello_c_example -─────────────────────────────────────────────────────────────────────────────────────── openmp_hello_c_example/559c9f80-0ead-48d9-84c5-6ecb2c4c8213 ─────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query --testpath openmp_hello_c_example +─────────────────────────────────────────────────────────────────────────────────── openmp_hello_c_example/acf167ec-751d-45c4-999d-93c7643c117b ─────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: OpenMP Hello World C example State: PASS Returncode: 0 -Runtime: 0.231787 sec -Starttime: 2023/02/06 21:16:32 -Endtime: 2023/02/06 21:16:32 +Runtime: 0.06204 sec +Starttime: 2023/07/14 18:47:55 +Endtime: 2023/07/14 18:47:55 Command: bash --norc --noprofile -eo pipefail openmp_hello_c_example_build.sh -Test Script: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80/openmp_hello_c_example.sh -Build Script: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80/openmp_hello_c_example_build.sh -Output File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80/openmp_hello_c_example.out -Error File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80/openmp_hello_c_example.err -Log File: /home/spack/buildtest/var/logs/buildtest_hscajvbf.log -────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/559c9f80/openmp_hello_c_example.sh ────────────────────────────────────────────────────────── -#!/bin/bash - - -# name of executable -_EXEC=hello_omp.c.exe -export OMP_NUM_THREADS="2" -# Compilation Line -/usr/bin/gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello_omp.c - - -# Run executable -./$_EXEC - - +Test Script: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec/openmp_hello_c_example.sh +Build Script: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec/openmp_hello_c_example_build.sh +Output File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec/openmp_hello_c_example.out +Error File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec/openmp_hello_c_example.err +Log File: /home/spack/buildtest/var/logs/buildtest_8_zgkyx0.log +────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/acf167ec/openmp_hello_c_example.sh ────────────────────────────────────────────────────── +#!/bin/bash + + +# name of executable +_EXEC=hello_omp.c.exe +export OMP_NUM_THREADS="2" +# Compilation Line +/usr/bin/gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello_omp.c + + +# Run executable +./$_EXEC + + diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/pre_post_build_run.txt b/docs/buildtest_tutorial_examples/compilers/inspect/pre_post_build_run.txt index 3f623c4a3..ed3fa3bc2 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/pre_post_build_run.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/pre_post_build_run.txt @@ -1,52 +1,52 @@ -$ buildtest inspect query --testpath pre_post_build_run -───────────────────────────────────────────────────────────────────────────────────────── pre_post_build_run/aee93675-6a3c-4423-9cf1-19a37fddba65 ───────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query --testpath pre_post_build_run +───────────────────────────────────────────────────────────────────────────────────── pre_post_build_run/52b3e3cd-9764-400b-922d-a4b087cca93b ───────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: example using pre_build, post_build, pre_run, post_run example State: PASS Returncode: 0 -Runtime: 0.060811 sec -Starttime: 2023/02/06 21:16:42 -Endtime: 2023/02/06 21:16:42 +Runtime: 0.062408 sec +Starttime: 2023/07/14 18:48:03 +Endtime: 2023/07/14 18:48:03 Command: bash --norc --noprofile -eo pipefail pre_post_build_run_build.sh -Test Script: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675/pre_post_build_run.sh -Build Script: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675/pre_post_build_run_build.sh -Output File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675/pre_post_build_run.out -Error File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675/pre_post_build_run.err -Log File: /home/spack/buildtest/var/logs/buildtest_0_8ztrgm.log -─────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/aee93675/pre_post_build_run.sh ─────────────────────────────────────────────────────────── -#!/bin/bash - - -# name of executable -_EXEC=hello.c.exe -### START OF PRE BUILD SECTION ### -echo "These are commands run before compilation" - -### END OF PRE BUILD SECTION ### - - -# Compilation Line -/usr/bin/gcc -Wall -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c - - -### START OF POST BUILD SECTION ### -echo "These are commands run after compilation" - -### END OF POST BUILD SECTION ### - - -### START OF PRE RUN SECTION ### -echo "These are commands run before running script" - -### END OF PRE RUN SECTION ### - - -# Run executable -./$_EXEC - - -### START OF POST RUN SECTION ### -echo "These are commands run after running script" -### END OF POST RUN SECTION ### - - +Test Script: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd/pre_post_build_run.sh +Build Script: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd/pre_post_build_run_build.sh +Output File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd/pre_post_build_run.out +Error File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd/pre_post_build_run.err +Log File: /home/spack/buildtest/var/logs/buildtest_01ojvnxz.log +─────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/52b3e3cd/pre_post_build_run.sh ─────────────────────────────────────────────────────── +#!/bin/bash + + +# name of executable +_EXEC=hello.c.exe +### START OF PRE BUILD SECTION ### +echo "These are commands run before compilation" + +### END OF PRE BUILD SECTION ### + + +# Compilation Line +/usr/bin/gcc -Wall -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c + + +### START OF POST BUILD SECTION ### +echo "These are commands run after compilation" + +### END OF POST BUILD SECTION ### + + +### START OF PRE RUN SECTION ### +echo "These are commands run before running script" + +### END OF PRE RUN SECTION ### + + +# Run executable +./$_EXEC + + +### START OF POST RUN SECTION ### +echo "These are commands run after running script" +### END OF POST RUN SECTION ### + + diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt b/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt index 03b533e51..a6e467518 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt @@ -1,90 +1,90 @@ -$ buildtest inspect query --testpath stream_openmp_c/ -────────────────────────────────────────────────────────────────────────────────────────── stream_openmp_c/8f8b6c26-a782-41ef-b004-1313107c6102 ─────────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query --testpath stream_openmp_c/ +────────────────────────────────────────────────────────────────────────────────────── stream_openmp_c/91a2d4f4-63a0-4a5f-8b09-e092b904972c ─────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: STREAM Microbenchmark C Test with OpenMP State: PASS Returncode: 0 -Runtime: 2.243298 sec -Starttime: 2023/02/06 21:16:44 -Endtime: 2023/02/06 21:16:46 +Runtime: 3.733477 sec +Starttime: 2023/07/14 18:48:05 +Endtime: 2023/07/14 18:48:08 Command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26/stream_openmp_c.sh -Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26/stream_openmp_c_build.sh -Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26/stream_openmp_c.out -Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26/stream_openmp_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_t31d0f7k.log -──────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/8f8b6c26/stream_openmp_c.sh ──────────────────────────────────────────────────────────────── -#!/bin/bash -BUILDTEST_CC="gcc" -BUILDTEST_CXX="g++" -BUILDTEST_FC="gfortran" -BUILDTEST_CFLAGS="-fopenmp -O2" -BUILDTEST_CXXFLAGS= -BUILDTEST_FFLAGS= -BUILDTEST_CPPFLAGS= -BUILDTEST_LDFLAGS= -export OMP_NUM_THREADS="8" -module load gcc/6.5.0-gcc-7.5.0 -# Content of run section -wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c -$BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream -./stream -────────────────────────────────────────────────────────────────────────────────────────── stream_openmp_c/5789baf6-e3ee-4e3f-b248-c543d62fb18b ─────────────────────────────────────────────────────────────────────────────────────────── +Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4/stream_openmp_c.sh +Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4/stream_openmp_c_build.sh +Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4/stream_openmp_c.out +Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4/stream_openmp_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_p9dylkh7.log +──────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/91a2d4f4/stream_openmp_c.sh ──────────────────────────────────────────────────────────── +#!/bin/bash +BUILDTEST_CC="gcc" +BUILDTEST_CXX="g++" +BUILDTEST_FC="gfortran" +BUILDTEST_CFLAGS="-fopenmp -O2" +BUILDTEST_CXXFLAGS= +BUILDTEST_FFLAGS= +BUILDTEST_CPPFLAGS= +BUILDTEST_LDFLAGS= +export OMP_NUM_THREADS="8" +module load gcc/8.3.0-gcc-7.5.0 +# Content of run section +wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c +$BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream +./stream +────────────────────────────────────────────────────────────────────────────────────── stream_openmp_c/e34e58ec-5b30-431e-99a8-81aa295d7a77 ─────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: STREAM Microbenchmark C Test with OpenMP State: PASS Returncode: 0 -Runtime: 3.08798 sec -Starttime: 2023/02/06 21:16:44 -Endtime: 2023/02/06 21:16:47 +Runtime: 3.73544 sec +Starttime: 2023/07/14 18:48:05 +Endtime: 2023/07/14 18:48:08 Command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6/stream_openmp_c.sh -Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6/stream_openmp_c_build.sh -Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6/stream_openmp_c.out -Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6/stream_openmp_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_t31d0f7k.log -──────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/5789baf6/stream_openmp_c.sh ──────────────────────────────────────────────────────────────── -#!/bin/bash -BUILDTEST_CC="gcc" -BUILDTEST_CXX="g++" -BUILDTEST_FC="gfortran" -BUILDTEST_CFLAGS="-fopenmp -O2" -BUILDTEST_CXXFLAGS= -BUILDTEST_FFLAGS= -BUILDTEST_CPPFLAGS= -BUILDTEST_LDFLAGS= -export OMP_NUM_THREADS="8" -module load gcc/8.3.0-gcc-7.5.0 -# Content of run section -wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c -$BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream -./stream -────────────────────────────────────────────────────────────────────────────────────────── stream_openmp_c/82e362e5-1246-401b-9670-11b281e0812f ─────────────────────────────────────────────────────────────────────────────────────────── +Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec/stream_openmp_c.sh +Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec/stream_openmp_c_build.sh +Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec/stream_openmp_c.out +Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec/stream_openmp_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_p9dylkh7.log +──────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e34e58ec/stream_openmp_c.sh ──────────────────────────────────────────────────────────── +#!/bin/bash +BUILDTEST_CC="gcc" +BUILDTEST_CXX="g++" +BUILDTEST_FC="gfortran" +BUILDTEST_CFLAGS="-fopenmp -O2" +BUILDTEST_CXXFLAGS= +BUILDTEST_FFLAGS= +BUILDTEST_CPPFLAGS= +BUILDTEST_LDFLAGS= +export OMP_NUM_THREADS="8" +module load gcc/6.5.0-gcc-7.5.0 +# Content of run section +wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c +$BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream +./stream +────────────────────────────────────────────────────────────────────────────────────── stream_openmp_c/a6109a55-4c61-4e6b-8480-84c6bc3395b7 ─────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: STREAM Microbenchmark C Test with OpenMP State: PASS Returncode: 0 -Runtime: 3.072662 sec -Starttime: 2023/02/06 21:16:44 -Endtime: 2023/02/06 21:16:47 +Runtime: 3.7425 sec +Starttime: 2023/07/14 18:48:05 +Endtime: 2023/07/14 18:48:08 Command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5/stream_openmp_c.sh -Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5/stream_openmp_c_build.sh -Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5/stream_openmp_c.out -Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5/stream_openmp_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_t31d0f7k.log -──────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/82e362e5/stream_openmp_c.sh ──────────────────────────────────────────────────────────────── -#!/bin/bash -BUILDTEST_CC="/usr/bin/gcc" -BUILDTEST_CXX="/usr/bin/g++" -BUILDTEST_FC="/usr/bin/gfortran" -BUILDTEST_CFLAGS="-fopenmp -O2" -BUILDTEST_CXXFLAGS= -BUILDTEST_FFLAGS= -BUILDTEST_CPPFLAGS= -BUILDTEST_LDFLAGS= -export OMP_NUM_THREADS="8" -# Content of run section -wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c -$BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream -./stream +Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55/stream_openmp_c.sh +Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55/stream_openmp_c_build.sh +Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55/stream_openmp_c.out +Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55/stream_openmp_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_p9dylkh7.log +──────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a6109a55/stream_openmp_c.sh ──────────────────────────────────────────────────────────── +#!/bin/bash +BUILDTEST_CC="/usr/bin/gcc" +BUILDTEST_CXX="/usr/bin/g++" +BUILDTEST_FC="/usr/bin/gfortran" +BUILDTEST_CFLAGS="-fopenmp -O2" +BUILDTEST_CXXFLAGS= +BUILDTEST_FFLAGS= +BUILDTEST_CPPFLAGS= +BUILDTEST_LDFLAGS= +export OMP_NUM_THREADS="8" +# Content of run section +wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c +$BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream +./stream diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/stream_openmp_metrics.txt b/docs/buildtest_tutorial_examples/compilers/inspect/stream_openmp_metrics.txt index dccb29f4a..7fd38730e 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/stream_openmp_metrics.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/stream_openmp_metrics.txt @@ -1,59 +1,59 @@ $ buildtest inspect query -o stream_openmp_metrics/ -─────────────────────────────────────────────────────────────────────────────────────── stream_openmp_metrics/4831075d-c3bd-49e6-89cf-8987bc06730b ──────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────── stream_openmp_metrics/ecdc83a8-9b1c-45ee-98b2-095237815eea ──────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: STREAM Microbenchmark C Test with OpenMP State: PASS Returncode: 0 -Runtime: 1.425017 sec -Starttime: 2023/02/06 21:16:49 -Endtime: 2023/02/06 21:16:50 +Runtime: 1.024799 sec +Starttime: 2023/07/14 18:48:10 +Endtime: 2023/07/14 18:48:11 Command: bash --norc --noprofile -eo pipefail stream_openmp_metrics_build.sh -Test Script: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d/stream_openmp_metrics.sh -Build Script: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d/stream_openmp_metrics_build.sh -Output File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d/stream_openmp_metrics.out -Error File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d/stream_openmp_metrics.err -Log File: /home/spack/buildtest/var/logs/buildtest_ylkfna4p.log +Test Script: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8/stream_openmp_metrics.sh +Build Script: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8/stream_openmp_metrics_build.sh +Output File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8/stream_openmp_metrics.out +Error File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8/stream_openmp_metrics.err +Log File: /home/spack/buildtest/var/logs/buildtest_wkwxaqmp.log Metrics ┏━━━━━━━┳━━━━━━━━━┓ ┃ Name ┃ Value ┃ ┡━━━━━━━╇━━━━━━━━━┩ -│ copy │ 13879.2 │ -│ scale │ 16759.2 │ -│ add │ 16240.2 │ -│ triad │ 16334.3 │ +│ copy │ 23664.9 │ +│ scale │ 19748.4 │ +│ add │ 19834.4 │ +│ triad │ 20942.3 │ └───────┴─────────┘ -──────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/4831075d/stream_openmp_metrics.out ───────────────────────────────────────────────────── -------------------------------------------------------------- -STREAM version $Revision: 5.10 $ -------------------------------------------------------------- -This system uses 8 bytes per array element. -------------------------------------------------------------- -Array size = 10000000 (elements), Offset = 0 (elements) -Memory per array = 76.3 MiB (= 0.1 GiB). -Total memory required = 228.9 MiB (= 0.2 GiB). -Each kernel will be executed 10 times. - The *best* time for each kernel (excluding the first iteration) - will be used to compute the reported bandwidth. -------------------------------------------------------------- -Number of Threads requested = 16 -Number of Threads counted = 16 -------------------------------------------------------------- -Your clock granularity/precision appears to be 11 microseconds. -Each test below will take on the order of 8275 microseconds. - (= 752 clock ticks) -Increase the size of the arrays if this shows that -you are not getting at least 20 clock ticks per test. -------------------------------------------------------------- -WARNING -- The above is only a rough guideline. -For best results, please be sure you know the -precision of your system timer. -------------------------------------------------------------- -Function Best Rate MB/s Avg time Min time Max time -Copy: 13879.2 0.014794 0.011528 0.027112 -Scale: 16759.2 0.016415 0.009547 0.044203 -Add: 16240.2 0.020468 0.014778 0.033024 -Triad: 16334.3 0.021409 0.014693 0.046602 -------------------------------------------------------------- -Solution Validates: avg error less than 1.000000e-13 on all three arrays -------------------------------------------------------------- - +──────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/ecdc83a8/stream_openmp_metrics.out ───────────────────────────────────────────────── +------------------------------------------------------------- +STREAM version $Revision: 5.10 $ +------------------------------------------------------------- +This system uses 8 bytes per array element. +------------------------------------------------------------- +Array size = 10000000 (elements), Offset = 0 (elements) +Memory per array = 76.3 MiB (= 0.1 GiB). +Total memory required = 228.9 MiB (= 0.2 GiB). +Each kernel will be executed 10 times. + The *best* time for each kernel (excluding the first iteration) + will be used to compute the reported bandwidth. +------------------------------------------------------------- +Number of Threads requested = 16 +Number of Threads counted = 16 +------------------------------------------------------------- +Your clock granularity/precision appears to be 1 microseconds. +Each test below will take on the order of 5283 microseconds. + (= 5283 clock ticks) +Increase the size of the arrays if this shows that +you are not getting at least 20 clock ticks per test. +------------------------------------------------------------- +WARNING -- The above is only a rough guideline. +For best results, please be sure you know the +precision of your system timer. +------------------------------------------------------------- +Function Best Rate MB/s Avg time Min time Max time +Copy: 23664.9 0.007282 0.006761 0.007921 +Scale: 19748.4 0.008381 0.008102 0.008814 +Add: 19834.4 0.012774 0.012100 0.013877 +Triad: 20942.3 0.012511 0.011460 0.014375 +------------------------------------------------------------- +Solution Validates: avg error less than 1.000000e-13 on all three arrays +------------------------------------------------------------- + diff --git a/docs/buildtest_tutorial_examples/spack/build/e4s_testsuite_mpich.txt b/docs/buildtest_tutorial_examples/spack/build/e4s_testsuite_mpich.txt index ab9c65ed4..e5ff7c1c8 100644 --- a/docs/buildtest_tutorial_examples/spack/build/e4s_testsuite_mpich.txt +++ b/docs/buildtest_tutorial_examples/spack/build/e4s_testsuite_mpich.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/e4s_testsuite_mpich.yml -╭────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:03 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/e4s_testsuite_mpich.yml │ -│ │ -╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:46:55 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/e4s_testsuite_mpich.yml │ +│ │ +╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔══════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/e4s_testsuite_mpich.ym Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/e4s_testsuite_mpich.yml: VALID @@ -36,28 +36,28 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ mpich_e4s_testsuite/a14380f6 │ script │ generic.local.bash │ None │ None │ None │ Run E4S Testsuite mpich test │ /home/spack/buildtest/examples/spack/e4s_testsuite_mpich.yml │ +│ mpich_e4s_testsuite/0c47b479 │ script │ generic.local.bash │ None │ None │ None │ Run E4S Testsuite mpich test │ /home/spack/buildtest/examples/spack/e4s_testsuite_mpich.yml │ └──────────────────────────────┴────────┴────────────────────┴──────────┴───────┴───────┴──────────────────────────────┴──────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -mpich_e4s_testsuite/a14380f6: Creating test directory: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6 -mpich_e4s_testsuite/a14380f6: Creating the stage directory: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/stage -mpich_e4s_testsuite/a14380f6: Writing build script: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/mpich_e4s_testsuite_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +mpich_e4s_testsuite/0c47b479: Creating test directory: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479 +mpich_e4s_testsuite/0c47b479: Creating the stage directory: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/stage +mpich_e4s_testsuite/0c47b479: Writing build script: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/mpich_e4s_testsuite_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -mpich_e4s_testsuite/a14380f6 does not have any dependencies adding test to queue -mpich_e4s_testsuite/a14380f6: Current Working Directory : /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/stage -mpich_e4s_testsuite/a14380f6: Running Test via command: bash --norc --noprofile -eo pipefail mpich_e4s_testsuite_build.sh -mpich_e4s_testsuite/a14380f6: Test completed in 10.008118 seconds -mpich_e4s_testsuite/a14380f6: Test completed with returncode: 0 -mpich_e4s_testsuite/a14380f6: Writing output file - /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/mpich_e4s_testsuite.out -mpich_e4s_testsuite/a14380f6: Writing error file - /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/mpich_e4s_testsuite.err -In this iteration we are going to run the following tests: [mpich_e4s_testsuite/a14380f6] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +mpich_e4s_testsuite/0c47b479 does not have any dependencies adding test to queue +mpich_e4s_testsuite/0c47b479: Current Working Directory : /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/stage +mpich_e4s_testsuite/0c47b479: Running Test via command: bash --norc --noprofile -eo pipefail mpich_e4s_testsuite_build.sh +mpich_e4s_testsuite/0c47b479: Test completed in 45.002633 seconds +mpich_e4s_testsuite/0c47b479: Test completed with returncode: 0 +mpich_e4s_testsuite/0c47b479: Writing output file - /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/mpich_e4s_testsuite.out +mpich_e4s_testsuite/0c47b479: Writing error file - /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/mpich_e4s_testsuite.err +In this iteration we are going to run the following tests: [mpich_e4s_testsuite/0c47b479] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━┩ -│ mpich_e4s_testsuite/a14380f6 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 10.008118 │ +│ mpich_e4s_testsuite/0c47b479 │ generic.local.bash │ PASS │ None None None │ 0 │ 45.002633 │ └──────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴───────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_tnz33e2f.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_6ytwg9ap.log diff --git a/docs/buildtest_tutorial_examples/spack/build/env_create_directory.txt b/docs/buildtest_tutorial_examples/spack/build/env_create_directory.txt index 2aafcda3d..1c3cef224 100644 --- a/docs/buildtest_tutorial_examples/spack/build/env_create_directory.txt +++ b/docs/buildtest_tutorial_examples/spack/build/env_create_directory.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/env_create_directory.yml -╭────────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:15:30 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/env_create_directory.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭────────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:46:23 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/env_create_directory.yml │ +│ │ +╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═══════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/env_create_directory.y Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/env_create_directory.yml: VALID @@ -36,28 +36,28 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ spack_env_directory/c5e078b9 │ spack │ generic.local.bash │ None │ None │ None │ create spack environment in directory │ /home/spack/buildtest/examples/spack/env_create_directory.yml │ +│ spack_env_directory/490db0c3 │ spack │ generic.local.bash │ None │ None │ None │ create spack environment in directory │ /home/spack/buildtest/examples/spack/env_create_directory.yml │ └──────────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴───────────────────────────────────────┴───────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -spack_env_directory/c5e078b9: Creating test directory: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9 -spack_env_directory/c5e078b9: Creating the stage directory: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/stage -spack_env_directory/c5e078b9: Writing build script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/spack_env_directory_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +spack_env_directory/490db0c3: Creating test directory: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3 +spack_env_directory/490db0c3: Creating the stage directory: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/stage +spack_env_directory/490db0c3: Writing build script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/spack_env_directory_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -spack_env_directory/c5e078b9 does not have any dependencies adding test to queue -spack_env_directory/c5e078b9: Current Working Directory : /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/stage -spack_env_directory/c5e078b9: Running Test via command: bash --norc --noprofile -eo pipefail spack_env_directory_build.sh -spack_env_directory/c5e078b9: Test completed in 2.792924 seconds -spack_env_directory/c5e078b9: Test completed with returncode: 0 -spack_env_directory/c5e078b9: Writing output file - /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/spack_env_directory.out -spack_env_directory/c5e078b9: Writing error file - /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/spack_env_directory.err -In this iteration we are going to run the following tests: [spack_env_directory/c5e078b9] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +spack_env_directory/490db0c3 does not have any dependencies adding test to queue +spack_env_directory/490db0c3: Current Working Directory : /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/stage +spack_env_directory/490db0c3: Running Test via command: bash --norc --noprofile -eo pipefail spack_env_directory_build.sh +spack_env_directory/490db0c3: Test completed in 2.285139 seconds +spack_env_directory/490db0c3: Test completed with returncode: 0 +spack_env_directory/490db0c3: Writing output file - /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/spack_env_directory.out +spack_env_directory/490db0c3: Writing error file - /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/spack_env_directory.err +In this iteration we are going to run the following tests: [spack_env_directory/490db0c3] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ spack_env_directory/c5e078b9 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 2.792924 │ +│ spack_env_directory/490db0c3 │ generic.local.bash │ PASS │ None None None │ 0 │ 2.285139 │ └──────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_449ujhuy.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_lzbl78sy.log diff --git a/docs/buildtest_tutorial_examples/spack/build/env_create_manifest.txt b/docs/buildtest_tutorial_examples/spack/build/env_create_manifest.txt index 37a219054..fadcd4e63 100644 --- a/docs/buildtest_tutorial_examples/spack/build/env_create_manifest.txt +++ b/docs/buildtest_tutorial_examples/spack/build/env_create_manifest.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/env_create_manifest.yml -╭────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:15:34 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/env_create_manifest.yml │ -│ │ -╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:46:26 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/env_create_manifest.yml │ +│ │ +╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔══════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/env_create_manifest.ym Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/env_create_manifest.yml: VALID @@ -36,28 +36,28 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ spack_env_create_from_manifest/28fc5836 │ spack │ generic.local.bash │ None │ None │ None │ Create spack environment from spack.yaml │ /home/spack/buildtest/examples/spack/env_create_manifest.yml │ +│ spack_env_create_from_manifest/7e04b3e5 │ spack │ generic.local.bash │ None │ None │ None │ Create spack environment from spack.yaml │ /home/spack/buildtest/examples/spack/env_create_manifest.yml │ └─────────────────────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴──────────────────────────────────────────┴──────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -spack_env_create_from_manifest/28fc5836: Creating test directory: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836 -spack_env_create_from_manifest/28fc5836: Creating the stage directory: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/stage -spack_env_create_from_manifest/28fc5836: Writing build script: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/spack_env_create_from_manifest_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +spack_env_create_from_manifest/7e04b3e5: Creating test directory: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5 +spack_env_create_from_manifest/7e04b3e5: Creating the stage directory: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/stage +spack_env_create_from_manifest/7e04b3e5: Writing build script: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/spack_env_create_from_manifest_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -spack_env_create_from_manifest/28fc5836 does not have any dependencies adding test to queue -spack_env_create_from_manifest/28fc5836: Current Working Directory : /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/stage -spack_env_create_from_manifest/28fc5836: Running Test via command: bash --norc --noprofile -eo pipefail spack_env_create_from_manifest_build.sh -spack_env_create_from_manifest/28fc5836: Test completed in 5.213226 seconds -spack_env_create_from_manifest/28fc5836: Test completed with returncode: 0 -spack_env_create_from_manifest/28fc5836: Writing output file - /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/spack_env_create_from_manifest.out -spack_env_create_from_manifest/28fc5836: Writing error file - /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/spack_env_create_from_manifest.err -In this iteration we are going to run the following tests: [spack_env_create_from_manifest/28fc5836] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +spack_env_create_from_manifest/7e04b3e5 does not have any dependencies adding test to queue +spack_env_create_from_manifest/7e04b3e5: Current Working Directory : /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/stage +spack_env_create_from_manifest/7e04b3e5: Running Test via command: bash --norc --noprofile -eo pipefail spack_env_create_from_manifest_build.sh +spack_env_create_from_manifest/7e04b3e5: Test completed in 3.967062 seconds +spack_env_create_from_manifest/7e04b3e5: Test completed with returncode: 0 +spack_env_create_from_manifest/7e04b3e5: Writing output file - /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/spack_env_create_from_manifest.out +spack_env_create_from_manifest/7e04b3e5: Writing error file - /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/spack_env_create_from_manifest.err +In this iteration we are going to run the following tests: [spack_env_create_from_manifest/7e04b3e5] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ spack_env_create_from_manifest/28fc5836 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 5.213226 │ +│ spack_env_create_from_manifest/7e04b3e5 │ generic.local.bash │ PASS │ None None None │ 0 │ 3.967062 │ └─────────────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_ygsddohd.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_e2ttpy9a.log diff --git a/docs/buildtest_tutorial_examples/spack/build/env_install.txt b/docs/buildtest_tutorial_examples/spack/build/env_install.txt index 2d7577cd5..8afd9f7a9 100644 --- a/docs/buildtest_tutorial_examples/spack/build/env_install.txt +++ b/docs/buildtest_tutorial_examples/spack/build/env_install.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/env_install.yml -╭────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:15:24 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/env_install.yml │ -│ │ -╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:46:19 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/env_install.yml │ +│ │ +╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔══════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/env_install.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/env_install.yml: VALID @@ -36,28 +36,28 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ install_in_spack_env/9f0c2e5d │ spack │ generic.local.bash │ None │ None │ None │ Install m4 and zlib in a spack environment named m4_zlib │ /home/spack/buildtest/examples/spack/env_install.yml │ +│ install_in_spack_env/0f16f091 │ spack │ generic.local.bash │ None │ None │ None │ Install m4 and zlib in a spack environment named m4_zlib │ /home/spack/buildtest/examples/spack/env_install.yml │ └───────────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴──────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -install_in_spack_env/9f0c2e5d: Creating test directory: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d -install_in_spack_env/9f0c2e5d: Creating the stage directory: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d/stage -install_in_spack_env/9f0c2e5d: Writing build script: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d/install_in_spack_env_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +install_in_spack_env/0f16f091: Creating test directory: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091 +install_in_spack_env/0f16f091: Creating the stage directory: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091/stage +install_in_spack_env/0f16f091: Writing build script: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091/install_in_spack_env_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -install_in_spack_env/9f0c2e5d does not have any dependencies adding test to queue -install_in_spack_env/9f0c2e5d: Current Working Directory : /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d/stage -install_in_spack_env/9f0c2e5d: Running Test via command: bash --norc --noprofile -eo pipefail install_in_spack_env_build.sh -install_in_spack_env/9f0c2e5d: Test completed in 4.618925 seconds -install_in_spack_env/9f0c2e5d: Test completed with returncode: 0 -install_in_spack_env/9f0c2e5d: Writing output file - /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d/install_in_spack_env.out -install_in_spack_env/9f0c2e5d: Writing error file - /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d/install_in_spack_env.err -In this iteration we are going to run the following tests: [install_in_spack_env/9f0c2e5d] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +install_in_spack_env/0f16f091 does not have any dependencies adding test to queue +install_in_spack_env/0f16f091: Current Working Directory : /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091/stage +install_in_spack_env/0f16f091: Running Test via command: bash --norc --noprofile -eo pipefail install_in_spack_env_build.sh +install_in_spack_env/0f16f091: Test completed in 3.184986 seconds +install_in_spack_env/0f16f091: Test completed with returncode: 0 +install_in_spack_env/0f16f091: Writing output file - /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091/install_in_spack_env.out +install_in_spack_env/0f16f091: Writing error file - /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091/install_in_spack_env.err +In this iteration we are going to run the following tests: [install_in_spack_env/0f16f091] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ install_in_spack_env/9f0c2e5d │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 4.618925 │ +│ install_in_spack_env/0f16f091 │ generic.local.bash │ PASS │ None None None │ 0 │ 3.184986 │ └───────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_thv679v3.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_91oadl48.log diff --git a/docs/buildtest_tutorial_examples/spack/build/install_specs.txt b/docs/buildtest_tutorial_examples/spack/build/install_specs.txt index 805277d37..64640fb73 100644 --- a/docs/buildtest_tutorial_examples/spack/build/install_specs.txt +++ b/docs/buildtest_tutorial_examples/spack/build/install_specs.txt @@ -1,23 +1,23 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/install_specs.yml Buildspec Paths: ['/home/spack/buildtest/examples'] Updating buildspec cache file: /home/spack/buildtest/var/buildspecs/cache.json -╭─────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:13:55 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/install_specs.yml │ -│ │ -╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭─────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:45:34 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/install_specs.yml │ +│ │ +╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -29,7 +29,7 @@ Updating buildspec cache file: /home/spack/buildtest/var/buildspecs/cache.json Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/install_specs.yml: VALID @@ -38,49 +38,75 @@ Total builder objects created: 2 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ install_specs_example/e19633f1 │ spack │ generic.local.bash │ None │ None │ None │ Install zlib from an existing spack instance │ /home/spack/buildtest/examples/spack/install_specs.yml │ +│ install_specs_example/40031985 │ spack │ generic.local.bash │ None │ None │ None │ Install zlib from an existing spack instance │ /home/spack/buildtest/examples/spack/install_specs.yml │ ├───────────────────────────────────────┼───────┼────────────────────┼──────────┼───────┼───────┼──────────────────────────────────────────────┼────────────────────────────────────────────────────────┤ -│ clone_spack_and_install_zlib/a29977c5 │ spack │ generic.local.bash │ None │ None │ None │ Clone spack and install zlib spec │ /home/spack/buildtest/examples/spack/install_specs.yml │ +│ clone_spack_and_install_zlib/7d2b08e2 │ spack │ generic.local.bash │ None │ None │ None │ Clone spack and install zlib spec │ /home/spack/buildtest/examples/spack/install_specs.yml │ └───────────────────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴──────────────────────────────────────────────┴────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -install_specs_example/e19633f1: Creating test directory: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1 -install_specs_example/e19633f1: Creating the stage directory: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/stage -install_specs_example/e19633f1: Writing build script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/install_specs_example_build.sh -clone_spack_and_install_zlib/a29977c5: Creating test directory: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5 -clone_spack_and_install_zlib/a29977c5: Creating the stage directory: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/stage -clone_spack_and_install_zlib/a29977c5: Writing build script: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/clone_spack_and_install_zlib_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +install_specs_example/40031985: Creating test directory: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985 +install_specs_example/40031985: Creating the stage directory: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/stage +install_specs_example/40031985: Writing build script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/install_specs_example_build.sh +clone_spack_and_install_zlib/7d2b08e2: Creating test directory: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2 +clone_spack_and_install_zlib/7d2b08e2: Creating the stage directory: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/stage +clone_spack_and_install_zlib/7d2b08e2: Writing build script: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/clone_spack_and_install_zlib_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -clone_spack_and_install_zlib/a29977c5 does not have any dependencies adding test to queue -install_specs_example/e19633f1 does not have any dependencies adding test to queue -clone_spack_and_install_zlib/a29977c5: Current Working Directory : /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/stage -install_specs_example/e19633f1: Current Working Directory : /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/stage -install_specs_example/e19633f1: Running Test via command: bash --norc --noprofile -eo pipefail install_specs_example_build.sh -clone_spack_and_install_zlib/a29977c5: Running Test via command: bash --norc --noprofile -eo pipefail clone_spack_and_install_zlib_build.sh -install_specs_example/e19633f1: Test completed in 1.391641 seconds -install_specs_example/e19633f1: Test completed with returncode: 0 -install_specs_example/e19633f1: Writing output file - /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/install_specs_example.out -install_specs_example/e19633f1: Writing error file - /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/install_specs_example.err -clone_spack_and_install_zlib/a29977c5: Test completed in 88.434209 seconds -clone_spack_and_install_zlib/a29977c5: Test completed with returncode: 0 -clone_spack_and_install_zlib/a29977c5: Writing output file - /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/clone_spack_and_install_zlib.out -clone_spack_and_install_zlib/a29977c5: Writing error file - /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/clone_spack_and_install_zlib.err -In this iteration we are going to run the following tests: [clone_spack_and_install_zlib/a29977c5, install_specs_example/e19633f1] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +clone_spack_and_install_zlib/7d2b08e2 does not have any dependencies adding test to queue +install_specs_example/40031985 does not have any dependencies adding test to queue +clone_spack_and_install_zlib/7d2b08e2: Current Working Directory : /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/stage +install_specs_example/40031985: Current Working Directory : /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/stage +install_specs_example/40031985: Running Test via command: bash --norc --noprofile -eo pipefail install_specs_example_build.sh +clone_spack_and_install_zlib/7d2b08e2: Running Test via command: bash --norc --noprofile -eo pipefail clone_spack_and_install_zlib_build.sh +install_specs_example/40031985: Test completed in 1.548599 seconds +install_specs_example/40031985: Test completed with returncode: 0 +install_specs_example/40031985: Writing output file - /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/install_specs_example.out +install_specs_example/40031985: Writing error file - /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/install_specs_example.err +clone_spack_and_install_zlib/7d2b08e2 failed to submit job with returncode: 3 + +Cloning into 'spack'... + Updating files: 89% (9509/10614) + Updating files: 90% (9553/10614) + Updating files: 91% (9659/10614) + Updating files: 92% (9765/10614) + Updating files: 93% (9872/10614) + Updating files: 94% (9978/10614) + Updating files: 95% (10084/10614) + Updating files: 96% (10190/10614) + Updating files: 97% (10296/10614) + Updating files: 98% (10402/10614) + Updating files: 99% (10508/10614) + Updating files: 100% (10614/10614) + Updating files: 100% (10614/10614), done. + ==> Error: 'name' + +clone_spack_and_install_zlib/7d2b08e2: Detected failure in running test, will attempt to retry test: 1 times +clone_spack_and_install_zlib/7d2b08e2: Run - 1/1 +clone_spack_and_install_zlib/7d2b08e2: Running Test via command: bash --norc --noprofile -eo pipefail clone_spack_and_install_zlib_build.sh +clone_spack_and_install_zlib/7d2b08e2 failed to submit job with returncode: 3 + +fatal: destination path 'spack' already exists and is not an empty directory. + ==> Error: 'name' + +clone_spack_and_install_zlib/7d2b08e2: Test completed in 44.148474 seconds +clone_spack_and_install_zlib/7d2b08e2: Test completed with returncode: 3 +clone_spack_and_install_zlib/7d2b08e2: Writing output file - /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/clone_spack_and_install_zlib.out +clone_spack_and_install_zlib/7d2b08e2: Writing error file - /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/clone_spack_and_install_zlib.err +In this iteration we are going to run the following tests: [install_specs_example/40031985, clone_spack_and_install_zlib/7d2b08e2] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━┩ -│ install_specs_example/e19633f1 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 1.391641 │ +│ clone_spack_and_install_zlib/7d2b08e2 │ generic.local.bash │ FAIL │ None None None │ 3 │ 44.148474 │ ├───────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼───────────┤ -│ clone_spack_and_install_zlib/a29977c5 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 88.434209 │ +│ install_specs_example/40031985 │ generic.local.bash │ PASS │ None None None │ 0 │ 1.548599 │ └───────────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴───────────┘ -Passed Tests: 2/2 Percentage: 100.000% -Failed Tests: 0/2 Percentage: 0.000% +Passed Tests: 1/2 Percentage: 50.000% +Failed Tests: 1/2 Percentage: 50.000% Adding 2 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_3ufksmr5.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_hupirc5k.log diff --git a/docs/buildtest_tutorial_examples/spack/build/mirror_example.txt b/docs/buildtest_tutorial_examples/spack/build/mirror_example.txt index 4f168e9cb..b8695e1af 100644 --- a/docs/buildtest_tutorial_examples/spack/build/mirror_example.txt +++ b/docs/buildtest_tutorial_examples/spack/build/mirror_example.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/mirror_example.yml -╭─────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:15:48 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/mirror_example.yml │ -│ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭─────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:46:37 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/mirror_example.yml │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/mirror_example.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/mirror_example.yml: VALID @@ -36,42 +36,42 @@ Total builder objects created: 2 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ add_mirror/bca31e22 │ spack │ generic.local.bash │ None │ None │ None │ Declare spack mirror │ /home/spack/buildtest/examples/spack/mirror_example.yml │ +│ add_mirror/5d67c243 │ spack │ generic.local.bash │ None │ None │ None │ Declare spack mirror │ /home/spack/buildtest/examples/spack/mirror_example.yml │ ├──────────────────────────────────┼───────┼────────────────────┼──────────┼───────┼───────┼───────────────────────────────────────────┼─────────────────────────────────────────────────────────┤ -│ add_mirror_in_spack_env/a1846e85 │ spack │ generic.local.bash │ None │ None │ None │ Declare spack mirror in spack environment │ /home/spack/buildtest/examples/spack/mirror_example.yml │ +│ add_mirror_in_spack_env/320eba7c │ spack │ generic.local.bash │ None │ None │ None │ Declare spack mirror in spack environment │ /home/spack/buildtest/examples/spack/mirror_example.yml │ └──────────────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴───────────────────────────────────────────┴─────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -add_mirror/bca31e22: Creating test directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22 -add_mirror/bca31e22: Creating the stage directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/stage -add_mirror/bca31e22: Writing build script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/add_mirror_build.sh -add_mirror_in_spack_env/a1846e85: Creating test directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85 -add_mirror_in_spack_env/a1846e85: Creating the stage directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/stage -add_mirror_in_spack_env/a1846e85: Writing build script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/add_mirror_in_spack_env_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +add_mirror/5d67c243: Creating test directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243 +add_mirror/5d67c243: Creating the stage directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/stage +add_mirror/5d67c243: Writing build script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/add_mirror_build.sh +add_mirror_in_spack_env/320eba7c: Creating test directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c +add_mirror_in_spack_env/320eba7c: Creating the stage directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/stage +add_mirror_in_spack_env/320eba7c: Writing build script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/add_mirror_in_spack_env_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -add_mirror_in_spack_env/a1846e85 does not have any dependencies adding test to queue -add_mirror/bca31e22 does not have any dependencies adding test to queue -add_mirror_in_spack_env/a1846e85: Current Working Directory : /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/stage -add_mirror/bca31e22: Current Working Directory : /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/stage -add_mirror/bca31e22: Running Test via command: bash --norc --noprofile -eo pipefail add_mirror_build.sh -add_mirror_in_spack_env/a1846e85: Running Test via command: bash --norc --noprofile -eo pipefail add_mirror_in_spack_env_build.sh -add_mirror/bca31e22: Test completed in 1.648925 seconds -add_mirror/bca31e22: Test completed with returncode: 0 -add_mirror/bca31e22: Writing output file - /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/add_mirror.out -add_mirror/bca31e22: Writing error file - /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/add_mirror.err -add_mirror_in_spack_env/a1846e85: Test completed in 2.472932 seconds -add_mirror_in_spack_env/a1846e85: Test completed with returncode: 0 -add_mirror_in_spack_env/a1846e85: Writing output file - /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/add_mirror_in_spack_env.out -add_mirror_in_spack_env/a1846e85: Writing error file - /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/add_mirror_in_spack_env.err -In this iteration we are going to run the following tests: [add_mirror_in_spack_env/a1846e85, add_mirror/bca31e22] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +add_mirror/5d67c243 does not have any dependencies adding test to queue +add_mirror_in_spack_env/320eba7c does not have any dependencies adding test to queue +add_mirror/5d67c243: Current Working Directory : /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/stage +add_mirror_in_spack_env/320eba7c: Current Working Directory : /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/stage +add_mirror/5d67c243: Running Test via command: bash --norc --noprofile -eo pipefail add_mirror_build.sh +add_mirror_in_spack_env/320eba7c: Running Test via command: bash --norc --noprofile -eo pipefail add_mirror_in_spack_env_build.sh +add_mirror/5d67c243: Test completed in 1.295348 seconds +add_mirror/5d67c243: Test completed with returncode: 0 +add_mirror/5d67c243: Writing output file - /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/add_mirror.out +add_mirror/5d67c243: Writing error file - /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/add_mirror.err +add_mirror_in_spack_env/320eba7c: Test completed in 2.10773 seconds +add_mirror_in_spack_env/320eba7c: Test completed with returncode: 0 +add_mirror_in_spack_env/320eba7c: Writing output file - /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/add_mirror_in_spack_env.out +add_mirror_in_spack_env/320eba7c: Writing error file - /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/add_mirror_in_spack_env.err +In this iteration we are going to run the following tests: [add_mirror/5d67c243, add_mirror_in_spack_env/320eba7c] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ add_mirror_in_spack_env/a1846e85 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 2.472932 │ +│ add_mirror/5d67c243 │ generic.local.bash │ PASS │ None None None │ 0 │ 1.295348 │ ├──────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ add_mirror/bca31e22 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 1.648925 │ +│ add_mirror_in_spack_env/320eba7c │ generic.local.bash │ PASS │ None None None │ 0 │ 2.10773 │ └──────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -81,4 +81,4 @@ Failed Tests: 0/2 Percentage: 0.000% Adding 2 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_4jngh05k.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_1jsp5fko.log diff --git a/docs/buildtest_tutorial_examples/spack/build/pre_post_cmds.txt b/docs/buildtest_tutorial_examples/spack/build/pre_post_cmds.txt index ff3552823..3ae042ff1 100644 --- a/docs/buildtest_tutorial_examples/spack/build/pre_post_cmds.txt +++ b/docs/buildtest_tutorial_examples/spack/build/pre_post_cmds.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/pre_post_cmds.yml -╭─────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:15:45 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/pre_post_cmds.yml │ -│ │ -╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭─────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:46:34 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/pre_post_cmds.yml │ +│ │ +╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/pre_post_cmds.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/pre_post_cmds.yml: VALID @@ -36,28 +36,28 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ run_pre_post_commands/3462c60f │ spack │ generic.local.bash │ None │ None │ None │ Install zlib │ /home/spack/buildtest/examples/spack/pre_post_cmds.yml │ +│ run_pre_post_commands/63b3f722 │ spack │ generic.local.bash │ None │ None │ None │ Install zlib │ /home/spack/buildtest/examples/spack/pre_post_cmds.yml │ └────────────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴──────────────┴────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -run_pre_post_commands/3462c60f: Creating test directory: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f -run_pre_post_commands/3462c60f: Creating the stage directory: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/stage -run_pre_post_commands/3462c60f: Writing build script: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/run_pre_post_commands_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +run_pre_post_commands/63b3f722: Creating test directory: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722 +run_pre_post_commands/63b3f722: Creating the stage directory: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/stage +run_pre_post_commands/63b3f722: Writing build script: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/run_pre_post_commands_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -run_pre_post_commands/3462c60f does not have any dependencies adding test to queue -run_pre_post_commands/3462c60f: Current Working Directory : /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/stage -run_pre_post_commands/3462c60f: Running Test via command: bash --norc --noprofile -eo pipefail run_pre_post_commands_build.sh -run_pre_post_commands/3462c60f: Test completed in 2.131195 seconds -run_pre_post_commands/3462c60f: Test completed with returncode: 0 -run_pre_post_commands/3462c60f: Writing output file - /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/run_pre_post_commands.out -run_pre_post_commands/3462c60f: Writing error file - /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/run_pre_post_commands.err -In this iteration we are going to run the following tests: [run_pre_post_commands/3462c60f] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +run_pre_post_commands/63b3f722 does not have any dependencies adding test to queue +run_pre_post_commands/63b3f722: Current Working Directory : /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/stage +run_pre_post_commands/63b3f722: Running Test via command: bash --norc --noprofile -eo pipefail run_pre_post_commands_build.sh +run_pre_post_commands/63b3f722: Test completed in 1.533831 seconds +run_pre_post_commands/63b3f722: Test completed with returncode: 0 +run_pre_post_commands/63b3f722: Writing output file - /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/run_pre_post_commands.out +run_pre_post_commands/63b3f722: Writing error file - /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/run_pre_post_commands.err +In this iteration we are going to run the following tests: [run_pre_post_commands/63b3f722] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ run_pre_post_commands/3462c60f │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 2.131195 │ +│ run_pre_post_commands/63b3f722 │ generic.local.bash │ PASS │ None None None │ 0 │ 1.533831 │ └────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_j5nd58l8.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_6z4jki83.log diff --git a/docs/buildtest_tutorial_examples/spack/build/remove_environment_example.txt b/docs/buildtest_tutorial_examples/spack/build/remove_environment_example.txt index aef779ca1..b1bf7274a 100644 --- a/docs/buildtest_tutorial_examples/spack/build/remove_environment_example.txt +++ b/docs/buildtest_tutorial_examples/spack/build/remove_environment_example.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/remove_environment_example.yml -╭───────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:15:40 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/remove_environment_example.yml │ -│ │ -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭───────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:46:31 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/remove_environment_example.yml │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═════════════════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,52 +27,52 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/remove_environment_exa Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/remove_environment_example.yml: VALID Total builder objects created: 2 - Builders by type=spack -┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ remove_environment_automatically/e9de2b6c │ spack │ generic.local.bash │ None │ None │ None │ remove spack environment automatically before creating a new │ /home/spack/buildtest/examples/spack/remove_environment_example… │ -│ │ │ │ │ │ │ environment │ │ -├───────────────────────────────────────────┼───────┼────────────────────┼──────────┼───────┼───────┼──────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────┤ -│ remove_environment_explicit/fb964c28 │ spack │ generic.local.bash │ None │ None │ None │ remove spack environment explicitly using the 'rm' property │ /home/spack/buildtest/examples/spack/remove_environment_example… │ -└───────────────────────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴──────────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -remove_environment_automatically/e9de2b6c: Creating test directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c -remove_environment_automatically/e9de2b6c: Creating the stage directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c/stage -remove_environment_automatically/e9de2b6c: Writing build script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c/remove_environment_automatically_build.sh -remove_environment_explicit/fb964c28: Creating test directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28 -remove_environment_explicit/fb964c28: Creating the stage directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28/stage -remove_environment_explicit/fb964c28: Writing build script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28/remove_environment_explicit_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── + Builders by type=spack +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ remove_environment_automatically/7258748c │ spack │ generic.local.bash │ None │ None │ None │ remove spack environment automatically before creating a new │ /home/spack/buildtest/examples/spack/remove_environment_exa… │ +│ │ │ │ │ │ │ environment │ │ +├───────────────────────────────────────────┼───────┼────────────────────┼──────────┼───────┼───────┼──────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────┤ +│ remove_environment_explicit/b7f791e0 │ spack │ generic.local.bash │ None │ None │ None │ remove spack environment explicitly using the 'rm' property │ /home/spack/buildtest/examples/spack/remove_environment_exa… │ +└───────────────────────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴──────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────┘ +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +remove_environment_automatically/7258748c: Creating test directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c +remove_environment_automatically/7258748c: Creating the stage directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c/stage +remove_environment_automatically/7258748c: Writing build script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c/remove_environment_automatically_build.sh +remove_environment_explicit/b7f791e0: Creating test directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0 +remove_environment_explicit/b7f791e0: Creating the stage directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0/stage +remove_environment_explicit/b7f791e0: Writing build script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0/remove_environment_explicit_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -remove_environment_explicit/fb964c28 does not have any dependencies adding test to queue -remove_environment_automatically/e9de2b6c does not have any dependencies adding test to queue -remove_environment_explicit/fb964c28: Current Working Directory : /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28/stage -remove_environment_automatically/e9de2b6c: Current Working Directory : /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c/stage -remove_environment_explicit/fb964c28: Running Test via command: bash --norc --noprofile -eo pipefail remove_environment_explicit_build.sh -remove_environment_automatically/e9de2b6c: Running Test via command: bash --norc --noprofile -eo pipefail remove_environment_automatically_build.sh -remove_environment_explicit/fb964c28: Test completed in 3.209879 seconds -remove_environment_automatically/e9de2b6c: Test completed in 3.209501 seconds -remove_environment_explicit/fb964c28: Test completed with returncode: 0 -remove_environment_automatically/e9de2b6c: Test completed with returncode: 0 -remove_environment_explicit/fb964c28: Writing output file - /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28/remove_environment_explicit.out -remove_environment_automatically/e9de2b6c: Writing output file - /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c/remove_environment_automatically.out -remove_environment_explicit/fb964c28: Writing error file - /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28/remove_environment_explicit.err -remove_environment_automatically/e9de2b6c: Writing error file - /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c/remove_environment_automatically.err -In this iteration we are going to run the following tests: [remove_environment_explicit/fb964c28, remove_environment_automatically/e9de2b6c] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +remove_environment_explicit/b7f791e0 does not have any dependencies adding test to queue +remove_environment_automatically/7258748c does not have any dependencies adding test to queue +remove_environment_explicit/b7f791e0: Current Working Directory : /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0/stage +remove_environment_automatically/7258748c: Current Working Directory : /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c/stage +remove_environment_explicit/b7f791e0: Running Test via command: bash --norc --noprofile -eo pipefail remove_environment_explicit_build.sh +remove_environment_automatically/7258748c: Running Test via command: bash --norc --noprofile -eo pipefail remove_environment_automatically_build.sh +remove_environment_explicit/b7f791e0: Test completed in 2.372908 seconds +remove_environment_explicit/b7f791e0: Test completed with returncode: 0 +remove_environment_explicit/b7f791e0: Writing output file - /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0/remove_environment_explicit.out +remove_environment_explicit/b7f791e0: Writing error file - /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0/remove_environment_explicit.err +remove_environment_automatically/7258748c: Test completed in 2.384872 seconds +remove_environment_automatically/7258748c: Test completed with returncode: 0 +remove_environment_automatically/7258748c: Writing output file - /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c/remove_environment_automatically.out +remove_environment_automatically/7258748c: Writing error file - /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c/remove_environment_automatically.err +In this iteration we are going to run the following tests: [remove_environment_explicit/b7f791e0, remove_environment_automatically/7258748c] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ remove_environment_automatically/e9de2b6c │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 3.209501 │ +│ remove_environment_explicit/b7f791e0 │ generic.local.bash │ PASS │ None None None │ 0 │ 2.372908 │ ├───────────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ -│ remove_environment_explicit/fb964c28 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 3.209879 │ +│ remove_environment_automatically/7258748c │ generic.local.bash │ PASS │ None None None │ 0 │ 2.384872 │ └───────────────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -82,4 +82,4 @@ Failed Tests: 0/2 Percentage: 0.000% Adding 2 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_irqqj0d_.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_80dhu3km.log diff --git a/docs/buildtest_tutorial_examples/spack/build/spack_sbatch.txt b/docs/buildtest_tutorial_examples/spack/build/spack_sbatch.txt index 366a87710..ea86fb1fa 100644 --- a/docs/buildtest_tutorial_examples/spack/build/spack_sbatch.txt +++ b/docs/buildtest_tutorial_examples/spack/build/spack_sbatch.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/spack_sbatch.yml -╭────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:16:01 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/spack_sbatch.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:46:50 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/spack_sbatch.yml │ +│ │ +╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═══════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/spack_sbatch.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/spack_sbatch.yml: VALID @@ -36,28 +36,28 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ spack_sbatch_example/af908912 │ spack │ generic.local.bash │ None │ None │ None │ sbatch directives can be defined in spack schema │ /home/spack/buildtest/examples/spack/spack_sbatch.yml │ +│ spack_sbatch_example/f86aa2f5 │ spack │ generic.local.bash │ None │ None │ None │ sbatch directives can be defined in spack schema │ /home/spack/buildtest/examples/spack/spack_sbatch.yml │ └───────────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴──────────────────────────────────────────────────┴───────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -spack_sbatch_example/af908912: Creating test directory: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912 -spack_sbatch_example/af908912: Creating the stage directory: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912/stage -spack_sbatch_example/af908912: Writing build script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912/spack_sbatch_example_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +spack_sbatch_example/f86aa2f5: Creating test directory: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5 +spack_sbatch_example/f86aa2f5: Creating the stage directory: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5/stage +spack_sbatch_example/f86aa2f5: Writing build script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5/spack_sbatch_example_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -spack_sbatch_example/af908912 does not have any dependencies adding test to queue -spack_sbatch_example/af908912: Current Working Directory : /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912/stage -spack_sbatch_example/af908912: Running Test via command: bash --norc --noprofile -eo pipefail spack_sbatch_example_build.sh -spack_sbatch_example/af908912: Test completed in 1.462574 seconds -spack_sbatch_example/af908912: Test completed with returncode: 0 -spack_sbatch_example/af908912: Writing output file - /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912/spack_sbatch_example.out -spack_sbatch_example/af908912: Writing error file - /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912/spack_sbatch_example.err -In this iteration we are going to run the following tests: [spack_sbatch_example/af908912] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +spack_sbatch_example/f86aa2f5 does not have any dependencies adding test to queue +spack_sbatch_example/f86aa2f5: Current Working Directory : /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5/stage +spack_sbatch_example/f86aa2f5: Running Test via command: bash --norc --noprofile -eo pipefail spack_sbatch_example_build.sh +spack_sbatch_example/f86aa2f5: Test completed in 3.825424 seconds +spack_sbatch_example/f86aa2f5: Test completed with returncode: 0 +spack_sbatch_example/f86aa2f5: Writing output file - /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5/spack_sbatch_example.out +spack_sbatch_example/f86aa2f5: Writing error file - /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5/spack_sbatch_example.err +In this iteration we are going to run the following tests: [spack_sbatch_example/f86aa2f5] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ spack_sbatch_example/af908912 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 1.462574 │ +│ spack_sbatch_example/f86aa2f5 │ generic.local.bash │ PASS │ None None None │ 0 │ 3.825424 │ └───────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_mqsgyhgo.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_zp2e3f2p.log diff --git a/docs/buildtest_tutorial_examples/spack/build/spack_test.txt b/docs/buildtest_tutorial_examples/spack/build/spack_test.txt index c4ef20ea2..e09b1d951 100644 --- a/docs/buildtest_tutorial_examples/spack/build/spack_test.txt +++ b/docs/buildtest_tutorial_examples/spack/build/spack_test.txt @@ -1,22 +1,22 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/spack_test.yml -╭───────────────────────────────────── buildtest summary ─────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: 94e3cbc65331 │ -│ Platform: Linux │ -│ Current Time: 2023/04/25 13:45:42 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.3 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest bd -b examples/spack/spack_test.yml │ -│ │ -╰─────────────────────────────────────────────────────────────────────────────────────────────╯ -─────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── - Discovered buildspecs +╭───────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:46:40 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/spack_test.yml │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── + Discovered buildspecs ╔═════════════════════════════════════════════════════╗ ║ buildspec ║ ╟─────────────────────────────────────────────────────╢ @@ -27,38 +27,38 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/spack_test.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/spack_test.yml: VALID Total builder objects created: 1 - Builders by type=spack + Builders by type=spack ┏━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ spack_test_m4/63314812 │ spack │ generic.local.bash │ None │ None │ None │ Run spack test for m4 package and report results │ /home/spack/buildtest/examples/spack/spack_test.yml │ +│ spack_test_m4/10440e33 │ spack │ generic.local.bash │ None │ None │ None │ Run spack test for m4 package and report results │ /home/spack/buildtest/examples/spack/spack_test.yml │ └────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴──────────────────────────────────────────────────┴─────────────────────────────────────────────────────┘ -──────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ───────────────────────────────────────────────────────────────────────────────────────────────────────────── -spack_test_m4/63314812: Creating test directory: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812 -spack_test_m4/63314812: Creating the stage directory: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/stage -spack_test_m4/63314812: Writing build script: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/spack_test_m4_build.sh -──────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ───────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +spack_test_m4/10440e33: Creating test directory: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33 +spack_test_m4/10440e33: Creating the stage directory: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/stage +spack_test_m4/10440e33: Writing build script: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/spack_test_m4_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -───────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -spack_test_m4/63314812 does not have any dependencies adding test to queue -In this iteration we are going to run the following tests: [spack_test_m4/63314812] -spack_test_m4/63314812: Current Working Directory : /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/stage -spack_test_m4/63314812: Running Test via command: bash --norc --noprofile -eo pipefail spack_test_m4_build.sh -spack_test_m4/63314812: Test completed in 1.39538 seconds -spack_test_m4/63314812: Test completed with returncode: 0 -spack_test_m4/63314812: Writing output file - /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/spack_test_m4.out -spack_test_m4/63314812: Writing error file - /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/spack_test_m4.err - Test Summary -┏━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓ -┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ -┡━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩ -│ spack_test_m4/63314812 │ generic.local.bash │ PASS │ None None None │ 0 │ 1.39538 │ -└────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴─────────┘ +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +spack_test_m4/10440e33 does not have any dependencies adding test to queue +spack_test_m4/10440e33: Current Working Directory : /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/stage +spack_test_m4/10440e33: Running Test via command: bash --norc --noprofile -eo pipefail spack_test_m4_build.sh +spack_test_m4/10440e33: Test completed in 1.776058 seconds +spack_test_m4/10440e33: Test completed with returncode: 0 +spack_test_m4/10440e33: Writing output file - /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/spack_test_m4.out +spack_test_m4/10440e33: Writing error file - /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/spack_test_m4.err +In this iteration we are going to run the following tests: [spack_test_m4/10440e33] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ spack_test_m4/10440e33 │ generic.local.bash │ PASS │ None None None │ 0 │ 1.776058 │ +└────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_q357l26y.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_380_i89j.log diff --git a/docs/buildtest_tutorial_examples/spack/build/spack_test_specs.txt b/docs/buildtest_tutorial_examples/spack/build/spack_test_specs.txt index b0d4619f2..a899e826e 100644 --- a/docs/buildtest_tutorial_examples/spack/build/spack_test_specs.txt +++ b/docs/buildtest_tutorial_examples/spack/build/spack_test_specs.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/spack_test_specs.yml -╭──────────────────────────────────────────────────── buildtest summary ─────────────────────────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: f215b09d0d2f │ -│ Platform: Linux │ -│ Current Time: 2023/02/06 21:15:54 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 1.1 │ -│ python path: /home/spack/pyenv/buildtest/bin/python3 │ -│ python version: 3.8.6 │ -│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ -│ Test Directory: /home/spack/runs │ -│ Report File: /home/spack/buildtest/var/report.json │ -│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/spack_test_specs.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -───────────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────────── +╭──────────────────────────────────────────────────── buildtest summary ─────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: 0fee8530c3a4 │ +│ Platform: Linux │ +│ Current Time: 2023/07/14 18:46:43 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 1.4 │ +│ python path: /home/spack/pyenv/buildtest/bin/python3 │ +│ python version: 3.8.6 │ +│ Configuration File: /home/spack/buildtest/buildtest/settings/spack_container.yml │ +│ Test Directory: /home/spack/runs │ +│ Report File: /home/spack/buildtest/var/report.json │ +│ Command: /home/spack/buildtest/bin/buildtest build -b /home/spack/buildtest/examples/spack/spack_test_specs.yml │ +│ │ +╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +───────────────────────────────────────────────────────────────────────────────────────────────────── Discovering Buildspecs ───────────────────────────────────────────────────────────────────────────────────────────────────── Discovered buildspecs ╔═══════════════════════════════════════════════════════════╗ ║ buildspec ║ @@ -27,7 +27,7 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/spack_test_specs.yml Total Discovered Buildspecs: 1 Total Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 -─────────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────────── +─────────────────────────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ──────────────────────────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/spack_test_specs.yml: VALID @@ -36,28 +36,28 @@ Total builder objects created: 1 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ builder ┃ type ┃ executor ┃ compiler ┃ nodes ┃ procs ┃ description ┃ buildspecs ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ spack_test_results_specs_format/23f16eff │ spack │ generic.local.bash │ None │ None │ None │ Run spack test results with spec format │ /home/spack/buildtest/examples/spack/spack_test_specs.yml │ +│ spack_test_results_specs_format/14270fab │ spack │ generic.local.bash │ None │ None │ None │ Run spack test results with spec format │ /home/spack/buildtest/examples/spack/spack_test_specs.yml │ └──────────────────────────────────────────┴───────┴────────────────────┴──────────┴───────┴───────┴─────────────────────────────────────────┴───────────────────────────────────────────────────────────┘ -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────────── -spack_test_results_specs_format/23f16eff: Creating test directory: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff -spack_test_results_specs_format/23f16eff: Creating the stage directory: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/stage -spack_test_results_specs_format/23f16eff: Writing build script: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/spack_test_results_specs_format_build.sh -────────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────────── +────────────────────────────────────────────────────────────────────────────────────────────────────────── Building Test ────────────────────────────────────────────────────────────────────────────────────────────────────────── +spack_test_results_specs_format/14270fab: Creating test directory: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab +spack_test_results_specs_format/14270fab: Creating the stage directory: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/stage +spack_test_results_specs_format/14270fab: Writing build script: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/spack_test_results_specs_format_build.sh +────────────────────────────────────────────────────────────────────────────────────────────────────────── Running Tests ────────────────────────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -─────────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── -spack_test_results_specs_format/23f16eff does not have any dependencies adding test to queue -spack_test_results_specs_format/23f16eff: Current Working Directory : /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/stage -spack_test_results_specs_format/23f16eff: Running Test via command: bash --norc --noprofile -eo pipefail spack_test_results_specs_format_build.sh -spack_test_results_specs_format/23f16eff: Test completed in 5.392834 seconds -spack_test_results_specs_format/23f16eff: Test completed with returncode: 0 -spack_test_results_specs_format/23f16eff: Writing output file - /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/spack_test_results_specs_format.out -spack_test_results_specs_format/23f16eff: Writing error file - /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/spack_test_results_specs_format.err -In this iteration we are going to run the following tests: [spack_test_results_specs_format/23f16eff] +─────────────────────────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── +spack_test_results_specs_format/14270fab does not have any dependencies adding test to queue +spack_test_results_specs_format/14270fab: Current Working Directory : /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/stage +spack_test_results_specs_format/14270fab: Running Test via command: bash --norc --noprofile -eo pipefail spack_test_results_specs_format_build.sh +spack_test_results_specs_format/14270fab: Test completed in 5.893645 seconds +spack_test_results_specs_format/14270fab: Test completed with returncode: 0 +spack_test_results_specs_format/14270fab: Writing output file - /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/spack_test_results_specs_format.out +spack_test_results_specs_format/14270fab: Writing error file - /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/spack_test_results_specs_format.err +In this iteration we are going to run the following tests: [spack_test_results_specs_format/14270fab] Test Summary ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ ┃ builder ┃ executor ┃ status ┃ checks (ReturnCode, Regex, Runtime) ┃ returncode ┃ runtime ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ spack_test_results_specs_format/23f16eff │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 5.392834 │ +│ spack_test_results_specs_format/14270fab │ generic.local.bash │ PASS │ None None None │ 0 │ 5.893645 │ └──────────────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -67,4 +67,4 @@ Failed Tests: 0/1 Percentage: 0.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_rufrepjr.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_zyoqo248.log diff --git a/docs/buildtest_tutorial_examples/spack/inspect/e4s_testsuite_mpich.txt b/docs/buildtest_tutorial_examples/spack/inspect/e4s_testsuite_mpich.txt index 4f923965f..9c44dc867 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/e4s_testsuite_mpich.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/e4s_testsuite_mpich.txt @@ -1,85 +1,134 @@ -$ buildtest inspect query -o -e --testpath mpich_e4s_testsuite -──────────────────────────────────────────────────────────────────────────────────────── mpich_e4s_testsuite/a14380f6-722c-4d81-bc3d-4e051ae6f791 ───────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query -o -e --testpath mpich_e4s_testsuite +──────────────────────────────────────────────────────────────────────────────────── mpich_e4s_testsuite/0c47b479-3a67-45c4-aef5-4dfdfe61232d ───────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Run E4S Testsuite mpich test State: PASS Returncode: 0 -Runtime: 10.008118 sec -Starttime: 2023/02/06 21:16:03 -Endtime: 2023/02/06 21:16:13 +Runtime: 45.002633 sec +Starttime: 2023/07/14 18:46:55 +Endtime: 2023/07/14 18:47:40 Command: bash --norc --noprofile -eo pipefail mpich_e4s_testsuite_build.sh -Test Script: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/mpich_e4s_testsuite.sh -Build Script: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/mpich_e4s_testsuite_build.sh -Output File: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/mpich_e4s_testsuite.out -Error File: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/mpich_e4s_testsuite.err -Log File: /home/spack/buildtest/var/logs/buildtest_tnz33e2f.log -──────────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/mpich_e4s_testsuite.out ──────────────────────────────────────────────────────── -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libsigsegv-2.12-lbrx7lnfz46ukewxbhxnucmx76g23c6q -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/berkeley-db-18.1.40-4ihuiazsglf22f3pntq5hc4kyszqzexn -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/pkgconf-1.7.3-4sh6pymrm2ms4auu3ajbjjr6fiuhz5g7 -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/util-macros-1.19.1-gs6ag7ktdoiirb62t7bcagjw62szrrg2 -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libiconv-1.16-jearpk4xci4zc7dkrza4fufaqfkq7rfl -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/xz-5.2.5-komekkmyciga3kl24edjmredhj3uyt7v -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.11-smoyzzo2qhzpn6mg6rd3l2p7b23enshg -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/m4-1.4.18-mkc3u4x2p2wie6jfhuku7g5rkovcrxps -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/ncurses-6.2-crhlefo3dv7lmsv5pf4icsy4gepkdorm -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libtool-2.4.6-jdxbjftheiotj6solpomva7dowrhlerl -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/readline-8.0-t54jzdy2jj4snltjazlm3br2urcilc6v -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libpciaccess-0.16-bob4o5m3uku6vtdil5imasprgy775zg7 -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/gdbm-1.18.1-4av4gywgpaspkhy3dvbb62nulqogtzbb -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/hwloc-2.2.0-a4cxlu767bxxceahypqpj2gjdt7hmhvm -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/perl-5.32.0-zfdvt2jjuaees43ffrrtphqs2ky3o22t -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/autoconf-2.69-mm33a3ocsv3jsh2tfxc4mlab4xsurtdd -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/texinfo-6.5-p46ba5qb5wvx6a2bneh4vlurqusz35bj -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/automake-1.16.2-d2krmb5gweivlnztcymhklzsqbrpatt6 -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/findutils-4.6.0-hrv4dx5txigi2la7siu3qsa7cervn7tv -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/mpich-3.3.2-vbelg5sthuytvkxbrvue2alphviggiur -=== -validation_tests/mpich ----RUN LOG--- - -──────────────────────────────────────────────────────── Error File: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/mpich_e4s_testsuite.err ───────────────────────────────────────────────────────── -Cloning into 'testsuite'... -Updating files: 95% (13345/14026) -Updating files: 96% (13465/14026) -Updating files: 97% (13606/14026) -Updating files: 98% (13746/14026) -Updating files: 99% (13886/14026) -Updating files: 100% (14026/14026) -Updating files: 100% (14026/14026), done. -mpich : vbelg5s -Cleaning /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/stage/testsuite/validation_tests/mpich ----CLEANUP LOG--- -rm -f *.o initfinalize sendrecv broadcast onesided -Compiling /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/stage/testsuite/validation_tests/mpich ----COMPILE LOG--- -Skipping load: Environment already setup -mpicc -Wall -g -c initfinalize.c -mpicc -o initfinalize initfinalize.o -mpicc -Wall -g -c sendrecv.c -mpicc -o sendrecv sendrecv.o -mpicc -Wall -g -c broadcast.c -mpicc -o broadcast broadcast.o -mpicc -Wall -g -c onesided.c -mpicc -o onesided onesided.o -Running /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/stage/testsuite/validation_tests/mpich -Skipping load: Environment already setup -Running initfinalize - [PASSED] -Running sendrecv - [PASSED] -Running broadcast - [PASSED] -Running onesided - [PASSED] -Success - -───────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/a14380f6/mpich_e4s_testsuite.sh ────────────────────────────────────────────────────────── -#!/bin/bash -# Content of run section -spack install mpich -git clone https://github.com/E4S-Project/testsuite -cd testsuite -bash test-all.sh --color-off validation_tests/mpich --print-logs - +Test Script: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/mpich_e4s_testsuite.sh +Build Script: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/mpich_e4s_testsuite_build.sh +Output File: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/mpich_e4s_testsuite.out +Error File: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/mpich_e4s_testsuite.err +Log File: /home/spack/buildtest/var/logs/buildtest_6ytwg9ap.log +──────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/mpich_e4s_testsuite.out ──────────────────────────────────────────────────── +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libsigsegv-2.12-lbrx7lnfz46ukewxbhxnucmx76g23c6q +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/berkeley-db-18.1.40-4ihuiazsglf22f3pntq5hc4kyszqzexn +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/pkgconf-1.7.3-4sh6pymrm2ms4auu3ajbjjr6fiuhz5g7 +==> Installing util-macros-1.19.1-gs6ag7ktdoiirb62t7bcagjw62szrrg2 +==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-7.5.0/util-macros-1.19.1/linux-ubuntu18.04-x86_64-gcc-7.5.0-util-macros-1.19.1-gs6ag7ktdoiirb62t7bcagjw62szrrg2.spack +==> Extracting util-macros-1.19.1-gs6ag7ktdoiirb62t7bcagjw62szrrg2 from binary cache +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/util-macros-1.19.1-gs6ag7ktdoiirb62t7bcagjw62szrrg2 +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libiconv-1.16-jearpk4xci4zc7dkrza4fufaqfkq7rfl +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/xz-5.2.5-komekkmyciga3kl24edjmredhj3uyt7v +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.11-smoyzzo2qhzpn6mg6rd3l2p7b23enshg +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/m4-1.4.18-mkc3u4x2p2wie6jfhuku7g5rkovcrxps +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/ncurses-6.2-crhlefo3dv7lmsv5pf4icsy4gepkdorm +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libtool-2.4.6-jdxbjftheiotj6solpomva7dowrhlerl +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/readline-8.0-t54jzdy2jj4snltjazlm3br2urcilc6v +==> Installing libpciaccess-0.16-bob4o5m3uku6vtdil5imasprgy775zg7 +==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-7.5.0/libpciaccess-0.16/linux-ubuntu18.04-x86_64-gcc-7.5.0-libpciaccess-0.16-bob4o5m3uku6vtdil5imasprgy775zg7.spack +==> Extracting libpciaccess-0.16-bob4o5m3uku6vtdil5imasprgy775zg7 from binary cache +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libpciaccess-0.16-bob4o5m3uku6vtdil5imasprgy775zg7 +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/gdbm-1.18.1-4av4gywgpaspkhy3dvbb62nulqogtzbb +==> Installing hwloc-2.2.0-a4cxlu767bxxceahypqpj2gjdt7hmhvm +==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-7.5.0/hwloc-2.2.0/linux-ubuntu18.04-x86_64-gcc-7.5.0-hwloc-2.2.0-a4cxlu767bxxceahypqpj2gjdt7hmhvm.spack +==> Extracting hwloc-2.2.0-a4cxlu767bxxceahypqpj2gjdt7hmhvm from binary cache +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/hwloc-2.2.0-a4cxlu767bxxceahypqpj2gjdt7hmhvm +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/perl-5.32.0-zfdvt2jjuaees43ffrrtphqs2ky3o22t +==> Installing texinfo-6.5-p46ba5qb5wvx6a2bneh4vlurqusz35bj +==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-7.5.0/texinfo-6.5/linux-ubuntu18.04-x86_64-gcc-7.5.0-texinfo-6.5-p46ba5qb5wvx6a2bneh4vlurqusz35bj.spack +==> Extracting texinfo-6.5-p46ba5qb5wvx6a2bneh4vlurqusz35bj from binary cache +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/texinfo-6.5-p46ba5qb5wvx6a2bneh4vlurqusz35bj +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/autoconf-2.69-mm33a3ocsv3jsh2tfxc4mlab4xsurtdd +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/automake-1.16.2-d2krmb5gweivlnztcymhklzsqbrpatt6 +==> Installing findutils-4.6.0-hrv4dx5txigi2la7siu3qsa7cervn7tv +==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-7.5.0/findutils-4.6.0/linux-ubuntu18.04-x86_64-gcc-7.5.0-findutils-4.6.0-hrv4dx5txigi2la7siu3qsa7cervn7tv.spack +==> Extracting findutils-4.6.0-hrv4dx5txigi2la7siu3qsa7cervn7tv from binary cache +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/findutils-4.6.0-hrv4dx5txigi2la7siu3qsa7cervn7tv +==> Installing mpich-3.3.2-vbelg5sthuytvkxbrvue2alphviggiur +==> Fetching file:///mirror/build_cache/linux-ubuntu18.04-x86_64/gcc-7.5.0/mpich-3.3.2/linux-ubuntu18.04-x86_64-gcc-7.5.0-mpich-3.3.2-vbelg5sthuytvkxbrvue2alphviggiur.spack +==> Extracting mpich-3.3.2-vbelg5sthuytvkxbrvue2alphviggiur from binary cache +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/mpich-3.3.2-vbelg5sthuytvkxbrvue2alphviggiur +=== +validation_tests/mpich +---RUN LOG--- + +──────────────────────────────────────────────────── Error File: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/mpich_e4s_testsuite.err ───────────────────────────────────────────────────── +gpgconf: socketdir is '/home/spack/.gnupg' +gpgconf: no /run/user dir +gpgconf: using homedir as fallback +Cloning into 'testsuite'... +Updating files: 67% (9474/14073) +Updating files: 68% (9570/14073) +Updating files: 69% (9711/14073) +Updating files: 70% (9852/14073) +Updating files: 71% (9992/14073) +Updating files: 72% (10133/14073) +Updating files: 73% (10274/14073) +Updating files: 74% (10415/14073) +Updating files: 75% (10555/14073) +Updating files: 76% (10696/14073) +Updating files: 77% (10837/14073) +Updating files: 78% (10977/14073) +Updating files: 79% (11118/14073) +Updating files: 80% (11259/14073) +Updating files: 81% (11400/14073) +Updating files: 82% (11540/14073) +Updating files: 83% (11681/14073) +Updating files: 84% (11822/14073) +Updating files: 85% (11963/14073) +Updating files: 86% (12103/14073) +Updating files: 87% (12244/14073) +Updating files: 88% (12385/14073) +Updating files: 89% (12525/14073) +Updating files: 90% (12666/14073) +Updating files: 91% (12807/14073) +Updating files: 92% (12948/14073) +Updating files: 93% (13088/14073) +Updating files: 94% (13229/14073) +Updating files: 95% (13370/14073) +Updating files: 96% (13511/14073) +Updating files: 97% (13651/14073) +Updating files: 98% (13792/14073) +Updating files: 99% (13933/14073) +Updating files: 100% (14073/14073) +Updating files: 100% (14073/14073), done. +mpich : vbelg5s +Cleaning /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/stage/testsuite/validation_tests/mpich +---CLEANUP LOG--- +rm -f *.o initfinalize sendrecv broadcast onesided +Compiling /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/stage/testsuite/validation_tests/mpich +---COMPILE LOG--- +Skipping load: Environment already setup +mpicc -Wall -g -c initfinalize.c +mpicc -o initfinalize initfinalize.o +mpicc -Wall -g -c sendrecv.c +mpicc -o sendrecv sendrecv.o +mpicc -Wall -g -c broadcast.c +mpicc -o broadcast broadcast.o +mpicc -Wall -g -c onesided.c +mpicc -o onesided onesided.o +Running /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/stage/testsuite/validation_tests/mpich +Skipping load: Environment already setup +Running initfinalize + [PASSED] +Running sendrecv + [PASSED] +Running broadcast + [PASSED] +Running onesided + [PASSED] +Success + +───────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/e4s_testsuite_mpich/mpich_e4s_testsuite/0c47b479/mpich_e4s_testsuite.sh ────────────────────────────────────────────────────── +#!/bin/bash +# Content of run section +spack install mpich +git clone https://github.com/E4S-Project/testsuite +cd testsuite +bash test-all.sh --color-off validation_tests/mpich --print-logs + diff --git a/docs/buildtest_tutorial_examples/spack/inspect/env_create_directory.txt b/docs/buildtest_tutorial_examples/spack/inspect/env_create_directory.txt index 0a6a3e428..0c11a030e 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/env_create_directory.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/env_create_directory.txt @@ -1,50 +1,50 @@ -$ buildtest inspect query -o --testpath spack_env_directory -──────────────────────────────────────────────────────────────────────────────────────── spack_env_directory/c5e078b9-e1a7-44a7-b00c-662e89d196db ───────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query -o --testpath spack_env_directory +──────────────────────────────────────────────────────────────────────────────────── spack_env_directory/490db0c3-43d9-4660-8b5b-1523d2fff912 ───────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: create spack environment in directory State: PASS Returncode: 0 -Runtime: 2.792924 sec -Starttime: 2023/02/06 21:15:30 -Endtime: 2023/02/06 21:15:33 +Runtime: 2.285139 sec +Starttime: 2023/07/14 18:46:23 +Endtime: 2023/07/14 18:46:25 Command: bash --norc --noprofile -eo pipefail spack_env_directory_build.sh -Test Script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/spack_env_directory.sh -Build Script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/spack_env_directory_build.sh -Output File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/spack_env_directory.out -Error File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/spack_env_directory.err -Log File: /home/spack/buildtest/var/logs/buildtest_449ujhuy.log -─────────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/spack_env_directory.out ──────────────────────────────────────────────────────── -==> Updating view at /home/spack/spack-envs/m4/.spack-env/view -==> Created environment in /home/spack/spack-envs/m4 -==> You can activate this environment with: -==> spack env activate /home/spack/spack-envs/m4 -==> Adding m4 to environment /home/spack/spack-envs/m4 -==> Updating view at /home/spack/spack-envs/m4/.spack-env/view -==> Concretized m4 -[+] mkc3u4x m4@1.4.18%gcc@7.5.0+sigsegv patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00,fc9b61654a3ba1a8d6cd78ce087e7c96366c290bc8d2c299f09828d793b853c8 arch=linux-ubuntu18.04-x86_64 -[+] lbrx7ln ^libsigsegv@2.12%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 -==> Installing environment /home/spack/spack-envs/m4 -==> All of the packages are already installed -==> Updating view at /home/spack/spack-envs/m4/.spack-env/view -==> In environment /home/spack/spack-envs/m4 -==> Root specs -m4 --- linux-ubuntu18.04-x86_64 / gcc@7.5.0 ------------------------- -libsigsegv@2.12 -m4@1.4.18 - -───────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/c5e078b9/spack_env_directory.sh ───────────────────────────────────────────────────────── -#!/bin/bash -source /home/spack/spack/share/spack/setup-env.sh -spack env create -d /home/spack/spack-envs/m4 -spack env activate -d /home/spack/spack-envs/m4 -spack add m4 -spack install - - -######## START OF POST COMMANDS ######## -spack find -rm -rf $HOME/spack-envs/m4 -######## END OF POST COMMANDS ######## - - +Test Script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/spack_env_directory.sh +Build Script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/spack_env_directory_build.sh +Output File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/spack_env_directory.out +Error File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/spack_env_directory.err +Log File: /home/spack/buildtest/var/logs/buildtest_lzbl78sy.log +─────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/spack_env_directory.out ──────────────────────────────────────────────────── +==> Updating view at /home/spack/spack-envs/m4/.spack-env/view +==> Created environment in /home/spack/spack-envs/m4 +==> You can activate this environment with: +==> spack env activate /home/spack/spack-envs/m4 +==> Adding m4 to environment /home/spack/spack-envs/m4 +==> Updating view at /home/spack/spack-envs/m4/.spack-env/view +==> Concretized m4 +[+] mkc3u4x m4@1.4.18%gcc@7.5.0+sigsegv patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00,fc9b61654a3ba1a8d6cd78ce087e7c96366c290bc8d2c299f09828d793b853c8 arch=linux-ubuntu18.04-x86_64 +[+] lbrx7ln ^libsigsegv@2.12%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 +==> Installing environment /home/spack/spack-envs/m4 +==> All of the packages are already installed +==> Updating view at /home/spack/spack-envs/m4/.spack-env/view +==> In environment /home/spack/spack-envs/m4 +==> Root specs +m4 +-- linux-ubuntu18.04-x86_64 / gcc@7.5.0 ------------------------- +libsigsegv@2.12 +m4@1.4.18 + +───────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/490db0c3/spack_env_directory.sh ───────────────────────────────────────────────────── +#!/bin/bash +source /home/spack/spack/share/spack/setup-env.sh +spack env create -d /home/spack/spack-envs/m4 +spack env activate -d /home/spack/spack-envs/m4 +spack add m4 +spack install + + +######## START OF POST COMMANDS ######## +spack find +rm -rf $HOME/spack-envs/m4 +######## END OF POST COMMANDS ######## + + diff --git a/docs/buildtest_tutorial_examples/spack/inspect/env_create_manifest.txt b/docs/buildtest_tutorial_examples/spack/inspect/env_create_manifest.txt index 841c21a4b..9e9d9720d 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/env_create_manifest.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/env_create_manifest.txt @@ -1,50 +1,53 @@ -$ buildtest inspect query -o --testpath spack_env_create_from_manifest -─────────────────────────────────────────────────────────────────────────────────── spack_env_create_from_manifest/28fc5836-60b1-41d2-9b72-677bb011d12f ─────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query -o --testpath spack_env_create_from_manifest +─────────────────────────────────────────────────────────────────────────────── spack_env_create_from_manifest/7e04b3e5-3626-490c-b107-a84b1fbae3e7 ─────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Create spack environment from spack.yaml State: PASS Returncode: 0 -Runtime: 5.213226 sec -Starttime: 2023/02/06 21:15:34 -Endtime: 2023/02/06 21:15:39 +Runtime: 3.967062 sec +Starttime: 2023/07/14 18:46:26 +Endtime: 2023/07/14 18:46:30 Command: bash --norc --noprofile -eo pipefail spack_env_create_from_manifest_build.sh -Test Script: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/spack_env_create_from_manifest.sh -Build Script: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/spack_env_create_from_manifest_build.sh -Output File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/spack_env_create_from_manifest.out -Error File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/spack_env_create_from_manifest.err -Log File: /home/spack/buildtest/var/logs/buildtest_ygsddohd.log -───────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/spack_env_create_from_manifest.out ───────────────────────────────────────────── -==> Concretized m4 - - mkc3u4x m4@1.4.18%gcc@7.5.0+sigsegv patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00,fc9b61654a3ba1a8d6cd78ce087e7c96366c290bc8d2c299f09828d793b853c8 arch=linux-ubuntu18.04-x86_64 - - lbrx7ln ^libsigsegv@2.12%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 -==> Concretized zlib - - smoyzzo zlib@1.2.11%gcc@7.5.0+optimize+pic+shared arch=linux-ubuntu18.04-x86_64 -==> Concretized python - - szj7juk python@3.8.6%gcc@7.5.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib patches=0d98e93189bc278fbc37a50ed7f183bd8aaf249a8e1670a465f0db6bb4f8c - - fvfpt26 ^bzip2@1.0.8%gcc@7.5.0+shared arch=linux-ubuntu18.04-x86_64 - - otkkten ^diffutils@3.7%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 - - jearpk4 ^libiconv@1.16%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 - - ba7brxj ^expat@2.2.10%gcc@7.5.0+libbsd arch=linux-ubuntu18.04-x86_64 - - u6ue7vw ^libbsd@0.10.0%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 - - 4av4gyw ^gdbm@1.18.1%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 - - t54jzdy ^readline@8.0%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 - - crhlefo ^ncurses@6.2%gcc@7.5.0~symlinks+termlib arch=linux-ubuntu18.04-x86_64 - - 4sh6pym ^pkgconf@1.7.3%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 - - lbb45to ^gettext@0.21%gcc@7.5.0+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-ubuntu18.04-x86_64 - - yn2r3wf ^libxml2@2.9.10%gcc@7.5.0~python arch=linux-ubuntu18.04-x86_64 - - komekkm ^xz@5.2.5%gcc@7.5.0~pic arch=linux-ubuntu18.04-x86_64 - - smoyzzo ^zlib@1.2.11%gcc@7.5.0+optimize+pic+shared arch=linux-ubuntu18.04-x86_64 - - uwe6tb5 ^tar@1.32%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 - - hyhbnrm ^libffi@3.3%gcc@7.5.0 patches=26f26c6f29a7ce9bf370ad3ab2610f99365b4bdd7b82e7c31df41a3370d685c0 arch=linux-ubuntu18.04-x86_64 - - wuyj2ax ^libuuid@1.0.3%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 - - es377uq ^openssl@1.1.1h%gcc@7.5.0+systemcerts arch=linux-ubuntu18.04-x86_64 - - zfdvt2j ^perl@5.32.0%gcc@7.5.0+cpanm+shared+threads arch=linux-ubuntu18.04-x86_64 - - 4ihuiaz ^berkeley-db@18.1.40%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 - - rhv2o7b ^sqlite@3.33.0%gcc@7.5.0+column_metadata+fts~functions~rtree arch=linux-ubuntu18.04-x86_64 - -────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/28fc5836/spack_env_create_from_manifest.sh ─────────────────────────────────────────────── -#!/bin/bash -source /home/spack/spack/share/spack/setup-env.sh -spack env create manifest_example /home/spack/buildtest/examples/spack/example/spack.yaml -spack env activate manifest_example -spack concretize -f +Test Script: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/spack_env_create_from_manifest.sh +Build Script: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/spack_env_create_from_manifest_build.sh +Output File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/spack_env_create_from_manifest.out +Error File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/spack_env_create_from_manifest.err +Log File: /home/spack/buildtest/var/logs/buildtest_e2ttpy9a.log +───────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/spack_env_create_from_manifest.out ───────────────────────────────────────── +==> Created environment 'manifest_example' in /home/spack/spack/var/spack/environments/manifest_example +==> You can activate this environment with: +==> spack env activate manifest_example +==> Concretized m4 + - mkc3u4x m4@1.4.18%gcc@7.5.0+sigsegv patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00,fc9b61654a3ba1a8d6cd78ce087e7c96366c290bc8d2c299f09828d793b853c8 arch=linux-ubuntu18.04-x86_64 + - lbrx7ln ^libsigsegv@2.12%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 +==> Concretized zlib + - smoyzzo zlib@1.2.11%gcc@7.5.0+optimize+pic+shared arch=linux-ubuntu18.04-x86_64 +==> Concretized python + - szj7juk python@3.8.6%gcc@7.5.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib patches=0d98e93189bc278fbc37a50ed7f183bd8aaf249a8e1670a465f0d + - fvfpt26 ^bzip2@1.0.8%gcc@7.5.0+shared arch=linux-ubuntu18.04-x86_64 + - otkkten ^diffutils@3.7%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 + - jearpk4 ^libiconv@1.16%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 + - ba7brxj ^expat@2.2.10%gcc@7.5.0+libbsd arch=linux-ubuntu18.04-x86_64 + - u6ue7vw ^libbsd@0.10.0%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 + - 4av4gyw ^gdbm@1.18.1%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 + - t54jzdy ^readline@8.0%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 + - crhlefo ^ncurses@6.2%gcc@7.5.0~symlinks+termlib arch=linux-ubuntu18.04-x86_64 + - 4sh6pym ^pkgconf@1.7.3%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 + - lbb45to ^gettext@0.21%gcc@7.5.0+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-ubuntu18.04-x86_64 + - yn2r3wf ^libxml2@2.9.10%gcc@7.5.0~python arch=linux-ubuntu18.04-x86_64 + - komekkm ^xz@5.2.5%gcc@7.5.0~pic arch=linux-ubuntu18.04-x86_64 + - smoyzzo ^zlib@1.2.11%gcc@7.5.0+optimize+pic+shared arch=linux-ubuntu18.04-x86_64 + - uwe6tb5 ^tar@1.32%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 + - hyhbnrm ^libffi@3.3%gcc@7.5.0 patches=26f26c6f29a7ce9bf370ad3ab2610f99365b4bdd7b82e7c31df41a3370d685c0 arch=linux-ubuntu18.04-x86_64 + - wuyj2ax ^libuuid@1.0.3%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 + - es377uq ^openssl@1.1.1h%gcc@7.5.0+systemcerts arch=linux-ubuntu18.04-x86_64 + - zfdvt2j ^perl@5.32.0%gcc@7.5.0+cpanm+shared+threads arch=linux-ubuntu18.04-x86_64 + - 4ihuiaz ^berkeley-db@18.1.40%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64 + - rhv2o7b ^sqlite@3.33.0%gcc@7.5.0+column_metadata+fts~functions~rtree arch=linux-ubuntu18.04-x86_64 + +────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/7e04b3e5/spack_env_create_from_manifest.sh ─────────────────────────────────────────── +#!/bin/bash +source /home/spack/spack/share/spack/setup-env.sh +spack env create manifest_example /home/spack/buildtest/examples/spack/example/spack.yaml +spack env activate manifest_example +spack concretize -f diff --git a/docs/buildtest_tutorial_examples/spack/inspect/env_install.txt b/docs/buildtest_tutorial_examples/spack/inspect/env_install.txt index 497329a97..976ac3b32 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/env_install.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/env_install.txt @@ -1,25 +1,25 @@ -$ buildtest inspect query --testpath install_in_spack_env -──────────────────────────────────────────────────────────────────────────────────────── install_in_spack_env/9f0c2e5d-0974-4881-8066-c79aa2ed352f ──────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query --testpath install_in_spack_env +──────────────────────────────────────────────────────────────────────────────────── install_in_spack_env/0f16f091-372b-44e4-8726-b1c1e39a68c3 ──────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Install m4 and zlib in a spack environment named m4_zlib State: PASS Returncode: 0 -Runtime: 4.618925 sec -Starttime: 2023/02/06 21:15:25 -Endtime: 2023/02/06 21:15:29 +Runtime: 3.184986 sec +Starttime: 2023/07/14 18:46:19 +Endtime: 2023/07/14 18:46:22 Command: bash --norc --noprofile -eo pipefail install_in_spack_env_build.sh -Test Script: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d/install_in_spack_env.sh -Build Script: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d/install_in_spack_env_build.sh -Output File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d/install_in_spack_env.out -Error File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d/install_in_spack_env.err -Log File: /home/spack/buildtest/var/logs/buildtest_thv679v3.log -──────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/9f0c2e5d/install_in_spack_env.sh ───────────────────────────────────────────────────────────── -#!/bin/bash -source /home/spack/spack/share/spack/setup-env.sh -spack compiler find -spack env create m4_zlib -spack env activate m4_zlib -spack add m4 -spack add zlib -spack concretize -f -spack install --keep-prefix +Test Script: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091/install_in_spack_env.sh +Build Script: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091/install_in_spack_env_build.sh +Output File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091/install_in_spack_env.out +Error File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091/install_in_spack_env.err +Log File: /home/spack/buildtest/var/logs/buildtest_91oadl48.log +──────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/0f16f091/install_in_spack_env.sh ───────────────────────────────────────────────────────── +#!/bin/bash +source /home/spack/spack/share/spack/setup-env.sh +spack compiler find +spack env create m4_zlib +spack env activate m4_zlib +spack add m4 +spack add zlib +spack concretize -f +spack install --keep-prefix diff --git a/docs/buildtest_tutorial_examples/spack/inspect/install_specs.txt b/docs/buildtest_tutorial_examples/spack/inspect/install_specs.txt index 6434d4221..76b411370 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/install_specs.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/install_specs.txt @@ -1,53 +1,43 @@ -$ buildtest inspect query -o --testpath install_specs_example clone_spack_and_install_zlib -─────────────────────────────────────────────────────────────────────────────────────── install_specs_example/e19633f1-8ecd-4e30-b931-f2102038942c ──────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query -o --testpath install_specs_example clone_spack_and_install_zlib +─────────────────────────────────────────────────────────────────────────────────── install_specs_example/40031985-7bf5-41c1-a58e-dbf8edfbda49 ──────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Install zlib from an existing spack instance State: PASS Returncode: 0 -Runtime: 1.391641 sec -Starttime: 2023/02/06 21:13:55 -Endtime: 2023/02/06 21:13:56 +Runtime: 1.548599 sec +Starttime: 2023/07/14 18:45:34 +Endtime: 2023/07/14 18:45:36 Command: bash --norc --noprofile -eo pipefail install_specs_example_build.sh -Test Script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/install_specs_example.sh -Build Script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/install_specs_example_build.sh -Output File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/install_specs_example.out -Error File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/install_specs_example.err -Log File: /home/spack/buildtest/var/logs/buildtest_3ufksmr5.log -───────────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/install_specs_example.out ───────────────────────────────────────────────────────── -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.11-smoyzzo2qhzpn6mg6rd3l2p7b23enshg - -────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/e19633f1/install_specs_example.sh ─────────────────────────────────────────────────────────── -#!/bin/bash -source /home/spack/spack/share/spack/setup-env.sh -spack install zlib -──────────────────────────────────────────────────────────────────────────────────── clone_spack_and_install_zlib/a29977c5-c71f-4123-b445-fcc3bc068b04 ──────────────────────────────────────────────────────────────────────────────────── +Test Script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/install_specs_example.sh +Build Script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/install_specs_example_build.sh +Output File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/install_specs_example.out +Error File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/install_specs_example.err +Log File: /home/spack/buildtest/var/logs/buildtest_hupirc5k.log +───────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/install_specs_example.out ───────────────────────────────────────────────────── +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.11-smoyzzo2qhzpn6mg6rd3l2p7b23enshg + +────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/40031985/install_specs_example.sh ─────────────────────────────────────────────────────── +#!/bin/bash +source /home/spack/spack/share/spack/setup-env.sh +spack install zlib +──────────────────────────────────────────────────────────────────────────────── clone_spack_and_install_zlib/7d2b08e2-94ac-4487-bc1e-a7b9f72aae7f ──────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Clone spack and install zlib spec -State: PASS -Returncode: 0 -Runtime: 88.434209 sec -Starttime: 2023/02/06 21:13:55 -Endtime: 2023/02/06 21:15:23 +State: FAIL +Returncode: 3 +Runtime: 44.148474 sec +Starttime: 2023/07/14 18:45:34 +Endtime: 2023/07/14 18:46:18 Command: bash --norc --noprofile -eo pipefail clone_spack_and_install_zlib_build.sh -Test Script: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/clone_spack_and_install_zlib.sh -Build Script: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/clone_spack_and_install_zlib_build.sh -Output File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/clone_spack_and_install_zlib.out -Error File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/clone_spack_and_install_zlib.err -Log File: /home/spack/buildtest/var/logs/buildtest_3ufksmr5.log -────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/clone_spack_and_install_zlib.out ────────────────────────────────────────────────── -==> Installing zlib-1.2.13-fp4hlchxmdydxrhdkxh3q3buwtlcrc7k -==> No binary for zlib-1.2.13-fp4hlchxmdydxrhdkxh3q3buwtlcrc7k found: installing from source -==> Fetching https://mirror.spack.io/_source-cache/archive/b3/b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30.tar.gz -==> No patches needed for zlib -==> zlib: Executing phase: 'edit' -==> zlib: Executing phase: 'build' -==> zlib: Executing phase: 'install' -==> zlib: Successfully installed zlib-1.2.13-fp4hlchxmdydxrhdkxh3q3buwtlcrc7k - Stage: 0.31s. Edit: 0.80s. Build: 1.49s. Install: 0.30s. Total: 2.99s -[+] /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/stage/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.13-fp4hlchxmdydxrhdkxh3q3buwtlcrc7k - -─────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/a29977c5/clone_spack_and_install_zlib.sh ──────────────────────────────────────────────────── -#!/bin/bash -git clone https://github.com/spack/spack -source ./spack/share/spack/setup-env.sh -spack install zlib +Test Script: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/clone_spack_and_install_zlib.sh +Build Script: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/clone_spack_and_install_zlib_build.sh +Output File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/clone_spack_and_install_zlib.out +Error File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/clone_spack_and_install_zlib.err +Log File: /home/spack/buildtest/var/logs/buildtest_hupirc5k.log +────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/clone_spack_and_install_zlib.out ────────────────────────────────────────────── + +─────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/7d2b08e2/clone_spack_and_install_zlib.sh ──────────────────────────────────────────────── +#!/bin/bash +git clone https://github.com/spack/spack +source ./spack/share/spack/setup-env.sh +spack install zlib diff --git a/docs/buildtest_tutorial_examples/spack/inspect/mirror_example.txt b/docs/buildtest_tutorial_examples/spack/inspect/mirror_example.txt index d625b58c6..91f754f13 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/mirror_example.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/mirror_example.txt @@ -1,74 +1,78 @@ -$ buildtest inspect query -o --testpath add_mirror add_mirror_in_spack_env -────────────────────────────────────────────────────────────────────────────────────── add_mirror_in_spack_env/a1846e85-149f-4efb-9c20-cab8fd43c5f0 ─────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query -o --testpath add_mirror add_mirror_in_spack_env +───────────────────────────────────────────────────────────────────────────────────────── add_mirror/5d67c243-2eaa-49d5-8ec9-c2c65c023bcc ───────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash -Description: Declare spack mirror in spack environment +Description: Declare spack mirror State: PASS Returncode: 0 -Runtime: 2.472932 sec -Starttime: 2023/02/06 21:15:48 -Endtime: 2023/02/06 21:15:50 -Command: bash --norc --noprofile -eo pipefail add_mirror_in_spack_env_build.sh -Test Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/add_mirror_in_spack_env.sh -Build Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/add_mirror_in_spack_env_build.sh -Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/add_mirror_in_spack_env.out -Error File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/add_mirror_in_spack_env.err -Log File: /home/spack/buildtest/var/logs/buildtest_4jngh05k.log -────────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/add_mirror_in_spack_env.out ─────────────────────────────────────────────────────── -spack_tutorial_mirror file:///mirror -tutorial file:///mirror -spack-public https://mirror.spack.io ---- mirrors: -/home/spack/spack/var/spack/environments/spack_mirror/spack.yaml:10 spack_tutorial_mirror: file:///mirror -/home/spack/.spack/mirrors.yaml:3 tutorial: file:///mirror -/home/spack/spack/etc/spack/defaults/mirrors.yaml:2 spack-public: https://mirror.spack.io - -──────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/a1846e85/add_mirror_in_spack_env.sh ──────────────────────────────────────────────────────── -#!/bin/bash -source /home/spack/spack/share/spack/setup-env.sh -spack env create spack_mirror -spack env activate spack_mirror -spack mirror add spack_tutorial_mirror /mirror - - -######## START OF POST COMMANDS ######## -spack mirror list -spack config blame mirrors -######## END OF POST COMMANDS ######## - - -───────────────────────────────────────────────────────────────────────────────────────────── add_mirror/bca31e22-6921-4e09-825a-b4b09ff433ae ───────────────────────────────────────────────────────────────────────────────────────────── +Runtime: 1.295348 sec +Starttime: 2023/07/14 18:46:37 +Endtime: 2023/07/14 18:46:38 +Command: bash --norc --noprofile -eo pipefail add_mirror_build.sh +Test Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/add_mirror.sh +Build Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/add_mirror_build.sh +Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/add_mirror.out +Error File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/add_mirror.err +Log File: /home/spack/buildtest/var/logs/buildtest_1jsp5fko.log +─────────────────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/add_mirror.out ──────────────────────────────────────────────────────────────── +spack_tutorial_mirror file:///mirror +tutorial file:///mirror +spack-public https://mirror.spack.io +--- mirrors: +/home/spack/.spack/mirrors.yaml:2 spack_tutorial_mirror: file:///mirror +/home/spack/.spack/mirrors.yaml:3 tutorial: file:///mirror +/home/spack/spack/etc/spack/defaults/mirrors.yaml:2 spack-public: https://mirror.spack.io + +───────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/5d67c243/add_mirror.sh ───────────────────────────────────────────────────────────────── +#!/bin/bash +source /home/spack/spack/share/spack/setup-env.sh +spack mirror add spack_tutorial_mirror /mirror + + +######## START OF POST COMMANDS ######## +spack mirror list +spack config blame mirrors + +######## END OF POST COMMANDS ######## + + +────────────────────────────────────────────────────────────────────────────────── add_mirror_in_spack_env/320eba7c-aa83-42df-a01d-29307fea40c4 ─────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash -Description: Declare spack mirror +Description: Declare spack mirror in spack environment State: PASS Returncode: 0 -Runtime: 1.648925 sec -Starttime: 2023/02/06 21:15:48 -Endtime: 2023/02/06 21:15:49 -Command: bash --norc --noprofile -eo pipefail add_mirror_build.sh -Test Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/add_mirror.sh -Build Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/add_mirror_build.sh -Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/add_mirror.out -Error File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/add_mirror.err -Log File: /home/spack/buildtest/var/logs/buildtest_4jngh05k.log -─────────────────────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/add_mirror.out ──────────────────────────────────────────────────────────────────── -spack_tutorial_mirror file:///mirror -tutorial file:///mirror -spack-public https://mirror.spack.io ---- mirrors: -/home/spack/.spack/mirrors.yaml:2 spack_tutorial_mirror: file:///mirror -/home/spack/.spack/mirrors.yaml:3 tutorial: file:///mirror -/home/spack/spack/etc/spack/defaults/mirrors.yaml:2 spack-public: https://mirror.spack.io - -───────────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/bca31e22/add_mirror.sh ───────────────────────────────────────────────────────────────────── -#!/bin/bash -source /home/spack/spack/share/spack/setup-env.sh -spack mirror add spack_tutorial_mirror /mirror - - -######## START OF POST COMMANDS ######## -spack mirror list -spack config blame mirrors - -######## END OF POST COMMANDS ######## - - +Runtime: 2.10773 sec +Starttime: 2023/07/14 18:46:37 +Endtime: 2023/07/14 18:46:39 +Command: bash --norc --noprofile -eo pipefail add_mirror_in_spack_env_build.sh +Test Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/add_mirror_in_spack_env.sh +Build Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/add_mirror_in_spack_env_build.sh +Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/add_mirror_in_spack_env.out +Error File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/add_mirror_in_spack_env.err +Log File: /home/spack/buildtest/var/logs/buildtest_1jsp5fko.log +────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/add_mirror_in_spack_env.out ─────────────────────────────────────────────────── +==> Updating view at /home/spack/spack/var/spack/environments/spack_mirror/.spack-env/view +==> Created environment 'spack_mirror' in /home/spack/spack/var/spack/environments/spack_mirror +==> You can activate this environment with: +==> spack env activate spack_mirror +spack_tutorial_mirror file:///mirror +tutorial file:///mirror +spack-public https://mirror.spack.io +--- mirrors: +/home/spack/spack/var/spack/environments/spack_mirror/spack.yaml:10 spack_tutorial_mirror: file:///mirror +/home/spack/.spack/mirrors.yaml:3 tutorial: file:///mirror +/home/spack/spack/etc/spack/defaults/mirrors.yaml:2 spack-public: https://mirror.spack.io + +──────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/320eba7c/add_mirror_in_spack_env.sh ──────────────────────────────────────────────────── +#!/bin/bash +source /home/spack/spack/share/spack/setup-env.sh +spack env create spack_mirror +spack env activate spack_mirror +spack mirror add spack_tutorial_mirror /mirror + + +######## START OF POST COMMANDS ######## +spack mirror list +spack config blame mirrors +######## END OF POST COMMANDS ######## + + diff --git a/docs/buildtest_tutorial_examples/spack/inspect/pre_post_cmds.txt b/docs/buildtest_tutorial_examples/spack/inspect/pre_post_cmds.txt index bbe7ac46a..33ca23590 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/pre_post_cmds.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/pre_post_cmds.txt @@ -1,57 +1,57 @@ -$ buildtest inspect query -o --testpath run_pre_post_commands -─────────────────────────────────────────────────────────────────────────────────────── run_pre_post_commands/3462c60f-14df-43a3-8729-59b3d12c06a0 ──────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query -o --testpath run_pre_post_commands +─────────────────────────────────────────────────────────────────────────────────── run_pre_post_commands/63b3f722-8c27-4fb3-bb70-64030167d3c0 ──────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Install zlib State: PASS Returncode: 0 -Runtime: 2.131195 sec -Starttime: 2023/02/06 21:15:45 -Endtime: 2023/02/06 21:15:47 +Runtime: 1.533831 sec +Starttime: 2023/07/14 18:46:34 +Endtime: 2023/07/14 18:46:36 Command: bash --norc --noprofile -eo pipefail run_pre_post_commands_build.sh -Test Script: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/run_pre_post_commands.sh -Build Script: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/run_pre_post_commands_build.sh -Output File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/run_pre_post_commands.out -Error File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/run_pre_post_commands.err -Log File: /home/spack/buildtest/var/logs/buildtest_j5nd58l8.log -───────────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/run_pre_post_commands.out ───────────────────────────────────────────────────────── -NAME="Ubuntu" -VERSION="18.04.5 LTS (Bionic Beaver)" -ID=ubuntu -ID_LIKE=debian -PRETTY_NAME="Ubuntu 18.04.5 LTS" -VERSION_ID="18.04" -HOME_URL="https://www.ubuntu.com/" -SUPPORT_URL="https://help.ubuntu.com/" -BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" -PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" -VERSION_CODENAME=bionic -UBUNTU_CODENAME=bionic -gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 -Copyright (C) 2017 Free Software Foundation, Inc. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.11-smoyzzo2qhzpn6mg6rd3l2p7b23enshg -/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-6.5.0-ol37lodnsnyso6w7gkg5naw7m6kbltxu -0.16.3 - -────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/3462c60f/run_pre_post_commands.sh ─────────────────────────────────────────────────────────── -#!/bin/bash - - -######## START OF PRE COMMANDS ######## -cat /etc/os-release -gcc --version - -######## END OF PRE COMMANDS ######## - - -source /home/spack/spack/share/spack/setup-env.sh -spack install zlib - - -######## START OF POST COMMANDS ######## -spack location -i gcc@6.5.0 -spack --version -######## END OF POST COMMANDS ######## - - +Test Script: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/run_pre_post_commands.sh +Build Script: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/run_pre_post_commands_build.sh +Output File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/run_pre_post_commands.out +Error File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/run_pre_post_commands.err +Log File: /home/spack/buildtest/var/logs/buildtest_6z4jki83.log +───────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/run_pre_post_commands.out ───────────────────────────────────────────────────── +NAME="Ubuntu" +VERSION="18.04.5 LTS (Bionic Beaver)" +ID=ubuntu +ID_LIKE=debian +PRETTY_NAME="Ubuntu 18.04.5 LTS" +VERSION_ID="18.04" +HOME_URL="https://www.ubuntu.com/" +SUPPORT_URL="https://help.ubuntu.com/" +BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" +PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" +VERSION_CODENAME=bionic +UBUNTU_CODENAME=bionic +gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 +Copyright (C) 2017 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +[+] /home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.11-smoyzzo2qhzpn6mg6rd3l2p7b23enshg +/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-6.5.0-ol37lodnsnyso6w7gkg5naw7m6kbltxu +0.16.3 + +────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/63b3f722/run_pre_post_commands.sh ─────────────────────────────────────────────────────── +#!/bin/bash + + +######## START OF PRE COMMANDS ######## +cat /etc/os-release +gcc --version + +######## END OF PRE COMMANDS ######## + + +source /home/spack/spack/share/spack/setup-env.sh +spack install zlib + + +######## START OF POST COMMANDS ######## +spack location -i gcc@6.5.0 +spack --version +######## END OF POST COMMANDS ######## + + diff --git a/docs/buildtest_tutorial_examples/spack/inspect/remove_environment_example.txt b/docs/buildtest_tutorial_examples/spack/inspect/remove_environment_example.txt index e241d5970..98011ca65 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/remove_environment_example.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/remove_environment_example.txt @@ -1,45 +1,45 @@ -$ buildtest inspect query --testpath remove_environment_automatically remove_environment_explicit -────────────────────────────────────────────────────────────────────────────────── remove_environment_automatically/e9de2b6c-8d1e-4859-b15d-2a3cfc34ad34 ────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query --testpath remove_environment_automatically remove_environment_explicit +────────────────────────────────────────────────────────────────────────────── remove_environment_automatically/7258748c-312f-4092-9773-0e48a17aed4a ────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: remove spack environment automatically before creating a new environment State: PASS Returncode: 0 -Runtime: 3.209501 sec -Starttime: 2023/02/06 21:15:40 -Endtime: 2023/02/06 21:15:44 +Runtime: 2.384872 sec +Starttime: 2023/07/14 18:46:31 +Endtime: 2023/07/14 18:46:34 Command: bash --norc --noprofile -eo pipefail remove_environment_automatically_build.sh -Test Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c/remove_environment_automatically.sh -Build Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c/remove_environment_automatically_build.sh -Output File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c/remove_environment_automatically.out -Error File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c/remove_environment_automatically.err -Log File: /home/spack/buildtest/var/logs/buildtest_irqqj0d_.log -───────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/e9de2b6c/remove_environment_automatically.sh ───────────────────────────────────────── -#!/bin/bash -source /home/spack/spack/share/spack/setup-env.sh -spack env rm -y remove_environment -spack env create remove_environment -spack env activate remove_environment -spack add bzip2 -spack concretize -f -──────────────────────────────────────────────────────────────────────────────────── remove_environment_explicit/fb964c28-0a52-436a-88c6-a8898426dc2d ───────────────────────────────────────────────────────────────────────────────────── +Test Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c/remove_environment_automatically.sh +Build Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c/remove_environment_automatically_build.sh +Output File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c/remove_environment_automatically.out +Error File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c/remove_environment_automatically.err +Log File: /home/spack/buildtest/var/logs/buildtest_80dhu3km.log +───────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/7258748c/remove_environment_automatically.sh ───────────────────────────────────── +#!/bin/bash +source /home/spack/spack/share/spack/setup-env.sh +spack env rm -y remove_environment +spack env create remove_environment +spack env activate remove_environment +spack add bzip2 +spack concretize -f +──────────────────────────────────────────────────────────────────────────────── remove_environment_explicit/b7f791e0-e795-4ba1-9889-64e9e362e85f ───────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: remove spack environment explicitly using the 'rm' property State: PASS Returncode: 0 -Runtime: 3.209879 sec -Starttime: 2023/02/06 21:15:40 -Endtime: 2023/02/06 21:15:44 +Runtime: 2.372908 sec +Starttime: 2023/07/14 18:46:31 +Endtime: 2023/07/14 18:46:34 Command: bash --norc --noprofile -eo pipefail remove_environment_explicit_build.sh -Test Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28/remove_environment_explicit.sh -Build Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28/remove_environment_explicit_build.sh -Output File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28/remove_environment_explicit.out -Error File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28/remove_environment_explicit.err -Log File: /home/spack/buildtest/var/logs/buildtest_irqqj0d_.log -────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/fb964c28/remove_environment_explicit.sh ────────────────────────────────────────────── -#!/bin/bash -source /home/spack/spack/share/spack/setup-env.sh -spack env rm -y dummy -spack env create dummy -spack env activate dummy -spack add bzip2 -spack concretize -f +Test Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0/remove_environment_explicit.sh +Build Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0/remove_environment_explicit_build.sh +Output File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0/remove_environment_explicit.out +Error File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0/remove_environment_explicit.err +Log File: /home/spack/buildtest/var/logs/buildtest_80dhu3km.log +────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/b7f791e0/remove_environment_explicit.sh ────────────────────────────────────────── +#!/bin/bash +source /home/spack/spack/share/spack/setup-env.sh +spack env rm -y dummy +spack env create dummy +spack env activate dummy +spack add bzip2 +spack concretize -f diff --git a/docs/buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt b/docs/buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt index f3533e676..c91fd5536 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt @@ -1,26 +1,26 @@ -$ buildtest inspect query --testpath spack_sbatch_example -──────────────────────────────────────────────────────────────────────────────────────── spack_sbatch_example/af908912-36f3-4722-a3ff-4c06bd292208 ──────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query --testpath spack_sbatch_example +──────────────────────────────────────────────────────────────────────────────────── spack_sbatch_example/f86aa2f5-b3fa-40e9-94d1-d7b1faf58c25 ──────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: sbatch directives can be defined in spack schema State: PASS Returncode: 0 -Runtime: 1.462574 sec -Starttime: 2023/02/06 21:16:01 -Endtime: 2023/02/06 21:16:02 +Runtime: 3.825424 sec +Starttime: 2023/07/14 18:46:50 +Endtime: 2023/07/14 18:46:54 Command: bash --norc --noprofile -eo pipefail spack_sbatch_example_build.sh -Test Script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912/spack_sbatch_example.sh -Build Script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912/spack_sbatch_example_build.sh -Output File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912/spack_sbatch_example.out -Error File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912/spack_sbatch_example.err -Log File: /home/spack/buildtest/var/logs/buildtest_mqsgyhgo.log -──────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/af908912/spack_sbatch_example.sh ──────────────────────────────────────────────────────────── -#!/bin/bash -#SBATCH -N 1 -#SBATCH -n 8 -#SBATCH -t 30 -#SBATCH --job-name=spack_sbatch_example -#SBATCH --output=spack_sbatch_example.out -#SBATCH --error=spack_sbatch_example.err -source /home/spack/spack/share/spack/setup-env.sh -spack install zlib@1.2.11%clang -spack install zlib@1.2.8%clang +Test Script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5/spack_sbatch_example.sh +Build Script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5/spack_sbatch_example_build.sh +Output File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5/spack_sbatch_example.out +Error File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5/spack_sbatch_example.err +Log File: /home/spack/buildtest/var/logs/buildtest_zp2e3f2p.log +──────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f86aa2f5/spack_sbatch_example.sh ──────────────────────────────────────────────────────── +#!/bin/bash +#SBATCH -N 1 +#SBATCH -n 8 +#SBATCH -t 30 +#SBATCH --job-name=spack_sbatch_example +#SBATCH --output=spack_sbatch_example.out +#SBATCH --error=spack_sbatch_example.err +source /home/spack/spack/share/spack/setup-env.sh +spack install zlib@1.2.11%clang +spack install zlib@1.2.8%clang diff --git a/docs/buildtest_tutorial_examples/spack/inspect/spack_test.txt b/docs/buildtest_tutorial_examples/spack/inspect/spack_test.txt index ee9eed59e..61f591b14 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/spack_test.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/spack_test.txt @@ -1,41 +1,41 @@ -$ buildtest inspect query -o --testpath spack_test_m4 -────────────────────────────────────────────────────────────────────────────────────────── spack_test_m4/63314812-fcd6-4aeb-a51e-c6cb3924d171 ────────────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query -o --testpath spack_test_m4 +─────────────────────────────────────────────────────────────────────────────────────── spack_test_m4/10440e33-ad42-4430-9573-c284a4a539bc ──────────────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Run spack test for m4 package and report results State: PASS Returncode: 0 -Runtime: 1.39538 sec -Starttime: 2023/04/25 13:45:42 -Endtime: 2023/04/25 13:45:44 +Runtime: 1.776058 sec +Starttime: 2023/07/14 18:46:40 +Endtime: 2023/07/14 18:46:42 Command: bash --norc --noprofile -eo pipefail spack_test_m4_build.sh -Test Script: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/spack_test_m4.sh -Build Script: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/spack_test_m4_build.sh -Output File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/spack_test_m4.out -Error File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/spack_test_m4.err -Log File: /home/spack/buildtest/var/logs/buildtest_q357l26y.log -───────────────────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/spack_test_m4.out ───────────────────────────────────────────────────────────────── -==> Spack test 2f2840ce-3f38-4c2d-afde-9e1065dfbe86 -==> Testing package m4-1.4.18-mkc3u4x -==> Results for test suite '2f2840ce-3f38-4c2d-afde-9e1065dfbe86': -==> m4-1.4.18-mkc3u4x PASSED -==> Testing package m4-1.4.18-mkc3u4x -==> [2023-04-25-13:45:43.698955] test: ensuring m4 version is 1.4.18 -==> [2023-04-25-13:45:43.699920] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/m4-1.4.18-mkc3u4x2p2wie6jfhuku7g5rkovcrxps/bin/m4' '--version' -m4 (GNU M4) 1.4.18 -Copyright (C) 2016 Free Software Foundation, Inc. -License GPLv3+: GNU GPL version 3 or later . -This is free software: you are free to change and redistribute it. -There is NO WARRANTY, to the extent permitted by law. -Written by Rene' Seindal. -PASSED -==> [2023-04-25-13:45:43.704828] test: ensuring m4 example succeeds -==> [2023-04-25-13:45:43.705080] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/m4-1.4.18-mkc3u4x2p2wie6jfhuku7g5rkovcrxps/bin/m4' '/home/spack/.spack/test/j22esx4avlcbuqpourbkp7wzftm7ilj3/m4-1.4.18-mkc3u4x -// macro is defined -Hello, World! -PASSED - -────────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/63314812/spack_test_m4.sh ─────────────────────────────────────────────────────────────────── -#!/bin/bash -source /home/spack/spack/share/spack/setup-env.sh -spack test run --alias 2f2840ce-3f38-4c2d-afde-9e1065dfbe86 m4 -spack test results -l 2f2840ce-3f38-4c2d-afde-9e1065dfbe86 \ No newline at end of file +Test Script: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/spack_test_m4.sh +Build Script: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/spack_test_m4_build.sh +Output File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/spack_test_m4.out +Error File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/spack_test_m4.err +Log File: /home/spack/buildtest/var/logs/buildtest_380_i89j.log +────────────────────────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/spack_test_m4.out ─────────────────────────────────────────────────────────────── +==> Spack test 247ee4de-3d94-4142-a7d4-0e2d92f3833a +==> Testing package m4-1.4.18-mkc3u4x +==> Results for test suite '247ee4de-3d94-4142-a7d4-0e2d92f3833a': +==> m4-1.4.18-mkc3u4x PASSED +==> Testing package m4-1.4.18-mkc3u4x +==> [2023-07-14-18:46:41.834451] test: ensuring m4 version is 1.4.18 +==> [2023-07-14-18:46:41.836393] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/m4-1.4.18-mkc3u4x2p2wie6jfhuku7g5rkovcrxps/bin/m4' '--version' +m4 (GNU M4) 1.4.18 +Copyright (C) 2016 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later . +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. +Written by Rene' Seindal. +PASSED +==> [2023-07-14-18:46:41.844017] test: ensuring m4 example succeeds +==> [2023-07-14-18:46:41.844582] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/m4-1.4.18-mkc3u4x2p2wie6jfhuku7g5rkovcrxps/bin/m4' '/home/spack/.spack/test/im5u7c2e6xrqff67eb4cjwfmvpnlg2rd/m4-1.4.18-mk +// macro is defined +Hello, World! +PASSED + +──────────────────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/10440e33/spack_test_m4.sh ──────────────────────────────────────────────────────────────── +#!/bin/bash +source /home/spack/spack/share/spack/setup-env.sh +spack test run --alias 247ee4de-3d94-4142-a7d4-0e2d92f3833a m4 +spack test results -l 247ee4de-3d94-4142-a7d4-0e2d92f3833a diff --git a/docs/buildtest_tutorial_examples/spack/inspect/spack_test_specs.txt b/docs/buildtest_tutorial_examples/spack/inspect/spack_test_specs.txt index 708f182e6..56059f64c 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/spack_test_specs.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/spack_test_specs.txt @@ -1,94 +1,86 @@ -$ buildtest inspect query -o --testpath spack_test_results_specs_format -────────────────────────────────────────────────────────────────────────────────── spack_test_results_specs_format/23f16eff-ed9f-46d9-aabe-46e188eedb01 ─────────────────────────────────────────────────────────────────────────────────── +$ buildtest inspect query -o --testpath spack_test_results_specs_format +────────────────────────────────────────────────────────────────────────────── spack_test_results_specs_format/14270fab-4e5f-4e84-ad46-64ac869eeb80 ─────────────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Run spack test results with spec format State: PASS Returncode: 0 -Runtime: 5.392834 sec -Starttime: 2023/02/06 21:15:54 -Endtime: 2023/02/06 21:16:00 +Runtime: 5.893645 sec +Starttime: 2023/07/14 18:46:43 +Endtime: 2023/07/14 18:46:49 Command: bash --norc --noprofile -eo pipefail spack_test_results_specs_format_build.sh -Test Script: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/spack_test_results_specs_format.sh -Build Script: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/spack_test_results_specs_format_build.sh -Output File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/spack_test_results_specs_format.out -Error File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/spack_test_results_specs_format.err -Log File: /home/spack/buildtest/var/logs/buildtest_rufrepjr.log -───────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/spack_test_results_specs_format.out ────────────────────────────────────────────── -==> All of the packages are already installed -==> All of the packages are already installed -==> Spack test spack_test_results_specs_format -==> Testing package libxml2-2.9.10-yn2r3wf -==> Testing package libsigsegv-2.12-lbrx7ln -==> Results for test suite 'spack_test_results_specs_format', spec matching 'libxml2': -==> libxml2-2.9.10-yn2r3wf PASSED -==> Testing package libxml2-2.9.10-yn2r3wf -==> [2023-02-06-21:15:58.897861] test: Performing simple import test -==> [2023-02-06-21:15:58.898621] test: xml2-config: expect command status in [0] -==> [2023-02-06-21:15:58.898947] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xml2-config' '--version' -2.9.10 -PASSED -==> [2023-02-06-21:15:58.903287] test: xmllint: expect command status in [0] -==> [2023-02-06-21:15:58.903571] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xmllint' '--auto' '-o' 'test.xml' -PASSED -==> [2023-02-06-21:15:58.913508] test: xmllint: expect command status in [3] -==> [2023-02-06-21:15:58.913870] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xmllint' '--postvalid' 'test.xml' - -abc -validity error : no DTD found! -Document test.xml does not validate -PASSED -==> [2023-02-06-21:15:58.918525] test: xmllint: expect command status in [3] -==> [2023-02-06-21:15:58.918906] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xmllint' '--dtdvalid' '/home/spack/.spack/test/d6phm2ufma23flnqrts7vw7vidoawd - -abc -test.xml:2: element info: validity error : Element info content does not follow the DTD, expecting (data), got (CDATA) -Document test.xml does not validate against /home/spack/.spack/test/d6phm2ufma23flnqrts7vw7vidoawdvg/libxml2-2.9.10-yn2r3wf/data/libxml2/info.dtd -PASSED -==> [2023-02-06-21:15:58.923161] test: xmllint: expect command status in [0] -==> [2023-02-06-21:15:58.923460] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xmllint' '--dtdvalid' '/home/spack/.spack/test/d6phm2ufma23flnqrts7vw7vidoawd - - -abc - -PASSED -==> [2023-02-06-21:15:58.927500] test: xmlcatalog: expect command status in [0] -==> [2023-02-06-21:15:58.927894] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xmlcatalog' '--create' - - - -PASSED -==> Results for test suite 'spack_test_results_specs_format', spec matching 'libsigsegv': -==> libsigsegv-2.12-lbrx7ln PASSED -==> Testing package libsigsegv-2.12-lbrx7ln -==> [2023-02-06-21:15:59.225015] Multiple definitions of compiler gcc@7.5.0for architecture linux-ubuntu18.04-x86_64: - [gcc(/usr/bin/gcc - /usr/bin/g++ - /usr/bin/gfortran - /usr/bin/gfortran - [] - ubuntu18.04), gcc(/usr/bin/gcc - /usr/bin/g++ - /usr/bin/gfortran - /usr/bin/gfortran - [] - ubuntu18.04)] -==> [2023-02-06-21:15:59.225467] test: checking ability to link to the library -==> [2023-02-06-21:15:59.225789] '/home/spack/spack/lib/spack/env/cc' '-I/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libsigsegv-2.12-lbrx7lnfz46ukewxbhxnucmx76g23c6q/include' '/home/spack/.spack/test/d6phm2u -PASSED -==> [2023-02-06-21:15:59.289226] test: checking ability to use the library -==> [2023-02-06-21:15:59.289618] './smoke_test' -Caught sigsegv #1 -Hello World! -PASSED - -─────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/23f16eff/spack_test_results_specs_format.sh ─────────────────────────────────────────────── -#!/bin/bash -source /home/spack/spack/share/spack/setup-env.sh -spack env create spack_test_example -spack env activate spack_test_example -spack install libxml2 -spack install libsigsegv -spack test remove -y -spack test run --alias spack_test_results_specs_format libxml2 libsigsegv -spack test results -l -- libxml2 -spack test results -l -- libsigsegv +Test Script: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/spack_test_results_specs_format.sh +Build Script: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/spack_test_results_specs_format_build.sh +Output File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/spack_test_results_specs_format.out +Error File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/spack_test_results_specs_format.err +Log File: /home/spack/buildtest/var/logs/buildtest_zyoqo248.log +───────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/spack_test_results_specs_format.out ────────────────────────────────────────── +==> Updating view at /home/spack/spack/var/spack/environments/spack_test_example/.spack-env/view +==> Created environment 'spack_test_example' in /home/spack/spack/var/spack/environments/spack_test_example +==> You can activate this environment with: +==> spack env activate spack_test_example +==> All of the packages are already installed +==> All of the packages are already installed +==> Spack test 5a60603e-c10f-4381-bfc6-379902ea2cd2 +==> Testing package libxml2-2.9.10-yn2r3wf +==> Testing package libsigsegv-2.12-lbrx7ln +==> Results for test suite '5a60603e-c10f-4381-bfc6-379902ea2cd2', spec matching 'libxml2': +==> libxml2-2.9.10-yn2r3wf PASSED +==> Testing package libxml2-2.9.10-yn2r3wf +==> [2023-07-14-18:46:47.352925] test: Performing simple import test +==> [2023-07-14-18:46:47.354613] test: xml2-config: expect command status in [0] +==> [2023-07-14-18:46:47.354959] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xml2-config' '--version' +2.9.10 +PASSED +==> [2023-07-14-18:46:47.359961] test: xmllint: expect command status in [0] +==> [2023-07-14-18:46:47.360286] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xmllint' '--auto' '-o' 'test.xml' +PASSED +==> [2023-07-14-18:46:47.372936] test: xmllint: expect command status in [3] +==> [2023-07-14-18:46:47.373315] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xmllint' '--postvalid' 'test.xml' + +abc +validity error : no DTD found! +Document test.xml does not validate +PASSED +==> [2023-07-14-18:46:47.378796] test: xmllint: expect command status in [3] +==> [2023-07-14-18:46:47.379154] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xmllint' '--dtdvalid' '/home/spack/.spack/test/xuxznm5pb453azff2waecm + +abc +test.xml:2: element info: validity error : Element info content does not follow the DTD, expecting (data), got (CDATA) +Document test.xml does not validate against /home/spack/.spack/test/xuxznm5pb453azff2waecmx6euyq5cq2/libxml2-2.9.10-yn2r3wf/data/libxml2/info.dtd +PASSED +==> [2023-07-14-18:46:47.384176] test: xmllint: expect command status in [0] +==> [2023-07-14-18:46:47.384573] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xmllint' '--dtdvalid' '/home/spack/.spack/test/xuxznm5pb453azff2waecm + + +abc + +PASSED +==> [2023-07-14-18:46:47.389354] test: xmlcatalog: expect command status in [0] +==> [2023-07-14-18:46:47.389757] '/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libxml2-2.9.10-yn2r3wfhiilelyulh5toteicdtxjhw7d/bin/xmlcatalog' '--create' + + + +PASSED +==> Results for test suite '5a60603e-c10f-4381-bfc6-379902ea2cd2', spec matching 'libsigsegv': +==> libsigsegv-2.12-lbrx7ln PASSED +==> Testing package libsigsegv-2.12-lbrx7ln +==> [2023-07-14-18:46:47.782506] test: checking ability to link to the library +==> [2023-07-14-18:46:47.783205] '/home/spack/spack/lib/spack/env/cc' '-I/home/spack/spack-workspace/software/linux-ubuntu18.04-x86_64/gcc-7.5.0/libsigsegv-2.12-lbrx7lnfz46ukewxbhxnucmx76g23c6q/include' '/home/spack/.spack/test +PASSED +==> [2023-07-14-18:46:47.969736] test: checking ability to use the library +==> [2023-07-14-18:46:47.970154] './smoke_test' +Caught sigsegv #1 +Hello World! +PASSED + +─────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/14270fab/spack_test_results_specs_format.sh ─────────────────────────────────────────── +#!/bin/bash +source /home/spack/spack/share/spack/setup-env.sh +spack env create spack_test_example +spack env activate spack_test_example +spack install libxml2 +spack install libsigsegv +spack test remove -y +spack test run --alias 5a60603e-c10f-4381-bfc6-379902ea2cd2 libxml2 libsigsegv +spack test results -l -- libxml2 +spack test results -l -- libsigsegv From 2d37b2af1526d90c79c42798993fee0c5b8de006 Mon Sep 17 00:00:00 2001 From: Mendi03 Date: Fri, 14 Jul 2023 15:03:25 -0500 Subject: [PATCH 7/7] Removed -d all from documentation Removed the unsupported feature -d all from docs --- docs/buildspecs/compiler.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/buildspecs/compiler.rst b/docs/buildspecs/compiler.rst index 831228331..299aabf9f 100644 --- a/docs/buildspecs/compiler.rst +++ b/docs/buildspecs/compiler.rst @@ -188,8 +188,7 @@ We can build this test by running:: buildtest build -b $BUILDTEST_ROOT/examples/compilers/envvar_override.yml -Next, let's see the generated test by running ``buildtest inspect query -d all --testpath override_environmentvars``. The -``-d all`` will display all test records for ``override_environmentvars``. Take a note that we have +Next, let's see the generated test by running ``buildtest inspect query --testpath override_environmentvars``. Take a note that we have ``export OMP_NUM_THREADS=4`` for `gcc_8.3.0` test and ``export OMP_NUM_THREADS=2`` for system gcc. .. dropdown:: ``buildtest inspect query --testpath override_environmentvars/``