#4258 Pass no-name-constraint to repospanner ca init
Merged by pingou. Opened by puiterwijk.
puiterwijk/pagure fixgo19  into  master

Download 4258.patch

As explained in the documentation and error messages when run with Go1.9 compiled binaries,
there's a Go bug in Go1.9 and earlier that breaks the name constraint.
This should make the tests work on EL7 compiled binaries of repoSpanner.

Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org

rebased onto 57f83a1a74b6699b7849fe3516940211160d459f

pretty please pagure-ci rebuild

I'm getting this error then:

  File "/pagure/tests/test_pagure_repospanner.py", line 240, in setUp
    os.path.join(self.path, 'repospanner', 'pki', 'pagure.key'),
  File "/usr/lib/python2.7/site-packages/requests/api.py", line 68, in get
    return request('get', url, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/api.py", line 50, in request
    response = session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 464, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
    raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))

Jenkins seems to reproduce it: https://ci.centos.org/job/pagure-pr/2209/artifact/pagure/results_centos7-rpms-py2/py-test_pagure_repospanner/view/

1 new commit added

  • Use localhost.localdomain for repoSpanner tests

Right, it was depending on an /etc/hosts entry.
Just fixed that.

rebased onto 200c343d10ccd6aff1ccf50b02c42599597c2003

It's making progress but still not passing: https://ci.centos.org/job/pagure-pr/2223/artifact/pagure/results_centos7-rpms-py2/py-test_pagure_repospanner/view/

  File "/pagure/tests/../pagure/flask_app.py", line 330, in set_request
    flask.g.branches = sorted(flask.g.repo_obj.listall_branches())
  File "/pagure/tests/../pagure/perfrepo.py", line 165, in fake
    resp = real(*args, **kwargs)
GitError: Error performing curl request: (35): SSL connect error

1 new commit added

  • Add --random-cn to repoSpanner ca init

rebased onto e889b0f027f0a662f556bd06a8a84b9fc36936ed

rebased onto 1465e6d0baa910227fca69005678de1743317004

1 new commit added

  • Adjust test, in both cases the push got blocked

1 new commit added

  • Disable bubblewrap in the test environment

rebased onto 55ac31e3640e4bbc34749a56a4b0eef64d8ee8b4

pretty please pagure-ci rebuild

rebased onto 65e68093fbce42a52f2d55acf7b87f23b0160e6a

5 new commits added

  • Make sure that if pypath is set, that gets used as first
  • Disable bubblewrap in the test environment
  • Add --random-cn to repoSpanner ca init
  • Use localhost.localdomain for repoSpanner tests
  • Pass no-name-constraint to repospanner ca init

1 new commit added

  • Update the needle due to strange control chars in CI

6 new commits added

  • Update the needle due to strange control chars in CI
  • Make sure that if pypath is set, that gets used as first
  • Disable bubblewrap in the test environment
  • Add --random-cn to repoSpanner ca init
  • Use localhost.localdomain for repoSpanner tests
  • Pass no-name-constraint to repospanner ca init

rebased onto e022ef0358725ab9292b4a8f5bb863f4cba7b1e5

Pull-Request has been merged by pingou

Metadata