Class com.ibm.jbatch.container.jsl.impl.JobModelTest

4

tests

0

failures

0

ignored

1.167s

duration

100%

successful

Tests

Test Duration Result
testInvalidCWWKY0003E 0.236s passed
testModelNoValidate 0.350s passed
testModelResolver 0.334s passed
testModelValidate 0.247s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@869cdef0
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@869cdef0
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@869cdef0
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@b6582427
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@b6582427
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b6582427
    TrConfigZapper.zapTrConfig : finished invoke init()

Standard error

Jun 19, 2024 4:08:38 AM com.ibm.jbatch.container.jsl.JSLValidationEventHandler handleEvent
SEVERE: CWWKY0003E: The JSL (Job XML document) at URL file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job1.xml is not valid according to the Job XML schema. The first validation error logged by JAXB validator was: 
MESSAGE: cvc-complex-type.2.4.a: Invalid content was found starting with element 'step'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":properties, "http://xmlns.jcp.org/xml/ns/javaee":listeners, "http://xmlns.jcp.org/xml/ns/javaee":decision, "http://xmlns.jcp.org/xml/ns/javaee":flow, "http://xmlns.jcp.org/xml/ns/javaee":split, "http://xmlns.jcp.org/xml/ns/javaee":step}' is expected.
SEVERITY: 2
LINKED EXC: org.xml.sax.SAXParseException; systemId: file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job1.xml; lineNumber: 20; columnNumber: 19; cvc-complex-type.2.4.a: Invalid content was found starting with element 'step'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":properties, "http://xmlns.jcp.org/xml/ns/javaee":listeners, "http://xmlns.jcp.org/xml/ns/javaee":decision, "http://xmlns.jcp.org/xml/ns/javaee":flow, "http://xmlns.jcp.org/xml/ns/javaee":split, "http://xmlns.jcp.org/xml/ns/javaee":step}' is expected.
LOCATOR INFO:
------------
  COLUMN NUMBER:  19
  LINE NUMBER:  20
  OFFSET:  -1
  CLASS:  class javax.xml.bind.helpers.ValidationEventLocatorImpl
  NODE:  null
  OBJECT:  null
  URL:  file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job1.xml.
[ERROR   ] CWWKY0003E: The JSL (Job XML document) at URL file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job1.xml is not valid according to the Job XML schema. The first validation error logged by JAXB validator was: 
MESSAGE: cvc-complex-type.2.4.a: Invalid content was found starting with element 'step'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":properties, "http://xmlns.jcp.org/xml/ns/javaee":listeners, "http://xmlns.jcp.org/xml/ns/javaee":decision, "http://xmlns.jcp.org/xml/ns/javaee":flow, "http://xmlns.jcp.org/xml/ns/javaee":split, "http://xmlns.jcp.org/xml/ns/javaee":step}' is expected.
SEVERITY: 2
LINKED EXC: org.xml.sax.SAXParseException; systemId: file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job1.xml; lineNumber: 20; columnNumber: 19; cvc-complex-type.2.4.a: Invalid content was found starting with element 'step'. One of '{"http://xmlns.jcp.org/xml/ns/javaee":properties, "http://xmlns.jcp.org/xml/ns/javaee":listeners, "http://xmlns.jcp.org/xml/ns/javaee":decision, "http://xmlns.jcp.org/xml/ns/javaee":flow, "http://xmlns.jcp.org/xml/ns/javaee":split, "http://xmlns.jcp.org/xml/ns/javaee":step}' is expected.
LOCATOR INFO:
------------
  COLUMN NUMBER:  19
  LINE NUMBER:  20
  OFFSET:  -1
  CLASS:  class javax.xml.bind.helpers.ValidationEventLocatorImpl
  NODE:  null
  OBJECT:  null
  URL:  file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job1.xml.
Jun 19, 2024 4:08:38 AM com.ibm.jbatch.container.jsl.JSLValidationEventHandler handleEvent
SEVERE: CWWKY0003E: The JSL (Job XML document) at URL file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job2.xml is not valid according to the Job XML schema. The first validation error logged by JAXB validator was: 
MESSAGE: cvc-complex-type.2.4.a: Invalid content was found starting with element 'step'. One of '{"https://jakarta.ee/xml/ns/jakartaee":properties, "https://jakarta.ee/xml/ns/jakartaee":listeners, "https://jakarta.ee/xml/ns/jakartaee":decision, "https://jakarta.ee/xml/ns/jakartaee":flow, "https://jakarta.ee/xml/ns/jakartaee":split, "https://jakarta.ee/xml/ns/jakartaee":step}' is expected.
SEVERITY: 2
LINKED EXC: org.xml.sax.SAXParseException; systemId: file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job2.xml; lineNumber: 20; columnNumber: 19; cvc-complex-type.2.4.a: Invalid content was found starting with element 'step'. One of '{"https://jakarta.ee/xml/ns/jakartaee":properties, "https://jakarta.ee/xml/ns/jakartaee":listeners, "https://jakarta.ee/xml/ns/jakartaee":decision, "https://jakarta.ee/xml/ns/jakartaee":flow, "https://jakarta.ee/xml/ns/jakartaee":split, "https://jakarta.ee/xml/ns/jakartaee":step}' is expected.
LOCATOR INFO:
------------
  COLUMN NUMBER:  19
  LINE NUMBER:  20
  OFFSET:  -1
  CLASS:  class javax.xml.bind.helpers.ValidationEventLocatorImpl
  NODE:  null
  OBJECT:  null
  URL:  file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job2.xml.
[ERROR   ] CWWKY0003E: The JSL (Job XML document) at URL file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job2.xml is not valid according to the Job XML schema. The first validation error logged by JAXB validator was: 
MESSAGE: cvc-complex-type.2.4.a: Invalid content was found starting with element 'step'. One of '{"https://jakarta.ee/xml/ns/jakartaee":properties, "https://jakarta.ee/xml/ns/jakartaee":listeners, "https://jakarta.ee/xml/ns/jakartaee":decision, "https://jakarta.ee/xml/ns/jakartaee":flow, "https://jakarta.ee/xml/ns/jakartaee":split, "https://jakarta.ee/xml/ns/jakartaee":step}' is expected.
SEVERITY: 2
LINKED EXC: org.xml.sax.SAXParseException; systemId: file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job2.xml; lineNumber: 20; columnNumber: 19; cvc-complex-type.2.4.a: Invalid content was found starting with element 'step'. One of '{"https://jakarta.ee/xml/ns/jakartaee":properties, "https://jakarta.ee/xml/ns/jakartaee":listeners, "https://jakarta.ee/xml/ns/jakartaee":decision, "https://jakarta.ee/xml/ns/jakartaee":flow, "https://jakarta.ee/xml/ns/jakartaee":split, "https://jakarta.ee/xml/ns/jakartaee":step}' is expected.
LOCATOR INFO:
------------
  COLUMN NUMBER:  19
  LINE NUMBER:  20
  OFFSET:  -1
  CLASS:  class javax.xml.bind.helpers.ValidationEventLocatorImpl
  NODE:  null
  OBJECT:  null
  URL:  file:/home/libbld/Build/jbe/build/open-liberty/dev/com.ibm.jbatch.container/test/files/invalid.job2.xml.