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

Fix tests after modules repository restructuring #2154

Closed
66 of 70 tasks
JoseEspinosa opened this issue Oct 6, 2022 · 7 comments
Closed
66 of 70 tasks

Fix tests after modules repository restructuring #2154

JoseEspinosa opened this issue Oct 6, 2022 · 7 comments
Assignees
Labels
bug Something isn't working tests Related to automated tests

Comments

@JoseEspinosa
Copy link
Member

JoseEspinosa commented Oct 6, 2022

After #2141 was merged tests failed in the following modules as nicely reported by @grst in modules slack
Please assign yourself by editing this issue e.g. - [ ] module/foo (@JoseEspinosa) and mark it as resolved when your PR fixing the test is merged.

@JoseEspinosa JoseEspinosa added the bug Something isn't working label Oct 6, 2022
@JoseEspinosa JoseEspinosa added the tests Related to automated tests label Oct 6, 2022
@EmelineFavreau EmelineFavreau moved this from Todo (Hackathon General) to Ready for review in nf-core Hackathon March 2023 Oct 10, 2022
@EmelineFavreau EmelineFavreau moved this from Ready for review to Todo (Hackathon General) in nf-core Hackathon March 2023 Oct 10, 2022
@rpetit3
Copy link
Contributor

rpetit3 commented Oct 10, 2022

No Fixes needed (Tests (TMPDIR=~ nf-core modules test) passed with conda, docker, singularty)

  • ariba/run
  • busco
  • dragonflye
  • mobsuite/recon
  • panaroo/run
  • prokka
  • roary
  • sistr
  • snippy/core
  • snippy/run
  • gatk4/genotypegvcfs
  • gatk4/mutect2

@amasplund
Copy link

We have looked at bcftools/sort and it looks like the md5sum of the zipped output vcf-file is different if you use a conda or docker profile. If you unzip the files the md5sum is the same. The docker one is the same as what is stated in the tests/modules/nf-core/bcftools/sort/test.yml file. Seems like a problem that should probably have appeared before!? Is there a standard solution? Remove the md5sum check of the zipped file??

@pawelciurkaardigen
Copy link
Contributor

pawelciurkaardigen commented Oct 12, 2022

@amasplund I had similar problem for gatk4/applybqsr and validating cram file's md5sum but for me it was depending if I run the test locally or in CI. My solution was, as you suggested, relaxing the assertion by removing md5sum which is validating only file's presence. I don't know however if there is a better way that preserves file's content verification.

@muffato
Copy link
Member

muffato commented Dec 4, 2022

I found quite a few that have been fixed in the past few weeks

@muffato muffato self-assigned this Dec 8, 2022
@muffato
Copy link
Member

muffato commented Dec 8, 2022

(I've assigned this ticket to myself because I'll try to go through those issues one by one, but please don't hold me responsible for everything 😅 !)

@muffato
Copy link
Member

muffato commented Oct 13, 2023

Finally getting to the bottom of this !

  1. I've forked two issues for broken tests: plink2/extract test is broken #3965 and Broken Conda unicycler test #3982
  2. The deeparg/downloaddata test is failing because the underlying deeparg version, 1.0.2, needs data from a website that is gone. There is no command-line parameter to change the URL and there is no other version. I've sent an email to the author about it.
  3. The deeparg/predict test fails because it first runs deeparg/downloaddata

My goal is to close this ticket once I've got an answer from the deeparg author.

@muffato muffato self-assigned this Nov 11, 2023
@muffato muffato moved this from Todo to In Progress in nf-core Hackathon March 2023 Nov 11, 2023
@muffato muffato closed this as completed Nov 11, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in nf-core Hackathon March 2023 Nov 11, 2023
@muffato
Copy link
Member

muffato commented Nov 11, 2023

Deeparg issue tracked in #4321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests Related to automated tests
Projects
No open projects
Development

No branches or pull requests

5 participants