-
Notifications
You must be signed in to change notification settings - Fork 309
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
Create test suite for FlagStat #552
Conversation
Can one of the admins verify this patch? |
Jenkins, add to whitelist and test this please. |
Test FAILed. Build result: FAILUREGitHub pull request #552 of commit a7b5775 automatically merged.[EnvInject] - Loading node environment variables.Building remotely on amp-jenkins-worker-05 (centos) in workspace /home/jenkins/workspace/ADAM-prb > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/552/merge^{commit} # timeout=10Checking out Revision d7bae96 (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f d7bae96 > git rev-list d8e02d9 # timeout=10Triggering ADAM-prb ? 2.2.0,centosTriggering ADAM-prb ? 1.0.4,centosTriggering ADAM-prb ? 2.3.0,centosADAM-prb ? 2.2.0,centos completed with result FAILUREADAM-prb ? 1.0.4,centos completed with result FAILUREADAM-prb ? 2.3.0,centos completed with result FAILURETest FAILed. |
|
||
sparkTest("Standard FlagStat test"){ | ||
|
||
val inputpath = ClassLoader.getSystemClassLoader.getResource("features/NA12878.adam").getFile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is throwing an NPE which most likely means that getResource
is returning null
. Does the features/NA12878.adam
file exist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like they meant to add it to the commit but forgot it. Good catch @massie!
Also @beaunorgeot, when you add it, can you add NA12878.adam as a SAM file? We try to keep the test resources as text files instead of binary files where possible (I believe there are a few small exceptions, but we try to limit those), as git handles text files better, and it also makes debugging tests a bit easier (you have the text and don't need to poke into a binary file).
A few small nits, but otherwise looks good to me! Thanks for putting this together, and I look forward to getting it merged in. |
Thanks @beaunorgeot. We always like to see more test coverage. 👍 |
Hi Guys, all requested changes/additions have been added. We're excited to be a part of ADAM! Keep us posted if there are further issues |
Test FAILed. Build result: ABORTEDGitHub pull request #552 of commit 6dd4357 automatically merged.[EnvInject] - Loading node environment variables.Building remotely on amp-jenkins-worker-05 (centos) in workspace /home/jenkins/workspace/ADAM-prb > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/552/merge^{commit} # timeout=10Checking out Revision 598bd9f (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 598bd9f > git rev-list d8e02d9 # timeout=10Triggering ADAM-prb ? 2.3.0,centosTriggering ADAM-prb ? 2.2.0,centosTriggering ADAM-prb ? 1.0.4,centosADAM-prb ? 2.3.0,centos completed with result ABORTEDADAM-prb ? 2.2.0,centos completed with result FAILUREADAM-prb ? 1.0.4,centos completed with result FAILURETest FAILed. |
Jenkins, retest this please. |
Test FAILed. Build result: FAILUREGitHub pull request #552 of commit 6dd4357 automatically merged.[EnvInject] - Loading node environment variables.Building remotely on amp-jenkins-worker-05 (centos) in workspace /home/jenkins/workspace/ADAM-prb > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/552/merge^{commit} # timeout=10Checking out Revision 598bd9f (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 598bd9f > git rev-list d8e02d9 # timeout=10Triggering ADAM-prb ? 2.3.0,centosTriggering ADAM-prb ? 2.2.0,centosTriggering ADAM-prb ? 1.0.4,centosADAM-prb ? 2.3.0,centos completed with result FAILUREADAM-prb ? 2.2.0,centos completed with result FAILUREADAM-prb ? 1.0.4,centos completed with result FAILURETest FAILed. |
This just needs this:
I will do that manually and commit. |
[ADAM-355] Create test suite for FlagStat
Merged manually by f109a97. |
Thanks @beaunorgeot! |
Happy to be contributing. Lots of credit to @ansalaza on this one |
Issue #355