You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/02/26 17:49:54 UTC

Build failed in Jenkins: PreCommit-ATLAS-Build-Test #124-master-ATLAS-2459-6.patch

See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/124/display/redirect?page=changes>

Changes:

[madhan] ATLAS-2456: fix in conversion of auditAction string to V1/V2 version of

------------------------------------------
[...truncated 212.21 KB...]
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (findbugs-check) > :findbugs @ atlas-hbase-server-shaded >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ atlas-hbase-server-shaded ---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (findbugs-check) < :findbugs @ atlas-hbase-server-shaded <<<
[INFO] 
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (findbugs-check) @ atlas-hbase-server-shaded ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ atlas-hbase-server-shaded ---
[INFO] Installing <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/shaded/hbase-server-shaded/target/atlas-hbase-server-shaded-1.0.0-SNAPSHOT.jar> to /home/jenkins/.m2/repository/org/apache/atlas/atlas-hbase-server-shaded/1.0.0-SNAPSHOT/atlas-hbase-server-shaded-1.0.0-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/shaded/hbase-server-shaded/dependency-reduced-pom.xml> to /home/jenkins/.m2/repository/org/apache/atlas/atlas-hbase-server-shaded/1.0.0-SNAPSHOT/atlas-hbase-server-shaded-1.0.0-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/shaded/hbase-server-shaded/target/atlas-hbase-server-shaded-1.0.0-SNAPSHOT-sources.jar> to /home/jenkins/.m2/repository/org/apache/atlas/atlas-hbase-server-shaded/1.0.0-SNAPSHOT/atlas-hbase-server-shaded-1.0.0-SNAPSHOT-sources.jar
[INFO] Installing <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/shaded/hbase-server-shaded/target/atlas-hbase-server-shaded-1.0.0-SNAPSHOT-test-sources.jar> to /home/jenkins/.m2/repository/org/apache/atlas/atlas-hbase-server-shaded/1.0.0-SNAPSHOT/atlas-hbase-server-shaded-1.0.0-SNAPSHOT-test-sources.jar
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Atlas Authorization 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ atlas-authorization ---
[INFO] Deleting <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization> (includes = [**/*.pyc], excludes = [])
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ atlas-authorization ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ atlas-authorization ---
[INFO] Executing: /bin/sh -c cd '<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization'> && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization>
[INFO] Storing buildNumber: be9b39bf53f0f3951c5c69a8d124c6727573b568 at timestamp: 1519667390777
[INFO] Storing buildScmBranch: master
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (rat-check) @ atlas-authorization ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: **/antlr4/**
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] Exclude: **/javax.script.ScriptEngineFactory
[INFO] Exclude: .reviewboardrc
[INFO] Exclude: 3party-licenses/**
[INFO] Exclude: **/.cache
[INFO] Exclude: **/.cache-main
[INFO] Exclude: **/.cache-tests
[INFO] Exclude: **/.checkstyle
[INFO] Exclude: **/*.txt
[INFO] Exclude: **/*.json
[INFO] Exclude: .pc/**
[INFO] Exclude: debian/**
[INFO] Exclude: .svn/**
[INFO] Exclude: .git/**
[INFO] Exclude: .gitignore
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.twiki
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.log
[INFO] Exclude: **/target/**
[INFO] Exclude: **/target*/**
[INFO] Exclude: **/build/**
[INFO] Exclude: **/*.patch
[INFO] Exclude: derby.log
[INFO] Exclude: **/logs/**
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/mock/**
[INFO] Exclude: **/data/**
[INFO] Exclude: **/maven-eclipse.xml
[INFO] Exclude: **/.externalToolBuilders/**
[INFO] Exclude: **/build.log
[INFO] Exclude: **/.bowerrc
[INFO] Exclude: *.json
[INFO] Exclude: **/overlays/**
[INFO] Exclude: dev-support/**
[INFO] Exclude: **/users-credentials.properties
[INFO] Exclude: **/public/css/animate.min.css
[INFO] Exclude: **/public/css/bootstrap-sidebar.css
[INFO] Exclude: **/public/js/external_lib/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/public/js/libs/**
[INFO] Exclude: **/atlas.data/**
[INFO] Exclude: **/${sys:atlas.data}/**
[INFO] Exclude: **/policy-store.txt
[INFO] Exclude: **/*rebel*.xml
[INFO] Exclude: **/*rebel*.xml.bak
[INFO] Exclude: **/test/resources/**
[INFO] 14 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 14 licenses.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ atlas-authorization ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ atlas-authorization ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ atlas-authorization ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization/target/classes>
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization/src/main/java/org/apache/atlas/authorize/simple/AtlasSimpleAuthzPolicy.java>: <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization/src/main/java/org/apache/atlas/authorize/simple/AtlasSimpleAuthzPolicy.java> uses or overrides a deprecated API.
[INFO] <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization/src/main/java/org/apache/atlas/authorize/simple/AtlasSimpleAuthzPolicy.java>: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ atlas-authorization ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ atlas-authorization ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-authorization ---
[INFO] Surefire report directory: <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization/target/surefire-reports>
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.atlas.authorize.simple.AtlasSimpleAuthorizerTest
Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.66 sec <<< FAILURE! - in org.apache.atlas.authorize.simple.AtlasSimpleAuthorizerTest
testAccessAllowedForGroup(org.apache.atlas.authorize.simple.AtlasSimpleAuthorizerTest)  Time elapsed: 0.021 sec  <<< FAILURE!
java.lang.NullPointerException: null
	at org.apache.atlas.authorize.simple.AtlasSimpleAuthorizerTest.testAccessAllowedForGroup(AtlasSimpleAuthorizerTest.java:78)

testAccessAllowedForUserAndGroup(org.apache.atlas.authorize.simple.AtlasSimpleAuthorizerTest)  Time elapsed: 0.007 sec  <<< FAILURE!
java.lang.AssertionError: expected:<true> but was:<false>
	at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
	at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:185)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:192)
	at org.apache.atlas.authorize.simple.AtlasSimpleAuthorizerTest.testAccessAllowedForUserAndGroup(AtlasSimpleAuthorizerTest.java:58)


Results :

Failed tests: 
  AtlasSimpleAuthorizerTest.testAccessAllowedForGroup:78 NullPointer
  AtlasSimpleAuthorizerTest.testAccessAllowedForUserAndGroup:58 expected:<true> but was:<false>

Tests run: 3, Failures: 2, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.863 s]
[INFO] apache-atlas ....................................... SUCCESS [  3.778 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  4.714 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  1.684 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 42.025 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  2.566 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.138 s]
[INFO] atlas-client-common ................................ SUCCESS [  0.843 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  2.807 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  0.775 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 10.727 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  0.754 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.091 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  0.652 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  0.719 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [02:17 min]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  2.112 s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  8.059 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 29.894 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 20.627 s]
[INFO] Apache Atlas Authorization ......................... FAILURE [  1.681 s]
[INFO] Apache Atlas Repository ............................ SKIPPED
[INFO] Apache Atlas UI .................................... SKIPPED
[INFO] Apache Atlas Web Application ....................... SKIPPED
[INFO] Apache Atlas Documentation ......................... SKIPPED
[INFO] Apache Atlas FileSystem Model ...................... SKIPPED
[INFO] Apache Atlas Plugin Classloader .................... SKIPPED
[INFO] Apache Atlas Hive Bridge Shim ...................... SKIPPED
[INFO] Apache Atlas Hive Bridge ........................... SKIPPED
[INFO] Apache Atlas Falcon Bridge Shim .................... SKIPPED
[INFO] Apache Atlas Falcon Bridge ......................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge .......................... SKIPPED
[INFO] Apache Atlas Storm Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Storm Bridge .......................... SKIPPED
[INFO] Apache Atlas Hbase Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Hbase Bridge .......................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:34 min
[INFO] Finished at: 2018-02-26T17:49:52Z
[INFO] Final Memory: 137M/1820M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project atlas-authorization: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/authorization/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 :atlas-authorization




{color:green}+1 overall{color}.  

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

Test results: https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/124//testReport/
Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/124//console

This message is automatically generated.


======================================================================
======================================================================
    Adding comment to Jira.
======================================================================
======================================================================




======================================================================
======================================================================
    Finished build.
======================================================================
======================================================================


+ EXIT_CODE=0
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_17519> ']'
+ '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_17519> ']'
+ mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_17519> <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/patchprocess>
+ rm -f <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_17519>
+ exit 0
[description-setter] Description set: ATLAS-2459-6.patch
Set build name.
New build name is '#124-master-ATLAS-2459-6.patch'
Archiving artifacts
ERROR: No artifacts found that match the file pattern "distro/target/*.tar.gz, webapp/target/*.war". Configuration error?
ERROR: ?distro/target/*.tar.gz? doesn?t match anything: ?distro? exists but not ?distro/target/*.tar.gz?
Build step 'Archive the artifacts' changed build result to FAILURE

Jenkins build is back to normal : PreCommit-ATLAS-Build-Test #125-master-ATLAS-2459-6.patch

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/125/display/redirect>