I have fixed the failing test case. @Tom Barber <t...@spicule.co.uk>, should
be able to proceed.

Actually the test case was wrong. We were firing an event named "long"
which starts 2 workflow instances. But in the assertion, we had checked if
the number of workflow instances are 1.
This test may have passed from time to time, due to one of those workflow
instances not being initialized at the time of checking or due to one
instance being completed (less chance).
I have updated the asserted value to 2 [1]

[1]
https://issues.apache.org/jira/browse/OODT-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

On Sat, 28 Sep 2019 at 22:28, Chris Mattmann <mattm...@apache.org> wrote:

> I'm getting a similar test error, see here:
>
>
>
> [INFO] --- maven-surefire-plugin:2.4:test (default-test) @ oodt-commons ---
>
> [INFO] Surefire report directory:
> /Users/mattmann/git/oodt/commons/target/surefire-reports
>
>
>
> -------------------------------------------------------
>
>  T E S T S
>
> -------------------------------------------------------
>
> Running org.apache.oodt.commons.activity.ActivityTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
>
> Running org.apache.oodt.commons.util.EnterpriseEntityResolverTest
>
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.165 sec
>
> Running org.apache.oodt.commons.util.LDAPTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
>
> Running org.apache.oodt.commons.io.NullOutputStreamTest
>
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
>
> Running org.apache.oodt.commons.util.CacheMapTest
>
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
>
> Running org.apache.oodt.commons.activity.ActivityStoppedTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.124 sec
>
> Running org.apache.oodt.commons.net.NetTest
>
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
>
> Running org.apache.oodt.commons.util.XMLTest
>
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.316 sec
> <<< FAILURE!
>
> Running org.apache.oodt.commons.io.FixedBufferOutputStreamTest
>
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
>
> Running org.apache.oodt.commons.MultiServerTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188 sec
>
> Running org.apache.oodt.commons.util.Base64Test
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
>
> Running org.apache.oodt.commons.AppTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
>
> Running org.apache.oodt.commons.io.NullInputStreamTest
>
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
>
> Running org.apache.oodt.commons.exec.TestEnvUtilities
>
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec
>
> Running org.apache.oodt.commons.filter.TestTimeEventWeightedHash
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
>
> Running org.apache.oodt.commons.activity.HistoryTest
>
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.878 sec
>
> Running org.apache.oodt.commons.ConfigurationTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188 sec
>
> Running org.apache.oodt.commons.activity.IncidentTest
>
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
>
> Running org.apache.oodt.commons.io.TestLoggerOutputStream
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
>
> Running org.apache.oodt.commons.activity.CompositeActivityTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec
>
> Running org.apache.oodt.commons.AvroMultiServerTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec
>
> Running org.apache.oodt.commons.object.jndi.ObjectContextTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
>
> Running org.apache.oodt.commons.ConfiguredTestCaseTest
>
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.289 sec
>
> Running org.apache.oodt.commons.activity.DatagramLoggingActivityFactoryTest
>
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec
>
> Running org.apache.oodt.commons.util.UtilityTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
>
> Running org.apache.oodt.commons.io.DirectorySelectorTest
>
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
>
> Running org.apache.oodt.commons.NaughtyTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
>
> Running org.apache.oodt.commons.object.jndi.TestContextTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
>
> Running org.apache.oodt.commons.activity.ActivityTrackerTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec
>
>
>
> Results :
>
>
>
> Failed tests:
>
>
>
> Tests run: 65, Failures: 1, Errors: 0, Skipped: 0
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Reactor Summary for Apache OODT 1.9:
>
> [INFO]
>
> [INFO] OODT Core .......................................... SUCCESS [
> 2.244 s]
>
> [INFO] Common Utilities ................................... FAILURE [
> 19.069 s]
>
> [INFO] CAS Command Line Interface ......................... SKIPPED
>
> [INFO] OODT - Configuration Management .................... SKIPPED
>
> [INFO] Process Control System Input Data Package .......... SKIPPED
>
> [INFO] Catalog and Archive Service Generic Multi-valued Metadata Container
> SKIPPED
>
> [INFO] Catalog and Archive File Management Component ...... SKIPPED
>
> [INFO] Catalog and Archive Resource Management Component .. SKIPPED
>
> [INFO] Catalog and Archive Workflow Management Component .. SKIPPED
>
> [INFO] Catalog and Archive Crawling Framework ............. SKIPPED
>
> [INFO] OODT CAS Curator Single Sign On Security Package ... SKIPPED
>
> [INFO] CAS Curation Web Services .......................... SKIPPED
>
> [INFO] Process Control System Core Package ................ SKIPPED
>
> [INFO] OODT Wicket Web Components ......................... SKIPPED
>
> [INFO] CAS Curation Interface ............................. SKIPPED
>
> [INFO] CAS PGE Adaptor Framework .......................... SKIPPED
>
> [INFO] CAS Installer Maven Mojo ........................... SKIPPED
>
> [INFO] OODT :: Archetypes :: OpsUI ........................ SKIPPED
>
> [INFO] OODT :: Archetypes :: RADiX ........................ SKIPPED
>
> [INFO] OODT :: Archetypes ................................. SKIPPED
>
> [INFO] CAS File Manager Browser Web App ................... SKIPPED
>
> [INFO] CAS Workflow Manager Monitor Web App ............... SKIPPED
>
> [INFO] CAS Product Server Web Application ................. SKIPPED
>
> [INFO] CAS Workflow REST Services ......................... SKIPPED
>
> [INFO] Process Control System Operator Interface Webapp ... SKIPPED
>
> [INFO] OODT Process Control System JAX-RS service layer ... SKIPPED
>
> [INFO] Apache OODT ........................................ SKIPPED
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time:  21.763 s
>
> [INFO] Finished at: 2019-09-28T09:37:02-07:00
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.4:test (default-test) on
> project oodt-commons: There are test failures.
>
> [ERROR]
>
> [ERROR] Please refer to
> /Users/mattmann/git/oodt/commons/target/surefire-reports for the individual
> test results.
>
> [ERROR] -> [Help 1]
>
> [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
>
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
> [ERROR]
>
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
> [ERROR]   mvn <goals> -rf :oodt-commons
>
> pomodoro:oodt mattmann$
>
>
>
>
>
> Cheers,
>
> Chris
>
>
>
>
>
> From: Tom Barber <t...@spicule.co.uk>
> Reply-To: "dev@oodt.apache.org" <dev@oodt.apache.org>
> Date: Saturday, September 28, 2019 at 9:37 AM
> To: dev <dev@oodt.apache.org>
> Subject: [EXTERNAL] Re: [VOTE] OODT 1.9 RC3
>
>
>
> Thanks for checking Lewis, I'll have another look after dinner.
>
>
>
> Tom
>
>
>
> On Sat, 28 Sep 2019, 17:11 Lewis John McGibbney, <lewi...@apache.org>
> wrote:
>
>
>
> Hi Tom
>
> Good work spinning a the RC's. My responses are inline
>
>
>
> On 2019/09/26 21:31:57, Tom Barber <t...@spicule.co.uk> wrote:
>
> >
>
> > https://dist.apache.org/repos/dist/dev/oodt/
>
>
>
> There is no reason to host
>
> https://dist.apache.org/repos/dist/dev/oodt/apache-oodt-1.9-src.zip.md5,
>
> please remove.
>
> Additionally, we should be using SHA512 -
>
> https://apache.org/dev/release-signing.html#sha-checksum
>
>
>
> The ASC signature is good
>
> gpg: assuming signed data in 'apache-oodt-1.9-src.zip'
>
> gpg: Signature made Thu Sep 26 14:26:05 2019 PDT
>
> gpg:                using RSA key AC57783AB30355CA
>
> gpg: Good signature from "Tom Barber <magicaltr...@apache.org>" [unknown]
>
> gpg: WARNING: This key is not certified with a trusted signature!
>
> gpg:          There is no indication that the signature belongs to the
>
> owner.
>
> Primary key fingerprint: 65C4 6FC2 31C7 756A E60D  B307 AC57 783A B303 55CA
>
>
>
> in NOTICE.txt, Copyright should be updated to 2019
>
> ```
>
> Apache OODT
>
> Copyright 2010-2015 The Apache Software Foundation
>
> ```
>
>
>
> lmcgibbn@MT-207576 ~/Downloads/apache-oodt-1.9-src $ mvn --version
>
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3;
>
> 2018-10-24T11:41:47-07:00)
>
> Maven home: /usr/local/Cellar/maven/3.6.0/libexec
>
> Java version: 1.8.0_221, vendor: Oracle Corporation, runtime:
>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre
>
> Default locale: en_US, platform encoding: UTF-8
>
> OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
>
>
>
> mvn clean test
>
>
>
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
>
> 1.216 s <<< FAILURE! - in
>
> org.apache.oodt.cas.workflow.system.TestAvroRpcWorkflowManager
>
> [ERROR]
>
>
> testGetWorkflowInstances(org.apache.oodt.cas.workflow.system.TestAvroRpcWorkflowManager)
>
> Time elapsed: 1.197 s  <<< FAILURE!
>
> junit.framework.AssertionFailedError: expected:<1> but was:<2>
>
>          at
>
>
> org.apache.oodt.cas.workflow.system.TestAvroRpcWorkflowManager.testGetWorkflowInstances(TestAvroRpcWorkflowManager.java:70)
>
>
>
> Can anyone else produce this?
>
>
>
>
>
> --
>
>
>
>
>
> Spicule Limited is registered in England & Wales. Company Number:
>
> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
>
> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>
>
>
>
>
>
>
>
>
> All engagements
>
> are subject to Spicule Terms and Conditions of Business. This email and
> its
>
> contents are intended solely for the individual to whom it is addressed
> and
>
> may contain information that is confidential, privileged or otherwise
>
> protected from disclosure, distributing or copying. Any views or opinions
>
> presented in this email are solely those of the author and do not
>
> necessarily represent those of Spicule Limited. The company accepts no
>
> liability for any damage caused by any virus transmitted by this email. If
>
> you have received this message in error, please notify us immediately by
>
> reply email before deleting it from your system. Service of legal notice
>
> cannot be effected on Spicule Limited by email.
>
>
>
>

Reply via email to