Pull request #406 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 691e404553cc9db5d1d6fc168f2c259f64b3b6f3+1a526f114784ef26915ff80fd995ea89bcf8e607 (208a985f5b11c8551210364c86b8cb703132e6c9) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3555548881816333949.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13712640846114246272.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-406/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-406/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11444752023596061536.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-406/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12337937699185445822.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4634256332978211238.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-406/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-406/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17597585604671327961.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21780 in /w/workspace/_app-service-configurable_PR-406 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-406 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 Merge succeeded, producing 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 Checking out Revision 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 (PR-406) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:04:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:04:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:04:20 ========================================================= 12:04:20 EdgeX Global Pipelines Version Info 12:04:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:04:21 ------------------- 12:04:21 stable info: 12:04:21 ------------------- 12:04:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:04:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:04:21 Message: update stable to v1.0.221 12:04:22 ------------------- 12:04:22 experimental info: 12:04:22 ------------------- 12:04:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:04:22 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 12:04:22 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:04:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-406 [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-406 [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-406 [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 691e404 [Pipeline] echo 12:04:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:24 provisioning config files... 12:04:24 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-406@tmp/config4585312311517692260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:24 ---> docker-login.sh 12:04:24 nexus3.edgexfoundry.org:10001 12:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:24 Configure a credential helper to remove this warning. See 12:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:24 12:04:24 Login Succeeded 12:04:24 nexus3.edgexfoundry.org:10002 12:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:24 Configure a credential helper to remove this warning. See 12:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:24 12:04:24 Login Succeeded 12:04:24 nexus3.edgexfoundry.org:10003 12:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:25 Configure a credential helper to remove this warning. See 12:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:25 12:04:25 Login Succeeded 12:04:25 nexus3.edgexfoundry.org:10004 12:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:25 Configure a credential helper to remove this warning. See 12:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:25 12:04:25 Login Succeeded 12:04:25 docker.io 12:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:25 Configure a credential helper to remove this warning. See 12:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:25 12:04:25 Login Succeeded 12:04:25 ---> docker-login.sh ends [Pipeline] } 12:04:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:04:26 + git rev-list -1 --merges 691e404553cc9db5d1d6fc168f2c259f64b3b6f3~1..691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [Pipeline] echo 12:04:26 -----------> git rev-list -1 --merges 691e404553cc9db5d1d6fc168f2c259f64b3b6f3~1..691e404553cc9db5d1d6fc168f2c259f64b3b6f3 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [false] [Pipeline] sh 12:04:26 + git log --format=format:%s -1 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [Pipeline] echo 12:04:26 ========================================================= 12:04:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:04:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:04:27 + git log --format=format:%s -1 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [Pipeline] echo 12:04:27 [semverPrep] GIT_COMMIT: 691e404553cc9db5d1d6fc168f2c259f64b3b6f3, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:04:27 [semverPrep] This is not a build commit. [Pipeline] sh 12:04:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:04:27 + grep -v github /etc/ssh/ssh_known_hosts 12:04:27 + [ -e /tmp/ssh_known_hosts ] 12:04:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:04:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:04:27 + sudo tee -a /etc/ssh/ssh_known_hosts 12:04:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:28 12:04:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:04:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:28 latest: Pulling from edgex-devops/git-semver 12:04:28 a0d0a0d46f8b: Pulling fs layer 12:04:28 3e5f54012d9b: Pulling fs layer 12:04:28 4c7163046ea9: Pulling fs layer 12:04:28 0c2d73faf560: Pulling fs layer 12:04:28 3e5f54012d9b: Verifying Checksum 12:04:28 3e5f54012d9b: Download complete 12:04:28 a0d0a0d46f8b: Verifying Checksum 12:04:28 a0d0a0d46f8b: Download complete 12:04:28 0c2d73faf560: Verifying Checksum 12:04:28 0c2d73faf560: Download complete 12:04:28 4c7163046ea9: Verifying Checksum 12:04:28 4c7163046ea9: Download complete 12:04:28 a0d0a0d46f8b: Pull complete 12:04:28 3e5f54012d9b: Pull complete 12:04:29 4c7163046ea9: Pull complete 12:04:29 0c2d73faf560: Pull complete 12:04:29 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:04:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:04:29 prd-ubuntu20.04-docker-8c-8g-21780 does not seem to be running inside a container 12:04:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-406 -v /w/workspace/_app-service-configurable_PR-406:/w/workspace/_app-service-configurable_PR-406:rw,z -v /w/workspace/_app-service-configurable_PR-406@tmp:/w/workspace/_app-service-configurable_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:04:30 $ docker top ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:04:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:30 [ssh-agent] Looking for ssh-agent implementation... 12:04:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:30 $ docker exec ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 ssh-agent 12:04:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPjlGkE/agent.15 12:04:30 SSH_AGENT_PID=21 12:04:30 Running ssh-add (command line suppressed) 12:04:30 Identity added: /w/workspace/_app-service-configurable_PR-406@tmp/private_key_6246468352966499307.key (/w/workspace/_app-service-configurable_PR-406@tmp/private_key_6246468352966499307.key) 12:04:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:31 + git tag --points-at HEAD [Pipeline] } 12:04:31 $ docker exec --env ******** --env ******** ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 ssh-agent -k 12:04:31 unset SSH_AUTH_SOCK; 12:04:31 unset SSH_AGENT_PID; 12:04:31 echo Agent pid 21 killed; 12:04:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:04:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:31 [ssh-agent] Looking for ssh-agent implementation... 12:04:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:31 $ docker exec ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 ssh-agent 12:04:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdnBnBo/agent.56 12:04:31 SSH_AGENT_PID=62 12:04:31 Running ssh-add (command line suppressed) 12:04:31 Identity added: /w/workspace/_app-service-configurable_PR-406@tmp/private_key_3957918735031859669.key (/w/workspace/_app-service-configurable_PR-406@tmp/private_key_3957918735031859669.key) 12:04:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:32 + git semver init 12:04:32 # -> Open(): unable to determine branch for HEAD 12:04:32 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-406/.git 12:04:32 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-406 12:04:32 # $SEMVER_REMOTE_NAME = origin 12:04:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:04:32 # $SEMVER_USER_NAME = edgex-jenkins 12:04:32 # $SEMVER_BRANCH = PR-406 12:04:32 # $SEMVER_TEMP = /tmp/semver-294977819 12:04:32 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 12:04:33 # '/tmp/semver-294977819' -> '/w/workspace/_app-service-configurable_PR-406/.semver' 12:04:33 # -> Force: false 12:04:33 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-406/.semver [Pipeline] } 12:04:33 $ docker exec --env ******** --env ******** ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 ssh-agent -k 12:04:33 unset SSH_AUTH_SOCK; 12:04:33 unset SSH_AGENT_PID; 12:04:33 echo Agent pid 62 killed; 12:04:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:04:33 + git semver [Pipeline] } 12:04:33 $ docker stop --time=1 ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 12:04:35 $ docker rm -f ec968b72384ee47e6c0279dac741566ded1bd7ec117e5cea490c1ba926d56c22 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:04:36 Stashed 1 file(s) [Pipeline] echo 12:04:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:36 provisioning config files... 12:04:36 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-406@tmp/config4699023768140271722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:37 ---> docker-login.sh 12:04:37 nexus3.edgexfoundry.org:10001 12:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:37 Configure a credential helper to remove this warning. See 12:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:37 12:04:37 Login Succeeded 12:04:37 nexus3.edgexfoundry.org:10002 12:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:37 Configure a credential helper to remove this warning. See 12:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:37 12:04:37 Login Succeeded 12:04:37 nexus3.edgexfoundry.org:10003 12:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:37 Configure a credential helper to remove this warning. See 12:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:37 12:04:37 Login Succeeded 12:04:37 nexus3.edgexfoundry.org:10004 12:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:37 Configure a credential helper to remove this warning. See 12:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:37 12:04:37 Login Succeeded 12:04:37 docker.io 12:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:04:37 Configure a credential helper to remove this warning. See 12:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:04:37 12:04:37 Login Succeeded 12:04:37 ---> docker-login.sh ends [Pipeline] } 12:04:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:04:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:04:38 ========================================================= 12:04:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:04:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:04:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:04:38 Sending build context to Docker daemon 3.043MB 12:04:38 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:04:38 Step 2/13 : FROM ${BASE} AS builder 12:04:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:04:38 59bf1c3509f3: Pulling fs layer 12:04:38 666ba61612fd: Pulling fs layer 12:04:38 8ed8ca486205: Pulling fs layer 12:04:38 4fe6c5a15a65: Pulling fs layer 12:04:38 22a0e8bec74d: Pulling fs layer 12:04:38 640e595b4fbd: Pulling fs layer 12:04:38 763cafe07f6e: Pulling fs layer 12:04:38 0c0b528cf693: Pulling fs layer 12:04:38 10935f4eaf8b: Pulling fs layer 12:04:38 22a0e8bec74d: Waiting 12:04:38 640e595b4fbd: Waiting 12:04:38 763cafe07f6e: Waiting 12:04:38 0c0b528cf693: Waiting 12:04:38 10935f4eaf8b: Waiting 12:04:38 4fe6c5a15a65: Waiting 12:04:38 8ed8ca486205: Verifying Checksum 12:04:38 8ed8ca486205: Download complete 12:04:38 666ba61612fd: Download complete 12:04:38 22a0e8bec74d: Verifying Checksum 12:04:38 22a0e8bec74d: Download complete 12:04:38 640e595b4fbd: Download complete 12:04:38 59bf1c3509f3: Verifying Checksum 12:04:38 59bf1c3509f3: Download complete 12:04:38 763cafe07f6e: Download complete 12:04:38 0c0b528cf693: Verifying Checksum 12:04:38 0c0b528cf693: Download complete 12:04:38 59bf1c3509f3: Pull complete 12:04:39 666ba61612fd: Pull complete 12:04:39 8ed8ca486205: Pull complete 12:04:39 10935f4eaf8b: Verifying Checksum 12:04:39 10935f4eaf8b: Download complete 12:04:39 4fe6c5a15a65: Verifying Checksum 12:04:39 4fe6c5a15a65: Download complete 12:04:43 4fe6c5a15a65: Pull complete 12:04:44 22a0e8bec74d: Pull complete 12:04:44 640e595b4fbd: Pull complete 12:04:44 763cafe07f6e: Pull complete 12:04:44 0c0b528cf693: Pull complete 12:04:46 10935f4eaf8b: Pull complete 12:04:46 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:04:46 ---> 99d49a6021b9 12:04:46 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:04:48 ---> Running in 6c0d931d1d2d 12:04:48 Removing intermediate container 6c0d931d1d2d 12:04:48 ---> 8cb640b2ac65 12:04:48 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:04:48 ---> Running in dff040e40f6e 12:04:48 Removing intermediate container dff040e40f6e 12:04:48 ---> 5fcf3e44d588 12:04:48 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:04:48 ---> Running in f46ea6580210 12:04:48 Removing intermediate container f46ea6580210 12:04:48 ---> 2150bffb2c63 12:04:48 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:04:48 ---> Running in 3e3216e15fcd 12:04:49 Removing intermediate container 3e3216e15fcd 12:04:49 ---> b2d69df5c4c6 12:04:49 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:49 ---> Running in dc837978cb71 12:04:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:04:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:04:50 OK: 221 MiB in 52 packages 12:04:51 Removing intermediate container dc837978cb71 12:04:51 ---> 56c5b3ecd79c 12:04:51 Step 8/13 : WORKDIR /app 12:04:51 ---> Running in 46fcf2a45dcf 12:04:51 Removing intermediate container 46fcf2a45dcf 12:04:51 ---> 6e740466c7b3 12:04:51 Step 9/13 : COPY go.mod vendor* ./ 12:04:51 Still waiting to schedule task 12:04:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:04:51 ---> 5841e78598a8 12:04:51 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:51 ---> Running in d86d1d7e73a6 12:05:09 Removing intermediate container d86d1d7e73a6 12:05:09 ---> 1a3dfc9b1ec8 12:05:09 Step 11/13 : COPY . . 12:05:09 ---> 8fb7ef2c76f1 12:05:09 Step 12/13 : ARG MAKE="make build" 12:05:09 ---> Running in f4beb11d8512 12:05:09 Removing intermediate container f4beb11d8512 12:05:09 ---> 6ab5ce28e604 12:05:09 Step 13/13 : RUN $MAKE 12:05:09 ---> Running in 8c55edd60b08 12:05:09 noop 12:05:09 Removing intermediate container 8c55edd60b08 12:05:09 ---> 6ffd6d461fbd 12:05:09 Successfully built 6ffd6d461fbd 12:05:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:05:10 + docker inspect -f . ci-base-image-x86_64 12:05:10 . [Pipeline] withDockerContainer 12:05:10 prd-ubuntu20.04-docker-8c-8g-21780 does not seem to be running inside a container 12:05:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-406 -v /w/workspace/_app-service-configurable_PR-406:/w/workspace/_app-service-configurable_PR-406:rw,z -v /w/workspace/_app-service-configurable_PR-406@tmp:/w/workspace/_app-service-configurable_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:05:10 $ docker top edda562fd3de82648ffe6cd9ad22af407e78d908022a65815fc410460ccf36ef -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:11 + go version 12:05:11 go version go1.17.6 linux/amd64 [Pipeline] } 12:05:11 $ docker stop --time=1 edda562fd3de82648ffe6cd9ad22af407e78d908022a65815fc410460ccf36ef 12:05:12 $ docker rm -f edda562fd3de82648ffe6cd9ad22af407e78d908022a65815fc410460ccf36ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:05:13 + docker inspect -f . ci-base-image-x86_64 12:05:13 . [Pipeline] withDockerContainer 12:05:13 prd-ubuntu20.04-docker-8c-8g-21780 does not seem to be running inside a container 12:05:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-406 -v /w/workspace/_app-service-configurable_PR-406:/w/workspace/_app-service-configurable_PR-406:rw,z -v /w/workspace/_app-service-configurable_PR-406@tmp:/w/workspace/_app-service-configurable_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:05:13 $ docker top 29c54e7dbf7f32b4a7950748fe2888061342f646a40b978399143195244a1170 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:05:14 + make test 12:05:14 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:05:24 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:05:24 CGO_ENABLED=1 go vet ./... 12:05:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:05:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:05:28 ./bin/test-attribution-txt.sh [Pipeline] echo 12:05:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:05:29 $ docker stop --time=1 29c54e7dbf7f32b4a7950748fe2888061342f646a40b978399143195244a1170 12:05:30 $ docker rm -f 29c54e7dbf7f32b4a7950748fe2888061342f646a40b978399143195244a1170 [Pipeline] // withDockerContainer [Pipeline] sh 12:05:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:05:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:05:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:05:32 + ls -al . 12:05:32 total 184 12:05:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 12:05 . 12:05:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 12:04 .. 12:05:32 -rw-rw-r-- 1 jenkins jenkins 119 Apr 22 12:04 .dockerignore 12:05:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 12:04 .git 12:05:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:04 .github 12:05:32 -rw-rw-r-- 1 jenkins jenkins 104 Apr 22 12:04 .gitignore 12:05:32 drwx------ 3 jenkins jenkins 4096 Apr 22 12:04 .semver 12:05:32 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 22 12:04 Attribution.txt 12:05:32 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 22 12:04 CHANGELOG.md 12:05:32 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 22 12:04 Dockerfile 12:05:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 12:04 GOVERNANCE.md 12:05:32 -rw-rw-r-- 1 jenkins jenkins 688 Apr 22 12:04 Jenkinsfile 12:05:32 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 22 12:04 LICENSE 12:05:32 -rw-rw-r-- 1 jenkins jenkins 618 Apr 22 12:04 OWNERS.md 12:05:32 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 22 12:04 README.md 12:05:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 12:04 VERSION 12:05:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 12:04 bin 12:05:32 -rw-r--r-- 1 jenkins jenkins 10 Apr 22 12:05 coverage.out 12:05:32 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 22 12:04 go.mod 12:05:32 -rw-rw-r-- 1 jenkins jenkins 54185 Apr 22 12:04 go.sum 12:05:32 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 22 12:04 main.go 12:05:32 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 22 12:04 makefile 12:05:32 drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:04 res 12:05:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:04 snap [Pipeline] isUnix [Pipeline] sh 12:05:33 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=691e404553cc9db5d1d6fc168f2c259f64b3b6f3 --label arch=amd64 --label version=0.0.0 . 12:05:33 Sending build context to Docker daemon 3.044MB 12:05:33 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:05:33 Step 2/27 : FROM ${BASE} AS builder 12:05:33 ---> 6ffd6d461fbd 12:05:33 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:05:33 ---> Running in d858b14f3d90 12:05:33 Removing intermediate container d858b14f3d90 12:05:33 ---> 216aeb050561 12:05:33 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:05:33 ---> Running in 19ab0df97874 12:05:33 Removing intermediate container 19ab0df97874 12:05:33 ---> dd71d38b9bf3 12:05:33 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:33 ---> Running in 4cb2eb789019 12:05:33 Removing intermediate container 4cb2eb789019 12:05:33 ---> 2e5fabb0e6a8 12:05:33 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:05:33 ---> Running in a349286bbafb 12:05:34 Removing intermediate container a349286bbafb 12:05:34 ---> f78e85e3c972 12:05:34 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:34 ---> Running in eb7e65bcd635 12:05:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:05:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:05:35 OK: 221 MiB in 52 packages 12:05:36 Removing intermediate container eb7e65bcd635 12:05:36 ---> 13fac5681111 12:05:36 Step 8/27 : WORKDIR /app 12:05:36 ---> Running in c46c50ad0478 12:05:36 Removing intermediate container c46c50ad0478 12:05:36 ---> 4e8ed933778e 12:05:36 Step 9/27 : COPY go.mod vendor* ./ 12:05:36 ---> 16063446dbbb 12:05:36 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:36 ---> Running in d2b63a119d01 12:05:37 Removing intermediate container d2b63a119d01 12:05:37 ---> e2c403544e63 12:05:37 Step 11/27 : COPY . . 12:05:37 ---> c16e073041c2 12:05:37 Step 12/27 : ARG MAKE="make build" 12:05:37 ---> Running in 0e73e1781613 12:05:37 Removing intermediate container 0e73e1781613 12:05:37 ---> 0fbfb7436a93 12:05:37 Step 13/27 : RUN $MAKE 12:05:37 ---> Running in c49cc7cd3064 12:05:37 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:05:59 Removing intermediate container c49cc7cd3064 12:05:59 ---> 0f70dbb165d0 12:05:59 Step 14/27 : FROM alpine:3.14 12:05:59 3.14: Pulling from library/alpine 12:05:59 8663204ce13b: Pulling fs layer 12:05:59 8663204ce13b: Verifying Checksum 12:05:59 8663204ce13b: Download complete 12:05:59 8663204ce13b: Pull complete 12:05:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:05:59 Status: Downloaded newer image for alpine:3.14 12:05:59 ---> e04c818066af 12:05:59 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:05:59 ---> Running in c7543dae6692 12:05:59 Removing intermediate container c7543dae6692 12:05:59 ---> 92cfcd336a75 12:05:59 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:05:59 ---> Running in 2f5a0b9067f6 12:05:59 Removing intermediate container 2f5a0b9067f6 12:05:59 ---> a7882514a3d0 12:05:59 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:05:59 ---> Running in 1a31dc76f384 12:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:06:00 (1/7) Installing ca-certificates (20211220-r0) 12:06:00 (2/7) Installing dumb-init (1.2.5-r1) 12:06:00 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:06:00 (4/7) Installing libsodium (1.0.18-r0) 12:06:00 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:06:00 (6/7) Installing libzmq (4.3.4-r0) 12:06:00 (7/7) Installing zeromq (4.3.4-r0) 12:06:00 Executing busybox-1.33.1-r7.trigger 12:06:00 Executing ca-certificates-20211220-r0.trigger 12:06:00 OK: 9 MiB in 21 packages 12:06:01 Removing intermediate container 1a31dc76f384 12:06:01 ---> 96f1229270b5 12:06:01 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:06:01 ---> 677f6663d153 12:06:01 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:06:01 ---> f3292cdb7bea 12:06:01 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:06:01 ---> a98fcacc3835 12:06:01 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:06:02 ---> 4c667c08c049 12:06:02 Step 22/27 : EXPOSE 48095 12:06:02 ---> Running in df8f21cc0551 12:06:02 Removing intermediate container df8f21cc0551 12:06:02 ---> a9b4e38e24f1 12:06:02 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:06:02 ---> Running in 9d7d43777095 12:06:02 Removing intermediate container 9d7d43777095 12:06:02 ---> 21032b6d6672 12:06:02 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:06:02 ---> Running in f454cc495f99 12:06:02 Removing intermediate container f454cc495f99 12:06:02 ---> cd0a2e9a2e62 12:06:02 Step 25/27 : LABEL arch=amd64 12:06:02 ---> Running in d801c7e4d76b 12:06:02 Removing intermediate container d801c7e4d76b 12:06:02 ---> ae95ee20134f 12:06:02 Step 26/27 : LABEL git_sha=691e404553cc9db5d1d6fc168f2c259f64b3b6f3 12:06:02 ---> Running in 162bfdc86ca3 12:06:02 Removing intermediate container 162bfdc86ca3 12:06:02 ---> 92433feee1b9 12:06:02 Step 27/27 : LABEL version=0.0.0 12:06:02 ---> Running in a30436d8a79e 12:06:02 Removing intermediate container a30436d8a79e 12:06:02 ---> 542a725a0e8c 12:06:02 [Warning] One or more build-args [ARCH] were not consumed 12:06:02 Successfully built 542a725a0e8c 12:06:03 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:06:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:04 12:06:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:06:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:04 latest: Pulling from edgex-lftools-log-publisher 12:06:04 5eb5b503b376: Pulling fs layer 12:06:04 5c69ac0246d0: Pulling fs layer 12:06:04 ec43610c2a17: Pulling fs layer 12:06:04 3a2ae6a8a46f: Pulling fs layer 12:06:04 33b1e0a273af: Pulling fs layer 12:06:04 5d3b04190fa2: Pulling fs layer 12:06:04 2f39f015ded8: Pulling fs layer 12:06:04 3a2ae6a8a46f: Waiting 12:06:04 33b1e0a273af: Waiting 12:06:04 5d3b04190fa2: Waiting 12:06:04 2f39f015ded8: Waiting 12:06:04 5c69ac0246d0: Verifying Checksum 12:06:04 5c69ac0246d0: Download complete 12:06:04 3a2ae6a8a46f: Download complete 12:06:04 33b1e0a273af: Verifying Checksum 12:06:04 33b1e0a273af: Download complete 12:06:04 5d3b04190fa2: Verifying Checksum 12:06:04 5d3b04190fa2: Download complete 12:06:04 ec43610c2a17: Verifying Checksum 12:06:04 ec43610c2a17: Download complete 12:06:04 5eb5b503b376: Verifying Checksum 12:06:04 5eb5b503b376: Download complete 12:06:05 2f39f015ded8: Verifying Checksum 12:06:05 2f39f015ded8: Download complete 12:06:05 5eb5b503b376: Pull complete 12:06:06 5c69ac0246d0: Pull complete 12:06:06 ec43610c2a17: Pull complete 12:06:06 3a2ae6a8a46f: Pull complete 12:06:06 33b1e0a273af: Pull complete 12:06:06 5d3b04190fa2: Pull complete 12:06:11 2f39f015ded8: Pull complete 12:06:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:06:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:06:11 prd-ubuntu20.04-docker-8c-8g-21780 does not seem to be running inside a container 12:06:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-406 -v /w/workspace/_app-service-configurable_PR-406:/w/workspace/_app-service-configurable_PR-406:rw,z -v /w/workspace/_app-service-configurable_PR-406@tmp:/w/workspace/_app-service-configurable_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:06:13 $ docker top 08221ec3b2a19157274580f245cbf72fa88a61ace82c7e1479f1c31762ea6e1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:13 ---> job-cost.sh 12:06:13 lf-activate-venv: SKIPPING 12:06:13 INFO: No Stack... 12:06:13 INFO: Retrieving Pricing Info for: v3-standard-8 12:06:14 INFO: Archiving Costs [Pipeline] sh 12:06:14 + cat /w/workspace/_app-service-configurable_PR-406/archives/cost.csv 12:06:14 + cut -d, -f6 [Pipeline] lock 12:06:14 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] 12:06:14 Resource [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] did not exist. Created. 12:06:14 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:06:15 + echo total: 0.2199999988079071 [Pipeline] stash 12:06:15 Stashed 1 file(s) [Pipeline] } 12:06:15 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:06:15 $ docker stop --time=1 08221ec3b2a19157274580f245cbf72fa88a61ace82c7e1479f1c31762ea6e1e 12:06:16 $ docker rm -f 08221ec3b2a19157274580f245cbf72fa88a61ace82c7e1479f1c31762ea6e1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:06:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21781 in /w/workspace/_app-service-configurable_PR-406 [Pipeline] { [Pipeline] ws 12:06:33 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:06:33 Selected Git installation does not exist. Using Default 12:06:33 The recommended git tool is: NONE 12:06:38 using credential edgex-jenkins-ssh 12:06:38 Cloning the remote Git repository 12:06:38 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:06:38 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:06:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:38 > git --version # timeout=10 12:06:38 > git --version # 'git version 2.25.1' 12:06:38 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:40 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 12:06:41 Merge succeeded, producing 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 12:06:41 Checking out Revision 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 (PR-406) 12:06:40 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:06:40 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:06:40 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:06:40 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:06:40 > git config core.sparsecheckout # timeout=10 12:06:40 > git checkout -f 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 # timeout=10 12:06:40 > git remote # timeout=10 12:06:40 > git config --get remote.origin.url # timeout=10 12:06:40 using GIT_SSH to set credentials SSH Credentials for GitHub 12:06:40 > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 12:06:40 > git rev-parse HEAD^{commit} # timeout=10 12:06:41 > git config core.sparsecheckout # timeout=10 12:06:41 > git checkout -f 691e404553cc9db5d1d6fc168f2c259f64b3b6f3 # timeout=10 12:06:45 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:06:45 > git --version # timeout=10 12:06:45 > git --version # 'git version 2.25.1' 12:06:45 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:06:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:06:46 % Total % Received % Xferd Average Speed Time Time Time Current 12:06:46 Dload Upload Total Spent Left Speed 12:06:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97876 [Pipeline] sh 12:06:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:06:47 + + sudo tee /etc/docker/daemon.new 12:06:47 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:06:47 { 12:06:47 "registry-mirrors": [ 12:06:47 "https://nexus3.edgexfoundry.org:10001" 12:06:47 ], 12:06:47 "bip": "10.250.0.254/24", 12:06:47 "hosts": [ 12:06:47 "tcp://0.0.0.0:5555", 12:06:47 "unix:///var/run/docker.sock" 12:06:47 ], 12:06:47 "mtu": 1458, 12:06:47 "selinux-enabled": true, 12:06:47 "seccomp-profile": "/etc/docker/seccomp.json" 12:06:47 } [Pipeline] sh 12:06:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:06:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:07:06 provisioning config files... 12:07:06 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config660462421374572964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:07:07 ---> docker-login.sh 12:07:07 nexus3.edgexfoundry.org:10001 12:07:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:07 Configure a credential helper to remove this warning. See 12:07:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:07 12:07:07 Login Succeeded 12:07:07 nexus3.edgexfoundry.org:10002 12:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:08 Configure a credential helper to remove this warning. See 12:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:08 12:07:08 Login Succeeded 12:07:08 nexus3.edgexfoundry.org:10003 12:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:08 Configure a credential helper to remove this warning. See 12:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:08 12:07:08 Login Succeeded 12:07:08 nexus3.edgexfoundry.org:10004 12:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:09 Configure a credential helper to remove this warning. See 12:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:09 12:07:09 Login Succeeded 12:07:09 docker.io 12:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:10 Configure a credential helper to remove this warning. See 12:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:10 12:07:10 Login Succeeded 12:07:10 ---> docker-login.sh ends [Pipeline] } 12:07:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:07:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:07:10 ========================================================= 12:07:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:07:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:07:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:07:11 Sending build context to Docker daemon 218.1kB 12:07:11 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 12:07:11 Step 2/13 : FROM ${BASE} AS builder 12:07:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:07:11 9b3977197b4f: Pulling fs layer 12:07:11 1a89e8eeedd5: Pulling fs layer 12:07:11 94645a83ff95: Pulling fs layer 12:07:11 3f3a8bcf1eab: Pulling fs layer 12:07:11 0c92f367c5e7: Pulling fs layer 12:07:11 f7c0051592d6: Pulling fs layer 12:07:11 a227ed2f7395: Pulling fs layer 12:07:11 7b1c46037f91: Pulling fs layer 12:07:11 0c92f367c5e7: Waiting 12:07:11 f7c0051592d6: Waiting 12:07:11 a227ed2f7395: Waiting 12:07:11 7b1c46037f91: Waiting 12:07:11 94645a83ff95: Download complete 12:07:11 1a89e8eeedd5: Verifying Checksum 12:07:11 1a89e8eeedd5: Download complete 12:07:11 0c92f367c5e7: Verifying Checksum 12:07:11 0c92f367c5e7: Download complete 12:07:11 f7c0051592d6: Download complete 12:07:11 9b3977197b4f: Verifying Checksum 12:07:11 9b3977197b4f: Download complete 12:07:11 a227ed2f7395: Verifying Checksum 12:07:11 a227ed2f7395: Download complete 12:07:12 9b3977197b4f: Pull complete 12:07:12 1a89e8eeedd5: Pull complete 12:07:13 94645a83ff95: Pull complete 12:07:13 7b1c46037f91: Verifying Checksum 12:07:13 7b1c46037f91: Download complete 12:07:14 3f3a8bcf1eab: Verifying Checksum 12:07:14 3f3a8bcf1eab: Download complete 12:07:26 3f3a8bcf1eab: Pull complete 12:07:26 0c92f367c5e7: Pull complete 12:07:26 f7c0051592d6: Pull complete 12:07:26 a227ed2f7395: Pull complete 12:07:33 7b1c46037f91: Pull complete 12:07:33 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:07:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:07:33 ---> f79e39bc4007 12:07:33 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:07:33 ---> Running in 28091ab11d6d 12:07:34 Removing intermediate container 28091ab11d6d 12:07:34 ---> 0870a55a3487 12:07:34 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 12:07:34 ---> Running in f456b19fa806 12:07:34 Removing intermediate container f456b19fa806 12:07:34 ---> 06d693963810 12:07:34 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:07:34 ---> Running in d24e0fe0581b 12:07:34 Removing intermediate container d24e0fe0581b 12:07:34 ---> 5b8bdf608c83 12:07:34 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:07:34 ---> Running in fb4b14f40d95 12:07:37 Removing intermediate container fb4b14f40d95 12:07:37 ---> cd4d3fad7e06 12:07:37 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:07:37 ---> Running in 59e7d73ee8ce 12:07:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:07:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:07:40 OK: 220 MiB in 52 packages 12:07:41 Removing intermediate container 59e7d73ee8ce 12:07:41 ---> 4103bb4c3326 12:07:41 Step 8/13 : WORKDIR /app 12:07:41 ---> Running in 11c7a85f8e1a 12:07:41 Removing intermediate container 11c7a85f8e1a 12:07:41 ---> c33b82769005 12:07:41 Step 9/13 : COPY go.mod vendor* ./ 12:07:42 ---> 92c6e6eb481b 12:07:42 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:07:42 ---> Running in c66e5b3c4bf4 12:08:29 Removing intermediate container c66e5b3c4bf4 12:08:29 ---> 1a44c321f23f 12:08:29 Step 11/13 : COPY . . 12:08:29 ---> 009345e37be3 12:08:29 Step 12/13 : ARG MAKE="make build" 12:08:29 ---> Running in 47148a7c7b0c 12:08:29 Removing intermediate container 47148a7c7b0c 12:08:29 ---> a35b001f46b4 12:08:29 Step 13/13 : RUN $MAKE 12:08:29 ---> Running in b0373567abf4 12:08:29 noop 12:08:29 Removing intermediate container b0373567abf4 12:08:29 ---> d0f17f022544 12:08:29 Successfully built d0f17f022544 12:08:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:08:29 + docker inspect -f . ci-base-image-arm64 12:08:29 . [Pipeline] withDockerContainer 12:08:29 prd-ubuntu20.04-docker-arm64-4c-16g-21781 does not seem to be running inside a container 12:08:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:08:31 $ docker top e5ac79462144ab68836856263abb1add4766205f7db0338a2a915a89b22257c4 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:32 + go version 12:08:32 go version go1.17.6 linux/arm64 [Pipeline] } 12:08:32 $ docker stop --time=1 e5ac79462144ab68836856263abb1add4766205f7db0338a2a915a89b22257c4 12:08:33 $ docker rm -f e5ac79462144ab68836856263abb1add4766205f7db0338a2a915a89b22257c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:08:34 + docker inspect -f . ci-base-image-arm64 12:08:34 . [Pipeline] withDockerContainer 12:08:34 prd-ubuntu20.04-docker-arm64-4c-16g-21781 does not seem to be running inside a container 12:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:08:36 $ docker top 46e096e5bd4f61061c1152d15c1e37ae2aa412bc4aff13eda0358eeb8c068573 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:08:37 + make test 12:08:37 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:09:59 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:09:59 CGO_ENABLED=1 go vet ./... 12:10:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:10:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:10:17 ./bin/test-attribution-txt.sh [Pipeline] echo 12:10:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:10:20 $ docker stop --time=1 46e096e5bd4f61061c1152d15c1e37ae2aa412bc4aff13eda0358eeb8c068573 12:10:21 $ docker rm -f 46e096e5bd4f61061c1152d15c1e37ae2aa412bc4aff13eda0358eeb8c068573 [Pipeline] // withDockerContainer [Pipeline] sh 12:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:10:22 Warning: overwriting stash ‘coverage-report’ 12:10:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:10:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:10:24 + ls -al . 12:10:24 total 180 12:10:24 drwxrwxr-x 7 jenkins jenkins 4096 Apr 22 12:10 . 12:10:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 12:06 .. 12:10:24 -rw-rw-r-- 1 jenkins jenkins 119 Apr 22 12:06 .dockerignore 12:10:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 12:06 .git 12:10:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:06 .github 12:10:24 -rw-rw-r-- 1 jenkins jenkins 104 Apr 22 12:06 .gitignore 12:10:24 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 22 12:06 Attribution.txt 12:10:24 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 22 12:06 CHANGELOG.md 12:10:24 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 22 12:06 Dockerfile 12:10:24 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 12:06 GOVERNANCE.md 12:10:24 -rw-rw-r-- 1 jenkins jenkins 688 Apr 22 12:06 Jenkinsfile 12:10:24 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 22 12:06 LICENSE 12:10:24 -rw-rw-r-- 1 jenkins jenkins 618 Apr 22 12:06 OWNERS.md 12:10:24 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 22 12:06 README.md 12:10:24 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 12:04 VERSION 12:10:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 12:06 bin 12:10:24 -rw-r--r-- 1 jenkins jenkins 10 Apr 22 12:08 coverage.out 12:10:24 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 22 12:06 go.mod 12:10:24 -rw-rw-r-- 1 jenkins jenkins 54185 Apr 22 12:06 go.sum 12:10:24 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 22 12:06 main.go 12:10:24 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 22 12:06 makefile 12:10:24 drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:06 res 12:10:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 12:06 snap [Pipeline] isUnix [Pipeline] sh 12:10:24 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=691e404553cc9db5d1d6fc168f2c259f64b3b6f3 --label arch=arm64 --label version=0.0.0 . 12:10:24 Sending build context to Docker daemon 219.1kB 12:10:24 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 12:10:24 Step 2/27 : FROM ${BASE} AS builder 12:10:24 ---> d0f17f022544 12:10:24 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:10:24 ---> Running in 2017526b1318 12:10:25 Removing intermediate container 2017526b1318 12:10:25 ---> b6c7b851d7ba 12:10:25 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:10:25 ---> Running in 25b44b8a033b 12:10:25 Removing intermediate container 25b44b8a033b 12:10:25 ---> fe3baa2ff3c1 12:10:25 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:10:25 ---> Running in f1126d1ba7df 12:10:26 Removing intermediate container f1126d1ba7df 12:10:26 ---> df44bbf78259 12:10:26 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:10:26 ---> Running in 0301d44a0c33 12:10:28 Removing intermediate container 0301d44a0c33 12:10:28 ---> 51820bdb8733 12:10:28 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:10:28 ---> Running in 0e9807650f34 12:10:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:10:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:10:30 OK: 220 MiB in 52 packages 12:10:31 Removing intermediate container 0e9807650f34 12:10:31 ---> c82e8a13d92d 12:10:31 Step 8/27 : WORKDIR /app 12:10:31 ---> Running in f6a90a177c3a 12:10:31 Removing intermediate container f6a90a177c3a 12:10:31 ---> d02260549f28 12:10:31 Step 9/27 : COPY go.mod vendor* ./ 12:10:32 ---> 261882219b50 12:10:32 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:32 ---> Running in cfab30409fc4 12:10:34 Removing intermediate container cfab30409fc4 12:10:34 ---> 6a7344862bf0 12:10:34 Step 11/27 : COPY . . 12:10:35 ---> 5c0c9077fa94 12:10:35 Step 12/27 : ARG MAKE="make build" 12:10:35 ---> Running in ea6f460d863c 12:10:35 Removing intermediate container ea6f460d863c 12:10:35 ---> ab26c0dba07b 12:10:35 Step 13/27 : RUN $MAKE 12:10:35 ---> Running in 071bbae03efd 12:10:36 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:12:43 Removing intermediate container 071bbae03efd 12:12:43 ---> 9f20b56d985f 12:12:43 Step 14/27 : FROM alpine:3.14 12:12:43 3.14: Pulling from library/alpine 12:12:43 455c02918c45: Pulling fs layer 12:12:43 455c02918c45: Verifying Checksum 12:12:43 455c02918c45: Download complete 12:12:43 455c02918c45: Pull complete 12:12:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:12:43 Status: Downloaded newer image for alpine:3.14 12:12:43 ---> ac73e934f311 12:12:43 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 12:12:43 ---> Running in 7ecdbfa4f224 12:12:43 Removing intermediate container 7ecdbfa4f224 12:12:43 ---> 8300c38b6dea 12:12:43 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:12:43 ---> Running in 554f794e95e5 12:12:43 Removing intermediate container 554f794e95e5 12:12:43 ---> a5d591e971b2 12:12:43 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:12:43 ---> Running in b18f8d8b1193 12:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:12:43 (1/7) Installing ca-certificates (20211220-r0) 12:12:43 (2/7) Installing dumb-init (1.2.5-r1) 12:12:43 (3/7) Installing libgcc (10.3.1_git20210424-r2) 12:12:43 (4/7) Installing libsodium (1.0.18-r0) 12:12:43 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 12:12:43 (6/7) Installing libzmq (4.3.4-r0) 12:12:43 (7/7) Installing zeromq (4.3.4-r0) 12:12:43 Executing busybox-1.33.1-r7.trigger 12:12:43 Executing ca-certificates-20211220-r0.trigger 12:12:43 OK: 9 MiB in 21 packages 12:12:43 Removing intermediate container b18f8d8b1193 12:12:43 ---> bbb4b3cf38bd 12:12:43 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:12:43 ---> e20cc033dd8f 12:12:43 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:12:43 ---> 8f65a974a185 12:12:43 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:12:43 ---> 87543283d5ca 12:12:43 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:12:43 ---> 6d7ec4acb437 12:12:43 Step 22/27 : EXPOSE 48095 12:12:43 ---> Running in 6c77c479c817 12:12:43 Removing intermediate container 6c77c479c817 12:12:43 ---> cd648962b474 12:12:43 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:12:43 ---> Running in 5478e223c279 12:12:43 Removing intermediate container 5478e223c279 12:12:43 ---> f6529b9f15bd 12:12:43 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:12:43 ---> Running in 8ccab4c555ad 12:12:43 Removing intermediate container 8ccab4c555ad 12:12:43 ---> e2f4093e192e 12:12:43 Step 25/27 : LABEL arch=arm64 12:12:43 ---> Running in e1529bdcbdf0 12:12:43 Removing intermediate container e1529bdcbdf0 12:12:43 ---> 95b744220d11 12:12:43 Step 26/27 : LABEL git_sha=691e404553cc9db5d1d6fc168f2c259f64b3b6f3 12:12:43 ---> Running in ca7dee3f73c4 12:12:43 Removing intermediate container ca7dee3f73c4 12:12:43 ---> bc40afa18323 12:12:43 Step 27/27 : LABEL version=0.0.0 12:12:43 ---> Running in f6bb12151259 12:12:43 Removing intermediate container f6bb12151259 12:12:43 ---> c0a51f0a2e49 12:12:43 [Warning] One or more build-args [ARCH] were not consumed 12:12:43 Successfully built c0a51f0a2e49 12:12:43 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:12:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:43 12:12:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:12:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:12:44 arm64: Pulling from edgex-lftools-log-publisher 12:12:44 8998bd30e6a1: Pulling fs layer 12:12:44 04944245beec: Pulling fs layer 12:12:44 699f458cf7ca: Pulling fs layer 12:12:44 765212b225bb: Pulling fs layer 12:12:44 f23df028b6ca: Pulling fs layer 12:12:44 d65c8cfc05b1: Pulling fs layer 12:12:44 2437ff75d9bd: Pulling fs layer 12:12:44 765212b225bb: Waiting 12:12:44 d65c8cfc05b1: Waiting 12:12:44 2437ff75d9bd: Waiting 12:12:44 f23df028b6ca: Waiting 12:12:44 04944245beec: Verifying Checksum 12:12:44 04944245beec: Download complete 12:12:44 765212b225bb: Download complete 12:12:44 f23df028b6ca: Verifying Checksum 12:12:44 f23df028b6ca: Download complete 12:12:44 d65c8cfc05b1: Verifying Checksum 12:12:44 d65c8cfc05b1: Download complete 12:12:44 699f458cf7ca: Verifying Checksum 12:12:44 699f458cf7ca: Download complete 12:12:45 8998bd30e6a1: Verifying Checksum 12:12:45 8998bd30e6a1: Download complete 12:12:47 2437ff75d9bd: Verifying Checksum 12:12:47 2437ff75d9bd: Download complete 12:12:49 8998bd30e6a1: Pull complete 12:12:49 04944245beec: Pull complete 12:12:51 699f458cf7ca: Pull complete 12:12:51 765212b225bb: Pull complete 12:12:52 f23df028b6ca: Pull complete 12:12:52 d65c8cfc05b1: Pull complete 12:13:07 2437ff75d9bd: Pull complete 12:13:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:13:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:13:08 prd-ubuntu20.04-docker-arm64-4c-16g-21781 does not seem to be running inside a container 12:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:13:10 $ docker top 785beac82aa9c06e57b2bf4c17f896c5fe740fd1d2ee6315a1952c0bfd361f0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:11 ---> job-cost.sh 12:13:11 lf-activate-venv: SKIPPING 12:13:11 INFO: No Stack... 12:13:12 INFO: Retrieving Pricing Info for: v3-standard-4 12:13:13 INFO: Archiving Costs [Pipeline] sh 12:13:13 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:13:13 + cut -d, -f6 [Pipeline] lock 12:13:13 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] 12:13:13 Resource [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] did not exist. Created. 12:13:13 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:13:14 /w/workspace/app-service-configurable/1@tmp/durable-8e075c31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:13:15 + echo total: 0.10999999940395355 [Pipeline] stash 12:13:15 Warning: overwriting stash ‘stack-cost’ 12:13:15 Stashed 1 file(s) [Pipeline] } 12:13:15 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:13:15 $ docker stop --time=1 785beac82aa9c06e57b2bf4c17f896c5fe740fd1d2ee6315a1952c0bfd361f0b 12:13:16 $ docker rm -f 785beac82aa9c06e57b2bf4c17f896c5fe740fd1d2ee6315a1952c0bfd361f0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:13:17 provisioning config files... 12:13:17 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-406@tmp/config2092202231291375tmp [Pipeline] { [Pipeline] sh 12:13:18 + set +x 12:13:18 + curl -s https://codecov.io/bash 12:13:18 + bash -s -- 12:13:18 12:13:18 _____ _ 12:13:18 / ____| | | 12:13:18 | | ___ __| | ___ ___ _____ __ 12:13:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:13:18 | |___| (_) | (_| | __/ (_| (_) \ V / 12:13:18 \_____\___/ \__,_|\___|\___\___/ \_/ 12:13:18 Bash-1.0.6 12:13:18 12:13:18 12:13:18 ==> git version 2.25.1 found 12:13:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:13:18 Release-Date: 2020-01-08 12:13:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:13:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:13:18 ==> Jenkins CI detected. 12:13:18 current dir:  /w/workspace/_app-service-configurable_PR-406 12:13:18 project root: . 12:13:18 --> token set from env 12:13:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:13:18 ==> Running gcov in . (disable via -X gcov) 12:13:18 ==> Python coveragepy not found 12:13:18 ==> Searching for coverage reports in: 12:13:18 + . 12:13:18 -> Found 1 reports 12:13:18 ==> Detecting git/mercurial file structure 12:13:18 ==> Reading reports 12:13:18 + ./coverage.out bytes=10 12:13:18 ==> Appending adjustments 12:13:18 https://docs.codecov.io/docs/fixing-reports 12:13:18 + Found adjustments 12:13:18 ==> Gzipping contents 12:13:18 4.0K /tmp/codecov.SO3U97.gz 12:13:18 ==> Uploading reports 12:13:18 url: https://codecov.io 12:13:18 query: branch=PR-406&commit=691e404553cc9db5d1d6fc168f2c259f64b3b6f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-406%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=406&job=&cmd_args= 12:13:18 -> Pinging Codecov 12:13:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-406&commit=691e404553cc9db5d1d6fc168f2c259f64b3b6f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-406%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=406&job=&cmd_args= 12:13:18 -> Uploading to 12:13:18 https://storage.googleapis.com/codecov/v4/raw/2022-04-22/A97CA9966030D2A3747ED39772930CCE/691e404553cc9db5d1d6fc168f2c259f64b3b6f3/9b2d053b-26d5-4a62-a424-7356d50e41d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T121318Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08869c8350cf053a46691ccd437209ea92164ec1338c8e634a6e21d6840ce84e 12:13:18 % Total % Received % Xferd Average Speed Time Time Time Current 12:13:18 Dload Upload Total Spent Left Speed 12:13:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2574 --:--:-- --:--:-- --:--:-- 2563 100 569 0 0 100 569 0 2322 --:--:-- --:--:-- --:--:-- 2313 12:13:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/691e404553cc9db5d1d6fc168f2c259f64b3b6f3 [Pipeline] } 12:13:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:13:20 + [ -d /w/workspace/_app-service-configurable_PR-406/archives ] 12:13:20 + ls -al /w/workspace/_app-service-configurable_PR-406/archives 12:13:20 total 16 12:13:20 drwxr-xr-x 3 root root 4096 Apr 22 12:06 . 12:13:20 drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:06 .. 12:13:20 drwxr-xr-x 2 root root 4096 Apr 22 12:06 cost 12:13:20 -rw-r--r-- 1 root root 95 Apr 22 12:06 cost.csv 12:13:20 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-406/archives 12:13:20 + ls -al /w/workspace/_app-service-configurable_PR-406/archives 12:13:20 total 16 12:13:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 12:06 . 12:13:20 drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 12:06 .. 12:13:20 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 12:06 cost 12:13:20 -rw-r--r-- 1 jenkins jenkins 95 Apr 22 12:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:13:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:13:21 ---> package-listing.sh 12:13:21 ++ facter osfamily 12:13:21 ++ tr '[:upper:]' '[:lower:]' 12:13:22 + OS_FAMILY=debian 12:13:22 + workspace=/w/workspace/_app-service-configurable_PR-406 12:13:22 + START_PACKAGES=/tmp/packages_start.txt 12:13:22 + END_PACKAGES=/tmp/packages_end.txt 12:13:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:13:22 + PACKAGES=/tmp/packages_start.txt 12:13:22 + '[' /w/workspace/_app-service-configurable_PR-406 ']' 12:13:22 + PACKAGES=/tmp/packages_end.txt 12:13:22 + case "${OS_FAMILY}" in 12:13:22 + dpkg -l 12:13:22 + grep '^ii' 12:13:22 + '[' -f /tmp/packages_start.txt ']' 12:13:22 + '[' -f /tmp/packages_end.txt ']' 12:13:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:13:22 + '[' /w/workspace/_app-service-configurable_PR-406 ']' 12:13:22 + mkdir -p /w/workspace/_app-service-configurable_PR-406/archives/ 12:13:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-406/archives/ [Pipeline] echo 12:13:22 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-406/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:13:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:13:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:23 . [Pipeline] withDockerContainer 12:13:23 prd-ubuntu20.04-docker-8c-8g-21780 does not seem to be running inside a container 12:13:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-406/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-406 -v /w/workspace/_app-service-configurable_PR-406:/w/workspace/_app-service-configurable_PR-406:rw,z -v /w/workspace/_app-service-configurable_PR-406@tmp:/w/workspace/_app-service-configurable_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:13:23 $ docker top 1bf54615d605cb8ee70fe8495c0998b4b386690dc32d7429d6db487d3eab4faf -eo pid,comm [Pipeline] { [Pipeline] sh 12:13:23 + touch /tmp/pre-build-complete [Pipeline] sh 12:13:24 + mkdir -p /var/log/sysstat [Pipeline] sh 12:13:24 + ls /var/log/sa-host 12:13:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:24 provisioning config files... 12:13:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-406@tmp/config153828930990088860tmp [Pipeline] { [Pipeline] echo 12:13:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:13:25 ---> create-netrc.sh [Pipeline] } 12:13:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:13:25 ---> python-tools-install.sh [Pipeline] echo 12:13:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:13:25 ---> sudo-logs.sh 12:13:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:13:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:13:26 ---> job-cost.sh 12:13:26 lf-activate-venv: SKIPPING 12:13:26 DEBUG: total: 0.2199999988079071 12:13:26 INFO: Retrieving Stack Cost... 12:13:26 INFO: Retrieving Pricing Info for: v3-standard-8 12:13:27 INFO: Archiving Costs [Pipeline] echo 12:13:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:13:27 ---> logs-deploy.sh 12:13:27 lf-activate-venv: SKIPPING 12:13:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-406/1 12:13:27 INFO: archiving workspace using pattern(s): 12:13:28 Archives upload complete. 12:13:29 INFO: archiving logs to Nexus