See <https://builds.apache.org/job/Derby-JaCoCo/179/changes>

Changes:

[bpendleton] DERBY-6810: Add regression tests for XXE vulnerability.

This patch was contributed by Abhinav Gupta (abhinavgupta2004 at gmail dot com)

This change adds a new regression test suite to hold tests for XXE
vulnerabilities in XML data type processing.

The new test case is in a suite by its own because we want to control the
overall security configuration (e.g., we want to ensure that no security
manager is installed).

Over time, as other types of XXE vulnerabilities are studied, we can add
additional test cases to this test suite.

Note that this test case demonstrates incorrect behavior, we believe. When
DERBY-6807 is fixed, this test case will need to be changed accordingly.

------------------------------------------
[...truncated 6402 lines...]
all:

setInitialProperties:

init:

setissane:

sanitynamesane:

sanitynameinsane:

setsanityname:

getsvnversion:
     [echo] Revision number set to 1685139.

prebuild:

compile:

build:

setCompilerProperties:

initjars:
    [mkdir] Created dir: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane>
    [mkdir] Created dir: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists>

checkVMLevel:

derbyjar:
     [echo] Beginning derby.jar insane build
    [mkdir] Created dir: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists/org/apache/derby>
     [echo]  creating derby.jar class list 
     [echo]  creating new DBMS.properties file

infowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/DBMS.properties>

meta-inf-common:
    [mkdir] Created dir: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists/META-INF>
     [copy] Copying 2 files to 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists/META-INF>

declare-autoloadable-driver:
    [mkdir] Created dir: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists/META-INF/services>

make-core-derbyjar-manifest:

make-locale-classpath-manifest:
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derby.jar>

derbytoolsjar:
     [echo] Beginning derbytools.jar insane build
     [echo]  creating tools.list 
     [echo]  creating new tools.properties file 

infowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/tools.properties>

meta-inf-common:
     [copy] Copying 2 files to 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists/META-INF>

make-locale-classpath-manifest:
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbytools.jar>

derbynetjar:
     [echo] Beginning derbynet.jar insane build
     [echo]  creating net.list
     [echo]  creating new net.properties file 

infowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/net.properties>

meta-inf-common:
     [copy] Copying 2 files to 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists/META-INF>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbynet.jar>

derbyclientjar:
     [echo] Beginning derbyclient.jar insane build
     [copy] Copying 1 file to 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists>

derbyclientjar.1.8:
     [echo]  creating new dnc.properties file 

infowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/dnc.properties>

meta-inf-common:
     [copy] Copying 2 files to 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists/META-INF>

make-core-derbyjar-manifest:

make-locale-classpath-manifest:

declare-autoloadable-driver:
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyclient.jar>

derbyoptionaltoolsjar:
     [echo] Beginning derbyoptionaltools.jar insane build
     [echo]  creating new tools.properties file 

infowriter:
[propertyfile] Creating new property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/optional/optionaltools.properties>

meta-inf-common:
     [copy] Copying 2 files to 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists/META-INF>

make-locale-classpath-manifest:
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyoptionaltools.jar>

derbyrunjar:
     [echo] Beginning derbyrun.jar build

meta-inf-common:
     [copy] Copying 2 files to 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists/META-INF>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyrun.jar>

derbywar:
     [echo] Beginning derby.war  build
      [zip] Building zip: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derby.war>

derbylocalejars:

meta-inf-common:
     [copy] Copying 2 files to 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/lists/META-INF>

localejar:
     [echo] Building derbyLocale_cs.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_cs.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_cs.jar>

localejar:
     [echo] Building derbyLocale_de_DE.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_de_DE.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_de_DE.jar>

localejar:
     [echo] Building derbyLocale_es.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_es.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_es.jar>

localejar:
     [echo] Building derbyLocale_fr.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_fr.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_fr.jar>

localejar:
     [echo] Building derbyLocale_hu.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_hu.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_hu.jar>

localejar:
     [echo] Building derbyLocale_it.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_it.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_it.jar>

localejar:
     [echo] Building derbyLocale_ja_JP.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_ja_JP.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_ja_JP.jar>

localejar:
     [echo] Building derbyLocale_ko_KR.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_ko_KR.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_ko_KR.jar>

localejar:
     [echo] Building derbyLocale_pl.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_pl.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_pl.jar>

localejar:
     [echo] Building derbyLocale_pt_BR.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_pt_BR.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_pt_BR.jar>

localejar:
     [echo] Building derbyLocale_ru.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_ru.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_ru.jar>

localejar:
     [echo] Building derbyLocale_zh_CN.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_zh_CN.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_zh_CN.jar>

localejar:
     [echo] Building derbyLocale_zh_TW.jar

localeinfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/locale_zh_TW.properties>
      [jar] Building jar: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyLocale_zh_TW.jar>

ckderbytesting:

derbytestingjar:

tstinginfowriter:
[propertyfile] Updating property file: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/classes/org/apache/derby/info/tsting.properties>
      [zip] Building zip: 
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/jars/insane/derbyTesting.jar>

jardriftcheck:
     [java] ERROR: class 
org.apache.derbyTesting.functionTests.tests.lang.XMLXXETest.class in
     [java]        derbyTesting.jar was not previously there.
     [java] 
     [java] Exception in thread "main" java.lang.Exception: 
     [java] jar drift check failed; see DERBY-6471 for info. 
     [java] See error in build output or call ant jardriftcheck. 
     [java] If the new class is expected run ant refreshjardriftcheck.
     [java] NB: Run the refresh for both sane and insane builds. 
     [java]     Use the highest supported JVM (currently Java 8) 
     [java]      to ensure all classes are built.
     [java] 
     [java]     at 
org.apache.derbyBuild.JarDriftTest.main(JarDriftTest.java:103)

BUILD FAILED
<https://builds.apache.org/job/Derby-JaCoCo/ws/trunk/build.xml>:704: Java 
returned: 1

Total time: 56 seconds
Build step 'Invoke Ant' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
Recording test results

Reply via email to