Pull request #409 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 3cc2d14d138f46f1859b4a933023ed82e9bb950f+df3e4aa32325b4ff01c9571101f476251afb5081 (ec0b21a2d41b0a83dcf54fa1cb77d08696ba1399) 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-ssh7518190463966134094.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-ssh17767106656051435457.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-409/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-409/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9041322308092439000.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 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-ssh10071520921216050661.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-409/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-409/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17552687307046264429.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-33005 in /w/workspace/_app-service-configurable_PR-409 [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-409 # 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 df3e4aa32325b4ff01c9571101f476251afb5081 into PR head commit 3cc2d14d138f46f1859b4a933023ed82e9bb950f Merge succeeded, producing 3cc2d14d138f46f1859b4a933023ed82e9bb950f Checking out Revision 3cc2d14d138f46f1859b4a933023ed82e9bb950f (PR-409) > 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/409/head:refs/remotes/origin/PR-409 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3cc2d14d138f46f1859b4a933023ed82e9bb950f # 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 df3e4aa32325b4ff01c9571101f476251afb5081 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3cc2d14d138f46f1859b4a933023ed82e9bb950f # timeout=10 Commit message: "feat: Enable use of common app service metrics" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:33:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:33:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:33:57 ========================================================= 17:33:57 EdgeX Global Pipelines Version Info 17:33:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:33:58 ------------------- 17:33:58 stable info: 17:33:58 ------------------- 17:33:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:33:58 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:33:58 Message: update stable to v1.0.221 17:33:59 ------------------- 17:33:59 experimental info: 17:33:59 ------------------- 17:33:59 Commited By: Emilio Reyes emilio.reyes@intel.com 17:33:59 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 17:33:59 Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-409 [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-409 [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-409 [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3cc2d14d138f46f1859b4a933023ed82e9bb950f [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3cc2d14 [Pipeline] echo 17:33:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:59 provisioning config files... 17:33:59 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-409@tmp/config1601866796547971371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:00 ---> docker-login.sh 17:34:00 nexus3.edgexfoundry.org:10001 17:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:00 Configure a credential helper to remove this warning. See 17:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:00 17:34:00 Login Succeeded 17:34:00 nexus3.edgexfoundry.org:10002 17:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:00 Configure a credential helper to remove this warning. See 17:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:00 17:34:00 Login Succeeded 17:34:00 nexus3.edgexfoundry.org:10003 17:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:00 Configure a credential helper to remove this warning. See 17:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:00 17:34:00 Login Succeeded 17:34:00 nexus3.edgexfoundry.org:10004 17:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:01 Configure a credential helper to remove this warning. See 17:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:01 17:34:01 Login Succeeded 17:34:01 docker.io 17:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:01 Configure a credential helper to remove this warning. See 17:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:01 17:34:01 Login Succeeded 17:34:01 ---> docker-login.sh ends [Pipeline] } 17:34:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:34:02 + git rev-list -1 --merges 3cc2d14d138f46f1859b4a933023ed82e9bb950f~1..3cc2d14d138f46f1859b4a933023ed82e9bb950f [Pipeline] echo 17:34:02 -----------> git rev-list -1 --merges 3cc2d14d138f46f1859b4a933023ed82e9bb950f~1..3cc2d14d138f46f1859b4a933023ed82e9bb950f 3cc2d14d138f46f1859b4a933023ed82e9bb950f [false] [Pipeline] sh 17:34:02 + git log --format=format:%s -1 3cc2d14d138f46f1859b4a933023ed82e9bb950f [Pipeline] echo 17:34:02 ========================================================= 17:34:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:34:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:34:02 + git log --format=format:%s -1 3cc2d14d138f46f1859b4a933023ed82e9bb950f [Pipeline] echo 17:34:02 [semverPrep] GIT_COMMIT: 3cc2d14d138f46f1859b4a933023ed82e9bb950f, Commit Message: feat: Enable use of common app service metrics [Pipeline] echo 17:34:02 [semverPrep] This is not a build commit. [Pipeline] sh 17:34:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:34:03 + grep -v github /etc/ssh/ssh_known_hosts 17:34:03 + [ -e /tmp/ssh_known_hosts ] 17:34:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:34:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:34:03 + sudo tee -a /etc/ssh/ssh_known_hosts 17:34:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:34:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:34:03 17:34:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:34:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:34:04 latest: Pulling from edgex-devops/git-semver 17:34:04 a0d0a0d46f8b: Pulling fs layer 17:34:04 3e5f54012d9b: Pulling fs layer 17:34:04 4c7163046ea9: Pulling fs layer 17:34:04 0c2d73faf560: Pulling fs layer 17:34:04 0c2d73faf560: Waiting 17:34:04 3e5f54012d9b: Verifying Checksum 17:34:04 3e5f54012d9b: Download complete 17:34:04 a0d0a0d46f8b: Download complete 17:34:04 0c2d73faf560: Verifying Checksum 17:34:04 0c2d73faf560: Download complete 17:34:04 4c7163046ea9: Verifying Checksum 17:34:04 4c7163046ea9: Download complete 17:34:04 a0d0a0d46f8b: Pull complete 17:34:04 3e5f54012d9b: Pull complete 17:34:04 4c7163046ea9: Pull complete 17:34:05 0c2d73faf560: Pull complete 17:34:05 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:34:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:34:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:34:05 prd-ubuntu20.04-docker-8c-8g-33005 does not seem to be running inside a container 17:34:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-409 -v /w/workspace/_app-service-configurable_PR-409:/w/workspace/_app-service-configurable_PR-409:rw,z -v /w/workspace/_app-service-configurable_PR-409@tmp:/w/workspace/_app-service-configurable_PR-409@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:10004/edgex-devops/git-semver:latest cat 17:34:05 $ docker top 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:34:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:05 [ssh-agent] Looking for ssh-agent implementation... 17:34:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:06 $ docker exec 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 ssh-agent 17:34:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeEHpDD/agent.13 17:34:06 SSH_AGENT_PID=19 17:34:06 Running ssh-add (command line suppressed) 17:34:06 Identity added: /w/workspace/_app-service-configurable_PR-409@tmp/private_key_3707117943735259613.key (/w/workspace/_app-service-configurable_PR-409@tmp/private_key_3707117943735259613.key) 17:34:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:06 + git tag --points-at HEAD [Pipeline] } 17:34:06 $ docker exec --env ******** --env ******** 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 ssh-agent -k 17:34:06 unset SSH_AUTH_SOCK; 17:34:06 unset SSH_AGENT_PID; 17:34:06 echo Agent pid 19 killed; 17:34:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:34:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:06 [ssh-agent] Looking for ssh-agent implementation... 17:34:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:07 $ docker exec 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 ssh-agent 17:34:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbpMdGN/agent.52 17:34:07 SSH_AGENT_PID=59 17:34:07 Running ssh-add (command line suppressed) 17:34:07 Identity added: /w/workspace/_app-service-configurable_PR-409@tmp/private_key_7041392285125008022.key (/w/workspace/_app-service-configurable_PR-409@tmp/private_key_7041392285125008022.key) 17:34:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:07 + git semver init 17:34:07 # -> Open(): unable to determine branch for HEAD 17:34:07 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-409/.git 17:34:07 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-409 17:34:07 # $SEMVER_REMOTE_NAME = origin 17:34:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:34:07 # $SEMVER_USER_NAME = edgex-jenkins 17:34:07 # $SEMVER_BRANCH = PR-409 17:34:07 # $SEMVER_TEMP = /tmp/semver-769881795 17:34:07 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 17:34:08 # '/tmp/semver-769881795' -> '/w/workspace/_app-service-configurable_PR-409/.semver' 17:34:08 # -> Force: false 17:34:08 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-409/.semver [Pipeline] } 17:34:08 $ docker exec --env ******** --env ******** 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 ssh-agent -k 17:34:08 unset SSH_AUTH_SOCK; 17:34:08 unset SSH_AGENT_PID; 17:34:08 echo Agent pid 59 killed; 17:34:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:34:08 + git semver [Pipeline] } 17:34:09 $ docker stop --time=1 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 17:34:10 $ docker rm -f 5569156b9ceb6f2d6e260feefe19bb98497cf4365a8d31445acf37ff0f206e43 [Pipeline] // withDockerContainer [Pipeline] sh 17:34:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:34:10 Stashed 1 file(s) [Pipeline] echo 17:34:10 [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 17:34:11 provisioning config files... 17:34:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-409@tmp/config2057608994720352542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:11 ---> docker-login.sh 17:34:11 nexus3.edgexfoundry.org:10001 17:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:11 Configure a credential helper to remove this warning. See 17:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:11 17:34:11 Login Succeeded 17:34:11 nexus3.edgexfoundry.org:10002 17:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:11 Configure a credential helper to remove this warning. See 17:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:11 17:34:11 Login Succeeded 17:34:11 nexus3.edgexfoundry.org:10003 17:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:11 Configure a credential helper to remove this warning. See 17:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:11 17:34:11 Login Succeeded 17:34:11 nexus3.edgexfoundry.org:10004 17:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:11 Configure a credential helper to remove this warning. See 17:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:11 17:34:11 Login Succeeded 17:34:11 docker.io 17:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:12 Configure a credential helper to remove this warning. See 17:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:12 17:34:12 Login Succeeded 17:34:12 ---> docker-login.sh ends [Pipeline] } 17:34:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:34:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:12 ========================================================= 17:34:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:34:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:34:12 + 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 . 17:34:12 Sending build context to Docker daemon 3.032MB 17:34:12 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:34:12 Step 2/13 : FROM ${BASE} AS builder 17:34:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:34:12 59bf1c3509f3: Pulling fs layer 17:34:12 666ba61612fd: Pulling fs layer 17:34:12 8ed8ca486205: Pulling fs layer 17:34:12 4fe6c5a15a65: Pulling fs layer 17:34:12 22a0e8bec74d: Pulling fs layer 17:34:12 ca2b28591e48: Pulling fs layer 17:34:12 a51346096db8: Pulling fs layer 17:34:12 daebc70d1ce1: Pulling fs layer 17:34:12 0e18a0eac166: Pulling fs layer 17:34:12 4fe6c5a15a65: Waiting 17:34:12 22a0e8bec74d: Waiting 17:34:12 ca2b28591e48: Waiting 17:34:12 daebc70d1ce1: Waiting 17:34:12 0e18a0eac166: Waiting 17:34:12 a51346096db8: Waiting 17:34:12 8ed8ca486205: Verifying Checksum 17:34:12 8ed8ca486205: Download complete 17:34:12 666ba61612fd: Download complete 17:34:12 22a0e8bec74d: Verifying Checksum 17:34:12 22a0e8bec74d: Download complete 17:34:12 59bf1c3509f3: Verifying Checksum 17:34:12 59bf1c3509f3: Download complete 17:34:12 ca2b28591e48: Verifying Checksum 17:34:12 ca2b28591e48: Download complete 17:34:12 a51346096db8: Verifying Checksum 17:34:12 a51346096db8: Download complete 17:34:12 daebc70d1ce1: Verifying Checksum 17:34:12 daebc70d1ce1: Download complete 17:34:12 59bf1c3509f3: Pull complete 17:34:13 666ba61612fd: Pull complete 17:34:13 8ed8ca486205: Pull complete 17:34:13 0e18a0eac166: Verifying Checksum 17:34:13 0e18a0eac166: Download complete 17:34:13 4fe6c5a15a65: Verifying Checksum 17:34:13 4fe6c5a15a65: Download complete 17:34:17 4fe6c5a15a65: Pull complete 17:34:17 22a0e8bec74d: Pull complete 17:34:17 ca2b28591e48: Pull complete 17:34:18 a51346096db8: Pull complete 17:34:18 daebc70d1ce1: Pull complete 17:34:20 0e18a0eac166: Pull complete 17:34:20 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:34:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:34:20 ---> f018257e8ee9 17:34:20 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:34:22 ---> Running in e40d26328869 17:34:22 Removing intermediate container e40d26328869 17:34:22 ---> d4c02819fe61 17:34:22 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:34:22 ---> Running in a23ee5ebcdf1 17:34:22 Removing intermediate container a23ee5ebcdf1 17:34:22 ---> fe6f897d34c6 17:34:22 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:34:22 ---> Running in 73f64d48ecdb 17:34:22 Removing intermediate container 73f64d48ecdb 17:34:22 ---> b9129034de7b 17:34:22 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:34:22 ---> Running in 32c835077459 17:34:22 Removing intermediate container 32c835077459 17:34:22 ---> fd510a34398f 17:34:22 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:34:22 ---> Running in 9c5d569b88a6 17:34:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:34:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:34:24 OK: 221 MiB in 52 packages 17:34:24 Removing intermediate container 9c5d569b88a6 17:34:24 ---> 16a5e7723471 17:34:24 Step 8/13 : WORKDIR /app 17:34:24 ---> Running in 14ecfbe86f89 17:34:24 Removing intermediate container 14ecfbe86f89 17:34:24 ---> a295357c7ef0 17:34:24 Step 9/13 : COPY go.mod vendor* ./ 17:34:24 ---> ffa5633620e0 17:34:24 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:34:25 ---> Running in ae067416982e 17:34:26 Still waiting to schedule task 17:34:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:34:40 Removing intermediate container ae067416982e 17:34:40 ---> 75aa339437ba 17:34:40 Step 11/13 : COPY . . 17:34:40 ---> c4747fd1b9f0 17:34:40 Step 12/13 : ARG MAKE="make build" 17:34:40 ---> Running in f9390789f17e 17:34:40 Removing intermediate container f9390789f17e 17:34:40 ---> 00d661350924 17:34:40 Step 13/13 : RUN $MAKE 17:34:40 ---> Running in 710cf12ae467 17:34:40 noop 17:34:40 Removing intermediate container 710cf12ae467 17:34:40 ---> 0f6e80fc2131 17:34:40 Successfully built 0f6e80fc2131 17:34:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:34:40 + docker inspect -f . ci-base-image-x86_64 17:34:40 . [Pipeline] withDockerContainer 17:34:41 prd-ubuntu20.04-docker-8c-8g-33005 does not seem to be running inside a container 17:34:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-409 -v /w/workspace/_app-service-configurable_PR-409:/w/workspace/_app-service-configurable_PR-409:rw,z -v /w/workspace/_app-service-configurable_PR-409@tmp:/w/workspace/_app-service-configurable_PR-409@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:34:41 $ docker top 0eba1cf96d3ab572cf6e07d5dd81d95696761996f42088fe1660f41feac6916e -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:41 + go version 17:34:41 go version go1.17.6 linux/amd64 [Pipeline] } 17:34:41 $ docker stop --time=1 0eba1cf96d3ab572cf6e07d5dd81d95696761996f42088fe1660f41feac6916e 17:34:43 $ docker rm -f 0eba1cf96d3ab572cf6e07d5dd81d95696761996f42088fe1660f41feac6916e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:34:43 + docker inspect -f . ci-base-image-x86_64 17:34:43 . [Pipeline] withDockerContainer 17:34:43 prd-ubuntu20.04-docker-8c-8g-33005 does not seem to be running inside a container 17:34:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-409 -v /w/workspace/_app-service-configurable_PR-409:/w/workspace/_app-service-configurable_PR-409:rw,z -v /w/workspace/_app-service-configurable_PR-409@tmp:/w/workspace/_app-service-configurable_PR-409@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:34:44 $ docker top 9c8155d46d9b1906868cf3d1a10784dd8f74e89043ff3ac1fff1f8cc618c18da -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:34:44 + make test 17:34:44 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:34:56 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:34:56 CGO_ENABLED=1 go vet ./... 17:35:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:00 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:00 $ docker stop --time=1 9c8155d46d9b1906868cf3d1a10784dd8f74e89043ff3ac1fff1f8cc618c18da 17:35:02 $ docker rm -f 9c8155d46d9b1906868cf3d1a10784dd8f74e89043ff3ac1fff1f8cc618c18da [Pipeline] // withDockerContainer [Pipeline] sh 17:35:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:35:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:35:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:35:04 + ls -al . 17:35:04 total 164 17:35:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:35 . 17:35:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 17:33 .. 17:35:04 -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 17:33 .dockerignore 17:35:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:33 .git 17:35:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:33 .github 17:35:04 -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 17:33 .gitignore 17:35:04 drwx------ 3 jenkins jenkins 4096 Apr 26 17:34 .semver 17:35:04 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 17:33 Attribution.txt 17:35:04 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 17:33 CHANGELOG.md 17:35:04 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 17:33 Dockerfile 17:35:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 17:33 GOVERNANCE.md 17:35:04 -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 17:33 Jenkinsfile 17:35:04 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 17:33 LICENSE 17:35:04 -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 17:33 OWNERS.md 17:35:04 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 17:33 README.md 17:35:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 17:34 VERSION 17:35:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 17:33 bin 17:35:04 -rw-r--r-- 1 jenkins jenkins 10 Apr 26 17:34 coverage.out 17:35:04 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 17:33 go.mod 17:35:04 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 26 17:33 go.sum 17:35:04 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 17:33 main.go 17:35:04 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 17:33 makefile 17:35:04 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 17:33 res 17:35:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:33 snap [Pipeline] isUnix [Pipeline] sh 17:35:04 + 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=3cc2d14d138f46f1859b4a933023ed82e9bb950f --label arch=amd64 --label version=0.0.0 . 17:35:04 Sending build context to Docker daemon 3.033MB 17:35:04 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 17:35:04 Step 2/27 : FROM ${BASE} AS builder 17:35:04 ---> 0f6e80fc2131 17:35:04 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:35:05 ---> Running in 1f44654e81d4 17:35:05 Removing intermediate container 1f44654e81d4 17:35:05 ---> 1cc3ef3fc627 17:35:05 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:35:05 ---> Running in 0d43ea2dd1b8 17:35:05 Removing intermediate container 0d43ea2dd1b8 17:35:05 ---> b16cb1977518 17:35:05 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:35:05 ---> Running in 042aff00ad58 17:35:05 Removing intermediate container 042aff00ad58 17:35:05 ---> b38a11b30c1d 17:35:05 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:35:05 ---> Running in bac31ab3fa23 17:35:06 Removing intermediate container bac31ab3fa23 17:35:06 ---> d9455914e626 17:35:06 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:06 ---> Running in 72ab925031db 17:35:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:35:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:35:07 OK: 221 MiB in 52 packages 17:35:08 Removing intermediate container 72ab925031db 17:35:08 ---> 5fffd18f43af 17:35:08 Step 8/27 : WORKDIR /app 17:35:08 ---> Running in b4804da54fb6 17:35:08 Removing intermediate container b4804da54fb6 17:35:08 ---> 39e55bbeaad4 17:35:08 Step 9/27 : COPY go.mod vendor* ./ 17:35:08 ---> 61390a30ac99 17:35:08 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:08 ---> Running in 927845556ed1 17:35:09 Removing intermediate container 927845556ed1 17:35:09 ---> 95ae39fcb4ed 17:35:09 Step 11/27 : COPY . . 17:35:09 ---> f27b7b570634 17:35:09 Step 12/27 : ARG MAKE="make build" 17:35:09 ---> Running in e47bb8dddebd 17:35:09 Removing intermediate container e47bb8dddebd 17:35:09 ---> 43a08a5028de 17:35:09 Step 13/27 : RUN $MAKE 17:35:09 ---> Running in 35c561d07078 17:35:10 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 17:35:36 Removing intermediate container 35c561d07078 17:35:36 ---> 2394459e14bb 17:35:36 Step 14/27 : FROM alpine:3.14 17:35:36 3.14: Pulling from library/alpine 17:35:36 8663204ce13b: Pulling fs layer 17:35:36 8663204ce13b: Verifying Checksum 17:35:36 8663204ce13b: Download complete 17:35:36 8663204ce13b: Pull complete 17:35:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:35:36 Status: Downloaded newer image for alpine:3.14 17:35:36 ---> e04c818066af 17:35:36 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:35:36 ---> Running in f48d756802cb 17:35:36 Removing intermediate container f48d756802cb 17:35:36 ---> 8f583251f7b6 17:35:36 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:35:36 ---> Running in 4a068698b70c 17:35:36 Removing intermediate container 4a068698b70c 17:35:36 ---> 5658fc4d30c2 17:35:36 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 17:35:36 ---> Running in 3adecb092c6c 17:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:35:36 (1/7) Installing ca-certificates (20211220-r0) 17:35:36 (2/7) Installing dumb-init (1.2.5-r1) 17:35:36 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:35:36 (4/7) Installing libsodium (1.0.18-r0) 17:35:36 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:35:36 (6/7) Installing libzmq (4.3.4-r0) 17:35:36 (7/7) Installing zeromq (4.3.4-r0) 17:35:36 Executing busybox-1.33.1-r7.trigger 17:35:36 Executing ca-certificates-20211220-r0.trigger 17:35:36 OK: 9 MiB in 21 packages 17:35:36 Removing intermediate container 3adecb092c6c 17:35:36 ---> d11e33c332ef 17:35:36 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:35:36 ---> ddf92e9aac57 17:35:36 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 17:35:36 ---> 97584875569d 17:35:36 Step 20/27 : COPY --from=builder /app/res/ /res/ 17:35:36 ---> 605a351c47e9 17:35:36 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:35:36 ---> dd927a1e711d 17:35:36 Step 22/27 : EXPOSE 48095 17:35:36 ---> Running in 0c34cd78acad 17:35:36 Removing intermediate container 0c34cd78acad 17:35:36 ---> 5b645dd341e1 17:35:36 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 17:35:36 ---> Running in 4b75b535627a 17:35:36 Removing intermediate container 4b75b535627a 17:35:36 ---> 44f245c340d8 17:35:36 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:35:36 ---> Running in 8b77f8524637 17:35:36 Removing intermediate container 8b77f8524637 17:35:36 ---> b0d2f0911a08 17:35:36 Step 25/27 : LABEL arch=amd64 17:35:36 ---> Running in d57c52f60fc5 17:35:36 Removing intermediate container d57c52f60fc5 17:35:36 ---> 22d2e3ffaef2 17:35:36 Step 26/27 : LABEL git_sha=3cc2d14d138f46f1859b4a933023ed82e9bb950f 17:35:36 ---> Running in ebf5dd8f52e1 17:35:37 Removing intermediate container ebf5dd8f52e1 17:35:37 ---> 0a3a492fe5bb 17:35:37 Step 27/27 : LABEL version=0.0.0 17:35:37 ---> Running in 4cbf789a0a7b 17:35:37 Removing intermediate container 4cbf789a0a7b 17:35:37 ---> 328da4290cc4 17:35:37 [Warning] One or more build-args [ARCH] were not consumed 17:35:37 Successfully built 328da4290cc4 17:35:37 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 17:35:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:37 17:35:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:35:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:38 latest: Pulling from edgex-lftools-log-publisher 17:35:38 5eb5b503b376: Pulling fs layer 17:35:38 5c69ac0246d0: Pulling fs layer 17:35:38 ec43610c2a17: Pulling fs layer 17:35:38 3a2ae6a8a46f: Pulling fs layer 17:35:38 33b1e0a273af: Pulling fs layer 17:35:38 5d3b04190fa2: Pulling fs layer 17:35:38 2f39f015ded8: Pulling fs layer 17:35:38 33b1e0a273af: Waiting 17:35:38 5d3b04190fa2: Waiting 17:35:38 2f39f015ded8: Waiting 17:35:38 3a2ae6a8a46f: Waiting 17:35:38 5c69ac0246d0: Verifying Checksum 17:35:38 5c69ac0246d0: Download complete 17:35:38 3a2ae6a8a46f: Download complete 17:35:38 33b1e0a273af: Verifying Checksum 17:35:38 33b1e0a273af: Download complete 17:35:38 5d3b04190fa2: Verifying Checksum 17:35:38 5d3b04190fa2: Download complete 17:35:38 ec43610c2a17: Verifying Checksum 17:35:38 ec43610c2a17: Download complete 17:35:38 5eb5b503b376: Download complete 17:35:39 2f39f015ded8: Download complete 17:35:39 5eb5b503b376: Pull complete 17:35:39 5c69ac0246d0: Pull complete 17:35:40 ec43610c2a17: Pull complete 17:35:40 3a2ae6a8a46f: Pull complete 17:35:40 33b1e0a273af: Pull complete 17:35:40 5d3b04190fa2: Pull complete 17:35:45 2f39f015ded8: Pull complete 17:35:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:35:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:35:45 prd-ubuntu20.04-docker-8c-8g-33005 does not seem to be running inside a container 17:35:46 $ 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-409 -v /w/workspace/_app-service-configurable_PR-409:/w/workspace/_app-service-configurable_PR-409:rw,z -v /w/workspace/_app-service-configurable_PR-409@tmp:/w/workspace/_app-service-configurable_PR-409@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:35:47 $ docker top 6efca13133f1b01f837a57718d32ca74016da3759263568f901aa0538d0bfcb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:47 ---> job-cost.sh 17:35:47 lf-activate-venv: SKIPPING 17:35:47 INFO: No Stack... 17:35:48 INFO: Retrieving Pricing Info for: v3-standard-8 17:35:48 INFO: Archiving Costs [Pipeline] sh 17:35:49 + cat /w/workspace/_app-service-configurable_PR-409/archives/cost.csv 17:35:49 + cut -d, -f6 [Pipeline] lock 17:35:49 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] 17:35:49 Resource [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] did not exist. Created. 17:35:49 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:35:49 + echo total: 0.2199999988079071 [Pipeline] stash 17:35:49 Stashed 1 file(s) [Pipeline] } 17:35:49 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:35:49 $ docker stop --time=1 6efca13133f1b01f837a57718d32ca74016da3759263568f901aa0538d0bfcb5 17:35:50 $ docker rm -f 6efca13133f1b01f837a57718d32ca74016da3759263568f901aa0538d0bfcb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:45:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33343 in /w/workspace/_app-service-configurable_PR-409 [Pipeline] { [Pipeline] ws 17:45:13 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 17:45:14 Selected Git installation does not exist. Using Default 17:45:14 The recommended git tool is: NONE 17:45:23 using credential edgex-jenkins-ssh 17:45:23 Cloning the remote Git repository 17:45:23 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:45:23 > git init /w/workspace/app-service-configurable/2 # timeout=10 17:45:24 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:45:24 > git --version # timeout=10 17:45:24 > git --version # 'git version 2.25.1' 17:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:45:26 Merging remotes/origin/main commit df3e4aa32325b4ff01c9571101f476251afb5081 into PR head commit 3cc2d14d138f46f1859b4a933023ed82e9bb950f 17:45:26 Merge succeeded, producing 3cc2d14d138f46f1859b4a933023ed82e9bb950f 17:45:26 Checking out Revision 3cc2d14d138f46f1859b4a933023ed82e9bb950f (PR-409) 17:45:25 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:45:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:45:25 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:45:25 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:45:25 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/409/head:refs/remotes/origin/PR-409 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:45:26 > git config core.sparsecheckout # timeout=10 17:45:26 > git checkout -f 3cc2d14d138f46f1859b4a933023ed82e9bb950f # timeout=10 17:45:26 > git remote # timeout=10 17:45:26 > git config --get remote.origin.url # timeout=10 17:45:26 using GIT_SSH to set credentials SSH Credentials for GitHub 17:45:26 > git merge df3e4aa32325b4ff01c9571101f476251afb5081 # timeout=10 17:45:26 > git rev-parse HEAD^{commit} # timeout=10 17:45:26 > git config core.sparsecheckout # timeout=10 17:45:26 > git checkout -f 3cc2d14d138f46f1859b4a933023ed82e9bb950f # timeout=10 17:45:31 Commit message: "feat: Enable use of common app service metrics" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:45:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:45:32 % Total % Received % Xferd Average Speed Time Time Time Current 17:45:32 Dload Upload Total Spent Left Speed 17:45:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 17:45:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:45:33 + sudo tee /etc/docker/daemon.new 17:45:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:45:33 { 17:45:33 "registry-mirrors": [ 17:45:33 "https://nexus3.edgexfoundry.org:10001" 17:45:33 ], 17:45:33 "bip": "10.250.0.254/24", 17:45:33 "hosts": [ 17:45:33 "tcp://0.0.0.0:5555", 17:45:33 "unix:///var/run/docker.sock" 17:45:33 ], 17:45:33 "mtu": 1458, 17:45:33 "selinux-enabled": true, 17:45:33 "seccomp-profile": "/etc/docker/seccomp.json" 17:45:33 } [Pipeline] sh 17:45:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:45:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:45:52 provisioning config files... 17:45:52 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config8676340844064594590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:52 ---> docker-login.sh 17:45:52 nexus3.edgexfoundry.org:10001 17:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:53 Configure a credential helper to remove this warning. See 17:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:53 17:45:53 Login Succeeded 17:45:53 nexus3.edgexfoundry.org:10002 17:45:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:54 Configure a credential helper to remove this warning. See 17:45:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:54 17:45:54 Login Succeeded 17:45:54 nexus3.edgexfoundry.org:10003 17:45:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:55 Configure a credential helper to remove this warning. See 17:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:55 17:45:55 Login Succeeded 17:45:55 nexus3.edgexfoundry.org:10004 17:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:55 Configure a credential helper to remove this warning. See 17:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:55 17:45:55 Login Succeeded 17:45:55 docker.io 17:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:56 Configure a credential helper to remove this warning. See 17:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:56 17:45:56 Login Succeeded 17:45:56 ---> docker-login.sh ends [Pipeline] } 17:45:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:45:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:45:57 ========================================================= 17:45:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:45:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:45:57 + 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 . 17:45:57 Sending build context to Docker daemon 200.7kB 17:45:57 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:45:57 Step 2/13 : FROM ${BASE} AS builder 17:45:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:45:58 9b3977197b4f: Pulling fs layer 17:45:58 1a89e8eeedd5: Pulling fs layer 17:45:58 94645a83ff95: Pulling fs layer 17:45:58 3f3a8bcf1eab: Pulling fs layer 17:45:58 0c92f367c5e7: Pulling fs layer 17:45:58 3096ccb668a1: Pulling fs layer 17:45:58 e8cf19c19ddd: Pulling fs layer 17:45:58 a4caa8a26152: Pulling fs layer 17:45:58 3096ccb668a1: Waiting 17:45:58 e8cf19c19ddd: Waiting 17:45:58 a4caa8a26152: Waiting 17:45:58 3f3a8bcf1eab: Waiting 17:45:58 0c92f367c5e7: Waiting 17:45:58 94645a83ff95: Verifying Checksum 17:45:58 94645a83ff95: Download complete 17:45:58 1a89e8eeedd5: Download complete 17:45:58 0c92f367c5e7: Verifying Checksum 17:45:58 0c92f367c5e7: Download complete 17:45:58 3096ccb668a1: Verifying Checksum 17:45:58 3096ccb668a1: Download complete 17:45:58 9b3977197b4f: Verifying Checksum 17:45:58 9b3977197b4f: Download complete 17:45:58 e8cf19c19ddd: Verifying Checksum 17:45:58 e8cf19c19ddd: Download complete 17:45:59 9b3977197b4f: Pull complete 17:46:00 1a89e8eeedd5: Pull complete 17:46:00 94645a83ff95: Pull complete 17:46:00 a4caa8a26152: Verifying Checksum 17:46:00 a4caa8a26152: Download complete 17:46:01 3f3a8bcf1eab: Verifying Checksum 17:46:01 3f3a8bcf1eab: Download complete 17:46:16 3f3a8bcf1eab: Pull complete 17:46:16 0c92f367c5e7: Pull complete 17:46:16 3096ccb668a1: Pull complete 17:46:16 e8cf19c19ddd: Pull complete 17:46:23 a4caa8a26152: Pull complete 17:46:23 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:46:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:46:23 ---> 725f1c02e7f9 17:46:23 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:46:23 ---> Running in 1d75fd12f310 17:46:24 Removing intermediate container 1d75fd12f310 17:46:24 ---> 892b31ce8d8c 17:46:24 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:46:24 ---> Running in b3632bdc4c75 17:46:24 Removing intermediate container b3632bdc4c75 17:46:24 ---> 4e58115e30ad 17:46:24 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:46:24 ---> Running in 31ce890ad3be 17:46:26 Removing intermediate container 31ce890ad3be 17:46:26 ---> e6b7444e5428 17:46:26 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:46:26 ---> Running in f44fc68d9997 17:46:28 Removing intermediate container f44fc68d9997 17:46:28 ---> 3c09e97488d0 17:46:28 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:46:28 ---> Running in 6be85d9c3099 17:46:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:46:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:46:31 OK: 220 MiB in 52 packages 17:46:32 Removing intermediate container 6be85d9c3099 17:46:32 ---> b599c5402133 17:46:32 Step 8/13 : WORKDIR /app 17:46:32 ---> Running in cd808fc8c65c 17:46:33 Removing intermediate container cd808fc8c65c 17:46:33 ---> 8642e3776c6c 17:46:33 Step 9/13 : COPY go.mod vendor* ./ 17:46:33 ---> b9abd0311c31 17:46:33 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:46:33 ---> Running in 1940929bedd7 17:47:30 Removing intermediate container 1940929bedd7 17:47:30 ---> ffd84ef20dc4 17:47:30 Step 11/13 : COPY . . 17:47:30 ---> b1a9e53b50b7 17:47:30 Step 12/13 : ARG MAKE="make build" 17:47:30 ---> Running in 92a274602c18 17:47:30 Removing intermediate container 92a274602c18 17:47:30 ---> f43e4d15144c 17:47:30 Step 13/13 : RUN $MAKE 17:47:30 ---> Running in 9bfea4668acb 17:47:30 noop 17:47:30 Removing intermediate container 9bfea4668acb 17:47:30 ---> fbfe30414515 17:47:30 Successfully built fbfe30414515 17:47:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:47:30 + docker inspect -f . ci-base-image-arm64 17:47:30 . [Pipeline] withDockerContainer 17:47:31 prd-ubuntu20.04-docker-arm64-4c-16g-33343 does not seem to be running inside a container 17:47:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:47:32 $ docker top 5065cea1cdd77f50c1e43cf0af0719c18ec61d365d86c477d0559691337e726d -eo pid,comm [Pipeline] { [Pipeline] sh 17:47:33 + go version 17:47:33 go version go1.17.6 linux/arm64 [Pipeline] } 17:47:33 $ docker stop --time=1 5065cea1cdd77f50c1e43cf0af0719c18ec61d365d86c477d0559691337e726d 17:47:35 $ docker rm -f 5065cea1cdd77f50c1e43cf0af0719c18ec61d365d86c477d0559691337e726d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:47:36 + docker inspect -f . ci-base-image-arm64 17:47:36 . [Pipeline] withDockerContainer 17:47:36 prd-ubuntu20.04-docker-arm64-4c-16g-33343 does not seem to be running inside a container 17:47:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:47:38 $ docker top 5dbec29f2340c699d0a7a32c36bdad41a873e5951fcd2ce59bdad38e0487c19f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:47:39 + make test 17:47:39 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 17:49:31 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:49:31 CGO_ENABLED=1 go vet ./... 17:49:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:49:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:49:53 ./bin/test-attribution-txt.sh [Pipeline] echo 17:49:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:49:53 $ docker stop --time=1 5dbec29f2340c699d0a7a32c36bdad41a873e5951fcd2ce59bdad38e0487c19f 17:49:55 $ docker rm -f 5dbec29f2340c699d0a7a32c36bdad41a873e5951fcd2ce59bdad38e0487c19f [Pipeline] // withDockerContainer [Pipeline] sh 17:49:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:49:57 Warning: overwriting stash ‘coverage-report’ 17:49:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:49:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:49:58 + ls -al . 17:49:58 total 160 17:49:58 drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 17:49 . 17:49:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 17:45 .. 17:49:58 -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 17:45 .dockerignore 17:49:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 17:45 .git 17:49:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:45 .github 17:49:58 -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 17:45 .gitignore 17:49:58 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 17:45 Attribution.txt 17:49:58 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 17:45 CHANGELOG.md 17:49:58 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 17:45 Dockerfile 17:49:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 17:45 GOVERNANCE.md 17:49:58 -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 17:45 Jenkinsfile 17:49:58 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 17:45 LICENSE 17:49:58 -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 17:45 OWNERS.md 17:49:58 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 17:45 README.md 17:49:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 17:34 VERSION 17:49:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 17:45 bin 17:49:58 -rw-r--r-- 1 jenkins jenkins 10 Apr 26 17:47 coverage.out 17:49:58 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 17:45 go.mod 17:49:58 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 26 17:45 go.sum 17:49:58 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 17:45 main.go 17:49:58 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 17:45 makefile 17:49:58 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 17:45 res 17:49:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 17:45 snap [Pipeline] isUnix [Pipeline] sh 17:49:58 + 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=3cc2d14d138f46f1859b4a933023ed82e9bb950f --label arch=arm64 --label version=0.0.0 . 17:49:58 Sending build context to Docker daemon 201.7kB 17:49:59 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 17:49:59 Step 2/27 : FROM ${BASE} AS builder 17:49:59 ---> fbfe30414515 17:49:59 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:49:59 ---> Running in 88ca418efbe7 17:49:59 Removing intermediate container 88ca418efbe7 17:49:59 ---> d17bb5ad3845 17:49:59 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:49:59 ---> Running in 8e514cf9bb7a 17:50:00 Removing intermediate container 8e514cf9bb7a 17:50:00 ---> dd5d87954d81 17:50:00 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:50:00 ---> Running in d2185204c44e 17:50:00 Removing intermediate container d2185204c44e 17:50:00 ---> a516cfcc71e9 17:50:00 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:50:00 ---> Running in 13248b72051c 17:50:02 Removing intermediate container 13248b72051c 17:50:02 ---> cc5455b798a8 17:50:02 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:50:02 ---> Running in e92627969817 17:50:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:50:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:50:06 OK: 220 MiB in 52 packages 17:50:07 Removing intermediate container e92627969817 17:50:07 ---> ff6691cafc86 17:50:07 Step 8/27 : WORKDIR /app 17:50:07 ---> Running in d8c82d76e94c 17:50:07 Removing intermediate container d8c82d76e94c 17:50:07 ---> 75d557e61b72 17:50:07 Step 9/27 : COPY go.mod vendor* ./ 17:50:08 ---> 0f347d56bc84 17:50:08 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:50:08 ---> Running in ce55d7c7c246 17:50:10 Removing intermediate container ce55d7c7c246 17:50:10 ---> 8c1ce6e3180d 17:50:10 Step 11/27 : COPY . . 17:50:11 ---> 18538bbfa387 17:50:11 Step 12/27 : ARG MAKE="make build" 17:50:11 ---> Running in a21801d915f2 17:50:11 Removing intermediate container a21801d915f2 17:50:11 ---> 534acf5943c0 17:50:11 Step 13/27 : RUN $MAKE 17:50:11 ---> Running in 539094bfef3c 17:50:13 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 17:52:35 Removing intermediate container 539094bfef3c 17:52:35 ---> a09463d40161 17:52:35 Step 14/27 : FROM alpine:3.14 17:52:35 3.14: Pulling from library/alpine 17:52:35 455c02918c45: Pulling fs layer 17:52:35 455c02918c45: Verifying Checksum 17:52:35 455c02918c45: Download complete 17:52:35 455c02918c45: Pull complete 17:52:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:52:35 Status: Downloaded newer image for alpine:3.14 17:52:35 ---> ac73e934f311 17:52:35 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 17:52:35 ---> Running in 7d995ed1dcf0 17:52:35 Removing intermediate container 7d995ed1dcf0 17:52:35 ---> c782fb64c78a 17:52:35 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 17:52:35 ---> Running in 078fe3c70858 17:52:35 Removing intermediate container 078fe3c70858 17:52:35 ---> fe6b0f6926c5 17:52:35 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 17:52:35 ---> Running in b18ba8c716ee 17:52:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:52:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:52:35 (1/7) Installing ca-certificates (20211220-r0) 17:52:35 (2/7) Installing dumb-init (1.2.5-r1) 17:52:35 (3/7) Installing libgcc (10.3.1_git20210424-r2) 17:52:35 (4/7) Installing libsodium (1.0.18-r0) 17:52:35 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 17:52:35 (6/7) Installing libzmq (4.3.4-r0) 17:52:35 (7/7) Installing zeromq (4.3.4-r0) 17:52:35 Executing busybox-1.33.1-r7.trigger 17:52:35 Executing ca-certificates-20211220-r0.trigger 17:52:35 OK: 9 MiB in 21 packages 17:52:36 Removing intermediate container b18ba8c716ee 17:52:36 ---> 8bc7e4f6fe56 17:52:36 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:52:37 ---> c47d4c7b0745 17:52:37 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 17:52:38 ---> f60207b12cee 17:52:38 Step 20/27 : COPY --from=builder /app/res/ /res/ 17:52:38 ---> 919c1f727922 17:52:38 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:52:40 ---> cc91795c1bda 17:52:40 Step 22/27 : EXPOSE 48095 17:52:40 ---> Running in 1b902e1568af 17:52:40 Removing intermediate container 1b902e1568af 17:52:40 ---> 9814feb8a053 17:52:40 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 17:52:40 ---> Running in fa05e485f4e0 17:52:41 Removing intermediate container fa05e485f4e0 17:52:41 ---> b9625f1877e6 17:52:41 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:52:41 ---> Running in 7124e18cbd1b 17:52:41 Removing intermediate container 7124e18cbd1b 17:52:41 ---> fabd10522b1a 17:52:41 Step 25/27 : LABEL arch=arm64 17:52:41 ---> Running in 280f8c554ad9 17:52:41 Removing intermediate container 280f8c554ad9 17:52:41 ---> 99cf959ee710 17:52:41 Step 26/27 : LABEL git_sha=3cc2d14d138f46f1859b4a933023ed82e9bb950f 17:52:41 ---> Running in aacbb5832c5c 17:52:42 Removing intermediate container aacbb5832c5c 17:52:42 ---> 6a18b5f784ec 17:52:42 Step 27/27 : LABEL version=0.0.0 17:52:42 ---> Running in 983ebfa36c0d 17:52:42 Removing intermediate container 983ebfa36c0d 17:52:42 ---> 5a41fc109f77 17:52:42 [Warning] One or more build-args [ARCH] were not consumed 17:52:42 Successfully built 5a41fc109f77 17:52:42 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 17:52:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:52:43 17:52:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:52:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:52:47 arm64: Pulling from edgex-lftools-log-publisher 17:52:47 8998bd30e6a1: Pulling fs layer 17:52:47 04944245beec: Pulling fs layer 17:52:47 699f458cf7ca: Pulling fs layer 17:52:47 765212b225bb: Pulling fs layer 17:52:47 f23df028b6ca: Pulling fs layer 17:52:47 d65c8cfc05b1: Pulling fs layer 17:52:47 2437ff75d9bd: Pulling fs layer 17:52:47 f23df028b6ca: Waiting 17:52:47 d65c8cfc05b1: Waiting 17:52:47 2437ff75d9bd: Waiting 17:52:47 765212b225bb: Waiting 17:52:47 04944245beec: Verifying Checksum 17:52:47 04944245beec: Download complete 17:52:47 765212b225bb: Verifying Checksum 17:52:47 765212b225bb: Download complete 17:52:47 f23df028b6ca: Verifying Checksum 17:52:47 f23df028b6ca: Download complete 17:52:47 d65c8cfc05b1: Verifying Checksum 17:52:47 d65c8cfc05b1: Download complete 17:52:47 699f458cf7ca: Verifying Checksum 17:52:47 699f458cf7ca: Download complete 17:52:47 8998bd30e6a1: Verifying Checksum 17:52:47 8998bd30e6a1: Download complete 17:52:50 2437ff75d9bd: Verifying Checksum 17:52:50 2437ff75d9bd: Download complete 17:52:51 8998bd30e6a1: Pull complete 17:52:52 04944245beec: Pull complete 17:52:53 699f458cf7ca: Pull complete 17:52:54 765212b225bb: Pull complete 17:52:54 f23df028b6ca: Pull complete 17:52:54 d65c8cfc05b1: Pull complete 17:53:10 2437ff75d9bd: Pull complete 17:53:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:53:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:53:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:53:10 prd-ubuntu20.04-docker-arm64-4c-16g-33343 does not seem to be running inside a container 17:53:10 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:53:13 $ docker top e894d54f95d291ea245eb4939292891a43d088e397925cce0f384fc3b11b09ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:14 ---> job-cost.sh 17:53:14 lf-activate-venv: SKIPPING 17:53:14 INFO: No Stack... 17:53:14 INFO: Retrieving Pricing Info for: v3-standard-4 17:53:15 INFO: Archiving Costs [Pipeline] sh 17:53:16 + cut -d, -f6 17:53:16 + cat /w/workspace/app-service-configurable/2/archives/cost.csv [Pipeline] lock 17:53:16 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] 17:53:16 Resource [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] did not exist. Created. 17:53:16 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:53:17 /w/workspace/app-service-configurable/2@tmp/durable-e879b51b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:53:17 + echo total: 0.10999999940395355 [Pipeline] stash 17:53:17 Warning: overwriting stash ‘stack-cost’ 17:53:17 Stashed 1 file(s) [Pipeline] } 17:53:17 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-409-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:53:17 $ docker stop --time=1 e894d54f95d291ea245eb4939292891a43d088e397925cce0f384fc3b11b09ed 17:53:19 $ docker rm -f e894d54f95d291ea245eb4939292891a43d088e397925cce0f384fc3b11b09ed [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 17:53:19 provisioning config files... 17:53:19 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-409@tmp/config5926025687079188351tmp [Pipeline] { [Pipeline] sh 17:53:20 + set +x 17:53:20 + curl -s https://codecov.io/bash 17:53:20 + bash -s -- 17:53:20 17:53:20 _____ _ 17:53:20 / ____| | | 17:53:20 | | ___ __| | ___ ___ _____ __ 17:53:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:53:20 | |___| (_) | (_| | __/ (_| (_) \ V / 17:53:20 \_____\___/ \__,_|\___|\___\___/ \_/ 17:53:20 Bash-1.0.6 17:53:20 17:53:20 17:53:20 ==> git version 2.25.1 found 17:53:20 ==> 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 17:53:20 Release-Date: 2020-01-08 17:53:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:53:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:53:20 ==> Jenkins CI detected. 17:53:20 current dir:  /w/workspace/_app-service-configurable_PR-409 17:53:20 project root: . 17:53:20 --> token set from env 17:53:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:53:20 ==> Running gcov in . (disable via -X gcov) 17:53:20 ==> Python coveragepy not found 17:53:20 ==> Searching for coverage reports in: 17:53:20 + . 17:53:20 -> Found 1 reports 17:53:20 ==> Detecting git/mercurial file structure 17:53:20 ==> Reading reports 17:53:20 + ./coverage.out bytes=10 17:53:20 ==> Appending adjustments 17:53:20 https://docs.codecov.io/docs/fixing-reports 17:53:20 + Found adjustments 17:53:20 ==> Gzipping contents 17:53:20 4.0K /tmp/codecov.rMyuNq.gz 17:53:20 ==> Uploading reports 17:53:20 url: https://codecov.io 17:53:20 query: branch=PR-409&commit=3cc2d14d138f46f1859b4a933023ed82e9bb950f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-409%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=409&job=&cmd_args= 17:53:20 -> Pinging Codecov 17:53:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-409&commit=3cc2d14d138f46f1859b4a933023ed82e9bb950f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-409%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=409&job=&cmd_args= 17:53:20 -> Uploading to 17:53:20 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/A97CA9966030D2A3747ED39772930CCE/3cc2d14d138f46f1859b4a933023ed82e9bb950f/26651a48-86f3-48f2-83b6-ce5029eb6649.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T175320Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97698c129578d0daf737ba0c88f898d8e304af8c9ffb60bf044850d531b87d47 17:53:20 % Total % Received % Xferd Average Speed Time Time Time Current 17:53:20 Dload Upload Total Spent Left Speed 17:53:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 577 0 0 100 577 0 2541 --:--:-- --:--:-- --:--:-- 2553 17:53:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/3cc2d14d138f46f1859b4a933023ed82e9bb950f [Pipeline] } 17:53:20 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 17:53:21 + [ -d /w/workspace/_app-service-configurable_PR-409/archives ] 17:53:21 + ls -al /w/workspace/_app-service-configurable_PR-409/archives 17:53:21 total 16 17:53:21 drwxr-xr-x 3 root root 4096 Apr 26 17:35 . 17:53:21 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 17:35 .. 17:53:21 drwxr-xr-x 2 root root 4096 Apr 26 17:35 cost 17:53:21 -rw-r--r-- 1 root root 95 Apr 26 17:35 cost.csv 17:53:21 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-409/archives 17:53:21 + ls -al /w/workspace/_app-service-configurable_PR-409/archives 17:53:21 total 16 17:53:21 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 17:35 . 17:53:21 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 17:35 .. 17:53:21 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 17:35 cost 17:53:21 -rw-r--r-- 1 jenkins jenkins 95 Apr 26 17:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:53:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:53:22 ---> package-listing.sh 17:53:22 ++ facter osfamily 17:53:22 ++ tr '[:upper:]' '[:lower:]' 17:53:22 + OS_FAMILY=debian 17:53:22 + workspace=/w/workspace/_app-service-configurable_PR-409 17:53:22 + START_PACKAGES=/tmp/packages_start.txt 17:53:22 + END_PACKAGES=/tmp/packages_end.txt 17:53:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:53:22 + PACKAGES=/tmp/packages_start.txt 17:53:22 + '[' /w/workspace/_app-service-configurable_PR-409 ']' 17:53:22 + PACKAGES=/tmp/packages_end.txt 17:53:22 + case "${OS_FAMILY}" in 17:53:22 + dpkg -l 17:53:22 + grep '^ii' 17:53:22 + '[' -f /tmp/packages_start.txt ']' 17:53:22 + '[' -f /tmp/packages_end.txt ']' 17:53:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:53:22 + '[' /w/workspace/_app-service-configurable_PR-409 ']' 17:53:22 + mkdir -p /w/workspace/_app-service-configurable_PR-409/archives/ 17:53:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-409/archives/ [Pipeline] echo 17:53: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-409/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:53:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:53:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:23 . [Pipeline] withDockerContainer 17:53:23 prd-ubuntu20.04-docker-8c-8g-33005 does not seem to be running inside a container 17:53: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-409/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-409 -v /w/workspace/_app-service-configurable_PR-409:/w/workspace/_app-service-configurable_PR-409:rw,z -v /w/workspace/_app-service-configurable_PR-409@tmp:/w/workspace/_app-service-configurable_PR-409@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:53:24 $ docker top 15857fb2b9d200eb0fa1a06d09b283091d53aa8052eccf45ee725d1961d97cb2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:24 + touch /tmp/pre-build-complete [Pipeline] sh 17:53:24 + mkdir -p /var/log/sysstat [Pipeline] sh 17:53:25 + ls /var/log/sa-host 17:53:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:53:25 provisioning config files... 17:53:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-409@tmp/config437946392757563173tmp [Pipeline] { [Pipeline] echo 17:53:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:53:25 ---> create-netrc.sh [Pipeline] } 17:53:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:53:25 ---> python-tools-install.sh [Pipeline] echo 17:53:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:53:26 ---> sudo-logs.sh 17:53:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:53:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:53:26 ---> job-cost.sh 17:53:26 lf-activate-venv: SKIPPING 17:53:26 DEBUG: total: 0.2199999988079071 17:53:26 INFO: Retrieving Stack Cost... 17:53:27 INFO: Retrieving Pricing Info for: v3-standard-8 17:53:27 INFO: Archiving Costs [Pipeline] echo 17:53:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:53:27 ---> logs-deploy.sh 17:53:27 lf-activate-venv: SKIPPING 17:53:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-409/2 17:53:27 INFO: archiving workspace using pattern(s): 17:53:28 Archives upload complete. 17:53:28 INFO: archiving logs to Nexus