See
<https://builds.apache.org/job/Log4jWindows/Windows%20Slaves=Windows,jdk=JDK%201.8%20(unlimited%20security)%2064-bit%20Windows%20only/41/display/redirect?page=changes>
Changes:
[Matt Sicker] [LOG4J2-1863] Add class filtering to AbstractSocketServer
------------------------------------------
[...truncated 364.11 KB...]
2017-04-02 18:02:05,753 main DEBUG PluginManager 'Converter' found 41 plugins
2017-04-02 18:02:05,783 main DEBUG Building Plugin[name=appender,
class=org.apache.logging.log4j.core.appender.FileAppender].
2017-04-02 18:02:05,792 main DEBUG
FileAppender$Builder(fileName="target/test-properties.log", append="null",
locking="null", advertise="null", advertiseUri="null", createOnDemand="null",
bufferedIo="false", bufferSize="null", immediateFlush="null",
ignoreExceptions="null", PatternLayout(%d %p %C{1.} [%t] %m%n), name="File",
Configuration(PropertiesConfigTest), Filter=null)
2017-04-02 18:02:05,793 main WARN The bufferSize is set to 8192 but bufferedIo
is false: false
2017-04-02 18:02:05,797 main DEBUG Starting FileManager
target/test-properties.log
2017-04-02 18:02:05,798 main DEBUG Building Plugin[name=filter,
class=org.apache.logging.log4j.core.filter.ThresholdFilter].
2017-04-02 18:02:05,799 main DEBUG createFilter(level="ERROR", onMatch="null",
onMismatch="null")
2017-04-02 18:02:05,800 main DEBUG Building Plugin[name=appender,
class=org.apache.logging.log4j.test.appender.ListAppender].
2017-04-02 18:02:05,802 main DEBUG ListAppender$Builder(name="List",
entryPerNewLine="null", raw="null", Layout=null, ThresholdFilter(ERROR))
2017-04-02 18:02:05,803 main DEBUG Building Plugin[name=layout,
class=org.apache.logging.log4j.core.layout.PatternLayout].
2017-04-02 18:02:05,804 main DEBUG PatternLayout$Builder(pattern="%m%n",
PatternSelector=null, Configuration(PropertiesConfigTest), Replace=null,
charset="null", alwaysWriteExceptions="null", disableAnsi="null",
noConsoleNoAnsi="null", header="null", footer="null")
2017-04-02 18:02:05,805 main DEBUG Building Plugin[name=appender,
class=org.apache.logging.log4j.core.appender.ConsoleAppender].
2017-04-02 18:02:05,808 main DEBUG ConsoleAppender$Builder(target="null",
follow="null", direct="null", bufferedIo="null", bufferSize="null",
immediateFlush="null", ignoreExceptions="null", PatternLayout(%m%n),
name="STDOUT", Configuration(PropertiesConfigTest), Filter=null)
2017-04-02 18:02:05,809 main WARN Unable to instantiate
org.fusesource.jansi.WindowsAnsiOutputStream
2017-04-02 18:02:05,809 main DEBUG Starting OutputStreamManager
SYSTEM_OUT.false.false
2017-04-02 18:02:05,810 main DEBUG Building Plugin[name=appenders,
class=org.apache.logging.log4j.core.config.AppendersPlugin].
2017-04-02 18:02:05,810 main DEBUG createAppenders(={File, List, STDOUT})
2017-04-02 18:02:05,811 main DEBUG Building Plugin[name=filter,
class=org.apache.logging.log4j.core.filter.ThresholdFilter].
2017-04-02 18:02:05,811 main DEBUG createFilter(level="DEBUG", onMatch="null",
onMismatch="null")
2017-04-02 18:02:05,813 main DEBUG Configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@94eefbf
initialized
2017-04-02 18:02:05,813 main DEBUG Starting configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@94eefbf
2017-04-02 18:02:05,814 main DEBUG Log4j2 ConfigurationScheduler starting 1
threads
2017-04-02 18:02:05,816 main DEBUG Started configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@94eefbf
OK.
2017-04-02 18:02:05,817 main DEBUG Shutting down OutputStreamManager
SYSTEM_OUT.false.false-1
2017-04-02 18:02:05,817 main DEBUG Shut down OutputStreamManager
SYSTEM_OUT.false.false-1, all resources released: true
2017-04-02 18:02:05,818 main DEBUG Appender DefaultConsole-1 stopped with
status true
2017-04-02 18:02:05,818 main DEBUG Stopped
org.apache.logging.log4j.core.config.DefaultConfiguration@52052438 OK
2017-04-02 18:02:05,920 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest
2017-04-02 18:02:05,925 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=StatusLogger
2017-04-02 18:02:05,927 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=ContextSelector
2017-04-02 18:02:05,930 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=org.apache.logging.log4j.test2
2017-04-02 18:02:05,931 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=
2017-04-02 18:02:05,932 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=org.apache.logging.log4j.test1
2017-04-02 18:02:05,934 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=List
2017-04-02 18:02:05,934 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=STDOUT
2017-04-02 18:02:05,935 main DEBUG Registering MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=File
2017-04-02 18:02:05,937 main DEBUG
LoggerContext[name=org.apache.logging.log4j.core.PropertiesFileConfigTest,
org.apache.logging.log4j.core.LoggerContext@d697ff2] started OK with
configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@94eefbf.
Running org.apache.logging.log4j.core.PropertiesFileConfigTest
2017-04-02 18:02:06,817 Log4j2-TF-2-Scheduled-1 INFO File
target\test-classes\log4j-test2.properties was modified on 1491155262122,
previous modification was 1491155252122
2017-04-02 18:02:06,819 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
Reconfiguration started for context
org.apache.logging.log4j.core.PropertiesFileConfigTest
(org.apache.logging.log4j.core.LoggerContext@d697ff2)
2017-04-02 18:02:06,821 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Not in a
ServletContext environment, thus not loading WebLookup plugin.
2017-04-02 18:02:06,824 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Not in a
ServletContext environment, thus not loading WebLookup plugin.
2017-04-02 18:02:06,825 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
Initializing configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2df7afcf
2017-04-02 18:02:06,828 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Installed
script engines
2017-04-02 18:02:06,829 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Mozilla
Rhino Version: 1.7 release 3 PRERELEASE, Language: ECMAScript, Threading:
MULTITHREADED, Compile: true, Names: {js, rhino, JavaScript, javascript,
ECMAScript, ecmascript}
2017-04-02 18:02:06,829 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Groovy
Scripting Engine Version: 2.0, Language: Groovy, Threading: MULTITHREADED,
Compile: true, Names: {groovy, Groovy}
2017-04-02 18:02:06,841 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG BeanShell
Engine Version: 1.0, Language: BeanShell, Threading: MULTITHREADED, Compile:
true, Names: {beanshell, bsh, java}
2017-04-02 18:02:06,842 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PluginManager 'Core' found 122 plugins
2017-04-02 18:02:06,842 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PluginManager 'Level' found 1 plugins
2017-04-02 18:02:06,842 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=property, class=org.apache.logging.log4j.core.config.Property].
2017-04-02 18:02:06,843 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createProperty(name="filename", value="target/test-properties.log")
2017-04-02 18:02:06,843 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=properties,
class=org.apache.logging.log4j.core.config.PropertiesPlugin].
2017-04-02 18:02:06,844 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
configureSubstitutor(={filename=target/test-properties.log},
Configuration(PropertiesConfigTest))
2017-04-02 18:02:06,844 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PluginManager 'Lookup' found 13 plugins
2017-04-02 18:02:06,845 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=AppenderRef,
class=org.apache.logging.log4j.core.config.AppenderRef].
2017-04-02 18:02:06,846 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createAppenderRef(ref="File", level="null", Filter=null)
2017-04-02 18:02:06,846 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2017-04-02 18:02:06,848 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createLogger(additivity="false", level="DEBUG",
name="org.apache.logging.log4j.test2", includeLocation="null", ={File}, ={},
Configuration(PropertiesConfigTest), Filter=null)
2017-04-02 18:02:06,849 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=AppenderRef,
class=org.apache.logging.log4j.core.config.AppenderRef].
2017-04-02 18:02:06,849 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createAppenderRef(ref="STDOUT", level="null", Filter=null)
2017-04-02 18:02:06,850 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=KeyValuePair,
class=org.apache.logging.log4j.core.util.KeyValuePair].
2017-04-02 18:02:06,850 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
KeyValuePair$Builder(key="test", value="123")
2017-04-02 18:02:06,850 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=filter,
class=org.apache.logging.log4j.core.filter.ThreadContextMapFilter].
2017-04-02 18:02:06,851 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createFilter(={test=123}, operator="null", onMatch="null", onMismatch="null")
2017-04-02 18:02:06,852 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2017-04-02 18:02:06,854 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createLogger(additivity="false", level="DEBUG",
name="org.apache.logging.log4j.test1", includeLocation="null", ={STDOUT}, ={},
Configuration(PropertiesConfigTest), ThreadContextMapFilter(isAnd=true,
{test=[123]}))
2017-04-02 18:02:06,854 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=AppenderRef,
class=org.apache.logging.log4j.core.config.AppenderRef].
2017-04-02 18:02:06,855 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createAppenderRef(ref="STDOUT", level="null", Filter=null)
2017-04-02 18:02:06,855 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=root,
class=org.apache.logging.log4j.core.config.LoggerConfig$RootLogger].
2017-04-02 18:02:06,856 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createLogger(additivity="null", level="ERROR", includeLocation="null",
={STDOUT}, ={}, Configuration(PropertiesConfigTest), Filter=null)
2017-04-02 18:02:06,857 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
2017-04-02 18:02:06,857 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createLoggers(={org.apache.logging.log4j.test2, org.apache.logging.log4j.test1,
root})
2017-04-02 18:02:06,857 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout].
2017-04-02 18:02:06,859 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PatternLayout$Builder(pattern="%d %p %C{1.} [%t] %m%n", PatternSelector=null,
Configuration(PropertiesConfigTest), Replace=null, charset="null",
alwaysWriteExceptions="null", disableAnsi="null", noConsoleNoAnsi="null",
header="null", footer="null")
2017-04-02 18:02:06,859 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PluginManager 'Converter' found 41 plugins
2017-04-02 18:02:06,860 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=appender,
class=org.apache.logging.log4j.core.appender.FileAppender].
2017-04-02 18:02:06,862 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
FileAppender$Builder(fileName="target/test-properties.log", append="null",
locking="null", advertise="null", advertiseUri="null", createOnDemand="null",
bufferedIo="false", bufferSize="null", immediateFlush="null",
ignoreExceptions="null", PatternLayout(%d %p %C{1.} [%t] %m%n), name="File",
Configuration(PropertiesConfigTest), Filter=null)
2017-04-02 18:02:06,862 Log4j2-TF-1-ConfiguratonFileWatcher-2 WARN The
bufferSize is set to 8192 but bufferedIo is false: false
2017-04-02 18:02:06,863 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=filter, class=org.apache.logging.log4j.core.filter.ThresholdFilter].
2017-04-02 18:02:06,864 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createFilter(level="ERROR", onMatch="null", onMismatch="null")
2017-04-02 18:02:06,864 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=appender,
class=org.apache.logging.log4j.test.appender.ListAppender].
2017-04-02 18:02:06,865 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
ListAppender$Builder(name="List", entryPerNewLine="null", raw="null",
Layout=null, ThresholdFilter(ERROR))
2017-04-02 18:02:06,865 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout].
2017-04-02 18:02:06,867 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
PatternLayout$Builder(pattern="%m%n", PatternSelector=null,
Configuration(PropertiesConfigTest), Replace=null, charset="null",
alwaysWriteExceptions="null", disableAnsi="null", noConsoleNoAnsi="null",
header="null", footer="null")
2017-04-02 18:02:06,867 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=appender,
class=org.apache.logging.log4j.core.appender.ConsoleAppender].
2017-04-02 18:02:06,870 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
ConsoleAppender$Builder(target="null", follow="null", direct="null",
bufferedIo="null", bufferSize="null", immediateFlush="null",
ignoreExceptions="null", PatternLayout(%m%n), name="STDOUT",
Configuration(PropertiesConfigTest), Filter=null)
2017-04-02 18:02:06,870 Log4j2-TF-1-ConfiguratonFileWatcher-2 WARN Unable to
instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-04-02 18:02:06,870 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=appenders,
class=org.apache.logging.log4j.core.config.AppendersPlugin].
2017-04-02 18:02:06,871 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createAppenders(={File, List, STDOUT})
2017-04-02 18:02:06,871 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Building
Plugin[name=filter, class=org.apache.logging.log4j.core.filter.ThresholdFilter].
2017-04-02 18:02:06,872 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
createFilter(level="DEBUG", onMatch="null", onMismatch="null")
2017-04-02 18:02:06,872 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
Configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2df7afcf
initialized
2017-04-02 18:02:06,873 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Starting
configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2df7afcf
2017-04-02 18:02:06,873 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Log4j2
ConfigurationScheduler starting 1 threads
2017-04-02 18:02:06,874 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Started
configuration
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2df7afcf
OK.
2017-04-02 18:02:06,874 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Appender
File stopped with status true
2017-04-02 18:02:06,874 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Appender
STDOUT stopped with status true
2017-04-02 18:02:06,875 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Log4j2
ConfigurationScheduler shutting down threads in
java.util.concurrent.ScheduledThreadPoolExecutor@18019c40[Running, pool size =
1, active threads = 0, queued tasks = 1, completed tasks = 1]
2017-04-02 18:02:06,875 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Stopped
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@94eefbf
OK
2017-04-02 18:02:06,877 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest
2017-04-02 18:02:06,878 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=StatusLogger
2017-04-02 18:02:06,878 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=ContextSelector
2017-04-02 18:02:06,879 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=org.apache.logging.log4j.test2
2017-04-02 18:02:06,879 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=
2017-04-02 18:02:06,879 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Loggers,name=org.apache.logging.log4j.test1
2017-04-02 18:02:06,880 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=List
2017-04-02 18:02:06,880 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=STDOUT
2017-04-02 18:02:06,881 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG Registering
MBean
org.apache.logging.log4j2:type=org.apache.logging.log4j.core.PropertiesFileConfigTest,component=Appenders,name=File
2017-04-02 18:02:06,881 Log4j2-TF-1-ConfiguratonFileWatcher-2 DEBUG
Reconfiguration completed for
org.apache.logging.log4j.core.PropertiesFileConfigTest
(org.apache.logging.log4j.core.LoggerContext@d697ff2)
2017-04-02 18:02:12,050 main DEBUG Stopping
LoggerContext[name=org.apache.logging.log4j.core.PropertiesFileConfigTest,
org.apache.logging.log4j.core.LoggerContext@d697ff2]...
2017-04-02 18:02:12,052 main DEBUG Shutting down FileManager
target/test-properties.log
2017-04-02 18:02:12,052 main DEBUG Shut down FileManager
target/test-properties.log, all resources released: true
2017-04-02 18:02:12,053 main DEBUG Appender File stopped with status true
2017-04-02 18:02:12,053 main DEBUG Shutting down OutputStreamManager
SYSTEM_OUT.false.false
2017-04-02 18:02:12,053 main DEBUG Shut down OutputStreamManager
SYSTEM_OUT.false.false, all resources released: true
2017-04-02 18:02:12,053 main DEBUG Appender STDOUT stopped with status true
2017-04-02 18:02:12,053 main DEBUG Log4j2 ConfigurationScheduler shutting down
threads in java.util.concurrent.ScheduledThreadPoolExecutor@5cedd8bc[Running,
pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 5]
2017-04-02 18:02:12,054 main DEBUG Stopped
org.apache.logging.log4j.core.config.properties.PropertiesConfiguration@2df7afcf
OK
2017-04-02 18:02:12,054 main DEBUG Stopped
LoggerContext[name=org.apache.logging.log4j.core.PropertiesFileConfigTest,
org.apache.logging.log4j.core.LoggerContext@d697ff2] with status true
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.111 sec - in
org.apache.logging.log4j.core.PropertiesFileConfigTest
Running org.apache.logging.log4j.core.selector.ClassLoaderContextSelectorTest
ERROR StatusLogger No log4j2 configuration file found. Using default
configuration: logging only errors to the console. Set system property
'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2
internal initialization logging.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.864 sec - in
org.apache.logging.log4j.core.selector.ClassLoaderContextSelectorTest
Running org.apache.logging.log4j.core.ShutdownDisabledTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in
org.apache.logging.log4j.core.ShutdownDisabledTest
Running org.apache.logging.log4j.core.ShutdownTimeoutConfigurationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in
org.apache.logging.log4j.core.ShutdownTimeoutConfigurationTest
Running org.apache.logging.log4j.core.StrictXmlConfigTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 sec - in
org.apache.logging.log4j.core.StrictXmlConfigTest
Running org.apache.logging.log4j.core.TimestampMessageTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec - in
org.apache.logging.log4j.core.TimestampMessageTest
Running org.apache.logging.log4j.core.tools.GenerateCustomLoggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.154 sec - in
org.apache.logging.log4j.core.tools.GenerateCustomLoggerTest
Running org.apache.logging.log4j.core.tools.GenerateExtendedLoggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.091 sec - in
org.apache.logging.log4j.core.tools.GenerateExtendedLoggerTest
Running org.apache.logging.log4j.core.util.AssertTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in
org.apache.logging.log4j.core.util.AssertTest
Running org.apache.logging.log4j.core.util.ClockFactoryTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.172 sec - in
org.apache.logging.log4j.core.util.ClockFactoryTest
Running org.apache.logging.log4j.core.util.CronExpressionTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.842 sec - in
org.apache.logging.log4j.core.util.CronExpressionTest
Running org.apache.logging.log4j.core.util.datetime.FastDateParserSDFTest
Tests run: 276, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.808 sec -
in org.apache.logging.log4j.core.util.datetime.FastDateParserSDFTest
Running org.apache.logging.log4j.core.util.datetime.FastDateParserTest
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.682 sec - in
org.apache.logging.log4j.core.util.datetime.FastDateParserTest
Running
org.apache.logging.log4j.core.util.datetime.FastDateParser_MoreOrLessTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec - in
org.apache.logging.log4j.core.util.datetime.FastDateParser_MoreOrLessTest
Running
org.apache.logging.log4j.core.util.datetime.FastDateParser_TimeZoneStrategyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.366 sec - in
org.apache.logging.log4j.core.util.datetime.FastDateParser_TimeZoneStrategyTest
Running org.apache.logging.log4j.core.util.datetime.FixedDateFormatTest
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.685 sec - in
org.apache.logging.log4j.core.util.datetime.FixedDateFormatTest
Running org.apache.logging.log4j.core.util.DummyNanoClockTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in
org.apache.logging.log4j.core.util.DummyNanoClockTest
Running org.apache.logging.log4j.core.util.FileUtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec - in
org.apache.logging.log4j.core.util.FileUtilsTest
Running org.apache.logging.log4j.core.util.IntegersTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in
org.apache.logging.log4j.core.util.IntegersTest
Running org.apache.logging.log4j.core.util.JsonUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in
org.apache.logging.log4j.core.util.JsonUtilsTest
Running org.apache.logging.log4j.core.util.LoaderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 sec - in
org.apache.logging.log4j.core.util.LoaderTest
Running org.apache.logging.log4j.core.util.NetUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec - in
org.apache.logging.log4j.core.util.NetUtilsTest
Running org.apache.logging.log4j.core.util.ShutdownCallbackRegistryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.068 sec - in
org.apache.logging.log4j.core.util.ShutdownCallbackRegistryTest
Running org.apache.logging.log4j.core.util.SystemClockTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 sec - in
org.apache.logging.log4j.core.util.SystemClockTest
Running org.apache.logging.log4j.core.util.SystemNanoClockTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in
org.apache.logging.log4j.core.util.SystemNanoClockTest
Running org.apache.logging.log4j.core.util.ThrowablesTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in
org.apache.logging.log4j.core.util.ThrowablesTest
Running org.apache.logging.log4j.core.util.UuidTest
Elapsed for 2000 UUIDS = 2297843923 Average = 1148921 ns
Elapsed for 200 UUIDS = 74130 Average = 370 ns
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.264 sec - in
org.apache.logging.log4j.core.util.UuidTest
Running org.apache.logging.log4j.core.util.WatchManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.015 sec - in
org.apache.logging.log4j.core.util.WatchManagerTest
Running org.apache.logging.log4j.MarkerMixInJsonTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.648 sec - in
org.apache.logging.log4j.MarkerMixInJsonTest
Running org.apache.logging.log4j.MarkerMixInXmlTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.896 sec - in
org.apache.logging.log4j.MarkerMixInXmlTest
Running org.apache.logging.log4j.MarkerMixInYamlTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.712 sec - in
org.apache.logging.log4j.MarkerMixInYamlTest
Running org.apache.logging.log4j.message.MutableLogEventWithReusableParamMsgTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec - in
org.apache.logging.log4j.message.MutableLogEventWithReusableParamMsgTest
Results :
Tests in error:
SyslogAppenderCustomLayoutTest>SyslogAppenderTest.testDefaultAppender:62->SyslogAppenderTest.initTCPTestEnvironment:100
» Bind
SyslogAppenderCustomLayoutTest>SyslogAppenderTest.testTCPAppender:54->SyslogAppenderTest.initTCPTestEnvironment:100
» Bind
SyslogAppenderCustomLayoutTest>SyslogAppenderTest.testTCPStructuredAppender:70->SyslogAppenderTest.initTCPTestEnvironment:100
» Bind
SyslogAppenderTest.testDefaultAppender:62->initTCPTestEnvironment:100 » Bind
A...
SyslogAppenderTest.testTCPAppender:54->initTCPTestEnvironment:100 » Bind
Addre...
Tests run: 1899, Failures: 0, Errors: 5, Skipped: 30
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Log4j 2 ..................................... SUCCESS [ 4.404 s]
[INFO] Apache Log4j API ................................... SUCCESS [ 23.013 s]
[INFO] Apache Log4j Core .................................. FAILURE [15:58 min]
[INFO] Apache Log4j Core Integration Tests ................ SKIPPED
[INFO] Apache Log4j 1.x Compatibility API ................. SKIPPED
[INFO] Apache Log4j SLF4J Binding ......................... SKIPPED
[INFO] Apache Log4j to SLF4J Adapter ...................... SKIPPED
[INFO] Apache Log4j Commons Logging Bridge ................ SKIPPED
[INFO] Apache Log4j Flume Bridge .......................... SKIPPED
[INFO] Apache Log4j Web ................................... SKIPPED
[INFO] Apache Log4j Tag Library ........................... SKIPPED
[INFO] Apache Log4j JMX GUI ............................... SKIPPED
[INFO] Apache Log4j Samples ............................... SKIPPED
[INFO] Apache Log4j Samples: Flume - Common ............... SKIPPED
[INFO] Apache Log4j Samples: Flume - Remote ............... SKIPPED
[INFO] Apache Log4j Samples: Flume - Embedded ............. SKIPPED
[INFO] Apache Log4j Samples: Configuration ................ SKIPPED
[INFO] Apache Log4j Samples: LoggerProperties ............. SKIPPED
[INFO] Apache Log4j Scala 2.11 wrapper for Log4j API ...... SKIPPED
[INFO] Apache Log4j Samples: Scala API .................... SKIPPED
[INFO] Apache Log4j OSGi .................................. SKIPPED
[INFO] Apache Log4j BOM ................................... SKIPPED
[INFO] Apache Log4j NoSQL ................................. SKIPPED
[INFO] Apache Log4J Performance Tests ..................... SKIPPED
[INFO] Apache Log4j Streaming Interface ................... SKIPPED
[INFO] Apache Log4j JUL Adapter ........................... SKIPPED
[INFO] Apache Log4j Liquibase Binding ..................... SKIPPED
[INFO] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:29 min
[INFO] Finished at: 2017-04-02T18:03:10+00:00
[INFO] Final Memory: 75M/2059M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on
project log4j-core: There are test failures.
[ERROR]
[ERROR] Please refer to F:\jenkins\jenkins-slave\workspace\Log4jWindows\Windows
Slaves\Windows\jdk\JDK 1.8 (unlimited security) 64-bit Windows
only\log4j-core\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :log4j-core
Build step 'Execute Windows batch command' marked build as failure
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]