Skip to content

Merge branch 'develop' into 12367-github-actions-workflow-for-jenkins…

0fb13ee
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

12367 GitHub actions workflow for jenkins redundancy #90

Merge branch 'develop' into 12367-github-actions-workflow-for-jenkins…
0fb13ee
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed May 2, 2026 in 0s

1 errors, 2 fail, 54 skipped, 2 440 pass in 29m 27s

2 497 tests  ±0   2 440 ✅  - 3   29m 27s ⏱️ -47s
  324 suites ±0      54 💤 ±0 
  324 files   ±0       2 ❌ +2   1 🔥 +1 

Results for commit 0fb13ee. ± Comparison against earlier commit 588ff79.

Annotations

Check failure on line 0 in edu.harvard.iq.dataverse.api.DataRetrieverApiIT

See this annotation in the file changed.

@github-actions github-actions / Test Results

testRetrieveMyDataAsJsonString (edu.harvard.iq.dataverse.api.DataRetrieverApiIT) with error

target/surefire-reports/TEST-edu.harvard.iq.dataverse.api.DataRetrieverApiIT.xml [took 10s]
Raw output
Cannot invoke "java.lang.Integer.intValue()" because the return value of "io.restassured.internal.common.path.ObjectConverter.convertObjectTo(Object, java.lang.Class)" is null
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "io.restassured.internal.common.path.ObjectConverter.convertObjectTo(Object, java.lang.Class)" is null
	at io.restassured.path.json.JsonPath.getInt(JsonPath.java:245)
	at edu.harvard.iq.dataverse.api.DataRetrieverApiIT.testRetrieveMyDataAsJsonString(DataRetrieverApiIT.java:85)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
{
    "success": false,
    "error_message": "No user found for: \"bad-identifier\""
}
{
    "success": false,
    "error_message": "Sorry, you have no assigned roles."
}
{
    "success": false,
    "error_message": "Sorry, nothing was found for this role: Dataset Creator"
}
{
    "success": false,
    "error_message": "Sorry, nothing was found for these roles: Dataset Creator, Contributor"
}
{
    "status": "OK",
    "data": {
        "id": 295,
        "alias": "dv99c424bd",
        "name": "dv99c424bd",
        "dataverseContacts": [
            {
                "displayOrder": 0,
                "contactEmail": "2574db78@mailinator.com"
            }
        ],
        "permissionRoot": true,
        "dataverseType": "UNCATEGORIZED",
        "isMetadataBlockRoot": false,
        "isFacetRoot": false,
        "ownerId": 1,
        "creationDate": "2026-05-02T01:40:57Z",
        "effectiveRequiresFilesToPublishDataset": false,
        "isReleased": false
    }
}
{
    "status": "OK",
    "data": {
        "id": 296,
        "persistentId": "doi:10.5072/FK2/DPHERN"
    }
}
{"status":"OK","data":{"createTime":"2026-05-02T01:40:57.803","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:40:57.803","lastPermissionUpdateTime":"2026-05-02T01:40:57.803","globalIdCreateTime":"2026-05-02T01:40:57.803"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:40:57.803","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:40:57.803","lastPermissionUpdateTime":"2026-05-02T01:40:57.803","globalIdCreateTime":"2026-05-02T01:40:57.803"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:40:57.803","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:40:57.803","lastPermissionUpdateTime":"2026-05-02T01:40:57.803","globalIdCreateTime":"2026-05-02T01:40:57.803"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:40:57.803","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:40:57.803","lastPermissionUpdateTime":"2026-05-02T01:40:57.803","globalIdCreateTime":"2026-05-02T01:40:57.803"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:40:57.803","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:40:57.803","lastPermissionUpdateTime":"2026-05-02T01:40:57.803","globalIdCreateTime":"2026-05-02T01:40:57.803"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:40:57.803","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:40:57.803","lastPermissionUpdateTime":"2026-05-02T01:40:57.803","globalIdCreateTime":"2026-05-02T01:40:57.803"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:40:57.803","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:40:57.803","lastPermissionUpdateTime":"2026-05-02T01:40:57.803","globalIdCreateTime":"2026-05-02T01:40:57.803"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:40:57.803","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:40:57.803","lastPermissionUpdateTime":"2026-05-02T01:40:57.803","globalIdCreateTime":"2026-05-02T01:40:57.803"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:40:57.803","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:40:57.803","lastPermissionUpdateTime":"2026-05-02T01:40:57.803","globalIdCreateTime":"2026-05-02T01:40:57.803"}}
true
Waited 5.0 seconds
May 02, 2026 1:40:56 AM edu.harvard.iq.dataverse.api.UtilIT createRandomUser
INFO: Creating random test user user26fcd379
May 02, 2026 1:40:57 AM edu.harvard.iq.dataverse.api.UtilIT getUsernameFromResponse
INFO: Username found in create user response: user26fcd379
May 02, 2026 1:40:57 AM edu.harvard.iq.dataverse.api.UtilIT getApiTokenFromResponse
INFO: API token found in create user response: fe5f8a89-864d-4f5e-af62-776210f31cf1
May 02, 2026 1:40:57 AM edu.harvard.iq.dataverse.api.UtilIT createRandomUser
INFO: Creating random test user userf413c3cb
May 02, 2026 1:40:57 AM edu.harvard.iq.dataverse.api.UtilIT getUsernameFromResponse
INFO: Username found in create user response: userf413c3cb
May 02, 2026 1:40:57 AM edu.harvard.iq.dataverse.api.UtilIT createRandomUser
INFO: Creating random test user user6b87554b
May 02, 2026 1:40:57 AM edu.harvard.iq.dataverse.api.UtilIT getUsernameFromResponse
INFO: Username found in create user response: user6b87554b
May 02, 2026 1:40:57 AM edu.harvard.iq.dataverse.api.UtilIT getApiTokenFromResponse
INFO: API token found in create user response: b9557ac7-ef1f-4aeb-9ca3-afac27ea7632
May 02, 2026 1:40:57 AM edu.harvard.iq.dataverse.api.UtilIT getAliasFromResponse
INFO: Alias found in create dataverse response: dv99c424bd
May 02, 2026 1:40:57 AM edu.harvard.iq.dataverse.api.UtilIT getDatasetIdFromResponse
INFO: Id found in create dataset response: 296

Check warning on line 0 in edu.harvard.iq.dataverse.api.SearchIT

See this annotation in the file changed.

@github-actions github-actions / Test Results

testSearchPermisions (edu.harvard.iq.dataverse.api.SearchIT) failed

target/surefire-reports/TEST-edu.harvard.iq.dataverse.api.SearchIT.xml [took 12s]
Raw output
1 expectation failed.
JSON path data.total_count doesn't match.
Expected: is <1>
  Actual: <0>
java.lang.AssertionError: 
1 expectation failed.
JSON path data.total_count doesn't match.
Expected: is <1>
  Actual: <0>

	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:512)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:696)
	at io.restassured.internal.ResponseSpecificationImpl.this$2$validateResponseIfRequired(ResponseSpecificationImpl.groovy)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:198)
	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:62)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.ResponseSpecificationImpl.body(ResponseSpecificationImpl.groovy:270)
	at io.restassured.specification.ResponseSpecification$body$1.callCurrent(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
	at io.restassured.specification.ResponseSpecification$body$1.callCurrent(Unknown Source)
	at io.restassured.internal.ResponseSpecificationImpl.body(ResponseSpecificationImpl.groovy:117)
	at io.restassured.internal.ValidatableResponseOptionsImpl.body(ValidatableResponseOptionsImpl.java:244)
	at edu.harvard.iq.dataverse.api.SearchIT.testSearchPermisions(SearchIT.java:84)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
{
    "status": "OK",
    "data": {
        "id": 774,
        "alias": "dvbc09406e",
        "name": "dvbc09406e",
        "affiliation": "testAffiliation",
        "dataverseContacts": [
            {
                "displayOrder": 0,
                "contactEmail": "e81ecfff@mailinator.com"
            }
        ],
        "permissionRoot": true,
        "dataverseType": "UNCATEGORIZED",
        "isMetadataBlockRoot": false,
        "isFacetRoot": false,
        "ownerId": 1,
        "creationDate": "2026-05-02T01:55:54Z",
        "effectiveRequiresFilesToPublishDataset": false,
        "isReleased": false
    }
}
{
    "status": "OK",
    "data": {
        "id": 775,
        "persistentId": "doi:10.5072/FK2/IUXD4H"
    }
}
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
{"status":"OK","data":{"createTime":"2026-05-02T01:55:55.017","hasStaleIndex":true,"hasStalePermissionIndex":true,"lastUpdateTime":"2026-05-02T01:55:55.017","lastPermissionUpdateTime":"2026-05-02T01:55:55.017","globalIdCreateTime":"2026-05-02T01:55:55.017"}}
true
Waited 6.0 seconds
{
    "status": "OK",
    "data": {
        "q": "id:dataset_775_draft",
        "total_count": 0,
        "start": 0,
        "spelling_alternatives": {
            
        },
        "items": [
            
        ],
        "count_in_response": 0
    }
}
May 02, 2026 1:55:54 AM edu.harvard.iq.dataverse.api.UtilIT createRandomUser
INFO: Creating random test user usera8cd4a1d
May 02, 2026 1:55:54 AM edu.harvard.iq.dataverse.api.UtilIT getApiTokenFromResponse
INFO: API token found in create user response: 4b7557cf-e64d-4cd9-b226-5a6d6017adfb
May 02, 2026 1:55:55 AM edu.harvard.iq.dataverse.api.UtilIT getAliasFromResponse
INFO: Alias found in create dataverse response: dvbc09406e
May 02, 2026 1:55:55 AM edu.harvard.iq.dataverse.api.UtilIT getDatasetIdFromResponse
INFO: Id found in create dataset response: 775
May 02, 2026 1:56:05 AM edu.harvard.iq.dataverse.api.UtilIT sleepForDatasetIndex
INFO: Still indexing after 5 seconds

Check warning on line 0 in edu.harvard.iq.dataverse.api.DatasetsIT

See this annotation in the file changed.

@github-actions github-actions / Test Results

testDeleteDatasetWhileFileIngesting (edu.harvard.iq.dataverse.api.DatasetsIT) failed

target/surefire-reports/TEST-edu.harvard.iq.dataverse.api.DatasetsIT.xml [took 1s]
Raw output
1 expectation failed.
JSON path message doesn't match.
Expected: Dataset cannot be edited due to dataset lock.
  Actual: null
java.lang.AssertionError: 
1 expectation failed.
JSON path message doesn't match.
Expected: Dataset cannot be edited due to dataset lock.
  Actual: null

	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:512)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:696)
	at io.restassured.internal.ResponseSpecificationImpl.this$2$validateResponseIfRequired(ResponseSpecificationImpl.groovy)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:198)
	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:62)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.ResponseSpecificationImpl.body(ResponseSpecificationImpl.groovy:270)
	at io.restassured.specification.ResponseSpecification$body$1.callCurrent(Unknown Source)
	at io.restassured.internal.ResponseSpecificationImpl.body(ResponseSpecificationImpl.groovy:117)
	at io.restassured.internal.ValidatableResponseOptionsImpl.body(ValidatableResponseOptionsImpl.java:244)
	at edu.harvard.iq.dataverse.api.DatasetsIT.testDeleteDatasetWhileFileIngesting(DatasetsIT.java:2462)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
{
    "status": "OK",
    "data": {
        "id": 156,
        "alias": "dv77a0e6d8",
        "name": "dv77a0e6d8",
        "dataverseContacts": [
            {
                "displayOrder": 0,
                "contactEmail": "b008cc40@mailinator.com"
            }
        ],
        "permissionRoot": true,
        "dataverseType": "UNCATEGORIZED",
        "isMetadataBlockRoot": false,
        "isFacetRoot": false,
        "ownerId": 1,
        "creationDate": "2026-05-02T01:36:12Z",
        "effectiveRequiresFilesToPublishDataset": false,
        "isReleased": false
    }
}
{
    "status": "OK",
    "data": {
        "id": 157,
        "persistentId": "doi:10.5072/FK2/FIWY1E"
    }
}
{
    "status": "OK",
    "data": {
        "message": "Dataset 157 deleted"
    }
}
May 02, 2026 1:36:12 AM edu.harvard.iq.dataverse.api.UtilIT createRandomUser
INFO: Creating random test user user5c3abfac
May 02, 2026 1:36:12 AM edu.harvard.iq.dataverse.api.UtilIT getUsernameFromResponse
INFO: Username found in create user response: user5c3abfac
May 02, 2026 1:36:12 AM edu.harvard.iq.dataverse.api.UtilIT getApiTokenFromResponse
INFO: API token found in create user response: e467c894-c202-4137-b0f4-4dde29858505
May 02, 2026 1:36:12 AM edu.harvard.iq.dataverse.api.UtilIT getAliasFromResponse
INFO: Alias found in create dataverse response: dv77a0e6d8
May 02, 2026 1:36:12 AM edu.harvard.iq.dataverse.api.DatasetsIT testDeleteDatasetWhileFileIngesting
INFO: Dataset created with id 157 and persistent id doi:10.5072/FK2/FIWY1E