Skip to content

tests: remove VersionUtils and use it from java-commons-lib, and fix … #1149

tests: remove VersionUtils and use it from java-commons-lib, and fix …

tests: remove VersionUtils and use it from java-commons-lib, and fix … #1149

GitHub Actions / Surefire tests report failed Aug 29, 2023 in 0s

492 tests run, 11 skipped, 1 failed.

Annotations

Check failure on line 43 in opencga-storage/opencga-storage-core/src/test/java/org/opencb/opencga/storage/core/variant/adaptors/VariantFieldTest.java

See this annotation in the file changed.

@github-actions github-actions / Surefire tests report

VariantFieldTest.checkAnnotationSubFields

expected:<[additionalAttributes, alternate, ancestralAllele, cancerHotspots, chromosome, consequenceTypes, conservation, cytoband, displayConsequenceType, drugs, end, functionalScore, geneCancerAssociations, geneConstraints, geneDrugInteraction, geneExpression, geneMirnaTargets, geneTraitAssociation, gwas, hgvs, id, minorAllele, minorAlleleFreq, pharmacogenomics, populationFrequencies, reference, repeat, start, traitAssociation, xrefs]> but was:<[additionalAttributes, alternate, ancestralAllele, cancerHotspots, chromosome, consequenceTypes, conservation, cytoband, displayConsequenceType, drugs, end, functionalScore, geneCancerAssociations, geneConstraints, geneDrugInteraction, geneExpression, geneMirnaTargets, geneTraitAssociation, gwas, hgvs, id, minorAllele, minorAlleleFreq, populationFrequencies, reference, repeat, start, traitAssociation, xrefs]>
Raw output
java.lang.AssertionError: expected:<[additionalAttributes, alternate, ancestralAllele, cancerHotspots, chromosome, consequenceTypes, conservation, cytoband, displayConsequenceType, drugs, end, functionalScore, geneCancerAssociations, geneConstraints, geneDrugInteraction, geneExpression, geneMirnaTargets, geneTraitAssociation, gwas, hgvs, id, minorAllele, minorAlleleFreq, pharmacogenomics, populationFrequencies, reference, repeat, start, traitAssociation, xrefs]> but was:<[additionalAttributes, alternate, ancestralAllele, cancerHotspots, chromosome, consequenceTypes, conservation, cytoband, displayConsequenceType, drugs, end, functionalScore, geneCancerAssociations, geneConstraints, geneDrugInteraction, geneExpression, geneMirnaTargets, geneTraitAssociation, gwas, hgvs, id, minorAllele, minorAlleleFreq, populationFrequencies, reference, repeat, start, traitAssociation, xrefs]>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.opencb.opencga.storage.core.variant.adaptors.VariantFieldTest.checkAnnotationSubFields(VariantFieldTest.java:43)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:49)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:120)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeLazy(JUnitCoreWrapper.java:105)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:77)
	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:69)
	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:146)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)