Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use custom easyblock for Rust 1.70.0 #18167

Merged
merged 2 commits into from Jun 23, 2023

Conversation

boegel
Copy link
Member

@boegel boegel commented Jun 21, 2023

@boegel boegel added this to the 4.x milestone Jun 21, 2023
@boegel
Copy link
Member Author

boegel commented Jun 21, 2023

@boegelbot please test @ generoso
CORE_CNT=16
EB_ARGS="--include-easyblocks-from-pr 2952"

@boegelbot
Copy link
Collaborator

@boegel: Request for testing this PR well received on login1

PR test command 'EB_PR=18167 EB_ARGS="--include-easyblocks-from-pr 2952" EB_CONTAINER= /opt/software/slurm/bin/sbatch --job-name test_PR_18167 --ntasks="16" ~/boegelbot/eb_from_pr_upload_generoso.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 11065

Test results coming soon (I hope)...

- notification for comment with ID 1601073489 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
Using easyblocks from PR(s) easybuilders/easybuild-easyblocks#2952
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
cnx1 - Linux Rocky Linux 8.5, x86_64, Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHz (haswell), Python 3.6.8
See https://gist.github.com/boegelbot/11f5f380877ede4e49914d9534626ce6 for a full test report.

@boegel
Copy link
Member Author

boegel commented Jun 22, 2023

@boegelbot please test @ generoso
CORE_CNT=16
EB_ARGS="--include-easyblocks-from-pr 2952 --rpath --installpath /tmp/$USER/pr18167-rpath"

@easybuilders easybuilders deleted a comment from boegelbot Jun 22, 2023
@boegel boegel modified the milestones: 4.x, next release (4.7.3?) Jun 22, 2023
@boegelbot
Copy link
Collaborator

@boegel: Request for testing this PR well received on login1

PR test command 'EB_PR=18167 EB_ARGS="--include-easyblocks-from-pr 2952 --rpath --installpath /tmp/$USER/pr18167-rpath" EB_CONTAINER= /opt/software/slurm/bin/sbatch --job-name test_PR_18167 --ntasks="16" ~/boegelbot/eb_from_pr_upload_generoso.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 11081

Test results coming soon (I hope)...

- notification for comment with ID 1602579353 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
Using easyblocks from PR(s) easybuilders/easybuild-easyblocks#2952
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
cnx2 - Linux Rocky Linux 8.5, x86_64, Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz (haswell), Python 3.6.8
See https://gist.github.com/boegelbot/e112e864075a5e8cc8a054730ed9f093 for a full test report.

@boegelbot
Copy link
Collaborator

@boegel: Tests failed in GitHub Actions, see https://github.com/easybuilders/easybuild-easyconfigs/actions/runs/5345713326
Last 100 lines of output from first failing test suite run:

  File "/home/runner/work/easybuild-easyconfigs/easybuild-easyconfigs/test/easyconfigs/easyconfigs.py", line 203, in parse_all_easyconfigs
    cls._parsed_easyconfigs.extend(process_easyconfig(spec))
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 2075, in process_easyconfig
    raise EasyBuildError("Failed to process easyconfig %s: %s", spec, err.msg)
easybuild.tools.build_log.EasyBuildError: "Failed to process easyconfig /home/runner/work/easybuild-easyconfigs/easybuild-easyconfigs/easybuild/easyconfigs/r/Rust/Rust-1.70.0-GCCcore-12.3.0.eb: No software-specific easyblock 'EB_Rust' found for Rust"

======================================================================
ERROR: test_r_libs_site_env_var (test.easyconfigs.easyconfigs.EasyConfigTest)
Make sure $R_LIBS_SITE is being updated, rather than $R_LIBS.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/tools/utilities.py", line 236, in get_class_for
    module = __import__(modulepath, globals(), locals(), [''])
ModuleNotFoundError: No module named 'easybuild.easyblocks.rust'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 1925, in get_easyblock_class
    cls = get_class_for(modulepath, class_name)
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/tools/utilities.py", line 238, in get_class_for
    raise ImportError(err)
ImportError: No module named 'easybuild.easyblocks.rust'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 2073, in process_easyconfig
    ec = EasyConfig(spec, build_specs=build_specs, validate=validate, hidden=hidden)
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 482, in __init__
    easyblock_class = get_easyblock_class(self.easyblock, name=self.software_name)
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 1951, in get_easyblock_class
    raise err
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 1935, in get_easyblock_class
    raise EasyBuildError("No software-specific easyblock '%s' found for %s", class_name, name)
easybuild.tools.build_log.EasyBuildError: "No software-specific easyblock 'EB_Rust' found for Rust"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/work/easybuild-easyconfigs/easybuild-easyconfigs/test/easyconfigs/easyconfigs.py", line 909, in test_r_libs_site_env_var
    for ec in self.parsed_easyconfigs:
  File "/home/runner/work/easybuild-easyconfigs/easybuild-easyconfigs/test/easyconfigs/easyconfigs.py", line 272, in parsed_easyconfigs
    EasyConfigTest.parse_all_easyconfigs()
  File "/home/runner/work/easybuild-easyconfigs/easybuild-easyconfigs/test/easyconfigs/easyconfigs.py", line 203, in parse_all_easyconfigs
    cls._parsed_easyconfigs.extend(process_easyconfig(spec))
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 2075, in process_easyconfig
    raise EasyBuildError("Failed to process easyconfig %s: %s", spec, err.msg)
easybuild.tools.build_log.EasyBuildError: "Failed to process easyconfig /home/runner/work/easybuild-easyconfigs/easybuild-easyconfigs/easybuild/easyconfigs/r/Rust/Rust-1.70.0-GCCcore-12.3.0.eb: No software-specific easyblock 'EB_Rust' found for Rust"

======================================================================
ERROR: test_sanity_check_paths (test.easyconfigs.easyconfigs.EasyConfigTest)
Make sure specified sanity check paths adher to the requirements.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/tools/utilities.py", line 236, in get_class_for
    module = __import__(modulepath, globals(), locals(), [''])
ModuleNotFoundError: No module named 'easybuild.easyblocks.rust'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 1925, in get_easyblock_class
    cls = get_class_for(modulepath, class_name)
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/tools/utilities.py", line 238, in get_class_for
    raise ImportError(err)
ImportError: No module named 'easybuild.easyblocks.rust'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 2073, in process_easyconfig
    ec = EasyConfig(spec, build_specs=build_specs, validate=validate, hidden=hidden)
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 482, in __init__
    easyblock_class = get_easyblock_class(self.easyblock, name=self.software_name)
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 1951, in get_easyblock_class
    raise err
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 1935, in get_easyblock_class
    raise EasyBuildError("No software-specific easyblock '%s' found for %s", class_name, name)
easybuild.tools.build_log.EasyBuildError: "No software-specific easyblock 'EB_Rust' found for Rust"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/work/easybuild-easyconfigs/easybuild-easyconfigs/test/easyconfigs/easyconfigs.py", line 893, in test_sanity_check_paths
    for ec in self.parsed_easyconfigs:
  File "/home/runner/work/easybuild-easyconfigs/easybuild-easyconfigs/test/easyconfigs/easyconfigs.py", line 272, in parsed_easyconfigs
    EasyConfigTest.parse_all_easyconfigs()
  File "/home/runner/work/easybuild-easyconfigs/easybuild-easyconfigs/test/easyconfigs/easyconfigs.py", line 203, in parse_all_easyconfigs
    cls._parsed_easyconfigs.extend(process_easyconfig(spec))
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/easybuild/framework/easyconfig/easyconfig.py", line 2075, in process_easyconfig
    raise EasyBuildError("Failed to process easyconfig %s: %s", spec, err.msg)
easybuild.tools.build_log.EasyBuildError: "Failed to process easyconfig /home/runner/work/easybuild-easyconfigs/easybuild-easyconfigs/easybuild/easyconfigs/r/Rust/Rust-1.70.0-GCCcore-12.3.0.eb: No software-specific easyblock 'EB_Rust' found for Rust"

----------------------------------------------------------------------
Ran 17366 tests in 818.943s

FAILED (errors=10)
ERROR: Not all tests were successful

bleep, bloop, I'm just a bot (boegelbot v20200716.01)
Please talk to my owner @boegel if you notice me acting stupid),
or submit a pull request to https://github.com/boegel/boegelbot fix the problem.

@casparvl
Copy link
Contributor

Test report by @casparvl
Using easyblocks from PR(s) easybuilders/easybuild-easyblocks#2952
SUCCESS
Build succeeded for 2 out of 2 (1 easyconfigs in total)
tcn352.local.snellius.surf.nl - Linux Rocky Linux 8.8, x86_64, AMD EPYC 7H12 64-Core Processor, Python 3.6.8
See https://gist.github.com/casparvl/3d009701a2d6a2769dc32166038727ce for a full test report.

@boegel
Copy link
Member Author

boegel commented Jun 22, 2023

@boegelbot please test @ jsc-zen2
CORE_CNT=16
EB_ARGS="--include-easyblocks-from-pr 2952"

@boegelbot
Copy link
Collaborator

@boegel: Request for testing this PR well received on jsczen2l1.int.jsc-zen2.easybuild-test.cluster

PR test command 'EB_PR=18167 EB_ARGS="--include-easyblocks-from-pr 2952" /opt/software/slurm/bin/sbatch --mem-per-cpu=4000M --job-name test_PR_18167 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen2.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 2856

Test results coming soon (I hope)...

- notification for comment with ID 1603008059 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
Using easyblocks from PR(s) easybuilders/easybuild-easyblocks#2952
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
jsczen2g1.int.jsc-zen2.easybuild-test.cluster - Linux Rocky Linux 8.5, x86_64, AMD EPYC 7742 64-Core Processor (zen2), Python 3.6.8
See https://gist.github.com/boegelbot/38660504d09a75a8d5fa393be5fa64d1 for a full test report.

Copy link
Contributor

@casparvl casparvl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@casparvl
Copy link
Contributor

Going in, thanks @boegel!

@casparvl casparvl merged commit 9a6a901 into easybuilders:develop Jun 23, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants