Pull request #407 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 MonicaisHer for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 1a526f114784ef26915ff80fd995ea89bcf8e607 rather than f31bcd335f21dc9e4313880be9db495c50c61348 Obtained Jenkinsfile from 1a526f114784ef26915ff80fd995ea89bcf8e607 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-ssh4111113087812704466.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-ssh13850783610840683476.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-407/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-407/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11631343116183062244.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-ssh7814865407794505574.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-407/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-407/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12571714690016722333.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 Running on prd-ubuntu20.04-docker-8c-8g-21946 in /w/workspace/_app-service-configurable_PR-407 [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-407 # 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 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit f31bcd335f21dc9e4313880be9db495c50c61348 Merge succeeded, producing f31bcd335f21dc9e4313880be9db495c50c61348 Checking out Revision f31bcd335f21dc9e4313880be9db495c50c61348 (PR-407) > 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/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f31bcd335f21dc9e4313880be9db495c50c61348 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f31bcd335f21dc9e4313880be9db495c50c61348 # timeout=10 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3" > git rev-list --no-walk e6e70ee785a4ea65c7bb03471372d86c2b416c95 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:59:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:59:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:59:03 ========================================================= 08:59:03 EdgeX Global Pipelines Version Info 08:59:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:59:04 ------------------- 08:59:04 stable info: 08:59:04 ------------------- 08:59:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:59:04 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:59:04 Message: update stable to v1.0.221 08:59:05 ------------------- 08:59:05 experimental info: 08:59:05 ------------------- 08:59:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:59:05 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 08:59:05 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-407 [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-407 [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-407 [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f31bcd335f21dc9e4313880be9db495c50c61348 [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f31bcd3 [Pipeline] echo 08:59:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:59:05 provisioning config files... 08:59:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config3067802122522232797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:06 ---> docker-login.sh 08:59:06 nexus3.edgexfoundry.org:10001 08:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:06 Configure a credential helper to remove this warning. See 08:59:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:06 08:59:06 Login Succeeded 08:59:06 nexus3.edgexfoundry.org:10002 08:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:06 Configure a credential helper to remove this warning. See 08:59:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:06 08:59:06 Login Succeeded 08:59:06 nexus3.edgexfoundry.org:10003 08:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:06 Configure a credential helper to remove this warning. See 08:59:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:06 08:59:06 Login Succeeded 08:59:06 nexus3.edgexfoundry.org:10004 08:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:07 Configure a credential helper to remove this warning. See 08:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:07 08:59:07 Login Succeeded 08:59:07 docker.io 08:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:07 Configure a credential helper to remove this warning. See 08:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:07 08:59:07 Login Succeeded 08:59:07 ---> docker-login.sh ends [Pipeline] } 08:59:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:59:07 + git rev-list -1 --merges f31bcd335f21dc9e4313880be9db495c50c61348~1..f31bcd335f21dc9e4313880be9db495c50c61348 [Pipeline] echo 08:59:07 -----------> git rev-list -1 --merges f31bcd335f21dc9e4313880be9db495c50c61348~1..f31bcd335f21dc9e4313880be9db495c50c61348 f31bcd335f21dc9e4313880be9db495c50c61348 [false] [Pipeline] sh 08:59:07 + git log --format=format:%s -1 f31bcd335f21dc9e4313880be9db495c50c61348 [Pipeline] echo 08:59:07 ========================================================= 08:59:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:59:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:08 + git log --format=format:%s -1 f31bcd335f21dc9e4313880be9db495c50c61348 [Pipeline] echo 08:59:08 [semverPrep] GIT_COMMIT: f31bcd335f21dc9e4313880be9db495c50c61348, Commit Message: feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3 [Pipeline] echo 08:59:08 [semverPrep] This is not a build commit. [Pipeline] sh 08:59:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:59:08 + grep -v github /etc/ssh/ssh_known_hosts 08:59:08 + [ -e /tmp/ssh_known_hosts ] 08:59:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:59:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:59:08 + sudo tee -a /etc/ssh/ssh_known_hosts 08:59:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:59:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:09 08:59:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:59:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:09 latest: Pulling from edgex-devops/git-semver 08:59:09 a0d0a0d46f8b: Pulling fs layer 08:59:09 3e5f54012d9b: Pulling fs layer 08:59:09 4c7163046ea9: Pulling fs layer 08:59:09 0c2d73faf560: Pulling fs layer 08:59:09 0c2d73faf560: Waiting 08:59:09 3e5f54012d9b: Download complete 08:59:09 a0d0a0d46f8b: Download complete 08:59:09 0c2d73faf560: Verifying Checksum 08:59:09 0c2d73faf560: Download complete 08:59:09 4c7163046ea9: Verifying Checksum 08:59:09 4c7163046ea9: Download complete 08:59:09 a0d0a0d46f8b: Pull complete 08:59:09 3e5f54012d9b: Pull complete 08:59:10 4c7163046ea9: Pull complete 08:59:10 0c2d73faf560: Pull complete 08:59:10 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:59:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:59:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:59:10 prd-ubuntu20.04-docker-8c-8g-21946 does not seem to be running inside a container 08:59:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@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:10004/edgex-devops/git-semver:latest cat 08:59:10 $ docker top 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:59:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:10 [ssh-agent] Looking for ssh-agent implementation... 08:59:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:10 $ docker exec 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 ssh-agent 08:59:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNFKLDf/agent.15 08:59:11 SSH_AGENT_PID=21 08:59:11 Running ssh-add (command line suppressed) 08:59:11 Identity added: /w/workspace/_app-service-configurable_PR-407@tmp/private_key_393822624533805749.key (/w/workspace/_app-service-configurable_PR-407@tmp/private_key_393822624533805749.key) 08:59:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:11 + git tag --points-at HEAD [Pipeline] } 08:59:11 $ docker exec --env ******** --env ******** 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 ssh-agent -k 08:59:11 unset SSH_AUTH_SOCK; 08:59:11 unset SSH_AGENT_PID; 08:59:11 echo Agent pid 21 killed; 08:59:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:59:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:11 [ssh-agent] Looking for ssh-agent implementation... 08:59:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:11 $ docker exec 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 ssh-agent 08:59:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcIHIKG/agent.54 08:59:11 SSH_AGENT_PID=60 08:59:11 Running ssh-add (command line suppressed) 08:59:12 Identity added: /w/workspace/_app-service-configurable_PR-407@tmp/private_key_5271315640704771364.key (/w/workspace/_app-service-configurable_PR-407@tmp/private_key_5271315640704771364.key) 08:59:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:12 + git semver init 08:59:12 # -> Open(): unable to determine branch for HEAD 08:59:12 # $GIT_DIR = /w/workspace/_app-service-configurable_PR-407/.git 08:59:12 # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-407 08:59:12 # $SEMVER_REMOTE_NAME = origin 08:59:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:59:12 # $SEMVER_USER_NAME = edgex-jenkins 08:59:12 # $SEMVER_BRANCH = PR-407 08:59:12 # $SEMVER_TEMP = /tmp/semver-909499259 08:59:12 # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP 08:59:13 # '/tmp/semver-909499259' -> '/w/workspace/_app-service-configurable_PR-407/.semver' 08:59:13 # -> Force: false 08:59:13 # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-407/.semver [Pipeline] } 08:59:13 $ docker exec --env ******** --env ******** 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 ssh-agent -k 08:59:13 unset SSH_AUTH_SOCK; 08:59:13 unset SSH_AGENT_PID; 08:59:13 echo Agent pid 60 killed; 08:59:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:59:13 + git semver [Pipeline] } 08:59:13 $ docker stop --time=1 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 08:59:15 $ docker rm -f 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 [Pipeline] // withDockerContainer [Pipeline] sh 08:59:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:59:15 Stashed 1 file(s) [Pipeline] echo 08:59:15 [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 08:59:15 provisioning config files... 08:59:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config5299581797509431041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:16 ---> docker-login.sh 08:59:16 nexus3.edgexfoundry.org:10001 08:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:16 Configure a credential helper to remove this warning. See 08:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:16 08:59:16 Login Succeeded 08:59:16 nexus3.edgexfoundry.org:10002 08:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:16 Configure a credential helper to remove this warning. See 08:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:16 08:59:16 Login Succeeded 08:59:16 nexus3.edgexfoundry.org:10003 08:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:16 Configure a credential helper to remove this warning. See 08:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:16 08:59:16 Login Succeeded 08:59:16 nexus3.edgexfoundry.org:10004 08:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:16 Configure a credential helper to remove this warning. See 08:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:16 08:59:16 Login Succeeded 08:59:16 docker.io 08:59:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:16 Configure a credential helper to remove this warning. See 08:59:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:16 08:59:16 Login Succeeded 08:59:16 ---> docker-login.sh ends [Pipeline] } 08:59:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:59:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:59:16 ========================================================= 08:59:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:59:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:59:17 + 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 . 08:59:17 Sending build context to Docker daemon 3.023MB 08:59:17 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:59:17 Step 2/13 : FROM ${BASE} AS builder 08:59:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:59:17 59bf1c3509f3: Pulling fs layer 08:59:17 666ba61612fd: Pulling fs layer 08:59:17 8ed8ca486205: Pulling fs layer 08:59:17 4fe6c5a15a65: Pulling fs layer 08:59:17 22a0e8bec74d: Pulling fs layer 08:59:17 ca2b28591e48: Pulling fs layer 08:59:17 a51346096db8: Pulling fs layer 08:59:17 daebc70d1ce1: Pulling fs layer 08:59:17 0e18a0eac166: Pulling fs layer 08:59:17 22a0e8bec74d: Waiting 08:59:17 ca2b28591e48: Waiting 08:59:17 a51346096db8: Waiting 08:59:17 daebc70d1ce1: Waiting 08:59:17 0e18a0eac166: Waiting 08:59:17 8ed8ca486205: Verifying Checksum 08:59:17 8ed8ca486205: Download complete 08:59:17 666ba61612fd: Verifying Checksum 08:59:17 666ba61612fd: Download complete 08:59:17 22a0e8bec74d: Download complete 08:59:17 ca2b28591e48: Download complete 08:59:17 59bf1c3509f3: Verifying Checksum 08:59:17 59bf1c3509f3: Download complete 08:59:17 a51346096db8: Verifying Checksum 08:59:17 daebc70d1ce1: Verifying Checksum 08:59:17 daebc70d1ce1: Download complete 08:59:17 59bf1c3509f3: Pull complete 08:59:17 666ba61612fd: Pull complete 08:59:17 8ed8ca486205: Pull complete 08:59:18 0e18a0eac166: Verifying Checksum 08:59:18 0e18a0eac166: Download complete 08:59:18 4fe6c5a15a65: Verifying Checksum 08:59:18 4fe6c5a15a65: Download complete 08:59:22 4fe6c5a15a65: Pull complete 08:59:22 22a0e8bec74d: Pull complete 08:59:22 ca2b28591e48: Pull complete 08:59:22 a51346096db8: Pull complete 08:59:22 daebc70d1ce1: Pull complete 08:59:24 0e18a0eac166: Pull complete 08:59:24 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 08:59:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:59:24 ---> f018257e8ee9 08:59:24 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 08:59:25 ---> Running in 479506c59965 08:59:25 Removing intermediate container 479506c59965 08:59:25 ---> 3eec5d9814ab 08:59:25 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 08:59:25 ---> Running in 5b1d1cffa183 08:59:25 Removing intermediate container 5b1d1cffa183 08:59:25 ---> 053fd6db65a7 08:59:25 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 08:59:25 ---> Running in bdca3e123c85 08:59:25 Removing intermediate container bdca3e123c85 08:59:25 ---> 6d9ee9fd346a 08:59:25 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:59:25 ---> Running in 751bdf6fbad0 08:59:26 Removing intermediate container 751bdf6fbad0 08:59:26 ---> e5ca21a49c53 08:59:26 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:59:26 ---> Running in 791d2f96e179 08:59:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:59:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:59:28 OK: 221 MiB in 52 packages 08:59:28 Removing intermediate container 791d2f96e179 08:59:28 ---> d403ff14d312 08:59:28 Step 8/13 : WORKDIR /app 08:59:28 ---> Running in 1910c1fbef6d 08:59:28 Removing intermediate container 1910c1fbef6d 08:59:28 ---> b89012d3f0ea 08:59:28 Step 9/13 : COPY go.mod vendor* ./ 08:59:28 ---> b41a12488dfa 08:59:28 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:59:28 ---> Running in 4d9bfe749d5d 08:59:30 Still waiting to schedule task 08:59:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:59:46 Removing intermediate container 4d9bfe749d5d 08:59:46 ---> adf77e1e2fee 08:59:46 Step 11/13 : COPY . . 08:59:46 ---> 4bcc3ca289a2 08:59:46 Step 12/13 : ARG MAKE="make build" 08:59:46 ---> Running in 4ec45ee56a09 08:59:46 Removing intermediate container 4ec45ee56a09 08:59:46 ---> a0f81d6a4e4d 08:59:46 Step 13/13 : RUN $MAKE 08:59:46 ---> Running in 5c243c7d50b9 08:59:46 noop 08:59:46 Removing intermediate container 5c243c7d50b9 08:59:46 ---> 21cd7b14d41d 08:59:46 Successfully built 21cd7b14d41d 08:59:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:59:47 + docker inspect -f . ci-base-image-x86_64 08:59:47 . [Pipeline] withDockerContainer 08:59:47 prd-ubuntu20.04-docker-8c-8g-21946 does not seem to be running inside a container 08:59:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@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 ******** -e ******** ci-base-image-x86_64 cat 08:59:47 $ docker top 110c6c2398a69897d08635192e193c4dd37e1b8225cd7b9b7dd6f80111faf712 -eo pid,comm [Pipeline] { [Pipeline] sh 08:59:47 + go version 08:59:47 go version go1.17.6 linux/amd64 [Pipeline] } 08:59:47 $ docker stop --time=1 110c6c2398a69897d08635192e193c4dd37e1b8225cd7b9b7dd6f80111faf712 08:59:49 $ docker rm -f 110c6c2398a69897d08635192e193c4dd37e1b8225cd7b9b7dd6f80111faf712 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:59:49 + docker inspect -f . ci-base-image-x86_64 08:59:49 . [Pipeline] withDockerContainer 08:59:49 prd-ubuntu20.04-docker-8c-8g-21946 does not seem to be running inside a container 08:59:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@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 ******** -e ******** ci-base-image-x86_64 cat 08:59:50 $ docker top 2a2a1b7516547c4dd9aaa0e35d9be745ec7581f6c179e22908cf6f270168d566 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:59:50 + make test 08:59:50 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 09:00:00 ? github.com/edgexfoundry/app-service-configurable [no test files] 09:00:00 CGO_ENABLED=1 go vet ./... 09:00:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:00:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:00:03 ./bin/test-attribution-txt.sh [Pipeline] echo 09:00:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:00:03 $ docker stop --time=1 2a2a1b7516547c4dd9aaa0e35d9be745ec7581f6c179e22908cf6f270168d566 09:00:05 $ docker rm -f 2a2a1b7516547c4dd9aaa0e35d9be745ec7581f6c179e22908cf6f270168d566 [Pipeline] // withDockerContainer [Pipeline] sh 09:00:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:00:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:00:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:00:07 + ls -al . 09:00:07 total 164 09:00:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:00 . 09:00:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 08:58 .. 09:00:07 -rw-rw-r-- 1 jenkins jenkins 119 Apr 25 08:58 .dockerignore 09:00:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 08:59 .git 09:00:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 08:58 .github 09:00:07 -rw-rw-r-- 1 jenkins jenkins 104 Apr 25 08:58 .gitignore 09:00:07 drwx------ 3 jenkins jenkins 4096 Apr 25 08:59 .semver 09:00:07 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 25 08:58 Attribution.txt 09:00:07 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 25 08:58 CHANGELOG.md 09:00:07 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 25 08:58 Dockerfile 09:00:07 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 08:58 GOVERNANCE.md 09:00:07 -rw-rw-r-- 1 jenkins jenkins 688 Apr 25 08:58 Jenkinsfile 09:00:07 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 25 08:58 LICENSE 09:00:07 -rw-rw-r-- 1 jenkins jenkins 618 Apr 25 08:58 OWNERS.md 09:00:07 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 25 08:58 README.md 09:00:07 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 08:59 VERSION 09:00:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 08:58 bin 09:00:07 -rw-r--r-- 1 jenkins jenkins 10 Apr 25 08:59 coverage.out 09:00:07 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 25 08:58 go.mod 09:00:07 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 25 08:58 go.sum 09:00:07 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 25 08:58 main.go 09:00:07 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 25 08:58 makefile 09:00:07 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 08:58 res 09:00:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 08:58 snap [Pipeline] isUnix [Pipeline] sh 09:00:07 + 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=f31bcd335f21dc9e4313880be9db495c50c61348 --label arch=amd64 --label version=0.0.0 . 09:00:07 Sending build context to Docker daemon 3.024MB 09:00:07 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 09:00:07 Step 2/27 : FROM ${BASE} AS builder 09:00:07 ---> 21cd7b14d41d 09:00:07 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:00:07 ---> Running in 007a245f1776 09:00:07 Removing intermediate container 007a245f1776 09:00:07 ---> 77feccd7d988 09:00:07 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:00:07 ---> Running in 8de598d3363f 09:00:07 Removing intermediate container 8de598d3363f 09:00:07 ---> 92c1e93cf2ac 09:00:07 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:00:07 ---> Running in 12c1c6627dbf 09:00:07 Removing intermediate container 12c1c6627dbf 09:00:07 ---> 3bb3c115dd2e 09:00:07 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:00:07 ---> Running in e044acc18468 09:00:08 Removing intermediate container e044acc18468 09:00:08 ---> 395619a0d302 09:00:08 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:00:08 ---> Running in 44b86b9d196e 09:00:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:00:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:00:09 OK: 221 MiB in 52 packages 09:00:10 Removing intermediate container 44b86b9d196e 09:00:10 ---> f6416b5d3ef5 09:00:10 Step 8/27 : WORKDIR /app 09:00:10 ---> Running in 412576164fed 09:00:10 Removing intermediate container 412576164fed 09:00:10 ---> 0a46d1f63af9 09:00:10 Step 9/27 : COPY go.mod vendor* ./ 09:00:10 ---> eac606425287 09:00:10 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:00:10 ---> Running in 43ff9ea41a39 09:00:11 Removing intermediate container 43ff9ea41a39 09:00:11 ---> 5374c0c1b91a 09:00:11 Step 11/27 : COPY . . 09:00:11 ---> 929143a062bf 09:00:11 Step 12/27 : ARG MAKE="make build" 09:00:11 ---> Running in 30ef0530169e 09:00:11 Removing intermediate container 30ef0530169e 09:00:11 ---> ab89e6a18525 09:00:11 Step 13/27 : RUN $MAKE 09:00:11 ---> Running in d1120e97ffcd 09:00:12 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 09:00:34 Removing intermediate container d1120e97ffcd 09:00:34 ---> 1f3c5a85da6d 09:00:34 Step 14/27 : FROM alpine:3.14 09:00:34 3.14: Pulling from library/alpine 09:00:34 8663204ce13b: Pulling fs layer 09:00:34 8663204ce13b: Verifying Checksum 09:00:34 8663204ce13b: Download complete 09:00:34 8663204ce13b: Pull complete 09:00:34 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:00:34 Status: Downloaded newer image for alpine:3.14 09:00:34 ---> e04c818066af 09:00:34 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:00:34 ---> Running in bff91132ae68 09:00:34 Removing intermediate container bff91132ae68 09:00:34 ---> 9108252a254f 09:00:34 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 09:00:34 ---> Running in 06b6e3972aa9 09:00:34 Removing intermediate container 06b6e3972aa9 09:00:34 ---> c75bbaa42566 09:00:34 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 09:00:34 ---> Running in b49e539307d2 09:00:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:00:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:00:34 (1/7) Installing ca-certificates (20211220-r0) 09:00:34 (2/7) Installing dumb-init (1.2.5-r1) 09:00:34 (3/7) Installing libgcc (10.3.1_git20210424-r2) 09:00:34 (4/7) Installing libsodium (1.0.18-r0) 09:00:34 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 09:00:34 (6/7) Installing libzmq (4.3.4-r0) 09:00:34 (7/7) Installing zeromq (4.3.4-r0) 09:00:34 Executing busybox-1.33.1-r7.trigger 09:00:34 Executing ca-certificates-20211220-r0.trigger 09:00:34 OK: 9 MiB in 21 packages 09:00:34 Removing intermediate container b49e539307d2 09:00:34 ---> 6b1c524b6b1b 09:00:34 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:00:34 ---> eec78daa835d 09:00:34 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 09:00:34 ---> ececa26f2db0 09:00:34 Step 20/27 : COPY --from=builder /app/res/ /res/ 09:00:34 ---> 145fad8d23a6 09:00:34 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 09:00:35 ---> 68ff9dcbbaf7 09:00:35 Step 22/27 : EXPOSE 48095 09:00:35 ---> Running in 9bc918dd7dbb 09:00:35 Removing intermediate container 9bc918dd7dbb 09:00:35 ---> 36a94ab10f17 09:00:35 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 09:00:35 ---> Running in e54fce381a37 09:00:35 Removing intermediate container e54fce381a37 09:00:35 ---> 22b3362c0a57 09:00:35 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:00:35 ---> Running in ab517142c5b5 09:00:35 Removing intermediate container ab517142c5b5 09:00:35 ---> 25821a93644f 09:00:35 Step 25/27 : LABEL arch=amd64 09:00:35 ---> Running in b68feed6ee01 09:00:35 Removing intermediate container b68feed6ee01 09:00:35 ---> 50dd86ca271f 09:00:35 Step 26/27 : LABEL git_sha=f31bcd335f21dc9e4313880be9db495c50c61348 09:00:35 ---> Running in 057f0e2c4e89 09:00:35 Removing intermediate container 057f0e2c4e89 09:00:35 ---> acd6eac55982 09:00:35 Step 27/27 : LABEL version=0.0.0 09:00:35 ---> Running in 072d7633eca8 09:00:35 Removing intermediate container 072d7633eca8 09:00:35 ---> c7fae94cca98 09:00:35 [Warning] One or more build-args [ARCH] were not consumed 09:00:35 Successfully built c7fae94cca98 09:00:35 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 09:00:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:00:36 09:00:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:00:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:00:36 latest: Pulling from edgex-lftools-log-publisher 09:00:36 5eb5b503b376: Pulling fs layer 09:00:36 5c69ac0246d0: Pulling fs layer 09:00:36 ec43610c2a17: Pulling fs layer 09:00:36 3a2ae6a8a46f: Pulling fs layer 09:00:36 33b1e0a273af: Pulling fs layer 09:00:36 5d3b04190fa2: Pulling fs layer 09:00:36 2f39f015ded8: Pulling fs layer 09:00:36 2f39f015ded8: Waiting 09:00:36 5d3b04190fa2: Waiting 09:00:36 3a2ae6a8a46f: Waiting 09:00:36 5c69ac0246d0: Verifying Checksum 09:00:36 5c69ac0246d0: Download complete 09:00:36 3a2ae6a8a46f: Download complete 09:00:36 33b1e0a273af: Verifying Checksum 09:00:36 33b1e0a273af: Download complete 09:00:36 ec43610c2a17: Verifying Checksum 09:00:36 ec43610c2a17: Download complete 09:00:36 5d3b04190fa2: Verifying Checksum 09:00:36 5d3b04190fa2: Download complete 09:00:36 5eb5b503b376: Verifying Checksum 09:00:36 5eb5b503b376: Download complete 09:00:37 2f39f015ded8: Download complete 09:00:38 5eb5b503b376: Pull complete 09:00:38 5c69ac0246d0: Pull complete 09:00:39 ec43610c2a17: Pull complete 09:00:39 3a2ae6a8a46f: Pull complete 09:00:39 33b1e0a273af: Pull complete 09:00:39 5d3b04190fa2: Pull complete 09:00:44 2f39f015ded8: Pull complete 09:00:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:00:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:00:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:00:44 prd-ubuntu20.04-docker-8c-8g-21946 does not seem to be running inside a container 09:00:44 $ 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-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:00:46 $ docker top d205830fc8553baa8a52ab3669561afac210eba1a6daeed7548818fdfca8d3e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:00:46 ---> job-cost.sh 09:00:46 lf-activate-venv: SKIPPING 09:00:46 INFO: No Stack... 09:00:46 INFO: Retrieving Pricing Info for: v3-standard-8 09:00:47 INFO: Archiving Costs [Pipeline] sh 09:00:47 + cat /w/workspace/_app-service-configurable_PR-407/archives/cost.csv 09:00:47 + cut -d, -f6 [Pipeline] lock 09:00:47 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] 09:00:47 Resource [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] did not exist. Created. 09:00:47 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:00:48 + echo total: 0.8799999952316284 [Pipeline] stash 09:00:48 Stashed 1 file(s) [Pipeline] } 09:00:48 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:00:48 $ docker stop --time=1 d205830fc8553baa8a52ab3669561afac210eba1a6daeed7548818fdfca8d3e9 09:00:49 $ docker rm -f d205830fc8553baa8a52ab3669561afac210eba1a6daeed7548818fdfca8d3e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:01:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21954 in /w/workspace/_app-service-configurable_PR-407 [Pipeline] { [Pipeline] ws 09:01:09 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 09:01:09 Selected Git installation does not exist. Using Default 09:01:09 The recommended git tool is: NONE 09:01:16 using credential edgex-jenkins-ssh 09:01:16 Cloning the remote Git repository 09:01:16 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 09:01:16 > git init /w/workspace/app-service-configurable/2 # timeout=10 09:01:16 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 09:01:16 > git --version # timeout=10 09:01:16 > git --version # 'git version 2.25.1' 09:01:16 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:01:18 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit f31bcd335f21dc9e4313880be9db495c50c61348 09:01:18 Merge succeeded, producing f31bcd335f21dc9e4313880be9db495c50c61348 09:01:18 Checking out Revision f31bcd335f21dc9e4313880be9db495c50c61348 (PR-407) 09:01:17 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 09:01:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:01:17 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 09:01:17 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 09:01:17 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:01:18 > git config core.sparsecheckout # timeout=10 09:01:18 > git checkout -f f31bcd335f21dc9e4313880be9db495c50c61348 # timeout=10 09:01:18 > git remote # timeout=10 09:01:18 > git config --get remote.origin.url # timeout=10 09:01:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:18 > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 09:01:18 > git rev-parse HEAD^{commit} # timeout=10 09:01:18 > git config core.sparsecheckout # timeout=10 09:01:18 > git checkout -f f31bcd335f21dc9e4313880be9db495c50c61348 # timeout=10 09:01:22 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:01:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:01:23 % Total % Received % Xferd Average Speed Time Time Time Current 09:01:23 Dload Upload Total Spent Left Speed 09:01:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85818 0 --:--:-- --:--:-- --:--:-- 86445 [Pipeline] sh 09:01:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:01:24 + sudo tee /etc/docker/daemon.new 09:01:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:01:24 { 09:01:24 "registry-mirrors": [ 09:01:24 "https://nexus3.edgexfoundry.org:10001" 09:01:24 ], 09:01:24 "bip": "10.250.0.254/24", 09:01:24 "hosts": [ 09:01:24 "tcp://0.0.0.0:5555", 09:01:24 "unix:///var/run/docker.sock" 09:01:24 ], 09:01:24 "mtu": 1458, 09:01:24 "selinux-enabled": true, 09:01:24 "seccomp-profile": "/etc/docker/seccomp.json" 09:01:24 } [Pipeline] sh 09:01:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:01:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:01:43 provisioning config files... 09:01:43 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config1580493402114038283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:01:44 ---> docker-login.sh 09:01:44 nexus3.edgexfoundry.org:10001 09:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:45 Configure a credential helper to remove this warning. See 09:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:45 09:01:45 Login Succeeded 09:01:45 nexus3.edgexfoundry.org:10002 09:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:45 Configure a credential helper to remove this warning. See 09:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:45 09:01:45 Login Succeeded 09:01:45 nexus3.edgexfoundry.org:10003 09:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:45 Configure a credential helper to remove this warning. See 09:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:45 09:01:45 Login Succeeded 09:01:45 nexus3.edgexfoundry.org:10004 09:01:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:46 Configure a credential helper to remove this warning. See 09:01:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:46 09:01:46 Login Succeeded 09:01:46 docker.io 09:01:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:47 Configure a credential helper to remove this warning. See 09:01:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:47 09:01:47 Login Succeeded 09:01:47 ---> docker-login.sh ends [Pipeline] } 09:01:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:01:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:01:47 ========================================================= 09:01:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:01:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:01:48 + 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 . 09:01:48 Sending build context to Docker daemon 198.7kB 09:01:48 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 09:01:48 Step 2/13 : FROM ${BASE} AS builder 09:01:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:01:48 9b3977197b4f: Pulling fs layer 09:01:48 1a89e8eeedd5: Pulling fs layer 09:01:48 94645a83ff95: Pulling fs layer 09:01:48 3f3a8bcf1eab: Pulling fs layer 09:01:48 0c92f367c5e7: Pulling fs layer 09:01:48 3096ccb668a1: Pulling fs layer 09:01:48 e8cf19c19ddd: Pulling fs layer 09:01:48 a4caa8a26152: Pulling fs layer 09:01:48 3f3a8bcf1eab: Waiting 09:01:48 0c92f367c5e7: Waiting 09:01:48 3096ccb668a1: Waiting 09:01:48 e8cf19c19ddd: Waiting 09:01:48 a4caa8a26152: Waiting 09:01:48 94645a83ff95: Verifying Checksum 09:01:48 94645a83ff95: Download complete 09:01:48 1a89e8eeedd5: Download complete 09:01:48 0c92f367c5e7: Verifying Checksum 09:01:48 0c92f367c5e7: Download complete 09:01:48 3096ccb668a1: Verifying Checksum 09:01:48 3096ccb668a1: Download complete 09:01:48 9b3977197b4f: Verifying Checksum 09:01:48 9b3977197b4f: Download complete 09:01:48 e8cf19c19ddd: Verifying Checksum 09:01:48 e8cf19c19ddd: Download complete 09:01:49 9b3977197b4f: Pull complete 09:01:50 1a89e8eeedd5: Pull complete 09:01:50 94645a83ff95: Pull complete 09:01:50 a4caa8a26152: Verifying Checksum 09:01:50 a4caa8a26152: Download complete 09:01:51 3f3a8bcf1eab: Download complete 09:02:03 3f3a8bcf1eab: Pull complete 09:02:03 0c92f367c5e7: Pull complete 09:02:03 3096ccb668a1: Pull complete 09:02:03 e8cf19c19ddd: Pull complete 09:02:10 a4caa8a26152: Pull complete 09:02:10 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:02:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:02:10 ---> 725f1c02e7f9 09:02:10 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:02:11 ---> Running in 7d34322c4fff 09:02:11 Removing intermediate container 7d34322c4fff 09:02:11 ---> 7d0a7c6caf3b 09:02:11 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:02:11 ---> Running in f426c7a36ea5 09:02:12 Removing intermediate container f426c7a36ea5 09:02:12 ---> 56e0fed7ad5c 09:02:12 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:02:12 ---> Running in c8cde7eda0cf 09:02:12 Removing intermediate container c8cde7eda0cf 09:02:12 ---> 6018f6fcbe37 09:02:12 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:02:12 ---> Running in ed40f6118507 09:02:14 Removing intermediate container ed40f6118507 09:02:14 ---> b3483d0a0cc5 09:02:14 Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:14 ---> Running in b37813d2ce15 09:02:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:02:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:02:16 OK: 220 MiB in 52 packages 09:02:17 Removing intermediate container b37813d2ce15 09:02:17 ---> 84dfe7c7218b 09:02:17 Step 8/13 : WORKDIR /app 09:02:17 ---> Running in ad89de4cc5eb 09:02:18 Removing intermediate container ad89de4cc5eb 09:02:18 ---> 3c22320cb036 09:02:18 Step 9/13 : COPY go.mod vendor* ./ 09:02:18 ---> c1ef34376eb2 09:02:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:19 ---> Running in d06fe194d39e 09:03:06 Removing intermediate container d06fe194d39e 09:03:06 ---> 15161409a662 09:03:06 Step 11/13 : COPY . . 09:03:06 ---> 5dc88ed77d63 09:03:06 Step 12/13 : ARG MAKE="make build" 09:03:06 ---> Running in e92c00799e00 09:03:06 Removing intermediate container e92c00799e00 09:03:06 ---> 2cb61e06a985 09:03:06 Step 13/13 : RUN $MAKE 09:03:06 ---> Running in 075b8ed52171 09:03:06 noop 09:03:06 Removing intermediate container 075b8ed52171 09:03:06 ---> 49e6f7329178 09:03:06 Successfully built 49e6f7329178 09:03:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:03:06 + docker inspect -f . ci-base-image-arm64 09:03:06 . [Pipeline] withDockerContainer 09:03:06 prd-ubuntu20.04-docker-arm64-4c-16g-21954 does not seem to be running inside a container 09:03:06 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:03:08 $ docker top 8d35add137ac79bc699ae692a700bb97e4ebc7f7b95198199754e78448c4eb05 -eo pid,comm [Pipeline] { [Pipeline] sh 09:03:08 + go version 09:03:08 go version go1.17.6 linux/arm64 [Pipeline] } 09:03:08 $ docker stop --time=1 8d35add137ac79bc699ae692a700bb97e4ebc7f7b95198199754e78448c4eb05 09:03:10 $ docker rm -f 8d35add137ac79bc699ae692a700bb97e4ebc7f7b95198199754e78448c4eb05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:03:11 + docker inspect -f . ci-base-image-arm64 09:03:11 . [Pipeline] withDockerContainer 09:03:11 prd-ubuntu20.04-docker-arm64-4c-16g-21954 does not seem to be running inside a container 09:03:11 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:03:12 $ docker top 3e7201a35d63b23bb4ace37387886ba5dc8bc893a8b4e0505b8c1cd4d0059242 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:03:13 + make test 09:03:13 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 09:04:35 ? github.com/edgexfoundry/app-service-configurable [no test files] 09:04:35 CGO_ENABLED=1 go vet ./... 09:04:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:04:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:04:53 ./bin/test-attribution-txt.sh [Pipeline] echo 09:04:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:04:55 $ docker stop --time=1 3e7201a35d63b23bb4ace37387886ba5dc8bc893a8b4e0505b8c1cd4d0059242 09:04:57 $ docker rm -f 3e7201a35d63b23bb4ace37387886ba5dc8bc893a8b4e0505b8c1cd4d0059242 [Pipeline] // withDockerContainer [Pipeline] sh 09:04:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:04:57 Warning: overwriting stash ‘coverage-report’ 09:04:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:04:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:04:59 + ls -al . 09:04:59 total 160 09:04:59 drwxrwxr-x 7 jenkins jenkins 4096 Apr 25 09:04 . 09:04:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:01 .. 09:04:59 -rw-rw-r-- 1 jenkins jenkins 119 Apr 25 09:01 .dockerignore 09:04:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:01 .git 09:04:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:01 .github 09:04:59 -rw-rw-r-- 1 jenkins jenkins 104 Apr 25 09:01 .gitignore 09:04:59 -rw-rw-r-- 1 jenkins jenkins 8695 Apr 25 09:01 Attribution.txt 09:04:59 -rw-rw-r-- 1 jenkins jenkins 23791 Apr 25 09:01 CHANGELOG.md 09:04:59 -rw-rw-r-- 1 jenkins jenkins 2087 Apr 25 09:01 Dockerfile 09:04:59 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:01 GOVERNANCE.md 09:04:59 -rw-rw-r-- 1 jenkins jenkins 688 Apr 25 09:01 Jenkinsfile 09:04:59 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 25 09:01 LICENSE 09:04:59 -rw-rw-r-- 1 jenkins jenkins 618 Apr 25 09:01 OWNERS.md 09:04:59 -rw-rw-r-- 1 jenkins jenkins 3860 Apr 25 09:01 README.md 09:04:59 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 08:59 VERSION 09:04:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:01 bin 09:04:59 -rw-r--r-- 1 jenkins jenkins 10 Apr 25 09:03 coverage.out 09:04:59 -rw-rw-r-- 1 jenkins jenkins 3268 Apr 25 09:01 go.mod 09:04:59 -rw-rw-r-- 1 jenkins jenkins 34650 Apr 25 09:01 go.sum 09:04:59 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 25 09:01 main.go 09:04:59 -rw-rw-r-- 1 jenkins jenkins 2007 Apr 25 09:01 makefile 09:04:59 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:01 res 09:04:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:01 snap [Pipeline] isUnix [Pipeline] sh 09:04:59 + 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=f31bcd335f21dc9e4313880be9db495c50c61348 --label arch=arm64 --label version=0.0.0 . 09:04:59 Sending build context to Docker daemon 199.7kB 09:04:59 Step 1/27 : ARG BASE=golang:1.17-alpine3.15 09:04:59 Step 2/27 : FROM ${BASE} AS builder 09:04:59 ---> 49e6f7329178 09:04:59 Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 09:05:00 ---> Running in e774829b23b4 09:05:00 Removing intermediate container e774829b23b4 09:05:00 ---> 254edc94acff 09:05:00 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:05:00 ---> Running in f6bda28c3c0e 09:05:00 Removing intermediate container f6bda28c3c0e 09:05:00 ---> 583219d5bfcd 09:05:00 Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:05:00 ---> Running in fe177acdccca 09:05:01 Removing intermediate container fe177acdccca 09:05:01 ---> 92e2302268e4 09:05:01 Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:01 ---> Running in 9920f04dc4e5 09:05:03 Removing intermediate container 9920f04dc4e5 09:05:03 ---> e733b8ca766a 09:05:03 Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:05:03 ---> Running in 5cc5c05197a3 09:05:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:05:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:05:05 OK: 220 MiB in 52 packages 09:05:06 Removing intermediate container 5cc5c05197a3 09:05:06 ---> 2385f0e9d8ed 09:05:06 Step 8/27 : WORKDIR /app 09:05:06 ---> Running in 5426a2b1e2f1 09:05:06 Removing intermediate container 5426a2b1e2f1 09:05:06 ---> a935731a40ce 09:05:06 Step 9/27 : COPY go.mod vendor* ./ 09:05:07 ---> 7080885c798e 09:05:07 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:05:07 ---> Running in 81636e5a9cc1 09:05:09 Removing intermediate container 81636e5a9cc1 09:05:09 ---> 0cd5d573ce17 09:05:09 Step 11/27 : COPY . . 09:05:10 ---> 6ead4855abd6 09:05:10 Step 12/27 : ARG MAKE="make build" 09:05:10 ---> Running in 60b0e2f8125a 09:05:10 Removing intermediate container 60b0e2f8125a 09:05:10 ---> 1e2a4f2c82d7 09:05:10 Step 13/27 : RUN $MAKE 09:05:11 ---> Running in 2e1c03a61db0 09:05:11 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 09:07:18 Removing intermediate container 2e1c03a61db0 09:07:18 ---> c15880fcc2b7 09:07:18 Step 14/27 : FROM alpine:3.14 09:07:18 3.14: Pulling from library/alpine 09:07:18 455c02918c45: Pulling fs layer 09:07:18 455c02918c45: Verifying Checksum 09:07:18 455c02918c45: Download complete 09:07:18 455c02918c45: Pull complete 09:07:18 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:07:18 Status: Downloaded newer image for alpine:3.14 09:07:18 ---> ac73e934f311 09:07:18 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 09:07:18 ---> Running in f81a1c60122b 09:07:18 Removing intermediate container f81a1c60122b 09:07:18 ---> fd7617b9e695 09:07:18 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 09:07:18 ---> Running in 8928588f15d5 09:07:18 Removing intermediate container 8928588f15d5 09:07:18 ---> 9371e9a3465e 09:07:18 Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 09:07:18 ---> Running in 339d20428f9a 09:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:07:18 (1/7) Installing ca-certificates (20211220-r0) 09:07:18 (2/7) Installing dumb-init (1.2.5-r1) 09:07:18 (3/7) Installing libgcc (10.3.1_git20210424-r2) 09:07:18 (4/7) Installing libsodium (1.0.18-r0) 09:07:18 (5/7) Installing libstdc++ (10.3.1_git20210424-r2) 09:07:18 (6/7) Installing libzmq (4.3.4-r0) 09:07:18 (7/7) Installing zeromq (4.3.4-r0) 09:07:18 Executing busybox-1.33.1-r7.trigger 09:07:18 Executing ca-certificates-20211220-r0.trigger 09:07:18 OK: 9 MiB in 21 packages 09:07:19 Removing intermediate container 339d20428f9a 09:07:19 ---> c58ed7620487 09:07:19 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:07:20 ---> d477c43185d2 09:07:20 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 09:07:20 ---> b376bff73bbf 09:07:20 Step 20/27 : COPY --from=builder /app/res/ /res/ 09:07:21 ---> 5c9966501e8e 09:07:21 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 09:07:23 ---> 11b27b8c12a1 09:07:23 Step 22/27 : EXPOSE 48095 09:07:23 ---> Running in c720bd30ac80 09:07:23 Removing intermediate container c720bd30ac80 09:07:23 ---> eb5566de60cb 09:07:23 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 09:07:23 ---> Running in bf5575e137c3 09:07:23 Removing intermediate container bf5575e137c3 09:07:23 ---> 751e3073186c 09:07:23 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:07:23 ---> Running in e25c9c66639d 09:07:24 Removing intermediate container e25c9c66639d 09:07:24 ---> 745b55061c0d 09:07:24 Step 25/27 : LABEL arch=arm64 09:07:24 ---> Running in ea88a16546fd 09:07:24 Removing intermediate container ea88a16546fd 09:07:24 ---> a6c708c83ed5 09:07:24 Step 26/27 : LABEL git_sha=f31bcd335f21dc9e4313880be9db495c50c61348 09:07:24 ---> Running in a87a4c8780a6 09:07:24 Removing intermediate container a87a4c8780a6 09:07:24 ---> b8d4e8899607 09:07:24 Step 27/27 : LABEL version=0.0.0 09:07:24 ---> Running in 230c4b19273e 09:07:25 Removing intermediate container 230c4b19273e 09:07:25 ---> 97afabde3bcf 09:07:25 [Warning] One or more build-args [ARCH] were not consumed 09:07:25 Successfully built 97afabde3bcf 09:07:25 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 09:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:07:25 09:07:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:07:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:07:26 arm64: Pulling from edgex-lftools-log-publisher 09:07:26 8998bd30e6a1: Pulling fs layer 09:07:26 04944245beec: Pulling fs layer 09:07:26 699f458cf7ca: Pulling fs layer 09:07:26 765212b225bb: Pulling fs layer 09:07:26 f23df028b6ca: Pulling fs layer 09:07:26 d65c8cfc05b1: Pulling fs layer 09:07:26 2437ff75d9bd: Pulling fs layer 09:07:26 765212b225bb: Waiting 09:07:26 f23df028b6ca: Waiting 09:07:26 d65c8cfc05b1: Waiting 09:07:26 2437ff75d9bd: Waiting 09:07:26 04944245beec: Download complete 09:07:26 765212b225bb: Verifying Checksum 09:07:26 765212b225bb: Download complete 09:07:26 f23df028b6ca: Verifying Checksum 09:07:26 f23df028b6ca: Download complete 09:07:26 d65c8cfc05b1: Verifying Checksum 09:07:26 d65c8cfc05b1: Download complete 09:07:26 699f458cf7ca: Verifying Checksum 09:07:26 699f458cf7ca: Download complete 09:07:26 8998bd30e6a1: Verifying Checksum 09:07:26 8998bd30e6a1: Download complete 09:07:29 2437ff75d9bd: Verifying Checksum 09:07:29 2437ff75d9bd: Download complete 09:07:31 8998bd30e6a1: Pull complete 09:07:31 04944245beec: Pull complete 09:07:33 699f458cf7ca: Pull complete 09:07:33 765212b225bb: Pull complete 09:07:34 f23df028b6ca: Pull complete 09:07:34 d65c8cfc05b1: Pull complete 09:07:49 2437ff75d9bd: Pull complete 09:07:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:07:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:07:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:07:50 prd-ubuntu20.04-docker-arm64-4c-16g-21954 does not seem to be running inside a container 09:07:50 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:07:53 $ docker top 2cd3ca1846429819d24aa2b5573ba95fff138d558ccc33aaeb879b377795cffa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:53 ---> job-cost.sh 09:07:53 lf-activate-venv: SKIPPING 09:07:53 INFO: No Stack... 09:07:54 INFO: Retrieving Pricing Info for: v3-standard-4 09:07:55 INFO: Archiving Costs [Pipeline] sh 09:07:55 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 09:07:55 + cut -d, -f6 [Pipeline] lock 09:07:55 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] 09:07:55 Resource [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] did not exist. Created. 09:07:55 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:07:56 /w/workspace/app-service-configurable/2@tmp/durable-b06756b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:07:57 + echo total: 0.10999999940395355 [Pipeline] stash 09:07:57 Warning: overwriting stash ‘stack-cost’ 09:07:57 Stashed 1 file(s) [Pipeline] } 09:07:57 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:07:57 $ docker stop --time=1 2cd3ca1846429819d24aa2b5573ba95fff138d558ccc33aaeb879b377795cffa 09:07:58 $ docker rm -f 2cd3ca1846429819d24aa2b5573ba95fff138d558ccc33aaeb879b377795cffa [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 09:07:59 provisioning config files... 09:07:59 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config4227089069588753136tmp [Pipeline] { [Pipeline] sh 09:07:59 + set +x 09:07:59 + + bashcurl -s -s -- https://codecov.io/bash 09:07:59 09:07:59 09:07:59 _____ _ 09:07:59 / ____| | | 09:07:59 | | ___ __| | ___ ___ _____ __ 09:07:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:07:59 | |___| (_) | (_| | __/ (_| (_) \ V / 09:07:59 \_____\___/ \__,_|\___|\___\___/ \_/ 09:07:59 Bash-1.0.6 09:07:59 09:07:59 09:07:59 ==> git version 2.25.1 found 09:07:59 ==> 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 09:07:59 Release-Date: 2020-01-08 09:07:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:07:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:07:59 ==> Jenkins CI detected. 09:07:59 current dir:  /w/workspace/_app-service-configurable_PR-407 09:07:59 project root: . 09:07:59 --> token set from env 09:07:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:07:59 ==> Running gcov in . (disable via -X gcov) 09:07:59 ==> Python coveragepy not found 09:07:59 ==> Searching for coverage reports in: 09:07:59 + . 09:07:59 -> Found 1 reports 09:07:59 ==> Detecting git/mercurial file structure 09:07:59 ==> Reading reports 09:07:59 + ./coverage.out bytes=10 09:08:00 ==> Appending adjustments 09:08:00 https://docs.codecov.io/docs/fixing-reports 09:08:00 + Found adjustments 09:08:00 ==> Gzipping contents 09:08:00 4.0K /tmp/codecov.2LyAAO.gz 09:08:00 ==> Uploading reports 09:08:00 url: https://codecov.io 09:08:00 query: branch=PR-407&commit=f31bcd335f21dc9e4313880be9db495c50c61348&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-407%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=407&job=&cmd_args= 09:08:00 -> Pinging Codecov 09:08:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-407&commit=f31bcd335f21dc9e4313880be9db495c50c61348&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-407%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=407&job=&cmd_args= 09:08:00 -> Uploading to 09:08:00 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/A97CA9966030D2A3747ED39772930CCE/f31bcd335f21dc9e4313880be9db495c50c61348/aae1f153-b1f1-42f5-94dc-2d5f9d2be671.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T090800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07e03770810aa893b1e19e7f93c34c799eb11616aea8ffd0837bbf5f661c4796 09:08:00 % Total % Received % Xferd Average Speed Time Time Time Current 09:08:00 Dload Upload Total Spent Left Speed 09:08:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 577 0 0 100 577 0 2646 --:--:-- --:--:-- --:--:-- 2646 09:08:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/f31bcd335f21dc9e4313880be9db495c50c61348 [Pipeline] } 09:08:00 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 09:08:01 + [ -d /w/workspace/_app-service-configurable_PR-407/archives ] 09:08:01 + ls -al /w/workspace/_app-service-configurable_PR-407/archives 09:08:01 total 16 09:08:01 drwxr-xr-x 3 root root 4096 Apr 25 09:00 . 09:08:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:00 .. 09:08:01 drwxr-xr-x 2 root root 4096 Apr 25 09:00 cost 09:08:01 -rw-r--r-- 1 root root 97 Apr 25 09:00 cost.csv 09:08:01 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-407/archives 09:08:01 + ls -al /w/workspace/_app-service-configurable_PR-407/archives 09:08:01 total 16 09:08:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 09:00 . 09:08:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:00 .. 09:08:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 09:00 cost 09:08:01 -rw-r--r-- 1 jenkins jenkins 97 Apr 25 09:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:08:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:08:02 ---> package-listing.sh 09:08:02 ++ facter osfamily 09:08:02 ++ tr '[:upper:]' '[:lower:]' 09:08:02 + OS_FAMILY=debian 09:08:02 + workspace=/w/workspace/_app-service-configurable_PR-407 09:08:02 + START_PACKAGES=/tmp/packages_start.txt 09:08:02 + END_PACKAGES=/tmp/packages_end.txt 09:08:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:08:02 + PACKAGES=/tmp/packages_start.txt 09:08:02 + '[' /w/workspace/_app-service-configurable_PR-407 ']' 09:08:02 + PACKAGES=/tmp/packages_end.txt 09:08:02 + case "${OS_FAMILY}" in 09:08:02 + dpkg -l 09:08:02 + grep '^ii' 09:08:02 + '[' -f /tmp/packages_start.txt ']' 09:08:02 + '[' -f /tmp/packages_end.txt ']' 09:08:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:08:02 + '[' /w/workspace/_app-service-configurable_PR-407 ']' 09:08:02 + mkdir -p /w/workspace/_app-service-configurable_PR-407/archives/ 09:08:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-407/archives/ [Pipeline] echo 09:08:02 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-407/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:08:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:08:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:08:03 . [Pipeline] withDockerContainer 09:08:03 prd-ubuntu20.04-docker-8c-8g-21946 does not seem to be running inside a container 09:08:03 $ 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-407/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-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@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:latest cat 09:08:03 $ docker top 59ef67ec0ce1d81c771e0c9992d5a743adb3928a673babf5c5dd77196f4ac3db -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:04 + touch /tmp/pre-build-complete [Pipeline] sh 09:08:04 + mkdir -p /var/log/sysstat [Pipeline] sh 09:08:04 + ls /var/log/sa-host 09:08:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:04 provisioning config files... 09:08:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config416057110537920424tmp [Pipeline] { [Pipeline] echo 09:08:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:08:05 ---> create-netrc.sh [Pipeline] } 09:08:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:08:05 ---> python-tools-install.sh [Pipeline] echo 09:08:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:08:05 ---> sudo-logs.sh 09:08:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:08:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:08:06 ---> job-cost.sh 09:08:06 lf-activate-venv: SKIPPING 09:08:06 DEBUG: total: 0.8799999952316284 09:08:06 INFO: Retrieving Stack Cost... 09:08:06 INFO: Retrieving Pricing Info for: v3-standard-8 09:08:07 INFO: Archiving Costs [Pipeline] echo 09:08:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:08:07 ---> logs-deploy.sh 09:08:07 lf-activate-venv: SKIPPING 09:08:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-407/2 09:08:07 INFO: archiving workspace using pattern(s): 09:08:08 Archives upload complete. 09:08:08 INFO: archiving logs to Nexus