See <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/221/display/redirect?page=changes>
Changes: [ssubramanian] ATLAS-2510: Add support to disable/enable propagated classification in ------------------------------------------ [...truncated 5.63 KB...] JENKINS_URL=https://builds.apache.org/ WIN_LABEL=Windows CLOVER_HOME=/home/jenkins/tools/clover/latest JOB_BASE_NAME=PreCommit-ATLAS-Build-Test GIT_PREVIOUS_SUCCESSFUL_COMMIT=9931803090d187cb2a92cf88e4d111329121c503 HOME=/home/jenkins SHLVL=2 LOCAL_PATCH=0001-ATLAS-2490-Class-naming-consistency.patch GIT_BRANCH=origin/master BUILD_PASSWORD=[*******] EXECUTOR_NUMBER=1 JENKINS_SERVER_COOKIE=f4ebd1e6b0d976e8 GIT_URL=http://git-wip-us.apache.org/repos/asf/atlas.git NODE_LABELS=H10 Hadoop LOGNAME=jenkins SSH_CONNECTION=62.210.60.235 43304 67.195.81.154 22 HUDSON_HOME=/x1/jenkins/jenkins-home NODE_NAME=H10 NIX_LABEL=ubuntu SKIP_IT=false BUILD_NUMBER=221 JOB_DISPLAY_URL=https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/display/redirect XDG_RUNTIME_DIR=/run/user/910 ROOT_BUILD_CAUSE_MANUALTRIGGER=true HUDSON_COOKIE=7391434d-2c15-4c08-b1c6-3d1035034a4a [email protected] JAVA5_HOME=/home/jenkins/tools/java/latest1.5 FINDBUGS_HOME=/home/jenkins/tools/findbugs/latest _=/usr/bin/env + java -version java version "1.8.0_152" Java(TM) SE Runtime Environment (build 1.8.0_152-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) + PP_DIR=atlas_patchprocess_16635 + PATCHPROCESS=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_16635> + mkdir -p <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_16635> + cd <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/> + LOCAL_PATCH_FILE=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH> + '[' -f <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH> ']' + echo 'Local Patch in <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH> found.' Local Patch in <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH> found. + mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH> <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_16635/patch> + /bin/bash <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/dev-support/test-patch.sh> --jenkins --patch-dir=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_16635> --basedir=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/> --support-dir=/home/jenkins/buildSupport --ps-cmd=/bin/ps --wget-cmd=/usr/bin/wget --svn-cmd=/usr/bin/svn --grep-cmd=/bin/grep --patch-cmd=/usr/bin/patch --jira-cmd=/home/jenkins/tools/jiracli/latest/jira --jira-password=[*******] --review-id= --local-patch=<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH> --skip-ut=true --skip-it=false --branch=master --findbugs-home=/home/jenkins/tools/findbugs/latest --forrest-home=/home/jenkins/tools/forrest/latest --eclipse--home=/home/jenkins/tools/eclipse/latest ATLAS- Running in Jenkins mode ====================================================================== ====================================================================== Testing patch for ATLAS-. ====================================================================== ====================================================================== HEAD is now at 0f689fa ATLAS-2510: Add support to disable/enable propagated classification in entity Switched to a new branch 'master' Branch master set up to track remote branch master from origin. Current branch master is up to date. Using Local Patch in <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/LOCAL_PATCH> at Tue Mar 27 16:09:52 UTC 2018 Checking patch authorization/src/main/java/org/apache/atlas/authorize/AtlasAuthorizationUtils.java... Checking patch repository/src/main/java/org/apache/atlas/discovery/ClassificationSearchProcessor.java... Checking patch repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java... Checking patch repository/src/main/java/org/apache/atlas/discovery/EntityLineageService.java... Checking patch repository/src/main/java/org/apache/atlas/discovery/FullTextSearchProcessor.java... Checking patch repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java... Checking patch repository/src/main/java/org/apache/atlas/repository/audit/EntityAuditListener.java... Checking patch repository/src/main/java/org/apache/atlas/repository/audit/EntityAuditListenerV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/converters/AtlasInstanceConverter.java... Checking patch repository/src/main/java/org/apache/atlas/repository/converters/TypeConverterUtil.java... Checking patch repository/src/main/java/org/apache/atlas/repository/graph/FullTextMapperV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java... error: while searching for: import org.apache.atlas.ApplicationProperties; import org.apache.atlas.AtlasErrorCode; import org.apache.atlas.AtlasException; import org.apache.atlas.RequestContextV1; import org.apache.atlas.exception.AtlasBaseException; import org.apache.atlas.model.instance.AtlasEntity.Status; import org.apache.atlas.model.instance.AtlasObjectId; import org.apache.atlas.model.instance.AtlasRelationship; import org.apache.atlas.model.typedef.AtlasRelationshipDef; import org.apache.atlas.repository.graphdb.AtlasVertexQuery; import org.apache.atlas.util.AtlasGremlinQueryProvider; import org.apache.atlas.v1.model.instance.Id; import org.apache.atlas.v1.model.instance.Referenceable; import org.apache.atlas.type.AtlasStructType.AtlasAttribute; import org.apache.atlas.model.typedef.AtlasRelationshipDef.PropagateTags; import org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection; import org.apache.atlas.repository.Constants; import org.apache.atlas.repository.RepositoryException; import org.apache.atlas.repository.graphdb.AtlasEdge; error: patch failed: repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java:24 error: repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java: patch does not apply Checking patch repository/src/main/java/org/apache/atlas/repository/impexp/ExportService.java... Checking patch repository/src/main/java/org/apache/atlas/repository/impexp/ZipSource.java... Checking patch repository/src/main/java/org/apache/atlas/repository/ogm/DataAccess.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasEntityStore.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/BulkImporter.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/EntityGraphDiscovery.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/EntityGraphDiscoveryContext.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasAbstractDefStoreV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasAbstractDefStoreV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasClassificationDefStoreV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasClassificationDefStoreV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityChangeNotifier.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityChangeNotifier.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityDefStoreV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityDefStoreV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityGraphDiscoveryV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityGraphDiscoveryV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java... Hunk #10 succeeded at 636 (offset 17 lines). Hunk #11 succeeded at 654 (offset 17 lines). Hunk #12 succeeded at 676 (offset 17 lines). Hunk #13 succeeded at 695 (offset 17 lines). Hunk #14 succeeded at 736 (offset 17 lines). Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStream.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStream.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStreamForImport.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStreamForImport.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEnumDefStoreV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEnumDefStoreV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasGraphUtilsV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasGraphUtilsV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipDefStoreV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipDefStoreV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasStructDefStoreV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasStructDefStoreV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasTypeDefGraphStoreV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasTypeDefGraphStoreV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AttributeMutationContext.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AttributeMutationContext.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/BulkImporterImpl.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/BulkImporterImpl.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/DeleteHandlerV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/DeleteHandlerV2.java... Hunk #2 succeeded at 61 (offset 1 line). Hunk #3 succeeded at 74 (offset 1 line). Hunk #4 succeeded at 90 (offset 1 line). Hunk #5 succeeded at 184 (offset 1 line). Hunk #6 succeeded at 226 (offset 1 line). Hunk #7 succeeded at 292 (offset 1 line). Hunk #8 succeeded at 422 (offset 3 lines). Hunk #9 succeeded at 440 (offset 3 lines). Hunk #10 succeeded at 458 (offset 3 lines). Hunk #11 succeeded at 528 (offset 3 lines). Hunk #12 succeeded at 655 (offset 3 lines). Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java... Hunk #2 succeeded at 59 (offset 1 line). error: while searching for: import static org.apache.atlas.repository.Constants.PROPAGATED_TRAIT_NAMES_PROPERTY_KEY; import static org.apache.atlas.repository.Constants.STATE_PROPERTY_KEY; import static org.apache.atlas.repository.Constants.TRAIT_NAMES_PROPERTY_KEY; import static org.apache.atlas.repository.graph.GraphHelper.addListProperty; import static org.apache.atlas.repository.graph.GraphHelper.getClassificationEdge; import static org.apache.atlas.repository.graph.GraphHelper.getClassificationVertex; import static org.apache.atlas.repository.graph.GraphHelper.getPropagatedEntities; import static org.apache.atlas.repository.graph.GraphHelper.getTraitLabel; import static org.apache.atlas.repository.graph.GraphHelper.getTraitNames; import static org.apache.atlas.repository.graph.GraphHelper.getTypeName; import static org.apache.atlas.repository.graph.GraphHelper.getTypeNames; import static org.apache.atlas.repository.graph.GraphHelper.isPropagationEnabled; import static org.apache.atlas.repository.graph.GraphHelper.isRelationshipEdge; import static org.apache.atlas.repository.graph.GraphHelper.string; import static org.apache.atlas.repository.graph.GraphHelper.updateModificationMetadata; import static org.apache.atlas.repository.store.graph.v1.AtlasGraphUtilsV1.getIdFromVertex; import static org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection.IN; import static org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection.OUT; error: patch failed: repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java:78 error: repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphMapper.java: patch does not apply Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java... error: while searching for: import static org.apache.atlas.repository.graph.GraphHelper.getTypeName; import static org.apache.atlas.repository.graph.GraphHelper.isPropagationEnabled; import static org.apache.atlas.repository.graph.GraphHelper.removePropagatedTraitNameFromVertex; import static org.apache.atlas.repository.store.graph.v1.AtlasGraphUtilsV1.getIdFromVertex; import static org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection; import static org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection.BOTH; import static org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection.IN; error: patch failed: repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:85 error: repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java: patch does not apply Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityImportStream.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityImportStream.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityMutationContext.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityMutationContext.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityStream.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityStream.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/HardDeleteHandlerV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/HardDeleteHandlerV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/IDBasedEntityResolver.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/IDBasedEntityResolver.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/InMemoryMapEntityStream.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/InMemoryMapEntityStream.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/InstanceGraphMapper.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/InstanceGraphMapper.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/SoftDeleteHandlerV1.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/SoftDeleteHandlerV2.java... Checking patch repository/src/main/java/org/apache/atlas/repository/store/graph/v1/UniqAttrBasedEntityResolver.java => repository/src/main/java/org/apache/atlas/repository/store/graph/v2/UniqAttrBasedEntityResolver.java... Checking patch repository/src/main/java/org/apache/atlas/util/AtlasRepositoryConfiguration.java... Checking patch repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java... Checking patch repository/src/test/java/org/apache/atlas/TestModules.java... Checking patch repository/src/test/java/org/apache/atlas/query/BasicTestSetup.java... Checking patch repository/src/test/java/org/apache/atlas/repository/impexp/ExportServiceTest.java... Checking patch repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java... Checking patch repository/src/test/java/org/apache/atlas/repository/impexp/ZipFileResourceTestUtils.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStoreTest.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityDefStoreV1Test.java => repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityDefStoreV2Test.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1BulkImportPercentTest.java => repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2BulkImportPercentTest.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1Test.java => repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2Test.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipDefStoreV1Test.java => repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipDefStoreV2Test.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreHardDeleteV1Test.java => repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreHardDeleteV2Test.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreSoftDeleteV1Test.java => repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreSoftDeleteV2Test.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1Test.java => repository/src/test/java/org/apache/atlas/repository/store/graph/v2/AtlasRelationshipStoreV2Test.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/v1/InverseReferenceUpdateHardDeleteV1Test.java => repository/src/test/java/org/apache/atlas/repository/store/graph/v2/InverseReferenceUpdateHardDeleteV2Test.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/v1/InverseReferenceUpdateSoftDeleteV1Test.java => repository/src/test/java/org/apache/atlas/repository/store/graph/v2/InverseReferenceUpdateSoftDeleteV2Test.java... Checking patch repository/src/test/java/org/apache/atlas/repository/store/graph/v1/InverseReferenceUpdateV1Test.java => repository/src/test/java/org/apache/atlas/repository/store/graph/v2/InverseReferenceUpdateV2Test.java... Checking patch server-api/src/main/java/org/apache/atlas/RequestContextV1.java => server-api/src/main/java/org/apache/atlas/RequestContext.java... Checking patch webapp/src/main/java/org/apache/atlas/notification/NotificationHookConsumer.java... Checking patch webapp/src/main/java/org/apache/atlas/web/filters/AtlasAuthenticationFilter.java... Checking patch webapp/src/main/java/org/apache/atlas/web/filters/AuditFilter.java... Checking patch webapp/src/main/java/org/apache/atlas/web/resources/EntityResource.java... Checking patch webapp/src/main/java/org/apache/atlas/web/rest/EntityREST.java... Checking patch webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java... Checking patch webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerTest.java... Checking patch webapp/src/test/java/org/apache/atlas/util/RestUtilsTest.java... Checking patch webapp/src/test/java/org/apache/atlas/web/adapters/TestEntitiesREST.java... Checking patch webapp/src/test/java/org/apache/atlas/web/adapters/TestEntityREST.java... Checking patch webapp/src/test/java/org/apache/atlas/web/filters/AtlasAuthenticationKerberosFilterTest.java... PATCH APPLICATION FAILED {color:red}-1 overall{color}. {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/221//console This message is automatically generated. ====================================================================== ====================================================================== Adding comment to Jira. ====================================================================== ====================================================================== ====================================================================== ====================================================================== Finished build. ====================================================================== ====================================================================== + EXIT_CODE=1 + '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/../atlas_patchprocess_16635> ']' + '[' -d <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_16635> ']' + mv <https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_16635> <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_16635> + exit 1 Build step 'Execute shell' marked build as failure Set build name. New build name is '#221-master-0001-ATLAS-2490-Class-naming-consistency.patch' Archiving artifacts
