tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Balázs Palcsó <palcso.bal...@gmail.com>
Subject Re: Releasing Tapestry 5.4.5
Date Sun, 28 Apr 2019 21:09:02 GMT
Hello,

I can build 5.5, but 5.4 is failing when trying to run Selenium tests.

Env:

   1. Installed firefox 42 (disabled updates)
   2. Added to gradlew.bat: set PATH="C:\Program Files\Mozilla
   Firefox-42\";%PATH%
   3. JDK version: Java(TM) SE Runtime Environment (build 1.8.0_192-b12)


Trying to run the build with
.\gradlew.bat build
but it is failing with the following:
    23:01:40.338 INFO - Allocated session b9c522e9be454d50aeb08d74ee28e8d9
for http://localhost:9090/, launching...

jar:file:/C:/Users/Balazs/.gradle/caches/modules-2/files-2.1/org.seleniumhq.selenium/selenium-server/2.46.0/9728558d5889b9bbdd8dc9a27a3103e420438e2f/selenium-server-2.46.0.jar!/customProfileDirCUSTFFCHROME
    23:01:40.443 INFO - Preparing Firefox profile...
    23:02:02.143 INFO - Command failed to close cleanly. Destroying
forcefully (v2).
org.openqa.selenium.os.UnixProcess$SeleniumWatchDog@703cbe1f

Tapestry Bean Validator > Tapestry Bean Validatior Integration Tests
STANDARD_ERROR
    23:02:02.508 ERROR - Failed to start new browser session, shutdown
browser and clear all session data
    java.lang.RuntimeException: Timed out waiting for profile to be created!
        at
org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFullProfileToBeCreated(FirefoxChromeLauncher.java:304)
        at
org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.populateCustomProfileDirectory(FirefoxChromeLauncher.java:116)
        at
org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launch(FirefoxChromeLauncher.java:86)
        at
org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launchRemoteSession(FirefoxChromeLauncher.java:343)
        at
org.openqa.selenium.server.browserlaunchers.FirefoxLauncher.launchRemoteSession(FirefoxLauncher.java:102)
        at
org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:400)
        at
org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:144)
        at
org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:105)
        at
org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:808)
        at
org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:435)
        at
org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:405)
        at
org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:151)
        at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526)
        at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479)
        at org.openqa.jetty.http.HttpServer.service(HttpServer.java:920)
        at
org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)
        at
org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)
        at
org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)
        at
org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)
        at
org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:358)
        at
org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:537)

Tapestry Bean Validator > Tapestry Bean Validatior Integration Tests
STANDARD_OUT
    23:02:02.536 INFO - Got result: Failed to start new browser session:
org.openqa.selenium.server.RemoteCommandException: Error while launching
browser on session null
Gradle Test Executor 1 finished executing tests.

org.apache.tapestry5.beanvalidator.integration.TapestryBeanValidationIntegrationTests.testStartup
FAILED
    java.lang.RuntimeException: Could not start Selenium session: Failed to
start new browser session:
org.openqa.selenium.server.RemoteCommandException: Error while launching
browser

        Caused by:
        com.thoughtworks.selenium.SeleniumException: Failed to start new
browser session: org.openqa.selenium.server.RemoteCommandException: Error
while launching browser

Any suggestions?

Many thanks,
Balazs


On Sun, 28 Apr 2019 at 21:20, Bob Harner <bobharner@gmail.com> wrote:

> Instructions are here:
>
>     https://tapestry.apache.org/release-process.html
>
>
> On Sun, Apr 28, 2019, 10:48 AM Balázs Palcsó <palcso.balazs@gmail.com>
> wrote:
>
> > Hello,
> >
> > I would like to create a new release from 5.4.x branch.
> > Any documentation on how to do it?
> > Can somebody help with this please?
> > I guess I don't all the required permissions,
> >
> > Many thanks,
> > Balazs
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message