Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

make e2e-tkgctl-docker fails when run locally #192

Open
7 tasks
jayunit100 opened this issue Jul 14, 2021 · 1 comment
Open
7 tasks

make e2e-tkgctl-docker fails when run locally #192

jayunit100 opened this issue Jul 14, 2021 · 1 comment
Assignees
Labels
area/dx Related to developer experience area/testing not-core-cli

Comments

@jayunit100
Copy link
Contributor

Bug description

  1. is tkgctl as a make target a downstream artifact ? not sure if we use tkg to reference tanzu.
  2. more importantly for me :).... when i run the make e2e-tkgctl-docker target, i get the following error...
updating: ytt/09_miscellaneous/ (stored 0%)                                             
updating: ytt/09_miscellaneous/09_filter.yaml (deflated 57%)                            
updating: ytt/lib/ (stored 0%)                                                          
updating: ytt/lib/validate.star (deflated 70%)                                          
updating: ytt/lib/helpers.star (deflated 74%)                                           
/Users/jayunit100/SOURCE/tanzu-framework/hack/tools/bin/ginkgo -v -trace -nodes=1 --noColor=false  -tags embedproviders pkg/v1/tkg/test/tkgctl/docker                           
                                                                                                                                                                               
Running Suite: tkgctl-docker-e2e                                                                                                                                                
================================                                                                                                                                                
Random Seed: 1626224224                                                                 
Will run 8 of 8 specs                                                                   
                                                                                                                                                                                                                                                                                                                                                                 
Failure [0.001 seconds]                                                                 
[BeforeSuite] BeforeSuite                                                                                                                                                       
/Users/jayunit100/SOURCE/tanzu-framework/pkg/v1/tkg/test/tkgctl/docker/docker_suite_test.go:58                                                                                  

  e2e config file is either not set or invalid                                                                                                                                  
  Expected                                                                              
      <string>:                                                                         
  to exist                                                                              
                                                                                        
  /Users/jayunit100/SOURCE/tanzu-framework/pkg/v1/tkg/test/tkgctl/docker/docker_suite_test.go:61                                                                                
                                                                                        
  Full Stack Trace                                                                      
  github.com/vmware-tanzu/tanzu-framework/pkg/v1/tkg/test/tkgctl/docker.glob..func7(0x0, 0x0, 0x0)                                                                              
        /Users/jayunit100/SOURCE/tanzu-framework/pkg/v1/tkg/test/tkgctl/docker/docker_suite_test.go:61 +0x168                                                                   
  reflect.Value.call(0x32ba000, 0x3bc0ab0, 0x13, 0x3a62f0b, 0x4, 0xc000b5d388, 0x0, 0x0, 0x1, 0xc00090af80, ...)                                                                
        /usr/local/go/src/reflect/value.go:476 +0x8e7                                   
  reflect.Value.Call(0x32ba000, 0x3bc0ab0, 0x13, 0xc000b5d388, 0x0, 0x0, 0xc0003ca460, 0x0, 0xc0003ca4d0)                                                                       
        /usr/local/go/src/reflect/value.go:337 +0xb9                                    
  github.com/onsi/ginkgo/internal/leafnodes.(*synchronizedBeforeSuiteNode).wrapA.func2()                                                                                        
        /Users/jayunit100/go/pkg/mod/github.com/onsi/ginkgo@v1.16.2/internal/leafnodes/synchronized_before_suite_node.go:151 +0xb8                                              
  github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc00043bb60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)                                                   
        /Users/jayunit100/go/pkg/mod/github.com/onsi/ginkgo@v1.16.2/internal/leafnodes/runner.go:113 +0xa3                                                                      
  github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc00043bb60, 0xc000b5d668, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)                                              
        /Users/jayunit100/go/pkg/mod/github.com/onsi/ginkgo@v1.16.2/internal/leafnodes/runner.go:64 +0x15c                                                                      
  github.com/onsi/ginkgo/internal/leafnodes.(*synchronizedBeforeSuiteNode).runA(0xc000a77740, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)                                 
        /Users/jayunit100/go/pkg/mod/github.com/onsi/ginkgo@v1.16.2/internal/leafnodes/synchronized_before_suite_node.go:56 +0x87                                               
  github.com/onsi/ginkgo/internal/leafnodes.(*synchronizedBeforeSuiteNode).Run(0xc000a77740, 0x1, 0x1, 0x0, 0x0, 0x0)                                                           
        /Users/jayunit100/go/pkg/mod/github.com/onsi/ginkgo@v1.16.2/internal/leafnodes/synchronized_before_suite_node.go:42 +0x125                                              
  github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runBeforeSuite(0xc0002fc160, 0x0)                                                                                    
        /Users/jayunit100/go/pkg/mod/github.com/onsi/ginkgo@v1.16.2/internal/specrunner/spec_runner.go:123 +0xff                                                                
  github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0002fc160, 0xc000a3ce00)                                                                                      
        /Users/jayunit100/go/pkg/mod/github.com/onsi/ginkgo@v1.16.2/internal/specrunner/spec_runner.go:63 +0xab                                                                 
  github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0001f8af0, 0x2ea22268, 0xc000622c00, 0x3a82017, 0x11, 0xc0009f4920, 0x2, 0x2, 0x3f4c1d8, 0xc0001da8c0, ...)             
        /Users/jayunit100/go/pkg/mod/github.com/onsi/ginkgo@v1.16.2/internal/suite/suite.go:79 +0x546                                                                           
  github.com/onsi/ginkgo.runSpecsWithCustomReporters(0x3efca00, 0xc000622c00, 0x3a82017, 0x11, 0xc0009f4900, 0x2, 0x2, 0x2)                                                     
        /Users/jayunit100/go/pkg/mod/github.com/onsi/ginkgo@v1.16.2/ginkgo_dsl.go:238 +0x218                                                                                    
  github.com/onsi/ginkgo.RunSpecsWithDefaultAndCustomReporters(0x3efca00, 0xc000622c00, 0x3a82017, 0x11, 0xc000b54f00, 0x1, 0x1, 0x105afc5)                                     
        /Users/jayunit100/go/pkg/mod/github.com/onsi/ginkgo@v1.16.2/ginkgo_dsl.go:221 +0x136                                                                                    
  github.com/vmware-tanzu/tanzu-framework/pkg/v1/tkg/test/tkgctl/docker.TestE2E(0xc000622c00)                                                                                   
        /Users/jayunit100/SOURCE/tanzu-framework/pkg/v1/tkg/test/tkgctl/docker/docker_suite_test.go:55 +0x2bc    

Affected product area (please put an X in all that apply)

  • APIs
  • Addons
  • CLI
  • Docs
  • Installation
  • Plugin
  • Security
  • [ x ] Test and Release
  • [ x ] User Experience

Expected behavior

we should be able to run the make target for github actions that are cluster related locally for dev reproduction

Steps to reproduce the bug

clone this repo, and run make e2e-tkgctl-docker.

Version (include the SHA if the version is not obvious)

main as of 7/14

@randomvariable
Copy link
Contributor

we should document whatever tkgctl is in the process

@vuil vuil changed the title make e2e-tkgctl-docker make e2e-tkgctl-docker fails when run locally Oct 19, 2021
@vuil vuil added the area/dx Related to developer experience label Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/dx Related to developer experience area/testing not-core-cli
Projects
None yet
Development

No branches or pull requests

5 participants