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

Integration tests passing in CI, failing locally #73

Closed
edaniszewski opened this issue Feb 27, 2018 · 2 comments
Closed

Integration tests passing in CI, failing locally #73

edaniszewski opened this issue Feb 27, 2018 · 2 comments
Assignees
Labels

Comments

@edaniszewski
Copy link
Contributor

Description

In my most recent PR (#71) the integration tests in CI passed, but when I ran them locally, I got some failures.

...
        assert 'error_id' in response_data
        assert 'description' in response_data
        assert 'timestamp' in response_data
        assert 'context' in response_data
    
        assert response_data['http_code'] == status_code
>       assert response_data['error_id'] == error_id
E       AssertionError

tests/utils.py:46: AssertionError
======================================================= 13 failed, 107 passed in 31.85 seconds ========================================================
ERROR: InvocationError: '/Users/edaniszewski/dev/vaporio/synse-server/.tox/py36/bin/pytest -s --junitxml=results/pytest/junit.xml --cov-report html:results/cov-html --cov-report term --cov=synse --html=results/pytest/index.html --self-contained-html --profile tests/integration'
_______________________________________________________________________ summary _______________________________________________________________________
ERROR:   py36: commands failed

I need to

  • (a) figure out why it passes on CI but fails remotely
  • (b) figure out why its failing
  • (c) fix the failures
@edaniszewski
Copy link
Contributor Author

I can't recreate this anymore. Either some other work fixed whatever the issue was, or I had something out of date locally that now works after updating. Closing this as no-op.

@edaniszewski
Copy link
Contributor Author

this is happening to me again, so re-opening

@edaniszewski edaniszewski reopened this Mar 12, 2018
edaniszewski pushed a commit that referenced this issue Apr 5, 2018
Migrating to compose v3 and adding image names for builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant