42 Commits

Author SHA1 Message Date
Barbara Miller
297eaac6dd
update travis.yml and test! 2020-09-21 17:08:39 -07:00
Noah Levitt
e23fa68d65 fix bug clobbering own changes to parent_page
and some other tweaks (python 3.5+, pytest logging config, ...)
2019-10-17 13:47:54 -07:00
Noah Levitt
c651bcdd18 remove some travis-ci debugging stuff 2019-05-16 00:21:28 -07:00
Noah Levitt
f8165dc02b work around pytest issue until fix is out
https://github.com/pytest-dev/pytest/issues/5257
2019-05-15 18:46:21 -07:00
Noah Levitt
fd0fe811e9 so little output from chromium-browser :(
https://travis-ci.org/internetarchive/brozzler/jobs/515942434

could it be problems running as this other user?
2019-04-04 16:09:21 -07:00
Noah Levitt
58d1d1c429 chromium-browser with no args isn't dying at start
what about with all the args?
2019-04-04 14:38:29 -07:00
Noah Levitt
473e891fb4 not sure if --disable-extensions did something 2019-04-04 13:34:45 -07:00
Noah Levitt
6d145c87c8 chromium-browser --disable-extensions ? 2019-04-04 13:24:12 -07:00
Noah Levitt
0d46d8ce19 still trying to figure out what's up with chromium 2019-04-04 13:15:17 -07:00
Noah Levitt
45ac12117a maybe Xvnc.log will tell us something 2019-04-04 13:09:02 -07:00
Noah Levitt
8303fd3ab3 guessing DISPLAY was the issue here
https://travis-ci.org/internetarchive/brozzler/jobs/515882174#L610
2019-04-04 12:50:50 -07:00
Noah Levitt
899794f2da debug what's going on with chromium in travis
see https://travis-ci.org/internetarchive/brozzler/jobs/514858838
(unroll "sudo cat /var/log/brozzler-worker.log")

2019-04-02 20:16:01,792 18595 CRITICAL BrozzlingThread:42073 brozzler.worker.BrozzlerWorker.brozzle_site(worker.py:412) unexpected exception
Traceback (most recent call last):
  File "/opt/brozzler-ve3/lib/python3.6/site-packages/brozzler/worker.py", line 379, in brozzle_site
    enable_youtube_dl=not self._skip_youtube_dl)
  File "/opt/brozzler-ve3/lib/python3.6/site-packages/brozzler/worker.py", line 215, in brozzle_page
    browser, site, page, on_screenshot, on_request)
  File "/opt/brozzler-ve3/lib/python3.6/site-packages/brozzler/worker.py", line 292, in _browse_page
    cookie_db=site.get('cookie_db'))
  File "/opt/brozzler-ve3/lib/python3.6/site-packages/brozzler/browser.py", line 341, in start
    self.websock_url = self.chrome.start(**kwargs)
  File "/opt/brozzler-ve3/lib/python3.6/site-packages/brozzler/chrome.py", line 200, in start
    return self._websocket_url()
  File "/opt/brozzler-ve3/lib/python3.6/site-packages/brozzler/chrome.py", line 247, in _websocket_url
    raise e
Exception: chrome process died with status 1
2019-04-04 12:38:46 -07:00
Noah Levitt
68ce9eac76 debugging travis-ci is a slow process 2019-04-02 13:05:36 -07:00
Noah Levitt
48bb03418f daemontools 2019-03-23 00:26:39 -07:00
Noah Levitt
18b4a26db6 porting ansible config to xenial
no more upstart, switch to daemontools, among other things
2019-03-22 23:50:46 -07:00
Noah Levitt
f2a9908395 travis only has py 3.7 for xenial 2019-03-18 16:20:54 -07:00
Noah Levitt
6f5f090c33 test py 3.7 2019-03-18 15:49:03 -07:00
Noah Levitt
88d3d3b310
why did those tests fail??? (#117)
1.4 for pypi
2018-08-22 14:35:39 -07:00
Noah Levitt
399c097c7c travis-ci install warcprox from github 2018-05-16 15:48:29 -07:00
Noah Levitt
338d2e48f9 update warcprox dependency to include recent fixes 2018-05-16 14:26:51 -07:00
Noah Levitt
9e4737ee0a
try to get chromium 64? (#92)
chromium 64 for travis-ci
2018-02-14 13:43:53 -08:00
Noah Levitt
9ba58de292 this should fix travis build? 2018-02-02 16:25:56 -08:00
Noah Levitt
1a3e15d23b update for warcprox 2.3 2017-12-15 16:47:15 -08:00
Noah Levitt
2cf3239080 fiddling with travis-ci 2017-12-15 16:02:02 -08:00
Noah Levitt
196cd2c5eb will this fix the travis build? 2017-11-08 17:41:39 -08:00
Noah Levitt
e6b5770f6c try workaround, maybe this is an issue with https://blog.travis-ci.com/2017-06-21-trusty-updates-2017-Q2-launch 2017-06-23 14:07:07 -07:00
Noah Levitt
29b19b1e9d shed some light on the travis-ci error 2017-06-23 13:56:25 -07:00
Noah Levitt
f2227e6759 have travis-ci test against python 3.5 and 3.6 too 2017-05-26 13:28:00 -07:00
Noah Levitt
b3fa7a4e39 quote that shell meta character 2017-04-18 18:46:59 -07:00
Noah Levitt
426916a238 need warcprox in python path for travis tests now 2017-04-18 18:10:18 -07:00
Noah Levitt
12fb9eaa15 use urlcanon library for canonicalization, surtification, scope match rules 2017-03-15 14:59:51 -07:00
Noah Levitt
65f818e901 add travis-ci slack notification to internetarchive/brozzler channel 2017-01-16 12:44:12 -08:00
Noah Levitt
c90c73372e need $DISPLAY set for test_brozzling.py 2016-12-21 15:15:03 -08:00
Noah Levitt
40b4d9bfe8 travis-ci slack integration 2016-12-07 14:46:29 -08:00
Noah Levitt
c9b45a7e76 looks like the problem may have been a bug in ansible 2.2.0.0, so pin to 2.1.3.0 2016-11-14 09:58:13 -08:00
Noah Levitt
054cb255ac cat logs on travis-ci failure 2016-11-08 14:26:12 -08:00
Noah Levitt
62781117b8 tests passed on travis-ci, remove travis debugging lines 2016-10-18 17:31:47 -07:00
Noah Levitt
7a655da563 try to fix error from pip install with extras (pip install file:///...brozzler[webconsole]) by including #egg=brozzler as suggested at https://github.com/pypa/pip/issues/1236#issuecomment-32957253 , travis-ci error can be seen at https://travis-ci.org/internetarchive/brozzler/builds/168727451 2016-10-18 14:36:55 -07:00
Noah Levitt
0317409811 do ansible install as user travis to avoid permissions issues like this https://travis-ci.org/internetarchive/brozzler/builds/168720738 2016-10-18 12:44:18 -07:00
Noah Levitt
53624fd901 I don't know why travis/ansible/pip is failing, try using a file:// url https://travis-ci.org/internetarchive/brozzler/builds/168712667 2016-10-18 12:20:37 -07:00
Noah Levitt
166e87a00e trying to figure out this error from travis-ci 2016-10-18 11:50:55 -07:00
Noah Levitt
0caf365516 travis-ci first try 2016-10-17 18:15:32 -07:00