You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2013/07/27 03:35:17 UTC
Build failed in Jenkins: log4net-trunk-build #1
See <https://builds.apache.org/job/log4net-trunk-build/1/>
------------------------------------------
[...truncated 652 lines...]
AU src\Util\NullDictionaryEnumerator.cs
AU src\Util\ThreadContextStack.cs
AU src\Util\PatternString.cs
AU src\Util\LevelMappingEntry.cs
AU src\Util\PropertyEntry.cs
AU src\Util\ProtectCloseTextWriter.cs
AU src\Util\EmptyCollection.cs
AU src\Util\Transform.cs
A src\Util\PatternStringConverters
AU src\Util\PatternStringConverters\ProcessIdPatternConverter.cs
AU src\Util\PatternStringConverters\LiteralPatternConverter.cs
AU src\Util\PatternStringConverters\DatePatternConverter.cs
AU src\Util\PatternStringConverters\EnvironmentFolderPathPatternConverter.cs
AU src\Util\PatternStringConverters\UserNamePatternConverter.cs
AU src\Util\PatternStringConverters\NewLinePatternConverter.cs
AU src\Util\PatternStringConverters\EnvironmentPatternConverter.cs
AU src\Util\PatternStringConverters\PropertyPatternConverter.cs
AU src\Util\PatternStringConverters\RandomStringPatternConverter.cs
AU src\Util\PatternStringConverters\AppDomainPatternConverter.cs
AU src\Util\PatternStringConverters\IdentityPatternConverter.cs
AU src\Util\PatternStringConverters\UtcDatePatternConverter.cs
AU src\Util\CompositeProperties.cs
AU src\Util\ReadOnlyPropertiesDictionary.cs
AU src\Util\TextWriterAdapter.cs
AU src\Util\GlobalContextProperties.cs
AU src\Util\LevelMapping.cs
AU src\Util\SystemStringFormat.cs
AU src\Util\LogicalThreadContextProperties.cs
AU src\Util\ThreadContextStacks.cs
AU src\Util\WindowsSecurityContext.cs
AU src\Util\ThreadContextProperties.cs
AU src\Util\QuietTextWriter.cs
AU src\Util\ContextPropertiesBase.cs
AU src\Util\CountingQuietTextWriter.cs
AU src\Util\NativeError.cs
AU src\Util\SystemInfo.cs
AU src\Util\PatternConverter.cs
A src\Layout
AU src\Layout\RawLayoutConverter.cs
AU src\Layout\XmlLayoutSchemaLog4j.cs
AU src\Layout\DynamicPatternLayout.cs
AU src\Layout\LayoutSkeleton.cs
AU src\Layout\ILayout.cs
AU src\Layout\RawUtcTimeStampLayout.cs
AU src\Layout\SimpleLayout.cs
AU src\Layout\XMLLayoutBase.cs
AU src\Layout\ExceptionLayout.cs
AU src\Layout\RawPropertyLayout.cs
AU src\Layout\XMLLayout.cs
AU src\Layout\IRawLayout.cs
AU src\Layout\Layout2RawLayoutAdapter.cs
A src\Layout\Pattern
AU src\Layout\Pattern\LevelPatternConverter.cs
AU src\Layout\Pattern\StackTraceDetailPatternConverter.cs
AU src\Layout\Pattern\ThreadPatternConverter.cs
AU src\Layout\Pattern\FileLocationPatternConverter.cs
AU src\Layout\Pattern\AppDomainPatternConverter.cs
AU src\Layout\Pattern\MethodLocationPatternConverter.cs
AU src\Layout\Pattern\PatternLayoutConverter.cs
AU src\Layout\Pattern\DatePatternConverter.cs
AU src\Layout\Pattern\AspNetCachePatternConverter.cs
AU src\Layout\Pattern\UserNamePatternConverter.cs
AU src\Layout\Pattern\LoggerPatternConverter.cs
AU src\Layout\Pattern\LineLocationPatternConverter.cs
AU src\Layout\Pattern\TypeNamePatternConverter.cs
AU src\Layout\Pattern\StackTracePatternConverter.cs
AU src\Layout\Pattern\PropertyPatternConverter.cs
AU src\Layout\Pattern\NamedPatternConverter.cs
AU src\Layout\Pattern\MessagePatternConverter.cs
AU src\Layout\Pattern\UtcDatePatternConverter.cs
AU src\Layout\Pattern\IdentityPatternConverter.cs
AU src\Layout\Pattern\RelativeTimePatternConverter.cs
AU src\Layout\Pattern\AspNetPatternConverter.cs
AU src\Layout\Pattern\FullLocationPatternConverter.cs
AU src\Layout\Pattern\ExceptionPatternConverter.cs
AU src\Layout\Pattern\AspNetSessionPatternConverter.cs
AU src\Layout\Pattern\AspNetContextPatternConverter.cs
AU src\Layout\Pattern\AspNetRequestPatternConverter.cs
AU src\Layout\Pattern\NdcPatternConverter.cs
AU src\Layout\PatternLayout.cs
AU src\Layout\RawTimeStampLayout.cs
A src\assembly
AU src\assembly\bin.xml
A src\Repository
AU src\Repository\IXmlRepositoryConfigurator.cs
AU src\Repository\IBasicRepositoryConfigurator.cs
AU src\Repository\ConfigurationChangedEventArgs.cs
AU src\Repository\LoggerRepositorySkeleton.cs
AU src\Repository\ILoggerRepository.cs
A src\Repository\Hierarchy
AU src\Repository\Hierarchy\XmlHierarchyConfigurator.cs
AU src\Repository\Hierarchy\RootLogger.cs
AU src\Repository\Hierarchy\LoggerKey.cs
AU src\Repository\Hierarchy\DefaultLoggerFactory.cs
AU src\Repository\Hierarchy\Hierarchy.cs
AU src\Repository\Hierarchy\ProvisionNode.cs
AU src\Repository\Hierarchy\Logger.cs
AU src\Repository\Hierarchy\ILoggerFactory.cs
AU src\ThreadContext.cs
AU src\LogManager.cs
AU src\AssemblyVersionInfo.cpp
A src\Filter
AU src\Filter\FilterDecision.cs
AU src\Filter\MdcFilter.cs
AU src\Filter\StringMatchFilter.cs
AU src\Filter\FilterSkeleton.cs
AU src\Filter\LevelMatchFilter.cs
AU src\Filter\LevelRangeFilter.cs
AU src\Filter\NdcFilter.cs
AU src\Filter\PropertyFilter.cs
AU src\Filter\DenyAllFilter.cs
AU src\Filter\IFilter.cs
AU src\Filter\LoggerMatchFilter.cs
AU pom.xml
AU log4net.include
AU old-log4net.snk.gpg
A extensions
AU extensions\nant.config
A extensions\net
A extensions\net\1.0
A extensions\net\1.0\log4net.Ext.EventID
A extensions\net\1.0\log4net.Ext.EventID\cs
AU extensions\net\1.0\log4net.Ext.EventID\cs\nant.config
A extensions\net\1.0\log4net.Ext.EventID\cs\src
AU extensions\net\1.0\log4net.Ext.EventID\cs\src\EventIDLogImpl.cs
AU extensions\net\1.0\log4net.Ext.EventID\cs\src\log4net.Ext.EventID.csproj
AU extensions\net\1.0\log4net.Ext.EventID\cs\src\IEventIDLog.cs
AU extensions\net\1.0\log4net.Ext.EventID\cs\src\AssemblyInfo.cs
AU extensions\net\1.0\log4net.Ext.EventID\cs\src\EventIDLogManager.cs
AU extensions\net\1.0\log4net.Ext.EventID\cs\nant.build
AU extensions\net\1.0\log4net.Ext.EventID\nant.build
AU extensions\net\1.0\log4net.Ext.EventID\nant.config
A extensions\net\1.0\log4net.Ext.Trace
AU extensions\net\1.0\log4net.Ext.Trace\nant.build
AU extensions\net\1.0\log4net.Ext.Trace\nant.config
A extensions\net\1.0\log4net.Ext.Trace\cs
AU extensions\net\1.0\log4net.Ext.Trace\cs\nant.config
A extensions\net\1.0\log4net.Ext.Trace\cs\src
AU extensions\net\1.0\log4net.Ext.Trace\cs\src\ITraceLog.cs
AU extensions\net\1.0\log4net.Ext.Trace\cs\src\AssemblyInfo.cs
AU extensions\net\1.0\log4net.Ext.Trace\cs\src\TraceLogManager.cs
AU extensions\net\1.0\log4net.Ext.Trace\cs\src\TraceLogImpl.cs
AU extensions\net\1.0\log4net.Ext.Trace\cs\src\log4net.Ext.Trace.csproj
AU extensions\net\1.0\log4net.Ext.Trace\cs\nant.build
A extensions\net\1.0\log4net.Ext.MarshalByRef
AU extensions\net\1.0\log4net.Ext.MarshalByRef\nant.config
A extensions\net\1.0\log4net.Ext.MarshalByRef\cs
AU extensions\net\1.0\log4net.Ext.MarshalByRef\cs\nant.config
A extensions\net\1.0\log4net.Ext.MarshalByRef\cs\src
AU extensions\net\1.0\log4net.Ext.MarshalByRef\cs\src\AssemblyInfo.cs
AU extensions\net\1.0\log4net.Ext.MarshalByRef\cs\src\MarshalByRefLogManager.cs
AU extensions\net\1.0\log4net.Ext.MarshalByRef\cs\src\MarshalByRefLogImpl.cs
AU extensions\net\1.0\log4net.Ext.MarshalByRef\cs\src\log4net.Ext.MarshalByRef.csproj
AU extensions\net\1.0\log4net.Ext.MarshalByRef\cs\nant.build
AU extensions\net\1.0\log4net.Ext.MarshalByRef\nant.build
AU extensions\net\1.0\cs-extensions.sln
AU extensions\net\1.0\nant.build
AU extensions\net\1.0\nant.config
AU extensions\net\nant.build
AU extensions\net\nant.config
AU extensions\nant.build
AU STATUS.txt
AU build.cmd
AU log4net.snk.readme
A tests
AU tests\nant.build
A tests\lib
AU tests\lib\prerequisites.txt
A tests\src
A tests\src\Core
AU tests\src\Core\FixingTest.cs
AU tests\src\Core\ShutdownTest.cs
AU tests\src\Core\StringFormatTest.cs
AU tests\src\Core\EvaluatorTest.cs
AU tests\src\log4net.Tests.vs2003.csproj
A tests\src\Layout
AU tests\src\Layout\DynamicPatternLayoutTest.cs
AU tests\src\Layout\PatternLayoutTest.cs
AU tests\src\Layout\XmlLayoutTest.cs
A tests\src\Util
AU tests\src\Util\EnvironmentPatternConverterTest.cs
AU tests\src\Util\TransformTest.cs
AU tests\src\Util\RandomStringPatternConverterTest.cs
AU tests\src\Util\CyclicBufferTest.cs
AU tests\src\Util\SystemInfoTest.cs
AU tests\src\Util\PropertiesDictionaryTest.cs
AU tests\src\Util\LogLogTest.cs
AU tests\src\Util\PatternStringTest.cs
AU tests\src\Util\PatternConverterTest.cs
AU tests\src\log4net.Tests.vs2008.csproj
A tests\src\Appender
AU tests\src\Appender\AdoNetAppenderTest.cs
AU tests\src\Appender\TraceAppenderTest.cs
AU tests\src\Appender\EventLogAppenderTest.cs
AU tests\src\Appender\RemotingAppenderTest.cs
AU tests\src\Appender\CountingAppender.cs
AU tests\src\Appender\RollingFileAppenderTest.cs
AU tests\src\Appender\StringAppender.cs
A tests\src\Appender\AdoNet
AU tests\src\Appender\AdoNet\Log4NetParameterCollection.cs
AU tests\src\Appender\AdoNet\Log4NetCommand.cs
AU tests\src\Appender\AdoNet\Log4NetConnection.cs
AU tests\src\Appender\AdoNet\Log4NetParameter.cs
AU tests\src\Appender\AdoNet\Log4NetTransaction.cs
AU tests\src\Appender\BufferingAppenderTest.cs
A tests\src\Hierarchy
AU tests\src\Hierarchy\Hierarchy.cs
AU tests\src\Hierarchy\Logger.cs
AU tests\src\AssemblyInfo.cs
A tests\src\LoggerRepository
AU tests\src\LoggerRepository\ConfigurationMessages.cs
A tests\src\DateFormatter
AU tests\src\DateFormatter\AbsoluteTimeDateFormatterTest.cs
A tests\src\Context
AU tests\src\Context\ThreadContextTest.cs
AU tests\src\Utils.cs
A tests\src\Filter
AU tests\src\Filter\FilterTest.cs
AU tests\src\log4net.Tests.vs2010.csproj
AU log4net.snk
U .
At revision 1507544
Executing command: cmd.exe /C ""F:\hudson\tools\nant-0.92\bin\NAnt.exe -buildfile:log4net.build && exit %%ERRORLEVEL%%""
[log4net-trunk-build] $ cmd.exe /C '"F:\hudson\tools\nant-0.92\bin\NAnt.exe -buildfile:log4net.build && exit %%ERRORLEVEL%%"'
log4net:ERROR XmlConfiguratorAttribute: Exception getting ConfigurationFileLocation. Must be able to resolve ConfigurationFileLocation when ConfigFile and ConfigFileExtension properties are not set.
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize)
at log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(Assembly sourceAssembly, ILoggerRepository targetRepository)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.FileIOPermission
The Zone of the assembly that failed was:
Internet
Unhandled Exception: System.Security.SecurityException: Request for ConfigurationPermission failed while attempting to access configuration section 'nant'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared. ---> System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca)
--- End of inner exception stack trace ---
at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at NAnt.Console.ConsoleStub.Framework.GetRuntimeFramework()
at NAnt.Console.ConsoleStub.Main(String[] args)
Build step 'Execute NAnt build' marked build as failure
AW: Build failed in Jenkins: log4net-trunk-build #1
Posted by Dominik Psenner <dp...@gmail.com>.
>-----Ursprüngliche Nachricht-----
>Von: Stefan Bodewig [mailto:bodewig@apache.org]
>Gesendet: Freitag, 2. August 2013 07:57
>An: Log4NET Dev
>Betreff: Re: Build failed in Jenkins: log4net-trunk-build #1
>
>On 2013-08-01, Dominik Psenner wrote:
>
>> The last few lines indicate a windows 7 security related issue with
>> nant.
>
>Yes, I know, I've already told our infra guys.
>
>> I've run into this a few time
>
>Same here:
>
><http://stefan.samaflost.de/blog/en/Apache/Log4Net/working_on_the_1.2.
>11_release.html>
>
>:-)
>
>Thanks
Nothing there to thank me for. I'm glad you're taking care of this! ;-)
Cheers
Re: Build failed in Jenkins: log4net-trunk-build #1
Posted by Stefan Bodewig <bo...@apache.org>.
On 2013-08-01, Dominik Psenner wrote:
> The last few lines indicate a windows 7 security related issue with
> nant.
Yes, I know, I've already told our infra guys.
> I've run into this a few time
Same here:
<http://stefan.samaflost.de/blog/en/Apache/Log4Net/working_on_the_1.2.11_release.html>
:-)
Thanks
Stefan
Re: Build failed in Jenkins: log4net-trunk-build #1
Posted by Dominik Psenner <dp...@gmail.com>.
The last few lines indicate a windows 7 security related issue with
nant. I've run into this a few time and there's already an answer on
stackoverflow:
http://stackoverflow.com/questions/8605122/how-do-i-resolve-configuration-errors-with-nant-0-91
And yes, believe it or not, on windows 7 you have to open the properties
on a zip file and click on a button to be able to execute its extracted
contents..
Stefan, I hope this helps.
Cheers,
Dominik
On 07/27/2013 03:35 AM, Apache Jenkins Server wrote:
> See <https://builds.apache.org/job/log4net-trunk-build/1/>
> [...]
> Executing command: cmd.exe /C ""F:\hudson\tools\nant-0.92\bin\NAnt.exe -buildfile:log4net.build && exit %%ERRORLEVEL%%""
> [log4net-trunk-build] $ cmd.exe /C '"F:\hudson\tools\nant-0.92\bin\NAnt.exe -buildfile:log4net.build && exit %%ERRORLEVEL%%"'
> log4net:ERROR XmlConfiguratorAttribute: Exception getting ConfigurationFileLocation. Must be able to resolve ConfigurationFileLocation when ConfigFile and ConfigFileExtension properties are not set.
> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
> at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
> at System.Security.CodeAccessPermission.Demand()
> at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize)
> at log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(Assembly sourceAssembly, ILoggerRepository targetRepository)
> The action that failed was:
> Demand
> The type of the first permission that failed was:
> System.Security.Permissions.FileIOPermission
> The Zone of the assembly that failed was:
> Internet
>
> Unhandled Exception: System.Security.SecurityException: Request for ConfigurationPermission failed while attempting to access configuration section 'nant'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared. ---> System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.
> at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
> at System.Security.CodeAccessPermission.Demand()
> at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca)
> --- End of inner exception stack trace ---
> at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca)
> at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
> at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
> at System.Configuration.ConfigurationManager.GetSection(String sectionName)
> at NAnt.Console.ConsoleStub.Framework.GetRuntimeFramework()
> at NAnt.Console.ConsoleStub.Main(String[] args)
> Build step 'Execute NAnt build' marked build as failure
Re: Jenkins build is back to normal : log4net-trunk-build #3
Posted by Stefan Bodewig <bo...@apache.org>.
On 2013-08-03, Dominik Psenner wrote:
> Whether it builds cleanly or not doesn't actually matter. We can fix the
> errors when the build system builds our targets. When the tests are run too
> it seems to be complete.
I've just enabled the tests, they'll probably run on .NET 4.0.
Just before that I've blown the dust off off my XP VM which has .NET 1.0
up to 4.0 installed, it's the machine I used to create the Windows parts
of the 1.2.11 release - I found a small .NET 1.x problem and fixed it.
I've played with running the test on different frameworks (right now
they fail for me on 4.0, BTW, which should create a nice mail from
Jenkins) but they couldn't find NUnit, quite likely I have the 4.0
framework version installed and need to look into it later.
> At least I have no idea now, but that can be due to the heat. 38
> degrees and beyond tilts my brain.
We had that last Friday, I know pretty well what you are talking about.
Stefan
Re: Jenkins build is back to normal : log4net-trunk-build #3
Posted by Dominik Psenner <dp...@gmail.com>.
GJ INFRA! :-)
Whether it builds cleanly or not doesn't actually matter. We can fix the
errors when the build system builds our targets. When the tests are run too
it seems to be complete. At least I have no idea now, but that can be due
to the heat. 38 degrees and beyond tilts my brain.
2013/8/3 Stefan Bodewig <bo...@apache.org>
> On 2013-08-03, Dominik Psenner wrote:
>
> > Looks like it is working. Here we have the first nightly build:
>
> >
> https://builds.apache.org/job/log4net-trunk-build/ws/bin/*zip*/log4net-nightly.zip
>
> > Only Mono is left out of the build.
>
> > Hooray!
>
> Yes, many thanks to Gav and the infra crew for installing stuff for us.
>
> This job will be triggered by svn commits, so it's real CI not "nightly
> build".
>
> So far it doesn't run any tests, I intend to add that either as a
> separate Jenkins job or as additional build steps (which will be easier,
> I guess). Should we do anything else?
>
> Mono likely won't become available as Mono isn't installed on the
> Jenkins nodes - and if it was the build would likely fail as it really
> only builds cleanly on Mono < 2.6 IIRC.
>
> Stefan
>
--
Dominik Psenner
## OpenPGP Key Signature #################################
# Key ID: B469318C #
# Fingerprint: 558641995F7EC2D251354C3A49C7E3D1B469318C #
##########################################################
Re: Jenkins build is back to normal : log4net-trunk-build #3
Posted by Stefan Bodewig <bo...@apache.org>.
On 2013-08-03, Dominik Psenner wrote:
> Looks like it is working. Here we have the first nightly build:
> https://builds.apache.org/job/log4net-trunk-build/ws/bin/*zip*/log4net-nightly.zip
> Only Mono is left out of the build.
> Hooray!
Yes, many thanks to Gav and the infra crew for installing stuff for us.
This job will be triggered by svn commits, so it's real CI not "nightly
build".
So far it doesn't run any tests, I intend to add that either as a
separate Jenkins job or as additional build steps (which will be easier,
I guess). Should we do anything else?
Mono likely won't become available as Mono isn't installed on the
Jenkins nodes - and if it was the build would likely fail as it really
only builds cleanly on Mono < 2.6 IIRC.
Stefan
Re: Jenkins build is back to normal : log4net-trunk-build #3
Posted by Dominik Psenner <dp...@gmail.com>.
Looks like it is working. Here we have the first nightly build:
https://builds.apache.org/job/log4net-trunk-build/ws/bin/*zip*/log4net-nightly.zip
Only Mono is left out of the build.
Hooray!
2013/8/3 Apache Jenkins Server <je...@builds.apache.org>
> See <https://builds.apache.org/job/log4net-trunk-build/3/>
>
>
--
Dominik Psenner
## OpenPGP Key Signature #################################
# Key ID: B469318C #
# Fingerprint: 558641995F7EC2D251354C3A49C7E3D1B469318C #
##########################################################
Jenkins build is back to normal : log4net-trunk-build #3
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/log4net-trunk-build/3/>
Build failed in Jenkins: log4net-trunk-build #2
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/log4net-trunk-build/2/>
------------------------------------------
Started by user dpsenner
Building remotely on windows1 in workspace <https://builds.apache.org/job/log4net-trunk-build/ws/>
Updating https://svn.apache.org/repos/asf/logging/log4net/trunk at revision '2013-08-01T22:20:40.741 +0100'
At revision 1509432
no change for https://svn.apache.org/repos/asf/logging/log4net/trunk since the previous build
Executing command: cmd.exe /C ""F:\hudson\tools\nant-0.92\bin\NAnt.exe -buildfile:log4net.build && exit %%ERRORLEVEL%%""
[log4net-trunk-build] $ cmd.exe /C '"F:\hudson\tools\nant-0.92\bin\NAnt.exe -buildfile:log4net.build && exit %%ERRORLEVEL%%"'
log4net:ERROR XmlConfiguratorAttribute: Exception getting ConfigurationFileLocation. Must be able to resolve ConfigurationFileLocation when ConfigFile and ConfigFileExtension properties are not set.
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.AppDomainSetup.VerifyDir(String dir, Boolean normalize)
at log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(Assembly sourceAssembly, ILoggerRepository targetRepository)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.FileIOPermission
The Zone of the assembly that failed was:
Internet
Unhandled Exception: System.Security.SecurityException: Request for ConfigurationPermission failed while attempting to access configuration section 'nant'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared. ---> System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca)
--- End of inner exception stack trace ---
at System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at NAnt.Console.ConsoleStub.Framework.GetRuntimeFramework()
at NAnt.Console.ConsoleStub.Main(String[] args)
Build step 'Execute NAnt build' marked build as failure