You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/09/22 07:16:13 UTC

[GitHub] [couchdb-helm] flimzy opened a new issue #43: `make test` fails

flimzy opened a new issue #43:
URL: https://github.com/apache/couchdb-helm/issues/43


   **Describe the bug**
   In my work on #42, I'm unable to successfully run the test suite, even on `master`.  I've tried kind 0.9.0, [as well as 0.8.1, which @willholley has reported successfully works for him](https://github.com/apache/couchdb-helm/pull/42#issuecomment-696183021).
   
   **Version of Helm and Kubernetes**:
   
   - Debian 10.5
   - `docker-ce` version 18.06.3~ce
   - kind v0.8.1 go1.15 linux/amd64
   
   
   **What happened**:
   
   ```
   $ make test
   ./test/e2e-kind.sh
   Running ct container...
   9e16a8d8640fdfa36003c17e4ca5d16a9fb13818eda235ad6fc29bb9a2ddc4ae
   
   Deleting cluster "chart-testing" ...
   Creating cluster "chart-testing" ...
    ✓ Ensuring node image (kindest/node:v1.18.2) đŸ–ŧ
    ✓ Preparing nodes đŸ“Ļ đŸ“Ļ  
    ✓ Writing configuration 📜 
    ✓ Starting control-plane 🕹ī¸ 
    ✓ Installing CNI 🔌 
    ✓ Installing StorageClass 💾 
    ✓ Joining worker nodes 🚜 
    ✓ Waiting ≤ 1m0s for control-plane = Ready âŗ 
    â€ĸ Ready after 0s 💚
   Set kubectl context to "kind-chart-testing"
   You can now use your cluster with:
   
   kubectl cluster-info --context kind-chart-testing
   
   Thanks for using kind! 😊
   Copying kubeconfig to container...
   error: Missing or incomplete configuration info.  Please point to an existing, complete config file:
   
     1. Via the command-line flag --kubeconfig
     2. Via the KUBECONFIG environment variable
     3. In your home directory as ~/.kube/config
   
   To view or setup config directly use the 'config' command.
   Removing ct container...
   Deleting cluster "chart-testing" ...
   Done!
   make: *** [Makefile:31: test] Error 1
   ```
   
   **What you expected to happen**:
   
   Tests pass.
   
   **How to reproduce it** (as minimally and precisely as possible):
   
   1. Install kind (`GO111MODULE="on" go get sigs.k8s.io/kind@v0.8.1 && kind create cluster`)
   2. Run `make test`
   
   **Anything else we need to know**:
   
   I expect this is related to my local kubernetes config not matching what the tests expect.  It probably just needs a small update to the README mentioning whatever the missing requirement is.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-helm] flimzy commented on issue #43: `make test` fails

Posted by GitBox <gi...@apache.org>.
flimzy commented on issue #43:
URL: https://github.com/apache/couchdb-helm/issues/43#issuecomment-696577012


   After adding some `set -x` to `e2e-kind.sh`, I see that the failure occurs on this command:
   
   ```
   + docker_exec kubectl cluster-info
   + docker exec --interactive ct kubectl cluster-info
   ```
   
   So I added a `kubectl config view` before that, and see:
   
   ```
   + docker_exec kubectl config view
   + docker exec --interactive ct kubectl config view
   apiVersion: v1
   clusters: null
   contexts: null
   current-context: ""
   kind: Config
   preferences: {}
   users: null
   ```
   
   I'm not sure what I should be expecting to see, though. :thinking: 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-helm] flimzy commented on issue #43: `make test` fails

Posted by GitBox <gi...@apache.org>.
flimzy commented on issue #43:
URL: https://github.com/apache/couchdb-helm/issues/43#issuecomment-696556670






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-helm] flimzy commented on issue #43: `make test` fails

Posted by GitBox <gi...@apache.org>.
flimzy commented on issue #43:
URL: https://github.com/apache/couchdb-helm/issues/43#issuecomment-696556670


   Small update: I've created a new user account with pristine Kubernetes config, and run the same test, and it's still failing. It must be something else. :confused: 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org