galenframework / galen

Layout and functional testing framework for websites
http://galenframework.com
1.41k stars 163 forks source link

Unable to run galen tests with Jenkins build process results in out of memory #420

Closed ghost closed 8 years ago

ghost commented 8 years ago

+ galen test tests/galen1/Tests/mytest1.test --htmlreport reports --filter 'Landing Page on Desktop in browser phantomjs with http://ec2-52-19-140-230.eu-west-1.compute.amazonaws.com/omnichannel/dev/app-miniquote' -Dphantomjs.binary.path=/usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs

Test: Landing Page on Desktop in browser phantomjs with http://ec2-52-19-140-230.eu-west-1.compute.amazonaws.com/omnichannel/dev/app-miniquote

May 19, 2016 9:32:29 AM org.openqa.selenium.phantomjs.PhantomJSDriverService INFO: executable: /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs May 19, 2016 9:32:29 AM org.openqa.selenium.phantomjs.PhantomJSDriverService INFO: port: 15054 May 19, 2016 9:32:29 AM org.openqa.selenium.phantomjs.PhantomJSDriverService INFO: arguments: [--webdriver=15054, --webdriver-logfile=/var/lib/jenkins/workspace/OC-Dev-Infra/omnichannel-infrastructure/client-infrastructure/phantomjsdriver.log] May 19, 2016 9:32:29 AM org.openqa.selenium.phantomjs.PhantomJSDriverService INFO: environment: {} PhantomJS is launching GhostDriver... [INFO - 2016-05-19T09:32:30.817Z] GhostDriver - Main - running on port 15054 [INFO - 2016-05-19T09:32:31.138Z] Session [9c0d7af0-1da4-11e6-9130-6d5fa38e0866] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":true,"localToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.7 Safari/534.34","webSecurityEnabled":true} [INFO - 2016-05-19T09:32:31.143Z] Session [9c0d7af0-1da4-11e6-9130-6d5fa38e0866] - page.customHeaders: - {} [INFO - 2016-05-19T09:32:31.143Z] Session [9c0d7af0-1da4-11e6-9130-6d5fa38e0866] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"1.9.7","driverName":"ghostdriver","driverVersion":"1.1.0","platform":"linux-unknown-64bit","javascriptEnabled":true,"takesScreenshot":true,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"cssSelectorsEnabled":true,"webStorageEnabled":false,"rotatable":false,"acceptSslCerts":false,"nativeEvents":true,"proxy":{"proxyType":"direct"}} [INFO - 2016-05-19T09:32:31.144Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: 9c0d7af0-1da4-11e6-9130-6d5fa38e0866 wait 20s check tests/galen1/Specs/FirstPage1.gspec --include "desktop" = Skeleton = logo: centered horizontally inside div

autoQuoteAsiaField:
    centered horizontally inside div

homeownerQuoteAsiaField:
    centered horizontally inside div

loginField:
    centered horizontally inside div

startTourField:
    centered horizontally inside div

= Main Section = div: centered horizontally inside screen

logo:
    centered horizontally inside div

loginField:
    aligned vertically all startTourField

run tests/galen1/Pages/FirstPage.js wait 10s check tests/galen1/Specs/LoginPage.gspec --include "desktop" = Skeleton = logo: inside div

loginLabel:
    inside div

useridLabel:
    inside div

useridField:
    inside div

passwordLabel:
    inside div

passwordField:
    inside div

loginButton:
    inside div

= Main Section = div: centered horizontally inside screen

logo:
    centered horizontally inside div

loginLabel:
    above useridLabel

useridLabel:
    aligned vertically left passwordLabel
    left-of useridField

useridField:
    color-scheme < 100% #FFFE9F
    aligned vertically all  passwordField

passwordLabel:
    left-of passwordField

passwordField:

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000e555a000, 196608, 0) failed; error='Cannot allocate memory' (errno=12) #

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (malloc) failed to allocate 196608 bytes for committing reserved memory.

An error report file with more information is saved as:

/tmp/jvm-859/hs_error.log

Build step 'Execute shell' marked build as failure Email was triggered for: Always Sending email for trigger: Always nguyen257@csc.com mnguyen72@csc.com Finished: FAILURE