[Openid-specs-ab] RP Testing: regressions since december, service availability

Hans Zandbelt hans.zandbelt at zmartzone.eu
Tue Mar 28 13:47:59 UTC 2017


it looks like there were modifications done to pyoidc on the RP machine
itself that did not cleanly merge with an update [1] and that led to a
syntax error in src/oic/utils/keyio.py so the restart that was done after
the modifications failed [2], all of which was done yesterday Mar 27 11:44
by Roland [3]

I'll have to refer to Roland (the one with the smoking gun in his hand..
;-)) to fix this as I'm not sure why the local modifications were done in
the first place.

Hans.

[1]
oictest at openid-www2:~/projects/pyoidc$ git status
On branch master
Your branch and 'origin/master' have diverged,
and have 13 and 10 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)
You have unmerged paths.
  (fix conflicts and run "git commit")

Changes to be committed:

new file:   .isort.cfg
modified:   .travis.yml
modified:   CHANGELOG.md
modified:   Makefile
modified:   oauth_example/as/as.py
modified:   oauth_example/as/config.py
modified:   oauth_example/as/tre.py
modified:   oauth_example/rp/conf.py
modified:   oauth_example/rp/modules/as_choice.mako.py
modified:   oauth_example/rp/rp.py
modified:   oidc_example/op1/claims_provider.py
modified:   oidc_example/op1/create_jwk_from_cert.py
modified:   oidc_example/op1/oc_server.py
modified:   oidc_example/op2/server.py
modified:   oidc_example/rp2/oidc.py
modified:   oidc_example/rp2/rp2.py
modified:   oidc_example/rp3/rp3.py
modified:   oidc_example/simple_op/src/provider/authn/two_factor.py
modified:   oidc_example/simple_op/src/provider/authn/user_pass.py
modified:   oidc_example/simple_op/src/provider/authn/util.py
modified:   oidc_example/simple_op/src/provider/authn/yubikey.py
modified:   oidc_example/simple_op/src/provider/server/server.py
modified:   oidc_example/simple_op/src/run.py
modified:   oidc_example/simple_rp/src/rp.py
new file:   requirements/quality.in
new file:   requirements/quality.txt
modified:   script/webfinger.py
modified:   setup.py
modified:   src/oic/exception.py
modified:   src/oic/extension/client.py
modified:   src/oic/extension/device_flow.py
modified:   src/oic/extension/heart.py
modified:   src/oic/extension/message.py
modified:   src/oic/extension/pop.py
modified:   src/oic/extension/popjwt.py
modified:   src/oic/extension/proof_of_possesion.py
modified:   src/oic/extension/provider.py
modified:   src/oic/extension/sts.py
modified:   src/oic/extension/token.py
modified:   src/oic/oauth2/base.py
modified:   src/oic/oauth2/consumer.py
modified:   src/oic/oauth2/grant.py
modified:   src/oic/oauth2/message.py
modified:   src/oic/oauth2/provider.py
modified:   src/oic/oauth2/util.py
modified:   src/oic/oic/__init__.py
modified:   src/oic/oic/claims_provider.py
modified:   src/oic/oic/consumer.py
modified:   src/oic/oic/message.py
modified:   src/oic/oic/provider.py
modified:   src/oic/utils/aes.py
modified:   src/oic/utils/authn/client.py
modified:   src/oic/utils/authn/client_saml.py
modified:   src/oic/utils/authn/javascript_login.py
modified:   src/oic/utils/authn/ldap_member.py
modified:   src/oic/utils/authn/ldapc.py
modified:   src/oic/utils/authn/saml.py
modified:   src/oic/utils/authn/user.py
modified:   src/oic/utils/authn/user_cas.py
modified:   src/oic/utils/authz.py
modified:   src/oic/utils/client_management.py
modified:   src/oic/utils/clientdb.py
modified:   src/oic/utils/http_util.py
modified:   src/oic/utils/jwt.py
modified:   src/oic/utils/restrict.py
modified:   src/oic/utils/rp/oauth2.py
modified:   src/oic/utils/sanitize.py
modified:   src/oic/utils/sdb.py
modified:   src/oic/utils/shelve_wrapper.py
modified:   src/oic/utils/stateless.py
modified:   src/oic/utils/time_util.py
modified:   src/oic/utils/userinfo/aa_info.py
modified:   src/oic/utils/userinfo/distaggr.py
modified:   src/oic/utils/userinfo/ldap_info.py
modified:   src/oic/utils/webfinger.py
modified:   tests/fakeoicsrv.py
modified:   tests/mitmsrv.py
modified:   tests/not_yet_test_x_device_flow.py
modified:   tests/test_aes.py
modified:   tests/test_authn_context.py
modified:   tests/test_claims_provider.py
modified:   tests/test_client.py
modified:   tests/test_grant.py
modified:   tests/test_http_util.py
modified:   tests/test_jwt.py
modified:   tests/test_keyio.py
modified:   tests/test_oauth2.py
modified:   tests/test_oauth2_consumer.py
modified:   tests/test_oauth2_message.py
modified:   tests/test_oauth2_provider.py
modified:   tests/test_oic.py
modified:   tests/test_oic_consumer.py
modified:   tests/test_oic_message.py
modified:   tests/test_oic_provider.py
modified:   tests/test_pop.py
modified:   tests/test_popjwt.py
modified:   tests/test_sdb.py
modified:   tests/test_shelve_wrapper.py
modified:   tests/test_time_util.py
modified:   tests/test_token.py
modified:   tests/test_token_handler.py
modified:   tests/test_user.py
modified:   tests/test_util.py
modified:   tests/test_webfinger.py
modified:   tests/test_x_client.py
modified:   tests/test_x_dynreg.py
modified:   tests/test_x_provider.py

Unmerged paths:
  (use "git add <file>..." to mark resolution)

both modified:   src/oic/utils/keyio.py

Untracked files:
  (use "git add <file>..." to include in what will be committed)

src/oic/utils/authn/client.py.local

[2]
Traceback (most recent call last):
  File "server.py", line 9, in <module>
    from oidctest.cp import dump_log
  File
"/usr/local/lib/python3.5/dist-packages/oidctest-0.7.0-py3.5.egg/oidctest/cp/__init__.py",
line 6, in <module>
    from otest.events import Events
  File
"/usr/local/lib/python3.5/dist-packages/otest-0.7.0-py3.5.egg/otest/__init__.py",
line 19, in <module>
    from oic.oauth2 import HttpError
  File
"/usr/local/lib/python3.5/dist-packages/oic-0.9.5.1-py3.5.egg/oic/oauth2/__init__.py",
line 10, in <module>
    from oic.oauth2.message import ASConfigurationResponse
  File
"/usr/local/lib/python3.5/dist-packages/oic-0.9.5.1-py3.5.egg/oic/oauth2/message.py",
line 25, in <module>
    from oic.utils.keyio import key_summary
  File
"/usr/local/lib/python3.5/dist-packages/oic-0.9.5.1-py3.5.egg/oic/utils/keyio.py",
line 12
    <<<<<<< HEAD
     ^
SyntaxError: invalid syntax

[3]
Mar 27 11:43:42 openid-www2 sudo: pam_unix(sudo:session): session opened
for user root by roland_hedberg(uid=0)
Mar 27 11:43:44 openid-www2 sudo: pam_unix(sudo:session): session closed
for user root
Mar 27 11:44:38 openid-www2 sudo:  oictest : TTY=pts/2 ;
PWD=/home/oictest/oidf/oidc_cp_rplib ; USER=root ; COMMAND=/bin/kill 58924
Mar 27 11:44:38 openid-www2 sudo: pam_unix(sudo:session): session opened
for user root by roland_hedberg(uid=0)

On Tue, Mar 28, 2017 at 2:18 PM, Filip Skokan via Openid-specs-ab <
openid-specs-ab at lists.openid.net> wrote:

> Hello,
>
> I am attempting to set a daily run of the conformance test suite to
> account for and test with library's and dependencies updates.
>
> While running the same RP test suite as in december two tests are now
> failing. If i recall correctly there was a big update in the testing
> software right around january.
>
> 1)* rp-userinfo-bearer-body*
> i get 200 OK status code with error body {"error": "invalid_request",
> "error_description": "Token is malformed"}, i should get a userinfo
> response with a valid subject, this test's behavior was correct in
> december. Logs from december show a received body bearer, logs from few
> days ago do not, as if the body was never parsed.
>
> 2) *rp-discovery-webfinger-url*
> Returns a 400 HTML page instead of a well-known webfinger response now,
> this test's behavior was correct in december.
>
> Did anyone pass these tests recently? If so, i would like to get in touch
> to find out what's different.
>
> the testing service over at https://rp.certification.openid.net:8080/ is
> also not available at this time
>
> Best,
> *Filip*
>
> _______________________________________________
> Openid-specs-ab mailing list
> Openid-specs-ab at lists.openid.net
> http://lists.openid.net/mailman/listinfo/openid-specs-ab
>
>


-- 
hans.zandbelt at zmartzone.eu
ZmartZone IAM - www.zmartzone.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20170328/0c406d80/attachment-0001.html>


More information about the Openid-specs-ab mailing list