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 2015/11/01 13:25:48 UTC

Build failed in Jenkins: log4net-trunk-build #90

See <https://builds.apache.org/job/log4net-trunk-build/90/changes>

Changes:

[dpsenner] LOG4NET-461: refactored the AdoNetAppender

The AdoNetAppender suffered several issues. One was that a database command was
created and stored for the appenders lifetime. This caused trouble with some
database servers because those cleaned up cached prepared statements from time to
time and thus caused the appender to fail without the capability to recover. I
solved this problem by creating a database command whenever the buffer is sent,
well knowing that this costs a little more performance but is much more stable.

At this point I further took the chance to cleanup the source by replacing all
references to private member attributes with their public property mapping.
Further I added and fixed some of the documentation.

This overall cleanup is not yet complete, meaning that there is still a connection
that is being kept alive while it would be wiser to rely on proper connection
pooling and just open/close the database connection when sending the buffer. I
will raise this topic on the dev list.

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on windows1 (Windows) in workspace <https://builds.apache.org/job/log4net-trunk-build/ws/>
Updating https://svn.apache.org/repos/asf/logging/log4net/trunk at revision '2015-11-01T12:25:15.696 +0000'
U         src\Appender\AdoNetAppender.cs
At revision 1711740
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%%"'
NAnt 0.92 (Build 0.92.4543.0; release; 6/9/2012)
Copyright (C) 2001-2012 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///f:/hudson/hudson-slave/workspace/log4net-trunk-build/log4net.build
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: compile-all 


check-current-build-config:


set-build-configuration:


set-debug-build-configuration:


check-current-build-config:


set-build-configuration-flags:


check-current-build-config:


set-framework-configuration:


check-bin-dir:


check-doc-dir:


check-sdkdoc-dir:


check-sdkdoc-debug:


check-current-build-config:


check-build-debug:


check-build-defines:


set-net-4.0-runtime-configuration:


generate-assembly-description:

    [sleep] Sleeping for 500 milliseconds.
   [delete] Deleting file <https://builds.apache.org/job/log4net-trunk-build/ws/_svnrevision.xml.>
   [delete] Deleting file <https://builds.apache.org/job/log4net-trunk-build/ws/src\GeneratedAssemblyInfo.cs.>
  [asminfo] Generated file '<https://builds.apache.org/job/log4net-trunk-build/ws/src\GeneratedAssemblyInfo.cs'.>

compile-all:

     [echo] Compiling all build configurations for all runtime configurations.

set-debug-build-configuration:


check-current-build-config:


set-build-configuration-flags:


compile-build:

     [echo] Compiling all framework versions for the debug build configuration.
     [echo] The .NET Framework 1.0 is not available. Build skipped.
     [echo] The .NET Framework 1.1 is not available. Build skipped.

check-bin-dir:


check-doc-dir:


check-sdkdoc-dir:


check-sdkdoc-debug:


check-current-build-config:


check-build-debug:


check-build-defines:


set-net-2.0-runtime-configuration:

 [property] Target framework changed to "Microsoft .NET Framework 2.0".

check-log4net-basedir:


check-current-bin-dir:


clean-current-bin-dir:

     [echo] Cleaning the bin/net/2.0/debug binaries directory.
   [delete] Deleting directory '<https://builds.apache.org/job/log4net-trunk-build/ws/bin\net\2.0\debug'.>
    [mkdir] Creating directory '<https://builds.apache.org/job/log4net-trunk-build/ws/bin\net\2.0\debug'.>

compile-net-2.0:

      [csc] Compiling 225 files to '<https://builds.apache.org/job/log4net-trunk-build/ws/bin\net\2.0\debug\log4net.dll'.>
      [csc] <https://builds.apache.org/job/log4net-trunk-build/ws/src\Appender\AdoNetAppender.cs(538,16)>: error CS0117: 'string' does not contain a definition for 'IsNullOrWhiteSpace'

BUILD FAILED

<https://builds.apache.org/job/log4net-trunk-build/ws/log4net.build(658,6)>:
External Program Failed: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe (return code was 1)

Total time: 11 seconds.

Build step 'Execute NAnt build' marked build as failure

Jenkins build is back to normal : log4net-trunk-build #91

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/log4net-trunk-build/91/changes>


Re: Build failed in Jenkins: log4net-trunk-build #90

Posted by Dominik Psenner <dp...@gmail.com>.
Darn, that was me. I'll look into this right away.
On 1 Nov 2015 1:25 p.m., "Apache Jenkins Server" <je...@builds.apache.org>
wrote:

> See <https://builds.apache.org/job/log4net-trunk-build/90/changes>
>
> Changes:
>
> [dpsenner] LOG4NET-461: refactored the AdoNetAppender
>
> The AdoNetAppender suffered several issues. One was that a database
> command was
> created and stored for the appenders lifetime. This caused trouble with
> some
> database servers because those cleaned up cached prepared statements from
> time to
> time and thus caused the appender to fail without the capability to
> recover. I
> solved this problem by creating a database command whenever the buffer is
> sent,
> well knowing that this costs a little more performance but is much more
> stable.
>
> At this point I further took the chance to cleanup the source by replacing
> all
> references to private member attributes with their public property mapping.
> Further I added and fixed some of the documentation.
>
> This overall cleanup is not yet complete, meaning that there is still a
> connection
> that is being kept alive while it would be wiser to rely on proper
> connection
> pooling and just open/close the database connection when sending the
> buffer. I
> will raise this topic on the dev list.
>
> ------------------------------------------
> Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Building remotely on windows1 (Windows) in workspace <
> https://builds.apache.org/job/log4net-trunk-build/ws/>
> Updating https://svn.apache.org/repos/asf/logging/log4net/trunk at
> revision '2015-11-01T12:25:15.696 +0000'
> U         src\Appender\AdoNetAppender.cs
> At revision 1711740
> 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%%"'
> NAnt 0.92 (Build 0.92.4543.0; release; 6/9/2012)
> Copyright (C) 2001-2012 Gerry Shaw
> http://nant.sourceforge.net
>
> Buildfile:
> file:///f:/hudson/hudson-slave/workspace/log4net-trunk-build/log4net.build
> Target framework: Microsoft .NET Framework 4.0
> Target(s) specified: compile-all
>
>
> check-current-build-config:
>
>
> set-build-configuration:
>
>
> set-debug-build-configuration:
>
>
> check-current-build-config:
>
>
> set-build-configuration-flags:
>
>
> check-current-build-config:
>
>
> set-framework-configuration:
>
>
> check-bin-dir:
>
>
> check-doc-dir:
>
>
> check-sdkdoc-dir:
>
>
> check-sdkdoc-debug:
>
>
> check-current-build-config:
>
>
> check-build-debug:
>
>
> check-build-defines:
>
>
> set-net-4.0-runtime-configuration:
>
>
> generate-assembly-description:
>
>     [sleep] Sleeping for 500 milliseconds.
>    [delete] Deleting file <
> https://builds.apache.org/job/log4net-trunk-build/ws/_svnrevision.xml.>
>    [delete] Deleting file <
> https://builds.apache.org/job/log4net-trunk-build/ws/src\GeneratedAssemblyInfo.cs
> .>
>   [asminfo] Generated file '<
> https://builds.apache.org/job/log4net-trunk-build/ws/src\GeneratedAssemblyInfo.cs'
> .>
>
> compile-all:
>
>      [echo] Compiling all build configurations for all runtime
> configurations.
>
> set-debug-build-configuration:
>
>
> check-current-build-config:
>
>
> set-build-configuration-flags:
>
>
> compile-build:
>
>      [echo] Compiling all framework versions for the debug build
> configuration.
>      [echo] The .NET Framework 1.0 is not available. Build skipped.
>      [echo] The .NET Framework 1.1 is not available. Build skipped.
>
> check-bin-dir:
>
>
> check-doc-dir:
>
>
> check-sdkdoc-dir:
>
>
> check-sdkdoc-debug:
>
>
> check-current-build-config:
>
>
> check-build-debug:
>
>
> check-build-defines:
>
>
> set-net-2.0-runtime-configuration:
>
>  [property] Target framework changed to "Microsoft .NET Framework 2.0".
>
> check-log4net-basedir:
>
>
> check-current-bin-dir:
>
>
> clean-current-bin-dir:
>
>      [echo] Cleaning the bin/net/2.0/debug binaries directory.
>    [delete] Deleting directory '<
> https://builds.apache.org/job/log4net-trunk-build/ws/bin\net\2.0\debug'.>
>     [mkdir] Creating directory '<
> https://builds.apache.org/job/log4net-trunk-build/ws/bin\net\2.0\debug'.>
>
> compile-net-2.0:
>
>       [csc] Compiling 225 files to '<
> https://builds.apache.org/job/log4net-trunk-build/ws/bin\net\2.0\debug\log4net.dll'
> .>
>       [csc] <
> https://builds.apache.org/job/log4net-trunk-build/ws/src\Appender\AdoNetAppender.cs(538,16)>:
> error CS0117: 'string' does not contain a definition for
> 'IsNullOrWhiteSpace'
>
> BUILD FAILED
>
> <https://builds.apache.org/job/log4net-trunk-build/ws/log4net.build(658,6)
> >:
> External Program Failed:
> C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe (return code was 1)
>
> Total time: 11 seconds.
>
> Build step 'Execute NAnt build' marked build as failure
>