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

OBE - Ephemeral/parallel E2E tests #30

Closed

Conversation

RothAndrew
Copy link
Contributor

This MR is very much WIP. I've got stuff in there that is helping me dev that will come back out before I'm ready to merge.

I'm currently stuck on zarf init --confirm --host=pipeline.zarf.dev --features=management,logging,utility-cluster

Getting error

time="2021-08-23T23:22:47Z" level=info msg="Loading images for local install"
time="2021-08-23T23:22:47Z" level=info msg="Copying file" Destination=/var/lib/rancher/k3s/agent/images/images-core.tar Source=/tmp/zarf-079504031/images-local.tar
time="2021-08-23T23:22:47Z" level=info msg="Loading manifests for local install, this may take a minute or so to reflect in k3s"
time="2021-08-23T23:22:51Z" level=info msg="Processing manifest file" path=/tmp/zarf-079504031/manifests/traefik-tls.yaml
time="2021-08-23T23:22:51Z" level=info msg="Copying file" Destination=/var/lib/rancher/k3s/server/manifests Source=/tmp/zarf-079504031/manifests
time="2021-08-23T23:22:51Z" level=info msg="Deploying Zarf feature" feature=management
time="2021-08-23T23:22:51Z" level=info msg="Loading files for local install"
time="2021-08-23T23:22:51Z" level=info msg="Deploying Zarf feature" feature=logging
time="2021-08-23T23:22:51Z" level=info msg="Loading charts for local install"
time="2021-08-23T23:22:51Z" level=info msg="Copying file" Destination=/var/lib/rancher/k3s/server/static/charts/loki-stack-2.4.1.tgz Source=/tmp/zarf-079504031/features/logging/charts/loki-stack-2.4.1.tgz
time="2021-08-23T23:22:51Z" level=info msg="Loading images for local install"
time="2021-08-23T23:22:51Z" level=info msg="Copying file" Destination=/var/lib/rancher/k3s/agent/images/images-logging.tar Source=/tmp/zarf-079504031/features/logging/images-local-feature-logging.tar
time="2021-08-23T23:22:51Z" level=info msg="Loading manifests for local install, this may take a minute or so to reflect in k3s"
time="2021-08-23T23:22:51Z" level=info msg="Processing manifest file" path=/tmp/zarf-079504031/features/logging/manifests/pgl-stack.yaml
time="2021-08-23T23:22:51Z" level=info msg="Copying file" Destination=/var/lib/rancher/k3s/server/manifests Source=/tmp/zarf-079504031/features/logging/manifests
time="2021-08-23T23:22:51Z" level=info msg="Deploying Zarf feature" feature=utility-cluster
time="2021-08-23T23:22:51Z" level=info msg="Loading charts for local install"
time="2021-08-23T23:22:51Z" level=info msg="Copying file" Destination=/var/lib/rancher/k3s/server/static/charts/docker-registry-1.10.1.tgz Source=/tmp/zarf-079504031/features/utility-cluster/charts/docker-registry-1.10.1.tgz
time="2021-08-23T23:22:51Z" level=info msg="Copying file" Destination=/var/lib/rancher/k3s/server/static/charts/gitea-2.2.5.tgz Source=/tmp/zarf-079504031/features/utility-cluster/charts/gitea-2.2.5.tgz
time="2021-08-23T23:22:51Z" level=info msg="Loading images for local install"
time="2021-08-23T23:22:51Z" level=info msg="Copying file" Destination=/var/lib/rancher/k3s/agent/images/images-utility-cluster.tar Source=/tmp/zarf-079504031/features/utility-cluster/images-local-feature-utility-cluster.tar
time="2021-08-23T23:22:52Z" level=info msg="Loading manifests for local install, this may take a minute or so to reflect in k3s"
time="2021-08-23T23:22:52Z" level=info msg="Processing manifest file" path=/tmp/zarf-079504031/features/utility-cluster/manifests/gitea.yaml
time="2021-08-23T23:22:52Z" level=info msg="Processing manifest file" path=/tmp/zarf-079504031/features/utility-cluster/manifests/registry.yaml
time="2021-08-23T23:22:52Z" level=info msg="Copying file" Destination=/var/lib/rancher/k3s/server/manifests Source=/tmp/zarf-079504031/features/utility-cluster/manifests
time="2021-08-23T23:22:52Z" level=info msg="Cleaning up temp files"

systemctl [daemon-reload]

systemctl [enable --now k3s]
time="2021-08-23T23:22:57Z" level=info msg="Creating kube config symlink"
time="2021-08-23T23:22:57Z" level=fatal msg="Unable to connect to the K8s clusterstat /root/.kube/config: no such file or directory"

Command to run the test right now is aws-vault exec <yourProfileHere> -- task test:e2e

Fixes #20

@RothAndrew RothAndrew self-assigned this Sep 7, 2021
@RothAndrew RothAndrew changed the title Ephemeral/parallel E2E tests OBE - Ephemeral/parallel E2E tests Oct 5, 2021
@RothAndrew
Copy link
Contributor Author

I intend to close this without merging shortly. Just making sure all the work that's here is either in master or in another branch before this branch gets deleted.

@RothAndrew RothAndrew closed this Oct 7, 2021
@RothAndrew RothAndrew deleted the feature/make-e2e-tests-ephemeral-and-parallel branch October 7, 2021 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ephemeral/parallelizable E2E tests
1 participant