Return-Path: X-Original-To: apmail-tapestry-dev-archive@www.apache.org Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 014FEFF83 for ; Sat, 17 Aug 2013 22:20:00 +0000 (UTC) Received: (qmail 15898 invoked by uid 500); 17 Aug 2013 22:20:00 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 15877 invoked by uid 500); 17 Aug 2013 22:20:00 -0000 Mailing-List: contact dev-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry development" Delivered-To: mailing list dev@tapestry.apache.org Received: (qmail 15869 invoked by uid 99); 17 Aug 2013 22:20:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Aug 2013 22:20:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dimitris.zenios@gmail.com designates 209.85.219.53 as permitted sender) Received: from [209.85.219.53] (HELO mail-oa0-f53.google.com) (209.85.219.53) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Aug 2013 22:19:53 +0000 Received: by mail-oa0-f53.google.com with SMTP id k18so3738493oag.12 for ; Sat, 17 Aug 2013 15:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=s1YH4JnYGljbNMj49rjcWOWVyDhxlf2sMCPmkAM9Bxg=; b=ZJ2PA0Jh06fowOO8fzcnN+TusIzfDfMq5Cc5btZa+LIHM5Um5E9A8IzRzNwLXhP/8e tbTqo+SkAvXZ0sh6MNkUnExRPjEgdoPZkqBwZpZ5aFFaR/HyMypyuvHX3JipmrfbXfuW FWwXgagT9pk40pB51SFvivwfgf3pDYsiZV8f++5+e4yAZkgdFfyO+RU6xjNEfcKBTCh7 pCYJuViuc+eaaYP/bNJ6LIMr3ju9KxjWe+ixWAuet3/rpgUixGVUR6pgIEgNIXbbYW6C rGt1eIw0nfC57V32bUuO0uUdFUMclSqaFeeRQ3082oJMG9gc1ezsVb68fubjwlDPU46G +mhw== X-Received: by 10.60.46.193 with SMTP id x1mr4769184oem.36.1376777972270; Sat, 17 Aug 2013 15:19:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.68.234 with HTTP; Sat, 17 Aug 2013 15:18:52 -0700 (PDT) In-Reply-To: References: <2054731186.1005.1376358443075.JavaMail.hudson@aegis> <520A9239.6020203@spielviel.de> From: Dimitris Zenios Date: Sun, 18 Aug 2013 01:18:52 +0300 Message-ID: Subject: Re: Fwd: Build failed in Jenkins: tapestry-trunk-freestyle #1131 To: Tapestry development , Howard Lewis Ship , Massimo Lusetti Content-Type: multipart/alternative; boundary=089e013a2c6af8cb5d04e42c1974 X-Virus-Checked: Checked by ClamAV on apache.org --089e013a2c6af8cb5d04e42c1974 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This is a legitimate bug. If your filesystem is case sensitive like most linux os are then classLoader.getResource will return null.After that when calling validateUrl with a null parameter it returns instead of throwing the expected exception (IllegalStateException) of the test case. Most probably if the load resource method returns null it should throw an exception right away.It doesn't need to pass to validateUrl. In a case sensitive operating system if you call classloader getresource with a filename not found it will return NULL as url.So validate url with a null parameter returns without error even though the test was expecting an IllegalStateException P.S:Its very weird that in masimos box all tests are running fine.Most probably he is using a case insensitive filesystem (vfat?).In my box the test fails like CI Below are details of my pc and filesystem. Linux localhost.localdomain 3.10.6-200.fc19.x86_64 #1 SMP Mon Aug 12 14:49:42 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux /dev/mapper/fedora-home on /home type ext4 (rw,relatime,seclabel,data=3Dordered) On Wed, Aug 14, 2013 at 2:56 AM, Howard Lewis Ship wrote= : > Nothing newer than FF21. It might be the JDK though; I'm on JDK > 1.7.0_25-b15. > > The test that is failing is in tapestry-ioc; it's about comparing the cas= e > of the resource to the canonical File to see if the case of the resource > doesn't match the case of the actual file. Again, works for me (and > Massimo) but not on CI and not clear what the difference is. > > > On Tue, Aug 13, 2013 at 1:08 PM, Ulrich St=E4rk wrote: > > > It might be because of outdated versions of Java or Firefox. > > > > Currently installed on the box are FF 17 and JDK 6u26. Tell me if you > want > > me to update it to > > something more recent. > > > > Uli > > > > On 2013-08-13 08:27, Howard Lewis Ship wrote: > > > the broken test worked on my machine, failed on CI. Anyone on a linux > box > > > can give it a whirl? > > > > > > ---------- Forwarded message ---------- > > > From: *Apache Jenkins Server* > > > Date: Monday, August 12, 2013 > > > Subject: Build failed in Jenkins: tapestry-trunk-freestyle #1131 > > > To: dev@tapestry.apache.org, hlship@comcast.net > > > > > > > > > See < > https://builds.apache.org/job/tapestry-trunk-freestyle/1131/changes > > > > > > > > > Changes: > > > > > > [hlship] TAP5-1007: When Tapestry is loading templates or other files > on > > > case-insensitive OSs (Windows) it should trigger an error if the file > > name > > > case is incorrect (which will result in a runtime failure on > > case-sensitive > > > OSs, such as Linux) > > > > > > ------------------------------------------ > > > [...truncated 28433 lines...] > > > PageDocumentGenerator: DEFINED > > > PageElementFactory: DEFINED > > > PageLoader: DEFINED > > > PageMarkupRenderer: DEFINED > > > PageRenderLinkSource: DEFINED > > > PageRenderLinkTransformer: DEFINED > > > PageRenderQueue: DEFINED > > > PageRenderRequestHandler: DEFINED > > > PageResponseRenderer: DEFINED > > > PageSource: DEFINED > > > PartialMarkupRenderer: DEFINED > > > PathConstructor: DEFINED > > > PeriodicExecutor: DEFINED > > > PersistentFieldManager: DEFINED > > > PersistentLocale: DEFINED > > > PerthreadManager: BUILTIN > > > PipelineBuilder: REAL > > > PlasticProxyFactory: BUILTIN > > > PropBindingFactory: DEFINED > > > PropertiesFileParser: DEFINED > > > PropertyAccess: VIRTUAL > > > PropertyConduitSource: DEFINED > > > PropertyShadowBuilder: VIRTUAL > > > RegistryShutdownHub: BUILTIN > > > RegistryStartup: REAL > > > Request: VIRTUAL > > > RequestExceptionHandler: DEFINED > > > RequestGlobals: DEFINED > > > RequestHandler: DEFINED > > > RequestPageCache: DEFINED > > > RequestSecurityManager: DEFINED > > > ResourceChangeTracker: DEFINED > > > ResourceDigestGenerator: DEFINED > > > ResourceDigestManager: DEFINED > > > ResourceMinimizer: DEFINED > > > ResourceStreamer: DEFINED > > > Response: VIRTUAL > > > ResponseCompressionAnalyzer: DEFINED > > > ResponseRenderer: DEFINED > > > SelectModelFactory: DEFINED > > > ServiceActivityScoreboard: BUILTIN > > > ServiceLifecycleSource: REAL > > > ServiceOverride: REAL > > > ServletApplicationInitializer: REAL > > > SessionApplicationStatePersistenceStrategy: DEFINED > > > SessionPersistedObjectAnalyzer: DEFINED > > > StrategyBuilder: VIRTUAL > > > StreamableResourceSource: DEFINED > > > StringInterner: DEFINED > > > SymbolBindingFactory: DEFINED > > > SymbolSource: REAL > > > TapestrySessionFactory: DEFINED > > > TemplateParser: DEFINED > > > ThreadLocale: DEFINED > > > ThunkCreator: DEFINED > > > TranslateBindingFactory: DEFINED > > > TranslatorAlternatesSource: DEFINED > > > TranslatorSource: DEFINED > > > TypeCoercer: REAL > > > URLEncoder: DEFINED > > > UnknownActivationContextHandler: DEFINED > > > UpdateListenerHub: DEFINED > > > ValidateBindingFactory: DEFINED > > > ValidationConstraintGenerator: DEFINED > > > ValidationDecoratorFactory: DEFINED > > > ValidatorMacro: DEFINED > > > ValueEncoderSource: DEFINED > > > > > > 87.11% unrealized services (169/194) > > > > > > Application 'app' (version 0.0.1) startup time: 31 ms to build IoC > > > Registry, 122 ms overall. > > > > > > ______ __ ____ > > > /_ __/__ ____ ___ ___ / /_______ __ / __/ > > > / / / _ `/ _ \/ -_|_- > > /_/ \_,_/ .__/\__/___/\__/_/ \_, / /____/ > > > /_/ /___/ UNKNOWN (development mode) > > > > > > > > > [INFO] AbstractConnector Started SelectChannelConnector@0.0.0.0:9090 > > > [INFO] SslContextFactory Enabled Protocols [SSLv2Hello, SSLv3, TLSv1] > of > > > [SSLv2Hello, SSLv3, TLSv1] > > > [INFO] AbstractConnector Started > SslSelectChannelConnector@0.0.0.0:8443 > > > [INFO] HttpServer Version Jetty/5.1.x > > > [INFO] Container Started > > > HttpContext[/selenium-server/driver,/selenium-server/driver] > > > [INFO] Container Started HttpContext[/selenium-server,/selenium-serve= r] > > > [INFO] Container Started HttpContext[/,/] > > > [INFO] Container Started > > > org.openqa.jetty.jetty.servlet.ServletHandler@6c30908e > > > [INFO] Container Started HttpContext[/wd,/wd] > > > [INFO] SocketListener Started SocketListener on 0.0.0.0:4444 > > > [INFO] Container Started org.openqa.jetty.jetty.Server@46f2227c > > > [INFO] PageLoader Loaded page 'Index' (en) in 149.140 ms > > > [INFO] PageLoader Loaded page 'ContextChecked' (en) in 16.085 ms > > > [INFO] PageActivator Page ContextChecked required an exact activation > > > context, let's handle this > > > [WARN] UnknownActivationContextHandler Activate event on page class > > > org.apache.tapestry5.integration.activationctx2.pages.ContextChecked > was > > > fired with context but was not handled > > > [INFO] PageLoader Loaded page 'ContextUnchecked' (en) in 16.792 ms > > > [INFO] ThreadedServer Stopping Acceptor ServerSocket[addr=3D > > > 0.0.0.0/0.0.0.0,port=3D0,localport=3D4444] > > > [INFO] SocketListener Stopped SocketListener on 0.0.0.0:4444 > > > [INFO] Container Stopped > > > HttpContext[/selenium-server/driver,/selenium-server/driver] > > > [INFO] Container Stopped HttpContext[/selenium-server,/selenium-serve= r] > > > [INFO] Container Stopped HttpContext[/,/] > > > [INFO] Container Stopped > > > org.openqa.jetty.jetty.servlet.ServletHandler@6c30908e > > > [INFO] Container Stopped HttpContext[/wd,/wd] > > > [INFO] Container Stopped org.openqa.jetty.jetty.Server@46f2227c > > > [INFO] ContextHandler stopped o.e.j.w.WebAppContext{,< > > > > > > https://builds.apache.org/job/tapestry-trunk-freestyle/ws/tapestry-core/s= rc/test/activationctx2/ > > > > > > },/var/jenkins/hudson-slave/workspace/tapestry-trunk-freestyle/tapestry-c= ore/src/test/activationctx2> > > > [ERROR] SerializationSupport Unexpected service proxy provider when > > > clearing the provider. This may indicate that you have multiple IoC > > > Registries. > > > :tapestry-core:check > > > :tapestry-core:build > > > :tapestry-core:uploadPublishedUploading: > > > > > > org/apache/tapestry/tapestry-core/5.4-SNAPSHOT/tapestry-core-5.4-20130813= .014303-94.jar > > > to repository remote at > > > https://repository.apache.org/content/repositories/snapshots > > > Transferring 1901K from remote > > > Uploaded 1901K > > > Uploading: > > > > > > org/apache/tapestry/tapestry-core/5.4-SNAPSHOT/tapestry-core-5.4-20130813= .014303-94-sources.jar > > > to repository remote at > > > https://repository.apache.org/content/repositories/snapshots > > > Transferring 2504K from remote > > > Uploaded 2504K > > > > > > :tapestry-func:sourcesJar UP-TO-DATE > > > :tapestry-func:assemble UP-TO-DATE > > > :tapestry-func:compileTestJava UP-TO-DATE > > > :tapestry-func:compileTestGroovy UP-TO-DATE > > > :tapestry-func:processTestResources UP-TO-DATE > > > :tapestry-func:testClasses UP-TO-DATE > > > :tapestry-func:test UP-TO-DATE > > > :tapestry-func:check UP-TO-DATE > > > :tapestry-func:build UP-TO-DATE > > > :tapestry-func:uploadPublishedUploading: > > > > > > org/apache/tapestry/tapestry-func/5.4-SNAPSHOT/tapestry-func-5.4-20130813= .014317-94.jar > > > to repository remote at > > > https://repository.apache.org/content/repositories/snapshots > > > Transferring 64K from remote > > > Uploaded 64K > > > Uploading: > > > > > > org/apache/tapestry/tapestry-func/5.4-SNAPSHOT/tapestry-func-5.4-20130813= .014317-94-sources.jar > > > to repository remote at > > > https://repository.apache.org/content/repositories/snapshots > > > Transferring 41K from remote > > > Uploaded 41K > > > > > > :tapestry-hibernate:compileJava > > > :tapestry-hibernate:compileGroovy UP-TO-DATE > > > :tapestry-hibernate:processResources UP-TO-DATE > > > :tapestry-hibernate:classes > > > :tapestry-hibernate:jar UP-TO-DATE > > > :tapestry-hibernate:sourcesJar UP-TO-DATE > > > :tapestry-hibernate:assemble UP-TO-DATE > > > :tapestry-hibernate:compileTestJavaNote: < > > > > > > https://builds.apache.org/job/tapestry-trunk-freestyle/ws/tapestry-hibern= ate/src/test/java/org/apache/tapestry5/internal/hibernate/HibernateEntityVa= lueEncoderTest.java > > > > > > uses or overrides a deprecated API. > > > Note: Recompile with -Xlint:deprecation for details. > > > > > > :tapestry-hibernate:compileTestGroovy UP-TO-DATE > > > :tapestry-hibernate:processTestResources UP-TO-DATE > > > :tapestry-hibernate:testClasses > > > :tapestry-hibernate:test > > > :tapestry-hibernate:check > > > :tapestry-hibernate:build > > > :tapestry-hibernate:uploadPublishedUploading: > > > > > > org/apache/tapestry/tapestry-hibernate/5.4-SNAPSHOT/tapestry-hibernate-5.= 4-20130813.014356-94.jar > > > to repository remote at > > > https://repository.apache.org/content/repositories/snapshots > > > Transferring 31K from remote > > > Uploaded 31K > > > Uploading: > > > > > > org/apache/tapestry/tapestry-hibernate/5.4-SNAPSHOT/tapestry-hibernate-5.= 4-20130813.014356-94-sources.jar > > > to repository remote at > > > https://repository.apache.org/content/repositories/snapshots > > > Transferring 28K from remote > > > Uploaded 28K > > > > > > :tapestry-hibernate-core:sourcesJar UP-TO-DATE > > > :tapestry-hibernate-core:assemble UP-TO-DATE > > > :tapestry-hibernate-core:compileTestJavaNote: Some input files use or > > > override a deprecated API. > > > Note: Recompile with -Xlint:deprecation for details. > > > > > > :tapestry-hibernate-core:compileTestGroovy UP-TO-DATE > > > :tapestry-hibernate-core:processTestResources UP-TO-DATE > > > :tapestry-hibernate-core:testClasses > > > :tapestry-hibernate-core:test > > > [WARN] DTDEntityResolver HHH000223: Recognized obsolete hibernate > > namespace > > > http://hibernate.sourceforge.net/. Use namespace > > > http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 > Migration > > > Guide! > > > [WARN] ConnectionProviderInitiator HHH000022: c3p0 properties were > > > encountered, but the > > > org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvide= r > > > provider class was not found on the classpath; these properties are > going > > > to be ignored. > > > [INFO] HibernateSessionSourceTest Hibernate startup: 511 ms to > configure, > > > 1,398 ms overall. > > > [INFO] HibernateSessionSourceTest Configured Hibernate entities: (non= e) > > > [WARN] DTDEntityResolver HHH000223: Recognized obsolete hibernate > > namespace > > > http://hibernate.sourceforge.net/. Use namespace > > > http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 > Migration > > > Guide! > > > [WARN] ConnectionProviderInitiator HHH000022: c3p0 properties were > > > encountered, but the > > > org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvide= r > > > provider class was not found on the classpath; these properties are > going > > > to be ignored. > > > [INFO] HibernateSessionSourceTest Hibernate startup: 123 ms to > configure, > > > 396 ms overall. > > > [INFO] HibernateSessionSourceTest Configured Hibernate entities: > > > org.example.app0.entities.User > > > :tapestry-hibernate-core:check > > > :tapestry-hibernate-core:build > > > :tapestry-hibernate-core:uploadPublishedUploading: > > > > > > org/apache/tapestry/tapestry-hibernate-core/5.4-SNAPSHOT/tapestry-hiberna= te-core-5.4-20130813.014411-94.jar > > > to repository remote at > > > https://repository.apache.org/content/repositories/snapshots > > > Transferring 31K from remote > > > Uploaded 31K > > > Uploading: > > > > > > org/apache/tapestry/tapestry-hibernate-core/5.4-SNAPSHOT/tapestry-hiberna= te-core-5.4-20130813.014411-94-sources.jar > > > to repository remote at > > > https://repository.apache.org/content/repositories/snapshots > > > Transferring 32K from remote > > > Uploaded 32K > > > > > > :tapestry-internal-test:compileJava > > > :tapestry-internal-test:compileGroovy UP-TO-DATE > > > :tapestry-internal-test:processResources UP-TO-DATE > > > :tapestry-internal-test:classes > > > :tapestry-internal-test:jar UP-TO-DATE > > > :tapestry-internal-test:sourcesJar UP-TO-DATE > > > :tapestry-internal-test:assemble UP-TO-DATE > > > :tapestry-internal-test:compileTestJava UP-TO-DATE > > > :tapestry-internal-test:compileTestGroovy UP-TO-DATE > > > :tapestry-internal-test:processTestResources UP-TO-DATE > > > :tapestry-internal-test:testClasses UP-TO-DATE > > > :tapestry-internal-test:test > > > :tapestry-internal-test:check > > > :tapestry-internal-test:build > > > :tapestry-internal-test:uploadPublishedUploading: > > > > > > org/apache/tapestry/tapestry-internal-test/5.4-SNAPSHOT/tapestry-internal= -test-5.4-20130813.014421-37.jar > > > to repository remote at > > > https://repository.apache.org/content/repositories/snapshots > > > Transferring 3K from remote > > > Uploaded 3K > > > Uploading: > > > > > > org/apache/tapestry/tapestry-internal-test/5.4-SNAPSHOT/tapestry-internal= -test-5.4-20130813.014421-37-sources.jar > > > to repository remote at > > > https://repository.apache.org/< > > https://repository.apache.org/content/repositories/snapshots> > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org > > For additional commands, e-mail: dev-help@tapestry.apache.org > > > > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn how I can get you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com > --089e013a2c6af8cb5d04e42c1974--