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 c1bad40dec39ab39dc53bfb84119fa5413f88e79 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-ssh16105258998419396845.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-ssh9099438713686541891.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-ssh12224972057842770161.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-ssh13314912479937451310.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-ssh14325470930807721699.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-23583’ is offline Running on prd-ubuntu20.04-docker-8c-8g-23585 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 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit c1bad40dec39ab39dc53bfb84119fa5413f88e79 Merge succeeded, producing c1bad40dec39ab39dc53bfb84119fa5413f88e79 Checking out Revision c1bad40dec39ab39dc53bfb84119fa5413f88e79 (PR-407) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/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 c1bad40dec39ab39dc53bfb84119fa5413f88e79 # 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 c1bad40dec39ab39dc53bfb84119fa5413f88e79 # timeout=10 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5" > git rev-list --no-walk f31bcd335f21dc9e4313880be9db495c50c61348 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T08:25:18.653Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T08:25:18.693Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T08:25:18.707Z] ========================================================= [2022-04-26T08:25:18.707Z] EdgeX Global Pipelines Version Info [2022-04-26T08:25:18.707Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:25:19.525Z] ------------------- [2022-04-26T08:25:19.525Z] stable info: [2022-04-26T08:25:19.525Z] ------------------- [2022-04-26T08:25:19.525Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T08:25:19.525Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T08:25:19.525Z] Message: update stable to v1.0.221 [2022-04-26T08:25:20.099Z] ------------------- [2022-04-26T08:25:20.099Z] experimental info: [2022-04-26T08:25:20.099Z] ------------------- [2022-04-26T08:25:20.099Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T08:25:20.099Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-26T08:25:20.099Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T08:25:20.247Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-26T08:25:20.260Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-26T08:25:20.276Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T08:25:20.288Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T08:25:20.303Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T08:25:20.316Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T08:25:20.328Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T08:25:20.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T08:25:20.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T08:25:20.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T08:25:20.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T08:25:20.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-26T08:25:20.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T08:25:20.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T08:25:20.435Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T08:25:20.446Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T08:25:20.463Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T08:25:20.481Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T08:25:20.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T08:25:20.517Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T08:25:20.529Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T08:25:20.539Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T08:25:20.549Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T08:25:20.558Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T08:25:20.568Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T08:25:20.577Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T08:25:20.587Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-407 [Pipeline] echo [2022-04-26T08:25:20.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-407 [Pipeline] echo [2022-04-26T08:25:20.613Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-407 [Pipeline] echo [2022-04-26T08:25:20.632Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1bad40dec39ab39dc53bfb84119fa5413f88e79 [Pipeline] echo [2022-04-26T08:25:20.646Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1bad40 [Pipeline] echo [2022-04-26T08:25:20.659Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T08:25:20.704Z] provisioning config files... [2022-04-26T08:25:20.717Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config6972873907502318812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:25:21.030Z] ---> docker-login.sh [2022-04-26T08:25:21.030Z] nexus3.edgexfoundry.org:10001 [2022-04-26T08:25:21.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:25:21.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:25:21.292Z] Configure a credential helper to remove this warning. See [2022-04-26T08:25:21.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:25:21.292Z] [2022-04-26T08:25:21.292Z] Login Succeeded [2022-04-26T08:25:21.292Z] nexus3.edgexfoundry.org:10002 [2022-04-26T08:25:21.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:25:21.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:25:21.559Z] Configure a credential helper to remove this warning. See [2022-04-26T08:25:21.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:25:21.559Z] [2022-04-26T08:25:21.559Z] Login Succeeded [2022-04-26T08:25:21.559Z] nexus3.edgexfoundry.org:10003 [2022-04-26T08:25:21.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:25:21.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:25:21.559Z] Configure a credential helper to remove this warning. See [2022-04-26T08:25:21.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:25:21.559Z] [2022-04-26T08:25:21.559Z] Login Succeeded [2022-04-26T08:25:21.559Z] nexus3.edgexfoundry.org:10004 [2022-04-26T08:25:21.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:25:21.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:25:21.821Z] Configure a credential helper to remove this warning. See [2022-04-26T08:25:21.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:25:21.821Z] [2022-04-26T08:25:21.821Z] Login Succeeded [2022-04-26T08:25:21.821Z] docker.io [2022-04-26T08:25:21.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:25:22.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:25:22.082Z] Configure a credential helper to remove this warning. See [2022-04-26T08:25:22.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:25:22.082Z] [2022-04-26T08:25:22.082Z] Login Succeeded [2022-04-26T08:25:22.082Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T08:25:22.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T08:25:22.475Z] + git rev-list -1 --merges c1bad40dec39ab39dc53bfb84119fa5413f88e79~1..c1bad40dec39ab39dc53bfb84119fa5413f88e79 [Pipeline] echo [2022-04-26T08:25:22.508Z] -----------> git rev-list -1 --merges c1bad40dec39ab39dc53bfb84119fa5413f88e79~1..c1bad40dec39ab39dc53bfb84119fa5413f88e79 c1bad40dec39ab39dc53bfb84119fa5413f88e79 [false] [Pipeline] sh [2022-04-26T08:25:22.800Z] + git log --format=format:%s -1 c1bad40dec39ab39dc53bfb84119fa5413f88e79 [Pipeline] echo [2022-04-26T08:25:22.817Z] ========================================================= [2022-04-26T08:25:22.817Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T08:25:22.817Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T08:25:23.165Z] + git log --format=format:%s -1 c1bad40dec39ab39dc53bfb84119fa5413f88e79 [Pipeline] echo [2022-04-26T08:25:23.179Z] [semverPrep] GIT_COMMIT: c1bad40dec39ab39dc53bfb84119fa5413f88e79, Commit Message: feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5 [Pipeline] echo [2022-04-26T08:25:23.190Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T08:25:23.582Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T08:25:23.582Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T08:25:23.582Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T08:25:23.582Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T08:25:23.582Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T08:25:23.582Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T08:25:23.582Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:25:23.935Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T08:25:23.935Z] [2022-04-26T08:25:23.935Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:25:24.236Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T08:25:24.236Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T08:25:24.236Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T08:25:24.236Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T08:25:24.236Z] 4c7163046ea9: Pulling fs layer [2022-04-26T08:25:24.236Z] 0c2d73faf560: Pulling fs layer [2022-04-26T08:25:24.236Z] 0c2d73faf560: Waiting [2022-04-26T08:25:24.236Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T08:25:24.236Z] 3e5f54012d9b: Download complete [2022-04-26T08:25:24.236Z] a0d0a0d46f8b: Download complete [2022-04-26T08:25:24.497Z] 0c2d73faf560: Verifying Checksum [2022-04-26T08:25:24.497Z] 0c2d73faf560: Download complete [2022-04-26T08:25:24.497Z] 4c7163046ea9: Verifying Checksum [2022-04-26T08:25:24.497Z] 4c7163046ea9: Download complete [2022-04-26T08:25:24.497Z] a0d0a0d46f8b: Pull complete [2022-04-26T08:25:24.497Z] 3e5f54012d9b: Pull complete [2022-04-26T08:25:24.759Z] 4c7163046ea9: Pull complete [2022-04-26T08:25:25.018Z] 0c2d73faf560: Pull complete [2022-04-26T08:25:25.018Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T08:25:25.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T08:25:25.018Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T08:25:25.086Z] prd-ubuntu20.04-docker-8c-8g-23585 does not seem to be running inside a container [2022-04-26T08:25:25.122Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T08:25:25.799Z] $ docker top e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T08:25:25.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T08:25:25.908Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T08:25:26.043Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T08:25:26.040Z] $ docker exec e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec ssh-agent [2022-04-26T08:25:26.155Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMjBLCb/agent.13 [2022-04-26T08:25:26.155Z] SSH_AGENT_PID=19 [2022-04-26T08:25:26.164Z] Running ssh-add (command line suppressed) [2022-04-26T08:25:26.278Z] Identity added: /w/workspace/_app-service-configurable_PR-407@tmp/private_key_3546946505522859346.key (/w/workspace/_app-service-configurable_PR-407@tmp/private_key_3546946505522859346.key) [2022-04-26T08:25:26.299Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T08:25:26.595Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T08:25:26.602Z] $ docker exec --env ******** --env ******** e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec ssh-agent -k [2022-04-26T08:25:26.718Z] unset SSH_AUTH_SOCK; [2022-04-26T08:25:26.719Z] unset SSH_AGENT_PID; [2022-04-26T08:25:26.719Z] echo Agent pid 19 killed; [2022-04-26T08:25:26.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T08:25:26.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T08:25:26.769Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T08:25:26.924Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T08:25:26.920Z] $ docker exec e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec ssh-agent [2022-04-26T08:25:27.054Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHAdoli/agent.51 [2022-04-26T08:25:27.054Z] SSH_AGENT_PID=57 [2022-04-26T08:25:27.060Z] Running ssh-add (command line suppressed) [2022-04-26T08:25:27.171Z] Identity added: /w/workspace/_app-service-configurable_PR-407@tmp/private_key_222917613306900995.key (/w/workspace/_app-service-configurable_PR-407@tmp/private_key_222917613306900995.key) [2022-04-26T08:25:27.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T08:25:27.486Z] + git semver init [2022-04-26T08:25:27.486Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T08:25:27.486Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-407/.git [2022-04-26T08:25:27.486Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-407 [2022-04-26T08:25:27.486Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T08:25:27.486Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T08:25:27.486Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T08:25:27.486Z] # $SEMVER_BRANCH = PR-407 [2022-04-26T08:25:27.486Z] # $SEMVER_TEMP = /tmp/semver-019511252 [2022-04-26T08:25:27.486Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-26T08:25:28.428Z] # '/tmp/semver-019511252' -> '/w/workspace/_app-service-configurable_PR-407/.semver' [2022-04-26T08:25:28.428Z] # -> Force: false [2022-04-26T08:25:28.428Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-407/.semver [Pipeline] } [2022-04-26T08:25:28.434Z] $ docker exec --env ******** --env ******** e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec ssh-agent -k [2022-04-26T08:25:28.528Z] unset SSH_AUTH_SOCK; [2022-04-26T08:25:28.528Z] unset SSH_AGENT_PID; [2022-04-26T08:25:28.529Z] echo Agent pid 57 killed; [2022-04-26T08:25:28.545Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T08:25:28.859Z] + git semver [Pipeline] } [2022-04-26T08:25:28.869Z] $ docker stop --time=1 e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec [2022-04-26T08:25:30.225Z] $ docker rm -f e3f79146ca02a2b474f27d2b09538ddb8f693de0e6de6abf0a8a224ef1348aec [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T08:25:30.588Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T08:25:30.855Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T08:25:30.858Z] [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 [2022-04-26T08:25:31.006Z] provisioning config files... [2022-04-26T08:25:31.017Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config1358251333849860887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:25:31.316Z] ---> docker-login.sh [2022-04-26T08:25:31.316Z] nexus3.edgexfoundry.org:10001 [2022-04-26T08:25:31.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:25:31.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:25:31.316Z] Configure a credential helper to remove this warning. See [2022-04-26T08:25:31.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:25:31.316Z] [2022-04-26T08:25:31.316Z] Login Succeeded [2022-04-26T08:25:31.316Z] nexus3.edgexfoundry.org:10002 [2022-04-26T08:25:31.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:25:31.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:25:31.316Z] Configure a credential helper to remove this warning. See [2022-04-26T08:25:31.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:25:31.316Z] [2022-04-26T08:25:31.316Z] Login Succeeded [2022-04-26T08:25:31.577Z] nexus3.edgexfoundry.org:10003 [2022-04-26T08:25:31.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:25:31.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:25:31.577Z] Configure a credential helper to remove this warning. See [2022-04-26T08:25:31.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:25:31.577Z] [2022-04-26T08:25:31.577Z] Login Succeeded [2022-04-26T08:25:31.577Z] nexus3.edgexfoundry.org:10004 [2022-04-26T08:25:31.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:25:31.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:25:31.837Z] Configure a credential helper to remove this warning. See [2022-04-26T08:25:31.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:25:31.837Z] [2022-04-26T08:25:31.837Z] Login Succeeded [2022-04-26T08:25:31.837Z] docker.io [2022-04-26T08:25:31.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:25:32.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:25:32.099Z] Configure a credential helper to remove this warning. See [2022-04-26T08:25:32.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:25:32.099Z] [2022-04-26T08:25:32.099Z] Login Succeeded [2022-04-26T08:25:32.099Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T08:25:32.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T08:25:32.176Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T08:25:32.188Z] ========================================================= [2022-04-26T08:25:32.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T08:25:32.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:25:32.494Z] + 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 . [2022-04-26T08:25:32.495Z] Sending build context to Docker daemon 3.023MB [2022-04-26T08:25:32.495Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T08:25:32.495Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-26T08:25:32.495Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T08:25:32.495Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T08:25:32.495Z] 666ba61612fd: Pulling fs layer [2022-04-26T08:25:32.495Z] 8ed8ca486205: Pulling fs layer [2022-04-26T08:25:32.495Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T08:25:32.495Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T08:25:32.495Z] ca2b28591e48: Pulling fs layer [2022-04-26T08:25:32.495Z] a51346096db8: Pulling fs layer [2022-04-26T08:25:32.495Z] daebc70d1ce1: Pulling fs layer [2022-04-26T08:25:32.495Z] 0e18a0eac166: Pulling fs layer [2022-04-26T08:25:32.495Z] daebc70d1ce1: Waiting [2022-04-26T08:25:32.495Z] 0e18a0eac166: Waiting [2022-04-26T08:25:32.495Z] 22a0e8bec74d: Waiting [2022-04-26T08:25:32.495Z] ca2b28591e48: Waiting [2022-04-26T08:25:32.495Z] a51346096db8: Waiting [2022-04-26T08:25:32.495Z] 4fe6c5a15a65: Waiting [2022-04-26T08:25:32.495Z] 8ed8ca486205: Verifying Checksum [2022-04-26T08:25:32.495Z] 8ed8ca486205: Download complete [2022-04-26T08:25:32.495Z] 666ba61612fd: Download complete [2022-04-26T08:25:32.495Z] 22a0e8bec74d: Download complete [2022-04-26T08:25:32.495Z] ca2b28591e48: Verifying Checksum [2022-04-26T08:25:32.495Z] ca2b28591e48: Download complete [2022-04-26T08:25:32.495Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T08:25:32.495Z] 59bf1c3509f3: Download complete [2022-04-26T08:25:32.495Z] a51346096db8: Verifying Checksum [2022-04-26T08:25:32.495Z] a51346096db8: Download complete [2022-04-26T08:25:32.757Z] daebc70d1ce1: Verifying Checksum [2022-04-26T08:25:32.757Z] daebc70d1ce1: Download complete [2022-04-26T08:25:32.757Z] 59bf1c3509f3: Pull complete [2022-04-26T08:25:32.757Z] 666ba61612fd: Pull complete [2022-04-26T08:25:33.021Z] 8ed8ca486205: Pull complete [2022-04-26T08:25:33.282Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T08:25:33.282Z] 4fe6c5a15a65: Download complete [2022-04-26T08:25:33.541Z] 0e18a0eac166: Verifying Checksum [2022-04-26T08:25:33.541Z] 0e18a0eac166: Download complete [2022-04-26T08:25:37.734Z] 4fe6c5a15a65: Pull complete [2022-04-26T08:25:37.734Z] 22a0e8bec74d: Pull complete [2022-04-26T08:25:37.734Z] ca2b28591e48: Pull complete [2022-04-26T08:25:37.734Z] a51346096db8: Pull complete [2022-04-26T08:25:37.734Z] daebc70d1ce1: Pull complete [2022-04-26T08:25:39.644Z] 0e18a0eac166: Pull complete [2022-04-26T08:25:39.644Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T08:25:39.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T08:25:39.644Z] ---> f018257e8ee9 [2022-04-26T08:25:39.644Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T08:25:40.590Z] ---> Running in 9598944a88f9 [2022-04-26T08:25:40.856Z] Removing intermediate container 9598944a88f9 [2022-04-26T08:25:40.856Z] ---> a7a7c94cab93 [2022-04-26T08:25:40.856Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T08:25:40.856Z] ---> Running in 2c5efd2b7372 [2022-04-26T08:25:40.856Z] Removing intermediate container 2c5efd2b7372 [2022-04-26T08:25:40.856Z] ---> 24b2c8ab2fc8 [2022-04-26T08:25:40.856Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T08:25:41.118Z] ---> Running in 76aea4ef59c4 [2022-04-26T08:25:41.118Z] Removing intermediate container 76aea4ef59c4 [2022-04-26T08:25:41.118Z] ---> 079d122a3ead [2022-04-26T08:25:41.118Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T08:25:41.118Z] ---> Running in 61d09b9bfd79 [2022-04-26T08:25:41.690Z] Removing intermediate container 61d09b9bfd79 [2022-04-26T08:25:41.690Z] ---> 7a9a2b7fb42b [2022-04-26T08:25:41.690Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T08:25:41.690Z] ---> Running in 31108b574e53 [2022-04-26T08:25:41.950Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T08:25:42.893Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T08:25:43.165Z] OK: 221 MiB in 52 packages [2022-04-26T08:25:43.426Z] Removing intermediate container 31108b574e53 [2022-04-26T08:25:43.426Z] ---> ee359a25f061 [2022-04-26T08:25:43.426Z] Step 8/13 : WORKDIR /app [2022-04-26T08:25:43.426Z] ---> Running in 142d5b102992 [2022-04-26T08:25:43.426Z] Removing intermediate container 142d5b102992 [2022-04-26T08:25:43.426Z] ---> 3aa7a167aee0 [2022-04-26T08:25:43.426Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-26T08:25:43.685Z] ---> 06aa85274a49 [2022-04-26T08:25:43.685Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T08:25:43.685Z] ---> Running in f7c2030eb256 [2022-04-26T08:25:45.960Z] Still waiting to schedule task [2022-04-26T08:25:45.960Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-23584’ is offline [2022-04-26T08:26:05.652Z] Removing intermediate container f7c2030eb256 [2022-04-26T08:26:05.653Z] ---> 4a8d7d49d83f [2022-04-26T08:26:05.653Z] Step 11/13 : COPY . . [2022-04-26T08:26:05.653Z] ---> 22b54d210643 [2022-04-26T08:26:05.653Z] Step 12/13 : ARG MAKE="make build" [2022-04-26T08:26:05.653Z] ---> Running in 03a67951e388 [2022-04-26T08:26:05.653Z] Removing intermediate container 03a67951e388 [2022-04-26T08:26:05.653Z] ---> 461b00ad0380 [2022-04-26T08:26:05.653Z] Step 13/13 : RUN $MAKE [2022-04-26T08:26:05.653Z] ---> Running in 5cf37052198f [2022-04-26T08:26:05.653Z] noop [2022-04-26T08:26:05.653Z] Removing intermediate container 5cf37052198f [2022-04-26T08:26:05.653Z] ---> ad22dd5c18a1 [2022-04-26T08:26:05.653Z] Successfully built ad22dd5c18a1 [2022-04-26T08:26:05.653Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:26:05.947Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T08:26:05.947Z] . [Pipeline] withDockerContainer [2022-04-26T08:26:06.015Z] prd-ubuntu20.04-docker-8c-8g-23585 does not seem to be running inside a container [2022-04-26T08:26:06.059Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-26T08:26:06.453Z] $ docker top 1373b09ec3cb91f71a822f8af6610ae2d660ad268ef9c83e46624b04faca5511 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T08:26:06.804Z] + go version [2022-04-26T08:26:06.805Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T08:26:06.824Z] $ docker stop --time=1 1373b09ec3cb91f71a822f8af6610ae2d660ad268ef9c83e46624b04faca5511 [2022-04-26T08:26:08.108Z] $ docker rm -f 1373b09ec3cb91f71a822f8af6610ae2d660ad268ef9c83e46624b04faca5511 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:26:08.543Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T08:26:08.543Z] . [Pipeline] withDockerContainer [2022-04-26T08:26:08.611Z] prd-ubuntu20.04-docker-8c-8g-23585 does not seem to be running inside a container [2022-04-26T08:26:08.661Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-26T08:26:09.023Z] $ docker top d1b6b6714adfd1874f02b48dad5fb263d11d9014ce164e7f6eb3da0020c5998d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T08:26:09.378Z] + make test [2022-04-26T08:26:09.378Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-26T08:26:19.643Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-26T08:26:19.643Z] CGO_ENABLED=1 go vet ./... [2022-04-26T08:26:23.854Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T08:26:23.854Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T08:26:23.854Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T08:26:24.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T08:26:24.153Z] $ docker stop --time=1 d1b6b6714adfd1874f02b48dad5fb263d11d9014ce164e7f6eb3da0020c5998d [2022-04-26T08:26:25.799Z] $ docker rm -f d1b6b6714adfd1874f02b48dad5fb263d11d9014ce164e7f6eb3da0020c5998d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T08:26:26.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T08:26:26.232Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T08:26:26.799Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T08:26:27.090Z] + ls -al . [2022-04-26T08:26:27.090Z] total 164 [2022-04-26T08:26:27.090Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:26 . [2022-04-26T08:26:27.090Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:25 .. [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 08:25 .dockerignore [2022-04-26T08:26:27.090Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:25 .git [2022-04-26T08:26:27.090Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:25 .github [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 08:25 .gitignore [2022-04-26T08:26:27.090Z] drwx------ 3 jenkins jenkins 4096 Apr 26 08:25 .semver [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 08:25 Attribution.txt [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 08:25 CHANGELOG.md [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 08:25 Dockerfile [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:25 GOVERNANCE.md [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 08:25 Jenkinsfile [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 08:25 LICENSE [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 08:25 OWNERS.md [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 08:25 README.md [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 08:25 VERSION [2022-04-26T08:26:27.090Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:25 bin [2022-04-26T08:26:27.090Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 08:26 coverage.out [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 08:25 go.mod [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 34650 Apr 26 08:25 go.sum [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 08:25 main.go [2022-04-26T08:26:27.090Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 08:25 makefile [2022-04-26T08:26:27.090Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:25 res [2022-04-26T08:26:27.090Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:25 snap [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:26:27.390Z] + 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=c1bad40dec39ab39dc53bfb84119fa5413f88e79 --label arch=amd64 --label version=0.0.0 . [2022-04-26T08:26:27.390Z] Sending build context to Docker daemon 3.024MB [2022-04-26T08:26:27.390Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T08:26:27.390Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-26T08:26:27.390Z] ---> ad22dd5c18a1 [2022-04-26T08:26:27.390Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T08:26:27.390Z] ---> Running in d0866f892c34 [2022-04-26T08:26:27.650Z] Removing intermediate container d0866f892c34 [2022-04-26T08:26:27.650Z] ---> 8e822b56eab8 [2022-04-26T08:26:27.650Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T08:26:27.650Z] ---> Running in 9642a6231dcc [2022-04-26T08:26:27.650Z] Removing intermediate container 9642a6231dcc [2022-04-26T08:26:27.650Z] ---> 40452eb5f1b6 [2022-04-26T08:26:27.650Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T08:26:27.650Z] ---> Running in a4aeac6779f0 [2022-04-26T08:26:27.909Z] Removing intermediate container a4aeac6779f0 [2022-04-26T08:26:27.909Z] ---> 15f71d5f619c [2022-04-26T08:26:27.909Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T08:26:27.909Z] ---> Running in a2e17de60c3e [2022-04-26T08:26:28.479Z] Removing intermediate container a2e17de60c3e [2022-04-26T08:26:28.479Z] ---> ca1f7460c12c [2022-04-26T08:26:28.479Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T08:26:28.479Z] ---> Running in f5dd816d741a [2022-04-26T08:26:28.741Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T08:26:29.685Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T08:26:29.945Z] OK: 221 MiB in 52 packages [2022-04-26T08:26:30.206Z] Removing intermediate container f5dd816d741a [2022-04-26T08:26:30.206Z] ---> 771ef864d909 [2022-04-26T08:26:30.206Z] Step 8/27 : WORKDIR /app [2022-04-26T08:26:30.206Z] ---> Running in c2b559a08354 [2022-04-26T08:26:30.466Z] Removing intermediate container c2b559a08354 [2022-04-26T08:26:30.466Z] ---> 130f5b294515 [2022-04-26T08:26:30.466Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-26T08:26:30.466Z] ---> 776c901bdbb5 [2022-04-26T08:26:30.466Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T08:26:30.466Z] ---> Running in 4611c75f7bf9 [2022-04-26T08:26:31.405Z] Removing intermediate container 4611c75f7bf9 [2022-04-26T08:26:31.405Z] ---> 57de3450e848 [2022-04-26T08:26:31.405Z] Step 11/27 : COPY . . [2022-04-26T08:26:31.405Z] ---> 2b90f07abfa4 [2022-04-26T08:26:31.405Z] Step 12/27 : ARG MAKE="make build" [2022-04-26T08:26:31.405Z] ---> Running in 2622c271873a [2022-04-26T08:26:31.666Z] Removing intermediate container 2622c271873a [2022-04-26T08:26:31.666Z] ---> b787860fae80 [2022-04-26T08:26:31.666Z] Step 13/27 : RUN $MAKE [2022-04-26T08:26:31.666Z] ---> Running in 0362c33fe312 [2022-04-26T08:26:31.926Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-26T08:26:53.906Z] Removing intermediate container 0362c33fe312 [2022-04-26T08:26:53.906Z] ---> e46f2aa7b448 [2022-04-26T08:26:53.906Z] Step 14/27 : FROM alpine:3.14 [2022-04-26T08:26:53.906Z] 3.14: Pulling from library/alpine [2022-04-26T08:26:53.906Z] 8663204ce13b: Pulling fs layer [2022-04-26T08:26:53.906Z] 8663204ce13b: Verifying Checksum [2022-04-26T08:26:53.906Z] 8663204ce13b: Download complete [2022-04-26T08:26:53.906Z] 8663204ce13b: Pull complete [2022-04-26T08:26:53.906Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T08:26:53.906Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T08:26:53.906Z] ---> e04c818066af [2022-04-26T08:26:53.906Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T08:26:53.906Z] ---> Running in 4b5464da31b2 [2022-04-26T08:26:53.906Z] Removing intermediate container 4b5464da31b2 [2022-04-26T08:26:53.906Z] ---> b7165ca130d3 [2022-04-26T08:26:53.906Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-26T08:26:53.906Z] ---> Running in 64e73d998c52 [2022-04-26T08:26:53.906Z] Removing intermediate container 64e73d998c52 [2022-04-26T08:26:53.906Z] ---> 5b73af990700 [2022-04-26T08:26:53.906Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-26T08:26:53.906Z] ---> Running in b5b1bec73d1d [2022-04-26T08:26:53.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T08:26:53.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T08:26:53.906Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-26T08:26:53.906Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-26T08:26:53.906Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T08:26:53.906Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-26T08:26:53.906Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T08:26:53.906Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-26T08:26:53.906Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-26T08:26:53.906Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T08:26:53.906Z] Executing ca-certificates-20211220-r0.trigger [2022-04-26T08:26:53.906Z] OK: 9 MiB in 21 packages [2022-04-26T08:26:53.906Z] Removing intermediate container b5b1bec73d1d [2022-04-26T08:26:53.906Z] ---> 0f2737b52701 [2022-04-26T08:26:53.906Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-26T08:26:53.906Z] ---> ce85ce787641 [2022-04-26T08:26:53.906Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-26T08:26:53.906Z] ---> 796796d8ff52 [2022-04-26T08:26:53.906Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-26T08:26:53.906Z] ---> 9d8830d918c4 [2022-04-26T08:26:53.906Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-26T08:26:54.168Z] ---> 3bc5dfa2b2ea [2022-04-26T08:26:54.168Z] Step 22/27 : EXPOSE 48095 [2022-04-26T08:26:54.168Z] ---> Running in 3f3f5009b720 [2022-04-26T08:26:54.168Z] Removing intermediate container 3f3f5009b720 [2022-04-26T08:26:54.168Z] ---> e68662c4f23c [2022-04-26T08:26:54.168Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-26T08:26:54.168Z] ---> Running in d6f097069ef1 [2022-04-26T08:26:54.428Z] Removing intermediate container d6f097069ef1 [2022-04-26T08:26:54.428Z] ---> 094251150888 [2022-04-26T08:26:54.428Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T08:26:54.428Z] ---> Running in 60ae7f581902 [2022-04-26T08:26:54.428Z] Removing intermediate container 60ae7f581902 [2022-04-26T08:26:54.428Z] ---> 9162d90259e4 [2022-04-26T08:26:54.428Z] Step 25/27 : LABEL arch=amd64 [2022-04-26T08:26:54.428Z] ---> Running in f2738b08ad35 [2022-04-26T08:26:54.689Z] Removing intermediate container f2738b08ad35 [2022-04-26T08:26:54.689Z] ---> 66c15c863cf8 [2022-04-26T08:26:54.689Z] Step 26/27 : LABEL git_sha=c1bad40dec39ab39dc53bfb84119fa5413f88e79 [2022-04-26T08:26:54.689Z] ---> Running in aa75b56690a9 [2022-04-26T08:26:54.689Z] Removing intermediate container aa75b56690a9 [2022-04-26T08:26:54.689Z] ---> bbbfafc36a35 [2022-04-26T08:26:54.689Z] Step 27/27 : LABEL version=0.0.0 [2022-04-26T08:26:54.689Z] ---> Running in 8b0788dca1eb [2022-04-26T08:26:54.949Z] Removing intermediate container 8b0788dca1eb [2022-04-26T08:26:54.950Z] ---> 83979671cc1c [2022-04-26T08:26:54.950Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T08:26:54.950Z] Successfully built 83979671cc1c [2022-04-26T08:26:54.950Z] 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 [2022-04-26T08:26:55.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T08:26:55.409Z] [2022-04-26T08:26:55.409Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:26:55.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T08:26:55.712Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T08:26:55.712Z] 5eb5b503b376: Pulling fs layer [2022-04-26T08:26:55.712Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T08:26:55.712Z] ec43610c2a17: Pulling fs layer [2022-04-26T08:26:55.712Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T08:26:55.712Z] 33b1e0a273af: Pulling fs layer [2022-04-26T08:26:55.712Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T08:26:55.712Z] 3a2ae6a8a46f: Waiting [2022-04-26T08:26:55.712Z] 33b1e0a273af: Waiting [2022-04-26T08:26:55.712Z] 2f39f015ded8: Pulling fs layer [2022-04-26T08:26:55.712Z] 5d3b04190fa2: Waiting [2022-04-26T08:26:55.712Z] 2f39f015ded8: Waiting [2022-04-26T08:26:55.712Z] 5c69ac0246d0: Download complete [2022-04-26T08:26:55.712Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T08:26:55.712Z] 3a2ae6a8a46f: Download complete [2022-04-26T08:26:55.712Z] 33b1e0a273af: Verifying Checksum [2022-04-26T08:26:55.712Z] 33b1e0a273af: Download complete [2022-04-26T08:26:55.712Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T08:26:55.712Z] 5d3b04190fa2: Download complete [2022-04-26T08:26:55.712Z] ec43610c2a17: Verifying Checksum [2022-04-26T08:26:55.712Z] ec43610c2a17: Download complete [2022-04-26T08:26:55.972Z] 5eb5b503b376: Verifying Checksum [2022-04-26T08:26:55.972Z] 5eb5b503b376: Download complete [2022-04-26T08:26:56.541Z] 2f39f015ded8: Download complete [2022-04-26T08:26:57.110Z] 5eb5b503b376: Pull complete [2022-04-26T08:26:57.110Z] 5c69ac0246d0: Pull complete [2022-04-26T08:26:57.679Z] ec43610c2a17: Pull complete [2022-04-26T08:26:57.679Z] 3a2ae6a8a46f: Pull complete [2022-04-26T08:26:57.937Z] 33b1e0a273af: Pull complete [2022-04-26T08:26:57.937Z] 5d3b04190fa2: Pull complete [2022-04-26T08:27:02.135Z] 2f39f015ded8: Pull complete [2022-04-26T08:27:02.135Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T08:27:02.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T08:27:02.135Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T08:27:02.206Z] prd-ubuntu20.04-docker-8c-8g-23585 does not seem to be running inside a container [2022-04-26T08:27:02.265Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T08:27:03.997Z] $ docker top 094406bc6b958cc03f00a37c3cbe7e01a34f15259f251cfde3d3657f8bf0ebd9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:27:04.377Z] ---> job-cost.sh [2022-04-26T08:27:04.378Z] lf-activate-venv: SKIPPING [2022-04-26T08:27:04.378Z] INFO: No Stack... [2022-04-26T08:27:04.638Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T08:27:05.208Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T08:27:05.504Z] + cat /w/workspace/_app-service-configurable_PR-407/archives/cost.csv [2022-04-26T08:27:05.504Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T08:27:05.520Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] [2022-04-26T08:27:05.526Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] did not exist. Created. [2022-04-26T08:27:05.526Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T08:27:05.839Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T08:27:05.862Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T08:27:05.868Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T08:27:05.899Z] $ docker stop --time=1 094406bc6b958cc03f00a37c3cbe7e01a34f15259f251cfde3d3657f8bf0ebd9 [2022-04-26T08:27:07.064Z] $ docker rm -f 094406bc6b958cc03f00a37c3cbe7e01a34f15259f251cfde3d3657f8bf0ebd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T08:27:19.136Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23586 in /w/workspace/_app-service-configurable_PR-407 [Pipeline] { [Pipeline] ws [2022-04-26T08:27:19.150Z] Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout [2022-04-26T08:27:19.391Z] Selected Git installation does not exist. Using Default [2022-04-26T08:27:19.391Z] The recommended git tool is: NONE [2022-04-26T08:27:25.980Z] using credential edgex-jenkins-ssh [2022-04-26T08:27:25.999Z] Cloning the remote Git repository [2022-04-26T08:27:26.085Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T08:27:26.195Z] > git init /w/workspace/app-service-configurable/3 # timeout=10 [2022-04-26T08:27:26.300Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T08:27:26.300Z] > git --version # timeout=10 [2022-04-26T08:27:26.320Z] > git --version # 'git version 2.25.1' [2022-04-26T08:27:26.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T08:27:26.404Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T08:27:28.235Z] Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit c1bad40dec39ab39dc53bfb84119fa5413f88e79 [2022-04-26T08:27:27.454Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-26T08:27:27.478Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T08:27:27.508Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-26T08:27:27.602Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-26T08:27:27.603Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T08:27:27.620Z] > 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 [2022-04-26T08:27:28.260Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T08:27:28.279Z] > git checkout -f c1bad40dec39ab39dc53bfb84119fa5413f88e79 # timeout=10 [2022-04-26T08:27:28.362Z] > git remote # timeout=10 [2022-04-26T08:27:28.376Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T08:27:28.436Z] Merge succeeded, producing c1bad40dec39ab39dc53bfb84119fa5413f88e79 [2022-04-26T08:27:28.437Z] Checking out Revision c1bad40dec39ab39dc53bfb84119fa5413f88e79 (PR-407) [2022-04-26T08:27:28.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T08:27:28.402Z] > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 [2022-04-26T08:27:28.424Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T08:27:28.449Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T08:27:28.461Z] > git checkout -f c1bad40dec39ab39dc53bfb84119fa5413f88e79 # timeout=10 [2022-04-26T08:27:32.545Z] Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T08:27:33.453Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T08:27:33.453Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T08:27:33.453Z] Dload Upload Total Spent Left Speed [2022-04-26T08:27:33.453Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 68456 0 --:--:-- --:--:-- --:--:-- 68456 [Pipeline] sh [2022-04-26T08:27:33.998Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T08:27:34.344Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T08:27:34.344Z] + sudo tee /etc/docker/daemon.new [2022-04-26T08:27:34.344Z] { [2022-04-26T08:27:34.344Z] "registry-mirrors": [ [2022-04-26T08:27:34.344Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T08:27:34.344Z] ], [2022-04-26T08:27:34.344Z] "bip": "10.250.0.254/24", [2022-04-26T08:27:34.344Z] "hosts": [ [2022-04-26T08:27:34.344Z] "tcp://0.0.0.0:5555", [2022-04-26T08:27:34.344Z] "unix:///var/run/docker.sock" [2022-04-26T08:27:34.344Z] ], [2022-04-26T08:27:34.344Z] "mtu": 1458, [2022-04-26T08:27:34.344Z] "selinux-enabled": true, [2022-04-26T08:27:34.344Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T08:27:34.344Z] } [Pipeline] sh [2022-04-26T08:27:34.706Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T08:27:35.063Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T08:27:53.461Z] provisioning config files... [2022-04-26T08:27:53.487Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config2961535260581488915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:27:53.854Z] ---> docker-login.sh [2022-04-26T08:27:53.854Z] nexus3.edgexfoundry.org:10001 [2022-04-26T08:27:54.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:27:54.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:27:54.730Z] Configure a credential helper to remove this warning. See [2022-04-26T08:27:54.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:27:54.730Z] [2022-04-26T08:27:54.730Z] Login Succeeded [2022-04-26T08:27:54.730Z] nexus3.edgexfoundry.org:10002 [2022-04-26T08:27:55.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:27:55.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:27:55.280Z] Configure a credential helper to remove this warning. See [2022-04-26T08:27:55.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:27:55.280Z] [2022-04-26T08:27:55.280Z] Login Succeeded [2022-04-26T08:27:55.280Z] nexus3.edgexfoundry.org:10003 [2022-04-26T08:27:55.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:27:55.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:27:55.833Z] Configure a credential helper to remove this warning. See [2022-04-26T08:27:55.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:27:55.833Z] [2022-04-26T08:27:55.833Z] Login Succeeded [2022-04-26T08:27:55.833Z] nexus3.edgexfoundry.org:10004 [2022-04-26T08:27:56.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:27:56.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:27:56.105Z] Configure a credential helper to remove this warning. See [2022-04-26T08:27:56.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:27:56.105Z] [2022-04-26T08:27:56.105Z] Login Succeeded [2022-04-26T08:27:56.105Z] docker.io [2022-04-26T08:27:56.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:27:56.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:27:56.978Z] Configure a credential helper to remove this warning. See [2022-04-26T08:27:56.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:27:56.978Z] [2022-04-26T08:27:56.978Z] Login Succeeded [2022-04-26T08:27:56.978Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T08:27:56.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T08:27:57.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T08:27:57.448Z] ========================================================= [2022-04-26T08:27:57.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T08:27:57.448Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:27:57.818Z] + 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 . [2022-04-26T08:27:57.818Z] Sending build context to Docker daemon 198.7kB [2022-04-26T08:27:58.090Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T08:27:58.090Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-26T08:27:58.368Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T08:27:58.368Z] 9b3977197b4f: Pulling fs layer [2022-04-26T08:27:58.368Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T08:27:58.368Z] 94645a83ff95: Pulling fs layer [2022-04-26T08:27:58.368Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T08:27:58.368Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T08:27:58.368Z] 3096ccb668a1: Pulling fs layer [2022-04-26T08:27:58.368Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T08:27:58.368Z] a4caa8a26152: Pulling fs layer [2022-04-26T08:27:58.368Z] 0c92f367c5e7: Waiting [2022-04-26T08:27:58.368Z] 3f3a8bcf1eab: Waiting [2022-04-26T08:27:58.368Z] 3096ccb668a1: Waiting [2022-04-26T08:27:58.368Z] e8cf19c19ddd: Waiting [2022-04-26T08:27:58.368Z] a4caa8a26152: Waiting [2022-04-26T08:27:58.368Z] 94645a83ff95: Download complete [2022-04-26T08:27:58.368Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T08:27:58.368Z] 1a89e8eeedd5: Download complete [2022-04-26T08:27:58.368Z] 0c92f367c5e7: Download complete [2022-04-26T08:27:58.368Z] 3096ccb668a1: Verifying Checksum [2022-04-26T08:27:58.368Z] 3096ccb668a1: Download complete [2022-04-26T08:27:58.368Z] 9b3977197b4f: Verifying Checksum [2022-04-26T08:27:58.368Z] 9b3977197b4f: Download complete [2022-04-26T08:27:58.368Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T08:27:58.368Z] e8cf19c19ddd: Download complete [2022-04-26T08:27:58.976Z] 9b3977197b4f: Pull complete [2022-04-26T08:27:59.584Z] 1a89e8eeedd5: Pull complete [2022-04-26T08:28:00.186Z] 94645a83ff95: Pull complete [2022-04-26T08:28:00.461Z] a4caa8a26152: Download complete [2022-04-26T08:28:01.059Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T08:28:01.059Z] 3f3a8bcf1eab: Download complete [2022-04-26T08:28:13.479Z] 3f3a8bcf1eab: Pull complete [2022-04-26T08:28:13.479Z] 0c92f367c5e7: Pull complete [2022-04-26T08:28:13.479Z] 3096ccb668a1: Pull complete [2022-04-26T08:28:13.479Z] e8cf19c19ddd: Pull complete [2022-04-26T08:28:20.206Z] a4caa8a26152: Pull complete [2022-04-26T08:28:20.206Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T08:28:20.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T08:28:20.206Z] ---> 725f1c02e7f9 [2022-04-26T08:28:20.206Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T08:28:20.482Z] ---> Running in 06cb35571c51 [2022-04-26T08:28:20.761Z] Removing intermediate container 06cb35571c51 [2022-04-26T08:28:20.761Z] ---> 6c1aac8a07a7 [2022-04-26T08:28:20.761Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T08:28:20.761Z] ---> Running in 28c549250f4e [2022-04-26T08:28:21.035Z] Removing intermediate container 28c549250f4e [2022-04-26T08:28:21.035Z] ---> 45f98b25a9d4 [2022-04-26T08:28:21.035Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T08:28:21.035Z] ---> Running in 9c3a31045d6d [2022-04-26T08:28:21.312Z] Removing intermediate container 9c3a31045d6d [2022-04-26T08:28:21.312Z] ---> 415d4b6d63fc [2022-04-26T08:28:21.312Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T08:28:21.588Z] ---> Running in 8330ecb31149 [2022-04-26T08:28:23.043Z] Removing intermediate container 8330ecb31149 [2022-04-26T08:28:23.043Z] ---> 207d349601de [2022-04-26T08:28:23.043Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T08:28:23.321Z] ---> Running in ca3e2603f8f1 [2022-04-26T08:28:24.307Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T08:28:25.281Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T08:28:25.878Z] OK: 220 MiB in 52 packages [2022-04-26T08:28:26.482Z] Removing intermediate container ca3e2603f8f1 [2022-04-26T08:28:26.482Z] ---> 6952e6e26106 [2022-04-26T08:28:26.482Z] Step 8/13 : WORKDIR /app [2022-04-26T08:28:26.764Z] ---> Running in d28b80eb4130 [2022-04-26T08:28:27.047Z] Removing intermediate container d28b80eb4130 [2022-04-26T08:28:27.047Z] ---> 60355fee9961 [2022-04-26T08:28:27.047Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-26T08:28:27.667Z] ---> bb90ec0f5a04 [2022-04-26T08:28:27.667Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T08:28:27.667Z] ---> Running in 53e139783156 [2022-04-26T08:29:14.645Z] Removing intermediate container 53e139783156 [2022-04-26T08:29:14.645Z] ---> d94edd5efb23 [2022-04-26T08:29:14.645Z] Step 11/13 : COPY . . [2022-04-26T08:29:14.645Z] ---> 705a9d6dee8a [2022-04-26T08:29:14.645Z] Step 12/13 : ARG MAKE="make build" [2022-04-26T08:29:14.645Z] ---> Running in c02d120c029b [2022-04-26T08:29:14.645Z] Removing intermediate container c02d120c029b [2022-04-26T08:29:14.645Z] ---> a0f0796a864e [2022-04-26T08:29:14.645Z] Step 13/13 : RUN $MAKE [2022-04-26T08:29:14.645Z] ---> Running in 40f9bd056fec [2022-04-26T08:29:14.645Z] noop [2022-04-26T08:29:14.645Z] Removing intermediate container 40f9bd056fec [2022-04-26T08:29:14.645Z] ---> a04a1127ae37 [2022-04-26T08:29:14.645Z] Successfully built a04a1127ae37 [2022-04-26T08:29:14.645Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:29:14.985Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T08:29:14.985Z] . [Pipeline] withDockerContainer [2022-04-26T08:29:15.203Z] prd-ubuntu20.04-docker-arm64-4c-16g-23586 does not seem to be running inside a container [2022-04-26T08:29:15.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 [2022-04-26T08:29:16.589Z] $ docker top 28eaad109eb52dbf202022881ebd9caa769b369927c2840c5f0281f3b5e91f7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T08:29:17.522Z] + go version [2022-04-26T08:29:17.522Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T08:29:17.553Z] $ docker stop --time=1 28eaad109eb52dbf202022881ebd9caa769b369927c2840c5f0281f3b5e91f7b [2022-04-26T08:29:19.190Z] $ docker rm -f 28eaad109eb52dbf202022881ebd9caa769b369927c2840c5f0281f3b5e91f7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:29:19.794Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T08:29:19.795Z] . [Pipeline] withDockerContainer [2022-04-26T08:29:20.014Z] prd-ubuntu20.04-docker-arm64-4c-16g-23586 does not seem to be running inside a container [2022-04-26T08:29:20.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 [2022-04-26T08:29:21.401Z] $ docker top 83ec93c3a281f7515547637896d55515d2b5c5ee95095ead4e02835c3b62435e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T08:29:22.310Z] + make test [2022-04-26T08:29:22.310Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-26T08:30:44.218Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-26T08:30:44.218Z] CGO_ENABLED=1 go vet ./... [2022-04-26T08:31:03.399Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T08:31:03.399Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T08:31:03.399Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T08:31:06.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T08:31:06.166Z] $ docker stop --time=1 83ec93c3a281f7515547637896d55515d2b5c5ee95095ead4e02835c3b62435e [2022-04-26T08:31:07.917Z] $ docker rm -f 83ec93c3a281f7515547637896d55515d2b5c5ee95095ead4e02835c3b62435e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T08:31:08.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T08:31:09.163Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T08:31:09.630Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T08:31:10.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T08:31:10.393Z] + ls -al . [2022-04-26T08:31:10.393Z] total 160 [2022-04-26T08:31:10.393Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 08:31 . [2022-04-26T08:31:10.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:27 .. [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 26 08:27 .dockerignore [2022-04-26T08:31:10.393Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:27 .git [2022-04-26T08:31:10.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:27 .github [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 26 08:27 .gitignore [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 26 08:27 Attribution.txt [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 26 08:27 CHANGELOG.md [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 26 08:27 Dockerfile [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:27 GOVERNANCE.md [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 26 08:27 Jenkinsfile [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 26 08:27 LICENSE [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 26 08:27 OWNERS.md [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 26 08:27 README.md [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 08:25 VERSION [2022-04-26T08:31:10.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:27 bin [2022-04-26T08:31:10.393Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 08:29 coverage.out [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 26 08:27 go.mod [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 34650 Apr 26 08:27 go.sum [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 26 08:27 main.go [2022-04-26T08:31:10.393Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 26 08:27 makefile [2022-04-26T08:31:10.393Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:27 res [2022-04-26T08:31:10.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:27 snap [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:31:10.747Z] + 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=c1bad40dec39ab39dc53bfb84119fa5413f88e79 --label arch=arm64 --label version=0.0.0 . [2022-04-26T08:31:10.747Z] Sending build context to Docker daemon 199.7kB [2022-04-26T08:31:11.024Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T08:31:11.024Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-26T08:31:11.024Z] ---> a04a1127ae37 [2022-04-26T08:31:11.024Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-26T08:31:11.298Z] ---> Running in b3e3a21db33a [2022-04-26T08:31:11.572Z] Removing intermediate container b3e3a21db33a [2022-04-26T08:31:11.572Z] ---> e1a0279ed5a9 [2022-04-26T08:31:11.572Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T08:31:11.572Z] ---> Running in fbf2035aeddf [2022-04-26T08:31:11.847Z] Removing intermediate container fbf2035aeddf [2022-04-26T08:31:11.847Z] ---> bf88d9d91e26 [2022-04-26T08:31:11.847Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T08:31:11.847Z] ---> Running in 4f11643d4a3a [2022-04-26T08:31:12.448Z] Removing intermediate container 4f11643d4a3a [2022-04-26T08:31:12.448Z] ---> 4df9d7d99fde [2022-04-26T08:31:12.448Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T08:31:12.448Z] ---> Running in f67a6417587f [2022-04-26T08:31:13.896Z] Removing intermediate container f67a6417587f [2022-04-26T08:31:13.896Z] ---> 70b465067833 [2022-04-26T08:31:13.896Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T08:31:14.170Z] ---> Running in 2f9fd2993766 [2022-04-26T08:31:15.154Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T08:31:16.130Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T08:31:16.726Z] OK: 220 MiB in 52 packages [2022-04-26T08:31:17.708Z] Removing intermediate container 2f9fd2993766 [2022-04-26T08:31:17.708Z] ---> 80c7f200864e [2022-04-26T08:31:17.708Z] Step 8/27 : WORKDIR /app [2022-04-26T08:31:17.708Z] ---> Running in ec6ef1cecad8 [2022-04-26T08:31:17.981Z] Removing intermediate container ec6ef1cecad8 [2022-04-26T08:31:17.981Z] ---> eb8a97e4331b [2022-04-26T08:31:17.981Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-26T08:31:18.577Z] ---> c6b1af955943 [2022-04-26T08:31:18.577Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T08:31:18.577Z] ---> Running in ddd44481df55 [2022-04-26T08:31:20.552Z] Removing intermediate container ddd44481df55 [2022-04-26T08:31:20.552Z] ---> 7b06062cebd5 [2022-04-26T08:31:20.552Z] Step 11/27 : COPY . . [2022-04-26T08:31:21.148Z] ---> fb2ab3c11adf [2022-04-26T08:31:21.148Z] Step 12/27 : ARG MAKE="make build" [2022-04-26T08:31:21.148Z] ---> Running in 3b9cbeb158b6 [2022-04-26T08:31:21.422Z] Removing intermediate container 3b9cbeb158b6 [2022-04-26T08:31:21.422Z] ---> ee598e081697 [2022-04-26T08:31:21.422Z] Step 13/27 : RUN $MAKE [2022-04-26T08:31:21.702Z] ---> Running in 86691a0b50de [2022-04-26T08:31:22.685Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-26T08:33:29.583Z] Removing intermediate container 86691a0b50de [2022-04-26T08:33:29.583Z] ---> bb5b3062d599 [2022-04-26T08:33:29.583Z] Step 14/27 : FROM alpine:3.14 [2022-04-26T08:33:29.583Z] 3.14: Pulling from library/alpine [2022-04-26T08:33:29.583Z] 455c02918c45: Pulling fs layer [2022-04-26T08:33:29.583Z] 455c02918c45: Verifying Checksum [2022-04-26T08:33:29.583Z] 455c02918c45: Download complete [2022-04-26T08:33:29.583Z] 455c02918c45: Pull complete [2022-04-26T08:33:29.583Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T08:33:29.583Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T08:33:29.583Z] ---> ac73e934f311 [2022-04-26T08:33:29.583Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-26T08:33:29.583Z] ---> Running in 5be73edee233 [2022-04-26T08:33:29.583Z] Removing intermediate container 5be73edee233 [2022-04-26T08:33:29.583Z] ---> 141c4fdf6b5f [2022-04-26T08:33:29.583Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-26T08:33:29.583Z] ---> Running in 06ae96e96a75 [2022-04-26T08:33:29.583Z] Removing intermediate container 06ae96e96a75 [2022-04-26T08:33:29.583Z] ---> 912636700a0b [2022-04-26T08:33:29.583Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-26T08:33:29.583Z] ---> Running in 0f440a5e4dd2 [2022-04-26T08:33:29.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T08:33:29.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T08:33:29.583Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-26T08:33:29.583Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-26T08:33:29.583Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T08:33:29.583Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-26T08:33:29.583Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T08:33:29.583Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-26T08:33:29.583Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-26T08:33:29.583Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T08:33:29.583Z] Executing ca-certificates-20211220-r0.trigger [2022-04-26T08:33:29.583Z] OK: 9 MiB in 21 packages [2022-04-26T08:33:29.583Z] Removing intermediate container 0f440a5e4dd2 [2022-04-26T08:33:29.583Z] ---> 48b2c05222f2 [2022-04-26T08:33:29.583Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-26T08:33:29.583Z] ---> aadeb1b192f9 [2022-04-26T08:33:29.583Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-26T08:33:29.583Z] ---> 157bfcce6509 [2022-04-26T08:33:29.583Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-26T08:33:29.583Z] ---> 1d2e5cdd6f48 [2022-04-26T08:33:29.583Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-26T08:33:29.583Z] ---> 2f54e170e8bd [2022-04-26T08:33:29.583Z] Step 22/27 : EXPOSE 48095 [2022-04-26T08:33:29.583Z] ---> Running in dd91ec88b64e [2022-04-26T08:33:29.583Z] Removing intermediate container dd91ec88b64e [2022-04-26T08:33:29.583Z] ---> 5aa11d6c996b [2022-04-26T08:33:29.583Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-26T08:33:29.583Z] ---> Running in 240c8460d488 [2022-04-26T08:33:29.583Z] Removing intermediate container 240c8460d488 [2022-04-26T08:33:29.583Z] ---> 0bfcc45bbdd4 [2022-04-26T08:33:29.583Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T08:33:29.583Z] ---> Running in d38342f38265 [2022-04-26T08:33:29.583Z] Removing intermediate container d38342f38265 [2022-04-26T08:33:29.583Z] ---> a3fa5a277ef5 [2022-04-26T08:33:29.583Z] Step 25/27 : LABEL arch=arm64 [2022-04-26T08:33:29.583Z] ---> Running in c25cf1f1fcfb [2022-04-26T08:33:29.583Z] Removing intermediate container c25cf1f1fcfb [2022-04-26T08:33:29.583Z] ---> 0ff5aa59a43c [2022-04-26T08:33:29.583Z] Step 26/27 : LABEL git_sha=c1bad40dec39ab39dc53bfb84119fa5413f88e79 [2022-04-26T08:33:29.583Z] ---> Running in 8d1ef740c391 [2022-04-26T08:33:29.583Z] Removing intermediate container 8d1ef740c391 [2022-04-26T08:33:29.583Z] ---> fbdcc803f17a [2022-04-26T08:33:29.583Z] Step 27/27 : LABEL version=0.0.0 [2022-04-26T08:33:29.583Z] ---> Running in a5ea79c3e550 [2022-04-26T08:33:29.583Z] Removing intermediate container a5ea79c3e550 [2022-04-26T08:33:29.583Z] ---> b6c39fc371bb [2022-04-26T08:33:29.583Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T08:33:29.583Z] Successfully built b6c39fc371bb [2022-04-26T08:33:29.583Z] 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 [2022-04-26T08:33:30.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T08:33:30.019Z] [2022-04-26T08:33:30.019Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:33:30.371Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T08:33:30.648Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T08:33:30.648Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T08:33:30.648Z] 04944245beec: Pulling fs layer [2022-04-26T08:33:30.648Z] 699f458cf7ca: Pulling fs layer [2022-04-26T08:33:30.648Z] 765212b225bb: Pulling fs layer [2022-04-26T08:33:30.648Z] f23df028b6ca: Pulling fs layer [2022-04-26T08:33:30.648Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T08:33:30.648Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T08:33:30.648Z] f23df028b6ca: Waiting [2022-04-26T08:33:30.648Z] d65c8cfc05b1: Waiting [2022-04-26T08:33:30.648Z] 2437ff75d9bd: Waiting [2022-04-26T08:33:30.648Z] 765212b225bb: Waiting [2022-04-26T08:33:30.648Z] 04944245beec: Verifying Checksum [2022-04-26T08:33:30.648Z] 04944245beec: Download complete [2022-04-26T08:33:30.648Z] 765212b225bb: Verifying Checksum [2022-04-26T08:33:30.648Z] 765212b225bb: Download complete [2022-04-26T08:33:30.648Z] f23df028b6ca: Verifying Checksum [2022-04-26T08:33:30.648Z] f23df028b6ca: Download complete [2022-04-26T08:33:30.648Z] d65c8cfc05b1: Download complete [2022-04-26T08:33:30.926Z] 699f458cf7ca: Verifying Checksum [2022-04-26T08:33:30.926Z] 699f458cf7ca: Download complete [2022-04-26T08:33:31.202Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T08:33:31.202Z] 8998bd30e6a1: Download complete [2022-04-26T08:33:33.828Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T08:33:33.828Z] 2437ff75d9bd: Download complete [2022-04-26T08:33:35.271Z] 8998bd30e6a1: Pull complete [2022-04-26T08:33:35.869Z] 04944245beec: Pull complete [2022-04-26T08:33:37.316Z] 699f458cf7ca: Pull complete [2022-04-26T08:33:37.592Z] 765212b225bb: Pull complete [2022-04-26T08:33:38.581Z] f23df028b6ca: Pull complete [2022-04-26T08:33:38.581Z] d65c8cfc05b1: Pull complete [2022-04-26T08:33:53.695Z] 2437ff75d9bd: Pull complete [2022-04-26T08:33:53.695Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T08:33:53.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T08:33:53.695Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T08:33:53.922Z] prd-ubuntu20.04-docker-arm64-4c-16g-23586 does not seem to be running inside a container [2022-04-26T08:33:54.012Z] $ 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/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 [2022-04-26T08:33:56.569Z] $ docker top 446d6aee4cb0412bbbb749b1a02c1075d12c31a47a559ce8af5e49073959ef43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:33:57.521Z] ---> job-cost.sh [2022-04-26T08:33:57.521Z] lf-activate-venv: SKIPPING [2022-04-26T08:33:57.521Z] INFO: No Stack... [2022-04-26T08:33:58.117Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T08:33:59.093Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T08:33:59.761Z] + cut -d, -f6 [2022-04-26T08:33:59.761Z] + cat /w/workspace/app-service-configurable/3/archives/cost.csv [Pipeline] lock [2022-04-26T08:33:59.820Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] [2022-04-26T08:33:59.828Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] did not exist. Created. [2022-04-26T08:33:59.828Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T08:34:00.524Z] /w/workspace/app-service-configurable/3@tmp/durable-9afa6eb0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T08:34:01.214Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T08:34:01.235Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T08:34:01.283Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T08:34:01.290Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-407-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T08:34:01.312Z] $ docker stop --time=1 446d6aee4cb0412bbbb749b1a02c1075d12c31a47a559ce8af5e49073959ef43 [2022-04-26T08:34:02.871Z] $ docker rm -f 446d6aee4cb0412bbbb749b1a02c1075d12c31a47a559ce8af5e49073959ef43 [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 [2022-04-26T08:34:03.370Z] provisioning config files... [2022-04-26T08:34:03.379Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config563610727383415657tmp [Pipeline] { [Pipeline] sh [2022-04-26T08:34:03.677Z] + set +x [2022-04-26T08:34:03.677Z] + curl -s https://codecov.io/bash [2022-04-26T08:34:03.677Z] + bash -s -- [2022-04-26T08:34:03.677Z] [2022-04-26T08:34:03.677Z] _____ _ [2022-04-26T08:34:03.677Z] / ____| | | [2022-04-26T08:34:03.677Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T08:34:03.677Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T08:34:03.677Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T08:34:03.677Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T08:34:03.677Z] Bash-1.0.6 [2022-04-26T08:34:03.677Z] [2022-04-26T08:34:03.677Z] [2022-04-26T08:34:03.677Z] ==> git version 2.25.1 found [2022-04-26T08:34:03.677Z] ==> 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 [2022-04-26T08:34:03.677Z] Release-Date: 2020-01-08 [2022-04-26T08:34:03.677Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-26T08:34:03.677Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T08:34:03.677Z] ==> Jenkins CI detected. [2022-04-26T08:34:03.677Z] current dir:  /w/workspace/_app-service-configurable_PR-407 [2022-04-26T08:34:03.677Z] project root: . [2022-04-26T08:34:03.677Z] --> token set from env [2022-04-26T08:34:03.677Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T08:34:03.677Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T08:34:03.677Z] ==> Python coveragepy not found [2022-04-26T08:34:03.677Z] ==> Searching for coverage reports in: [2022-04-26T08:34:03.677Z] + . [2022-04-26T08:34:03.677Z] -> Found 1 reports [2022-04-26T08:34:03.677Z] ==> Detecting git/mercurial file structure [2022-04-26T08:34:03.677Z] ==> Reading reports [2022-04-26T08:34:03.677Z] + ./coverage.out bytes=10 [2022-04-26T08:34:03.677Z] ==> Appending adjustments [2022-04-26T08:34:03.677Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T08:34:03.940Z] + Found adjustments [2022-04-26T08:34:03.940Z] ==> Gzipping contents [2022-04-26T08:34:03.940Z] 4.0K /tmp/codecov.S7DpRG.gz [2022-04-26T08:34:03.940Z] ==> Uploading reports [2022-04-26T08:34:03.940Z] url: https://codecov.io [2022-04-26T08:34:03.940Z] query: branch=PR-407&commit=c1bad40dec39ab39dc53bfb84119fa5413f88e79&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-407%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=407&job=&cmd_args= [2022-04-26T08:34:03.940Z] -> Pinging Codecov [2022-04-26T08:34:03.940Z] 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=c1bad40dec39ab39dc53bfb84119fa5413f88e79&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-407%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=407&job=&cmd_args= [2022-04-26T08:34:04.200Z] -> Uploading to [2022-04-26T08:34:04.200Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/A97CA9966030D2A3747ED39772930CCE/c1bad40dec39ab39dc53bfb84119fa5413f88e79/0a677cbf-3e5c-4bd9-8bc3-586f58f07dbf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T083403Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=680011482e8d90bf3e0898ca8f37a1efd31a19e246f607b19767a496e0451c5c [2022-04-26T08:34:04.200Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T08:34:04.200Z] Dload Upload Total Spent Left Speed [2022-04-26T08:34:04.462Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 577 0 0 100 577 0 2646 --:--:-- --:--:-- --:--:-- 2646 [2022-04-26T08:34:04.462Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/c1bad40dec39ab39dc53bfb84119fa5413f88e79 [Pipeline] } [2022-04-26T08:34:04.470Z] 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 [2022-04-26T08:34:05.227Z] + [ -d /w/workspace/_app-service-configurable_PR-407/archives ] [2022-04-26T08:34:05.227Z] + ls -al /w/workspace/_app-service-configurable_PR-407/archives [2022-04-26T08:34:05.227Z] total 16 [2022-04-26T08:34:05.227Z] drwxr-xr-x 3 root root 4096 Apr 26 08:27 . [2022-04-26T08:34:05.227Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:27 .. [2022-04-26T08:34:05.227Z] drwxr-xr-x 2 root root 4096 Apr 26 08:27 cost [2022-04-26T08:34:05.227Z] -rw-r--r-- 1 root root 95 Apr 26 08:27 cost.csv [2022-04-26T08:34:05.227Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-407/archives [2022-04-26T08:34:05.227Z] + ls -al /w/workspace/_app-service-configurable_PR-407/archives [2022-04-26T08:34:05.227Z] total 16 [2022-04-26T08:34:05.227Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 08:27 . [2022-04-26T08:34:05.227Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:27 .. [2022-04-26T08:34:05.227Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 08:27 cost [2022-04-26T08:34:05.227Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 26 08:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:34:05.524Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:34:06.450Z] ---> package-listing.sh [2022-04-26T08:34:06.450Z] ++ facter osfamily [2022-04-26T08:34:06.450Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T08:34:06.743Z] + OS_FAMILY=debian [2022-04-26T08:34:06.743Z] + workspace=/w/workspace/_app-service-configurable_PR-407 [2022-04-26T08:34:06.743Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T08:34:06.743Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T08:34:06.743Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T08:34:06.743Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T08:34:06.743Z] + '[' /w/workspace/_app-service-configurable_PR-407 ']' [2022-04-26T08:34:06.743Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T08:34:06.743Z] + case "${OS_FAMILY}" in [2022-04-26T08:34:06.743Z] + dpkg -l [2022-04-26T08:34:06.743Z] + grep '^ii' [2022-04-26T08:34:06.743Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T08:34:06.743Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T08:34:06.743Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T08:34:06.743Z] + '[' /w/workspace/_app-service-configurable_PR-407 ']' [2022-04-26T08:34:06.743Z] + mkdir -p /w/workspace/_app-service-configurable_PR-407/archives/ [2022-04-26T08:34:06.743Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-407/archives/ [Pipeline] echo [2022-04-26T08:34:06.757Z] 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 [2022-04-26T08:34:07.040Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:34:07.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T08:34:07.603Z] . [Pipeline] withDockerContainer [2022-04-26T08:34:07.666Z] prd-ubuntu20.04-docker-8c-8g-23585 does not seem to be running inside a container [2022-04-26T08:34:07.718Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T08:34:07.956Z] $ docker top 3a6d58d893d7fa16651c6c2e73fce958ad2da9772f5a9925ddd074ab562c2712 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T08:34:08.311Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T08:34:08.605Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T08:34:08.898Z] + ls /var/log/sa-host [2022-04-26T08:34:08.898Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T08:34:08.993Z] provisioning config files... [2022-04-26T08:34:09.002Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config4496003064006663762tmp [Pipeline] { [Pipeline] echo [2022-04-26T08:34:09.017Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:34:09.305Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T08:34:09.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:34:09.660Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T08:34:09.670Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:34:09.961Z] ---> sudo-logs.sh [2022-04-26T08:34:09.961Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T08:34:09.985Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:34:10.273Z] ---> job-cost.sh [2022-04-26T08:34:10.273Z] lf-activate-venv: SKIPPING [2022-04-26T08:34:10.273Z] DEBUG: total: 0.2199999988079071 [2022-04-26T08:34:10.273Z] INFO: Retrieving Stack Cost... [2022-04-26T08:34:10.846Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T08:34:11.107Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T08:34:11.122Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:34:11.413Z] ---> logs-deploy.sh [2022-04-26T08:34:11.413Z] lf-activate-venv: SKIPPING [2022-04-26T08:34:11.413Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-407/3 [2022-04-26T08:34:11.413Z] INFO: archiving workspace using pattern(s): [2022-04-26T08:34:12.357Z] Archives upload complete. [2022-04-26T08:34:12.358Z] INFO: archiving logs to Nexus