Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3461

Integration test failure during release artifacts deployment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • tests
    • None

    Description

      I proceeded to the step 6 in the "How to release" document, but the last command in it failed with the following error.
      https://cwiki.apache.org/confluence/display/BIGTOP/How+to+release#Howtorelease-6.BuildandDeployArtifacts

      (inside a docker container of bigtop/slaves:trunk-ubuntu-14.04)
      
      jenkins@a705d848e46e:/tmp$ export HADOOP_CONF_DIR=/etc/hadoop/conf
      jenkins@a705d848e46e:/tmp$ export HADOOP_HOME=/usr/lib/hadoop
      jenkins@a705d848e46e:/tmp$ mvn deploy -Prelease -f bigtop-tests/test-execution/pom.xml
      
      (snip)
      
      [INFO] --- maven-failsafe-plugin:2.12:integration-test (integration-test) @ package-smoke-execution ---
      [INFO] Failsafe report directory: /tmp/bigtop-tests/test-execution/package/target/failsafe-reports
      
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.bigtop.itest.packagesmoke.TestServices
      [sudo] password for jenkins: 
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 145.891 sec
      Running org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributedServices
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.976 sec <<< FAILURE!
      Running org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributedFileContents
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.636 sec <<< FAILURE!
      Running org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributedUpgrade
      Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 14.347 sec <<< FAILURE!
      Running org.apache.bigtop.itest.packagesmoke.TestServicesCreateStateMissing
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 sec <<< FAILURE!
      Running org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.273 sec <<< FAILURE!
      Running org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributedState
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.123 sec <<< FAILURE!
      Running org.apache.bigtop.itest.packagesmoke.TestServicesCreateState
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec
      Running org.apache.bigtop.itest.packagesmoke.TestServicesVerifyState
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec
      Running org.apache.bigtop.itest.packagesmoke.TestPackagesBasics
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.389 sec <<< FAILURE!
      Running org.apache.bigtop.itest.packagesmoke.TestPackagesBasicsWithRM
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.378 sec <<< FAILURE!
      Running org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributedWithRM
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.547 sec <<< FAILURE!
      Running org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributedDependency
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.997 sec <<< FAILURE!
      
      Results :
      
      Failed tests:   org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributedServices: adding repository failed
        org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributedFileContents: adding repository failed
        org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed: adding repository failed
        org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed: adding repository failed
        org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed: adding repository failed
        org.apache.bigtop.itest.packagesmoke.TestPackagesBasics: adding repository failed
        org.apache.bigtop.itest.packagesmoke.TestPackagesBasicsWithRM: adding repository failed
        org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributedWithRM: adding repository failed
        org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributedDependency: adding repository failed
      
      Tests in error: 
        initializationError(org.apache.bigtop.itest.packagesmoke.TestServicesCreateStateMissing): Cannot invoke method clone() on null object
        initializationError(org.apache.bigtop.itest.packagesmoke.TestServicesCreateStateMissing): Cannot invoke method clone() on null object
      
      Tests run: 11, Failures: 9, Errors: 2, Skipped: 0
      
      [INFO] 
      [INFO] --- maven-gpg-plugin:1.4:sign (sign-artifacts) @ package-smoke-execution ---
      [INFO] 
      [INFO] --- maven-failsafe-plugin:2.12:verify (verify) @ package-smoke-execution ---
      [INFO] Failsafe report directory: /tmp/bigtop-tests/test-execution/package/target/failsafe-reports
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] stacks-validation-common ........................... SUCCESS [  8.566 s]
      [INFO] smoke-tests-conf ................................... SUCCESS [02:26 min]
      [INFO] packagesmokes ...................................... FAILURE [04:47 min]
      [INFO] bigtop-smokes ...................................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 07:22 min
      [INFO] Finished at: 2020-12-03T23:28:53+00:00
      [INFO] Final Memory: 45M/985M
      [INFO] ------------------------------------------------------------------------
      

      I'm not sure its cause and if I could skip this test with the -DskipTests option yet.

      Attachments

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: