Bug#730970: libcommons-fileupload-java: FTBFS: Tests errors

David Suárez david.sephirot at gmail.com
Sat Nov 30 16:32:08 UTC 2013


Source: libcommons-fileupload-java
Version: 1.3-2.1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131128 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /«PKGBUILDDIR»/debian
> mh_patchpoms -plibcommons-fileupload-java --debian-build --keep-pom-version --maven-repo=/«PKGBUILDDIR»/debian/maven-repo 
> touch debian/stamp-poms-patched
> # before-build target may be used to unpatch the pom files, so we need to check if
> # patching the pom files is needed here, normally not
> if [ ! -f pom.xml.save ]; then \
> 		/usr/bin/make -f debian/rules patch-poms; \
> 	fi
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/«PKGBUILDDIR»/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo  package
> [INFO] 
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> 
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Commons FileUpload
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/src/main/resources
> [WARNING] POM for 'org.codehaus.plexus:plexus-compiler-api:pom:debian:runtime' is invalid.
> 
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'org.codehaus.plexus:plexus-compiler-javac:pom:debian:runtime' is invalid.
> 
> Its dependencies (if any) will NOT be available to the current build.
> [INFO] [compiler:compile {execution: default-compile}]
> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] Compiling 39 source files to /«PKGBUILDDIR»/target/classes
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] Compiling 15 source files to /«PKGBUILDDIR»/target/test-classes
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory: /«PKGBUILDDIR»/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.commons.fileupload.DiskFileItemSerializeTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.181 sec
> Running org.apache.commons.fileupload.FileItemHeadersTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
> Running org.apache.commons.fileupload.DefaultFileItemTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
> Running org.apache.commons.fileupload.ServletFileUploadTest
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
> Running org.apache.commons.fileupload.ParameterParserTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
> Running org.apache.commons.fileupload.StreamingTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.339 sec
> Running org.apache.commons.fileupload.ProgressListenerTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.72 sec
> Running org.apache.commons.fileupload.util.mime.Base64DecoderTestCase
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
> Running org.apache.commons.fileupload.util.mime.QuotedPrintableDecoderTestCase
> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
> Running org.apache.commons.fileupload.util.mime.MimeUtilityTestCase
> Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec <<< FAILURE!
> Running org.apache.commons.fileupload.SizesTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.893 sec
> Running org.apache.commons.fileupload.MultipartStreamTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
> 
> Results :
> 
> Failed tests:   decodeUtf8Base64Encoded(org.apache.commons.fileupload.util.mime.MimeUtilityTestCase): expected:< h[?! ???]u !!!> but was:< h[?! ???]u !!!>
>   decodeUtf8QuotedPrintableEncoded(org.apache.commons.fileupload.util.mime.MimeUtilityTestCase): expected:< h[?! ???]u !!!> but was:< h[?! ???]u !!!>
> 
> Tests run: 67, Failures: 2, Errors: 0, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> 
> Please refer to /«PKGBUILDDIR»/target/surefire-reports for the individual test results.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 11 seconds
> [INFO] Finished at: Thu Nov 28 01:55:20 UTC 2013
> [INFO] Final Memory: 16M/58M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/11/28/libcommons-fileupload-java_1.3-2.1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list