Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix broken integration tests on Jenkins. #3365

Merged
merged 2 commits into from Dec 26, 2016

Conversation

Projects
None yet
2 participants
@jmchilton
Copy link
Member

commented Dec 24, 2016

See individual commits for details.

jmchilton added some commits Dec 24, 2016

Don't override Global tempfile.tmpdir for tests.
Tests may bring up multiple Galaxy instances - for integration tests this leads to a longer temp path with each new Galaxy instance brought up. This in turn breaks Conda for tests on Jenkins.
Fix broken integration test.
It was simply checking the wrong condition.
@jmchilton

This comment has been minimized.

Copy link
Member Author

commented Dec 26, 2016

@galaxybot test this

@bgruening bgruening merged commit 261524e into galaxyproject:dev Dec 26, 2016

4 checks passed

api test Build finished. 244 tests run, 0 skipped, 0 failed.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
framework test Build finished. 132 tests run, 0 skipped, 0 failed.
Details
toolshed test Build finished. 580 tests run, 0 skipped, 0 failed.
Details
@bgruening

This comment has been minimized.

Copy link
Member

commented Dec 26, 2016

Thanks John!

@jmchilton

This comment has been minimized.

Copy link
Member Author

commented Dec 26, 2016

It almost worked - all the tests now pass on the new Jenkins node:

Activating virtualenv at .venv
test_condition_any_failure (integration.test_job_resubmission.JobResubmissionIntegrationTestCase) ... ok
test_condition_attempt (integration.test_job_resubmission.JobResubmissionIntegrationTestCase) ... ok
test_condition_expressions (integration.test_job_resubmission.JobResubmissionIntegrationTestCase) ... ok
test_condition_seconds_running (integration.test_job_resubmission.JobResubmissionIntegrationTestCase) ... ok
Test FailsJobRunner used by remaining re-submission test cases. ... ok
Test initial destination dynamic rule used by remaining re-submission test case works. ... ok
test_memory_resubmission (integration.test_job_resubmission.JobResubmissionIntegrationTestCase) ... ok
test_resubmission_after_delay (integration.test_job_resubmission.JobResubmissionIntegrationTestCase) ... ok
test_resubmission_after_delay_expression (integration.test_job_resubmission.JobResubmissionIntegrationTestCase) ... ok
test_retry_tools_have_resource_params (integration.test_job_resubmission.JobResubmissionIntegrationTestCase) ... ok
test_unknown_error (integration.test_job_resubmission.JobResubmissionIntegrationTestCase) ... ok
test_walltime_resubmission (integration.test_job_resubmission.JobResubmissionIntegrationTestCase) ... ok
test_multi_data_param (integration.test_pulsar_embedded.EmbeddedPulsarIntegrationTestCase) ... ok
test_tool_simple_constructs (integration.test_pulsar_embedded.EmbeddedPulsarIntegrationTestCase) ... ok
test_work_dir_outputs (integration.test_pulsar_embedded.EmbeddedPulsarIntegrationTestCase) ... ok
Python 2.7.11 :: Continuum Analytics, Inc.
test_conda_clean (integration.test_resolvers.CondaResolutionIntegrationTestCase) ... ok
test_conda_install_through_tools_api (integration.test_resolvers.CondaResolutionIntegrationTestCase) ... ok
Test that dependency is not installed (response['dependency_type'] == 'null'). ... ok
Test installation of GNUPLOT dependency. ... ok
Test installation of gnuplot with a version that does not exist. ... Error: No packages found in current linux-64 channels matching: gnuplot 4.9999*

You can search for this package on anaconda.org with

    anaconda search -t conda gnuplot 4.9999*

You may need to install the anaconda-client command line client with

    conda install anaconda-client
ok
GET request to dependency_resolvers/dependency with GNUPLOT dependency. ... ok
GET request to dependency_resolvers/dependency with GNUPLOT dependency. ... ok

----------------------------------------------------------------------
XML: /galaxy/xunit-.xml
----------------------------------------------------------------------
Ran 22 tests in 414.422s

OK

https://jenkins.galaxyproject.org/job/docker-integration/2

@jmchilton jmchilton deleted the jmchilton:integration_tests_1 branch Dec 26, 2016

@jmchilton jmchilton referenced this pull request Jan 6, 2017

Closed

Run stable integration tests against PRs #3360

5 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.