See
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/547/display/redirect>
------------------------------------------
[...truncated 9.66 KB...]
error: patch failed: dashboardv2/public/js/models/VEntity.js:43
error: dashboardv2/public/js/models/VEntity.js: patch does not apply
Checking patch dashboardv2/public/js/models/VSearch.js...
error: while searching for:
* Non - CRUD operations
*************************/
getEntity: function(id, options) {
var url = UrlLinks.entitiesApiUrl(id);
options = _.extend({
contentType: 'application/json',
error: patch failed: dashboardv2/public/js/models/VSearch.js:41
error: dashboardv2/public/js/models/VSearch.js: patch does not apply
Checking patch dashboardv2/public/js/models/VTag.js...
error: while searching for:
* Non - CRUD operations
*************************/
deleteAssociation: function(guid, name, options) {
var url = UrlLinks.entitiesApiUrl(guid, name);
options = _.extend({
contentType: 'application/json',
dataType: 'json'
error: patch failed: dashboardv2/public/js/models/VTag.js:41
error: dashboardv2/public/js/models/VTag.js: patch does not apply
Checking patch dashboardv2/public/js/router/Router.js...
error: while searching for:
'id': id,
'value': paramObj
}, that.preFetchedCollectionLists, that.sharedObj)));
this.entityCollection.url = UrlLinks.entitiesApiUrl(id);
this.entityCollection.fetch({ reset: true });
});
}
error: patch failed: dashboardv2/public/js/router/Router.js:174
error: dashboardv2/public/js/router/Router.js: patch does not apply
Checking patch dashboardv2/public/js/utils/CommonViewFunction.js...
error: while searching for:
var table = "",
fetchInputOutputValue = function(id) {
var that = this;
scope.entityModel.getEntity(id, {
success: function(serverData) {
var value = "",
deleteButton = "",
data = serverData.entity;
value = Utils.getName(data);
var id = "";
if (data.guid) {
error: patch failed: dashboardv2/public/js/utils/CommonViewFunction.js:85
error: dashboardv2/public/js/utils/CommonViewFunction.js: patch does not apply
Checking patch dashboardv2/public/js/utils/UrlLinks.js...
error: while searching for:
taxonomiesTermsApiUrl: function(name) {
return this.baseUrl + '/v1/taxonomies' + '/' + name + '/terms';
},
entitiesApiUrl: function(guid, name) {
var entitiesUrl = this.baseUrlV2 + '/entity';
if (guid && name) {
return entitiesUrl + '/guid/' + guid + '/classification/' +
name;
} else if (guid && !name) {
return entitiesUrl + '/guid/' + guid;
} else {
return entitiesUrl;
}
},
entitiesTraitsApiUrl: function(token) {
if (token) {
return this.baseUrlV2 + '/entity/guid/' + token +
'/classifications';
error: patch failed: dashboardv2/public/js/utils/UrlLinks.js:54
error: dashboardv2/public/js/utils/UrlLinks.js: patch does not apply
Checking patch dashboardv2/public/js/views/entity/CreateEntityLayoutView.js...
error: while searching for:
},
fetchCollections: function() {
if (this.guid) {
this.collection.url = UrlLinks.entitiesApiUrl(this.guid);
this.collection.fetch({ reset: true });
} else {
this.entityCollectionList();
error: patch failed:
dashboardv2/public/js/views/entity/CreateEntityLayoutView.js:184
error: dashboardv2/public/js/views/entity/CreateEntityLayoutView.js: patch does
not apply
Checking patch
intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java...
error: while searching for:
private Condition condition;
private List<FilterCriteria> criterion;
public String getAttributeName() {
return attributeName;
}
error: patch failed:
intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java:303
error:
intg/src/main/java/org/apache/atlas/model/discovery/SearchParameters.java:
patch does not apply
Checking patch intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java...
error: while searching for:
public class AtlasEntityType extends AtlasStructType {
private static final Logger LOG =
LoggerFactory.getLogger(AtlasEntityType.class);
private final AtlasEntityDef entityDef;
private final String typeQryStr;
private List<AtlasEntityType> superTypes =
Collections.emptyList();
private Set<String> allSuperTypes =
Collections.emptySet();
private Set<String> subTypes =
Collections.emptySet();
private Set<String> allSubTypes =
Collections.emptySet();
private Set<String> typeAndAllSubTypes =
Collections.emptySet();
private String typeAndAllSubTypesQryStr = "";
public AtlasEntityType(AtlasEntityDef entityDef) {
super(entityDef);
error: patch failed:
intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java:45
error: intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java: patch
does not apply
Checking patch
repository/src/main/java/org/apache/atlas/repository/impexp/ExportImportAuditService.java...
error: while searching for:
import org.apache.atlas.exception.AtlasBaseException;
import org.apache.atlas.model.discovery.AtlasSearchResult;
import org.apache.atlas.model.discovery.SearchParameters;
import org.apache.atlas.model.impexp.ExportImportAuditEntry;
import org.apache.atlas.repository.ogm.DataAccess;
import org.apache.atlas.repository.ogm.ExportImportAuditEntryDTO;
error: patch failed:
repository/src/main/java/org/apache/atlas/repository/impexp/ExportImportAuditService.java:24
error:
repository/src/main/java/org/apache/atlas/repository/impexp/ExportImportAuditService.java:
patch does not apply
Checking patch
repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasEntityStore.java...
error: while searching for:
import org.apache.atlas.model.instance.AtlasClassification;
import org.apache.atlas.model.instance.AtlasEntity.AtlasEntitiesWithExtInfo;
import org.apache.atlas.model.instance.AtlasEntity.AtlasEntityWithExtInfo;
import org.apache.atlas.model.instance.AtlasObjectId;
import org.apache.atlas.model.instance.EntityMutationResponse;
import org.apache.atlas.repository.store.graph.v1.EntityStream;
error: patch failed:
repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasEntityStore.java:21
error:
repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasEntityStore.java:
patch does not apply
Checking patch
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java...
error: while searching for:
import org.apache.atlas.model.instance.AtlasEntity;
import org.apache.atlas.model.instance.AtlasEntity.AtlasEntitiesWithExtInfo;
import org.apache.atlas.model.instance.AtlasEntity.AtlasEntityWithExtInfo;
import org.apache.atlas.model.instance.AtlasObjectId;
import org.apache.atlas.model.instance.EntityMutationResponse;
import org.apache.atlas.repository.graphdb.AtlasVertex;
error: patch failed:
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java:27
error:
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java:
patch does not apply
Checking patch
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java...
error: while searching for:
public final class EntityGraphRetriever {
private static final Logger LOG =
LoggerFactory.getLogger(EntityGraphRetriever.class);
private final String NAME = "name";
private final String DESCRIPTION = "description";
private final String OWNER = "owner";
private final String CREATE_TIME = "createTime";
private final String QUALIFIED_NAME = "qualifiedName";
private static final GraphHelper graphHelper = GraphHelper.getInstance();
error: patch failed:
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:66
error:
repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java:
patch does not apply
Checking patch
repository/src/test/java/org/apache/atlas/repository/impexp/ExportImportAuditServiceTest.java...
Checking patch
repository/src/test/java/org/apache/atlas/repository/impexp/ExportImportTestBase.java...
Checking patch
repository/src/test/java/org/apache/atlas/repository/impexp/ImportServiceTest.java...
Checking patch webapp/src/main/java/org/apache/atlas/web/rest/EntityREST.java...
error: while searching for:
import org.apache.atlas.exception.AtlasBaseException;
import org.apache.atlas.model.TypeCategory;
import org.apache.atlas.model.instance.AtlasClassification;
import org.apache.atlas.model.instance.AtlasEntity;
import org.apache.atlas.model.instance.AtlasEntity.AtlasEntitiesWithExtInfo;
import org.apache.atlas.model.instance.AtlasEntity.AtlasEntityWithExtInfo;
import org.apache.atlas.model.instance.ClassificationAssociateRequest;
import org.apache.atlas.model.instance.EntityMutationResponse;
import org.apache.atlas.model.typedef.AtlasStructDef.AtlasAttributeDef;
error: patch failed:
webapp/src/main/java/org/apache/atlas/web/rest/EntityREST.java:21
error: webapp/src/main/java/org/apache/atlas/web/rest/EntityREST.java: patch
does not apply
Checking patch
webapp/src/test/java/org/apache/atlas/web/adapters/TestEntitiesREST.java...
error: while searching for:
@Test(dependsOnMethods = "testCreateOrUpdateEntities")
public void testGetEntities() throws Exception {
final AtlasEntitiesWithExtInfo response =
entityREST.getByGuids(createdGuids);
final List<AtlasEntity> entities = response.getEntities();
Assert.assertNotNull(entities);
error: patch failed:
webapp/src/test/java/org/apache/atlas/web/adapters/TestEntitiesREST.java:167
error:
webapp/src/test/java/org/apache/atlas/web/adapters/TestEntitiesREST.java: patch
does not apply
Checking patch
webapp/src/test/java/org/apache/atlas/web/adapters/TestEntityREST.java...
error: while searching for:
@Test
public void testGetEntityById() throws Exception {
createTestEntity();
AtlasEntityWithExtInfo response =
entityREST.getById(dbEntity.getGuid());
Assert.assertNotNull(response);
Assert.assertNotNull(response.getEntity());
error: patch failed:
webapp/src/test/java/org/apache/atlas/web/adapters/TestEntityREST.java:101
error: webapp/src/test/java/org/apache/atlas/web/adapters/TestEntityREST.java:
patch does not apply
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/547//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_18391>
']'
+ '[' -d
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_18391>
']'
+ mv
<https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/ws/atlas_patchprocess_18391>
<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_18391>
+ exit 1
Build step 'Execute shell' marked build as failure
Set build name.
New build name is
'#547-branch-0.8-0001-ATLAS-2815-UI-Slow-loading-enhancements.patch'
Archiving artifacts