Skip to content

add support for enabling sanity checks for specific components in the Bundle easyblock#2649

Merged
boegel merged 7 commits intoeasybuilders:developfrom
jfgrimm:20220110171640_new_pr_bundle
Jan 18, 2022
Merged

add support for enabling sanity checks for specific components in the Bundle easyblock#2649
boegel merged 7 commits intoeasybuilders:developfrom
jfgrimm:20220110171640_new_pr_bundle

Conversation

@jfgrimm
Copy link
Copy Markdown
Member

@jfgrimm jfgrimm commented Jan 10, 2022

(created using eb --new-pr)

Adds support to run sanity checks for specific bundle components. Useful for e.g. easyconfig PR #14591

@boegel boegel added this to the next release (4.5.2?) milestone Jan 12, 2022
Comment thread easybuild/easyblocks/generic/bundle.py Outdated
Comment thread easybuild/easyblocks/generic/bundle.py Outdated
Comment thread easybuild/easyblocks/generic/bundle.py
Comment thread easybuild/easyblocks/generic/bundle.py Outdated
Comment thread easybuild/easyblocks/generic/bundle.py Outdated
Comment thread easybuild/easyblocks/generic/bundle.py Outdated
Comment thread easybuild/easyblocks/generic/bundle.py Outdated
Comment thread easybuild/easyblocks/generic/bundle.py
Comment thread easybuild/easyblocks/generic/bundle.py Outdated
Comment thread easybuild/easyblocks/generic/bundle.py Outdated
cnt = len(self.comp_cfgs_sanity_check)
for idx, comp in enumerate(self.comp_cfgs_sanity_check):
comp_name, comp_ver = comp.cfg['name'], comp.cfg['version']
print_msg("sanity checking bundle component %s v%s (%i/%i)...", comp_name, comp_ver, idx + 1, cnt)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wonder if the (x/y) is worthwile adding, since if not all components are being sanity checked, this may cause confusion why the total count mentioned here is lower than the total number of components?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I felt it was nice to have an idea of the overall progress, but since the sanity checks shouldn't take overly long I'm happy to remove it, if it's likely to cause more confusion than it helps

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No strong objection, let's proceed as is, it's easy enough to change later if it's indeed confusing people.

@boegel
Copy link
Copy Markdown
Member

boegel commented Jan 18, 2022

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS Xvfb-1.20.13-GCCcore-11.2.0.eb
  • SUCCESS XML-LibXML-2.0207-GCCcore-11.2.0.eb
  • SUCCESS SentencePiece-0.1.96-GCC-10.2.0.eb
  • SUCCESS R-bundle-Bioconductor-3.14-foss-2021b-R-4.1.2.eb
  • SUCCESS PyQt5-5.15.4-GCCcore-10.2.0.eb
  • SUCCESS MAFFT-7.490-GCC-11.2.0-with-extensions.eb
  • SUCCESS GCC-11.2.0.eb
  • SUCCESS OpenSSL-1.1.eb
  • SUCCESS foss-2021b.eb
  • SUCCESS buildenv-default-foss-2021a.eb
  • SUCCESS matplotlib-3.4.3-foss-2021b.eb

Build succeeded for 11 out of 11 (11 easyconfigs in total)
node3502.doduo.os - Linux RHEL 8.2, x86_64, AMD EPYC 7552 48-Core Processor (zen2), Python 3.6.8
See https://gist.github.com/2d4f222f02733db7d15c46a7ccbb5f0f for a full test report.

@boegel boegel merged commit 99a386f into easybuilders:develop Jan 18, 2022
@boegel boegel changed the title Add support for enabling sanity checks for specific components in the Bundle easyblock add support for enabling sanity checks for specific components in the Bundle easyblock Jan 19, 2022
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.

2 participants