Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Molecule test starts to fail on master #4010

Closed
camilamacedo86 opened this issue Oct 11, 2020 · 4 comments
Closed

CI: Molecule test starts to fail on master #4010

camilamacedo86 opened this issue Oct 11, 2020 · 4 comments
Assignees
Labels
area/testing Issue related to testing the operator-sdk and subcomponents language/ansible Issue is related to an Ansible operator project

Comments

@camilamacedo86
Copy link
Contributor

camilamacedo86 commented Oct 11, 2020

Bug Report

What did you do?

The PR"s starts to report this issue.

What did you expect to see?

All CI jobs work well as expected

What did you see instead? Under which circumstances?

The make test-e2e-ansible-molecule finish with The job exceeded the maximum log length, and has been terminated. because it is falling. E.g prs:

   TASK [Create the test.example.com/v1alpha1.SubresourcesTest] *******************
fatal: [localhost]: FAILED! => {"changed": true, "duration": 300, "method": "create", "msg": "Resource creation timed out", "result": {"apiVersion": "test.example.com/v1alpha1", "kind": "SubresourcesTest", "metadata": {"creationTimestamp": "2020-10-12T02:08:07Z", "generation": 1, "managedFields": [{"apiVersion": "test.example.com/v1alpha1", "fieldsType": "FieldsV1", "fieldsV1": {"f:spec": {".": {}, "f:execCommand": {}, "f:logMessage": {}}}, "manager": "OpenAPI-Generator", "operation": "Update", "time": "2020-10-12T02:08:07Z"}, {"apiVersion": "test.example.com/v1alpha1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {".": {}, "f:conditions": {}}}, "manager": "ansible-operator", "operation": "Update", "time": "2020-10-12T02:12:13Z"}], "name": "subresources-test", "namespace": "osdk-test", "resourceVersion": "4472", "selfLink": "/apis/test.example.com/v1alpha1/namespaces/osdk-test/subresourcestests/subresources-test", "uid": "f1eed8a6-13cc-4747-90fe-f88bdf97eb48"}, "spec": {"execCommand": "echo 'hello world'", "logMessage": "Running..."}, "status": {"conditions": [{"lastTransitionTime": "2020-10-12T02:12:05Z", "message": "Running reconciliation", "reason": "Running", "status": "False", "type": "Running"}, {"ansibleResult": {"changed": 0, "completion": "2020-10-12T02:12:12.965865", "failures": 0, "ok": 0, "skipped": 0}, "lastTransitionTime": "2020-10-12T02:12:13Z", "message": "MODULE FAILURE\nSee stdout/stderr for the exact error", "reason": "Failed", "status": "True", "type": "Failure"}]}}}
@camilamacedo86 camilamacedo86 added area/testing Issue related to testing the operator-sdk and subcomponents language/ansible Issue is related to an Ansible operator project labels Oct 11, 2020
@camilamacedo86
Copy link
Contributor Author

c/c @asmacdo @fabianvf

@camilamacedo86 camilamacedo86 changed the title CI: Molecule test starts to fail with The job exceeded the maximum log length, and has been terminated. CI: Molecule test starts to fail master Oct 12, 2020
@camilamacedo86 camilamacedo86 changed the title CI: Molecule test starts to fail master CI: Molecule test starts to fail on master Oct 12, 2020
@camilamacedo86
Copy link
Contributor Author

The version of https://galaxy.ansible.com/community/kubernetes is not pinned and was released in the latest days. So, it might be related to it.

@joelanford
Copy link
Member

I've been seeing this issue as well. I tried pinning community.kubernetes to 1.0.0 and then got a different error related to a timeout waiting for the bsycorp/kind container to be ready.

https://travis-ci.org/github/joelanford/operator-sdk/jobs/734733429#L2971

@asmacdo asmacdo self-assigned this Oct 12, 2020
@asmacdo
Copy link
Member

asmacdo commented Oct 12, 2020

Should be fixed by #4014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Issue related to testing the operator-sdk and subcomponents language/ansible Issue is related to an Ansible operator project
Projects
None yet
Development

No branches or pull requests

4 participants