-
Notifications
You must be signed in to change notification settings - Fork 5
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
problems running unit tests after installation #12
Comments
@tomjunk, thank you for the report. @greenc-FNAL stumbled across a very similar issue yesterday. I made some changes to MPD. Can you pull those changes and try again? Please let me know what you find out. |
Thanks! This is an improvement. I reran my script but still see a couple of unit test failures: ==> MPD initialized for Spack instance at /build/scratch/containers/trj/st/spack tests/test_mpd_clone.py . [ 14%] =================================== FAILURES =================================== with_mpd_init = None
E AssertionError: assert 'Selected project: a' in '==> Selected project: a\n Development status: not concretized\n Last installed: ---\n' tests/test_mpd_new_project.py:54: AssertionError ==> Warning: No compiler spec specified in the variants list (using environment default) Using build area: /tmp/pytest-of-trj/pytest-11/test_new_project_all_default_p0/a/build ==> You can clone repositories for development by invoking spack mpd git-clone --suite (or type 'spack mpd git-clone --help' for more options) ==> Warning: No compiler spec specified in the variants list (using environment default) Using build area: /tmp/pytest-of-trj/pytest-11/test_new_project_all_default_p0/a/build ==> You can clone repositories for development by invoking spack mpd git-clone --suite (or type 'spack mpd git-clone --help' for more options) ==> Selected project: a with_mpd_init = None
E AssertionError: assert ordereddict([...s', 'ready')]) == ordereddict([...dereddict())]) tests/test_mpd_new_project.py:95: AssertionError ==> Warning: No compiler spec specified in the variants list (using environment default) Using build area: /tmp/pytest-of-trj/pytest-11/test_mpd_refresh0/build ==> You can clone repositories for development by invoking spack mpd git-clone --suite (or type 'spack mpd git-clone --help' for more options) ==> Project e is up-to-date (8 durations < 0.005s hidden. Use -vv to show these durations.) |
https://github.com/FNALssi/spack-mpd?tab=readme-ov-file
starting with "prerequisites" and working through "installation" to the unit tests.
Enclosed is a script I wrote to start from scratch -- starting with clearing out my ${HOME}/.spack directory (we had noticed in an earlier tutorials that some tutorial material didn't work with contents in ${HOME}/spack left over from earlier attempts, and I am trying to start from a clean slate each time). I ran the script on dunebuild03.fnal.gov which has its local disk as
/build/scratch/containers/${USER}
I also enclose the output, capturing both stdout and stderr. I noticed MPD was complaining about a missing MPD configuration, where the message says to e-mail this list.
I also tried it with
spack mpd init
befor the unit tests. The init command said the MPD configuration directory is /build/scratch/containers/trj/st/spack/var/mpd. It contains a config file that has zero length, and I still
get the MPD missing configuration error.
Suggestions? I concatenated the script and its output to a text file for attachment.
mpdt2.txt
The text was updated successfully, but these errors were encountered: