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

Jobs failing on Travis-CI for Intel architecture #176

Open
kishorkunal-raj opened this issue Oct 15, 2020 · 0 comments
Open

Jobs failing on Travis-CI for Intel architecture #176

kishorkunal-raj opened this issue Oct 15, 2020 · 0 comments

Comments

@kishorkunal-raj
Copy link

Hi All,
I am trying to run tests on Travis-CI for Intel (amd64) architecture but It encountered jobs failures. Jobs failing for python 3.6 & 3.7 with env DJANGO="Django>=3.0,<4.0". Please help me out to fix the issue

logs:
$ source ~/virtualenv/python3.6/bin/activate
$ python --version
Python 3.6.7
$ pip --version
pip 20.1.1 from /home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/pip (python 3.6)
before_install.1
0.00s$ PWD=pwd
before_install.2
0.00s$ echo '## Installing wkhtmltopdf dependencies'
before_install.3
2.11s$ sudo apt-get update -qq
before_install.4
3.95s$ sudo apt-get install -y libxrender1 libfontconfig1 zlib1g libfreetype6 libx11-6 libxext6
before_install.5
0.00s$ echo '## Installing wkhtmltopdf'
before_install.6
0.44s$ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
before_install.7
1.49s$ tar xf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
before_install.8
0.00s$ export WKHTMLTOPDF_CMD="$PWD/wkhtmltox/bin/wkhtmltopdf"
install.1
5.17s$ pip install $DJANGO
install.2
0.72s$ pip install -r test_requirements.txt
install.3
1.30s$ pip install .
4.21s$ make test
python ./wkhtmltopdf/tests/run.py
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
....F.............

FAIL: test_rendered_file_deleted_on_production (wkhtmltopdf.tests.tests.TestUtils)
If WKHTMLTOPDF_DEBUG=False, delete rendered file on object close.

Traceback (most recent call last):
File "/home/travis/build/kishorkunal-raj/django-wkhtmltopdf/wkhtmltopdf/tests/tests.py", line 130, in test_rendered_file_deleted_on_production
self.assertFalse(os.path.isfile(filename))
AssertionError: True is not false

Ran 18 tests in 3.765s
FAILED (failures=1)
Destroying test database for alias 'default'...
Makefile:12: recipe for target 'test' failed
make: *** [test] Error 1
The command "make test" exited with 2.
Done. Your build exited with 1.

Thanks in Advance!

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

No branches or pull requests

1 participant