Skip to content

Conversation

@Flamefire
Copy link
Contributor

In easybuilders/easybuild-easyconfigs#9830 I noted that the architecture is now included in the test report, so it's hard to tell which reports are from x86 and which are from power.

Yes there is CPU model stuff via archspec, but that needs an (undocumented?) external dependency.

This PR uses the already available get_cpu_architecture which is also used in various EasyBlocks to change behavior and adds it to the report.

Example: easybuilders/easybuild-easyconfigs#10397 (comment)

Build succeeded for 8 out of 8 (8 easyconfigs in this PR)
taurusml1 - Linux RHEL 7.6, POWER, 8335-GTX, Python 2.7.5

and

Build succeeded for 8 out of 8 (8 easyconfigs in this PR)
taurusa5 - Linux centos linux 7.7.1908, x86_64, Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz, Python 2.7.5

@smoors
Copy link
Contributor

smoors commented Apr 17, 2020

to be fair, archspec is in the requirements.txt file of the framework
(I don't mind adding this though)

@Flamefire
Copy link
Contributor Author

Flamefire commented Apr 17, 2020

Which is still to be installed manually. Our site doesn't and the boostraped and EB installed modules don't contain it either. (And I personally wasn't even aware of its existance until recently)

Anything wrong with this PR? IMO It is simple and a good improvement. Especially because it shows a variable which changes behavior of EasyBlocks. The archspec output doesn't.

@smoors
Copy link
Contributor

smoors commented Apr 18, 2020

As I said I don't mind adding this change, but I'll leave the decision to someone else (@boegel ?)

@boegel boegel added this to the next release (4.2.1?) milestone Apr 18, 2020
@boegel boegel changed the title Add CPU architecture as found by EB to test report also mention CPU architecture (x86_64, POWER) in comment for test reports Apr 18, 2020
Copy link
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

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

makes perfect sense, thanks @Flamefire!

@boegel boegel merged commit 7fa6c42 into easybuilders:develop Apr 18, 2020
@Flamefire Flamefire deleted the improve_test_report branch April 18, 2020 16:04
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.

3 participants