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

Travis CI Python 3.6 errors for Apertium Lint #1864

Open
jayvdb opened this issue Jun 23, 2017 · 4 comments
Open

Travis CI Python 3.6 errors for Apertium Lint #1864

jayvdb opened this issue Jun 23, 2017 · 4 comments

Comments

@jayvdb
Copy link
Member

jayvdb commented Jun 23, 2017

There are now five builds on Travis CI Python 3.6 which all have a problem with ApertiumLintBearTest.test_run, which isnt occurring on Circle CI

https://travis-ci.org/coala/coala-bears/jobs/246104800
https://travis-ci.org/coala/coala-bears/jobs/246287726

https://travis-ci.org/jayvdb/coala-bears/jobs/246104306
https://travis-ci.org/jayvdb/coala-bears/jobs/246271994
https://travis-ci.org/jayvdb/coala-bears/jobs/246287712

=================================== FAILURES ===================================
________________________ ApertiumLintBearTest.test_run _________________________
self = <tests.apertium.ApertiumLintBearTest.ApertiumLintBearTest testMethod=test_run>

    def test_run(self):
        self.section.append(Setting('apertiumlint_config', ''))
        self.check_validity(self.uut, [], self.good_file)

        self.section.append(Setting('apertiumlint_config', self.config_file))
        self.check_validity(self.uut, [], self.good_file)

        self.section.append(Setting('apertiumlint_config', ''))
>       self.check_validity(self.uut, [], self.bad_file, valid=False)

tests/apertium/ApertiumLintBearTest.py:30: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../virtualenv/python3.6.0/lib/python3.6/site-packages/coalib/testing/LocalBearTestHelper.py:92: in check_validity

    settings=settings,

../../../virtualenv/python3.6.0/lib/python3.6/site-packages/coalib/testing/LocalBearTestHelper.py:132: in check_invalidity

    self.assertNotEqual(len(bear_output), 0, msg=msg)

E   AssertionError: 0 == 0 : The local bear 'ApertiumLintBear' yields no result although it should.
@jayvdb
Copy link
Member Author

jayvdb commented Jun 23, 2017

https://pypi.python.org/pypi/apertium_lint is still 0.4 from 2017-04-10, so that isnt the source of the problems.

The failing builds are all Python 3.6.0 , released 2016-12-23, so that shouldnt be the source of new failures.

@jayvdb
Copy link
Member Author

jayvdb commented Jun 23, 2017

It first occurred on https://travis-ci.org/coala/coala-bears/jobs/246009446#L3688 , 19 hours ago. That uses coala-0.12.0.dev20170622121840-py34.py35.py36-none-any.whl

The previous build, green, was coala-0.12.0.dev20170614091755-py34.py35.py36-none-any.whl , so if it was upstream in coala it occurred between 20170614 and 20170622 . There are only a few commits in that time period, and none looks especially related. Also it is strange that only this one test on one version of Python is failing.

@jayvdb
Copy link
Member Author

jayvdb commented Jun 23, 2017

Using Python 3.6.1 fixes the problem: https://travis-ci.org/jayvdb/coala-bears/builds/246319406 :/

jayvdb added a commit to jayvdb/coala-bears that referenced this issue Jun 23, 2017
Temporary solution for a problem with Python 3.6.0 on Travis CI.

Related to coala#1864
@jayvdb
Copy link
Member Author

jayvdb commented Jun 23, 2017

This appears to be related to the newly launched Trusty images https://blog.travis-ci.com/2017-06-21-trusty-updates-2017-Q2-launch , as the previous green build was using the old image, and the erroring builds mentioned above all use the new workers.

gosom pushed a commit to gosom/coala-bears that referenced this issue Jul 15, 2017
Temporary solution for a problem with Python 3.6.0 on Travis CI.

Related to coala#1864
umeshksingla pushed a commit to umeshksingla/coala-bears that referenced this issue Sep 2, 2017
Temporary solution for a problem with Python 3.6.0 on Travis CI.

Related to coala#1864
jayvdb added a commit to jayvdb/coala-bears that referenced this issue Dec 20, 2017
This reverts commit e448909.
Travis has upgraded their default Python to 3.6.3.

Related to coala#1864
jayvdb added a commit to jayvdb/coala-bears that referenced this issue Dec 21, 2017
This reverts commit e448909.
Travis has upgraded their default Python to 3.6.3.

Related to coala#1864
gitmate-bot pushed a commit to jayvdb/coala-bears that referenced this issue Apr 9, 2018
This reverts commit e448909.
Travis has upgraded their default Python to 3.6.3.

Related to coala#1864
gitmate-bot pushed a commit to jayvdb/coala-bears that referenced this issue Apr 22, 2018
This reverts commit e448909.
Travis has upgraded their default Python to 3.6.3.

Related to coala#1864
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants