Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
/ pulp Public archive

Fixes mongoengine model usage that did not have kwargs #1964

Merged
merged 1 commit into from
Jul 2, 2015

Conversation

bmbouter
Copy link
Member

The upgrade to mongoengine 0.9.0 revealed that parts of the
Pulp codebase which used mongoengine models did not specify
kwargs. This raises an exception (as it should) in mongoengine
0.9.0.

I audited the existing models on 2.7-testing, fixed those, and
I updated the tests to match.

re #934
https://pulp.plan.io/issues/934

The upgrade to mongoengine 0.9.0 revealed that parts of the
Pulp codebase which used mongoengine models did not specify
kwargs. This raises an exception (as it should) in mongoengine
0.9.0.

I audited the existing models on 2.7-testing, fixed those, and
I updated the tests to match.

re pulp#934
https://pulp.plan.io/issues/934
@pulpbot
Copy link
Member

pulpbot commented Jun 30, 2015

Refer to this link for build results (access rights to CI server needed):
https://pulp-jenkins.rhev-ci-vms.eng.rdu2.redhat.com//job/unittest-pulp-pr/1032/

Build result: FAILURE

[...truncated 5 lines...]Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/pulp/pulp.git # timeout=10Fetching upstream changes from https://github.com/pulp/pulp.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/pulp/pulp.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse refs/remotes/origin/pr/1964/merge^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/pr/1964/merge^{commit} # timeout=10Checking out Revision 6393b2385fa71c4aeebac1d99cb0ef0165789824 (refs/remotes/origin/pr/1964/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 6393b2385fa71c4aeebac1d99cb0ef0165789824First time build. Skipping changelog.Triggering rhel5-npTriggering rhel7-npTriggering rhel6-npTriggering f21-nprhel5-np completed with result SUCCESSrhel7-np completed with result FAILURErhel6-np completed with result FAILUREf21-np completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 2 secondSetting status of b5f2daf to FAILURE with url https://pulp-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/unittest-pulp-pr/1032/ and message: Merged build finished.
Test FAILed.

@dkliban
Copy link
Member

dkliban commented Jun 30, 2015

ok test

@dkliban dkliban self-assigned this Jun 30, 2015
@pulpbot
Copy link
Member

pulpbot commented Jun 30, 2015

Refer to this link for build results (access rights to CI server needed):
https://pulp-jenkins.rhev-ci-vms.eng.rdu2.redhat.com//job/unittest-pulp-pr/1033/

Build result: FAILURE

[...truncated 5 lines...]Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/pulp/pulp.git # timeout=10Fetching upstream changes from https://github.com/pulp/pulp.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/pulp/pulp.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse refs/remotes/origin/pr/1964/merge^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/pr/1964/merge^{commit} # timeout=10Checking out Revision 6393b2385fa71c4aeebac1d99cb0ef0165789824 (refs/remotes/origin/pr/1964/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 6393b2385fa71c4aeebac1d99cb0ef0165789824First time build. Skipping changelog.Triggering rhel5-npTriggering rhel7-npTriggering rhel6-npTriggering f21-nprhel5-np completed with result SUCCESSrhel7-np completed with result FAILURErhel6-np completed with result FAILUREf21-np completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 3 secondSetting status of b5f2daf to FAILURE with url https://pulp-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/unittest-pulp-pr/1033/ and message: Merged build finished.
Test FAILed.

@dkliban
Copy link
Member

dkliban commented Jun 30, 2015

ok test

@pulpbot
Copy link
Member

pulpbot commented Jun 30, 2015

Refer to this link for build results (access rights to CI server needed):
https://pulp-jenkins.rhev-ci-vms.eng.rdu2.redhat.com//job/unittest-pulp-pr/1035/

Build result: FAILURE

[...truncated 5 lines...]Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/pulp/pulp.git # timeout=10Fetching upstream changes from https://github.com/pulp/pulp.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/pulp/pulp.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse refs/remotes/origin/pr/1964/merge^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/pr/1964/merge^{commit} # timeout=10Checking out Revision 6393b2385fa71c4aeebac1d99cb0ef0165789824 (refs/remotes/origin/pr/1964/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 6393b2385fa71c4aeebac1d99cb0ef0165789824First time build. Skipping changelog.Triggering rhel5-npTriggering rhel7-npTriggering rhel6-npTriggering f21-nprhel5-np completed with result SUCCESSrhel7-np completed with result FAILURErhel6-np completed with result FAILUREf21-np completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 3 secondSetting status of b5f2daf to FAILURE with url https://pulp-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/unittest-pulp-pr/1035/ and message: Merged build finished.
Test FAILed.

@dkliban
Copy link
Member

dkliban commented Jun 30, 2015

ok test

@pulpbot
Copy link
Member

pulpbot commented Jun 30, 2015

Refer to this link for build results (access rights to CI server needed):
https://pulp-jenkins.rhev-ci-vms.eng.rdu2.redhat.com//job/unittest-pulp-pr/1036/

Build result: FAILURE

[...truncated 5 lines...]Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/pulp/pulp.git # timeout=10Fetching upstream changes from https://github.com/pulp/pulp.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/pulp/pulp.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse refs/remotes/origin/pr/1964/merge^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/pr/1964/merge^{commit} # timeout=10Checking out Revision 6393b2385fa71c4aeebac1d99cb0ef0165789824 (refs/remotes/origin/pr/1964/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 6393b2385fa71c4aeebac1d99cb0ef0165789824First time build. Skipping changelog.Triggering rhel5-npTriggering rhel7-npTriggering rhel6-npTriggering f21-nprhel5-np completed with result SUCCESSrhel7-np completed with result FAILURErhel6-np completed with result FAILUREf21-np completed with result FAILUREStarted calculate disk usage of buildFinished Calculation of disk usage of build in 0 secondsStarted calculate disk usage of workspaceFinished Calculation of disk usage of workspace in 3 secondSetting status of b5f2daf to FAILURE with url https://pulp-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/unittest-pulp-pr/1036/ and message: Merged build finished.
Test FAILed.

@dkliban dkliban merged commit b5f2daf into pulp:2.7-testing Jul 2, 2015
@bmbouter bmbouter deleted the 934-baltic-porter branch July 6, 2015 13:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants