Giter VIP home page Giter VIP logo

Comments (5)

joshmoore avatar joshmoore commented on July 30, 2024

In my devspace, I'm currently seeing this:


TEST CASE: | Test Comments
-- | --
 
0:00:00.001 (+0:00:00.001)
FAIL (critical)
Parent suite setup failed: WebDriverException: Message: None Stacktrace:     
at java.util.HashMap.putMapEntries (HashMap.java:500)     
at java.util.HashMap.putAll (HashMap.java:784)     
at org.openqa.selenium.remote.DesiredCapabilities. (DesiredCapabilities.java:54)     
at org.openqa.grid.web.servlet.handler.RequestHandler.process (RequestHandler.java:107)     
at org.openqa.grid.web.servlet.DriverServlet.process (DriverServlet.java:83)     
at org.openqa.grid.web.servlet.DriverServlet.doPost (DriverServlet.java:67)     
at javax.servlet.http.HttpServlet.service (HttpServlet.java:707)     
at javax.servlet.http.HttpServlet.service (HttpServlet.java:790)     
at org.seleniumhq.jetty9.servlet.ServletHolder.handle (ServletHolder.java:808)     
at org.seleniumhq.jetty9.servlet.ServletHandler.doHandle (ServletHandler.java:587)     
at org.seleniumhq.jetty9.server.session.SessionHandler.doHandle (SessionHandler.java:221)     
[ Message content over the limit has been removed. ] ....seleniumhq.jetty9.servlet.ServletHandler.doScope (ServletHandler.java:515)     
at org.seleniumhq.jetty9.server.session.SessionHandler.doScope (SessionHandler.java:185)     
at org.seleniumhq.jetty9.server.handler.ContextHandler.doScope (ContextHandler.java:1061)     
at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle (ScopedHandler.java:141)    
at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle (HandlerWrapper.java:97)     
at org.seleniumhq.jetty9.server.Server.handle (Server.java:499)    
at org.seleniumhq.jetty9.server.HttpChannel.handle (HttpChannel.java:310)     
at org.seleniumhq.jetty9.server.HttpConnection.onFillable (HttpConnection.java:257)     
at org.seleniumhq.jetty9.io.AbstractConnection$2.run (AbstractConnection.java:540)     
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:635)    
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool$3.run (QueuedThreadPool.java:555)     
at java.lang.Thread.run (Thread.java:745)


from devspace.

joshmoore avatar joshmoore commented on July 30, 2024

Changes made locally such that robot tests are running: https://web-proxy.openmicroscopy.org/next-ci/job/OMERO-robot/6/console

commit 20d8b42c566818dc0f926db4d86a19dcb8b376fa
Author: jmoore <[email protected]>
Date:   Fri Dec 1 08:50:58 2017 +0000

    Robot improvements

diff --git a/docker-compose.yml b/docker-compose.yml
index e256079..9861e39 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -113,7 +113,7 @@ redis:
     image: redis

 seleniumhub:
-    image: selenium/hub:3.0.0-dubnium
+    image: selenium/hub
     environment:
         - GRID_BROWSER_TIMEOUT=60
         - GRID_TIMEOUT=60
@@ -124,13 +124,13 @@ seleniumhub:
     ports:
         - "4444"
 seleniumfirefox:
-    image: selenium/node-firefox:3.0.0-dubnium
+    image: selenium/node-firefox
     links:
         - seleniumhub:hub
 #    volumes:
 #        - /dev/shm:/dev/shm
 seleniumchrome:
-    image: selenium/node-chrome:3.0.0-dubnium
+    image: selenium/node-chrome
     links:
         - seleniumhub:hub
 #    volumes:

diff --git a/home/jobs/OMERO-robot/config.xml b/home/jobs/OMERO-robot/config.xml
index db4432d..273348a 100644
--- a/home/jobs/OMERO-robot/config.xml
+++ b/home/jobs/OMERO-robot/config.xml
@@ -19,7 +19,7 @@
         <hudson.model.StringParameterDefinition>
           <name>WEBHOST</name>
           <description></description>
-          <defaultValue>next_infra-ci.openmicroscopy.org</defaultValue>
+          <defaultValue>web-proxy.openmicroscopy.org</defaultValue>
         </hudson.model.StringParameterDefinition>
       </parameterDefinitions>
     </hudson.model.ParametersDefinitionProperty>
@@ -71,7 +71,7 @@ mv $WORKSPACE/${ZIP_DIST%.zip} $SRC/dist
 virtualenv $WORKSPACE/omero-virtualenv --system-site-packages
 source $WORKSPACE/omero-virtualenv/bin/activate
 pip install -r $SRC/dist/share/web/requirements-py27-nginx.txt
-pip install &quot;robotframework==3.0&quot; &quot;robotframework-selenium2library==1.8.0&quot;
+pip install --upgrade --pre &quot;robotframework==3.0&quot; &quot;robotframework-selenium2library&quot;

 $SRC/dist/bin/omero config set omero.web.prefix $WEB_PREFIX;

@@ -80,7 +80,7 @@ cd $SRC/dist
 bash ../components/tests/ui/robot_setup.sh
 mv $SRC/dist/robot_ice.config $SRC/components/tests/ui/resources/
 export ICE_CONFIG=$SRC/components/tests/ui/resources/robot_ice.config
-$SRC/dist/bin/omero --path $SRC/components/tests/ui/plugins robot config --protocol http --webhost $WEBHOST --remoteurl &apos;http://seleniumhub:4444/wd/hub&apos; --dc &apos;browse
+$SRC/dist/bin/omero --path $SRC/components/tests/ui/plugins robot config --protocol https --webhost $WEBHOST --remoteurl &apos;http://seleniumhub:4444/wd/hub&apos; --dc &apos;brows

 sed -i.bak -re &apos;s/(\{SERVER_ID\}.*1)/\{SERVER_ID\}      2/&apos; $SRC/components/tests/ui/resources/config.txt

However, there are a few warnings:

  • 1
web-firefox:
Created dir: /home/omero/workspace/OMERO-robot/src/components/tests/ui/target/reports/web/firefox
[ ERROR ] Error in file '/home/omero/workspace/OMERO-robot/src/components/tests/ui/testcases/web/forms_test.txt': Invalid syntax in test case 'Test Search': Setting '[Documentation]' used multiple times.
  • 2 (MANY)
Test Comments                                                         [ WARN ] Using 'Get Element Attribute' without explicit attribute is deprecated.
[ WARN ] Using 'Get Element Attribute' without explicit attribute is deprecated.
[ WARN ] Using 'Get Element Attribute' without explicit attribute is deprecated.
(...lots of repeats...)
  • 3 (Several)
------------------------------------------------------------------------------
Web.Create Scenario :: Tests the tree for creating new projects, d... | FAIL |
Suite teardown failed:
WebDriverException: Message: Session [03c75b9e-e73d-4f2e-a411-56a0b72ee147] was terminated due to TIMEOUT
Stacktrace:
    at org.openqa.grid.internal.ActiveTestSessions.getExistingSession (ActiveTestSessions.java:105)
    at org.openqa.grid.internal.DefaultGridRegistry.getExistingSession (DefaultGridRegistry.java:394)
  • 4
MoveTargetOutOfBoundsException: Message: (158, -68) is out of bounds of viewport width (1224) and height (842)

cc: @will-moore

from devspace.

will-moore avatar will-moore commented on July 30, 2024

from devspace.

joshmoore avatar joshmoore commented on July 30, 2024

Related links:

from devspace.

jburel avatar jburel commented on July 30, 2024

see #88
and ome/openmicroscopy#5606 for test improvement

from devspace.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.