Established TCP socket on 58419 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f /var/lib/jenkins/jobs/d1_integration_DEV_MN_package_functional/workspace/pom.xml -Dit.test=MNPackageFunctionalIT* -Dcontext.mn.baseurl=https://mn-demo-6.test.dataone.org/knb/d1/mn verify [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.dataone:d1_integration:war:2.4-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 201, column 15 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:buildnumber-maven-plugin is missing. @ line 225, column 15 [WARNING] 'build.plugins.plugin.version' for com.mycila.maven-license-plugin:maven-license-plugin is missing. @ line 218, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 241, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building DataONE Integration Testing Package 2.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ d1_integration --- [INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_integration_DEV_MN_package_functional/workspace' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_DEV_MN_package_functional/workspace [INFO] Storing buildNumber: 18827 at timestamp: 1496380697228 [INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_integration_DEV_MN_package_functional/workspace' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_DEV_MN_package_functional/workspace [INFO] Storing buildScmBranch: trunk [INFO] [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ d1_integration --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 14 resources [INFO] [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ d1_integration --- [INFO] Compiling 23 source files to /var/lib/jenkins/jobs/d1_integration_DEV_MN_package_functional/workspace/target/classes [INFO] [INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ d1_integration --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 61 resources [INFO] [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ d1_integration --- [INFO] Compiling 147 source files to /var/lib/jenkins/jobs/d1_integration_DEV_MN_package_functional/workspace/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ d1_integration --- [INFO] Surefire report directory: /var/lib/jenkins/jobs/d1_integration_DEV_MN_package_functional/workspace/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.dataone.integration.ContextAwareTestCaseDataoneTest 20170602-05:18:29: [WARN]: Problem loading testing configuration at: 'null':: Cannot locate configuration source null [org.dataone.configuration.TestSettings] 20170602-05:18:31: [WARN]: Starting monitor thread [org.dataone.client.utils.HttpConnectionMonitorService] 20170602-05:18:31: [WARN]: Starting monitoring... [org.dataone.client.utils.HttpConnectionMonitorService] 20170602-05:18:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170602-05:18:31: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170602-05:18:31: [INFO]: *** context label: SINGLE_MN [org.dataone.integration.ContextAwareTestCaseDataone] 20170602-05:18:31: [INFO]: *** mn.baseurl set from context.mn.baseurl property [org.dataone.integration.ContextAwareTestCaseDataone] 20170602-05:18:31: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] ~~~ Context is solo MemberNode: https://mn-x.dataone.org/mn 20170602-05:18:31: [INFO]: *** Adding MN to list: [https://mn-x.dataone.org/mn] [org.dataone.integration.ContextAwareTestCaseDataone] 20170602-05:18:31: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] nodeId key value ============================================================================================================= reference BaseUrl = https://cn-dev.test.dataone.org/cn context CN url = 20170602-05:18:31: [INFO]: isNodeAlive for Node: https://mn-demo-6.test.dataone.org ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170602-05:18:31: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170602-05:18:32: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] Got response waited... 20170602-05:18:41: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] waited... done... Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 17.614 sec Running org.dataone.integration.webTest.TestManifestAccess Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec Running org.dataone.integration.webTest.TestingTestRunnerServlet 20170602-05:18:47: [INFO]: setting system property 'context.mn.baseurl' to value 'http://demo.test.dataone.org/knb/d1/mn' [org.dataone.integration.webTest.TestRunnerHttpServlet] 20170602-05:18:47: [WARN]: Problem loading testing configuration at: 'null':: Cannot locate configuration source null [org.dataone.configuration.TestSettings] 20170602-05:18:47: [INFO]: Registering class: org.dataone.integration.webTest.MockV1ITCase [org.dataone.integration.webTest.TestRunnerHttpServlet] 20170602-05:18:47: [INFO]: running tests on: MockV1ITCase [org.dataone.integration.webTest.TestRunnerHttpServlet]
Member Node Url: http://demo.test.dataone.org/knb/d1/mn | Fri Jun 02 05:18:47 UTC 2017 |
---|
org.dataone.integration.webTest.MockV1ITCase | TestCase class annotation |
---|
testWarning | TestIterationEndingException: show trace |
---|
testSuccess |
---|
testIgnore |
---|
testAssumptionViolatedException | AssumptionViolatedException: failed assumption: Could not set up the test properly. show trace |
---|
org.dataone.integration.webTest.MockV1ITCase | Could not run all tests. [RunCount=3 Failures=0 Errors=0 Warnings=1 Assumptions=1 Ignored=1] |
---|
Member Node Url: http://demo.test.dataone.org/knb/d1/mn | Fri Jun 02 05:18:47 UTC 2017 |
---|
org.dataone.integration.it.apiTests.MNCoreV1IT |
---|
ping - test for valid return | this test uses a certificateless connection, and tests for a valid date that can be deserialized into java.util.Date,and also checks that the returned date is within 1 minute of the client date AssertionError: GET http://demo.test.dataone.org/knb/d1/mn/v1/monitor/ping ServiceFailure: 0 Client_Error:: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org: Name or service not known show trace |
---|
getCapabilities - test that a Node document is returned | tests that the getCapabilities() call returns a result of type Node AssertionError: ServiceFailure: 0 Client_Error:: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host GET http://demo.test.dataone.org/knb/d1/mn/v1/node ] show trace |
---|
getCapabilities - contactSubject value is valid | tests that at least one contactSubject element is populated with a RFC2253 compliant Subject value. AssertionError: ServiceFailure: 0 Client_Error:: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host GET http://demo.test.dataone.org/knb/d1/mn/v1/node ] show trace |
---|
getCapabilities - nodeIdentity value is valid | tests that the nodeIdentity field follows naming rules indicated by 'urn:node:[[alpha]|_]{2,23}' AssertionError: ServiceFailure: 0 Client_Error:: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host GET http://demo.test.dataone.org/knb/d1/mn/v1/node ] show trace |
---|
org.dataone.integration.it.apiTests.MNCoreV1IT | Failed Test Case due to failures. [RunCount=4 Failures=4 Errors=0 Warnings=0 Assumptions=0 Ignored=0] |
---|
org.dataone.integration.it.apiTests.MNCoreV1SlowIT |
---|
getLogRecords - test no parameter and every-parameter cases | test that a Log object is returned, calling with the STAGE CN certificate. AssertionError: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host GET http://demo.test.dataone.org/knb/d1/mn/v1/log ] show trace |
---|
getLogRecords - test list slicing behavior | performs heuristic tests that count and total parameters are correct, and that the caller can limit the number of items returned using the count parameter. AssertionError: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host GET http://demo.test.dataone.org/knb/d1/mn/v1/log ] show trace |
---|
getLogRecords - date filtering | Test that the fromDate parameter works and excludes log records occurring before it. AssertionError: ServiceFailure : 0 Client_Error : class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host GET http://demo.test.dataone.org/knb/d1/mn/v1/log ] show trace |
---|
getLogRecords - enforces access restrictions | this test works by testing the negative case where the client is not a CN making the call, but is anonymous AssertionError: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host GET http://demo.test.dataone.org/knb/d1/mn/v1/log ] show trace |
---|
getLogRecords - test event filtering | Tier 1 MNs might only have READ events, so the test gets the log records from a given period and if only one type of event, filters for a different one and expect zero of them returned. If 2 types, just expect fewer records from withinthat time period. AssertionError: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host GET http://demo.test.dataone.org/knb/d1/mn/v1/log?toDate=2017-06-02T05:18:47.702%2B00:00 ] show trace |
---|
getLogRecords - test PID filtering | Test that pidFilter only returns objects with the given Identifier string The test attepmpts to find a negative case and to make sure it is filtered out when thefilter is applied. AssertionError: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host GET http://demo.test.dataone.org/knb/d1/mn/v1/log ] show trace |
---|
org.dataone.integration.it.apiTests.MNCoreV1SlowIT | Failed Test Case due to failures. [RunCount=6 Failures=6 Errors=0 Warnings=0 Assumptions=0 Ignored=0] |
---|
org.dataone.integration.it.apiTests.MNStorageV1IT |
---|
create - tests that create works | this test calls create, then verifies that the returned identifier matches the one passed to create, and also calls get in order to test that the object with that identifier contains the text submitted AssertionError: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host POST http://demo.test.dataone.org/knb/d1/mn/v1/object; MMP message has: ParamPart:pid = mNodeTier3TestCreate2017152221847912; FilePart:object = /tmp/mmp.output.6818554791870446077.tmp (684336 bytes); FilePart:sysmeta = /tmp/mmp.output.1141113574352631963.tmp (937 bytes); ] show trace |
---|
create - test with unauthorized subject | this test calls create with a certificate whose subject is not authorized and expects to get either a NotAuthorized or InvalidToken exception AssertionError: Expected InvalidToken or NotAuthorized, got: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host POST http://demo.test.dataone.org/knb/d1/mn/v1/object; MMP message has: ParamPart:pid = mNodeTier3TestCreate2017152221848783; FilePart:object = /tmp/mmp.output.8649740451176390841.tmp (684336 bytes); FilePart:sysmeta = /tmp/mmp.output.4521435961658658994.tmp (875 bytes); ] show trace |
---|
create - test with challenging unicode identifiers | tests create called with a variety of unicode identifiers, verifying that create throws no exceptions Test exists but claims to not be implemented (see MNStorageTestImplementations) |
---|
update - tests that update works | this test creates a new object and calls update on the object. It verifies that the identifier returned from update matches the new identifier given to the update call. It then gets the updated system metadata and verifies the it has the original identifier in obsoletes field. It also verifies that dateSystemMetadataModified was set properly. It then gets the original system metadata and verifies that it has the new identifier in the obsoletedBy field. It also verifies that a call to listObjects will contain the updated system metadata. AssertionError: org.dataone.client.exception.ClientSideException: Unable to create test object!/values for 'rightsHolder' parameters were empty or null. [for host http://demo.test.dataone.org/knb/d1/mn/v1 ] show trace |
---|
update - tests with bad obsoletedBy info | this test incorrectly sets the obsoletedBy property instead of the obsoletes property on the system metadata before calling update with it, expecting an InvalidSystemMetadata exception AssertionError: org.dataone.client.exception.ClientSideException: Unable to create test object!/values for 'rightsHolder' parameters were empty or null. [for host http://demo.test.dataone.org/knb/d1/mn/v1 ] show trace |
---|
update - tests with bad obsoletes info | this test sets the obsoletes property on the system metadata before calling update with it, expecting an InvalidSystemMetadata exception AssertionError: org.dataone.client.exception.ClientSideException: Unable to create test object!/values for 'rightsHolder' parameters were empty or null. [for host http://demo.test.dataone.org/knb/d1/mn/v1 ] show trace |
---|
update - tests without a certificate | this test creates an object and then tries, without a certificate, to call update, expecting a NotAuthorized or InvalidToken exception AssertionError: Exception while setting up test (callAdapter.create): ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host POST http://demo.test.dataone.org/knb/d1/mn/v1/object; MMP message has: ParamPart:pid = mNodeTier3TestUpdate2017152221848936; FilePart:object = /tmp/mmp.output.8758810536545721409.tmp (684336 bytes); FilePart:sysmeta = /tmp/mmp.output.4565528053930224783.tmp (937 bytes); ] show trace |
---|
update - tests without a certificate | this test creates an object and then tries, with a certificate that isn't authorized, to call update, expecting a NotAuthorized exception. It also gets the system metadata and verifies that the obsoletedBy was not modified AssertionError: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host POST http://demo.test.dataone.org/knb/d1/mn/v1/object; MMP message has: ParamPart:pid = mNodeTier3TestUpdate20171522218490; FilePart:object = /tmp/mmp.output.8736531924491588004.tmp (684336 bytes); FilePart:sysmeta = /tmp/mmp.output.9113300421655303690.tmp (935 bytes); ] show trace |
---|
archive - tests that archive works | this test creates an object, calls archive on it, then checks that the identifier returned from the archive call matches the one given and that the system metadata for the archived object has a status of archived AssertionError: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host POST http://demo.test.dataone.org/knb/d1/mn/v1/object; MMP message has: ParamPart:pid = mNodeTier3TestDelete201715222184935; FilePart:object = /tmp/mmp.output.5439855214714943104.tmp (684336 bytes); FilePart:sysmeta = /tmp/mmp.output.6684038335941351614.tmp (936 bytes); ] show trace |
---|
archive - test with a fake identifier | this test calls archive with a fake identifier, expecting a NotFound exception AssertionError: Expected NotFound, got: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host PUT http://demo.test.dataone.org/knb/d1/mn/v1/archive/fakeID.201715222184965; MMP entity is null ] show trace |
---|
archive - test without a certificate | this test creates an object then calls archive without a certificate, expecting a NotAuthorized or InvalidToken exception AssertionError: Expected InvalidToken or NotAuthorized, got: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host POST http://demo.test.dataone.org/knb/d1/mn/v1/object; MMP message has: ParamPart:pid = mNodeTier3TestArchive201715222184974; FilePart:object = /tmp/mmp.output.4722019397100757762.tmp (684336 bytes); FilePart:sysmeta = /tmp/mmp.output.3632449402526291851.tmp (937 bytes); ] show trace |
---|
delete - test without a certificate | this test creates an object then calls delete without a certificate, expecting a NotAuthorized or InvalidToken exception AssertionError: Expected InvalidToken, got: ServiceFailure: 0 Client_Error: class org.dataone.client.exception.ClientSideException: /demo.test.dataone.org [for host POST http://demo.test.dataone.org/knb/d1/mn/v1/object; MMP message has: ParamPart:pid = mNodeTier3TestCreate2017152221848783; FilePart:object = /tmp/mmp.output.8649740451176390841.tmp (684336 bytes); FilePart:sysmeta = /tmp/mmp.output.4521435961658658994.tmp (875 bytes); ] show trace |
---|
testGenerateIdentifier | No test exists for this yet. |
---|
org.dataone.integration.it.apiTests.MNStorageV1IT | Failed Test Case due to failures. [RunCount=11 Failures=11 Errors=0 Warnings=0 Assumptions=0 Ignored=2] |
---|