From 094e825616268c545ed9634dc542fad5f40ca76f Mon Sep 17 00:00:00 2001 From: Shahzeb Siddiqui Date: Fri, 18 Mar 2022 16:32:56 -0400 Subject: [PATCH] rebuild autogenerated tutorial examples (#1030) --- buildtest/schemas/compiler.schema.json | 1 + .../compilers/build/compiler_exclude.txt | 138 ++++--- .../compilers/build/compiler_status_regex.txt | 337 ++++++++---------- .../compilers/build/custom_run.txt | 136 ++++--- .../compilers/build/envvar_override.txt | 138 ++++--- .../compilers/build/gnu_hello_c.txt | 170 ++++----- .../compilers/build/gnu_hello_fortran.txt | 99 +++-- .../compilers/build/openmp_hello.txt | 99 +++-- .../compilers/build/pre_post_build_run.txt | 100 +++--- .../compilers/build/stream_example.txt | 170 ++++----- .../build/stream_example_metrics.txt | 100 +++--- .../compilers/build/vecadd.txt | 170 ++++----- .../inspect/compiler_status_regex.txt | 84 ++--- .../compilers/inspect/custom_run.txt | 160 ++++----- .../compilers/inspect/envvar_override.txt | 108 +++--- .../compilers/inspect/gnu_hello_c.txt | 158 ++++---- .../compilers/inspect/gnu_hello_fortran.txt | 50 ++- .../compilers/inspect/openmp_hello.txt | 52 ++- .../compilers/inspect/pre_post_build_run.txt | 96 +++-- .../compilers/inspect/stream_example.txt | 162 ++++----- .../inspect/stream_openmp_metrics.txt | 100 +++--- .../spack/build/env_create_directory.txt | 98 +++-- .../spack/build/env_create_manifest.txt | 101 +++--- .../spack/build/env_install.txt | 99 +++-- .../spack/build/install_specs.txt | 138 ++++--- .../spack/build/mirror_example.txt | 135 ++++--- .../spack/build/pre_post_cmds.txt | 98 +++-- .../build/remove_environment_example.txt | 149 ++++---- .../spack/build/spack_sbatch.txt | 98 +++-- .../spack/build/spack_test.txt | 97 +++-- .../spack/build/spack_test_specs.txt | 101 +++--- .../spack/inspect/env_create_directory.txt | 92 +++-- .../spack/inspect/env_create_manifest.txt | 38 +- .../spack/inspect/env_install.txt | 42 +-- .../spack/inspect/install_specs.txt | 88 +++-- .../spack/inspect/mirror_example.txt | 134 ++++--- .../spack/inspect/pre_post_cmds.txt | 106 +++--- .../inspect/remove_environment_example.txt | 79 ++-- .../spack/inspect/spack_sbatch.txt | 46 ++- .../spack/inspect/spack_test.txt | 74 ++-- .../spack/inspect/spack_test_specs.txt | 76 ++-- 41 files changed, 2067 insertions(+), 2450 deletions(-) diff --git a/buildtest/schemas/compiler.schema.json b/buildtest/schemas/compiler.schema.json index 2f11f21c2..fce2b6b02 100644 --- a/buildtest/schemas/compiler.schema.json +++ b/buildtest/schemas/compiler.schema.json @@ -138,6 +138,7 @@ "post_build": { "$ref": "#definitions/post_build" }, "pre_run": { "$ref": "#definitions/pre_run" }, "post_run": { "$ref": "#definitions/post_run" }, + "run": { "$ref": "#definitions/run" }, "module": { "$ref": "definitions.schema.json#/definitions/module" } } } diff --git a/docs/buildtest_tutorial_examples/compilers/build/compiler_exclude.txt b/docs/buildtest_tutorial_examples/compilers/build/compiler_exclude.txt index 28c342b96..b68c892fe 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:50 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/compilers/compiler_exclude.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭────────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:52 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟───────────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/compiler_exclude.yml ║ ╚═══════════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Excluding compiler: gcc_6.5.0 from test generation Valid Buildspecs: 1 Invalid Buildspecs: 0 @@ -34,65 +34,53 @@ Total builder objects created: 2 Total compiler builder: 2 Total script builder: 0 Total spack builder: 0 - Compiler Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ vecadd_gnu_excl │ generic.local.b │ gcc_7.5.0 │ Vector Addition │ /home/spack/bui │ -│ ude/71f0f73e │ ash │ │ example with GNU │ ldtest/examples │ -│ │ │ │ compilers but │ /compilers/comp │ -│ │ │ │ exclude │ iler_exclude.ym │ -│ │ │ │ gcc_6.5.0 │ l │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ vecadd_gnu_excl │ generic.local.b │ gcc_8.3.0 │ Vector Addition │ /home/spack/bui │ -│ ude/7e5743fb │ ash │ │ example with GNU │ ldtest/examples │ -│ │ │ │ compilers but │ /compilers/comp │ -│ │ │ │ exclude │ iler_exclude.ym │ -│ │ │ │ gcc_6.5.0 │ l │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -vecadd_gnu_exclude/71f0f73e: Creating test directory: -/home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/71f0f73e -vecadd_gnu_exclude/71f0f73e: Creating the stage directory: -/home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/71f0f73e/stage -vecadd_gnu_exclude/71f0f73e: Writing build script: /home/spack/runs/generic.local.bash -/compiler_exclude/vecadd_gnu_exclude/71f0f73e/vecadd_gnu_exclude_build.sh -vecadd_gnu_exclude/7e5743fb: Creating test directory: -/home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/7e5743fb -vecadd_gnu_exclude/7e5743fb: Creating the stage directory: -/home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/7e5743fb/stage -vecadd_gnu_exclude/7e5743fb: Writing build script: /home/spack/runs/generic.local.bash -/compiler_exclude/vecadd_gnu_exclude/7e5743fb/vecadd_gnu_exclude_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Compiler Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ vecadd_gnu_exclude/46cc9348 │ generic.local.bash │ gcc_7.5.0 │ Vector Addition example with GNU compilers but exclude │ /home/spack/buildtest/examples/compilers/compiler_exclude.ym │ +│ │ │ │ gcc_6.5.0 │ l │ +├─────────────────────────────┼────────────────────┼───────────┼─────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────┤ +│ vecadd_gnu_exclude/b26f6df0 │ generic.local.bash │ gcc_8.3.0 │ Vector Addition example with GNU compilers but exclude │ /home/spack/buildtest/examples/compilers/compiler_exclude.ym │ +│ │ │ │ gcc_6.5.0 │ l │ +└─────────────────────────────┴────────────────────┴───────────┴─────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +vecadd_gnu_exclude/46cc9348: Creating test directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/46cc9348 +vecadd_gnu_exclude/46cc9348: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/46cc9348/stage +vecadd_gnu_exclude/46cc9348: Writing build script: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/46cc9348/vecadd_gnu_exclude_build.sh +vecadd_gnu_exclude/b26f6df0: Creating test directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/b26f6df0 +vecadd_gnu_exclude/b26f6df0: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/b26f6df0/stage +vecadd_gnu_exclude/b26f6df0: Writing build script: /home/spack/runs/generic.local.bash/compiler_exclude/vecadd_gnu_exclude/b26f6df0/vecadd_gnu_exclude_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -vecadd_gnu_exclude/71f0f73e: Running Test via command: bash --norc --noprofile +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +vecadd_gnu_exclude/b26f6df0 does not have any dependencies adding test to queue +vecadd_gnu_exclude/46cc9348 does not have any dependencies adding test to queue +vecadd_gnu_exclude/b26f6df0: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_exclude_build.sh -vecadd_gnu_exclude/7e5743fb: Running Test via command: bash --norc --noprofile +vecadd_gnu_exclude/46cc9348: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_exclude_build.sh -vecadd_gnu_exclude/7e5743fb: Test completed with returncode: 0 -vecadd_gnu_exclude/71f0f73e: Test completed with returncode: 0 -vecadd_gnu_exclude/7e5743fb: Test completed in 0.134892 seconds -vecadd_gnu_exclude/71f0f73e: Test completed in 0.1373 seconds -vecadd_gnu_exclude/7e5743fb: Writing output file - /home/spack/runs/generic.loc -al.bash/compiler_exclude/vecadd_gnu_exclude/7e5743fb/vecadd_gnu_exclude.out -vecadd_gnu_exclude/71f0f73e: Writing output file - /home/spack/runs/generic.loc -al.bash/compiler_exclude/vecadd_gnu_exclude/71f0f73e/vecadd_gnu_exclude.out -vecadd_gnu_exclude/7e5743fb: Writing error file - /home/spack/runs/generic.local -.bash/compiler_exclude/vecadd_gnu_exclude/7e5743fb/vecadd_gnu_exclude.err -vecadd_gnu_exclude/71f0f73e: Writing error file - /home/spack/runs/generic.local -.bash/compiler_exclude/vecadd_gnu_exclude/71f0f73e/vecadd_gnu_exclude.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ vecadd_gnu_exc │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.134892 │ -│ lude/7e5743fb │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ vecadd_gnu_exc │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.1373 │ -│ lude/71f0f73e │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +vecadd_gnu_exclude/b26f6df0: Test completed in 0.134306 seconds +vecadd_gnu_exclude/b26f6df0: Test completed with returncode: 0 +vecadd_gnu_exclude/b26f6df0: Writing output file - /home/spack/runs/generic.loc +al.bash/compiler_exclude/vecadd_gnu_exclude/b26f6df0/vecadd_gnu_exclude.out +vecadd_gnu_exclude/b26f6df0: Writing error file - /home/spack/runs/generic.local +.bash/compiler_exclude/vecadd_gnu_exclude/b26f6df0/vecadd_gnu_exclude.err +vecadd_gnu_exclude/46cc9348: Test completed in 0.145024 seconds +vecadd_gnu_exclude/46cc9348: Test completed with returncode: 0 +vecadd_gnu_exclude/46cc9348: Writing output file - /home/spack/runs/generic.loc +al.bash/compiler_exclude/vecadd_gnu_exclude/46cc9348/vecadd_gnu_exclude.out +vecadd_gnu_exclude/46cc9348: Writing error file - /home/spack/runs/generic.local +.bash/compiler_exclude/vecadd_gnu_exclude/46cc9348/vecadd_gnu_exclude.err +In this iteration we are going to run the following tests: [vecadd_gnu_exclude/46cc9348, vecadd_gnu_exclude/b26f6df0] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ vecadd_gnu_exclude/b26f6df0 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.134306 │ +├─────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ vecadd_gnu_exclude/46cc9348 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.145024 │ +└─────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -101,4 +89,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_fpvvg3ei.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_pftgbuvw.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 7f02eff1d..1473cc2b1 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:55 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭───────────────────────────────────────────────────────── buildtest summary ─────────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:57 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟────────────────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/compiler_status_regex.yml ║ ╚════════════════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/compiler_status_regex.yml: VALID @@ -33,196 +33,145 @@ Total builder objects created: 6 Total compiler builder: 6 Total script builder: 0 Total spack builder: 0 - Compiler Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ default_status_ │ generic.local.b │ gcc_7.5.0 │ status check │ /home/spack/bui │ -│ returncode/de09 │ ash │ │ based on │ ldtest/examples │ -│ 72d5 │ │ │ returncode │ /compilers/comp │ -│ │ │ │ │ iler_status_reg │ -│ │ │ │ │ ex.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ default_status_ │ generic.local.b │ gcc_6.5.0 │ status check │ /home/spack/bui │ -│ returncode/074a │ ash │ │ based on │ ldtest/examples │ -│ 1c77 │ │ │ returncode │ /compilers/comp │ -│ │ │ │ │ iler_status_reg │ -│ │ │ │ │ ex.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ default_status_ │ generic.local.b │ gcc_8.3.0 │ status check │ /home/spack/bui │ -│ returncode/8eca │ ash │ │ based on │ ldtest/examples │ -│ 933b │ │ │ returncode │ /compilers/comp │ -│ │ │ │ │ iler_status_reg │ -│ │ │ │ │ ex.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ override_status │ generic.local.b │ gcc_7.5.0 │ override │ /home/spack/bui │ -│ _regex/cc905478 │ ash │ │ 'status' │ ldtest/examples │ -│ │ │ │ property in │ /compilers/comp │ -│ │ │ │ compiler │ iler_status_reg │ -│ │ │ │ gcc_8.3.0 │ ex.yml │ -│ │ │ │ instance │ │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ override_status │ generic.local.b │ gcc_6.5.0 │ override │ /home/spack/bui │ -│ _regex/ce9048f5 │ ash │ │ 'status' │ ldtest/examples │ -│ │ │ │ property in │ /compilers/comp │ -│ │ │ │ compiler │ iler_status_reg │ -│ │ │ │ gcc_8.3.0 │ ex.yml │ -│ │ │ │ instance │ │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ override_status │ generic.local.b │ gcc_8.3.0 │ override │ /home/spack/bui │ -│ _regex/b8de1ee5 │ ash │ │ 'status' │ ldtest/examples │ -│ │ │ │ property in │ /compilers/comp │ -│ │ │ │ compiler │ iler_status_reg │ -│ │ │ │ gcc_8.3.0 │ ex.yml │ -│ │ │ │ instance │ │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -default_status_returncode/de0972d5: Creating test directory: /home/spack/runs/generic. -local.bash/compiler_status_regex/default_status_returncode/de0972d5 -default_status_returncode/de0972d5: Creating the stage directory: /home/spack/runs/gen -eric.local.bash/compiler_status_regex/default_status_returncode/de0972d5/stage -default_status_returncode/de0972d5: Writing build script: /home/spack/runs/generic.loc -al.bash/compiler_status_regex/default_status_returncode/de0972d5/default_status_return -code_build.sh -default_status_returncode/074a1c77: Creating test directory: /home/spack/runs/generic. -local.bash/compiler_status_regex/default_status_returncode/074a1c77 -default_status_returncode/074a1c77: Creating the stage directory: /home/spack/runs/gen -eric.local.bash/compiler_status_regex/default_status_returncode/074a1c77/stage -default_status_returncode/074a1c77: Writing build script: /home/spack/runs/generic.loc -al.bash/compiler_status_regex/default_status_returncode/074a1c77/default_status_return -code_build.sh -default_status_returncode/8eca933b: Creating test directory: /home/spack/runs/generic. -local.bash/compiler_status_regex/default_status_returncode/8eca933b -default_status_returncode/8eca933b: Creating the stage directory: /home/spack/runs/gen -eric.local.bash/compiler_status_regex/default_status_returncode/8eca933b/stage -default_status_returncode/8eca933b: Writing build script: /home/spack/runs/generic.loc -al.bash/compiler_status_regex/default_status_returncode/8eca933b/default_status_return -code_build.sh -override_status_regex/cc905478: Creating test directory: /home/spack/runs/generic.loca -l.bash/compiler_status_regex/override_status_regex/cc905478 -override_status_regex/cc905478: Creating the stage directory: /home/spack/runs/generic -.local.bash/compiler_status_regex/override_status_regex/cc905478/stage -override_status_regex/cc905478: Writing build script: /home/spack/runs/generic.local.b -ash/compiler_status_regex/override_status_regex/cc905478/override_status_regex_build.s -h -override_status_regex/ce9048f5: Creating test directory: /home/spack/runs/generic.loca -l.bash/compiler_status_regex/override_status_regex/ce9048f5 -override_status_regex/ce9048f5: Creating the stage directory: /home/spack/runs/generic -.local.bash/compiler_status_regex/override_status_regex/ce9048f5/stage -override_status_regex/ce9048f5: Writing build script: /home/spack/runs/generic.local.b -ash/compiler_status_regex/override_status_regex/ce9048f5/override_status_regex_build.s -h -override_status_regex/b8de1ee5: Creating test directory: /home/spack/runs/generic.loca -l.bash/compiler_status_regex/override_status_regex/b8de1ee5 -override_status_regex/b8de1ee5: Creating the stage directory: /home/spack/runs/generic -.local.bash/compiler_status_regex/override_status_regex/b8de1ee5/stage -override_status_regex/b8de1ee5: Writing build script: /home/spack/runs/generic.local.b -ash/compiler_status_regex/override_status_regex/b8de1ee5/override_status_regex_build.s -h -─────────────────────────────────── Running Tests ──────────────────────────────────── + Compiler Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ default_status_returncode/0d46a9b3 │ generic.local.bash │ gcc_7.5.0 │ status check based on returncode │ /home/spack/buildtest/examples/compilers/compiler_status │ +│ │ │ │ │ _regex.yml │ +├────────────────────────────────────┼────────────────────┼───────────┼──────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────┤ +│ default_status_returncode/83e1caf9 │ generic.local.bash │ gcc_6.5.0 │ status check based on returncode │ /home/spack/buildtest/examples/compilers/compiler_status │ +│ │ │ │ │ _regex.yml │ +├────────────────────────────────────┼────────────────────┼───────────┼──────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────┤ +│ default_status_returncode/aeb7a9fb │ generic.local.bash │ gcc_8.3.0 │ status check based on returncode │ /home/spack/buildtest/examples/compilers/compiler_status │ +│ │ │ │ │ _regex.yml │ +├────────────────────────────────────┼────────────────────┼───────────┼──────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────┤ +│ override_status_regex/9bbd537c │ generic.local.bash │ gcc_7.5.0 │ override 'status' property in compiler gcc_8.3.0 │ /home/spack/buildtest/examples/compilers/compiler_status │ +│ │ │ │ instance │ _regex.yml │ +├────────────────────────────────────┼────────────────────┼───────────┼──────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────┤ +│ override_status_regex/f56b56e5 │ generic.local.bash │ gcc_6.5.0 │ override 'status' property in compiler gcc_8.3.0 │ /home/spack/buildtest/examples/compilers/compiler_status │ +│ │ │ │ instance │ _regex.yml │ +├────────────────────────────────────┼────────────────────┼───────────┼──────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────┤ +│ override_status_regex/c3fab452 │ generic.local.bash │ gcc_8.3.0 │ override 'status' property in compiler gcc_8.3.0 │ /home/spack/buildtest/examples/compilers/compiler_status │ +│ │ │ │ instance │ _regex.yml │ +└────────────────────────────────────┴────────────────────┴───────────┴──────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +default_status_returncode/0d46a9b3: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/0d46a9b3 +default_status_returncode/0d46a9b3: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/0d46a9b3/stage +default_status_returncode/0d46a9b3: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/0d46a9b3/default_status_returncode_build.sh +default_status_returncode/83e1caf9: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/83e1caf9 +default_status_returncode/83e1caf9: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/83e1caf9/stage +default_status_returncode/83e1caf9: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/83e1caf9/default_status_returncode_build.sh +default_status_returncode/aeb7a9fb: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/aeb7a9fb +default_status_returncode/aeb7a9fb: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/aeb7a9fb/stage +default_status_returncode/aeb7a9fb: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/default_status_returncode/aeb7a9fb/default_status_returncode_build.sh +override_status_regex/9bbd537c: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/9bbd537c +override_status_regex/9bbd537c: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/9bbd537c/stage +override_status_regex/9bbd537c: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/9bbd537c/override_status_regex_build.sh +override_status_regex/f56b56e5: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/f56b56e5 +override_status_regex/f56b56e5: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/f56b56e5/stage +override_status_regex/f56b56e5: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/f56b56e5/override_status_regex_build.sh +override_status_regex/c3fab452: Creating test directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/c3fab452 +override_status_regex/c3fab452: Creating the stage directory: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/c3fab452/stage +override_status_regex/c3fab452: Writing build script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/c3fab452/override_status_regex_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -default_status_returncode/de0972d5: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +default_status_returncode/83e1caf9 does not have any dependencies adding test to queue +default_status_returncode/aeb7a9fb does not have any dependencies adding test to queue +default_status_returncode/0d46a9b3 does not have any dependencies adding test to queue +override_status_regex/c3fab452 does not have any dependencies adding test to queue +override_status_regex/9bbd537c does not have any dependencies adding test to queue +override_status_regex/f56b56e5 does not have any dependencies adding test to queue +default_status_returncode/83e1caf9: Running Test via command: bash --norc --noprofile -eo pipefail default_status_returncode_build.sh -default_status_returncode/074a1c77: Running Test via command: bash --norc +override_status_regex/c3fab452: Running Test via command: bash --norc +--noprofile -eo pipefail override_status_regex_build.sh +default_status_returncode/0d46a9b3: Running Test via command: bash --norc --noprofile -eo pipefail default_status_returncode_build.sh -default_status_returncode/8eca933b: Running Test via command: bash --norc +default_status_returncode/aeb7a9fb: Running Test via command: bash --norc --noprofile -eo pipefail default_status_returncode_build.sh -override_status_regex/cc905478: Running Test via command: bash --norc ---noprofile -eo pipefail override_status_regex_build.sh -default_status_returncode/074a1c77: Test completed with returncode: 0 -default_status_returncode/074a1c77: Test completed in 0.199869 seconds -default_status_returncode/de0972d5: Test completed with returncode: 0 -default_status_returncode/de0972d5: Test completed in 0.202137 seconds -default_status_returncode/074a1c77: Writing output file - /home/spack/runs/gene -ric.local.bash/compiler_status_regex/default_status_returncode/074a1c77/default_ +default_status_returncode/83e1caf9: Test completed in 0.19217 seconds +default_status_returncode/83e1caf9: Test completed with returncode: 0 +default_status_returncode/83e1caf9: Writing output file - /home/spack/runs/gene +ric.local.bash/compiler_status_regex/default_status_returncode/83e1caf9/default_ status_returncode.out -default_status_returncode/074a1c77: Writing error file - /home/spack/runs/generi -c.local.bash/compiler_status_regex/default_status_returncode/074a1c77/default_st +default_status_returncode/83e1caf9: Writing error file - /home/spack/runs/generi +c.local.bash/compiler_status_regex/default_status_returncode/83e1caf9/default_st atus_returncode.err -default_status_returncode/de0972d5: Writing output file - /home/spack/runs/gene -ric.local.bash/compiler_status_regex/default_status_returncode/de0972d5/default_ -status_returncode.out -default_status_returncode/074a1c77: Checking returncode - 0 is matched in list +default_status_returncode/83e1caf9: Checking returncode - 0 is matched in list [0] -override_status_regex/ce9048f5: Running Test via command: bash --norc ---noprofile -eo pipefail override_status_regex_build.sh -default_status_returncode/de0972d5: Writing error file - /home/spack/runs/generi -c.local.bash/compiler_status_regex/default_status_returncode/de0972d5/default_st +default_status_returncode/0d46a9b3: Test completed in 0.213665 seconds +default_status_returncode/0d46a9b3: Test completed with returncode: 0 +default_status_returncode/aeb7a9fb: Test completed in 0.21168 seconds +default_status_returncode/0d46a9b3: Writing output file - /home/spack/runs/gene +ric.local.bash/compiler_status_regex/default_status_returncode/0d46a9b3/default_ +status_returncode.out +default_status_returncode/aeb7a9fb: Test completed with returncode: 0 +override_status_regex/c3fab452: Test completed in 0.23273 seconds +default_status_returncode/0d46a9b3: Writing error file - /home/spack/runs/generi +c.local.bash/compiler_status_regex/default_status_returncode/0d46a9b3/default_st atus_returncode.err -default_status_returncode/de0972d5: Checking returncode - 0 is matched in list -[0] -override_status_regex/b8de1ee5: Running Test via command: bash --norc ---noprofile -eo pipefail override_status_regex_build.sh -default_status_returncode/8eca933b: Test completed with returncode: 0 -override_status_regex/cc905478: Test completed with returncode: 0 -default_status_returncode/8eca933b: Test completed in 0.262365 seconds -override_status_regex/cc905478: Test completed in 0.258238 seconds -override_status_regex/cc905478: Writing output file - /home/spack/runs/generic. -local.bash/compiler_status_regex/override_status_regex/cc905478/override_status_ -regex.out -default_status_returncode/8eca933b: Writing output file - /home/spack/runs/gene -ric.local.bash/compiler_status_regex/default_status_returncode/8eca933b/default_ +default_status_returncode/aeb7a9fb: Writing output file - /home/spack/runs/gene +ric.local.bash/compiler_status_regex/default_status_returncode/aeb7a9fb/default_ status_returncode.out -override_status_regex/cc905478: Writing error file - /home/spack/runs/generic.lo -cal.bash/compiler_status_regex/override_status_regex/cc905478/override_status_re -gex.err -override_status_regex/cc905478: Checking returncode - 0 is matched in list [1] -default_status_returncode/8eca933b: Writing error file - /home/spack/runs/generi -c.local.bash/compiler_status_regex/default_status_returncode/8eca933b/default_st +override_status_regex/c3fab452: Test completed with returncode: 0 +default_status_returncode/aeb7a9fb: Writing error file - /home/spack/runs/generi +c.local.bash/compiler_status_regex/default_status_returncode/aeb7a9fb/default_st atus_returncode.err -default_status_returncode/8eca933b: Checking returncode - 0 is matched in list -[0] -override_status_regex/b8de1ee5: Test completed with returncode: 0 -override_status_regex/b8de1ee5: Test completed in 0.143458 seconds -override_status_regex/ce9048f5: Test completed with returncode: 0 -override_status_regex/b8de1ee5: Writing output file - /home/spack/runs/generic. -local.bash/compiler_status_regex/override_status_regex/b8de1ee5/override_status_ +override_status_regex/c3fab452: Writing output file - /home/spack/runs/generic. +local.bash/compiler_status_regex/override_status_regex/c3fab452/override_status_ regex.out -override_status_regex/ce9048f5: Test completed in 0.163651 seconds -override_status_regex/b8de1ee5: Writing error file - /home/spack/runs/generic.lo -cal.bash/compiler_status_regex/override_status_regex/b8de1ee5/override_status_re +default_status_returncode/0d46a9b3: Checking returncode - 0 is matched in list +[0] +override_status_regex/c3fab452: Writing error file - /home/spack/runs/generic.lo +cal.bash/compiler_status_regex/override_status_regex/c3fab452/override_status_re gex.err -override_status_regex/b8de1ee5: performing regular expression - '^final result: +default_status_returncode/aeb7a9fb: Checking returncode - 0 is matched in list +[0] +override_status_regex/c3fab452: performing regular expression - '^final result: 0.99$' on file: /home/spack/runs/generic.local.bash/compiler_status_regex/overri -de_status_regex/b8de1ee5/override_status_regex.out -override_status_regex/ce9048f5: Writing output file - /home/spack/runs/generic. -local.bash/compiler_status_regex/override_status_regex/ce9048f5/override_status_ +de_status_regex/c3fab452/override_status_regex.out +override_status_regex/c3fab452: Regular Expression Match - Failed! +override_status_regex/9bbd537c: Running Test via command: bash --norc +--noprofile -eo pipefail override_status_regex_build.sh +override_status_regex/f56b56e5: Running Test via command: bash --norc +--noprofile -eo pipefail override_status_regex_build.sh +override_status_regex/9bbd537c: Test completed in 0.107907 seconds +override_status_regex/9bbd537c: Test completed with returncode: 0 +override_status_regex/f56b56e5: Test completed in 0.113869 seconds +override_status_regex/9bbd537c: Writing output file - /home/spack/runs/generic. +local.bash/compiler_status_regex/override_status_regex/9bbd537c/override_status_ +regex.out +override_status_regex/f56b56e5: Test completed with returncode: 0 +override_status_regex/9bbd537c: Writing error file - /home/spack/runs/generic.lo +cal.bash/compiler_status_regex/override_status_regex/9bbd537c/override_status_re +gex.err +override_status_regex/f56b56e5: Writing output file - /home/spack/runs/generic. +local.bash/compiler_status_regex/override_status_regex/f56b56e5/override_status_ regex.out -override_status_regex/b8de1ee5: Regular Expression Match - Failed! -override_status_regex/ce9048f5: Writing error file - /home/spack/runs/generic.lo -cal.bash/compiler_status_regex/override_status_regex/ce9048f5/override_status_re +override_status_regex/9bbd537c: Checking returncode - 0 is matched in list [1] +override_status_regex/f56b56e5: Writing error file - /home/spack/runs/generic.lo +cal.bash/compiler_status_regex/override_status_regex/f56b56e5/override_status_re gex.err -override_status_regex/ce9048f5: Checking returncode - 0 is matched in list [1] - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ default_status │ generic.local… │ PASS │ True False │ 0 │ 0.262365 │ -│ _returncode/8e │ │ │ False │ │ │ -│ ca933b │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ override_statu │ generic.local… │ FAIL │ False False │ 0 │ 0.258238 │ -│ s_regex/cc9054 │ │ │ False │ │ │ -│ 78 │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ override_statu │ generic.local… │ FAIL │ False False │ 0 │ 0.143458 │ -│ s_regex/b8de1e │ │ │ False │ │ │ -│ e5 │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ default_status │ generic.local… │ PASS │ True False │ 0 │ 0.202137 │ -│ _returncode/de │ │ │ False │ │ │ -│ 0972d5 │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ default_status │ generic.local… │ PASS │ True False │ 0 │ 0.199869 │ -│ _returncode/07 │ │ │ False │ │ │ -│ 4a1c77 │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ override_statu │ generic.local… │ FAIL │ False False │ 0 │ 0.163651 │ -│ s_regex/ce9048 │ │ │ False │ │ │ -│ f5 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +override_status_regex/f56b56e5: Checking returncode - 0 is matched in list [1] +In this iteration we are going to run the following tests: [default_status_returncode/83e1caf9, default_status_returncode/aeb7a9fb, default_status_returncode/0d46a9b3, override_status_regex/c3fab452, override_status_regex/9bbd537c, override_status_regex/f56b56e5] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ default_status_returncode/83e1caf9 │ generic.local.bash │ PASS │ True False False │ 0 │ 0.19217 │ +├────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ override_status_regex/f56b56e5 │ generic.local.bash │ FAIL │ False False False │ 0 │ 0.113869 │ +├────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ override_status_regex/9bbd537c │ generic.local.bash │ FAIL │ False False False │ 0 │ 0.107907 │ +├────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ override_status_regex/c3fab452 │ generic.local.bash │ FAIL │ False False False │ 0 │ 0.23273 │ +├────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ default_status_returncode/aeb7a9fb │ generic.local.bash │ PASS │ True False False │ 0 │ 0.21168 │ +├────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ default_status_returncode/0d46a9b3 │ generic.local.bash │ PASS │ True False False │ 0 │ 0.213665 │ +└────────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -231,4 +180,4 @@ Failed Tests: 3/6 Percentage: 50.000% Adding 6 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_6da4ggwq.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_ysjq4lge.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/custom_run.txt b/docs/buildtest_tutorial_examples/compilers/build/custom_run.txt index b5ec2a7cf..abe1cfd0a 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:57 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/compilers/custom_run.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭─────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:59 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟─────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/custom_run.yml ║ ╚═════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/custom_run.yml: VALID @@ -33,69 +33,55 @@ Total builder objects created: 2 Total compiler builder: 2 Total script builder: 0 Total spack builder: 0 - Compiler Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ custom_run_by_c │ generic.local.b │ gcc_7.5.0 │ Customize binary │ /home/spack/bui │ -│ ompilers/e56d67 │ ash │ │ launch based on │ ldtest/examples │ -│ ff │ │ │ compiler │ /compilers/cust │ -│ │ │ │ │ om_run.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ custom_run_by_c │ generic.local.b │ gcc_8.3.0 │ Customize binary │ /home/spack/bui │ -│ ompilers/a12b6c │ ash │ │ launch based on │ ldtest/examples │ -│ 5f │ │ │ compiler │ /compilers/cust │ -│ │ │ │ │ om_run.yml │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -custom_run_by_compilers/e56d67ff: Creating test directory: -/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/e56d67ff -custom_run_by_compilers/e56d67ff: Creating the stage directory: -/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/e56d67ff/stage -custom_run_by_compilers/e56d67ff: Writing build script: /home/spack/runs/generic.local -.bash/custom_run/custom_run_by_compilers/e56d67ff/custom_run_by_compilers_build.sh -custom_run_by_compilers/a12b6c5f: Creating test directory: -/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/a12b6c5f -custom_run_by_compilers/a12b6c5f: Creating the stage directory: -/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/a12b6c5f/stage -custom_run_by_compilers/a12b6c5f: Writing build script: /home/spack/runs/generic.local -.bash/custom_run/custom_run_by_compilers/a12b6c5f/custom_run_by_compilers_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Compiler Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ custom_run_by_compilers/2c066970 │ generic.local.bash │ gcc_7.5.0 │ Customize binary launch based on compiler │ /home/spack/buildtest/examples/compilers/custom_run.yml │ +├──────────────────────────────────┼────────────────────┼───────────┼───────────────────────────────────────────┼─────────────────────────────────────────────────────────┤ +│ custom_run_by_compilers/631edc79 │ generic.local.bash │ gcc_8.3.0 │ Customize binary launch based on compiler │ /home/spack/buildtest/examples/compilers/custom_run.yml │ +└──────────────────────────────────┴────────────────────┴───────────┴───────────────────────────────────────────┴─────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +custom_run_by_compilers/2c066970: Creating test directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970 +custom_run_by_compilers/2c066970: Creating the stage directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970/stage +custom_run_by_compilers/2c066970: Writing build script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970/custom_run_by_compilers_build.sh +custom_run_by_compilers/631edc79: Creating test directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79 +custom_run_by_compilers/631edc79: Creating the stage directory: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79/stage +custom_run_by_compilers/631edc79: Writing build script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79/custom_run_by_compilers_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -custom_run_by_compilers/e56d67ff: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +custom_run_by_compilers/631edc79 does not have any dependencies adding test to queue +custom_run_by_compilers/2c066970 does not have any dependencies adding test to queue +custom_run_by_compilers/631edc79: Running Test via command: bash --norc --noprofile -eo pipefail custom_run_by_compilers_build.sh -custom_run_by_compilers/a12b6c5f: Running Test via command: bash --norc +custom_run_by_compilers/2c066970: Running Test via command: bash --norc --noprofile -eo pipefail custom_run_by_compilers_build.sh -custom_run_by_compilers/e56d67ff: Test completed with returncode: 0 -custom_run_by_compilers/e56d67ff: Test completed in 0.078112 seconds -custom_run_by_compilers/e56d67ff: Writing output file - /home/spack/runs/generi -c.local.bash/custom_run/custom_run_by_compilers/e56d67ff/custom_run_by_compilers +custom_run_by_compilers/631edc79: Test completed in 0.073572 seconds +custom_run_by_compilers/631edc79: Test completed with returncode: 0 +custom_run_by_compilers/631edc79: Writing output file - /home/spack/runs/generi +c.local.bash/custom_run/custom_run_by_compilers/631edc79/custom_run_by_compilers .out -custom_run_by_compilers/e56d67ff: Writing error file - /home/spack/runs/generic. -local.bash/custom_run/custom_run_by_compilers/e56d67ff/custom_run_by_compilers.e +custom_run_by_compilers/631edc79: Writing error file - /home/spack/runs/generic. +local.bash/custom_run/custom_run_by_compilers/631edc79/custom_run_by_compilers.e rr -custom_run_by_compilers/a12b6c5f: Test completed with returncode: 0 -custom_run_by_compilers/a12b6c5f: Test completed in 0.081322 seconds -custom_run_by_compilers/a12b6c5f: Writing output file - /home/spack/runs/generi -c.local.bash/custom_run/custom_run_by_compilers/a12b6c5f/custom_run_by_compilers +custom_run_by_compilers/2c066970: Test completed in 0.097202 seconds +custom_run_by_compilers/2c066970: Test completed with returncode: 0 +custom_run_by_compilers/2c066970: Writing output file - /home/spack/runs/generi +c.local.bash/custom_run/custom_run_by_compilers/2c066970/custom_run_by_compilers .out -custom_run_by_compilers/a12b6c5f: Writing error file - /home/spack/runs/generic. -local.bash/custom_run/custom_run_by_compilers/a12b6c5f/custom_run_by_compilers.e +custom_run_by_compilers/2c066970: Writing error file - /home/spack/runs/generic. +local.bash/custom_run/custom_run_by_compilers/2c066970/custom_run_by_compilers.e rr - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ custom_run_by_ │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.078112 │ -│ compilers/e56d │ │ │ │ │ │ -│ 67ff │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ custom_run_by_ │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.081322 │ -│ compilers/a12b │ │ │ │ │ │ -│ 6c5f │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +In this iteration we are going to run the following tests: [custom_run_by_compilers/631edc79, custom_run_by_compilers/2c066970] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ custom_run_by_compilers/2c066970 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.097202 │ +├──────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ custom_run_by_compilers/631edc79 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.073572 │ +└──────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -104,4 +90,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_c8hwt9zh.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_sk2vff4z.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/envvar_override.txt b/docs/buildtest_tutorial_examples/compilers/build/envvar_override.txt index 47bf91b07..9a076b8cf 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:53 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/compilers/envvar_override.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:55 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟──────────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/envvar_override.yml ║ ╚══════════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/envvar_override.yml: VALID @@ -33,71 +33,55 @@ Total builder objects created: 2 Total compiler builder: 2 Total script builder: 0 Total spack builder: 0 - Compiler Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ override_enviro │ generic.local.b │ gcc_7.5.0 │ override default │ /home/spack/bui │ -│ nmentvars/f903e │ ash │ │ environment │ ldtest/examples │ -│ 92a │ │ │ variables │ /compilers/envv │ -│ │ │ │ │ ar_override.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ override_enviro │ generic.local.b │ gcc_8.3.0 │ override default │ /home/spack/bui │ -│ nmentvars/db006 │ ash │ │ environment │ ldtest/examples │ -│ 29e │ │ │ variables │ /compilers/envv │ -│ │ │ │ │ ar_override.yml │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -override_environmentvars/f903e92a: Creating test directory: -/home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/f903e92a -override_environmentvars/f903e92a: Creating the stage directory: /home/spack/runs/gene -ric.local.bash/envvar_override/override_environmentvars/f903e92a/stage -override_environmentvars/f903e92a: Writing build script: /home/spack/runs/generic.loca -l.bash/envvar_override/override_environmentvars/f903e92a/override_environmentvars_buil -d.sh -override_environmentvars/db00629e: Creating test directory: -/home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/db00629e -override_environmentvars/db00629e: Creating the stage directory: /home/spack/runs/gene -ric.local.bash/envvar_override/override_environmentvars/db00629e/stage -override_environmentvars/db00629e: Writing build script: /home/spack/runs/generic.loca -l.bash/envvar_override/override_environmentvars/db00629e/override_environmentvars_buil -d.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Compiler Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ override_environmentvars/687d988d │ generic.local.bash │ gcc_7.5.0 │ override default environment variables │ /home/spack/buildtest/examples/compilers/envvar_override.yml │ +├───────────────────────────────────┼────────────────────┼───────────┼────────────────────────────────────────┼──────────────────────────────────────────────────────────────┤ +│ override_environmentvars/8da65eb9 │ generic.local.bash │ gcc_8.3.0 │ override default environment variables │ /home/spack/buildtest/examples/compilers/envvar_override.yml │ +└───────────────────────────────────┴────────────────────┴───────────┴────────────────────────────────────────┴──────────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +override_environmentvars/687d988d: Creating test directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/687d988d +override_environmentvars/687d988d: Creating the stage directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/687d988d/stage +override_environmentvars/687d988d: Writing build script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/687d988d/override_environmentvars_build.sh +override_environmentvars/8da65eb9: Creating test directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8da65eb9 +override_environmentvars/8da65eb9: Creating the stage directory: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8da65eb9/stage +override_environmentvars/8da65eb9: Writing build script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8da65eb9/override_environmentvars_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -override_environmentvars/f903e92a: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +override_environmentvars/687d988d does not have any dependencies adding test to queue +override_environmentvars/8da65eb9 does not have any dependencies adding test to queue +override_environmentvars/687d988d: Running Test via command: bash --norc --noprofile -eo pipefail override_environmentvars_build.sh -override_environmentvars/db00629e: Running Test via command: bash --norc +override_environmentvars/8da65eb9: Running Test via command: bash --norc --noprofile -eo pipefail override_environmentvars_build.sh -override_environmentvars/f903e92a: Test completed with returncode: 0 -override_environmentvars/f903e92a: Test completed in 0.112387 seconds -override_environmentvars/f903e92a: Writing output file - /home/spack/runs/gener -ic.local.bash/envvar_override/override_environmentvars/f903e92a/override_environ +override_environmentvars/687d988d: Test completed in 0.100356 seconds +override_environmentvars/687d988d: Test completed with returncode: 0 +override_environmentvars/687d988d: Writing output file - /home/spack/runs/gener +ic.local.bash/envvar_override/override_environmentvars/687d988d/override_environ mentvars.out -override_environmentvars/f903e92a: Writing error file - /home/spack/runs/generic -.local.bash/envvar_override/override_environmentvars/f903e92a/override_environme +override_environmentvars/687d988d: Writing error file - /home/spack/runs/generic +.local.bash/envvar_override/override_environmentvars/687d988d/override_environme ntvars.err -override_environmentvars/db00629e: Test completed with returncode: 0 -override_environmentvars/db00629e: Test completed in 0.129934 seconds -override_environmentvars/db00629e: Writing output file - /home/spack/runs/gener -ic.local.bash/envvar_override/override_environmentvars/db00629e/override_environ +override_environmentvars/8da65eb9: Test completed in 0.139843 seconds +override_environmentvars/8da65eb9: Test completed with returncode: 0 +override_environmentvars/8da65eb9: Writing output file - /home/spack/runs/gener +ic.local.bash/envvar_override/override_environmentvars/8da65eb9/override_environ mentvars.out -override_environmentvars/db00629e: Writing error file - /home/spack/runs/generic -.local.bash/envvar_override/override_environmentvars/db00629e/override_environme +override_environmentvars/8da65eb9: Writing error file - /home/spack/runs/generic +.local.bash/envvar_override/override_environmentvars/8da65eb9/override_environme ntvars.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ override_envir │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.129934 │ -│ onmentvars/db0 │ │ │ │ │ │ -│ 0629e │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ override_envir │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.112387 │ -│ onmentvars/f90 │ │ │ │ │ │ -│ 3e92a │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +In this iteration we are going to run the following tests: [override_environmentvars/687d988d, override_environmentvars/8da65eb9] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ override_environmentvars/687d988d │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.100356 │ +├───────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ override_environmentvars/8da65eb9 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.139843 │ +└───────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -106,4 +90,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_mkm7zn7a.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_vb7vj8l_.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 c971f12a1..95b7e0001 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:47 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭──────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:51 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟──────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml ║ ╚══════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/gnu_hello_c.yml: VALID @@ -33,85 +33,67 @@ Total builder objects created: 3 Total compiler builder: 3 Total script builder: 0 Total spack builder: 0 - Compiler Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ hello_c/05760c1 │ generic.local.b │ gcc_7.5.0 │ Hello World C │ /home/spack/bui │ -│ 9 │ ash │ │ Compilation │ ldtest/examples │ -│ │ │ │ │ /compilers/gnu_ │ -│ │ │ │ │ hello_c.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ hello_c/26006d8 │ generic.local.b │ gcc_6.5.0 │ Hello World C │ /home/spack/bui │ -│ 1 │ ash │ │ Compilation │ ldtest/examples │ -│ │ │ │ │ /compilers/gnu_ │ -│ │ │ │ │ hello_c.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ hello_c/4dc8886 │ generic.local.b │ gcc_8.3.0 │ Hello World C │ /home/spack/bui │ -│ f │ ash │ │ Compilation │ ldtest/examples │ -│ │ │ │ │ /compilers/gnu_ │ -│ │ │ │ │ hello_c.yml │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -hello_c/05760c19: Creating test directory: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/05760c19 -hello_c/05760c19: Creating the stage directory: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/05760c19/stage -hello_c/05760c19: Writing build script: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/05760c19/hello_c_build.sh -hello_c/26006d81: Creating test directory: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/26006d81 -hello_c/26006d81: Creating the stage directory: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/26006d81/stage -hello_c/26006d81: Writing build script: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/26006d81/hello_c_build.sh -hello_c/4dc8886f: Creating test directory: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/4dc8886f -hello_c/4dc8886f: Creating the stage directory: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/4dc8886f/stage -hello_c/4dc8886f: Writing build script: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/4dc8886f/hello_c_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Compiler Builder Details +┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ hello_c/a0a8c4a9 │ generic.local.bash │ gcc_7.5.0 │ Hello World C Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ +├──────────────────┼────────────────────┼───────────┼───────────────────────────┼──────────────────────────────────────────────────────────┤ +│ hello_c/e1d7f37a │ generic.local.bash │ gcc_6.5.0 │ Hello World C Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ +├──────────────────┼────────────────────┼───────────┼───────────────────────────┼──────────────────────────────────────────────────────────┤ +│ hello_c/8d2fdb0c │ generic.local.bash │ gcc_8.3.0 │ Hello World C Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_c.yml │ +└──────────────────┴────────────────────┴───────────┴───────────────────────────┴──────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +hello_c/a0a8c4a9: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a0a8c4a9 +hello_c/a0a8c4a9: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a0a8c4a9/stage +hello_c/a0a8c4a9: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a0a8c4a9/hello_c_build.sh +hello_c/e1d7f37a: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/e1d7f37a +hello_c/e1d7f37a: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/e1d7f37a/stage +hello_c/e1d7f37a: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/e1d7f37a/hello_c_build.sh +hello_c/8d2fdb0c: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/8d2fdb0c +hello_c/8d2fdb0c: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/8d2fdb0c/stage +hello_c/8d2fdb0c: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/8d2fdb0c/hello_c_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -hello_c/05760c19: Running Test via command: bash --norc --noprofile -eo pipefail +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +hello_c/8d2fdb0c does not have any dependencies adding test to queue +hello_c/e1d7f37a does not have any dependencies adding test to queue +hello_c/a0a8c4a9 does not have any dependencies adding test to queue +hello_c/8d2fdb0c: Running Test via command: bash --norc --noprofile -eo pipefail hello_c_build.sh -hello_c/4dc8886f: Running Test via command: bash --norc --noprofile -eo pipefail +hello_c/e1d7f37a: Running Test via command: bash --norc --noprofile -eo pipefail hello_c_build.sh -hello_c/26006d81: Running Test via command: bash --norc --noprofile -eo pipefail +hello_c/a0a8c4a9: Running Test via command: bash --norc --noprofile -eo pipefail hello_c_build.sh -hello_c/05760c19: Test completed with returncode: 0 -hello_c/05760c19: Test completed in 0.131986 seconds -hello_c/05760c19: Writing output file - -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/05760c19/hello_c.out -hello_c/05760c19: Writing error file - -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/05760c19/hello_c.err -hello_c/4dc8886f: Test completed with returncode: 0 -hello_c/4dc8886f: Test completed in 0.163229 seconds -hello_c/4dc8886f: Writing output file - -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/4dc8886f/hello_c.out -hello_c/4dc8886f: Writing error file - -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/4dc8886f/hello_c.err -hello_c/26006d81: Test completed with returncode: 0 -hello_c/26006d81: Test completed in 0.175778 seconds -hello_c/26006d81: Writing output file - -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/26006d81/hello_c.out -hello_c/26006d81: Writing error file - -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/26006d81/hello_c.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ hello_c/26006d │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.175778 │ -│ 81 │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ hello_c/4dc888 │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.163229 │ -│ 6f │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ hello_c/05760c │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.131986 │ -│ 19 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +hello_c/e1d7f37a: Test completed in 0.179623 seconds +hello_c/a0a8c4a9: Test completed in 0.176819 seconds +hello_c/e1d7f37a: Test completed with returncode: 0 +hello_c/a0a8c4a9: Test completed with returncode: 0 +hello_c/e1d7f37a: Writing output file - +/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/e1d7f37a/hello_c.out +hello_c/a0a8c4a9: Writing output file - +/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a0a8c4a9/hello_c.out +hello_c/8d2fdb0c: Test completed in 0.194887 seconds +hello_c/a0a8c4a9: Writing error file - +/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a0a8c4a9/hello_c.err +hello_c/e1d7f37a: Writing error file - +/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/e1d7f37a/hello_c.err +hello_c/8d2fdb0c: Test completed with returncode: 0 +hello_c/8d2fdb0c: Writing output file - +/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/8d2fdb0c/hello_c.out +hello_c/8d2fdb0c: Writing error file - +/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/8d2fdb0c/hello_c.err +In this iteration we are going to run the following tests: [hello_c/8d2fdb0c, hello_c/e1d7f37a, hello_c/a0a8c4a9] + Test Summary +┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ hello_c/8d2fdb0c │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.194887 │ +├──────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ hello_c/e1d7f37a │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.179623 │ +├──────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ hello_c/a0a8c4a9 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.176819 │ +└──────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -120,4 +102,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_c59e1xvc.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_q1wllz_r.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 db848887f..8c3b60242 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:43 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/compilers/gnu_hello_fortran.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭─────────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:47 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟────────────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/gnu_hello_fortran.yml ║ ╚════════════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/gnu_hello_fortran.yml: VALID @@ -33,42 +33,35 @@ Total builder objects created: 1 Total compiler builder: 1 Total script builder: 0 Total spack builder: 0 - Compiler Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ hello_f/4b74d2d │ generic.local.b │ gcc_7.5.0 │ Hello World │ /home/spack/bui │ -│ f │ ash │ │ Fortran │ ldtest/examples │ -│ │ │ │ Compilation │ /compilers/gnu_ │ -│ │ │ │ │ hello_fortran.y │ -│ │ │ │ │ ml │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -hello_f/4b74d2df: Creating test directory: -/home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/4b74d2df -hello_f/4b74d2df: Creating the stage directory: -/home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/4b74d2df/stage -hello_f/4b74d2df: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_ -fortran/hello_f/4b74d2df/hello_f_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Compiler Builder Details +┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ hello_f/339023ee │ generic.local.bash │ gcc_7.5.0 │ Hello World Fortran Compilation │ /home/spack/buildtest/examples/compilers/gnu_hello_fortran.yml │ +└──────────────────┴────────────────────┴───────────┴─────────────────────────────────┴────────────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +hello_f/339023ee: Creating test directory: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/339023ee +hello_f/339023ee: Creating the stage directory: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/339023ee/stage +hello_f/339023ee: Writing build script: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/339023ee/hello_f_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -hello_f/4b74d2df: Running Test via command: bash --norc --noprofile -eo pipefail +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +hello_f/339023ee does not have any dependencies adding test to queue +hello_f/339023ee: Running Test via command: bash --norc --noprofile -eo pipefail hello_f_build.sh -hello_f/4b74d2df: Test completed with returncode: 0 -hello_f/4b74d2df: Test completed in 0.496284 seconds -hello_f/4b74d2df: Writing output file - /home/spack/runs/generic.local.bash/gnu -_hello_fortran/hello_f/4b74d2df/hello_f.out -hello_f/4b74d2df: Writing error file - /home/spack/runs/generic.local.bash/gnu_h -ello_fortran/hello_f/4b74d2df/hello_f.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ hello_f/4b74d2 │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.496284 │ -│ df │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +hello_f/339023ee: Test completed in 0.153233 seconds +hello_f/339023ee: Test completed with returncode: 0 +hello_f/339023ee: Writing output file - /home/spack/runs/generic.local.bash/gnu +_hello_fortran/hello_f/339023ee/hello_f.out +hello_f/339023ee: Writing error file - /home/spack/runs/generic.local.bash/gnu_h +ello_fortran/hello_f/339023ee/hello_f.err +In this iteration we are going to run the following tests: [hello_f/339023ee] + Test Summary +┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ hello_f/339023ee │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.153233 │ +└──────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -77,4 +70,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_stgv87we.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_xcxzeu97.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/openmp_hello.txt b/docs/buildtest_tutorial_examples/compilers/build/openmp_hello.txt index 5e647cd50..f7c6d33ea 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:51 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/compilers/openmp_hello.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭──────────────────────────────────────────────────── buildtest summary ─────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:53 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟───────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/openmp_hello.yml ║ ╚═══════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/openmp_hello.yml: VALID @@ -33,44 +33,37 @@ Total builder objects created: 1 Total compiler builder: 1 Total script builder: 0 Total spack builder: 0 - Compiler Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ openmp_hello_c_ │ generic.local.b │ gcc_7.5.0 │ OpenMP Hello │ /home/spack/bui │ -│ example/7a24456 │ ash │ │ World C example │ ldtest/examples │ -│ 1 │ │ │ │ /compilers/open │ -│ │ │ │ │ mp_hello.yml │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -openmp_hello_c_example/7a244561: Creating test directory: -/home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/7a244561 -openmp_hello_c_example/7a244561: Creating the stage directory: -/home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/7a244561/stage -openmp_hello_c_example/7a244561: Writing build script: /home/spack/runs/generic.local. -bash/openmp_hello/openmp_hello_c_example/7a244561/openmp_hello_c_example_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Compiler Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ openmp_hello_c_example/a03b3d73 │ generic.local.bash │ gcc_7.5.0 │ OpenMP Hello World C example │ /home/spack/buildtest/examples/compilers/openmp_hello.yml │ +└─────────────────────────────────┴────────────────────┴───────────┴──────────────────────────────┴───────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +openmp_hello_c_example/a03b3d73: Creating test directory: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/a03b3d73 +openmp_hello_c_example/a03b3d73: Creating the stage directory: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/a03b3d73/stage +openmp_hello_c_example/a03b3d73: Writing build script: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/a03b3d73/openmp_hello_c_example_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -openmp_hello_c_example/7a244561: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +openmp_hello_c_example/a03b3d73 does not have any dependencies adding test to queue +openmp_hello_c_example/a03b3d73: Running Test via command: bash --norc --noprofile -eo pipefail openmp_hello_c_example_build.sh -openmp_hello_c_example/7a244561: Test completed with returncode: 0 -openmp_hello_c_example/7a244561: Test completed in 0.070765 seconds -openmp_hello_c_example/7a244561: Writing output file - /home/spack/runs/generic -.local.bash/openmp_hello/openmp_hello_c_example/7a244561/openmp_hello_c_example. +openmp_hello_c_example/a03b3d73: Test completed in 0.065993 seconds +openmp_hello_c_example/a03b3d73: Test completed with returncode: 0 +openmp_hello_c_example/a03b3d73: Writing output file - /home/spack/runs/generic +.local.bash/openmp_hello/openmp_hello_c_example/a03b3d73/openmp_hello_c_example. out -openmp_hello_c_example/7a244561: Writing error file - /home/spack/runs/generic.l -ocal.bash/openmp_hello/openmp_hello_c_example/7a244561/openmp_hello_c_example.er +openmp_hello_c_example/a03b3d73: Writing error file - /home/spack/runs/generic.l +ocal.bash/openmp_hello/openmp_hello_c_example/a03b3d73/openmp_hello_c_example.er r - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ openmp_hello_c │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.070765 │ -│ _example/7a244 │ │ │ │ │ │ -│ 561 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +In this iteration we are going to run the following tests: [openmp_hello_c_example/a03b3d73] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ openmp_hello_c_example/a03b3d73 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.065993 │ +└─────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -79,4 +72,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_bipmwagf.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_1z4eqqte.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 21a461e60..014cbed49 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:58 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ 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: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:28:01 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟─────────────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/pre_post_build_run.yml ║ ╚═════════════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/pre_post_build_run.yml: VALID @@ -33,42 +33,36 @@ Total builder objects created: 1 Total compiler builder: 1 Total script builder: 0 Total spack builder: 0 - Compiler Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ pre_post_build_ │ generic.local.b │ gcc_7.5.0 │ example using │ /home/spack/bui │ -│ run/10b5f804 │ ash │ │ pre_build, │ ldtest/examples │ -│ │ │ │ post_build, │ /compilers/pre_ │ -│ │ │ │ pre_run, │ post_build_run. │ -│ │ │ │ post_run example │ yml │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -pre_post_build_run/10b5f804: Creating test directory: -/home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/10b5f804 -pre_post_build_run/10b5f804: Creating the stage directory: /home/spack/runs/generic.lo -cal.bash/pre_post_build_run/pre_post_build_run/10b5f804/stage -pre_post_build_run/10b5f804: Writing build script: /home/spack/runs/generic.local.bash -/pre_post_build_run/pre_post_build_run/10b5f804/pre_post_build_run_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Compiler Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ pre_post_build_run/5c6818d4 │ generic.local.bash │ gcc_7.5.0 │ example using pre_build, post_build, pre_run, post_run │ /home/spack/buildtest/examples/compilers/pre_post_build_run │ +│ │ │ │ example │ .yml │ +└─────────────────────────────┴────────────────────┴───────────┴──────────────────────────────────────────────────────────────┴─────────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +pre_post_build_run/5c6818d4: Creating test directory: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/5c6818d4 +pre_post_build_run/5c6818d4: Creating the stage directory: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/5c6818d4/stage +pre_post_build_run/5c6818d4: Writing build script: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/5c6818d4/pre_post_build_run_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -pre_post_build_run/10b5f804: Running Test via command: bash --norc --noprofile +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +pre_post_build_run/5c6818d4 does not have any dependencies adding test to queue +pre_post_build_run/5c6818d4: Running Test via command: bash --norc --noprofile -eo pipefail pre_post_build_run_build.sh -pre_post_build_run/10b5f804: Test completed with returncode: 0 -pre_post_build_run/10b5f804: Test completed in 0.060113 seconds -pre_post_build_run/10b5f804: Writing output file - /home/spack/runs/generic.loc -al.bash/pre_post_build_run/pre_post_build_run/10b5f804/pre_post_build_run.out -pre_post_build_run/10b5f804: Writing error file - /home/spack/runs/generic.local -.bash/pre_post_build_run/pre_post_build_run/10b5f804/pre_post_build_run.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ pre_post_build │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.060113 │ -│ _run/10b5f804 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +pre_post_build_run/5c6818d4: Test completed in 0.071881 seconds +pre_post_build_run/5c6818d4: Test completed with returncode: 0 +pre_post_build_run/5c6818d4: Writing output file - /home/spack/runs/generic.loc +al.bash/pre_post_build_run/pre_post_build_run/5c6818d4/pre_post_build_run.out +pre_post_build_run/5c6818d4: Writing error file - /home/spack/runs/generic.local +.bash/pre_post_build_run/pre_post_build_run/5c6818d4/pre_post_build_run.err +In this iteration we are going to run the following tests: [pre_post_build_run/5c6818d4] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ pre_post_build_run/5c6818d4 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.071881 │ +└─────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -77,4 +71,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_fo4lnr_k.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_viwq54ie.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/stream_example.txt b/docs/buildtest_tutorial_examples/compilers/build/stream_example.txt index 354bac1bf..ea1df366d 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:49:00 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/compilers/stream_example.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭───────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:28:03 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟─────────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/stream_example.yml ║ ╚═════════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/stream_example.yml: VALID @@ -33,85 +33,67 @@ Total builder objects created: 3 Total compiler builder: 0 Total script builder: 3 Total spack builder: 0 - Script Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ stream_openmp_c │ generic.local.b │ gcc_7.5.0 │ STREAM │ /home/spack/bui │ -│ /e79a1ed6 │ ash │ │ Microbenchmark C │ ldtest/examples │ -│ │ │ │ Test with OpenMP │ /compilers/stre │ -│ │ │ │ │ am_example.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ stream_openmp_c │ generic.local.b │ gcc_6.5.0 │ STREAM │ /home/spack/bui │ -│ /6d1b21be │ ash │ │ Microbenchmark C │ ldtest/examples │ -│ │ │ │ Test with OpenMP │ /compilers/stre │ -│ │ │ │ │ am_example.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ stream_openmp_c │ generic.local.b │ gcc_8.3.0 │ STREAM │ /home/spack/bui │ -│ /eae57d8e │ ash │ │ Microbenchmark C │ ldtest/examples │ -│ │ │ │ Test with OpenMP │ /compilers/stre │ -│ │ │ │ │ am_example.yml │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -stream_openmp_c/e79a1ed6: Creating test directory: -/home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e79a1ed6 -stream_openmp_c/e79a1ed6: Creating the stage directory: -/home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e79a1ed6/stage -stream_openmp_c/e79a1ed6: Writing build script: /home/spack/runs/generic.local.bash/st -ream_example/stream_openmp_c/e79a1ed6/stream_openmp_c_build.sh -stream_openmp_c/6d1b21be: Creating test directory: -/home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/6d1b21be -stream_openmp_c/6d1b21be: Creating the stage directory: -/home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/6d1b21be/stage -stream_openmp_c/6d1b21be: Writing build script: /home/spack/runs/generic.local.bash/st -ream_example/stream_openmp_c/6d1b21be/stream_openmp_c_build.sh -stream_openmp_c/eae57d8e: Creating test directory: -/home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/eae57d8e -stream_openmp_c/eae57d8e: Creating the stage directory: -/home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/eae57d8e/stage -stream_openmp_c/eae57d8e: Writing build script: /home/spack/runs/generic.local.bash/st -ream_example/stream_openmp_c/eae57d8e/stream_openmp_c_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Script Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ stream_openmp_c/a88ca63f │ generic.local.bash │ gcc_7.5.0 │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example.yml │ +├──────────────────────────┼────────────────────┼───────────┼──────────────────────────────────────────┼─────────────────────────────────────────────────────────────┤ +│ stream_openmp_c/3b2403ff │ generic.local.bash │ gcc_6.5.0 │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example.yml │ +├──────────────────────────┼────────────────────┼───────────┼──────────────────────────────────────────┼─────────────────────────────────────────────────────────────┤ +│ stream_openmp_c/7d0fb6b4 │ generic.local.bash │ gcc_8.3.0 │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example.yml │ +└──────────────────────────┴────────────────────┴───────────┴──────────────────────────────────────────┴─────────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +stream_openmp_c/a88ca63f: Creating test directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a88ca63f +stream_openmp_c/a88ca63f: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a88ca63f/stage +stream_openmp_c/a88ca63f: Writing build script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a88ca63f/stream_openmp_c_build.sh +stream_openmp_c/3b2403ff: Creating test directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/3b2403ff +stream_openmp_c/3b2403ff: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/3b2403ff/stage +stream_openmp_c/3b2403ff: Writing build script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/3b2403ff/stream_openmp_c_build.sh +stream_openmp_c/7d0fb6b4: Creating test directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/7d0fb6b4 +stream_openmp_c/7d0fb6b4: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/7d0fb6b4/stage +stream_openmp_c/7d0fb6b4: Writing build script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/7d0fb6b4/stream_openmp_c_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -stream_openmp_c/e79a1ed6: Running Test via command: bash --norc --noprofile -eo +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +stream_openmp_c/7d0fb6b4 does not have any dependencies adding test to queue +stream_openmp_c/a88ca63f does not have any dependencies adding test to queue +stream_openmp_c/3b2403ff does not have any dependencies adding test to queue +stream_openmp_c/3b2403ff: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -stream_openmp_c/6d1b21be: Running Test via command: bash --norc --noprofile -eo +stream_openmp_c/a88ca63f: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -stream_openmp_c/eae57d8e: Running Test via command: bash --norc --noprofile -eo +stream_openmp_c/7d0fb6b4: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -stream_openmp_c/6d1b21be: Test completed with returncode: 0 -stream_openmp_c/6d1b21be: Test completed in 2.816406 seconds -stream_openmp_c/6d1b21be: Writing output file - /home/spack/runs/generic.local. -bash/stream_example/stream_openmp_c/6d1b21be/stream_openmp_c.out -stream_openmp_c/6d1b21be: Writing error file - /home/spack/runs/generic.local.ba -sh/stream_example/stream_openmp_c/6d1b21be/stream_openmp_c.err -stream_openmp_c/eae57d8e: Test completed with returncode: 0 -stream_openmp_c/eae57d8e: Test completed in 2.858822 seconds -stream_openmp_c/eae57d8e: Writing output file - /home/spack/runs/generic.local. -bash/stream_example/stream_openmp_c/eae57d8e/stream_openmp_c.out -stream_openmp_c/eae57d8e: Writing error file - /home/spack/runs/generic.local.ba -sh/stream_example/stream_openmp_c/eae57d8e/stream_openmp_c.err -stream_openmp_c/e79a1ed6: Test completed with returncode: 0 -stream_openmp_c/e79a1ed6: Test completed in 2.909247 seconds -stream_openmp_c/e79a1ed6: Writing output file - /home/spack/runs/generic.local. -bash/stream_example/stream_openmp_c/e79a1ed6/stream_openmp_c.out -stream_openmp_c/e79a1ed6: Writing error file - /home/spack/runs/generic.local.ba -sh/stream_example/stream_openmp_c/e79a1ed6/stream_openmp_c.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ stream_openmp_ │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 2.816406 │ -│ c/6d1b21be │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ stream_openmp_ │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 2.858822 │ -│ c/eae57d8e │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ stream_openmp_ │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 2.909247 │ -│ c/e79a1ed6 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +stream_openmp_c/7d0fb6b4: Test completed in 2.621733 seconds +stream_openmp_c/7d0fb6b4: Test completed with returncode: 0 +stream_openmp_c/7d0fb6b4: Writing output file - /home/spack/runs/generic.local. +bash/stream_example/stream_openmp_c/7d0fb6b4/stream_openmp_c.out +stream_openmp_c/7d0fb6b4: Writing error file - /home/spack/runs/generic.local.ba +sh/stream_example/stream_openmp_c/7d0fb6b4/stream_openmp_c.err +stream_openmp_c/a88ca63f: Test completed in 2.662157 seconds +stream_openmp_c/3b2403ff: Test completed in 2.674052 seconds +stream_openmp_c/a88ca63f: Test completed with returncode: 0 +stream_openmp_c/3b2403ff: Test completed with returncode: 0 +stream_openmp_c/a88ca63f: Writing output file - /home/spack/runs/generic.local. +bash/stream_example/stream_openmp_c/a88ca63f/stream_openmp_c.out +stream_openmp_c/3b2403ff: Writing output file - /home/spack/runs/generic.local. +bash/stream_example/stream_openmp_c/3b2403ff/stream_openmp_c.out +stream_openmp_c/a88ca63f: Writing error file - /home/spack/runs/generic.local.ba +sh/stream_example/stream_openmp_c/a88ca63f/stream_openmp_c.err +stream_openmp_c/3b2403ff: Writing error file - /home/spack/runs/generic.local.ba +sh/stream_example/stream_openmp_c/3b2403ff/stream_openmp_c.err +In this iteration we are going to run the following tests: [stream_openmp_c/7d0fb6b4, stream_openmp_c/a88ca63f, stream_openmp_c/3b2403ff] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ stream_openmp_c/3b2403ff │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 2.674052 │ +├──────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ stream_openmp_c/7d0fb6b4 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 2.621733 │ +├──────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ stream_openmp_c/a88ca63f │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 2.662157 │ +└──────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -120,4 +102,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_ja1o2386.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_b43jkx2i.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 b4836d471..45198bc9e 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:49:04 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/compilers/stream_example_metrics.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭───────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:28:07 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟─────────────────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/stream_example_metrics.yml ║ ╚═════════════════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/stream_example_metrics.yml: VALID @@ -33,45 +33,37 @@ Total builder objects created: 1 Total compiler builder: 0 Total script builder: 1 Total spack builder: 0 - Script Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ stream_openmp_m │ generic.local.b │ gcc_7.5.0 │ STREAM │ /home/spack/bui │ -│ etrics/58ecf4b6 │ ash │ │ Microbenchmark C │ ldtest/examples │ -│ │ │ │ Test with OpenMP │ /compilers/stre │ -│ │ │ │ │ am_example_metr │ -│ │ │ │ │ ics.yml │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -stream_openmp_metrics/58ecf4b6: Creating test directory: /home/spack/runs/generic.loca -l.bash/stream_example_metrics/stream_openmp_metrics/58ecf4b6 -stream_openmp_metrics/58ecf4b6: Creating the stage directory: /home/spack/runs/generic -.local.bash/stream_example_metrics/stream_openmp_metrics/58ecf4b6/stage -stream_openmp_metrics/58ecf4b6: Writing build script: /home/spack/runs/generic.local.b -ash/stream_example_metrics/stream_openmp_metrics/58ecf4b6/stream_openmp_metrics_build. -sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Script Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ stream_openmp_metrics/6b3e458e │ generic.local.bash │ gcc_7.5.0 │ STREAM Microbenchmark C Test with OpenMP │ /home/spack/buildtest/examples/compilers/stream_example_metrics.yml │ +└────────────────────────────────┴────────────────────┴───────────┴──────────────────────────────────────────┴─────────────────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +stream_openmp_metrics/6b3e458e: Creating test directory: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/6b3e458e +stream_openmp_metrics/6b3e458e: Creating the stage directory: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/6b3e458e/stage +stream_openmp_metrics/6b3e458e: Writing build script: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/6b3e458e/stream_openmp_metrics_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -stream_openmp_metrics/58ecf4b6: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +stream_openmp_metrics/6b3e458e does not have any dependencies adding test to queue +stream_openmp_metrics/6b3e458e: Running Test via command: bash --norc --noprofile -eo pipefail stream_openmp_metrics_build.sh -stream_openmp_metrics/58ecf4b6: Test completed with returncode: 0 -stream_openmp_metrics/58ecf4b6: Test completed in 0.89871 seconds -stream_openmp_metrics/58ecf4b6: Writing output file - /home/spack/runs/generic. -local.bash/stream_example_metrics/stream_openmp_metrics/58ecf4b6/stream_openmp_m +stream_openmp_metrics/6b3e458e: Test completed in 0.945047 seconds +stream_openmp_metrics/6b3e458e: Test completed with returncode: 0 +stream_openmp_metrics/6b3e458e: Writing output file - /home/spack/runs/generic. +local.bash/stream_example_metrics/stream_openmp_metrics/6b3e458e/stream_openmp_m etrics.out -stream_openmp_metrics/58ecf4b6: Writing error file - /home/spack/runs/generic.lo -cal.bash/stream_example_metrics/stream_openmp_metrics/58ecf4b6/stream_openmp_met +stream_openmp_metrics/6b3e458e: Writing error file - /home/spack/runs/generic.lo +cal.bash/stream_example_metrics/stream_openmp_metrics/6b3e458e/stream_openmp_met rics.err - Test Summary -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩ -│ stream_openmp_m │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.89871 │ -│ etrics/58ecf4b6 │ │ │ │ │ │ -└─────────────────┴────────────────┴────────┴─────────────────┴────────────┴─────────┘ +In this iteration we are going to run the following tests: [stream_openmp_metrics/6b3e458e] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ stream_openmp_metrics/6b3e458e │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.945047 │ +└────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -80,4 +72,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_snrwlvdk.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_zaguygi0.log diff --git a/docs/buildtest_tutorial_examples/compilers/build/vecadd.txt b/docs/buildtest_tutorial_examples/compilers/build/vecadd.txt index dcb05f8e0..d950739c1 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:46 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/compilers/vecadd.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭───────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:49 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟─────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/compilers/vecadd.yml ║ ╚═════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/compilers/vecadd.yml: VALID @@ -33,85 +33,67 @@ Total builder objects created: 3 Total compiler builder: 3 Total script builder: 0 Total spack builder: 0 - Compiler Builder Details -┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩ -│ vecadd_gnu/5a34 │ generic.local.b │ gcc_7.5.0 │ Vector Addition │ /home/spack/bui │ -│ e5b4 │ ash │ │ example with GNU │ ldtest/examples │ -│ │ │ │ compiler │ /compilers/veca │ -│ │ │ │ │ dd.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ vecadd_gnu/43cf │ generic.local.b │ gcc_6.5.0 │ Vector Addition │ /home/spack/bui │ -│ 6246 │ ash │ │ example with GNU │ ldtest/examples │ -│ │ │ │ compiler │ /compilers/veca │ -│ │ │ │ │ dd.yml │ -├─────────────────┼─────────────────┼───────────┼──────────────────┼─────────────────┤ -│ vecadd_gnu/9b62 │ generic.local.b │ gcc_8.3.0 │ Vector Addition │ /home/spack/bui │ -│ 62f1 │ ash │ │ example with GNU │ ldtest/examples │ -│ │ │ │ compiler │ /compilers/veca │ -│ │ │ │ │ dd.yml │ -└─────────────────┴─────────────────┴───────────┴──────────────────┴─────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -vecadd_gnu/5a34e5b4: Creating test directory: -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/5a34e5b4 -vecadd_gnu/5a34e5b4: Creating the stage directory: -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/5a34e5b4/stage -vecadd_gnu/5a34e5b4: Writing build script: -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/5a34e5b4/vecadd_gnu_build.sh -vecadd_gnu/43cf6246: Creating test directory: -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/43cf6246 -vecadd_gnu/43cf6246: Creating the stage directory: -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/43cf6246/stage -vecadd_gnu/43cf6246: Writing build script: -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/43cf6246/vecadd_gnu_build.sh -vecadd_gnu/9b6262f1: Creating test directory: -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/9b6262f1 -vecadd_gnu/9b6262f1: Creating the stage directory: -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/9b6262f1/stage -vecadd_gnu/9b6262f1: Writing build script: -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/9b6262f1/vecadd_gnu_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Compiler Builder Details +┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ Compiler ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ vecadd_gnu/97cec93c │ generic.local.bash │ gcc_7.5.0 │ Vector Addition example with GNU compiler │ /home/spack/buildtest/examples/compilers/vecadd.yml │ +├─────────────────────┼────────────────────┼───────────┼───────────────────────────────────────────┼─────────────────────────────────────────────────────┤ +│ vecadd_gnu/f3882c07 │ generic.local.bash │ gcc_6.5.0 │ Vector Addition example with GNU compiler │ /home/spack/buildtest/examples/compilers/vecadd.yml │ +├─────────────────────┼────────────────────┼───────────┼───────────────────────────────────────────┼─────────────────────────────────────────────────────┤ +│ vecadd_gnu/2a0b411f │ generic.local.bash │ gcc_8.3.0 │ Vector Addition example with GNU compiler │ /home/spack/buildtest/examples/compilers/vecadd.yml │ +└─────────────────────┴────────────────────┴───────────┴───────────────────────────────────────────┴─────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +vecadd_gnu/97cec93c: Creating test directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/97cec93c +vecadd_gnu/97cec93c: Creating the stage directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/97cec93c/stage +vecadd_gnu/97cec93c: Writing build script: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/97cec93c/vecadd_gnu_build.sh +vecadd_gnu/f3882c07: Creating test directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/f3882c07 +vecadd_gnu/f3882c07: Creating the stage directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/f3882c07/stage +vecadd_gnu/f3882c07: Writing build script: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/f3882c07/vecadd_gnu_build.sh +vecadd_gnu/2a0b411f: Creating test directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2a0b411f +vecadd_gnu/2a0b411f: Creating the stage directory: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2a0b411f/stage +vecadd_gnu/2a0b411f: Writing build script: /home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2a0b411f/vecadd_gnu_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -vecadd_gnu/5a34e5b4: Running Test via command: bash --norc --noprofile -eo +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +vecadd_gnu/2a0b411f does not have any dependencies adding test to queue +vecadd_gnu/f3882c07 does not have any dependencies adding test to queue +vecadd_gnu/97cec93c does not have any dependencies adding test to queue +vecadd_gnu/2a0b411f: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_build.sh -vecadd_gnu/43cf6246: Running Test via command: bash --norc --noprofile -eo +vecadd_gnu/f3882c07: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_build.sh -vecadd_gnu/9b6262f1: Running Test via command: bash --norc --noprofile -eo +vecadd_gnu/97cec93c: Running Test via command: bash --norc --noprofile -eo pipefail vecadd_gnu_build.sh -vecadd_gnu/5a34e5b4: Test completed with returncode: 0 -vecadd_gnu/5a34e5b4: Test completed in 0.176421 seconds -vecadd_gnu/5a34e5b4: Writing output file - -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/5a34e5b4/vecadd_gnu.out -vecadd_gnu/5a34e5b4: Writing error file - -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/5a34e5b4/vecadd_gnu.err -vecadd_gnu/43cf6246: Test completed with returncode: 0 -vecadd_gnu/43cf6246: Test completed in 0.206517 seconds -vecadd_gnu/9b6262f1: Test completed with returncode: 0 -vecadd_gnu/9b6262f1: Test completed in 0.206156 seconds -vecadd_gnu/43cf6246: Writing output file - -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/43cf6246/vecadd_gnu.out -vecadd_gnu/9b6262f1: Writing output file - -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/9b6262f1/vecadd_gnu.out -vecadd_gnu/43cf6246: Writing error file - -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/43cf6246/vecadd_gnu.err -vecadd_gnu/9b6262f1: Writing error file - -/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/9b6262f1/vecadd_gnu.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ vecadd_gnu/9b6 │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.206156 │ -│ 262f1 │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ vecadd_gnu/5a3 │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.176421 │ -│ 4e5b4 │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ vecadd_gnu/43c │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 0.206517 │ -│ f6246 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +vecadd_gnu/f3882c07: Test completed in 0.207227 seconds +vecadd_gnu/f3882c07: Test completed with returncode: 0 +vecadd_gnu/97cec93c: Test completed in 0.200343 seconds +vecadd_gnu/f3882c07: Writing output file - +/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/f3882c07/vecadd_gnu.out +vecadd_gnu/f3882c07: Writing error file - +/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/f3882c07/vecadd_gnu.err +vecadd_gnu/97cec93c: Test completed with returncode: 0 +vecadd_gnu/97cec93c: Writing output file - +/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/97cec93c/vecadd_gnu.out +vecadd_gnu/97cec93c: Writing error file - +/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/97cec93c/vecadd_gnu.err +vecadd_gnu/2a0b411f: Test completed in 0.228976 seconds +vecadd_gnu/2a0b411f: Test completed with returncode: 0 +vecadd_gnu/2a0b411f: Writing output file - +/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2a0b411f/vecadd_gnu.out +vecadd_gnu/2a0b411f: Writing error file - +/home/spack/runs/generic.local.bash/vecadd/vecadd_gnu/2a0b411f/vecadd_gnu.err +In this iteration we are going to run the following tests: [vecadd_gnu/2a0b411f, vecadd_gnu/f3882c07, vecadd_gnu/97cec93c] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ vecadd_gnu/f3882c07 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.207227 │ +├─────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ vecadd_gnu/97cec93c │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.200343 │ +├─────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ vecadd_gnu/2a0b411f │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 0.228976 │ +└─────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -120,4 +102,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__wnquzuc.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_1u6aas1s.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 12ab2470a..f78bbf779 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/compiler_status_regex.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/compiler_status_regex.txt @@ -1,64 +1,52 @@ $ buildtest inspect query -o override_status_regex/ -───────────── override_status_regex/ce9048f5-1bce-4b90-bce3-f6f6010942fb ───────────── +──────────────────────────────────────────────────────────────── override_status_regex/9bbd537c-54c0-4f9e-8082-c8c25e62065e ───────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override 'status' property in compiler gcc_8.3.0 instance State: FAIL Returncode: 0 -Runtime: 0.163651 sec -Starttime: 2022/02/09 17:48:55 -Endtime: 2022/02/09 17:48:56 +Runtime: 0.107907 sec +Starttime: 2022/03/18 20:27:58 +Endtime: 2022/03/18 20:27:58 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/ce9048f5/override_status_regex.sh -Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_statu -s_regex/ce9048f5/override_status_regex_build.sh -Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status -_regex/ce9048f5/override_status_regex.out -Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_ -regex/ce9048f5/override_status_regex.err -Log File: /home/spack/buildtest/var/logs/buildtest_6da4ggwq.log -─ Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_s… ─ -final result: 1.000000 - -───────────── override_status_regex/cc905478-dfd5-4dcb-ba15-be9a86d84d37 ───────────── +Test Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/9bbd537c/override_status_regex.sh +Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/9bbd537c/override_status_regex_build.sh +Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/9bbd537c/override_status_regex.out +Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/9bbd537c/override_status_regex.err +Log File: /home/spack/buildtest/var/logs/buildtest_ysjq4lge.log +────────────────────────────── Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/9bbd537c/override_status_regex.out ────────────────────────────── +final result: 1.000000 + +──────────────────────────────────────────────────────────────── override_status_regex/f56b56e5-14b0-485d-80dd-4671f778b3ad ───────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override 'status' property in compiler gcc_8.3.0 instance State: FAIL Returncode: 0 -Runtime: 0.258238 sec -Starttime: 2022/02/09 17:48:55 -Endtime: 2022/02/09 17:48:55 +Runtime: 0.113869 sec +Starttime: 2022/03/18 20:27:58 +Endtime: 2022/03/18 20:27:58 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/cc905478/override_status_regex.sh -Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_statu -s_regex/cc905478/override_status_regex_build.sh -Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status -_regex/cc905478/override_status_regex.out -Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_ -regex/cc905478/override_status_regex.err -Log File: /home/spack/buildtest/var/logs/buildtest_6da4ggwq.log -─ Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_s… ─ -final result: 1.000000 - -───────────── override_status_regex/b8de1ee5-e4b8-43bc-8c70-32a75dd0494b ───────────── +Test Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/f56b56e5/override_status_regex.sh +Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/f56b56e5/override_status_regex_build.sh +Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/f56b56e5/override_status_regex.out +Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/f56b56e5/override_status_regex.err +Log File: /home/spack/buildtest/var/logs/buildtest_ysjq4lge.log +────────────────────────────── Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/f56b56e5/override_status_regex.out ────────────────────────────── +final result: 1.000000 + +──────────────────────────────────────────────────────────────── override_status_regex/c3fab452-3b93-460b-9f43-96200338fe9e ───────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override 'status' property in compiler gcc_8.3.0 instance State: FAIL Returncode: 0 -Runtime: 0.143458 sec -Starttime: 2022/02/09 17:48:55 -Endtime: 2022/02/09 17:48:56 +Runtime: 0.23273 sec +Starttime: 2022/03/18 20:27:57 +Endtime: 2022/03/18 20:27:58 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/b8de1ee5/override_status_regex.sh -Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_statu -s_regex/b8de1ee5/override_status_regex_build.sh -Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status -_regex/b8de1ee5/override_status_regex.out -Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_ -regex/b8de1ee5/override_status_regex.err -Log File: /home/spack/buildtest/var/logs/buildtest_6da4ggwq.log -─ Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_s… ─ -final result: 1.000000 - +Test Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/c3fab452/override_status_regex.sh +Build Script: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/c3fab452/override_status_regex_build.sh +Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/c3fab452/override_status_regex.out +Error File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/c3fab452/override_status_regex.err +Log File: /home/spack/buildtest/var/logs/buildtest_ysjq4lge.log +────────────────────────────── Output File: /home/spack/runs/generic.local.bash/compiler_status_regex/override_status_regex/c3fab452/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 0e96c5fe5..51db75fbe 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/custom_run.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/custom_run.txt @@ -1,95 +1,87 @@ $ buildtest inspect query -b -t custom_run_by_compilers/ -──────────── custom_run_by_compilers/e56d67ff-e9db-4549-8bc5-517c5bb22cde ──────────── +─────────────────────────────────────────────────────────────── custom_run_by_compilers/2c066970-ab50-4e6d-927b-d683616c3673 ──────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Customize binary launch based on compiler State: PASS Returncode: 0 -Runtime: 0.078112 sec -Starttime: 2022/02/09 17:48:57 -Endtime: 2022/02/09 17:48:57 +Runtime: 0.097202 sec +Starttime: 2022/03/18 20:27:59 +Endtime: 2022/03/18 20:28:00 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/e5 -6d67ff/custom_run_by_compilers.sh -Build Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/e -56d67ff/custom_run_by_compilers_build.sh -Output File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/e5 -6d67ff/custom_run_by_compilers.out -Error File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/e56 -d67ff/custom_run_by_compilers.err -Log File: /home/spack/buildtest/var/logs/buildtest_c8hwt9zh.log -─ Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers… ─ - 1 #!/bin/bash - 2 - 3 - 4 # name of executable - 5 _EXEC=argc.c.exe - 6 # Compilation Line - 7 /usr/bin/gcc -o $_EXEC /home/spack/buildtest/examples/compilers/src/argc.c - 8 - 9 - 10 # Run executable - 11 ./$_EXEC 1 3 - 12 - 13 -─ Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers… ─ - 1 #!/bin/bash - 2 export BUILDTEST_TEST_NAME=custom_run_by_compilers - 3 export BUILDTEST_TEST_ROOT=/home/spack/runs/generic.local.bash/custom_run/custom_ - 4 export BUILDTEST_BUILDSPEC_DIR=/home/spack/buildtest/examples/compilers - 5 export BUILDTEST_STAGE_DIR=/home/spack/runs/generic.local.bash/custom_run/custom_ - 6 # source executor startup script - 7 source /home/spack/buildtest/var/executor/generic.local.bash/before_script.sh - 8 # Run generated script - 9 /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/e56d67ff/s - 10 # Get return code - 11 returncode=$? - 12 # Exit with return code - 13 exit $returncode -──────────── custom_run_by_compilers/a12b6c5f-86d7-4e0f-a564-3806ecb7ac62 ──────────── +Test Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970/custom_run_by_compilers.sh +Build Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970/custom_run_by_compilers_build.sh +Output File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970/custom_run_by_compilers.out +Error File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970/custom_run_by_compilers.err +Log File: /home/spack/buildtest/var/logs/buildtest_sk2vff4z.log +─────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970/custom_run_by_compilers.sh ─────────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 # name of executable + 5 _EXEC=argc.c.exe + 6 # Compilation Line + 7 /usr/bin/gcc -o $_EXEC /home/spack/buildtest/examples/compilers/src/argc.c + 8 + 9 + 10 # Run executable + 11 ./$_EXEC 1 3 + 12 + 13 +──────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970/custom_run_by_compilers_build.sh ──────────────────────────────── + 1 #!/bin/bash + 2 export BUILDTEST_TEST_NAME=custom_run_by_compilers + 3 export BUILDTEST_TEST_ROOT=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970 + 4 export BUILDTEST_BUILDSPEC_DIR=/home/spack/buildtest/examples/compilers + 5 export BUILDTEST_STAGE_DIR=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970/stage + 6 # source executor startup script + 7 source /home/spack/buildtest/var/executor/generic.local.bash/before_script.sh + 8 # Run generated script + 9 /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/2c066970/stage/custom_run_by_compilers.sh + 10 # Get return code + 11 returncode=$? + 12 # Exit with return code + 13 exit $returncode +─────────────────────────────────────────────────────────────── custom_run_by_compilers/631edc79-a79d-456e-b6af-11e2d1e8ad45 ──────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Customize binary launch based on compiler State: PASS Returncode: 0 -Runtime: 0.081322 sec -Starttime: 2022/02/09 17:48:57 -Endtime: 2022/02/09 17:48:57 +Runtime: 0.073572 sec +Starttime: 2022/03/18 20:27:59 +Endtime: 2022/03/18 20:27:59 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/a1 -2b6c5f/custom_run_by_compilers.sh -Build Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/a -12b6c5f/custom_run_by_compilers_build.sh -Output File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/a1 -2b6c5f/custom_run_by_compilers.out -Error File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/a12 -b6c5f/custom_run_by_compilers.err -Log File: /home/spack/buildtest/var/logs/buildtest_c8hwt9zh.log -─ Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers… ─ - 1 #!/bin/bash - 2 - 3 - 4 # name of executable - 5 _EXEC=argc.c.exe - 6 # Loading modules - 7 module load gcc/8.3.0-gcc-7.5.0 - 8 # Compilation Line - 9 gcc -o $_EXEC /home/spack/buildtest/examples/compilers/src/argc.c - 10 - 11 - 12 # Run executable - 13 ./$_EXEC 100 120 - 14 - 15 -─ Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers… ─ - 1 #!/bin/bash - 2 export BUILDTEST_TEST_NAME=custom_run_by_compilers - 3 export BUILDTEST_TEST_ROOT=/home/spack/runs/generic.local.bash/custom_run/custom_ - 4 export BUILDTEST_BUILDSPEC_DIR=/home/spack/buildtest/examples/compilers - 5 export BUILDTEST_STAGE_DIR=/home/spack/runs/generic.local.bash/custom_run/custom_ - 6 # source executor startup script - 7 source /home/spack/buildtest/var/executor/generic.local.bash/before_script.sh - 8 # Run generated script - 9 /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/a12b6c5f/s - 10 # Get return code - 11 returncode=$? - 12 # Exit with return code - 13 exit $returncode +Test Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79/custom_run_by_compilers.sh +Build Script: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79/custom_run_by_compilers_build.sh +Output File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79/custom_run_by_compilers.out +Error File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79/custom_run_by_compilers.err +Log File: /home/spack/buildtest/var/logs/buildtest_sk2vff4z.log +─────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79/custom_run_by_compilers.sh ─────────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 # name of executable + 5 _EXEC=argc.c.exe + 6 # Loading modules + 7 module load gcc/8.3.0-gcc-7.5.0 + 8 # Compilation Line + 9 gcc -o $_EXEC /home/spack/buildtest/examples/compilers/src/argc.c + 10 + 11 + 12 # Run executable + 13 ./$_EXEC 100 120 + 14 + 15 +──────────────────────────────── Test File: /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79/custom_run_by_compilers_build.sh ──────────────────────────────── + 1 #!/bin/bash + 2 export BUILDTEST_TEST_NAME=custom_run_by_compilers + 3 export BUILDTEST_TEST_ROOT=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79 + 4 export BUILDTEST_BUILDSPEC_DIR=/home/spack/buildtest/examples/compilers + 5 export BUILDTEST_STAGE_DIR=/home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79/stage + 6 # source executor startup script + 7 source /home/spack/buildtest/var/executor/generic.local.bash/before_script.sh + 8 # Run generated script + 9 /home/spack/runs/generic.local.bash/custom_run/custom_run_by_compilers/631edc79/stage/custom_run_by_compilers.sh + 10 # Get return code + 11 returncode=$? + 12 # Exit with return code + 13 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 dbf92b26f..cf25fbdc1 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/envvar_override.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/envvar_override.txt @@ -1,69 +1,61 @@ $ buildtest inspect query -t override_environmentvars/ -─────────── override_environmentvars/f903e92a-34e3-49c9-8549-60aec281b77a ──────────── +─────────────────────────────────────────────────────────────── override_environmentvars/8da65eb9-fa63-455a-b864-aa1f0f81e0b2 ─────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override default environment variables State: PASS Returncode: 0 -Runtime: 0.112387 sec -Starttime: 2022/02/09 17:48:53 -Endtime: 2022/02/09 17:48:53 +Runtime: 0.139843 sec +Starttime: 2022/03/18 20:27:55 +Endtime: 2022/03/18 20:27:55 Command: bash --norc --noprofile -eo pipefail override_environmentvars_build.sh -Test Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentv -ars/f903e92a/override_environmentvars.sh -Build Script: /home/spack/runs/generic.local.bash/envvar_override/override_environment -vars/f903e92a/override_environmentvars_build.sh -Output File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentv -ars/f903e92a/override_environmentvars.out -Error File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentva -rs/f903e92a/override_environmentvars.err -Log File: /home/spack/buildtest/var/logs/buildtest_mkm7zn7a.log -─ Test File: /home/spack/runs/generic.local.bash/envvar_override/override_environme… ─ - 1 #!/bin/bash - 2 - 3 - 4 # name of executable - 5 _EXEC=hello_omp.c.exe - 6 export OMP_NUM_THREADS="2" - 7 # Compilation Line - 8 /usr/bin/gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hell - 9 - 10 - 11 # Run executable - 12 ./$_EXEC - 13 - 14 -─────────── override_environmentvars/db00629e-fd28-4efb-9966-fd9dda0065ce ──────────── +Test Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8da65eb9/override_environmentvars.sh +Build Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8da65eb9/override_environmentvars_build.sh +Output File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8da65eb9/override_environmentvars.out +Error File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8da65eb9/override_environmentvars.err +Log File: /home/spack/buildtest/var/logs/buildtest_vb7vj8l_.log +─────────────────────────────── Test File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/8da65eb9/override_environmentvars.sh ──────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 # name of executable + 5 _EXEC=hello_omp.c.exe + 6 export OMP_NUM_THREADS="4" + 7 # Loading modules + 8 module load gcc/8.3.0-gcc-7.5.0 + 9 # Compilation Line + 10 gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello_omp.c + 11 + 12 + 13 # Run executable + 14 ./$_EXEC + 15 + 16 +─────────────────────────────────────────────────────────────── override_environmentvars/687d988d-e8fe-429f-94ab-8bec1df87e16 ─────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: override default environment variables State: PASS Returncode: 0 -Runtime: 0.129934 sec -Starttime: 2022/02/09 17:48:53 -Endtime: 2022/02/09 17:48:53 +Runtime: 0.100356 sec +Starttime: 2022/03/18 20:27:55 +Endtime: 2022/03/18 20:27:55 Command: bash --norc --noprofile -eo pipefail override_environmentvars_build.sh -Test Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentv -ars/db00629e/override_environmentvars.sh -Build Script: /home/spack/runs/generic.local.bash/envvar_override/override_environment -vars/db00629e/override_environmentvars_build.sh -Output File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentv -ars/db00629e/override_environmentvars.out -Error File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentva -rs/db00629e/override_environmentvars.err -Log File: /home/spack/buildtest/var/logs/buildtest_mkm7zn7a.log -─ Test File: /home/spack/runs/generic.local.bash/envvar_override/override_environme… ─ - 1 #!/bin/bash - 2 - 3 - 4 # name of executable - 5 _EXEC=hello_omp.c.exe - 6 export OMP_NUM_THREADS="4" - 7 # Loading modules - 8 module load gcc/8.3.0-gcc-7.5.0 - 9 # Compilation Line - 10 gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello_omp.c - 11 - 12 - 13 # Run executable - 14 ./$_EXEC - 15 - 16 +Test Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/687d988d/override_environmentvars.sh +Build Script: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/687d988d/override_environmentvars_build.sh +Output File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/687d988d/override_environmentvars.out +Error File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/687d988d/override_environmentvars.err +Log File: /home/spack/buildtest/var/logs/buildtest_vb7vj8l_.log +─────────────────────────────── Test File: /home/spack/runs/generic.local.bash/envvar_override/override_environmentvars/687d988d/override_environmentvars.sh ──────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 # name of executable + 5 _EXEC=hello_omp.c.exe + 6 export OMP_NUM_THREADS="2" + 7 # Compilation Line + 8 /usr/bin/gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello_omp.c + 9 + 10 + 11 # Run executable + 12 ./$_EXEC + 13 + 14 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 2798cf421..31bde4f28 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_c.txt @@ -1,101 +1,89 @@ $ buildtest inspect query -t hello_c/ -──────────────────── hello_c/05760c19-02a3-4d4d-b5be-122b1cc195ad ──────────────────── +─────────────────────────────────────────────────────────────────────── hello_c/e1d7f37a-aab6-4e47-ba46-72e9ac894510 ──────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Hello World C Compilation State: PASS Returncode: 0 -Runtime: 0.131986 sec -Starttime: 2022/02/09 17:48:48 -Endtime: 2022/02/09 17:48:48 +Runtime: 0.179623 sec +Starttime: 2022/03/18 20:27:51 +Endtime: 2022/03/18 20:27:51 Command: bash --norc --noprofile -eo pipefail hello_c_build.sh -Test Script: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/05760c19/hello_c.sh -Build Script: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/05760c19/hello_c_build.sh -Output File: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/05760c19/hello_c.out -Error File: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/05760c19/hello_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_c59e1xvc.log -─ Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/05760c19/hello… ─ - 1 #!/bin/bash - 2 - 3 - 4 # name of executable - 5 _EXEC=hello.c.exe - 6 # Compilation Line - 7 /usr/bin/gcc -O1 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c - 8 - 9 - 10 # Run executable - 11 ./$_EXEC - 12 - 13 -──────────────────── hello_c/26006d81-2c5c-4c6a-a033-551c6aad8903 ──────────────────── +Test Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/e1d7f37a/hello_c.sh +Build Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/e1d7f37a/hello_c_build.sh +Output File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/e1d7f37a/hello_c.out +Error File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/e1d7f37a/hello_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_q1wllz_r.log +────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/e1d7f37a/hello_c.sh ─────────────────────────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 # name of executable + 5 _EXEC=hello.c.exe + 6 # Loading modules + 7 module load gcc/6.5.0-gcc-7.5.0 + 8 # Compilation Line + 9 gcc -O2 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c + 10 + 11 + 12 # Run executable + 13 ./$_EXEC + 14 + 15 +─────────────────────────────────────────────────────────────────────── hello_c/8d2fdb0c-d0f8-4bcb-b073-6d9cb60799ad ──────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Hello World C Compilation State: PASS Returncode: 0 -Runtime: 0.175778 sec -Starttime: 2022/02/09 17:48:48 -Endtime: 2022/02/09 17:48:48 +Runtime: 0.194887 sec +Starttime: 2022/03/18 20:27:51 +Endtime: 2022/03/18 20:27:51 Command: bash --norc --noprofile -eo pipefail hello_c_build.sh -Test Script: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/26006d81/hello_c.sh -Build Script: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/26006d81/hello_c_build.sh -Output File: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/26006d81/hello_c.out -Error File: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/26006d81/hello_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_c59e1xvc.log -─ Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/26006d81/hello… ─ - 1 #!/bin/bash - 2 - 3 - 4 # name of executable - 5 _EXEC=hello.c.exe - 6 # Loading modules - 7 module load gcc/6.5.0-gcc-7.5.0 - 8 # Compilation Line - 9 gcc -O2 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c - 10 - 11 - 12 # Run executable - 13 ./$_EXEC - 14 - 15 -──────────────────── hello_c/4dc8886f-6ea3-4a25-9615-e7b41109738f ──────────────────── +Test Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/8d2fdb0c/hello_c.sh +Build Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/8d2fdb0c/hello_c_build.sh +Output File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/8d2fdb0c/hello_c.out +Error File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/8d2fdb0c/hello_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_q1wllz_r.log +────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/8d2fdb0c/hello_c.sh ─────────────────────────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 # name of executable + 5 _EXEC=hello.c.exe + 6 # Loading modules + 7 module load gcc/8.3.0-gcc-7.5.0 + 8 # Compilation Line + 9 gcc -O3 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c + 10 + 11 + 12 # Run executable + 13 ./$_EXEC + 14 + 15 +─────────────────────────────────────────────────────────────────────── hello_c/a0a8c4a9-e714-4431-89bf-06afffa63a5d ──────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Hello World C Compilation State: PASS Returncode: 0 -Runtime: 0.163229 sec -Starttime: 2022/02/09 17:48:48 -Endtime: 2022/02/09 17:48:48 +Runtime: 0.176819 sec +Starttime: 2022/03/18 20:27:51 +Endtime: 2022/03/18 20:27:51 Command: bash --norc --noprofile -eo pipefail hello_c_build.sh -Test Script: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/4dc8886f/hello_c.sh -Build Script: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/4dc8886f/hello_c_build.sh -Output File: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/4dc8886f/hello_c.out -Error File: -/home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/4dc8886f/hello_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_c59e1xvc.log -─ Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/4dc8886f/hello… ─ - 1 #!/bin/bash - 2 - 3 - 4 # name of executable - 5 _EXEC=hello.c.exe - 6 # Loading modules - 7 module load gcc/8.3.0-gcc-7.5.0 - 8 # Compilation Line - 9 gcc -O3 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c - 10 - 11 - 12 # Run executable - 13 ./$_EXEC - 14 - 15 +Test Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a0a8c4a9/hello_c.sh +Build Script: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a0a8c4a9/hello_c_build.sh +Output File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a0a8c4a9/hello_c.out +Error File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a0a8c4a9/hello_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_q1wllz_r.log +────────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_c/hello_c/a0a8c4a9/hello_c.sh ─────────────────────────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 # name of executable + 5 _EXEC=hello.c.exe + 6 # Compilation Line + 7 /usr/bin/gcc -O1 -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c + 8 + 9 + 10 # Run executable + 11 ./$_EXEC + 12 + 13 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 8bcba4192..c5bc7cd36 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/gnu_hello_fortran.txt @@ -1,33 +1,29 @@ $ buildtest inspect query -t hello_f -──────────────────── hello_f/4b74d2df-13ca-49be-8993-4a6eb451a628 ──────────────────── +─────────────────────────────────────────────────────────────────────── hello_f/339023ee-002f-480e-bf47-9ade7a287eac ──────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Hello World Fortran Compilation State: PASS Returncode: 0 -Runtime: 0.496284 sec -Starttime: 2022/02/09 17:48:43 -Endtime: 2022/02/09 17:48:44 +Runtime: 0.153233 sec +Starttime: 2022/03/18 20:27:47 +Endtime: 2022/03/18 20:27:47 Command: bash --norc --noprofile -eo pipefail hello_f_build.sh -Test Script: -/home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/4b74d2df/hello_f.sh -Build Script: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/4b74d2df/h -ello_f_build.sh -Output File: -/home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/4b74d2df/hello_f.out -Error File: -/home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/4b74d2df/hello_f.err -Log File: /home/spack/buildtest/var/logs/buildtest_stgv87we.log -─ Test File: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/4b74d2df… ─ - 1 #!/bin/bash - 2 - 3 - 4 # name of executable - 5 _EXEC=hello.f90.exe - 6 # Compilation Line - 7 /usr/bin/gfortran -Wall -o $_EXEC /home/spack/buildtest/examples/compilers/src/he - 8 - 9 - 10 # Run executable - 11 ./$_EXEC - 12 - 13 +Test Script: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/339023ee/hello_f.sh +Build Script: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/339023ee/hello_f_build.sh +Output File: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/339023ee/hello_f.out +Error File: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/339023ee/hello_f.err +Log File: /home/spack/buildtest/var/logs/buildtest_xcxzeu97.log +─────────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/gnu_hello_fortran/hello_f/339023ee/hello_f.sh ──────────────────────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 # name of executable + 5 _EXEC=hello.f90.exe + 6 # Compilation Line + 7 /usr/bin/gfortran -Wall -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.f90 + 8 + 9 + 10 # Run executable + 11 ./$_EXEC + 12 + 13 diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt b/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt index aa403d1f3..af5c6bede 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/openmp_hello.txt @@ -1,34 +1,30 @@ $ buildtest inspect query -t openmp_hello_c_example -──────────── openmp_hello_c_example/7a244561-25af-4948-af50-5bdc82574300 ───────────── +──────────────────────────────────────────────────────────────── openmp_hello_c_example/a03b3d73-9d89-46ad-b180-b16560966e92 ──────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: OpenMP Hello World C example State: PASS Returncode: 0 -Runtime: 0.070765 sec -Starttime: 2022/02/09 17:48:51 -Endtime: 2022/02/09 17:48:52 +Runtime: 0.065993 sec +Starttime: 2022/03/18 20:27:54 +Endtime: 2022/03/18 20:27:54 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/7 -a244561/openmp_hello_c_example.sh -Build Script: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/ -7a244561/openmp_hello_c_example_build.sh -Output File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/7 -a244561/openmp_hello_c_example.out -Error File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/7a -244561/openmp_hello_c_example.err -Log File: /home/spack/buildtest/var/logs/buildtest_bipmwagf.log -─ Test File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_exampl… ─ - 1 #!/bin/bash - 2 - 3 - 4 # name of executable - 5 _EXEC=hello_omp.c.exe - 6 export OMP_NUM_THREADS="2" - 7 # Compilation Line - 8 /usr/bin/gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hell - 9 - 10 - 11 # Run executable - 12 ./$_EXEC - 13 - 14 +Test Script: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/a03b3d73/openmp_hello_c_example.sh +Build Script: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/a03b3d73/openmp_hello_c_example_build.sh +Output File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/a03b3d73/openmp_hello_c_example.out +Error File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/a03b3d73/openmp_hello_c_example.err +Log File: /home/spack/buildtest/var/logs/buildtest_1z4eqqte.log +─────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/openmp_hello/openmp_hello_c_example/a03b3d73/openmp_hello_c_example.sh ─────────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 # name of executable + 5 _EXEC=hello_omp.c.exe + 6 export OMP_NUM_THREADS="2" + 7 # Compilation Line + 8 /usr/bin/gcc -fopenmp -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello_omp.c + 9 + 10 + 11 # Run executable + 12 ./$_EXEC + 13 + 14 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 f0aa332fd..b121bf827 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,56 +1,52 @@ $ buildtest inspect query -t pre_post_build_run -────────────── pre_post_build_run/10b5f804-6be0-480c-b680-6264088ae4bb ─────────────── +────────────────────────────────────────────────────────────────── pre_post_build_run/5c6818d4-632c-4aa9-9255-5e33aa9228a6 ────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: example using pre_build, post_build, pre_run, post_run example State: PASS Returncode: 0 -Runtime: 0.060113 sec -Starttime: 2022/02/09 17:48:59 -Endtime: 2022/02/09 17:48:59 +Runtime: 0.071881 sec +Starttime: 2022/03/18 20:28:01 +Endtime: 2022/03/18 20:28:01 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 -/10b5f804/pre_post_build_run.sh -Build Script: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_ru -n/10b5f804/pre_post_build_run_build.sh -Output File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run -/10b5f804/pre_post_build_run.out -Error File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/ -10b5f804/pre_post_build_run.err -Log File: /home/spack/buildtest/var/logs/buildtest_fo4lnr_k.log -─ Test File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_… ─ - 1 #!/bin/bash - 2 - 3 - 4 # name of executable - 5 _EXEC=hello.c.exe - 6 ### START OF PRE BUILD SECTION ### - 7 echo "These are commands run before compilation" - 8 - 9 ### END OF PRE BUILD SECTION ### - 10 - 11 - 12 # Compilation Line - 13 /usr/bin/gcc -Wall -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c - 14 - 15 - 16 ### START OF POST BUILD SECTION ### - 17 echo "These are commands run after compilation" - 18 - 19 ### END OF POST BUILD SECTION ### - 20 - 21 - 22 ### START OF PRE RUN SECTION ### - 23 echo "These are commands run before running script" - 24 - 25 ### END OF PRE RUN SECTION ### - 26 - 27 - 28 # Run executable - 29 ./$_EXEC - 30 - 31 - 32 ### START OF POST RUN SECTION ### - 33 echo "These are commands run after running script" - 34 ### END OF POST RUN SECTION ### - 35 - 36 +Test Script: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/5c6818d4/pre_post_build_run.sh +Build Script: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/5c6818d4/pre_post_build_run_build.sh +Output File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/5c6818d4/pre_post_build_run.out +Error File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/5c6818d4/pre_post_build_run.err +Log File: /home/spack/buildtest/var/logs/buildtest_viwq54ie.log +──────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/pre_post_build_run/pre_post_build_run/5c6818d4/pre_post_build_run.sh ──────────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 # name of executable + 5 _EXEC=hello.c.exe + 6 ### START OF PRE BUILD SECTION ### + 7 echo "These are commands run before compilation" + 8 + 9 ### END OF PRE BUILD SECTION ### + 10 + 11 + 12 # Compilation Line + 13 /usr/bin/gcc -Wall -o $_EXEC /home/spack/buildtest/examples/compilers/src/hello.c + 14 + 15 + 16 ### START OF POST BUILD SECTION ### + 17 echo "These are commands run after compilation" + 18 + 19 ### END OF POST BUILD SECTION ### + 20 + 21 + 22 ### START OF PRE RUN SECTION ### + 23 echo "These are commands run before running script" + 24 + 25 ### END OF PRE RUN SECTION ### + 26 + 27 + 28 # Run executable + 29 ./$_EXEC + 30 + 31 + 32 ### START OF POST RUN SECTION ### + 33 echo "These are commands run after running script" + 34 ### END OF POST RUN SECTION ### + 35 + 36 diff --git a/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt b/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt index 2d56d728a..ba760702b 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/stream_example.txt @@ -1,104 +1,90 @@ $ buildtest inspect query -t stream_openmp_c/ -──────────────── stream_openmp_c/e79a1ed6-6aa0-4d18-9183-a95f2271e54a ──────────────── +─────────────────────────────────────────────────────────────────── stream_openmp_c/7d0fb6b4-f5f2-43fc-9db8-a0fc7edcff4b ──────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: STREAM Microbenchmark C Test with OpenMP State: PASS Returncode: 0 -Runtime: 2.909247 sec -Starttime: 2022/02/09 17:49:00 -Endtime: 2022/02/09 17:49:03 +Runtime: 2.621733 sec +Starttime: 2022/03/18 20:28:03 +Endtime: 2022/03/18 20:28:05 Command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e79a1e -d6/stream_openmp_c.sh -Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e79a1 -ed6/stream_openmp_c_build.sh -Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e79a1e -d6/stream_openmp_c.out -Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e79a1ed -6/stream_openmp_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_ja1o2386.log -─ Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/e79… ─ - 1 #!/bin/bash - 2 BUILDTEST_CC="/usr/bin/gcc" - 3 BUILDTEST_CXX="/usr/bin/g++" - 4 BUILDTEST_FC="/usr/bin/gfortran" - 5 BUILDTEST_CFLAGS="-fopenmp -O2" - 6 BUILDTEST_CXXFLAGS= - 7 BUILDTEST_FFLAGS= - 8 BUILDTEST_CPPFLAGS= - 9 BUILDTEST_LDFLAGS= - 10 export OMP_NUM_THREADS="8" - 11 module swap gcc gcc/8.9.0 - 12 module load python - 13 # Content of run section - 14 wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c - 15 $BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream - 16 ./stream -──────────────── stream_openmp_c/6d1b21be-c76f-4a9f-a9ab-c70b0da462a5 ──────────────── +Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/7d0fb6b4/stream_openmp_c.sh +Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/7d0fb6b4/stream_openmp_c_build.sh +Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/7d0fb6b4/stream_openmp_c.out +Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/7d0fb6b4/stream_openmp_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_b43jkx2i.log +───────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/7d0fb6b4/stream_openmp_c.sh ───────────────────────────────────────── + 1 #!/bin/bash + 2 BUILDTEST_CC="gcc" + 3 BUILDTEST_CXX="g++" + 4 BUILDTEST_FC="gfortran" + 5 BUILDTEST_CFLAGS="-fopenmp -O2" + 6 BUILDTEST_CXXFLAGS= + 7 BUILDTEST_FFLAGS= + 8 BUILDTEST_CPPFLAGS= + 9 BUILDTEST_LDFLAGS= + 10 export OMP_NUM_THREADS="8" + 11 module load gcc/8.3.0-gcc-7.5.0 + 12 # Content of run section + 13 wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c + 14 $BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream + 15 ./stream +─────────────────────────────────────────────────────────────────── stream_openmp_c/3b2403ff-a32e-45e8-9fef-a4efbdb724af ──────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: STREAM Microbenchmark C Test with OpenMP State: PASS Returncode: 0 -Runtime: 2.816406 sec -Starttime: 2022/02/09 17:49:00 -Endtime: 2022/02/09 17:49:03 +Runtime: 2.674052 sec +Starttime: 2022/03/18 20:28:03 +Endtime: 2022/03/18 20:28:05 Command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/6d1b21 -be/stream_openmp_c.sh -Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/6d1b2 -1be/stream_openmp_c_build.sh -Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/6d1b21 -be/stream_openmp_c.out -Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/6d1b21b -e/stream_openmp_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_ja1o2386.log -─ Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/6d1… ─ - 1 #!/bin/bash - 2 BUILDTEST_CC="gcc" - 3 BUILDTEST_CXX="g++" - 4 BUILDTEST_FC="gfortran" - 5 BUILDTEST_CFLAGS="-fopenmp -O2" - 6 BUILDTEST_CXXFLAGS= - 7 BUILDTEST_FFLAGS= - 8 BUILDTEST_CPPFLAGS= - 9 BUILDTEST_LDFLAGS= - 10 export OMP_NUM_THREADS="8" - 11 module load gcc/6.5.0-gcc-7.5.0 - 12 # Content of run section - 13 wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c - 14 $BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream - 15 ./stream -──────────────── stream_openmp_c/eae57d8e-0f4b-4a05-bff1-526e18906783 ──────────────── +Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/3b2403ff/stream_openmp_c.sh +Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/3b2403ff/stream_openmp_c_build.sh +Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/3b2403ff/stream_openmp_c.out +Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/3b2403ff/stream_openmp_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_b43jkx2i.log +───────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/3b2403ff/stream_openmp_c.sh ───────────────────────────────────────── + 1 #!/bin/bash + 2 BUILDTEST_CC="gcc" + 3 BUILDTEST_CXX="g++" + 4 BUILDTEST_FC="gfortran" + 5 BUILDTEST_CFLAGS="-fopenmp -O2" + 6 BUILDTEST_CXXFLAGS= + 7 BUILDTEST_FFLAGS= + 8 BUILDTEST_CPPFLAGS= + 9 BUILDTEST_LDFLAGS= + 10 export OMP_NUM_THREADS="8" + 11 module load gcc/6.5.0-gcc-7.5.0 + 12 # Content of run section + 13 wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c + 14 $BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream + 15 ./stream +─────────────────────────────────────────────────────────────────── stream_openmp_c/a88ca63f-253c-4e45-9526-8e348b6f2bb7 ──────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: STREAM Microbenchmark C Test with OpenMP State: PASS Returncode: 0 -Runtime: 2.858822 sec -Starttime: 2022/02/09 17:49:00 -Endtime: 2022/02/09 17:49:03 +Runtime: 2.662157 sec +Starttime: 2022/03/18 20:28:03 +Endtime: 2022/03/18 20:28:05 Command: bash --norc --noprofile -eo pipefail stream_openmp_c_build.sh -Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/eae57d -8e/stream_openmp_c.sh -Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/eae57 -d8e/stream_openmp_c_build.sh -Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/eae57d -8e/stream_openmp_c.out -Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/eae57d8 -e/stream_openmp_c.err -Log File: /home/spack/buildtest/var/logs/buildtest_ja1o2386.log -─ Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/eae… ─ - 1 #!/bin/bash - 2 BUILDTEST_CC="gcc" - 3 BUILDTEST_CXX="g++" - 4 BUILDTEST_FC="gfortran" - 5 BUILDTEST_CFLAGS="-fopenmp -O2" - 6 BUILDTEST_CXXFLAGS= - 7 BUILDTEST_FFLAGS= - 8 BUILDTEST_CPPFLAGS= - 9 BUILDTEST_LDFLAGS= - 10 export OMP_NUM_THREADS="8" - 11 module load gcc/8.3.0-gcc-7.5.0 - 12 # Content of run section - 13 wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c - 14 $BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream - 15 ./stream +Test Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a88ca63f/stream_openmp_c.sh +Build Script: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a88ca63f/stream_openmp_c_build.sh +Output File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a88ca63f/stream_openmp_c.out +Error File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a88ca63f/stream_openmp_c.err +Log File: /home/spack/buildtest/var/logs/buildtest_b43jkx2i.log +───────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/stream_example/stream_openmp_c/a88ca63f/stream_openmp_c.sh ───────────────────────────────────────── + 1 #!/bin/bash + 2 BUILDTEST_CC="/usr/bin/gcc" + 3 BUILDTEST_CXX="/usr/bin/g++" + 4 BUILDTEST_FC="/usr/bin/gfortran" + 5 BUILDTEST_CFLAGS="-fopenmp -O2" + 6 BUILDTEST_CXXFLAGS= + 7 BUILDTEST_FFLAGS= + 8 BUILDTEST_CPPFLAGS= + 9 BUILDTEST_LDFLAGS= + 10 export OMP_NUM_THREADS="8" + 11 # Content of run section + 12 wget https://www.cs.virginia.edu/stream/FTP/Code/stream.c + 13 $BUILDTEST_CC $BUILDTEST_CFLAGS stream.c -o stream + 14 ./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 f29cd19b2..6bbd67e16 100644 --- a/docs/buildtest_tutorial_examples/compilers/inspect/stream_openmp_metrics.txt +++ b/docs/buildtest_tutorial_examples/compilers/inspect/stream_openmp_metrics.txt @@ -1,63 +1,59 @@ $ buildtest inspect query -o stream_openmp_metrics/ -───────────── stream_openmp_metrics/58ecf4b6-495f-4b5d-80bc-fa33f19fcbe2 ───────────── +──────────────────────────────────────────────────────────────── stream_openmp_metrics/6b3e458e-b1e7-43fa-be4e-adb0a6d8cdb7 ───────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: STREAM Microbenchmark C Test with OpenMP State: PASS Returncode: 0 -Runtime: 0.89871 sec -Starttime: 2022/02/09 17:49:05 -Endtime: 2022/02/09 17:49:05 +Runtime: 0.945047 sec +Starttime: 2022/03/18 20:28:07 +Endtime: 2022/03/18 20:28:08 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/58ecf4b6/stream_openmp_metrics.sh -Build Script: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp -_metrics/58ecf4b6/stream_openmp_metrics_build.sh -Output File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_ -metrics/58ecf4b6/stream_openmp_metrics.out -Error File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_m -etrics/58ecf4b6/stream_openmp_metrics.err -Log File: /home/spack/buildtest/var/logs/buildtest_snrwlvdk.log +Test Script: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/6b3e458e/stream_openmp_metrics.sh +Build Script: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/6b3e458e/stream_openmp_metrics_build.sh +Output File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/6b3e458e/stream_openmp_metrics.out +Error File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_openmp_metrics/6b3e458e/stream_openmp_metrics.err +Log File: /home/spack/buildtest/var/logs/buildtest_zaguygi0.log Metrics ┏━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Name ┃ Value ┃ ┡━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ copy │ Copy: 19410.2 0.008831 0.008243 0.010025 │ -│ scale │ Scale: 17258.3 0.009646 0.009271 0.010089 │ -│ add │ Add: 16725.9 0.014764 0.014349 0.015543 │ -│ triad │ Triad: 18316.4 0.014856 0.013103 0.021218 │ +│ copy │ Copy: 20151.0 0.009974 0.007940 0.014931 │ +│ scale │ Scale: 17703.1 0.010402 0.009038 0.012029 │ +│ add │ Add: 17308.6 0.015542 0.013866 0.017875 │ +│ triad │ Triad: 18613.4 0.014912 0.012894 0.016963 │ └───────┴────────────────────────────────────────────────────────────────┘ -─ Output File: /home/spack/runs/generic.local.bash/stream_example_metrics/stream_op… ─ -------------------------------------------------------------- -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 10 microseconds. -Each test below will take on the order of 7186 microseconds. - (= 718 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: 19410.2 0.008831 0.008243 0.010025 -Scale: 17258.3 0.009646 0.009271 0.010089 -Add: 16725.9 0.014764 0.014349 0.015543 -Triad: 18316.4 0.014856 0.013103 0.021218 -------------------------------------------------------------- -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/6b3e458e/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 10 microseconds. +Each test below will take on the order of 7197 microseconds. + (= 719 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: 20151.0 0.009974 0.007940 0.014931 +Scale: 17703.1 0.010402 0.009038 0.012029 +Add: 17308.6 0.015542 0.013866 0.017875 +Triad: 18613.4 0.014912 0.012894 0.016963 +------------------------------------------------------------- +Solution Validates: avg error less than 1.000000e-13 on all three arrays +------------------------------------------------------------- + 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 bb9c807b3..56a20387b 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:00 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/spack/env_create_directory.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭────────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:07 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟───────────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/spack/env_create_directory.yml ║ ╚═══════════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/env_create_directory.yml: VALID @@ -33,42 +33,36 @@ Total builder objects created: 1 Total compiler builder: 0 Total script builder: 0 Total spack builder: 1 - Spack Builder Details -┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ -│ spack_env_director │ generic.local.bash │ create spack │ /home/spack/buildte │ -│ y/cf5527b0 │ │ environment in │ st/examples/spack/e │ -│ │ │ directory │ nv_create_directory │ -│ │ │ │ .yml │ -└────────────────────┴────────────────────┴────────────────────┴─────────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -spack_env_directory/cf5527b0: Creating test directory: -/home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/cf5527b0 -spack_env_directory/cf5527b0: Creating the stage directory: /home/spack/runs/generic.l -ocal.bash/env_create_directory/spack_env_directory/cf5527b0/stage -spack_env_directory/cf5527b0: Writing build script: /home/spack/runs/generic.local.bas -h/env_create_directory/spack_env_directory/cf5527b0/spack_env_directory_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Spack Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ spack_env_directory/32ba06b8 │ generic.local.bash │ create spack environment in directory │ /home/spack/buildtest/examples/spack/env_create_directory.yml │ +└──────────────────────────────┴────────────────────┴───────────────────────────────────────┴───────────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +spack_env_directory/32ba06b8: Creating test directory: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/32ba06b8 +spack_env_directory/32ba06b8: Creating the stage directory: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/32ba06b8/stage +spack_env_directory/32ba06b8: Writing build script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/32ba06b8/spack_env_directory_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -spack_env_directory/cf5527b0: Running Test via command: bash --norc --noprofile +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +spack_env_directory/32ba06b8 does not have any dependencies adding test to queue +spack_env_directory/32ba06b8: Running Test via command: bash --norc --noprofile -eo pipefail spack_env_directory_build.sh -spack_env_directory/cf5527b0: Test completed with returncode: 0 -spack_env_directory/cf5527b0: Test completed in 3.398054 seconds -spack_env_directory/cf5527b0: Writing output file - /home/spack/runs/generic.lo -cal.bash/env_create_directory/spack_env_directory/cf5527b0/spack_env_directory.o +spack_env_directory/32ba06b8: Test completed in 5.125124 seconds +spack_env_directory/32ba06b8: Test completed with returncode: 0 +spack_env_directory/32ba06b8: Writing output file - /home/spack/runs/generic.lo +cal.bash/env_create_directory/spack_env_directory/32ba06b8/spack_env_directory.o ut -spack_env_directory/cf5527b0: Writing error file - /home/spack/runs/generic.loca -l.bash/env_create_directory/spack_env_directory/cf5527b0/spack_env_directory.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ spack_env_dire │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 3.398054 │ -│ ctory/cf5527b0 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +spack_env_directory/32ba06b8: Writing error file - /home/spack/runs/generic.loca +l.bash/env_create_directory/spack_env_directory/32ba06b8/spack_env_directory.err +In this iteration we are going to run the following tests: [spack_env_directory/32ba06b8] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ spack_env_directory/32ba06b8 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 5.125124 │ +└──────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -77,4 +71,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_dsc9so6b.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_vi061vbj.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 c021d2b9f..103575d1f 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:05 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/spack/env_create_manifest.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:14 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟──────────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/spack/env_create_manifest.yml ║ ╚══════════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/env_create_manifest.yml: VALID @@ -33,45 +33,38 @@ Total builder objects created: 1 Total compiler builder: 0 Total script builder: 0 Total spack builder: 1 - Spack Builder Details -┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩ -│ spack_env_create_f │ generic.local.bash │ Create spack │ /home/spack/buildt │ -│ rom_manifest/2c44e │ │ environment from │ est/examples/spack │ -│ bc0 │ │ spack.yaml │ /env_create_manife │ -│ │ │ │ st.yml │ -└────────────────────┴────────────────────┴─────────────────────┴────────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -spack_env_create_from_manifest/2c44ebc0: Creating test directory: /home/spack/runs/gen -eric.local.bash/env_create_manifest/spack_env_create_from_manifest/2c44ebc0 -spack_env_create_from_manifest/2c44ebc0: Creating the stage directory: /home/spack/run -s/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/2c44ebc0/stage -spack_env_create_from_manifest/2c44ebc0: Writing build script: /home/spack/runs/generi -c.local.bash/env_create_manifest/spack_env_create_from_manifest/2c44ebc0/spack_env_cre -ate_from_manifest_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Spack Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ spack_env_create_from_manifest/0fe5d368 │ generic.local.bash │ Create spack environment from spack.yaml │ /home/spack/buildtest/examples/spack/env_create_manifest.yml │ +└─────────────────────────────────────────┴────────────────────┴──────────────────────────────────────────┴──────────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +spack_env_create_from_manifest/0fe5d368: Creating test directory: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368 +spack_env_create_from_manifest/0fe5d368: Creating the stage directory: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368/stage +spack_env_create_from_manifest/0fe5d368: Writing build script: +/home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368/spack_env_create_from_manifest_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -spack_env_create_from_manifest/2c44ebc0: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +spack_env_create_from_manifest/0fe5d368 does not have any dependencies adding test to queue +spack_env_create_from_manifest/0fe5d368: Running Test via command: bash --norc --noprofile -eo pipefail spack_env_create_from_manifest_build.sh -spack_env_create_from_manifest/2c44ebc0: Test completed with returncode: 1 -spack_env_create_from_manifest/2c44ebc0: Test completed in 3.301349 seconds -spack_env_create_from_manifest/2c44ebc0: Writing output file - /home/spack/runs -/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/2c44ebc0/ +spack_env_create_from_manifest/0fe5d368: Test completed in 2.864908 seconds +spack_env_create_from_manifest/0fe5d368: Test completed with returncode: 1 +spack_env_create_from_manifest/0fe5d368: Writing output file - /home/spack/runs +/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368/ spack_env_create_from_manifest.out -spack_env_create_from_manifest/2c44ebc0: Writing error file - /home/spack/runs/g -eneric.local.bash/env_create_manifest/spack_env_create_from_manifest/2c44ebc0/sp +spack_env_create_from_manifest/0fe5d368: Writing error file - /home/spack/runs/g +eneric.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368/sp ack_env_create_from_manifest.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ spack_env_crea │ generic.local… │ FAIL │ N/A N/A N/A │ 1 │ 3.301349 │ -│ te_from_manife │ │ │ │ │ │ -│ st/2c44ebc0 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +In this iteration we are going to run the following tests: [spack_env_create_from_manifest/0fe5d368] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ spack_env_create_from_manifest/0fe5d368 │ generic.local.bash │ FAIL │ N/A N/A N/A │ 1 │ 2.864908 │ +└─────────────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -80,4 +73,4 @@ Failed Tests: 1/1 Percentage: 100.000% Adding 1 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_blpgsw2o.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_d4je3lnx.log diff --git a/docs/buildtest_tutorial_examples/spack/build/env_install.txt b/docs/buildtest_tutorial_examples/spack/build/env_install.txt index d15a7141c..d711c2743 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:47:51 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/spack/env_install.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:26:59 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟──────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/spack/env_install.yml ║ ╚══════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/env_install.yml: VALID @@ -33,42 +33,35 @@ Total builder objects created: 1 Total compiler builder: 0 Total script builder: 0 Total spack builder: 1 - Spack Builder Details -┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩ -│ install_in_spack_e │ generic.local.bash │ Install m4 and zlib │ /home/spack/buildt │ -│ nv/e6992240 │ │ in a spack │ est/examples/spack │ -│ │ │ environment named │ /env_install.yml │ -│ │ │ m4_zlib │ │ -└────────────────────┴────────────────────┴─────────────────────┴────────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -install_in_spack_env/e6992240: Creating test directory: -/home/spack/runs/generic.local.bash/env_install/install_in_spack_env/e6992240 -install_in_spack_env/e6992240: Creating the stage directory: -/home/spack/runs/generic.local.bash/env_install/install_in_spack_env/e6992240/stage -install_in_spack_env/e6992240: Writing build script: /home/spack/runs/generic.local.ba -sh/env_install/install_in_spack_env/e6992240/install_in_spack_env_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Spack Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ install_in_spack_env/ba718573 │ generic.local.bash │ 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/ba718573: Creating test directory: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/ba718573 +install_in_spack_env/ba718573: Creating the stage directory: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/ba718573/stage +install_in_spack_env/ba718573: Writing build script: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/ba718573/install_in_spack_env_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -install_in_spack_env/e6992240: Running Test via command: bash --norc --noprofile +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +install_in_spack_env/ba718573 does not have any dependencies adding test to queue +install_in_spack_env/ba718573: Running Test via command: bash --norc --noprofile -eo pipefail install_in_spack_env_build.sh -install_in_spack_env/e6992240: Test completed with returncode: 0 -install_in_spack_env/e6992240: Test completed in 6.732769 seconds -install_in_spack_env/e6992240: Writing output file - /home/spack/runs/generic.l -ocal.bash/env_install/install_in_spack_env/e6992240/install_in_spack_env.out -install_in_spack_env/e6992240: Writing error file - /home/spack/runs/generic.loc -al.bash/env_install/install_in_spack_env/e6992240/install_in_spack_env.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ install_in_spa │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 6.732769 │ -│ ck_env/e699224 │ │ │ │ │ │ -│ 0 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +install_in_spack_env/ba718573: Test completed in 5.962497 seconds +install_in_spack_env/ba718573: Test completed with returncode: 0 +install_in_spack_env/ba718573: Writing output file - /home/spack/runs/generic.l +ocal.bash/env_install/install_in_spack_env/ba718573/install_in_spack_env.out +install_in_spack_env/ba718573: Writing error file - /home/spack/runs/generic.loc +al.bash/env_install/install_in_spack_env/ba718573/install_in_spack_env.err +In this iteration we are going to run the following tests: [install_in_spack_env/ba718573] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ install_in_spack_env/ba718573 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 5.962497 │ +└───────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -77,4 +70,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_vqr7559s.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_f8rn71w3.log diff --git a/docs/buildtest_tutorial_examples/spack/build/install_specs.txt b/docs/buildtest_tutorial_examples/spack/build/install_specs.txt index bd846ba9a..059f42506 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:46:25 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/spack/install_specs.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭─────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:24:21 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -27,7 +27,7 @@ Detected Buildspecs after exclusion: 1 ╟────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/spack/install_specs.yml ║ ╚════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/install_specs.yml: VALID @@ -35,68 +35,54 @@ Total builder objects created: 2 Total compiler builder: 0 Total script builder: 0 Total spack builder: 2 - Spack Builder Details -┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩ -│ install_specs_exam │ generic.local.bash │ Install zlib from │ /home/spack/buildt │ -│ ple/47c6d7b5 │ │ an existing spack │ est/examples/spack │ -│ │ │ instance │ /install_specs.yml │ -├────────────────────┼────────────────────┼─────────────────────┼────────────────────┤ -│ clone_spack_and_in │ generic.local.bash │ Clone spack and │ /home/spack/buildt │ -│ stall_zlib/5a6082d │ │ install zlib spec │ est/examples/spack │ -│ 1 │ │ │ /install_specs.yml │ -└────────────────────┴────────────────────┴─────────────────────┴────────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -install_specs_example/47c6d7b5: Creating test directory: -/home/spack/runs/generic.local.bash/install_specs/install_specs_example/47c6d7b5 -install_specs_example/47c6d7b5: Creating the stage directory: -/home/spack/runs/generic.local.bash/install_specs/install_specs_example/47c6d7b5/stage -install_specs_example/47c6d7b5: Writing build script: /home/spack/runs/generic.local.b -ash/install_specs/install_specs_example/47c6d7b5/install_specs_example_build.sh -clone_spack_and_install_zlib/5a6082d1: Creating test directory: /home/spack/runs/gener -ic.local.bash/install_specs/clone_spack_and_install_zlib/5a6082d1 -clone_spack_and_install_zlib/5a6082d1: Creating the stage directory: /home/spack/runs/ -generic.local.bash/install_specs/clone_spack_and_install_zlib/5a6082d1/stage -clone_spack_and_install_zlib/5a6082d1: Writing build script: /home/spack/runs/generic. -local.bash/install_specs/clone_spack_and_install_zlib/5a6082d1/clone_spack_and_install -_zlib_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Spack Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ install_specs_example/6a1c357d │ generic.local.bash │ Install zlib from an existing spack instance │ /home/spack/buildtest/examples/spack/install_specs.yml │ +├───────────────────────────────────────┼────────────────────┼──────────────────────────────────────────────┼────────────────────────────────────────────────────────┤ +│ clone_spack_and_install_zlib/bf4511f7 │ generic.local.bash │ Clone spack and install zlib spec │ /home/spack/buildtest/examples/spack/install_specs.yml │ +└───────────────────────────────────────┴────────────────────┴──────────────────────────────────────────────┴────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +install_specs_example/6a1c357d: Creating test directory: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/6a1c357d +install_specs_example/6a1c357d: Creating the stage directory: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/6a1c357d/stage +install_specs_example/6a1c357d: Writing build script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/6a1c357d/install_specs_example_build.sh +clone_spack_and_install_zlib/bf4511f7: Creating test directory: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7 +clone_spack_and_install_zlib/bf4511f7: Creating the stage directory: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/stage +clone_spack_and_install_zlib/bf4511f7: Writing build script: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/clone_spack_and_install_zlib_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -install_specs_example/47c6d7b5: Running Test via command: bash --norc ---noprofile -eo pipefail install_specs_example_build.sh -clone_spack_and_install_zlib/5a6082d1: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +install_specs_example/6a1c357d does not have any dependencies adding test to queue +clone_spack_and_install_zlib/bf4511f7 does not have any dependencies adding test to queue +clone_spack_and_install_zlib/bf4511f7: Running Test via command: bash --norc --noprofile -eo pipefail clone_spack_and_install_zlib_build.sh -install_specs_example/47c6d7b5: Test completed with returncode: 0 -install_specs_example/47c6d7b5: Test completed in 1.363599 seconds -install_specs_example/47c6d7b5: Writing output file - /home/spack/runs/generic. -local.bash/install_specs/install_specs_example/47c6d7b5/install_specs_example.ou +install_specs_example/6a1c357d: Running Test via command: bash --norc +--noprofile -eo pipefail install_specs_example_build.sh +install_specs_example/6a1c357d: Test completed in 1.704521 seconds +install_specs_example/6a1c357d: Test completed with returncode: 0 +install_specs_example/6a1c357d: Writing output file - /home/spack/runs/generic. +local.bash/install_specs/install_specs_example/6a1c357d/install_specs_example.ou t -install_specs_example/47c6d7b5: Writing error file - /home/spack/runs/generic.lo -cal.bash/install_specs/install_specs_example/47c6d7b5/install_specs_example.err -clone_spack_and_install_zlib/5a6082d1: Test completed with returncode: 0 -clone_spack_and_install_zlib/5a6082d1: Test completed in 82.490567 seconds -clone_spack_and_install_zlib/5a6082d1: Writing output file - /home/spack/runs/g -eneric.local.bash/install_specs/clone_spack_and_install_zlib/5a6082d1/clone_spac +install_specs_example/6a1c357d: Writing error file - /home/spack/runs/generic.lo +cal.bash/install_specs/install_specs_example/6a1c357d/install_specs_example.err +clone_spack_and_install_zlib/bf4511f7: Test completed in 155.202672 seconds +clone_spack_and_install_zlib/bf4511f7: Test completed with returncode: 0 +clone_spack_and_install_zlib/bf4511f7: Writing output file - /home/spack/runs/g +eneric.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/clone_spac k_and_install_zlib.out -clone_spack_and_install_zlib/5a6082d1: Writing error file - /home/spack/runs/gen -eric.local.bash/install_specs/clone_spack_and_install_zlib/5a6082d1/clone_spack_ +clone_spack_and_install_zlib/bf4511f7: Writing error file - /home/spack/runs/gen +eric.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/clone_spack_ and_install_zlib.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ ┃ ┃ ┃ Regex, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━┩ -│ install_specs_ │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 1.363599 │ -│ example/47c6d7 │ │ │ │ │ │ -│ b5 │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼────────────────┼────────────┼───────────┤ -│ clone_spack_an │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 82.490567 │ -│ d_install_zlib │ │ │ │ │ │ -│ /5a6082d1 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴────────────────┴────────────┴───────────┘ +In this iteration we are going to run the following tests: [install_specs_example/6a1c357d, clone_spack_and_install_zlib/bf4511f7] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━┩ +│ install_specs_example/6a1c357d │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 1.704521 │ +├───────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼────────────┤ +│ clone_spack_and_install_zlib/bf4511f7 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 155.202672 │ +└───────────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴────────────┘ @@ -105,4 +91,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_us5vj4io.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_9mll4fao.log diff --git a/docs/buildtest_tutorial_examples/spack/build/mirror_example.txt b/docs/buildtest_tutorial_examples/spack/build/mirror_example.txt index e81eb0ed3..da1a8f08d 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:19 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/spack/mirror_example.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭─────────────────────────────────────────────────── buildtest summary ────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:25 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟─────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/spack/mirror_example.yml ║ ╚═════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/mirror_example.yml: VALID @@ -33,64 +33,53 @@ Total builder objects created: 2 Total compiler builder: 0 Total script builder: 0 Total spack builder: 2 - Spack Builder Details -┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ -│ add_mirror/f0cb2ce │ generic.local.bash │ Declare spack │ /home/spack/buildte │ -│ 9 │ │ mirror │ st/examples/spack/m │ -│ │ │ │ irror_example.yml │ -├────────────────────┼────────────────────┼────────────────────┼─────────────────────┤ -│ add_mirror_in_spac │ generic.local.bash │ Declare spack │ /home/spack/buildte │ -│ k_env/8c6798b9 │ │ mirror in spack │ st/examples/spack/m │ -│ │ │ environment │ irror_example.yml │ -└────────────────────┴────────────────────┴────────────────────┴─────────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -add_mirror/f0cb2ce9: Creating test directory: -/home/spack/runs/generic.local.bash/mirror_example/add_mirror/f0cb2ce9 -add_mirror/f0cb2ce9: Creating the stage directory: -/home/spack/runs/generic.local.bash/mirror_example/add_mirror/f0cb2ce9/stage -add_mirror/f0cb2ce9: Writing build script: /home/spack/runs/generic.local.bash/mirror_ -example/add_mirror/f0cb2ce9/add_mirror_build.sh -add_mirror_in_spack_env/8c6798b9: Creating test directory: -/home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/8c6798b9 -add_mirror_in_spack_env/8c6798b9: Creating the stage directory: /home/spack/runs/gener -ic.local.bash/mirror_example/add_mirror_in_spack_env/8c6798b9/stage -add_mirror_in_spack_env/8c6798b9: Writing build script: /home/spack/runs/generic.local -.bash/mirror_example/add_mirror_in_spack_env/8c6798b9/add_mirror_in_spack_env_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Spack Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ add_mirror/342fc7bd │ generic.local.bash │ Declare spack mirror │ /home/spack/buildtest/examples/spack/mirror_example.yml │ +├──────────────────────────────────┼────────────────────┼───────────────────────────────────────────┼─────────────────────────────────────────────────────────┤ +│ add_mirror_in_spack_env/23ad718f │ generic.local.bash │ Declare spack mirror in spack environment │ /home/spack/buildtest/examples/spack/mirror_example.yml │ +└──────────────────────────────────┴────────────────────┴───────────────────────────────────────────┴─────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +add_mirror/342fc7bd: Creating test directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/342fc7bd +add_mirror/342fc7bd: Creating the stage directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/342fc7bd/stage +add_mirror/342fc7bd: Writing build script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/342fc7bd/add_mirror_build.sh +add_mirror_in_spack_env/23ad718f: Creating test directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/23ad718f +add_mirror_in_spack_env/23ad718f: Creating the stage directory: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/23ad718f/stage +add_mirror_in_spack_env/23ad718f: Writing build script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/23ad718f/add_mirror_in_spack_env_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -add_mirror/f0cb2ce9: Running Test via command: bash --norc --noprofile -eo -pipefail add_mirror_build.sh -add_mirror_in_spack_env/8c6798b9: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +add_mirror_in_spack_env/23ad718f does not have any dependencies adding test to queue +add_mirror/342fc7bd does not have any dependencies adding test to queue +add_mirror_in_spack_env/23ad718f: Running Test via command: bash --norc --noprofile -eo pipefail add_mirror_in_spack_env_build.sh -add_mirror/f0cb2ce9: Test completed with returncode: 0 -add_mirror/f0cb2ce9: Test completed in 1.571656 seconds -add_mirror/f0cb2ce9: Writing output file - /home/spack/runs/generic.local.bash/ -mirror_example/add_mirror/f0cb2ce9/add_mirror.out -add_mirror/f0cb2ce9: Writing error file - /home/spack/runs/generic.local.bash/mi -rror_example/add_mirror/f0cb2ce9/add_mirror.err -add_mirror_in_spack_env/8c6798b9: Test completed with returncode: 0 -add_mirror_in_spack_env/8c6798b9: Test completed in 2.731018 seconds -add_mirror_in_spack_env/8c6798b9: Writing output file - /home/spack/runs/generi -c.local.bash/mirror_example/add_mirror_in_spack_env/8c6798b9/add_mirror_in_spack +add_mirror/342fc7bd: Running Test via command: bash --norc --noprofile -eo +pipefail add_mirror_build.sh +add_mirror/342fc7bd: Test completed in 1.901182 seconds +add_mirror/342fc7bd: Test completed with returncode: 0 +add_mirror/342fc7bd: Writing output file - /home/spack/runs/generic.local.bash/ +mirror_example/add_mirror/342fc7bd/add_mirror.out +add_mirror/342fc7bd: Writing error file - /home/spack/runs/generic.local.bash/mi +rror_example/add_mirror/342fc7bd/add_mirror.err +add_mirror_in_spack_env/23ad718f: Test completed in 2.705471 seconds +add_mirror_in_spack_env/23ad718f: Test completed with returncode: 0 +add_mirror_in_spack_env/23ad718f: Writing output file - /home/spack/runs/generi +c.local.bash/mirror_example/add_mirror_in_spack_env/23ad718f/add_mirror_in_spack _env.out -add_mirror_in_spack_env/8c6798b9: Writing error file - /home/spack/runs/generic. -local.bash/mirror_example/add_mirror_in_spack_env/8c6798b9/add_mirror_in_spack_e +add_mirror_in_spack_env/23ad718f: Writing error file - /home/spack/runs/generic. +local.bash/mirror_example/add_mirror_in_spack_env/23ad718f/add_mirror_in_spack_e nv.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ add_mirror/f0c │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 1.571656 │ -│ b2ce9 │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ add_mirror_in_ │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 2.731018 │ -│ spack_env/8c67 │ │ │ │ │ │ -│ 98b9 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +In this iteration we are going to run the following tests: [add_mirror_in_spack_env/23ad718f, add_mirror/342fc7bd] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ add_mirror/342fc7bd │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 1.901182 │ +├──────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ add_mirror_in_spack_env/23ad718f │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 2.705471 │ +└──────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -99,4 +88,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_6r1lf9ee.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_w2nqused.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 698f91888..249f14b7d 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:16 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/spack/pre_post_cmds.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭─────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:23 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/spack/pre_post_cmds.yml ║ ╚════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/pre_post_cmds.yml: VALID @@ -33,42 +33,36 @@ Total builder objects created: 1 Total compiler builder: 0 Total script builder: 0 Total spack builder: 1 - Spack Builder Details -┏━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━┩ -│ run_pre_post_commands/ │ generic.local.bash │ Install zlib │ /home/spack/buildtest │ -│ 1196996c │ │ │ /examples/spack/pre_p │ -│ │ │ │ ost_cmds.yml │ -└────────────────────────┴────────────────────┴──────────────┴───────────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -run_pre_post_commands/1196996c: Creating test directory: -/home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/1196996c -run_pre_post_commands/1196996c: Creating the stage directory: -/home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/1196996c/stage -run_pre_post_commands/1196996c: Writing build script: /home/spack/runs/generic.local.b -ash/pre_post_cmds/run_pre_post_commands/1196996c/run_pre_post_commands_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Spack Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ run_pre_post_commands/9eb731f1 │ generic.local.bash │ Install zlib │ /home/spack/buildtest/examples/spack/pre_post_cmds.yml │ +└────────────────────────────────┴────────────────────┴──────────────┴────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +run_pre_post_commands/9eb731f1: Creating test directory: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/9eb731f1 +run_pre_post_commands/9eb731f1: Creating the stage directory: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/9eb731f1/stage +run_pre_post_commands/9eb731f1: Writing build script: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/9eb731f1/run_pre_post_commands_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -run_pre_post_commands/1196996c: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +run_pre_post_commands/9eb731f1 does not have any dependencies adding test to queue +run_pre_post_commands/9eb731f1: Running Test via command: bash --norc --noprofile -eo pipefail run_pre_post_commands_build.sh -run_pre_post_commands/1196996c: Test completed with returncode: 0 -run_pre_post_commands/1196996c: Test completed in 1.805859 seconds -run_pre_post_commands/1196996c: Writing output file - /home/spack/runs/generic. -local.bash/pre_post_cmds/run_pre_post_commands/1196996c/run_pre_post_commands.ou +run_pre_post_commands/9eb731f1: Test completed in 1.888707 seconds +run_pre_post_commands/9eb731f1: Test completed with returncode: 0 +run_pre_post_commands/9eb731f1: Writing output file - /home/spack/runs/generic. +local.bash/pre_post_cmds/run_pre_post_commands/9eb731f1/run_pre_post_commands.ou t -run_pre_post_commands/1196996c: Writing error file - /home/spack/runs/generic.lo -cal.bash/pre_post_cmds/run_pre_post_commands/1196996c/run_pre_post_commands.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ run_pre_post_c │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 1.805859 │ -│ ommands/119699 │ │ │ │ │ │ -│ 6c │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +run_pre_post_commands/9eb731f1: Writing error file - /home/spack/runs/generic.lo +cal.bash/pre_post_cmds/run_pre_post_commands/9eb731f1/run_pre_post_commands.err +In this iteration we are going to run the following tests: [run_pre_post_commands/9eb731f1] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ run_pre_post_commands/9eb731f1 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 1.888707 │ +└────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -77,4 +71,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_lozeyjmi.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_v07hwxhl.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 2db2e0104..acdc9c7e7 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:10 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/spack/remove_environment_example.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭───────────────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:18 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟─────────────────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/spack/remove_environment_example.yml ║ ╚═════════════════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/remove_environment_example.yml: VALID @@ -33,74 +33,59 @@ Total builder objects created: 2 Total compiler builder: 0 Total script builder: 0 Total spack builder: 2 - Spack Builder Details -┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩ -│ remove_environment │ generic.local.bash │ remove spack │ /home/spack/buildt │ -│ _automatically/2ab │ │ environment │ est/examples/spack │ -│ b0a5d │ │ automatically │ /remove_environmen │ -│ │ │ before creating a │ t_example.yml │ -│ │ │ new environment │ │ -├────────────────────┼────────────────────┼─────────────────────┼────────────────────┤ -│ remove_environment │ generic.local.bash │ remove spack │ /home/spack/buildt │ -│ _explicit/3bfe249d │ │ environment │ est/examples/spack │ -│ │ │ explicitly using │ /remove_environmen │ -│ │ │ the 'rm' property │ t_example.yml │ -└────────────────────┴────────────────────┴─────────────────────┴────────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -remove_environment_automatically/2abb0a5d: Creating test directory: /home/spack/runs/g -eneric.local.bash/remove_environment_example/remove_environment_automatically/2abb0a5d -remove_environment_automatically/2abb0a5d: Creating the stage directory: /home/spack/r -uns/generic.local.bash/remove_environment_example/remove_environment_automatically/2ab -b0a5d/stage -remove_environment_automatically/2abb0a5d: Writing build script: /home/spack/runs/gene -ric.local.bash/remove_environment_example/remove_environment_automatically/2abb0a5d/re -move_environment_automatically_build.sh -remove_environment_explicit/3bfe249d: Creating test directory: /home/spack/runs/generi -c.local.bash/remove_environment_example/remove_environment_explicit/3bfe249d -remove_environment_explicit/3bfe249d: Creating the stage directory: /home/spack/runs/g -eneric.local.bash/remove_environment_example/remove_environment_explicit/3bfe249d/stag -e -remove_environment_explicit/3bfe249d: Writing build script: /home/spack/runs/generic.l -ocal.bash/remove_environment_example/remove_environment_explicit/3bfe249d/remove_envir -onment_explicit_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Spack Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ remove_environment_automatically/0508627c │ generic.local.bash │ remove spack environment automatically before creating a │ /home/spack/buildtest/examples/spack/remove_environment_ex │ +│ │ │ new environment │ ample.yml │ +├───────────────────────────────────────────┼────────────────────┼─────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────┤ +│ remove_environment_explicit/0b2ab6f3 │ generic.local.bash │ remove spack environment explicitly using the 'rm' property │ /home/spack/buildtest/examples/spack/remove_environment_ex │ +│ │ │ │ ample.yml │ +└───────────────────────────────────────────┴────────────────────┴─────────────────────────────────────────────────────────────┴────────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +remove_environment_automatically/0508627c: Creating test directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/0508627c +remove_environment_automatically/0508627c: Creating the stage directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/0508627c/stage +remove_environment_automatically/0508627c: Writing build script: +/home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/0508627c/remove_environment_automatically_build.sh +remove_environment_explicit/0b2ab6f3: Creating test directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/0b2ab6f3 +remove_environment_explicit/0b2ab6f3: Creating the stage directory: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/0b2ab6f3/stage +remove_environment_explicit/0b2ab6f3: Writing build script: +/home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/0b2ab6f3/remove_environment_explicit_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -remove_environment_automatically/2abb0a5d: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +remove_environment_automatically/0508627c does not have any dependencies adding test to queue +remove_environment_explicit/0b2ab6f3 does not have any dependencies adding test to queue +remove_environment_automatically/0508627c: Running Test via command: bash --norc --noprofile -eo pipefail remove_environment_automatically_build.sh -remove_environment_explicit/3bfe249d: Running Test via command: bash --norc +remove_environment_explicit/0b2ab6f3: Running Test via command: bash --norc --noprofile -eo pipefail remove_environment_explicit_build.sh -remove_environment_automatically/2abb0a5d: Test completed with returncode: 1 -remove_environment_automatically/2abb0a5d: Test completed in 5.181047 seconds -remove_environment_automatically/2abb0a5d: Writing output file - /home/spack/ru -ns/generic.local.bash/remove_environment_example/remove_environment_automaticall -y/2abb0a5d/remove_environment_automatically.out -remove_environment_automatically/2abb0a5d: Writing error file - /home/spack/runs -/generic.local.bash/remove_environment_example/remove_environment_automatically/ -2abb0a5d/remove_environment_automatically.err -remove_environment_explicit/3bfe249d: Test completed with returncode: 1 -remove_environment_explicit/3bfe249d: Test completed in 5.475819 seconds -remove_environment_explicit/3bfe249d: Writing output file - /home/spack/runs/ge -neric.local.bash/remove_environment_example/remove_environment_explicit/3bfe249d +remove_environment_explicit/0b2ab6f3: Test completed in 3.389722 seconds +remove_environment_explicit/0b2ab6f3: Test completed with returncode: 1 +remove_environment_explicit/0b2ab6f3: Writing output file - /home/spack/runs/ge +neric.local.bash/remove_environment_example/remove_environment_explicit/0b2ab6f3 /remove_environment_explicit.out -remove_environment_explicit/3bfe249d: Writing error file - /home/spack/runs/gene -ric.local.bash/remove_environment_example/remove_environment_explicit/3bfe249d/r +remove_environment_explicit/0b2ab6f3: Writing error file - /home/spack/runs/gene +ric.local.bash/remove_environment_example/remove_environment_explicit/0b2ab6f3/r emove_environment_explicit.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ remove_environ │ generic.local… │ FAIL │ N/A N/A N/A │ 1 │ 5.181047 │ -│ ment_automatic │ │ │ │ │ │ -│ ally/2abb0a5d │ │ │ │ │ │ -├────────────────┼────────────────┼────────┼─────────────────┼────────────┼──────────┤ -│ remove_environ │ generic.local… │ FAIL │ N/A N/A N/A │ 1 │ 5.475819 │ -│ ment_explicit/ │ │ │ │ │ │ -│ 3bfe249d │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +remove_environment_automatically/0508627c: Test completed in 3.771961 seconds +remove_environment_automatically/0508627c: Test completed with returncode: 1 +remove_environment_automatically/0508627c: Writing output file - /home/spack/ru +ns/generic.local.bash/remove_environment_example/remove_environment_automaticall +y/0508627c/remove_environment_automatically.out +remove_environment_automatically/0508627c: Writing error file - /home/spack/runs +/generic.local.bash/remove_environment_example/remove_environment_automatically/ +0508627c/remove_environment_automatically.err +In this iteration we are going to run the following tests: [remove_environment_automatically/0508627c, remove_environment_explicit/0b2ab6f3] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ remove_environment_explicit/0b2ab6f3 │ generic.local.bash │ FAIL │ N/A N/A N/A │ 1 │ 3.389722 │ +├───────────────────────────────────────────┼────────────────────┼────────┼─────────────────────────────────────┼────────────┼──────────┤ +│ remove_environment_automatically/0508627c │ generic.local.bash │ FAIL │ N/A N/A N/A │ 1 │ 3.771961 │ +└───────────────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -109,4 +94,4 @@ Failed Tests: 2/2 Percentage: 100.000% Adding 2 test results to /home/spack/buildtest/var/report.json -Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_g552s75d.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_f14hge_o.log diff --git a/docs/buildtest_tutorial_examples/spack/build/spack_sbatch.txt b/docs/buildtest_tutorial_examples/spack/build/spack_sbatch.txt index 66a3c20d9..4d8ce8020 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:32 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/spack/spack_sbatch.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭────────────────────────────────────────────────── buildtest summary ───────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:38 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟───────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/spack/spack_sbatch.yml ║ ╚═══════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/spack_sbatch.yml: VALID @@ -33,41 +33,35 @@ Total builder objects created: 1 Total compiler builder: 0 Total script builder: 0 Total spack builder: 1 - Spack Builder Details -┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩ -│ spack_sbatch_examp │ generic.local.bash │ sbatch directives │ /home/spack/buildt │ -│ le/187aadba │ │ can be defined in │ est/examples/spack │ -│ │ │ spack schema │ /spack_sbatch.yml │ -└────────────────────┴────────────────────┴─────────────────────┴────────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -spack_sbatch_example/187aadba: Creating test directory: -/home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/187aadba -spack_sbatch_example/187aadba: Creating the stage directory: -/home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/187aadba/stage -spack_sbatch_example/187aadba: Writing build script: /home/spack/runs/generic.local.ba -sh/spack_sbatch/spack_sbatch_example/187aadba/spack_sbatch_example_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Spack Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ spack_sbatch_example/f9d113e7 │ generic.local.bash │ sbatch directives can be defined in spack schema │ /home/spack/buildtest/examples/spack/spack_sbatch.yml │ +└───────────────────────────────┴────────────────────┴──────────────────────────────────────────────────┴───────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +spack_sbatch_example/f9d113e7: Creating test directory: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f9d113e7 +spack_sbatch_example/f9d113e7: Creating the stage directory: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f9d113e7/stage +spack_sbatch_example/f9d113e7: Writing build script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f9d113e7/spack_sbatch_example_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -spack_sbatch_example/187aadba: Running Test via command: bash --norc --noprofile +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +spack_sbatch_example/f9d113e7 does not have any dependencies adding test to queue +spack_sbatch_example/f9d113e7: Running Test via command: bash --norc --noprofile -eo pipefail spack_sbatch_example_build.sh -spack_sbatch_example/187aadba: Test completed with returncode: 0 -spack_sbatch_example/187aadba: Test completed in 1.507024 seconds -spack_sbatch_example/187aadba: Writing output file - /home/spack/runs/generic.l -ocal.bash/spack_sbatch/spack_sbatch_example/187aadba/spack_sbatch_example.out -spack_sbatch_example/187aadba: Writing error file - /home/spack/runs/generic.loc -al.bash/spack_sbatch/spack_sbatch_example/187aadba/spack_sbatch_example.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ spack_sbatch_e │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 1.507024 │ -│ xample/187aadb │ │ │ │ │ │ -│ a │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +spack_sbatch_example/f9d113e7: Test completed in 1.409672 seconds +spack_sbatch_example/f9d113e7: Test completed with returncode: 0 +spack_sbatch_example/f9d113e7: Writing output file - /home/spack/runs/generic.l +ocal.bash/spack_sbatch/spack_sbatch_example/f9d113e7/spack_sbatch_example.out +spack_sbatch_example/f9d113e7: Writing error file - /home/spack/runs/generic.loc +al.bash/spack_sbatch/spack_sbatch_example/f9d113e7/spack_sbatch_example.err +In this iteration we are going to run the following tests: [spack_sbatch_example/f9d113e7] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ spack_sbatch_example/f9d113e7 │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 1.409672 │ +└───────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -76,4 +70,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_vy6nsn_c.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_jp55c0c9.log diff --git a/docs/buildtest_tutorial_examples/spack/build/spack_test.txt b/docs/buildtest_tutorial_examples/spack/build/spack_test.txt index 5352d5d03..7a458c51a 100644 --- a/docs/buildtest_tutorial_examples/spack/build/spack_test.txt +++ b/docs/buildtest_tutorial_examples/spack/build/spack_test.txt @@ -1,21 +1,21 @@ $ buildtest build -b /home/spack/buildtest/examples/spack/spack_test.yml -╭──────────────────────────────── buildtest summary ─────────────────────────────────╮ -│ │ -│ User: spack │ -│ Hostname: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:23 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/spack/spack_test.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭───────────────────────────────────────────────── buildtest summary ──────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:29 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟─────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/spack/spack_test.yml ║ ╚═════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/spack_test.yml: VALID @@ -33,40 +33,35 @@ Total builder objects created: 1 Total compiler builder: 0 Total script builder: 0 Total spack builder: 1 - Spack Builder Details -┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩ -│ spack_test_m4/94cf │ generic.local.bash │ Run spack test for │ /home/spack/buildte │ -│ 9558 │ │ m4 package and │ st/examples/spack/s │ -│ │ │ report results │ pack_test.yml │ -└────────────────────┴────────────────────┴────────────────────┴─────────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -spack_test_m4/94cf9558: Creating test directory: -/home/spack/runs/generic.local.bash/spack_test/spack_test_m4/94cf9558 -spack_test_m4/94cf9558: Creating the stage directory: -/home/spack/runs/generic.local.bash/spack_test/spack_test_m4/94cf9558/stage -spack_test_m4/94cf9558: Writing build script: /home/spack/runs/generic.local.bash/spac -k_test/spack_test_m4/94cf9558/spack_test_m4_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Spack Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ spack_test_m4/45fed82b │ generic.local.bash │ Run spack test for m4 package and report results │ /home/spack/buildtest/examples/spack/spack_test.yml │ +└────────────────────────┴────────────────────┴──────────────────────────────────────────────────┴─────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +spack_test_m4/45fed82b: Creating test directory: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/45fed82b +spack_test_m4/45fed82b: Creating the stage directory: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/45fed82b/stage +spack_test_m4/45fed82b: Writing build script: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/45fed82b/spack_test_m4_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -spack_test_m4/94cf9558: Running Test via command: bash --norc --noprofile -eo +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +spack_test_m4/45fed82b does not have any dependencies adding test to queue +spack_test_m4/45fed82b: Running Test via command: bash --norc --noprofile -eo pipefail spack_test_m4_build.sh -spack_test_m4/94cf9558: Test completed with returncode: 0 -spack_test_m4/94cf9558: Test completed in 1.572292 seconds -spack_test_m4/94cf9558: Writing output file - /home/spack/runs/generic.local.ba -sh/spack_test/spack_test_m4/94cf9558/spack_test_m4.out -spack_test_m4/94cf9558: Writing error file - /home/spack/runs/generic.local.bash -/spack_test/spack_test_m4/94cf9558/spack_test_m4.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ spack_test_m4/ │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 1.572292 │ -│ 94cf9558 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +spack_test_m4/45fed82b: Test completed in 2.058979 seconds +spack_test_m4/45fed82b: Test completed with returncode: 0 +spack_test_m4/45fed82b: Writing output file - /home/spack/runs/generic.local.ba +sh/spack_test/spack_test_m4/45fed82b/spack_test_m4.out +spack_test_m4/45fed82b: Writing error file - /home/spack/runs/generic.local.bash +/spack_test/spack_test_m4/45fed82b/spack_test_m4.err +In this iteration we are going to run the following tests: [spack_test_m4/45fed82b] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ +│ spack_test_m4/45fed82b │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 2.058979 │ +└────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴──────────┘ @@ -75,4 +70,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_pr0aurzy.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest_6uyjfm72.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 a3bc2b645..6a61149ca 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: 09e0ccd237a0 │ -│ Platform: Linux │ -│ Current Time: 2022/02/09 17:48:25 │ -│ buildtest path: /home/spack/buildtest/bin/buildtest │ -│ buildtest version: 0.13.0 │ -│ 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 │ -│ Command: /home/spack/buildtest/bin/buildtest build -b │ -│ /home/spack/buildtest/examples/spack/spack_test_specs.yml │ -│ │ -╰────────────────────────────────────────────────────────────────────────────────────╯ -────────────────────────────── Discovering Buildspecs ─────────────────────────────── +╭──────────────────────────────────────────────────── buildtest summary ─────────────────────────────────────────────────────╮ +│ │ +│ User: spack │ +│ Hostname: f170978d3d4a │ +│ Platform: Linux │ +│ Current Time: 2022/03/18 20:27:32 │ +│ buildtest path: /home/spack/buildtest/bin/buildtest │ +│ buildtest version: 0.13.0 │ +│ 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: 1 Excluded Buildspecs: 0 Detected Buildspecs after exclusion: 1 @@ -25,7 +25,7 @@ Detected Buildspecs after exclusion: 1 ╟───────────────────────────────────────────────────────────╢ ║ /home/spack/buildtest/examples/spack/spack_test_specs.yml ║ ╚═══════════════════════════════════════════════════════════╝ -───────────────────────────────── Parsing Buildspecs ───────────────────────────────── +──────────────────────────────────────────────────────────────────────────────────── Parsing Buildspecs ───────────────────────────────────────────────────────────────────────────────────── Valid Buildspecs: 1 Invalid Buildspecs: 0 /home/spack/buildtest/examples/spack/spack_test_specs.yml: VALID @@ -33,45 +33,38 @@ Total builder objects created: 1 Total compiler builder: 0 Total script builder: 0 Total spack builder: 1 - Spack Builder Details -┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┓ -┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ -┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━┩ -│ spack_test_results │ generic.local.bash │ Run spack test │ /home/spack/buildt │ -│ _specs_format/7b5a │ │ results with spec │ est/examples/spack │ -│ 0975 │ │ format │ /spack_test_specs. │ -│ │ │ │ yml │ -└────────────────────┴────────────────────┴─────────────────────┴────────────────────┘ -─────────────────────────────────── Building Test ──────────────────────────────────── -spack_test_results_specs_format/7b5a0975: Creating test directory: /home/spack/runs/ge -neric.local.bash/spack_test_specs/spack_test_results_specs_format/7b5a0975 -spack_test_results_specs_format/7b5a0975: Creating the stage directory: /home/spack/ru -ns/generic.local.bash/spack_test_specs/spack_test_results_specs_format/7b5a0975/stage -spack_test_results_specs_format/7b5a0975: Writing build script: /home/spack/runs/gener -ic.local.bash/spack_test_specs/spack_test_results_specs_format/7b5a0975/spack_test_res -ults_specs_format_build.sh -─────────────────────────────────── Running Tests ──────────────────────────────────── + Spack Builder Details +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Builder ┃ Executor ┃ description ┃ buildspecs ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ spack_test_results_specs_format/da2488cf │ generic.local.bash │ Run spack test results with spec format │ /home/spack/buildtest/examples/spack/spack_test_specs.yml │ +└──────────────────────────────────────────┴────────────────────┴─────────────────────────────────────────┴───────────────────────────────────────────────────────────┘ +─────────────────────────────────────────────────────────────────────────────────────── Building Test ─────────────────────────────────────────────────────────────────────────────────────── +spack_test_results_specs_format/da2488cf: Creating test directory: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf +spack_test_results_specs_format/da2488cf: Creating the stage directory: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf/stage +spack_test_results_specs_format/da2488cf: Writing build script: +/home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf/spack_test_results_specs_format_build.sh +─────────────────────────────────────────────────────────────────────────────────────── Running Tests ─────────────────────────────────────────────────────────────────────────────────────── Spawning 4 processes for processing builders -spack_test_results_specs_format/7b5a0975: Running Test via command: bash --norc +──────────────────────────────────────────────────────────────────────────────────────── Iteration 1 ──────────────────────────────────────────────────────────────────────────────────────── +spack_test_results_specs_format/da2488cf does not have any dependencies adding test to queue +spack_test_results_specs_format/da2488cf: Running Test via command: bash --norc --noprofile -eo pipefail spack_test_results_specs_format_build.sh -spack_test_results_specs_format/7b5a0975: Test completed with returncode: 0 -spack_test_results_specs_format/7b5a0975: Test completed in 5.942643 seconds -spack_test_results_specs_format/7b5a0975: Writing output file - /home/spack/run -s/generic.local.bash/spack_test_specs/spack_test_results_specs_format/7b5a0975/s +spack_test_results_specs_format/da2488cf: Test completed in 5.10547 seconds +spack_test_results_specs_format/da2488cf: Test completed with returncode: 0 +spack_test_results_specs_format/da2488cf: Writing output file - /home/spack/run +s/generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf/s pack_test_results_specs_format.out -spack_test_results_specs_format/7b5a0975: Writing error file - /home/spack/runs/ -generic.local.bash/spack_test_specs/spack_test_results_specs_format/7b5a0975/spa +spack_test_results_specs_format/da2488cf: Writing error file - /home/spack/runs/ +generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf/spa ck_test_results_specs_format.err - Test Summary -┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┓ -┃ ┃ ┃ ┃ Checks ┃ ┃ ┃ -┃ ┃ ┃ ┃ (ReturnCode, ┃ ┃ ┃ -┃ Builder ┃ executor ┃ status ┃ Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ -┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━┩ -│ spack_test_res │ generic.local… │ PASS │ N/A N/A N/A │ 0 │ 5.942643 │ -│ ults_specs_for │ │ │ │ │ │ -│ mat/7b5a0975 │ │ │ │ │ │ -└────────────────┴────────────────┴────────┴─────────────────┴────────────┴──────────┘ +In this iteration we are going to run the following tests: [spack_test_results_specs_format/da2488cf] + Test Summary +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━┓ +┃ Builder ┃ executor ┃ status ┃ Checks (ReturnCode, Regex, Runtime) ┃ ReturnCode ┃ Runtime ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━┩ +│ spack_test_results_specs_format/da2488cf │ generic.local.bash │ PASS │ N/A N/A N/A │ 0 │ 5.10547 │ +└──────────────────────────────────────────┴────────────────────┴────────┴─────────────────────────────────────┴────────────┴─────────┘ @@ -80,4 +73,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__tbu0mil.log +Writing Logfile to: /home/spack/buildtest/var/logs/buildtest__dyl87fn.log 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 f229c4271..99f314013 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/env_create_directory.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/env_create_directory.txt @@ -1,54 +1,50 @@ $ buildtest inspect query -o -t spack_env_directory -────────────── spack_env_directory/cf5527b0-a36d-49d4-b046-654fd9890752 ────────────── +───────────────────────────────────────────────────────────────── spack_env_directory/32ba06b8-7756-4f4a-9e47-4fb9ffb8a643 ────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: create spack environment in directory State: PASS Returncode: 0 -Runtime: 3.398054 sec -Starttime: 2022/02/09 17:48:00 -Endtime: 2022/02/09 17:48:03 +Runtime: 5.125124 sec +Starttime: 2022/03/18 20:27:07 +Endtime: 2022/03/18 20:27:12 Command: bash --norc --noprofile -eo pipefail spack_env_directory_build.sh -Test Script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_direct -ory/cf5527b0/spack_env_directory.sh -Build Script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_direc -tory/cf5527b0/spack_env_directory_build.sh -Output File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_direct -ory/cf5527b0/spack_env_directory.out -Error File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directo -ry/cf5527b0/spack_env_directory.err -Log File: /home/spack/buildtest/var/logs/buildtest_dsc9so6b.log -─ Output File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_d… ─ -==> 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=3877ab548f88597ab2327a2230ee048d2d07 -[+] 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_dir… ─ - 1 #!/bin/bash - 2 source /home/spack/spack/share/spack/setup-env.sh - 3 spack env create -d /home/spack/spack-envs/m4 - 4 spack env activate -d /home/spack/spack-envs/m4 - 5 spack add m4 - 6 spack install - 7 - 8 - 9 ######## START OF POST COMMANDS ######## - 10 spack find - 11 rm -rf $HOME/spack-envs/m4 - 12 ######## END OF POST COMMANDS ######## - 13 - 14 +Test Script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/32ba06b8/spack_env_directory.sh +Build Script: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/32ba06b8/spack_env_directory_build.sh +Output File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/32ba06b8/spack_env_directory.out +Error File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/32ba06b8/spack_env_directory.err +Log File: /home/spack/buildtest/var/logs/buildtest_vi061vbj.log +──────────────────────────────── Output File: /home/spack/runs/generic.local.bash/env_create_directory/spack_env_directory/32ba06b8/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=linu +[+] 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/32ba06b8/spack_env_directory.sh ────────────────────────────────── + 1 #!/bin/bash + 2 source /home/spack/spack/share/spack/setup-env.sh + 3 spack env create -d /home/spack/spack-envs/m4 + 4 spack env activate -d /home/spack/spack-envs/m4 + 5 spack add m4 + 6 spack install + 7 + 8 + 9 ######## START OF POST COMMANDS ######## + 10 spack find + 11 rm -rf $HOME/spack-envs/m4 + 12 ######## END OF POST COMMANDS ######## + 13 + 14 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 b9ff9a295..a6a32b54b 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/env_create_manifest.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/env_create_manifest.txt @@ -1,27 +1,23 @@ $ buildtest inspect query -o -t spack_env_create_from_manifest -──────── spack_env_create_from_manifest/2c44ebc0-9663-4870-9008-1b0e89902f1d ───────── +──────────────────────────────────────────────────────────── spack_env_create_from_manifest/0fe5d368-c1ad-4dc3-bdf2-9e8b0317420d ──────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Create spack environment from spack.yaml State: FAIL Returncode: 1 -Runtime: 3.301349 sec -Starttime: 2022/02/09 17:48:05 -Endtime: 2022/02/09 17:48:09 +Runtime: 2.864908 sec +Starttime: 2022/03/18 20:27:14 +Endtime: 2022/03/18 20:27:17 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/2c44ebc0/spack_env_create_from_manifest.sh -Build Script: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create -_from_manifest/2c44ebc0/spack_env_create_from_manifest_build.sh -Output File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_ -from_manifest/2c44ebc0/spack_env_create_from_manifest.out -Error File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_f -rom_manifest/2c44ebc0/spack_env_create_from_manifest.err -Log File: /home/spack/buildtest/var/logs/buildtest_blpgsw2o.log -─ Output File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_cr… ─ - -─ Test File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_crea… ─ - 1 #!/bin/bash - 2 source /home/spack/spack/share/spack/setup-env.sh - 3 spack env create manifest_example /home/spack/buildtest/examples/spack/example/sp - 4 spack env activate manifest_example - 5 spack concretize -f +Test Script: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368/spack_env_create_from_manifest.sh +Build Script: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368/spack_env_create_from_manifest_build.sh +Output File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368/spack_env_create_from_manifest.out +Error File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368/spack_env_create_from_manifest.err +Log File: /home/spack/buildtest/var/logs/buildtest_d4je3lnx.log +────────────────────── Output File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368/spack_env_create_from_manifest.out ────────────────────── + +─────────────────────── Test File: /home/spack/runs/generic.local.bash/env_create_manifest/spack_env_create_from_manifest/0fe5d368/spack_env_create_from_manifest.sh ──────────────────────── + 1 #!/bin/bash + 2 source /home/spack/spack/share/spack/setup-env.sh + 3 spack env create manifest_example /home/spack/buildtest/examples/spack/example/spack.yaml + 4 spack env activate manifest_example + 5 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 4437ab3d8..a29901114 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/env_install.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/env_install.txt @@ -1,29 +1,25 @@ $ buildtest inspect query -t install_in_spack_env -───────────── install_in_spack_env/e6992240-e0f5-47a7-a27e-b2ce4972025d ────────────── +───────────────────────────────────────────────────────────────── install_in_spack_env/ba718573-d404-4960-887a-e41578cffaf7 ───────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Install m4 and zlib in a spack environment named m4_zlib State: PASS Returncode: 0 -Runtime: 6.732769 sec -Starttime: 2022/02/09 17:47:51 -Endtime: 2022/02/09 17:47:58 +Runtime: 5.962497 sec +Starttime: 2022/03/18 20:26:59 +Endtime: 2022/03/18 20:27:05 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/e699 -2240/install_in_spack_env.sh -Build Script: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/e69 -92240/install_in_spack_env_build.sh -Output File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/e699 -2240/install_in_spack_env.out -Error File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/e6992 -240/install_in_spack_env.err -Log File: /home/spack/buildtest/var/logs/buildtest_vqr7559s.log -─ Test File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/e… ─ - 1 #!/bin/bash - 2 source /home/spack/spack/share/spack/setup-env.sh - 3 spack compiler find - 4 spack env create m4_zlib - 5 spack env activate m4_zlib - 6 spack add m4 - 7 spack add zlib - 8 spack concretize -f - 9 spack install --keep-prefix +Test Script: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/ba718573/install_in_spack_env.sh +Build Script: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/ba718573/install_in_spack_env_build.sh +Output File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/ba718573/install_in_spack_env.out +Error File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/ba718573/install_in_spack_env.err +Log File: /home/spack/buildtest/var/logs/buildtest_f8rn71w3.log +───────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/env_install/install_in_spack_env/ba718573/install_in_spack_env.sh ────────────────────────────────────── + 1 #!/bin/bash + 2 source /home/spack/spack/share/spack/setup-env.sh + 3 spack compiler find + 4 spack env create m4_zlib + 5 spack env activate m4_zlib + 6 spack add m4 + 7 spack add zlib + 8 spack concretize -f + 9 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 ef3993b64..fef8a0e8e 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/install_specs.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/install_specs.txt @@ -1,59 +1,51 @@ $ buildtest inspect query -o -t install_specs_example clone_spack_and_install_zlib -───────────── install_specs_example/47c6d7b5-bb1c-49a4-9e26-0fda291aed49 ───────────── +──────────────────────────────────────────────────────────────── install_specs_example/6a1c357d-ddd1-44e8-bb8d-f7239705403c ───────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Install zlib from an existing spack instance State: PASS Returncode: 0 -Runtime: 1.363599 sec -Starttime: 2022/02/09 17:46:25 -Endtime: 2022/02/09 17:46:26 +Runtime: 1.704521 sec +Starttime: 2022/03/18 20:24:21 +Endtime: 2022/03/18 20:24:23 Command: bash --norc --noprofile -eo pipefail install_specs_example_build.sh -Test Script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/4 -7c6d7b5/install_specs_example.sh -Build Script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/ -47c6d7b5/install_specs_example_build.sh -Output File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/4 -7c6d7b5/install_specs_example.out -Error File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/47 -c6d7b5/install_specs_example.err -Log File: /home/spack/buildtest/var/logs/buildtest_us5vj4io.log -─ Output File: /home/spack/runs/generic.local.bash/install_specs/install_specs_exam… ─ -[+] /home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.11-smoyzzo - -─ Test File: /home/spack/runs/generic.local.bash/install_specs/install_specs_exampl… ─ - 1 #!/bin/bash - 2 source /home/spack/spack/share/spack/setup-env.sh - 3 spack install zlib -───────── clone_spack_and_install_zlib/5a6082d1-f75e-4e78-a79a-018d5c62fc5e ────────── +Test Script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/6a1c357d/install_specs_example.sh +Build Script: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/6a1c357d/install_specs_example_build.sh +Output File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/6a1c357d/install_specs_example.out +Error File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/6a1c357d/install_specs_example.err +Log File: /home/spack/buildtest/var/logs/buildtest_9mll4fao.log +────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/install_specs/install_specs_example/6a1c357d/install_specs_example.out ────────────────────────────────── +[+] /home/spack/spack/opt/spack/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/6a1c357d/install_specs_example.sh ──────────────────────────────────── + 1 #!/bin/bash + 2 source /home/spack/spack/share/spack/setup-env.sh + 3 spack install zlib +───────────────────────────────────────────────────────────── clone_spack_and_install_zlib/bf4511f7-7c8a-47cf-8cae-8d42208a62da ───────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Clone spack and install zlib spec State: PASS Returncode: 0 -Runtime: 82.490567 sec -Starttime: 2022/02/09 17:46:25 -Endtime: 2022/02/09 17:47:48 +Runtime: 155.202672 sec +Starttime: 2022/03/18 20:24:21 +Endtime: 2022/03/18 20:26:56 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/5a6082d1/clone_spack_and_install_zlib.sh -Build Script: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_instal -l_zlib/5a6082d1/clone_spack_and_install_zlib_build.sh -Output File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install -_zlib/5a6082d1/clone_spack_and_install_zlib.out -Error File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_ -zlib/5a6082d1/clone_spack_and_install_zlib.err -Log File: /home/spack/buildtest/var/logs/buildtest_us5vj4io.log -─ Output File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_in… ─ -==> Installing zlib-1.2.11-3rlgy7ycxtoho44una6o3itgfjltkmpd -==> No binary for zlib-1.2.11-3rlgy7ycxtoho44una6o3itgfjltkmpd found: installing from -==> Fetching https://mirror.spack.io/_source-cache/archive/c3/c3e5e9fdd5004dcb542feda5 -==> No patches needed for zlib -==> zlib: Executing phase: 'install' -==> zlib: Successfully installed zlib-1.2.11-3rlgy7ycxtoho44una6o3itgfjltkmpd - Fetch: 0.25s. Build: 6.27s. Total: 6.52s. -[+] /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/5a6 - -─ Test File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_inst… ─ - 1 #!/bin/bash - 2 git clone https://github.com/spack/spack - 3 source ./spack/share/spack/setup-env.sh - 4 spack install zlib +Test Script: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/clone_spack_and_install_zlib.sh +Build Script: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/clone_spack_and_install_zlib_build.sh +Output File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/clone_spack_and_install_zlib.out +Error File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/clone_spack_and_install_zlib.err +Log File: /home/spack/buildtest/var/logs/buildtest_9mll4fao.log +─────────────────────────── Output File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/clone_spack_and_install_zlib.out ─────────────────────────── +==> Installing zlib-1.2.11-3rlgy7ycxtoho44una6o3itgfjltkmpd +==> No binary for zlib-1.2.11-3rlgy7ycxtoho44una6o3itgfjltkmpd found: installing from source +==> Fetching https://mirror.spack.io/_source-cache/archive/c3/c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1.tar.gz +==> No patches needed for zlib +==> zlib: Executing phase: 'install' +==> zlib: Successfully installed zlib-1.2.11-3rlgy7ycxtoho44una6o3itgfjltkmpd + Fetch: 0.29s. Build: 4.04s. Total: 4.33s. +[+] /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/stage/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.11-3rlgy7ycxtoho44una6o3itgfjlt + +──────────────────────────── Test File: /home/spack/runs/generic.local.bash/install_specs/clone_spack_and_install_zlib/bf4511f7/clone_spack_and_install_zlib.sh ───────────────────────────── + 1 #!/bin/bash + 2 git clone https://github.com/spack/spack + 3 source ./spack/share/spack/setup-env.sh + 4 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 e149f1de5..2f3530614 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/mirror_example.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/mirror_example.txt @@ -1,82 +1,74 @@ $ buildtest inspect query -o -t add_mirror add_mirror_in_spack_env -────────────────── add_mirror/f0cb2ce9-cf5d-4bd5-801b-7ec6eb52860e ─────────────────── +────────────────────────────────────────────────────────────────────── add_mirror/342fc7bd-599e-4c2e-9948-5f124e8fbbea ────────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Declare spack mirror State: PASS Returncode: 0 -Runtime: 1.571656 sec -Starttime: 2022/02/09 17:48:19 -Endtime: 2022/02/09 17:48:21 +Runtime: 1.901182 sec +Starttime: 2022/03/18 20:27:26 +Endtime: 2022/03/18 20:27:28 Command: bash --norc --noprofile -eo pipefail add_mirror_build.sh -Test Script: -/home/spack/runs/generic.local.bash/mirror_example/add_mirror/f0cb2ce9/add_mirror.sh -Build Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/f0cb2ce9/a -dd_mirror_build.sh -Output File: -/home/spack/runs/generic.local.bash/mirror_example/add_mirror/f0cb2ce9/add_mirror.out -Error File: -/home/spack/runs/generic.local.bash/mirror_example/add_mirror/f0cb2ce9/add_mirror.err -Log File: /home/spack/buildtest/var/logs/buildtest_6r1lf9ee.log -─ Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/f0cb2c… ─ -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:/// -/home/spack/.spack/mirrors.yaml:3 tutorial: file:///mirror -/home/spack/spack/etc/spack/defaults/mirrors.yaml:2 spack-public: https://mirror.sp - -─ Test File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/f0cb2ce9… ─ - 1 #!/bin/bash - 2 source /home/spack/spack/share/spack/setup-env.sh - 3 spack mirror add spack_tutorial_mirror /mirror - 4 - 5 - 6 ######## START OF POST COMMANDS ######## - 7 spack mirror list - 8 spack config blame mirrors - 9 - 10 ######## END OF POST COMMANDS ######## - 11 - 12 -──────────── add_mirror_in_spack_env/8c6798b9-61df-46f1-906b-2e9bfae75645 ──────────── +Test Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/342fc7bd/add_mirror.sh +Build Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/342fc7bd/add_mirror_build.sh +Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/342fc7bd/add_mirror.out +Error File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/342fc7bd/add_mirror.err +Log File: /home/spack/buildtest/var/logs/buildtest_w2nqused.log +──────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror/342fc7bd/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/342fc7bd/add_mirror.sh ────────────────────────────────────────────── + 1 #!/bin/bash + 2 source /home/spack/spack/share/spack/setup-env.sh + 3 spack mirror add spack_tutorial_mirror /mirror + 4 + 5 + 6 ######## START OF POST COMMANDS ######## + 7 spack mirror list + 8 spack config blame mirrors + 9 + 10 ######## END OF POST COMMANDS ######## + 11 + 12 +─────────────────────────────────────────────────────────────── add_mirror_in_spack_env/23ad718f-698d-4c5b-b5cf-6d40005a419b ──────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Declare spack mirror in spack environment State: PASS Returncode: 0 -Runtime: 2.731018 sec -Starttime: 2022/02/09 17:48:19 -Endtime: 2022/02/09 17:48:22 +Runtime: 2.705471 sec +Starttime: 2022/03/18 20:27:26 +Endtime: 2022/03/18 20:27:28 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_en -v/8c6798b9/add_mirror_in_spack_env.sh -Build Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_e -nv/8c6798b9/add_mirror_in_spack_env_build.sh -Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_en -v/8c6798b9/add_mirror_in_spack_env.out -Error File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env -/8c6798b9/add_mirror_in_spack_env.err -Log File: /home/spack/buildtest/var/logs/buildtest_6r1lf9ee.log -─ Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spa… ─ -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_ -/home/spack/.spack/mirrors.yaml:3 tutorial: file: -/home/spack/spack/etc/spack/defaults/mirrors.yaml:2 spack-public: h - -─ Test File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack… ─ - 1 #!/bin/bash - 2 source /home/spack/spack/share/spack/setup-env.sh - 3 spack env create spack_mirror - 4 spack env activate spack_mirror - 5 spack mirror add spack_tutorial_mirror /mirror - 6 - 7 - 8 ######## START OF POST COMMANDS ######## - 9 spack mirror list - 10 spack config blame mirrors - 11 ######## END OF POST COMMANDS ######## - 12 - 13 +Test Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/23ad718f/add_mirror_in_spack_env.sh +Build Script: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/23ad718f/add_mirror_in_spack_env_build.sh +Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/23ad718f/add_mirror_in_spack_env.out +Error File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/23ad718f/add_mirror_in_spack_env.err +Log File: /home/spack/buildtest/var/logs/buildtest_w2nqused.log +─────────────────────────────── Output File: /home/spack/runs/generic.local.bash/mirror_example/add_mirror_in_spack_env/23ad718f/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/23ad718f/add_mirror_in_spack_env.sh ───────────────────────────────── + 1 #!/bin/bash + 2 source /home/spack/spack/share/spack/setup-env.sh + 3 spack env create spack_mirror + 4 spack env activate spack_mirror + 5 spack mirror add spack_tutorial_mirror /mirror + 6 + 7 + 8 ######## START OF POST COMMANDS ######## + 9 spack mirror list + 10 spack config blame mirrors + 11 ######## END OF POST COMMANDS ######## + 12 + 13 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 c445abe03..77313c14b 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/pre_post_cmds.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/pre_post_cmds.txt @@ -1,61 +1,57 @@ $ buildtest inspect query -o -t run_pre_post_commands -───────────── run_pre_post_commands/1196996c-fb3a-4933-8623-7a5921189560 ───────────── +──────────────────────────────────────────────────────────────── run_pre_post_commands/9eb731f1-4ef3-4bf8-b99b-eb20605a3b1a ───────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Install zlib State: PASS Returncode: 0 -Runtime: 1.805859 sec -Starttime: 2022/02/09 17:48:16 -Endtime: 2022/02/09 17:48:18 +Runtime: 1.888707 sec +Starttime: 2022/03/18 20:27:23 +Endtime: 2022/03/18 20:27:25 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/1 -196996c/run_pre_post_commands.sh -Build Script: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/ -1196996c/run_pre_post_commands_build.sh -Output File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/1 -196996c/run_pre_post_commands.out -Error File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/11 -96996c/run_pre_post_commands.err -Log File: /home/spack/buildtest/var/logs/buildtest_lozeyjmi.log -─ Output File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_comma… ─ -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/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.11-smoyzzo -/home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/gcc-6.5.0-ol37lodnsnyso -0.16.3 - -─ Test File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_command… ─ - 1 #!/bin/bash - 2 - 3 - 4 ######## START OF PRE COMMANDS ######## - 5 cat /etc/os-release - 6 gcc --version - 7 - 8 ######## END OF PRE COMMANDS ######## - 9 - 10 - 11 source /home/spack/spack/share/spack/setup-env.sh - 12 spack install zlib - 13 - 14 - 15 ######## START OF POST COMMANDS ######## - 16 spack location -i gcc@6.5.0 - 17 spack --version - 18 ######## END OF POST COMMANDS ######## - 19 - 20 +Test Script: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/9eb731f1/run_pre_post_commands.sh +Build Script: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/9eb731f1/run_pre_post_commands_build.sh +Output File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/9eb731f1/run_pre_post_commands.out +Error File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/9eb731f1/run_pre_post_commands.err +Log File: /home/spack/buildtest/var/logs/buildtest_v07hwxhl.log +────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/pre_post_cmds/run_pre_post_commands/9eb731f1/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/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/zlib-1.2.11-smoyzzo2qhzpn6mg6rd3l2p7b23enshg +/home/spack/spack/opt/spack/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/9eb731f1/run_pre_post_commands.sh ──────────────────────────────────── + 1 #!/bin/bash + 2 + 3 + 4 ######## START OF PRE COMMANDS ######## + 5 cat /etc/os-release + 6 gcc --version + 7 + 8 ######## END OF PRE COMMANDS ######## + 9 + 10 + 11 source /home/spack/spack/share/spack/setup-env.sh + 12 spack install zlib + 13 + 14 + 15 ######## START OF POST COMMANDS ######## + 16 spack location -i gcc@6.5.0 + 17 spack --version + 18 ######## END OF POST COMMANDS ######## + 19 + 20 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 f37c94753..e503cfdaa 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/remove_environment_example.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/remove_environment_example.txt @@ -1,54 +1,45 @@ $ buildtest inspect query -t remove_environment_automatically remove_environment_explicit -─────── remove_environment_automatically/2abb0a5d-1ffa-4d4d-b942-907562013ab2 ──────── +─────────────────────────────────────────────────────────── remove_environment_automatically/0508627c-088f-40db-9005-cf1f3da66ac4 ─────────────────────────────────────────────────────────── Executor: generic.local.bash Description: remove spack environment automatically before creating a new environment State: FAIL Returncode: 1 -Runtime: 5.181047 sec -Starttime: 2022/02/09 17:48:10 -Endtime: 2022/02/09 17:48:15 -Command: bash --norc --noprofile -eo pipefail -remove_environment_automatically_build.sh -Test Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_env -ironment_automatically/2abb0a5d/remove_environment_automatically.sh -Build Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_en -vironment_automatically/2abb0a5d/remove_environment_automatically_build.sh -Output File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_env -ironment_automatically/2abb0a5d/remove_environment_automatically.out -Error File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_envi -ronment_automatically/2abb0a5d/remove_environment_automatically.err -Log File: /home/spack/buildtest/var/logs/buildtest_g552s75d.log -─ Test File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_… ─ - 1 #!/bin/bash - 2 source /home/spack/spack/share/spack/setup-env.sh - 3 spack env rm -y remove_environment - 4 spack env create remove_environment - 5 spack env activate remove_environment - 6 spack add bzip2 - 7 spack concretize -f -────────── remove_environment_explicit/3bfe249d-681a-4e81-bdab-92a35a621675 ────────── +Runtime: 3.771961 sec +Starttime: 2022/03/18 20:27:18 +Endtime: 2022/03/18 20:27:21 +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/0508627c/remove_environment_automatically.sh +Build Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/0508627c/remove_environment_automatically_build.sh +Output File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/0508627c/remove_environment_automatically.out +Error File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/0508627c/remove_environment_automatically.err +Log File: /home/spack/buildtest/var/logs/buildtest_f14hge_o.log +────────────────── Test File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_automatically/0508627c/remove_environment_automatically.sh ────────────────── + 1 #!/bin/bash + 2 source /home/spack/spack/share/spack/setup-env.sh + 3 spack env rm -y remove_environment + 4 spack env create remove_environment + 5 spack env activate remove_environment + 6 spack add bzip2 + 7 spack concretize -f +───────────────────────────────────────────────────────────── remove_environment_explicit/0b2ab6f3-b300-40be-af08-e2ca32130357 ────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: remove spack environment explicitly using the 'rm' property State: FAIL Returncode: 1 -Runtime: 5.475819 sec -Starttime: 2022/02/09 17:48:10 -Endtime: 2022/02/09 17:48:16 +Runtime: 3.389722 sec +Starttime: 2022/03/18 20:27:18 +Endtime: 2022/03/18 20:27:21 Command: bash --norc --noprofile -eo pipefail remove_environment_explicit_build.sh -Test Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_env -ironment_explicit/3bfe249d/remove_environment_explicit.sh -Build Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_en -vironment_explicit/3bfe249d/remove_environment_explicit_build.sh -Output File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_env -ironment_explicit/3bfe249d/remove_environment_explicit.out -Error File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_envi -ronment_explicit/3bfe249d/remove_environment_explicit.err -Log File: /home/spack/buildtest/var/logs/buildtest_g552s75d.log -─ Test File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_… ─ - 1 #!/bin/bash - 2 source /home/spack/spack/share/spack/setup-env.sh - 3 spack env rm -y dummy - 4 spack env create dummy - 5 spack env activate dummy - 6 spack add bzip2 - 7 spack concretize -f +Test Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/0b2ab6f3/remove_environment_explicit.sh +Build Script: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/0b2ab6f3/remove_environment_explicit_build.sh +Output File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/0b2ab6f3/remove_environment_explicit.out +Error File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/0b2ab6f3/remove_environment_explicit.err +Log File: /home/spack/buildtest/var/logs/buildtest_f14hge_o.log +─────────────────────── Test File: /home/spack/runs/generic.local.bash/remove_environment_example/remove_environment_explicit/0b2ab6f3/remove_environment_explicit.sh ─────────────────────── + 1 #!/bin/bash + 2 source /home/spack/spack/share/spack/setup-env.sh + 3 spack env rm -y dummy + 4 spack env create dummy + 5 spack env activate dummy + 6 spack add bzip2 + 7 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 85f9d1cf7..dde0518e1 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/spack_sbatch.txt @@ -1,32 +1,26 @@ $ buildtest inspect query -t spack_sbatch_example -───────────── spack_sbatch_example/187aadba-2c42-4875-aa8d-a1fc2fc798e4 ────────────── +───────────────────────────────────────────────────────────────── spack_sbatch_example/f9d113e7-d2cc-486d-b943-bd958bd97607 ───────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: sbatch directives can be defined in spack schema State: PASS Returncode: 0 -Runtime: 1.507024 sec -Starttime: 2022/02/09 17:48:32 -Endtime: 2022/02/09 17:48:34 +Runtime: 1.409672 sec +Starttime: 2022/03/18 20:27:38 +Endtime: 2022/03/18 20:27:40 Command: bash --norc --noprofile -eo pipefail spack_sbatch_example_build.sh -Test Script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/187 -aadba/spack_sbatch_example.sh -Build Script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/18 -7aadba/spack_sbatch_example_build.sh -Output File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/187 -aadba/spack_sbatch_example.out -Error File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/187a -adba/spack_sbatch_example.err -Log File: /home/spack/buildtest/var/logs/buildtest_vy6nsn_c.log -─ Test File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/… ─ - 1 #!/bin/bash - 2 ####### START OF SCHEDULER DIRECTIVES ####### - 3 #SBATCH -N 1 - 4 #SBATCH -n 8 - 5 #SBATCH -t 30 - 6 #SBATCH --job-name=spack_sbatch_example - 7 #SBATCH --output=spack_sbatch_example.out - 8 #SBATCH --error=spack_sbatch_example.err - 9 ####### END OF SCHEDULER DIRECTIVES ####### - 10 source /home/spack/spack/share/spack/setup-env.sh - 11 spack install zlib@1.2.11%clang - 12 spack install zlib@1.2.8%clang +Test Script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f9d113e7/spack_sbatch_example.sh +Build Script: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f9d113e7/spack_sbatch_example_build.sh +Output File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f9d113e7/spack_sbatch_example.out +Error File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f9d113e7/spack_sbatch_example.err +Log File: /home/spack/buildtest/var/logs/buildtest_jp55c0c9.log +───────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/spack_sbatch/spack_sbatch_example/f9d113e7/spack_sbatch_example.sh ───────────────────────────────────── + 1 #!/bin/bash + 2 #SBATCH -N 1 + 3 #SBATCH -n 8 + 4 #SBATCH -t 30 + 5 #SBATCH --job-name=spack_sbatch_example + 6 #SBATCH --output=spack_sbatch_example.out + 7 #SBATCH --error=spack_sbatch_example.err + 8 source /home/spack/spack/share/spack/setup-env.sh + 9 spack install zlib@1.2.11%clang + 10 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 3b86bda85..d71027e62 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/spack_test.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/spack_test.txt @@ -1,45 +1,41 @@ $ buildtest inspect query -o -t spack_test_m4 -───────────────── spack_test_m4/94cf9558-281f-4e37-abff-9a9e803eabac ───────────────── +──────────────────────────────────────────────────────────────────── spack_test_m4/45fed82b-1abf-4d2c-802b-2bfb2611cde1 ───────────────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Run spack test for m4 package and report results State: PASS Returncode: 0 -Runtime: 1.572292 sec -Starttime: 2022/02/09 17:48:23 -Endtime: 2022/02/09 17:48:24 +Runtime: 2.058979 sec +Starttime: 2022/03/18 20:27:29 +Endtime: 2022/03/18 20:27:32 Command: bash --norc --noprofile -eo pipefail spack_test_m4_build.sh -Test Script: -/home/spack/runs/generic.local.bash/spack_test/spack_test_m4/94cf9558/spack_test_m4.sh -Build Script: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/94cf9558/sp -ack_test_m4_build.sh -Output File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/94cf9558/spa -ck_test_m4.out -Error File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/94cf9558/spac -k_test_m4.err -Log File: /home/spack/buildtest/var/logs/buildtest_pr0aurzy.log -─ Output File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/94cf955… ─ -==> Spack test spack_test_m4 -==> Testing package m4-1.4.18-mkc3u4x -==> Results for test suite 'spack_test_m4': -==> m4-1.4.18-mkc3u4x PASSED -==> Testing package m4-1.4.18-mkc3u4x -==> [2022-02-09-17:48:24.486308] test: ensuring m4 version is 1.4.18 -==> [2022-02-09-17:48:24.487246] '/home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64 -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 -==> [2022-02-09-17:48:24.501571] test: ensuring m4 example succeeds -==> [2022-02-09-17:48:24.501831] '/home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64 -// macro is defined -Hello, World! -PASSED - -─ Test File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/94cf9558/… ─ - 1 #!/bin/bash - 2 source /home/spack/spack/share/spack/setup-env.sh - 3 spack test run --alias spack_test_m4 m4 - 4 spack test results -l spack_test_m4 +Test Script: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/45fed82b/spack_test_m4.sh +Build Script: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/45fed82b/spack_test_m4_build.sh +Output File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/45fed82b/spack_test_m4.out +Error File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/45fed82b/spack_test_m4.err +Log File: /home/spack/buildtest/var/logs/buildtest_6uyjfm72.log +─────────────────────────────────────────── Output File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/45fed82b/spack_test_m4.out ──────────────────────────────────────────── +==> Spack test spack_test_m4 +==> Testing package m4-1.4.18-mkc3u4x +==> Results for test suite 'spack_test_m4': +==> m4-1.4.18-mkc3u4x PASSED +==> Testing package m4-1.4.18-mkc3u4x +==> [2022-03-18-20:27:31.589361] test: ensuring m4 version is 1.4.18 +==> [2022-03-18-20:27:31.590537] '/home/spack/spack/opt/spack/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 +==> [2022-03-18-20:27:31.598097] test: ensuring m4 example succeeds +==> [2022-03-18-20:27:31.598645] '/home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/m4-1.4.18-mkc3u4x2p2wie6jfhuku7g5rkovcrxps/bin/m4' '/home/spack/.spack/test/5mpugnenojhehp5k +// macro is defined +Hello, World! +PASSED + +───────────────────────────────────────────── Test File: /home/spack/runs/generic.local.bash/spack_test/spack_test_m4/45fed82b/spack_test_m4.sh ───────────────────────────────────────────── + 1 #!/bin/bash + 2 source /home/spack/spack/share/spack/setup-env.sh + 3 spack test run --alias spack_test_m4 m4 + 4 spack test results -l spack_test_m4 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 20b228c73..86e92e441 100644 --- a/docs/buildtest_tutorial_examples/spack/inspect/spack_test_specs.txt +++ b/docs/buildtest_tutorial_examples/spack/inspect/spack_test_specs.txt @@ -1,46 +1,42 @@ $ buildtest inspect query -o -t spack_test_results_specs_format -──────── spack_test_results_specs_format/7b5a0975-8b39-4d76-8659-fa8d6d226837 ──────── +─────────────────────────────────────────────────────────── spack_test_results_specs_format/da2488cf-bb78-439b-b486-5d33d3ddb8ca ──────────────────────────────────────────────────────────── Executor: generic.local.bash Description: Run spack test results with spec format State: PASS Returncode: 0 -Runtime: 5.942643 sec -Starttime: 2022/02/09 17:48:25 -Endtime: 2022/02/09 17:48:31 +Runtime: 5.10547 sec +Starttime: 2022/03/18 20:27:32 +Endtime: 2022/03/18 20:27:38 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_s -pecs_format/7b5a0975/spack_test_results_specs_format.sh -Build Script: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_ -specs_format/7b5a0975/spack_test_results_specs_format_build.sh -Output File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_s -pecs_format/7b5a0975/spack_test_results_specs_format.out -Error File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_sp -ecs_format/7b5a0975/spack_test_results_specs_format.err -Log File: /home/spack/buildtest/var/logs/buildtest__tbu0mil.log -─ Output File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_resu… ─ -==> All of the packages are already installed -==> Spack test spack_test_results_specs_format -==> Testing package libsigsegv-2.12-lbrx7ln -==> Results for test suite 'spack_test_results_specs_format', spec matching 'libsigseg -==> libsigsegv-2.12-lbrx7ln PASSED -==> Testing package libsigsegv-2.12-lbrx7ln -==> [2022-02-09-17:48:30.150105] test: checking ability to link to the library -==> [2022-02-09-17:48:30.150515] '/home/spack/spack/lib/spack/env/cc' '-I/home/spack/s -PASSED -==> [2022-02-09-17:48:30.248812] test: checking ability to use the library -==> [2022-02-09-17:48:30.249185] './smoke_test' -Caught sigsegv #1 -Hello World! -PASSED - -─ Test File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_result… ─ - 1 #!/bin/bash - 2 source /home/spack/spack/share/spack/setup-env.sh - 3 spack env create spack_test_example - 4 spack env activate spack_test_example - 5 spack install libxml2 - 6 spack install libsigsegv - 7 spack test remove -y - 8 spack test run --alias spack_test_results_specs_format libxml2 libsigsegv - 9 spack test results -l -- libxml2 - 10 spack test results -l -- libsigsegv +Test Script: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf/spack_test_results_specs_format.sh +Build Script: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf/spack_test_results_specs_format_build.sh +Output File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf/spack_test_results_specs_format.out +Error File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf/spack_test_results_specs_format.err +Log File: /home/spack/buildtest/var/logs/buildtest__dyl87fn.log +────────────────────── Output File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf/spack_test_results_specs_format.out ─────────────────────── +==> All of the packages are already installed +==> Spack test spack_test_results_specs_format +==> Testing package libsigsegv-2.12-lbrx7ln +==> Results for test suite 'spack_test_results_specs_format', spec matching 'libsigsegv': +==> libsigsegv-2.12-lbrx7ln PASSED +==> Testing package libsigsegv-2.12-lbrx7ln +==> [2022-03-18-20:27:36.945382] test: checking ability to link to the library +==> [2022-03-18-20:27:36.945785] '/home/spack/spack/lib/spack/env/cc' '-I/home/spack/spack/opt/spack/linux-ubuntu18.04-x86_64/gcc-7.5.0/libsigsegv-2.12-lbrx7lnfz46ukewxbhxnucmx76g23c6q/incl +PASSED +==> [2022-03-18-20:27:37.020254] test: checking ability to use the library +==> [2022-03-18-20:27:37.020646] './smoke_test' +Caught sigsegv #1 +Hello World! +PASSED + +──────────────────────── Test File: /home/spack/runs/generic.local.bash/spack_test_specs/spack_test_results_specs_format/da2488cf/spack_test_results_specs_format.sh ──────────────────────── + 1 #!/bin/bash + 2 source /home/spack/spack/share/spack/setup-env.sh + 3 spack env create spack_test_example + 4 spack env activate spack_test_example + 5 spack install libxml2 + 6 spack install libsigsegv + 7 spack test remove -y + 8 spack test run --alias spack_test_results_specs_format libxml2 libsigsegv + 9 spack test results -l -- libxml2 + 10 spack test results -l -- libsigsegv