Commit Graph

9186 Commits

Author SHA1 Message Date
Sajith Sasidharan
497a832ad9 Use Twisted < 20.0.0
Twisted 20.3.0 has dropped Python 2.7 support, so we need to stick to
the prior release as long as we use Python 2.7.
2020-04-17 15:44:39 -04:00
Sajith Sasidharan
a14cee5cce Remove nevow from allmydata.web.root.IncidentReporter
This change calls for an explanation:

- `RenderMixin` doesn't seem to be adding anything here, so it is
   gone.

- The web browser was unhappy without a charset in the response
  (Firefox 74 was anyway), so `content-type` header also gets a
  `charset=UTF-8`.

- Returning a Unicode string made nevow appserver unhappy, so it is
  just a `str`.  The precise error message was:

  exceptions.TypeError: ('Could not adapt', u'An incident report has been saved to logs/incidents/ in the node directory.', <InterfaceClass nevow.inevow.IResource>)

Fixes: ticket:3294
2020-04-17 15:44:39 -04:00
Jean-Paul Calderone
34e85ac515
Merge pull request #707 from tahoe-lafs/3303.disable-eliot-test-suite
Disable Eliot test suite
2020-04-17 14:06:48 -04:00
Sajith Sasidharan
e8695f41a0
Merge pull request #706 from sajith/3299.update-pypy
Use 2.7-buster Docker image for pypy
2020-04-17 06:44:00 -04:00
Jean-Paul Calderone
d308577397
Fixes: ticket:3303 2020-04-16 08:24:31 -04:00
Jean-Paul Calderone
30d0953bcf
Disable the Eliot test suite 2020-04-16 08:24:15 -04:00
Jean-Paul Calderone
2136ef46a1
Merge pull request #695 from tahoe-lafs/3284.remove-magic-folder
Remove magic-folder, now a stand-alone project

See https://github.com/LeastAuthority/magic-folder

Fixes: ticket:3284
2020-04-16 08:07:38 -04:00
Jean-Paul Calderone
66cc6e3b76
Merge pull request #705 from tahoe-lafs/3302.report-listener-creation
Report Foolscap Tub Listener creation stack on failure

This may help ease further debugging of EADDRINUSE failures from the test suite.
2020-04-16 07:57:50 -04:00
Jean-Paul Calderone
71aa17ab0b
I assume it's utf-8 2020-04-15 09:07:23 -04:00
Jean-Paul Calderone
d4d8ce4e13
missing front matter 2020-04-15 08:55:00 -04:00
Jean-Paul Calderone
72ca4e8c53
move the imports 2020-04-15 08:54:50 -04:00
Sajith Sasidharan
4fc6840c10 Build Docker images for pypy 2.7-buster on CircleCI 2020-04-14 17:35:44 -04:00
Sajith Sasidharan
6e6cdb353e Add newsfragment 2020-04-14 16:29:17 -04:00
Sajith Sasidharan
f89ad002f8 Use 2.7-buster Docker image for pypy
Fix failing PyPy CI job.

Fixes: ticket:3299
2020-04-14 16:14:07 -04:00
Jean-Paul Calderone
47bef6038f
news fragment 2020-04-14 08:41:10 -04:00
Jean-Paul Calderone
c73953d94a
Capture and report Foolscap Tub Listener creation stack on error 2020-04-14 08:40:48 -04:00
Jean-Paul Calderone
383ef1cc7b
Merge pull request #704 from tahoe-lafs/3300.github-actions-not-on-all-pushes
GitHub actions not on all pushes

Fixes: ticket:3300
2020-04-13 13:54:42 -04:00
Jean-Paul Calderone
2c6b402e0a
news fragment 2020-04-13 12:20:03 -04:00
Jean-Paul Calderone
e336d977dd
Filter push trigger down to master branch 2020-04-13 12:19:41 -04:00
Jean-Paul Calderone
25edce6257
Don't create the magic-folder directories for each node 2020-04-13 12:13:45 -04:00
Jean-Paul Calderone
20ff76d282
Merge remote-tracking branch 'origin/master' into 3284.remove-magic-folder 2020-04-13 11:50:38 -04:00
Jean-Paul Calderone
e9ff5e864f
Merge pull request #703 from tahoe-lafs/3298.nixos-eliot-ci
Fix Eliot failures on NixOS CI job

Fixes: ticket:3298
2020-04-13 11:46:54 -04:00
Jean-Paul Calderone
694c020862
Merge pull request #702 from tahoe-lafs/3297.deprecations-ci
Fix deprecations CI job

Fixes: ticket:3297
2020-04-13 11:45:53 -04:00
Jean-Paul Calderone
8089f21b4e
Merge pull request #701 from tahoe-lafs/3296.centos-ci
Fix CentOS CI job

Fixes: ticket:3296
2020-04-13 11:44:18 -04:00
Jean-Paul Calderone
5ccc241990
no more libyaml-devel, maybe it was merged into libyaml 2020-04-13 11:04:11 -04:00
Jean-Paul Calderone
74f46b6686
this one renamed too 2020-04-13 11:04:11 -04:00
Jean-Paul Calderone
02ca2ad219
This package has been renamed 2020-04-13 11:04:10 -04:00
Jean-Paul Calderone
333ca2aa0a
news fragment 2020-04-13 11:01:33 -04:00
Jean-Paul Calderone
16d452b682
Skip another Eliot test 2020-04-13 11:01:21 -04:00
Jean-Paul Calderone
03dfb10863
news fragment 2020-04-13 10:37:24 -04:00
Jean-Paul Calderone
3c1bffdc9e
Don't install Twisted trunk@HEAD since it doesn't support Python 2 2020-04-13 10:36:54 -04:00
Jean-Paul Calderone
757dd61eb5
news fragment 2020-04-13 10:11:36 -04:00
Jean-Paul Calderone
37af15c245
Bump CentOS from 7 to 8 on CI 2020-04-13 10:09:25 -04:00
Jean-Paul Calderone
c4dac3eb31
Merge pull request #696 from sajith/3277.github-actions-for-ci
Use GitHub Actions for macOS and Windows CI
2020-04-13 10:05:47 -04:00
meejah
ac590762ba
Merge pull request #681 from meejah/release-prep
3275: run towncrier
2020-03-11 17:35:10 -06:00
meejah
241b5a3d36 use Tox to build NEWS 2020-03-11 10:54:21 -06:00
meejah
602c6d1811 news 2020-03-11 10:54:21 -06:00
meejah
3dd480fd82 tweak release HOWTO 2020-03-11 10:54:16 -06:00
Jean-Paul Calderone
df2144cc30
Merge pull request #697 from sajith/3285.integration-test-posargs
Pass arguments to py.test when running "tox -e integration"

Fixes: ticket:3285
2020-03-10 12:30:19 -04:00
Sajith Sasidharan
bcfd3a5eb8 Pass posargs to py.test when running integration tests
Running "tox -e integration" takes a while.  It would be helpful to
run tests from just one file.  With this change, we can do that, like
so:

  $ tox -e integration -- integration/test_web.py

Or even just one test, like so:

  $ tox -e integration -- integration/test_web.py::test_index

With this investigating failing integration tests will be a little
easier, hopefully.

Fixes: ticket:3285
2020-03-06 15:37:19 -05:00
Sajith Sasidharan
a38029f9db Remove on.release from workflow triggers
Per GitHub's documentation for on.release events, `on.release` event
will run our workflow any time the `release` event occurs, but it is
unclear if Tahoe will need this yet.  Removing for now.
2020-03-06 14:13:05 -05:00
Sajith Sasidharan
c4061fffa0 Fearlessly use codecov.io token 2020-02-27 23:15:51 -05:00
Sajith Sasidharan
29947aad86 Don't run coverage tests on Ubuntu 2020-02-26 09:19:37 -05:00
Sajith Sasidharan
9752d6a2ff Don't run tests periodically
While working on the PR, I never saw this actually working.
2020-02-26 09:15:02 -05:00
Sajith Sasidharan
2d0cf3d3c3 Upload integration.eliot.json if integration tests fail 2020-02-26 09:11:23 -05:00
Sajith Sasidharan
5ba0ba787f Omit codechecks 2020-02-26 09:09:54 -05:00
Sajith Sasidharan
d996cc8d11 Fix a syntax error
Per GitHub, this is not fine:

    - name: [Windows] Do stuff
      run: ...

This is fine:

    - name: Do stuff [Windows]
      run: ...
2020-02-25 23:17:45 -05:00
Sajith Sasidharan
4924cd9c04 Run "tox -e pyinstaller" in a separate step 2020-02-25 23:10:26 -05:00
Sajith Sasidharan
383b102b78 Run integration tests
Run integration tests only on macOS for now, because on Windows and
Ubuntu integration tests get stuck and time out after six hours.
2020-02-25 23:05:03 -05:00
Sajith Sasidharan
1a4ae0fc81 Remove "tox -e py27"
Running "tox -e coverage" is sufficient.
2020-02-25 23:02:35 -05:00