Skip to content

Instantly share code, notes, and snippets.

@rawlingsj
Created February 28, 2019 11:10
Show Gist options
  • Save rawlingsj/13901f198309ea5c0a8c96866504f54a to your computer and use it in GitHub Desktop.
Save rawlingsj/13901f198309ea5c0a8c96866504f54a to your computer and use it in GitHub Desktop.
go: downloading github.com/bouk/monkey v1.0.0
? github.com/jenkins-x/jx/cmd/ip [no test files]
? github.com/jenkins-x/jx/cmd/jx [no test files]
? github.com/jenkins-x/jx/cmd/jx/app [no test files]
? github.com/jenkins-x/jx/pkg/addon [no test files]
? github.com/jenkins-x/jx/pkg/apis/jenkins.io [no test files]
? github.com/jenkins-x/jx/pkg/apis/jenkins.io/v1 [no test files]
? github.com/jenkins-x/jx/pkg/apps [no test files]
ok github.com/jenkins-x/jx/pkg/auth 0.062s coverage: 33.7% of statements
? github.com/jenkins-x/jx/pkg/auth/mocks [no test files]
ok github.com/jenkins-x/jx/pkg/binaries 0.008s coverage: 41.0% of statements
ok github.com/jenkins-x/jx/pkg/buildnum 0.059s coverage: 35.8% of statements
? github.com/jenkins-x/jx/pkg/buildnum/mocks [no test files]
? github.com/jenkins-x/jx/pkg/buildnum/mocks/matchers [no test files]
ok github.com/jenkins-x/jx/pkg/builds 0.063s coverage: 49.5% of statements
? github.com/jenkins-x/jx/pkg/chats [no test files]
? github.com/jenkins-x/jx/pkg/client/clientset/versioned [no test files]
? github.com/jenkins-x/jx/pkg/client/clientset/versioned/fake [no test files]
? github.com/jenkins-x/jx/pkg/client/clientset/versioned/scheme [no test files]
? github.com/jenkins-x/jx/pkg/client/clientset/versioned/typed/jenkins.io/v1 [no test files]
? github.com/jenkins-x/jx/pkg/client/clientset/versioned/typed/jenkins.io/v1/fake [no test files]
? github.com/jenkins-x/jx/pkg/client/informers/externalversions [no test files]
? github.com/jenkins-x/jx/pkg/client/informers/externalversions/internalinterfaces [no test files]
? github.com/jenkins-x/jx/pkg/client/informers/externalversions/jenkins.io [no test files]
? github.com/jenkins-x/jx/pkg/client/informers/externalversions/jenkins.io/v1 [no test files]
? github.com/jenkins-x/jx/pkg/client/listers/jenkins.io/v1 [no test files]
? github.com/jenkins-x/jx/pkg/client/openapi [no test files]
? github.com/jenkins-x/jx/pkg/client/openapi/all [no test files]
? github.com/jenkins-x/jx/pkg/client/openapi/core [no test files]
? github.com/jenkins-x/jx/pkg/client/openapi/k8s_io_api_batch_v1 [no test files]
? github.com/jenkins-x/jx/pkg/client/openapi/k8s_io_api_core_v1 [no test files]
? github.com/jenkins-x/jx/pkg/client/openapi/k8s_io_api_rbac_v1 [no test files]
? github.com/jenkins-x/jx/pkg/client/openapi/k8s_io_apimachinery_intstr_unversioned [no test files]
? github.com/jenkins-x/jx/pkg/client/openapi/k8s_io_apimachinery_meta_v1 [no test files]
? github.com/jenkins-x/jx/pkg/client/openapi/k8s_io_apimachinery_resource_unversioned [no test files]
? github.com/jenkins-x/jx/pkg/cloud [no test files]
ok github.com/jenkins-x/jx/pkg/cloud/aks 0.007s coverage: 81.2% of statements
ok github.com/jenkins-x/jx/pkg/cloud/amazon 0.069s coverage: 8.7% of statements
ok github.com/jenkins-x/jx/pkg/cloud/buckets 0.011s coverage: 6.4% of statements
ok github.com/jenkins-x/jx/pkg/cloud/gke 0.009s coverage: 0.3% of statements
? github.com/jenkins-x/jx/pkg/cloud/gke/vault [no test files]
? github.com/jenkins-x/jx/pkg/cloud/iks [no test files]
? github.com/jenkins-x/jx/pkg/cloud/oke [no test files]
? github.com/jenkins-x/jx/pkg/collector [no test files]
ok github.com/jenkins-x/jx/pkg/config 0.036s coverage: 21.8% of statements
ok github.com/jenkins-x/jx/pkg/cve 0.041s coverage: 43.0% of statements
? github.com/jenkins-x/jx/pkg/draft [no test files]
? github.com/jenkins-x/jx/pkg/environments [no test files]
? github.com/jenkins-x/jx/pkg/expose [no test files]
ok github.com/jenkins-x/jx/pkg/extensions 0.074s coverage: 22.8% of statements
? github.com/jenkins-x/jx/pkg/flagger [no test files]
ok github.com/jenkins-x/jx/pkg/gits 64.653s coverage: 25.6% of statements
? github.com/jenkins-x/jx/pkg/gits/mocks [no test files]
? github.com/jenkins-x/jx/pkg/gits/mocks/matchers [no test files]
ok github.com/jenkins-x/jx/pkg/helm 0.073s coverage: 33.9% of statements
? github.com/jenkins-x/jx/pkg/helm/mocks [no test files]
ok github.com/jenkins-x/jx/pkg/io 0.065s coverage: 66.7% of statements
ok github.com/jenkins-x/jx/pkg/io/secrets 0.063s coverage: 85.0% of statements
? github.com/jenkins-x/jx/pkg/issues [no test files]
ok github.com/jenkins-x/jx/pkg/jenkins 0.144s coverage: 8.9% of statements
? github.com/jenkins-x/jx/pkg/jenkins/fake [no test files]
ok github.com/jenkins-x/jx/pkg/jenkinsfile 0.034s coverage: 13.9% of statements
? github.com/jenkins-x/jx/pkg/jenkinsfile/gitresolver [no test files]
Downloading https://github.com/weaveworks/eksctl/releases/download/0.1.19/eksctl_Linux_amd64.tar.gz to /tmp/common_install_test770453279/bin/eksctl.tar.gz...
Downloaded /tmp/common_install_test770453279/bin/eksctl.tar.gz
Creating mock chart d4fdc2ea-c9f5-4581-aa5a-1b175b7fc859 in /tmp/jx-helm-fetch-d4fdc2ea-c9f5-4581-aa5a-1b175b7fc859-239629993/d4fdc2ea-c9f5-4581-aa5a-1b175b7fc859
Updating Helm repository...
Helm repository update done.
Successfully installed d4fdc2ea-c9f5-4581-aa5a-1b175b7fc859 0.0.1
Creating mock chart c8856806-ee27-4c70-aa4c-366aa4c0bf32 in /tmp/jx-helm-fetch-c8856806-ee27-4c70-aa4c-366aa4c0bf32-405985094/c8856806-ee27-4c70-aa4c-366aa4c0bf32
Updating Helm repository...
Helm repository update done.
Successfully installed c8856806-ee27-4c70-aa4c-366aa4c0bf32 0.0.1
Creating mock chart bea1adfd-5796-4556-9095-8e76a99d5577 in /tmp/jx-helm-fetch-bea1adfd-5796-4556-9095-8e76a99d5577-008977575/bea1adfd-5796-4556-9095-8e76a99d5577
Created Pull Request: https://fake.git/f7b67785-4386-47ab-b758-10a3f149a2df/environment-f7b67785-4386-47ab-b758-10a3f149a2df-dd191eae-1425-4fa9-a069-841a38ceb871-dev/pulls/1
Added app via Pull Request https://fake.git/f7b67785-4386-47ab-b758-10a3f149a2df/environment-f7b67785-4386-47ab-b758-10a3f149a2df-dd191eae-1425-4fa9-a069-841a38ceb871-dev/pulls/1
Updating Helm repository...
Helm repository update done.
Successfully installed 0cfd9593-5528-447b-b3d4-6e2d3d55042f 0.0.1
Creating mock chart 1c9393e0-d4f1-4be7-89ab-53a18d209dcc in /tmp/jx-helm-fetch-1c9393e0-d4f1-4be7-89ab-53a18d209dcc-151047086/1c9393e0-d4f1-4be7-89ab-53a18d209dcc
Updating Helm repository...
Helm repository update done.
Successfully installed 1c9393e0-d4f1-4be7-89ab-53a18d209dcc 0.1.1
Created Pull Request: https://fake.git/0cc48634-ae58-40c4-80fd-da9318fdf9e6/environment-0cc48634-ae58-40c4-80fd-da9318fdf9e6-592ef74c-8e10-4d4b-8296-4d941839583c-dev/pulls/1
Added app via Pull Request https://fake.git/0cc48634-ae58-40c4-80fd-da9318fdf9e6/environment-0cc48634-ae58-40c4-80fd-da9318fdf9e6-592ef74c-8e10-4d4b-8296-4d941839583c-dev/pulls/1
Creating mock chart 319f8ecf-afcf-45d1-827c-8f750a4f91b4 in /tmp/jx-helm-fetch-319f8ecf-afcf-45d1-827c-8f750a4f91b4-609819449/319f8ecf-afcf-45d1-827c-8f750a4f91b4
Created Pull Request: https://fake.git/152d1bc0-faaa-4b14-85f8-dccee3ea66c2/environment-152d1bc0-faaa-4b14-85f8-dccee3ea66c2-d35dba29-10ed-4542-ad2a-eac0ba4aecea-dev/pulls/1
Added app via Pull Request https://fake.git/152d1bc0-faaa-4b14-85f8-dccee3ea66c2/environment-152d1bc0-faaa-4b14-85f8-dccee3ea66c2-d35dba29-10ed-4542-ad2a-eac0ba4aecea-dev/pulls/1
Creating mock chart 64e2db60-4aad-4610-a16b-d8f6e38434e6 in /tmp/jx-helm-fetch-64e2db60-4aad-4610-a16b-d8f6e38434e6-703155667/64e2db60-4aad-4610-a16b-d8f6e38434e6
Using /tmp/jx-environments254950724/1a7d9971-8347-41ec-a13e-5fa2226abf3f/environment-1a7d9971-8347-41ec-a13e-5fa2226abf3f-f7f91459-243f-48f0-b89e-0096a84d124e-dev/64e2db60-4aad-4610-a16b-d8f6e38434e6 for requirementName files
Not adding release.yaml as not present in chart. Only files in /tmp/jx-helm-fetch-64e2db60-4aad-4610-a16b-d8f6e38434e6-703155667/64e2db60-4aad-4610-a16b-d8f6e38434e6/templates are:
drwx------ 4096 28 Feb 19 11:08 UTC templates
Created Pull Request: https://fake.git/1a7d9971-8347-41ec-a13e-5fa2226abf3f/environment-1a7d9971-8347-41ec-a13e-5fa2226abf3f-f7f91459-243f-48f0-b89e-0096a84d124e-dev/pulls/1
Added app via Pull Request https://fake.git/1a7d9971-8347-41ec-a13e-5fa2226abf3f/environment-1a7d9971-8347-41ec-a13e-5fa2226abf3f-f7f91459-243f-48f0-b89e-0096a84d124e-dev/pulls/1
Creating mock chart 3e269ccf-a5ee-436e-8469-54a851b0117b in /tmp/jx-helm-fetch-3e269ccf-a5ee-436e-8469-54a851b0117b-120562045/3e269ccf-a5ee-436e-8469-54a851b0117b
No version specified so using latest version which is 0.1.8
Using /tmp/jx-environments871218966/b4876f1d-d4ed-46ac-8d91-9232b3939f23/environment-b4876f1d-d4ed-46ac-8d91-9232b3939f23-4a6f5f5e-097f-4e37-b234-71fdc746b905-dev/3e269ccf-a5ee-436e-8469-54a851b0117b for requirementName files
Not adding release.yaml as not present in chart. Only files in /tmp/jx-helm-fetch-3e269ccf-a5ee-436e-8469-54a851b0117b-120562045/3e269ccf-a5ee-436e-8469-54a851b0117b/templates are:
drwx------ 4096 28 Feb 19 11:08 UTC templates
Not adding App Readme as no README, README.md, readme or readme.md found in /tmp/jx-helm-fetch-3e269ccf-a5ee-436e-8469-54a851b0117b-120562045/3e269ccf-a5ee-436e-8469-54a851b0117b
Created Pull Request: https://fake.git/b4876f1d-d4ed-46ac-8d91-9232b3939f23/environment-b4876f1d-d4ed-46ac-8d91-9232b3939f23-4a6f5f5e-097f-4e37-b234-71fdc746b905-dev/pulls/1
Added app via Pull Request https://fake.git/b4876f1d-d4ed-46ac-8d91-9232b3939f23/environment-b4876f1d-d4ed-46ac-8d91-9232b3939f23-4a6f5f5e-097f-4e37-b234-71fdc746b905-dev/pulls/1
k8s:jx:>
Job already exists in Jenkins at
Creating PR for environment staging from PipelineActivity jstrachan-myrepo-master-1 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app myrepo version 1.0.1 to namespace jx-staging
Created Pull Request: https://fake.git/jstrachan/environment-staging/pulls/1
Cannot promote to Environment: production as precondition Environment: staging as no status
Found Promote PullRequest https://fake.git/jstrachan/environment-staging/pulls/1 on PipelineActivity jstrachan-myrepo-master-1 for Environment staging
Cannot promote to Environment: production as precondition Environment: staging has status Running
Pipeline jstrachan-myrepo-master-1 promote Environment staging has PR https://fake.git/jstrachan/environment-staging/pulls/1 with status pending
Cannot promote to Environment: production as precondition Environment: staging has status Running
PR https://fake.git/jstrachan/environment-staging/pulls/1 is now merged
Cannot promote to Environment: production as precondition Environment: staging has status Running
PR https://fake.git/jstrachan/environment-staging/pulls/1 has commit status success
Could not find the service URL in namespace jx-staging for names myrepo, , jx-staging-myrepo
Creating PR for environment production from PipelineActivity jstrachan-myrepo-master-1 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app myrepo version 1.0.1 to namespace jx-production
Created Pull Request: https://fake.git/jstrachan/environment-production/pulls/1
Found Promote PullRequest https://fake.git/jstrachan/environment-production/pulls/1 on PipelineActivity jstrachan-myrepo-master-1 for Environment production
PR https://fake.git/jstrachan/environment-production/pulls/1 is now merged
PR https://fake.git/jstrachan/environment-production/pulls/1 has commit status success
Could not find the service URL in namespace jx-production for names myrepo, , jx-production-myrepo
Creating PR for environment staging from PipelineActivity jstrachan-manual-master-1 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app manual version 1.0.1 to namespace jx-staging
Created Pull Request: https://fake.git/jstrachan/environment-staging/pulls/1
Found Promote PullRequest https://fake.git/jstrachan/environment-staging/pulls/1 on PipelineActivity jstrachan-manual-master-1 for Environment staging
Pipeline jstrachan-manual-master-1 promote Environment staging has PR https://fake.git/jstrachan/environment-staging/pulls/1 with status pending
PR https://fake.git/jstrachan/environment-staging/pulls/1 is now merged
PR https://fake.git/jstrachan/environment-staging/pulls/1 has commit status success
Could not find the service URL in namespace jx-staging for names manual, , jx-staging-manual
Promoting to production version 1.0.1 for app manual
Promoting app manual version 1.0.1 to namespace jx-production
Created Pull Request: https://fake.git/jstrachan/environment-production/pulls/1
Found Promote PullRequest https://fake.git/jstrachan/environment-production/pulls/1 on PipelineActivity jstrachan-manual-master-1 for Environment production
Pipeline jstrachan-manual-master-1 promote Environment production has PR https://fake.git/jstrachan/environment-production/pulls/1 with status pending
Pipeline jstrachan-manual-master-1 promote Environment production has PR https://fake.git/jstrachan/environment-production/pulls/1 with status pending
PR https://fake.git/jstrachan/environment-production/pulls/1 is now merged
PR https://fake.git/jstrachan/environment-production/pulls/1 has commit status success
Could not find the service URL in namespace jx-production for names manual, , jx-production-manual
Creating PR for environment a from PipelineActivity jstrachan-parallelrepo-master-1 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app parallelrepo version 1.0.1 to namespace jx-a
Created Pull Request: https://fake.git/jstrachan/environment-a/pulls/1
Creating PR for environment b from PipelineActivity jstrachan-parallelrepo-master-1 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app parallelrepo version 1.0.1 to namespace jx-b
Created Pull Request: https://fake.git/jstrachan/environment-b/pulls/1
Cannot promote to Environment: c as precondition Environment: a as no status
Found Promote PullRequest https://fake.git/jstrachan/environment-a/pulls/1 on PipelineActivity jstrachan-parallelrepo-master-1 for Environment a
Found Promote PullRequest https://fake.git/jstrachan/environment-b/pulls/1 on PipelineActivity jstrachan-parallelrepo-master-1 for Environment b
Cannot promote to Environment: c as precondition Environment: a has status Running
Pipeline jstrachan-parallelrepo-master-1 promote Environment a has PR https://fake.git/jstrachan/environment-a/pulls/1 with status pending
Pipeline jstrachan-parallelrepo-master-1 promote Environment b has PR https://fake.git/jstrachan/environment-b/pulls/1 with status pending
Cannot promote to Environment: c as precondition Environment: a has status Running
PR https://fake.git/jstrachan/environment-a/pulls/1 is now merged
Pipeline jstrachan-parallelrepo-master-1 promote Environment b has PR https://fake.git/jstrachan/environment-b/pulls/1 with status pending
Cannot promote to Environment: c as precondition Environment: a has status Running
PR https://fake.git/jstrachan/environment-a/pulls/1 has commit status success
Could not find the service URL in namespace jx-a for names parallelrepo, , jx-a-parallelrepo
Cannot promote to Environment: c as precondition Environment: b has status Running
PR https://fake.git/jstrachan/environment-b/pulls/1 is now merged
PR https://fake.git/jstrachan/environment-b/pulls/1 has commit status success
Could not find the service URL in namespace jx-b for names parallelrepo, , jx-b-parallelrepo
Creating PR for environment c from PipelineActivity jstrachan-parallelrepo-master-1 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app parallelrepo version 1.0.1 to namespace jx-c
Created Pull Request: https://fake.git/jstrachan/environment-c/pulls/1
Found Promote PullRequest https://fake.git/jstrachan/environment-c/pulls/1 on PipelineActivity jstrachan-parallelrepo-master-1 for Environment c
PR https://fake.git/jstrachan/environment-c/pulls/1 is now merged
PR https://fake.git/jstrachan/environment-c/pulls/1 has commit status success
Could not find the service URL in namespace jx-c for names parallelrepo, , jx-c-parallelrepo
Creating PR for environment staging from PipelineActivity jstrachan-myrepo-master-1 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app myrepo version 1.0.1 to namespace jx-staging
Created Pull Request: https://fake.git/jstrachan/environment-staging/pulls/1
Cannot promote to Environment: production as precondition Environment: staging as no status
Found Promote PullRequest https://fake.git/jstrachan/environment-staging/pulls/1 on PipelineActivity jstrachan-myrepo-master-1 for Environment staging
Pipeline jstrachan-myrepo-master-1 promote Environment staging has PR https://fake.git/jstrachan/environment-staging/pulls/1 with status pending
Creating PR for environment staging from PipelineActivity jstrachan-myrepo-master-2 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app myrepo version 1.0.2 to namespace jx-staging
Created Pull Request: https://fake.git/jstrachan/environment-staging/pulls/2
Cannot promote to Environment: production as precondition Environment: staging as no status
Found Promote PullRequest https://fake.git/jstrachan/environment-staging/pulls/2 on PipelineActivity jstrachan-myrepo-master-2 for Environment staging
Pipeline jstrachan-myrepo-master-2 promote Environment staging has PR https://fake.git/jstrachan/environment-staging/pulls/2 with status pending
Cannot promote to Environment: production as precondition Environment: staging has status Running
Pipeline jstrachan-myrepo-master-2 promote Environment staging has PR https://fake.git/jstrachan/environment-staging/pulls/2 with status pending
Cannot promote to Environment: production as precondition Environment: staging has status Running
PR https://fake.git/jstrachan/environment-staging/pulls/2 is now merged
Cannot promote to Environment: production as precondition Environment: staging has status Running
PR https://fake.git/jstrachan/environment-staging/pulls/2 has commit status success
Could not find the service URL in namespace jx-staging for names myrepo, , jx-staging-myrepo
Creating PR for environment production from PipelineActivity jstrachan-myrepo-master-2 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app myrepo version 1.0.2 to namespace jx-production
Created Pull Request: https://fake.git/jstrachan/environment-production/pulls/1
Found Promote PullRequest https://fake.git/jstrachan/environment-production/pulls/1 on PipelineActivity jstrachan-myrepo-master-2 for Environment production
PR https://fake.git/jstrachan/environment-production/pulls/1 is now merged
PR https://fake.git/jstrachan/environment-production/pulls/1 has commit status success
Could not find the service URL in namespace jx-production for names myrepo, , jx-production-myrepo
Creating testing Environment in namespace jx-testing
Created environment testing
Job already exists in Jenkins at
--- FAIL: TestCreateQuickstartProjects (0.01s)
create_quickstart_integration_test.go:46:
Error Trace: create_quickstart_integration_test.go:46
Error: Received unexpected error:
failed to load quickstarts: Running in batch mode and no default Git username found
Test: TestCreateQuickstartProjects
Creating config for cluster foo
Created /tmp/test-create-org-struct920856539/clusters/foo/terraform/terraform.tf
Creating config for cluster bar
Created /tmp/test-create-org-struct920856539/clusters/bar/terraform/terraform.tf
Creating mock chart bfe98dcc-42b7-4b9e-b821-2d5ac8a682c8 in /tmp/jx-helm-fetch-bfe98dcc-42b7-4b9e-b821-2d5ac8a682c8-277387583/bfe98dcc-42b7-4b9e-b821-2d5ac8a682c8
Updating Helm repository...
Helm repository update done.
Namespace jx-testing created
Successfully installed bfe98dcc-42b7-4b9e-b821-2d5ac8a682c8 0.0.1
Creating mock chart 063a8064-f057-44bc-828e-3628d3dcc72d in /tmp/jx-helm-fetch-063a8064-f057-44bc-828e-3628d3dcc72d-754310546/063a8064-f057-44bc-828e-3628d3dcc72d
Updating Helm repository...
Helm repository update done.
Successfully installed 063a8064-f057-44bc-828e-3628d3dcc72d 0.0.1
Creating mock chart 065b004a-edb1-44f1-8f9c-07288674ca4e in /tmp/jx-helm-fetch-065b004a-edb1-44f1-8f9c-07288674ca4e-878676116/065b004a-edb1-44f1-8f9c-07288674ca4e
Updating Helm repository...
Helm repository update done.
Namespace jx-testing created
Successfully installed 065b004a-edb1-44f1-8f9c-07288674ca4e 0.0.1
Creating mock chart 4b4a231c-caf6-48be-af44-f2fba2cbf8bf in /tmp/jx-helm-fetch-4b4a231c-caf6-48be-af44-f2fba2cbf8bf-486214883/4b4a231c-caf6-48be-af44-f2fba2cbf8bf
Updating Helm repository...
Helm repository update done.
Successfully installed 4b4a231c-caf6-48be-af44-f2fba2cbf8bf 0.0.1
Creating mock chart 63fe77ff-a046-4b33-8c71-8cfcc35611a0 in /tmp/jx-helm-fetch-63fe77ff-a046-4b33-8c71-8cfcc35611a0-736359181/63fe77ff-a046-4b33-8c71-8cfcc35611a0
Updating Helm repository...
Helm repository update done.
Namespace jx-testing created
Successfully installed 63fe77ff-a046-4b33-8c71-8cfcc35611a0 0.0.1
Creating mock chart 4ade3c53-e810-4a6f-b0c7-36c590083ac9 in /tmp/jx-helm-fetch-4ade3c53-e810-4a6f-b0c7-36c590083ac9-102660360/4ade3c53-e810-4a6f-b0c7-36c590083ac9
Updating Helm repository...
Helm repository update done.
Successfully installed 4ade3c53-e810-4a6f-b0c7-36c590083ac9 0.0.1
Workflow: myflow
promote to a + b + c + d
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
--- FAIL: TestImportProjects (0.94s)
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/docker from source test_data/import_projects/docker
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/docker from source test_data/import_projects/docker
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/docker-helm from source test_data/import_projects/docker-helm
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/docker-helm from source test_data/import_projects/docker-helm
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/gradle_no_files from source test_data/import_projects/gradle_no_files
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/gradle_no_files from source test_data/import_projects/gradle_no_files
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/helm from source test_data/import_projects/helm
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/helm from source test_data/import_projects/helm
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/maven_camel from source test_data/import_projects/maven_camel
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/maven_camel from source test_data/import_projects/maven_camel
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/maven_custom_build_pack from source test_data/import_projects/maven_custom_build_pack
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/maven_custom_build_pack from source test_data/import_projects/maven_custom_build_pack
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/maven_keep_old_jenkinsfile from source test_data/import_projects/maven_keep_old_jenkinsfile
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/maven_keep_old_jenkinsfile from source test_data/import_projects/maven_keep_old_jenkinsfile
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/maven_keep_old_jenkinsfile_with_git from source test_data/import_projects/maven_keep_old_jenkinsfile_with_git
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/maven_keep_old_jenkinsfile_with_git from source test_data/import_projects/maven_keep_old_jenkinsfile_with_git
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/maven_no_files from source test_data/import_projects/maven_no_files
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/maven_no_files from source test_data/import_projects/maven_no_files
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/maven_old_jenkinsfile from source test_data/import_projects/maven_old_jenkinsfile
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/maven_old_jenkinsfile from source test_data/import_projects/maven_old_jenkinsfile
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/maven_old_jenkinsfile_with_git from source test_data/import_projects/maven_old_jenkinsfile_with_git
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/maven_old_jenkinsfile_with_git from source test_data/import_projects/maven_old_jenkinsfile_with_git
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:56
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-DefaultJenkinsfile/maven_springboot from source test_data/import_projects/maven_springboot
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:57
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjects
Messages: Importing dir /tmp/test-import-projects180794567-RenamedJenkinsfile/maven_springboot from source test_data/import_projects/maven_springboot
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
No username defined for the current Git server!
--- FAIL: TestImportProjectNextGenPipeline (0.30s)
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Importing dir /tmp/test-import-ng-projects991044986-DefaultJenkinsfile/docker from source test_data/import_projects/docker
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Importing dir /tmp/test-import-ng-projects991044986-DefaultJenkinsfile/docker-helm from source test_data/import_projects/docker-helm
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Importing dir /tmp/test-import-ng-projects991044986-DefaultJenkinsfile/gradle_no_files from source test_data/import_projects/gradle_no_files
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Importing dir /tmp/test-import-ng-projects991044986-DefaultJenkinsfile/helm from source test_data/import_projects/helm
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Importing dir /tmp/test-import-ng-projects991044986-DefaultJenkinsfile/maven_camel from source test_data/import_projects/maven_camel
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Importing dir /tmp/test-import-ng-projects991044986-DefaultJenkinsfile/maven_custom_build_pack from source test_data/import_projects/maven_custom_build_pack
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Importing dir /tmp/test-import-ng-projects991044986-DefaultJenkinsfile/maven_no_files from source test_data/import_projects/maven_no_files
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Importing dir /tmp/test-import-ng-projects991044986-DefaultJenkinsfile/maven_old_jenkinsfile from source test_data/import_projects/maven_old_jenkinsfile
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Importing dir /tmp/test-import-ng-projects991044986-DefaultJenkinsfile/maven_old_jenkinsfile_with_git from source test_data/import_projects/maven_old_jenkinsfile_with_git
import_integration_test.go:149:
Error Trace: import_integration_test.go:149
import_integration_test.go:102
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Failed with Running in batch mode and no default Git username found
import_integration_test.go:103:
Error Trace: import_integration_test.go:103
import_integration_test.go:80
Error: Received unexpected error:
Running in batch mode and no default Git username found
Test: TestImportProjectNextGenPipeline
Messages: Importing dir /tmp/test-import-ng-projects991044986-DefaultJenkinsfile/maven_springboot from source test_data/import_projects/maven_springboot
replacing placeholders in directory /tmp/test-replace-placeholders374744209
app name: bar, git server: github.com, org: foo, Docker registry org: registry-org
organisation orga detected from URL https://github.com/orga/myrepo. '--org orgb' will be ignored
135e6784ce95abdffcf0be867907ec0086af8265f <nil>
Creating a preview
Created environment test-app-name
Namespace jx created
expose:
config:
domain: test-domain
preview:
image:
repository: 10.59.245.44:5000/MyOrganisation/MyApp
tag: v0.1.2
Could not find the service URL in namespace jx for names test-app, test-app-release-name, jx-preview, test-app-release-name-test-app
Updating PipelineActivities rawlingsj-jx-tekton2-1 which has status
Creating PR for environment staging from PipelineActivity myorg-my-app-master-1 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app my-app version 1.0.1 to namespace jx-staging
Created Pull Request: https://fake.git/myorg/environment-staging/pulls/1
Found Promote PullRequest https://fake.git/myorg/environment-staging/pulls/1 on PipelineActivity myorg-my-app-master-1 for Environment staging
Pipeline myorg-my-app-master-1 promote Environment staging has PR https://fake.git/myorg/environment-staging/pulls/1 with status pending
PR https://fake.git/myorg/environment-staging/pulls/1 is now merged
PR https://fake.git/myorg/environment-staging/pulls/1 has commit status success
Could not find the service URL in namespace jx-staging for names my-app, , jx-staging-my-app
Promoting app my-app version 1.2.0 to namespace jx-production
Created Pull Request: https://fake.git/myorg/environment-production/pulls/1
Found Promote PullRequest https://fake.git/myorg/environment-production/pulls/1 on PipelineActivity myorg-my-app-master-1 for Environment production
PR https://fake.git/myorg/environment-production/pulls/1 is now merged
PR https://fake.git/myorg/environment-production/pulls/1 has commit status success
Could not find the service URL in namespace jx-production for names my-app, , jx-production-my-app
Creating PR for environment staging from PipelineActivity myorg-my-app-master-1 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app my-app version 1.0.1 to namespace jx-staging
Created Pull Request: https://fake.git/myorg/environment-staging/pulls/1
Found Promote PullRequest https://fake.git/myorg/environment-staging/pulls/1 on PipelineActivity myorg-my-app-master-1 for Environment staging
Pipeline myorg-my-app-master-1 promote Environment staging has PR https://fake.git/myorg/environment-staging/pulls/1 with status pending
PR https://fake.git/myorg/environment-staging/pulls/1 is now merged
PR https://fake.git/myorg/environment-staging/pulls/1 has commit status success
Could not find the service URL in namespace jx-staging for names my-app, , jx-staging-my-app
Waiting 1s for PullRequest in Enviroment production
Promoting latest version of app my-app to namespace jx-production
Created Pull Request: https://fake.git/myorg/environment-production/pulls/1
Found Promote PullRequest https://fake.git/myorg/environment-production/pulls/1 on PipelineActivity myorg-my-app-master-1 for Environment production
PR https://fake.git/myorg/environment-production/pulls/1 is now merged
PR https://fake.git/myorg/environment-production/pulls/1 has commit status success
Pull Request https://fake.git/myorg/environment-production/pulls/1 is merged at sha promote-my-app-latest
merge status: success for URL https://fake.git/myorg/environment-production/commits/promote-my-app-latest with target: description: my-app to latest
Merge status checks all passed so the promotion worked!
No version name so cannot comment on issues that they are now in Production
Creating PR for environment staging from PipelineActivity myorg-my-app-master-1 as current status is (*v1.PromoteActivityStep)(nil)
Promoting app my-app version 1.0.1 to namespace jx-staging
Created Pull Request: https://fake.git/myorg/environment-staging/pulls/1
Found Promote PullRequest https://fake.git/myorg/environment-staging/pulls/1 on PipelineActivity myorg-my-app-master-1 for Environment staging
Pipeline myorg-my-app-master-1 promote Environment staging has PR https://fake.git/myorg/environment-staging/pulls/1 with status pending
PR https://fake.git/myorg/environment-staging/pulls/1 is now merged
PR https://fake.git/myorg/environment-staging/pulls/1 has commit status success
Could not find the service URL in namespace jx-staging for names my-app, , jx-staging-my-app
Waiting 1s for PullRequest in Enviroment production
Promoting latest version of app my-app to namespace jx-production
Created Pull Request: https://fake.git/myorg/environment-production/pulls/1
Found Promote PullRequest https://fake.git/myorg/environment-production/pulls/1 on PipelineActivity myorg-my-app-master-1 for Environment production
Pull Request https://fake.git/myorg/environment-production/pulls/1 is merged at sha promote-my-app-latest
merge status: success for URL https://fake.git/myorg/environment-production/commits/promote-my-app-latest with target: description: my-app to latest
Merge status checks all passed so the promotion worked!
No version name so cannot comment on issues that they are now in Production
test-context enabled for test-org/test-repo
Jenkins X checks passed for Cluster(): 1 nodes, memory 0% of 10G, cpu 0% of 10.
Removing installation of Jenkins X in team namespace ns
deleting namespace ns
Jenkins X has been successfully uninstalled from team namespace ns
Removing installation of Jenkins X in team namespace ns
deleting namespace ns
Jenkins X has been successfully uninstalled from team namespace ns
Removing installation of Jenkins X in team namespace ns
deleting namespace ns
Jenkins X has been successfully uninstalled from team namespace ns
Creating mock chart 1616ffac-5485-4d0c-bbcd-d1871993ca22 in /tmp/jx-helm-fetch-1616ffac-5485-4d0c-bbcd-d1871993ca22-624470626/1616ffac-5485-4d0c-bbcd-d1871993ca22
Created Pull Request: https://fake.git/38af4149-0a4f-4fc8-98c2-f6aa0bafb54c/environment-38af4149-0a4f-4fc8-98c2-f6aa0bafb54c-fe112fa8-f78e-4561-a854-835a193a0aee-dev/pulls/1
Creating mock chart d7508aa3-6173-4efa-b049-d22fb5bc22ec in /tmp/jx-helm-fetch-d7508aa3-6173-4efa-b049-d22fb5bc22ec-099480051/d7508aa3-6173-4efa-b049-d22fb5bc22ec
Created Pull Request: https://fake.git/4dfea3ca-07f8-4ba7-b4d6-8ca66e1cf69f/environment-4dfea3ca-07f8-4ba7-b4d6-8ca66e1cf69f-53f71575-767b-4d06-b417-a133930c373b-dev/pulls/1
Creating mock chart 7076e8e4-ece7-4168-acf7-6b3d50135954 in /tmp/jx-helm-fetch-7076e8e4-ece7-4168-acf7-6b3d50135954-133664600/7076e8e4-ece7-4168-acf7-6b3d50135954
Created Pull Request: https://fake.git/bbb97d9a-f99a-48a8-a0cf-d3762bf77db6/environment-bbb97d9a-f99a-48a8-a0cf-d3762bf77db6-273106c3-d15d-48a7-a2b9-42c6096b9d5d-dev/pulls/1
Creating mock chart 8afc40f1-4ec4-4339-acdf-da5d8e8d8ee4 in /tmp/jx-helm-fetch-8afc40f1-4ec4-4339-acdf-da5d8e8d8ee4-680842529/8afc40f1-4ec4-4339-acdf-da5d8e8d8ee4
Creating mock chart 1765dd2b-ad17-49de-8369-4a551cee5aad in /tmp/jx-helm-fetch-1765dd2b-ad17-49de-8369-4a551cee5aad-610318331/1765dd2b-ad17-49de-8369-4a551cee5aad
Created Pull Request: https://fake.git/f0edce64-d422-4a0e-8bc9-c437048b6aed/environment-f0edce64-d422-4a0e-8bc9-c437048b6aed-e6680e70-a7d4-4ad8-93c5-eb1531a95e2b-dev/pulls/1
Creating mock chart edda35c6-3448-4c31-8618-1be27d487502 in /tmp/jx-helm-fetch-edda35c6-3448-4c31-8618-1be27d487502-643789797/edda35c6-3448-4c31-8618-1be27d487502
Creating mock chart 683d7b51-96de-4d30-aed3-aeb42a406593 in /tmp/jx-helm-fetch-683d7b51-96de-4d30-aed3-aeb42a406593-504003584/683d7b51-96de-4d30-aed3-aeb42a406593
Created Pull Request: https://fake.git/ccbadc85-c406-4e76-a052-3f8b06e32c69/environment-ccbadc85-c406-4e76-a052-3f8b06e32c69-2ce14641-274e-42f0-b4ba-b887bc523ab2-dev/pulls/1
A new ColourInfo version is available: ColourInfo
Found namespace &v1.Namespace{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"jx", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string{"tag":""}, Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, Spec:v1.NamespaceSpec{Finalizers:[]v1.FinalizerName(nil)}, Status:v1.NamespaceStatus{Phase:""}}
using stable version ColourInfo from charts of ColourInfo from test_data/install_jenkins_x_versions
GitOps mode requires ColourInfo.
setting the dev namespace to: ColourInfo
Generated file ColourInfo
Generated file ColourInfo
Generated file ColourInfo
Generated file ColourInfo
Checking pod statuses
Creating verify-pod.log file
The current installation of the ColourInfo CLI is too old: ColourInfo.
We require an installation of ColourInfo or later.
To upgrade try these commands:
* to upgrade the platform: ColourInfo
* to upgrade the CLI locally: ColourInfo
The Project Configuration test_data/project_with_kubeless/jenkins-x.yml requires the ColourInfo addon to be installed. To fix this please type:
ColourInfo
Waiting for artifact at ColourInfo
stashed: ColourInfo
Generated split repos in: /tmp/test_split_monorepo401584208
Checking pod statuses
Found artifact at ColourInfo
Waiting for artifact at ColourInfo
Tag v1.2.3 created and pushed to remote origin
Error: Command failed noSuchCommand
build pack is https://github.com/jenkins-x-buildpacks/jenkins-x-kubernetes.git
retrying after error:invalid attempt
Created Pull Request: ColourInfo
Added app via Pull Request https://fake.git/e345abef-c180-42c3-a096-4607564801b1/environment-e345abef-c180-42c3-a096-4607564801b1-cb154c4c-a7e4-481f-8375-3408545cb028-dev/pulls/1
Created Pull Request: ColourInfo
Created Pull Request: ColourInfo
Delete app via Pull Request https://fake.git/e63fe68a-ff96-4fac-ac61-e501b6b0e634/environment-e63fe68a-ff96-4fac-ac61-e501b6b0e634-fdfa8ce3-0527-4f49-8844-06b835bc6699-dev/pulls/1
retrying after error:invalid attempt
retrying after error: Failed in request for http://central.maven.org/maven2/io/jenkins/updatebot/does-not-exist/1.1.10/does-not-exist-1.1.10.pom as got status 404 404 Not Found
retrying after error:invalid attempt
retrying after error:invalid attempt
........selected pack: /builder/home/.jx/draft/packs/github.com/jenkins-x-buildpacks/jenkins-x-kubernetes/packs/maven
Failed to find artifact at http://central.maven.org/maven2/io/jenkins/updatebot/does-not-exist/1.1.10/does-not-exist-1.1.10.pom due to Timed out after 1s, last error: Failed in request for http://central.maven.org/maven2/io/jenkins/updatebot/does-not-exist/1.1.10/does-not-exist-1.1.10.pom as got status 404 404 Not Found
Creating Role myrole in namespace jx-staging
Creating Role myrole in namespace jx-production
Creating Role myrole in namespace jx-preview-jx-jstrachan-demo96-pr-1
Creating Role myrole in namespace jx-preview-jx-jstrachan-another-pr-3
Creating RoleBinding myrole in namespace jx-staging
Creating RoleBinding myrole in namespace jx-production
Creating RoleBinding myrole in namespace jx-preview-jx-jstrachan-demo96-pr-1
Creating RoleBinding myrole in namespace jx-preview-jx-jstrachan-another-pr-3
Creating RoleBinding myrole in namespace jx
Updating RoleBinding myrole in namespace jx-staging
Updating RoleBinding myrole in namespace jx-production
Updating RoleBinding myrole in namespace jx-preview-jx-jstrachan-demo96-pr-1
Updating RoleBinding myrole in namespace jx-preview-jx-jstrachan-another-pr-3
Updating RoleBinding myrole in namespace jx
Created Preview Environment jx-preview-jx-jstrachan-newthingy-pr-1
Creating Role myrole in namespace jx-preview-jx-jstrachan-newthingy-pr-1
Creating RoleBinding myrole in namespace jx-preview-jx-jstrachan-newthingy-pr-1
Updating RoleBinding myrole in namespace jx-staging
Updating RoleBinding myrole in namespace jx-production
Updating RoleBinding myrole in namespace jx-preview-jx-jstrachan-demo96-pr-1
Updating RoleBinding myrole in namespace jx-preview-jx-jstrachan-another-pr-3
Updating RoleBinding myrole in namespace jx
Updating RoleBinding myrole in namespace jx-preview-jx-jstrachan-newthingy-pr-1
Updated Role myrole to be policies []v1.PolicyRule{v1.PolicyRule{Verbs:[]string{"get", "watch", "list"}, APIGroups:[]string{""}, Resources:[]string{"configmaps", "pods", "services", "secrets"}, ResourceNames:[]string(nil), NonResourceURLs:[]string(nil)}}
Updating Role myrole in namespace jx-staging
Updating Role myrole in namespace jx-production
Updating Role myrole in namespace jx-preview-jx-jstrachan-demo96-pr-1
Updating Role myrole in namespace jx-preview-jx-jstrachan-another-pr-3
Updating Role myrole in namespace jx-preview-jx-jstrachan-newthingy-pr-1
Helm facade is not a *helm.HelmCLI or *helm.HelmTemplate: &helm_test.MockHelmer{fail:(func(string, ...int))(0x2a07850)}
Installing ColourInfo
Created Jenkins Project: ColourInfo
ColourInfoDownloading ColourInfo to ColourInfo...
Downloaded ColourInfo
Installing ColourInfo
--- FAIL: TestInstallGitOps (4.34s)
require.go:794:
Error Trace: install_gitops_integration_test.go:115
Error: Received unexpected error:
error installing helm: failed to run '/builder/home/.jx/bin/helm plugin install https://github.com/futuresimple/helm-secrets' command in directory '', output: 'Error: plugin home "$HELM_HOME/plugins" does not exist'
installing helm binaries
github.com/jenkins-x/jx/pkg/jx/cmd.(*InstallOptions).Run
/workspace/workspace/pkg/jx/cmd/install.go:430
github.com/jenkins-x/jx/pkg/jx/cmd_test.TestInstallGitOps
/workspace/workspace/pkg/jx/cmd/install_gitops_integration_test.go:114
testing.tRunner
/usr/local/go/src/testing/testing.go:827
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1333
Test: TestInstallGitOps
Messages: Failed to run jx install
FAIL
coverage: 19.4% of statements
FAIL github.com/jenkins-x/jx/pkg/jx/cmd 90.330s
? github.com/jenkins-x/jx/pkg/jx/cmd/bdd [no test files]
? github.com/jenkins-x/jx/pkg/jx/cmd/clients [no test files]
? github.com/jenkins-x/jx/pkg/jx/cmd/clients/mocks [no test files]
? github.com/jenkins-x/jx/pkg/jx/cmd/clients/mocks/matchers [no test files]
? github.com/jenkins-x/jx/pkg/jx/cmd/cmd_test_helpers [no test files]
? github.com/jenkins-x/jx/pkg/jx/cmd/templates [no test files]
ok github.com/jenkins-x/jx/pkg/kube 1.214s coverage: 26.5% of statements
ok github.com/jenkins-x/jx/pkg/kube/cluster 0.059s coverage: 75.0% of statements
? github.com/jenkins-x/jx/pkg/kube/mocks [no test files]
? github.com/jenkins-x/jx/pkg/kube/mocks/matchers [no test files]
ok github.com/jenkins-x/jx/pkg/kube/pki 10.062s coverage: 20.9% of statements
? github.com/jenkins-x/jx/pkg/kube/resources [no test files]
? github.com/jenkins-x/jx/pkg/kube/resources/mocks [no test files]
? github.com/jenkins-x/jx/pkg/kube/serviceaccount [no test files]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment