I 2018-07-06 16:08:08.544 INFO 1 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] I 2018-07-06 16:08:09.025 INFO 1 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup I 2018-07-06 16:08:09.147 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' I 2018-07-06 16:08:09.223 INFO 1 --- [ main] c.o.d.h.HoldingsApiApplication : Started HoldingsApiApplication in 21.08 seconds (JVM running for 22.929) I 2018-07-06 16:08:09.226 INFO 1 --- [ main] c.o.d.h.HoldingsApiApplication : I ---------------------------------------------------------- I Application 'Crypto Wealth Tracker' is running! Access URLs: I Local: http://localhost:8080 I External: http://10.52.2.21:8080 I Profile(s): [prod] I ---------------------------------------------------------- I 2018-07-06 16:08:13.545 INFO 1 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring FrameworkServlet 'dispatcherServlet' I 2018-07-06 16:08:13.546 INFO 1 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started I 2018-07-06 16:08:13.728 INFO 1 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 182 ms I 2018-07-06 16:09:05.838 INFO 1 --- [ Thread-4] ConfigServletWebServerApplicationContext : Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@340f438e: startup date [Fri Jul 06 16:07:52 UTC 2018]; root of context hierarchy I 2018-07-06 16:09:05.925 INFO 1 --- [ Thread-4] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
<profile>
<id>e2e</id>
<properties>
<http.port>8000</http.port>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<id>pre-integration-test</id>
<goals>
<goal>start</goal>
</goals>
<configuration>
<arguments>
<argument>--server.port=${http.port}</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>post-integration-test</id>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<configuration>
<workingDirectory>../crypto-pwa</workingDirectory>
</configuration>
<executions>
<execution>
<id>ionic e2e</id>
<goals>
<goal>npm</goal>
</goals>
<phase>integration-test</phase>
<configuration>
<environmentVariables>
<PORT>${http.port}</PORT>
<CI>true</CI>
</environmentVariables>
<arguments>run e2e</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/54b332b6-75bb-4122-bcf2-fc42e93b1c53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/159100F4-E4EA-416F-8B1B-1259818C7DA4%40raibledesigns.com.
sh "Xvfb :99 &"
sh "DISPLAY=:99 mvn install -Pprod,e2e"
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0fc504fa-06fe-4418-b180-d8296e348eee%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5BA82421-6411-4BFD-B015-3049005A2826%40raibledesigns.com.
agent {
label "jenkins-maven"
}
agent {
label "maven-chrome"
}
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CALHFn6NkjF40psTKr3B6%2BGyFM01JVzy_44zQDiRBKNnZAgVXsg%40mail.gmail.com.
E-mail : ahmed.m...@esprit.tn
Réseaux sociaux : https://www.linkedin.com/in/mekkaouiahmed/
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0fc504fa-06fe-4418-b180-d8296e348eee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5BA82421-6411-4BFD-B015-3049005A2826%40raibledesigns.com.To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
Great idea! Are you saying I should be able to change from:agent {
label "jenkins-maven"
}To:agent {
label "maven-chrome"
}Or is there more setup that needs to happen? I tried it and all I get is the following message:There are no nodes with the label ‘maven-chrome’
On a related note, is it possible to get the preview URL that Jenkins X deploys to? I see the following at the end:Preview application is now available at: http://jx-demo.jx-mraible-jx-demo-pr-2.35.189.36.9.nip.io
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/EEC90DD9-F006-438F-A36B-6E4BA4BFD108%40raibledesigns.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0fc504fa-06fe-4418-b180-d8296e348eee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5BA82421-6411-4BFD-B015-3049005A2826%40raibledesigns.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CALHFn6NkjF40psTKr3B6%2BGyFM01JVzy_44zQDiRBKNnZAgVXsg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
stage('Run e2e tests') {
agent {
label "jenkins-nodejs"
}
steps {
container('nodejs') {
sh "echo 'Running e2e tests on ${PREVIEW_URL}...'"
dir ('./crypto-pwa') {
sh "npm install"
sh "Xvfb :99 &"
sh "DISPLAY=:99 npm run e2e -- --baseUrl=$PREVIEW_URL"
}
}
}
}
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CALHFn6PrCDVqCA1hKzU-BeoirTNwfDQ_vvet2xKh0rttgiQ%3DGQ%40mail.gmail.com.
On Jul 9, 2018, at 4:02 PM, Matt Raible <ma...@raibledesigns.com> wrote:Unfortunately, this fails too, but at the least the error message is a little better.(node:195) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.[21:50:08] I/launcher - Running 1 instances of WebDriver[21:50:08] I/direct - Using ChromeDriver directly...[21:51:08] E/launcher - unknown error: DevToolsActivePort file doesn't exist(Driver info: chromedriver=2.40.565383 (76257d1ab79276b2d53ee976b2c3e3b9f335cde7),platform=Linux 4.4.111+ x86_64)[21:51:08] E/launcher - WebDriverError: unknown error: DevToolsActivePort file doesn't exist(Driver info: chromedriver=2.40.565383 (76257d1ab79276b2d53ee976b2c3e3b9f335cde7),platform=Linux 4.4.111+ x86_64)at Object.checkLegacyResponse (/home/jenkins/workspace/mraible_jx-demo_PR-2-C7V4GOQ2ULMKN4TRTR4MOAZTPV7ZLFKNQTNPVQZ5WOVWBQBUXFUA/crypto-pwa/node_modules/selenium-webdriver/lib/error.js:546:15)at parseHttpResponse (/home/jenkins/workspace/mraible_jx-demo_PR-2-C7V4GOQ2ULMKN4TRTR4MOAZTPV7ZLFKNQTNPVQZ5WOVWBQBUXFUA/crypto-pwa/node_modules/selenium-webdriver/lib/http.js:509:13)at doSend.then.response (/home/jenkins/workspace/mraible_jx-demo_PR-2-C7V4GOQ2ULMKN4TRTR4MOAZTPV7ZLFKNQTNPVQZ5WOVWBQBUXFUA/crypto-pwa/node_modules/selenium-webdriver/lib/http.js:441:30)at <anonymous>at process._tickCallback (internal/process/next_tick.js:182:7)From: Task: WebDriver.createSession()Google led me to this https://github.com/GoogleChrome/puppeteer/issues/1834, which says it’s a Chrome on Linux issue. Angular has a related issue too https://github.com/angular/protractor/issues/4850. I’m going to try this solution:webdriver-manager update --versions.chrome 2.37And then I’ll try specifying the following chromeOptions:['--headless', '--disable-gpu', '--no-sandbox', '--disable-extensions', '--disable-dev-shm-usage’]
capabilities: {
'browserName': 'chrome',
'chromeOptions': {
'args': ['--headless', '--disable-gpu', '--no-sandbox', '--disable-extensions', '--disable-dev-shm-usage']
}
},
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/63651303-600A-4321-8EEE-CE77C8907D1D%40raibledesigns.com.