Mahesh Waidande created LOG4J2-1264:
---------------------------------------

             Summary: ‘XSLTLayoutTest‘ test case is failing on Ubuntu 15.04 
(ppc64le) while building log4j-extras package
                 Key: LOG4J2-1264
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1264
             Project: Log4j 2
          Issue Type: Bug
         Environment: Hardware/Machine details 
root@VM-1:/log4j-extras# uname -a
Linux VM-1 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:07:11 UTC 2015 
ppc64le ppc64le ppc64le GNU/Linux
root@VM-1:/log4j-extras#

root@VM-1:/log4j-extras# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.04
Release:        15.04
Codename:       vivid
root@VM-1:/log4j-extras#

            Reporter: Mahesh Waidande


I am working on porting log4j-extras on ppc64le architecture. For porting I am 
using Ubuntu 15.04 distribution which is running on top of ppc64le hardware. 
While building ‘log4j-extras’ I observed that 
‘org.apache.log4j.xml.XSLTLayoutTest’ test is failing due to unrecognized 
format specifier are generated for carrying out test. 

Below is detail error description I observed while executing test cases, 
Running org.apache.log4j.pattern.PatternParserTest
log4j:ERROR Unrecognized format specifier []
log4j:ERROR Empty conversion specifier starting at position 2 in conversion 
pattern.
log4j:ERROR Unrecognized format specifier []
log4j:ERROR Empty conversion specifier starting at position 6 in conversion 
pattern.
log4j:ERROR Unrecognized format specifier [bogus]
log4j:ERROR Unrecognized conversion specifier [bogus] starting at position 6 in 
conversion pattern.
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.log4j.pattern.FormattingInfoTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec

Results :

Failed tests:   testAtom(org.apache.log4j.xml.XSLTLayoutTest)
  testAtomNS(org.apache.log4j.xml.XSLTLayoutTest)

Tests run: 217, Failures: 2, Errors: 0, Skipped: 0

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache Extras? for Apache log4j?.
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43.639s
[INFO] Finished at: Fri Jan 29 09:59:09 UTC 2016
[INFO] Final Memory: 17M/184M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on 
project apache-log4j-extras: There are test failures.


Steps to reproduce test failure, 
    1. $ cp /etc/apt/sources.list /etc/apt/sources.list.bkp
    2.  $ echo deb http://ports.ubuntu.com/ubuntu-ports vivid multiverse 
universe  >> /etc/apt/sources.list
    3.  $ apt-get update && apt-get install -y git openjdk-7-jdk maven 
subversion
    4 . $ git clone https://github.com/apache/log4j-extras.git
    5.  $ cd log4j-extras
    6.  $ mvn package release:prepare

Any help/suggestion/pointers on resolving ‘XSLTLayoutTest‘test failures would 
be great help.  




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to