Bug 1303930 - Integration tests fails for database
Summary: Integration tests fails for database
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: John W. Lamb
QA Contact: Wang Haoran
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-02 12:52 UTC by Jaspreet Kaur
Modified: 2019-10-10 11:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-02 15:31:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jaspreet Kaur 2016-02-02 12:52:49 UTC
Description of problem:

Jenkins runs the test cases after the build.  The tests attempt to connect to the applications Postgres DB with the following URL:
postgresql://adminimzdq7i:PASSWORD_REMOVED.66.2:5432/test

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

It should work

Expected results:

Below error is seen :

info: No Winston logging transports configured- using console logger
warn: Twilio has not been configured with an authToken and accountSid. No SMS will be sent.
Unhandled rejection SequelizeHostNotReachableError: connect EHOSTUNREACH
    at node_modules/sequelize/lib/dialects/postgres/connection-manager.js:95:20
    at null.<anonymous> (node_modules/pg/lib/client.js:176:5)
    at Socket.<anonymous> (node_modules/pg/lib/connection.js:59:10)
    at net.js:441:14
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results
ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception
java.io.IOException: remote file operation failed: /var/lib/openshift/56a98ddb7628e160f000003c/app-root/runtime/repo at hudson.remoting.Channel@1eb87e2:devbldr: java.io.IOException: Failed to read /var/lib/openshift/56a98ddb7628e160f000003c/app-root/runtime/repo/.bowerrc
Is this really a JUnit report file? Your configuration must be matching too many files


Additional info:

From the Jenkins gear (jenkins-safeline.rhcloud.com), attempting to access the application gear: (dev sd.psafe.mobi)

Comment 1 Dan McPherson 2016-02-02 15:31:54 UTC
This case wasn't supported in v2.  Only the web framework is instantiated for jenkins builds.


Note You need to log in before you can comment on or make changes to this bug.