Pull request #397 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cd0f95616676412598b1774654421c1975d645be+e18cf4e9ef6bfb404f044f68c1d78b234feb3069 (c1bfd93451ab0c3c7b48a7b763781686df66a2a0) 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-ssh214530443038223515.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-ssh1687214511846263101.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-397/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-397/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9862666312978838820.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-397/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3619380852809712112.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7796349454405443292.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-397/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-397/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17975898252010115636.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20673’ Running on prd-ubuntu20.04-docker-8c-8g-20681 in /w/workspace/_app-service-configurable_PR-397 [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-397 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > 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/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e18cf4e9ef6bfb404f044f68c1d78b234feb3069 into PR head commit cd0f95616676412598b1774654421c1975d645be Merge succeeded, producing cd0f95616676412598b1774654421c1975d645be Checking out Revision cd0f95616676412598b1774654421c1975d645be (PR-397) > git config core.sparsecheckout # timeout=10 > git checkout -f cd0f95616676412598b1774654421c1975d645be # 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 e18cf4e9ef6bfb404f044f68c1d78b234feb3069 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd0f95616676412598b1774654421c1975d645be # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-12T14:15:32.264Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-12T14:15:32.460Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-12T14:15:32.558Z] ========================================================= [2022-04-12T14:15:32.558Z] EdgeX Global Pipelines Version Info [2022-04-12T14:15:32.559Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:15:33.349Z] ------------------- [2022-04-12T14:15:33.349Z] stable info: [2022-04-12T14:15:33.349Z] ------------------- [2022-04-12T14:15:33.349Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-12T14:15:33.349Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T14:15:33.349Z] Message: update stable to v1.0.221 [2022-04-12T14:15:33.937Z] ------------------- [2022-04-12T14:15:33.937Z] experimental info: [2022-04-12T14:15:33.937Z] ------------------- [2022-04-12T14:15:33.937Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-12T14:15:33.937Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T14:15:33.937Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-12T14:15:34.197Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-12T14:15:34.237Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-12T14:15:34.281Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-12T14:15:34.329Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-12T14:15:34.370Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-12T14:15:34.409Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-12T14:15:34.457Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-12T14:15:34.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-12T14:15:34.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-12T14:15:34.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-12T14:15:34.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-12T14:15:34.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-12T14:15:34.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-12T14:15:34.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-12T14:15:34.770Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-12T14:15:34.809Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-12T14:15:34.849Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T14:15:34.887Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T14:15:34.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-12T14:15:34.984Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-12T14:15:35.024Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-12T14:15:35.065Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-12T14:15:35.107Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-12T14:15:35.149Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-12T14:15:35.191Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-12T14:15:35.234Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-12T14:15:35.276Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo [2022-04-12T14:15:35.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo [2022-04-12T14:15:35.360Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo [2022-04-12T14:15:35.400Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd0f95616676412598b1774654421c1975d645be [Pipeline] echo [2022-04-12T14:15:35.446Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd0f956 [Pipeline] echo [2022-04-12T14:15:35.488Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T14:15:35.621Z] provisioning config files... [2022-04-12T14:15:35.639Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-397@tmp/config3898131090376130080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:15:35.981Z] ---> docker-login.sh [2022-04-12T14:15:35.981Z] nexus3.edgexfoundry.org:10001 [2022-04-12T14:15:36.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:15:36.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:15:36.241Z] Configure a credential helper to remove this warning. See [2022-04-12T14:15:36.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:15:36.241Z] [2022-04-12T14:15:36.241Z] Login Succeeded [2022-04-12T14:15:36.241Z] nexus3.edgexfoundry.org:10002 [2022-04-12T14:15:36.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:15:36.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:15:36.503Z] Configure a credential helper to remove this warning. See [2022-04-12T14:15:36.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:15:36.503Z] [2022-04-12T14:15:36.503Z] Login Succeeded [2022-04-12T14:15:36.503Z] nexus3.edgexfoundry.org:10003 [2022-04-12T14:15:36.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:15:36.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:15:36.503Z] Configure a credential helper to remove this warning. See [2022-04-12T14:15:36.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:15:36.503Z] [2022-04-12T14:15:36.503Z] Login Succeeded [2022-04-12T14:15:36.765Z] nexus3.edgexfoundry.org:10004 [2022-04-12T14:15:36.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:15:36.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:15:36.765Z] Configure a credential helper to remove this warning. See [2022-04-12T14:15:36.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:15:36.765Z] [2022-04-12T14:15:36.765Z] Login Succeeded [2022-04-12T14:15:36.765Z] docker.io [2022-04-12T14:15:36.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:15:37.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:15:37.339Z] Configure a credential helper to remove this warning. See [2022-04-12T14:15:37.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:15:37.339Z] [2022-04-12T14:15:37.339Z] Login Succeeded [2022-04-12T14:15:37.339Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T14:15:37.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-12T14:15:38.058Z] + git rev-list -1 --merges cd0f95616676412598b1774654421c1975d645be~1..cd0f95616676412598b1774654421c1975d645be [Pipeline] echo [2022-04-12T14:15:38.108Z] -----------> git rev-list -1 --merges cd0f95616676412598b1774654421c1975d645be~1..cd0f95616676412598b1774654421c1975d645be cd0f95616676412598b1774654421c1975d645be [false] [Pipeline] sh [2022-04-12T14:15:38.431Z] + git log --format=format:%s -1 cd0f95616676412598b1774654421c1975d645be [Pipeline] echo [2022-04-12T14:15:38.466Z] ========================================================= [2022-04-12T14:15:38.466Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-12T14:15:38.466Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T14:15:38.895Z] + git log --format=format:%s -1 cd0f95616676412598b1774654421c1975d645be [Pipeline] echo [2022-04-12T14:15:38.930Z] [semverPrep] GIT_COMMIT: cd0f95616676412598b1774654421c1975d645be, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-04-12T14:15:38.964Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-12T14:15:39.428Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T14:15:39.428Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-12T14:15:39.428Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-12T14:15:39.428Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-12T14:15:39.428Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-12T14:15:39.428Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-12T14:15:39.428Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:15:39.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T14:15:39.888Z] [2022-04-12T14:15:39.888Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:15:40.231Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T14:15:40.231Z] latest: Pulling from edgex-devops/git-semver [2022-04-12T14:15:40.231Z] a0d0a0d46f8b: Pulling fs layer [2022-04-12T14:15:40.231Z] 3e5f54012d9b: Pulling fs layer [2022-04-12T14:15:40.231Z] 4c7163046ea9: Pulling fs layer [2022-04-12T14:15:40.231Z] 0c2d73faf560: Pulling fs layer [2022-04-12T14:15:40.231Z] 0c2d73faf560: Waiting [2022-04-12T14:15:40.231Z] 3e5f54012d9b: Download complete [2022-04-12T14:15:40.231Z] a0d0a0d46f8b: Verifying Checksum [2022-04-12T14:15:40.231Z] a0d0a0d46f8b: Download complete [2022-04-12T14:15:40.492Z] 0c2d73faf560: Verifying Checksum [2022-04-12T14:15:40.492Z] 0c2d73faf560: Download complete [2022-04-12T14:15:40.492Z] 4c7163046ea9: Verifying Checksum [2022-04-12T14:15:40.492Z] 4c7163046ea9: Download complete [2022-04-12T14:15:40.492Z] a0d0a0d46f8b: Pull complete [2022-04-12T14:15:40.492Z] 3e5f54012d9b: Pull complete [2022-04-12T14:15:41.069Z] 4c7163046ea9: Pull complete [2022-04-12T14:15:41.069Z] 0c2d73faf560: Pull complete [2022-04-12T14:15:41.069Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-12T14:15:41.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T14:15:41.069Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-12T14:15:41.176Z] prd-ubuntu20.04-docker-8c-8g-20681 does not seem to be running inside a container [2022-04-12T14:15:41.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-397 -v /w/workspace/_app-service-configurable_PR-397:/w/workspace/_app-service-configurable_PR-397:rw,z -v /w/workspace/_app-service-configurable_PR-397@tmp:/w/workspace/_app-service-configurable_PR-397@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T14:15:42.010Z] $ docker top 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T14:15:42.201Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T14:15:42.201Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T14:15:42.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T14:15:42.332Z] $ docker exec 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 ssh-agent [2022-04-12T14:15:42.464Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXleHled/agent.14 [2022-04-12T14:15:42.464Z] SSH_AGENT_PID=21 [2022-04-12T14:15:42.472Z] Running ssh-add (command line suppressed) [2022-04-12T14:15:42.590Z] Identity added: /w/workspace/_app-service-configurable_PR-397@tmp/private_key_6895829212404377199.key (/w/workspace/_app-service-configurable_PR-397@tmp/private_key_6895829212404377199.key) [2022-04-12T14:15:42.599Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T14:15:42.945Z] + git tag --points-at HEAD [Pipeline] } [2022-04-12T14:15:42.976Z] $ docker exec --env ******** --env ******** 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 ssh-agent -k [2022-04-12T14:15:43.108Z] unset SSH_AUTH_SOCK; [2022-04-12T14:15:43.109Z] unset SSH_AGENT_PID; [2022-04-12T14:15:43.109Z] echo Agent pid 21 killed; [2022-04-12T14:15:43.114Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-12T14:15:43.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T14:15:43.207Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T14:15:43.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T14:15:43.344Z] $ docker exec 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 ssh-agent [2022-04-12T14:15:43.466Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGAepgI/agent.54 [2022-04-12T14:15:43.466Z] SSH_AGENT_PID=60 [2022-04-12T14:15:43.471Z] Running ssh-add (command line suppressed) [2022-04-12T14:15:43.597Z] Identity added: /w/workspace/_app-service-configurable_PR-397@tmp/private_key_408432470039447074.key (/w/workspace/_app-service-configurable_PR-397@tmp/private_key_408432470039447074.key) [2022-04-12T14:15:43.605Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T14:15:43.937Z] + git semver init [2022-04-12T14:15:43.937Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T14:15:43.937Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-397/.git [2022-04-12T14:15:43.937Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-397 [2022-04-12T14:15:43.937Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T14:15:43.937Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T14:15:43.937Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T14:15:43.937Z] # $SEMVER_BRANCH = PR-397 [2022-04-12T14:15:43.937Z] # $SEMVER_TEMP = /tmp/semver-082734994 [2022-04-12T14:15:43.937Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-12T14:15:44.881Z] # '/tmp/semver-082734994' -> '/w/workspace/_app-service-configurable_PR-397/.semver' [2022-04-12T14:15:44.881Z] # -> Force: false [2022-04-12T14:15:44.881Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-397/.semver [Pipeline] } [2022-04-12T14:15:44.911Z] $ docker exec --env ******** --env ******** 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 ssh-agent -k [2022-04-12T14:15:45.026Z] unset SSH_AUTH_SOCK; [2022-04-12T14:15:45.026Z] unset SSH_AGENT_PID; [2022-04-12T14:15:45.026Z] echo Agent pid 60 killed; [2022-04-12T14:15:45.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T14:15:45.456Z] + git semver [Pipeline] } [2022-04-12T14:15:45.492Z] $ docker stop --time=1 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 [2022-04-12T14:15:46.874Z] $ docker rm -f 051de07fea68e2739946cf6d9c12b71fc4bc472b8976b35df508b45041502004 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T14:15:47.289Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-12T14:15:47.620Z] Stashed 1 file(s) [Pipeline] echo [2022-04-12T14:15:47.663Z] [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-12T14:15:48.222Z] provisioning config files... [2022-04-12T14:15:48.233Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-397@tmp/config8165080020217697930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:15:48.581Z] ---> docker-login.sh [2022-04-12T14:15:48.581Z] nexus3.edgexfoundry.org:10001 [2022-04-12T14:15:48.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:15:48.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:15:48.581Z] Configure a credential helper to remove this warning. See [2022-04-12T14:15:48.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:15:48.581Z] [2022-04-12T14:15:48.581Z] Login Succeeded [2022-04-12T14:15:48.581Z] nexus3.edgexfoundry.org:10002 [2022-04-12T14:15:48.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:15:48.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:15:48.842Z] Configure a credential helper to remove this warning. See [2022-04-12T14:15:48.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:15:48.842Z] [2022-04-12T14:15:48.842Z] Login Succeeded [2022-04-12T14:15:48.842Z] nexus3.edgexfoundry.org:10003 [2022-04-12T14:15:48.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:15:48.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:15:48.842Z] Configure a credential helper to remove this warning. See [2022-04-12T14:15:48.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:15:48.842Z] [2022-04-12T14:15:48.842Z] Login Succeeded [2022-04-12T14:15:48.842Z] nexus3.edgexfoundry.org:10004 [2022-04-12T14:15:49.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:15:49.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:15:49.105Z] Configure a credential helper to remove this warning. See [2022-04-12T14:15:49.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:15:49.105Z] [2022-04-12T14:15:49.105Z] Login Succeeded [2022-04-12T14:15:49.105Z] docker.io [2022-04-12T14:15:49.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:15:49.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:15:49.369Z] Configure a credential helper to remove this warning. See [2022-04-12T14:15:49.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:15:49.369Z] [2022-04-12T14:15:49.369Z] Login Succeeded [2022-04-12T14:15:49.369Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T14:15:49.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T14:15:49.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T14:15:49.618Z] ========================================================= [2022-04-12T14:15:49.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-12T14:15:49.618Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:15:50.040Z] + 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-12T14:15:50.040Z] Sending build context to Docker daemon 3.004MB [2022-04-12T14:15:50.040Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T14:15:50.040Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-12T14:15:50.040Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-12T14:15:50.040Z] 59bf1c3509f3: Pulling fs layer [2022-04-12T14:15:50.040Z] 666ba61612fd: Pulling fs layer [2022-04-12T14:15:50.040Z] 8ed8ca486205: Pulling fs layer [2022-04-12T14:15:50.040Z] 4fe6c5a15a65: Pulling fs layer [2022-04-12T14:15:50.040Z] 22a0e8bec74d: Pulling fs layer [2022-04-12T14:15:50.040Z] 640e595b4fbd: Pulling fs layer [2022-04-12T14:15:50.040Z] 763cafe07f6e: Pulling fs layer [2022-04-12T14:15:50.040Z] 0c0b528cf693: Pulling fs layer [2022-04-12T14:15:50.040Z] 10935f4eaf8b: Pulling fs layer [2022-04-12T14:15:50.040Z] 4fe6c5a15a65: Waiting [2022-04-12T14:15:50.040Z] 22a0e8bec74d: Waiting [2022-04-12T14:15:50.040Z] 640e595b4fbd: Waiting [2022-04-12T14:15:50.040Z] 763cafe07f6e: Waiting [2022-04-12T14:15:50.040Z] 10935f4eaf8b: Waiting [2022-04-12T14:15:50.040Z] 0c0b528cf693: Waiting [2022-04-12T14:15:50.040Z] 8ed8ca486205: Verifying Checksum [2022-04-12T14:15:50.040Z] 8ed8ca486205: Download complete [2022-04-12T14:15:50.040Z] 666ba61612fd: Verifying Checksum [2022-04-12T14:15:50.040Z] 666ba61612fd: Download complete [2022-04-12T14:15:50.040Z] 22a0e8bec74d: Download complete [2022-04-12T14:15:50.302Z] 640e595b4fbd: Verifying Checksum [2022-04-12T14:15:50.302Z] 640e595b4fbd: Download complete [2022-04-12T14:15:50.302Z] 763cafe07f6e: Verifying Checksum [2022-04-12T14:15:50.302Z] 763cafe07f6e: Download complete [2022-04-12T14:15:50.302Z] 59bf1c3509f3: Download complete [2022-04-12T14:15:50.302Z] 0c0b528cf693: Verifying Checksum [2022-04-12T14:15:50.302Z] 0c0b528cf693: Download complete [2022-04-12T14:15:50.302Z] 59bf1c3509f3: Pull complete [2022-04-12T14:15:50.565Z] 666ba61612fd: Pull complete [2022-04-12T14:15:50.565Z] 8ed8ca486205: Pull complete [2022-04-12T14:15:51.133Z] 10935f4eaf8b: Verifying Checksum [2022-04-12T14:15:51.133Z] 10935f4eaf8b: Download complete [2022-04-12T14:15:51.133Z] 4fe6c5a15a65: Verifying Checksum [2022-04-12T14:15:51.133Z] 4fe6c5a15a65: Download complete [2022-04-12T14:15:55.333Z] 4fe6c5a15a65: Pull complete [2022-04-12T14:15:55.333Z] 22a0e8bec74d: Pull complete [2022-04-12T14:15:55.333Z] 640e595b4fbd: Pull complete [2022-04-12T14:15:55.333Z] 763cafe07f6e: Pull complete [2022-04-12T14:15:55.333Z] 0c0b528cf693: Pull complete [2022-04-12T14:15:57.878Z] 10935f4eaf8b: Pull complete [2022-04-12T14:15:57.878Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-12T14:15:57.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-12T14:15:57.878Z] ---> 99d49a6021b9 [2022-04-12T14:15:57.878Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-12T14:15:59.796Z] ---> Running in ac0c23508711 [2022-04-12T14:15:59.796Z] Removing intermediate container ac0c23508711 [2022-04-12T14:15:59.796Z] ---> 576948d55be8 [2022-04-12T14:15:59.796Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-12T14:15:59.796Z] ---> Running in 0e7d7849eaa5 [2022-04-12T14:15:59.796Z] Removing intermediate container 0e7d7849eaa5 [2022-04-12T14:15:59.796Z] ---> f1c61fa85d9b [2022-04-12T14:15:59.796Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-12T14:15:59.796Z] ---> Running in 8f8106c10d45 [2022-04-12T14:15:59.796Z] Removing intermediate container 8f8106c10d45 [2022-04-12T14:15:59.796Z] ---> d7162715338a [2022-04-12T14:15:59.796Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T14:15:59.796Z] ---> Running in 22e8e488fad2 [2022-04-12T14:16:00.370Z] Removing intermediate container 22e8e488fad2 [2022-04-12T14:16:00.371Z] ---> b55e7db087ab [2022-04-12T14:16:00.371Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-12T14:16:00.631Z] ---> Running in 8ece74801493 [2022-04-12T14:16:00.893Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T14:16:01.842Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T14:16:01.842Z] OK: 221 MiB in 52 packages [2022-04-12T14:16:02.414Z] Removing intermediate container 8ece74801493 [2022-04-12T14:16:02.414Z] ---> e3e93dab8455 [2022-04-12T14:16:02.414Z] Step 8/13 : WORKDIR /app [2022-04-12T14:16:02.414Z] ---> Running in 3857fe485558 [2022-04-12T14:16:02.414Z] Removing intermediate container 3857fe485558 [2022-04-12T14:16:02.414Z] ---> 3c3e10a0c16b [2022-04-12T14:16:02.414Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-12T14:16:02.414Z] ---> e9c498074439 [2022-04-12T14:16:02.414Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T14:16:02.676Z] ---> Running in fd04f6563eb5 [2022-04-12T14:16:03.059Z] Still waiting to schedule task [2022-04-12T14:16:03.059Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20674’ [2022-04-12T14:16:29.285Z] Removing intermediate container fd04f6563eb5 [2022-04-12T14:16:29.285Z] ---> f4b2fa804b5d [2022-04-12T14:16:29.549Z] Step 11/13 : COPY . . [2022-04-12T14:16:29.811Z] ---> dee0ccf9fd2a [2022-04-12T14:16:29.811Z] Step 12/13 : ARG MAKE="make build" [2022-04-12T14:16:29.811Z] ---> Running in 5f577b372891 [2022-04-12T14:16:29.811Z] Removing intermediate container 5f577b372891 [2022-04-12T14:16:29.811Z] ---> 9903b4d17448 [2022-04-12T14:16:29.811Z] Step 13/13 : RUN $MAKE [2022-04-12T14:16:29.811Z] ---> Running in c54b5a19f56c [2022-04-12T14:16:30.385Z] noop [2022-04-12T14:16:30.647Z] Removing intermediate container c54b5a19f56c [2022-04-12T14:16:30.647Z] ---> 17bf0e0ec9ce [2022-04-12T14:16:30.647Z] Successfully built 17bf0e0ec9ce [2022-04-12T14:16:30.647Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:16:30.985Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T14:16:30.985Z] . [Pipeline] withDockerContainer [2022-04-12T14:16:31.081Z] prd-ubuntu20.04-docker-8c-8g-20681 does not seem to be running inside a container [2022-04-12T14:16:31.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-397 -v /w/workspace/_app-service-configurable_PR-397:/w/workspace/_app-service-configurable_PR-397:rw,z -v /w/workspace/_app-service-configurable_PR-397@tmp:/w/workspace/_app-service-configurable_PR-397@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 ******** ci-base-image-x86_64 cat [2022-04-12T14:16:31.546Z] $ docker top 6f90f05e41ca372790e7f2da830800cc3b1357f78c4e31097ddd121018299320 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T14:16:31.968Z] + go version [2022-04-12T14:16:31.968Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-12T14:16:32.005Z] $ docker stop --time=1 6f90f05e41ca372790e7f2da830800cc3b1357f78c4e31097ddd121018299320 [2022-04-12T14:16:33.329Z] $ docker rm -f 6f90f05e41ca372790e7f2da830800cc3b1357f78c4e31097ddd121018299320 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:16:33.967Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T14:16:33.967Z] . [Pipeline] withDockerContainer [2022-04-12T14:16:34.063Z] prd-ubuntu20.04-docker-8c-8g-20681 does not seem to be running inside a container [2022-04-12T14:16:34.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-397 -v /w/workspace/_app-service-configurable_PR-397:/w/workspace/_app-service-configurable_PR-397:rw,z -v /w/workspace/_app-service-configurable_PR-397@tmp:/w/workspace/_app-service-configurable_PR-397@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 ******** ci-base-image-x86_64 cat [2022-04-12T14:16:34.489Z] $ docker top 306cbda78d3c8c39af499c57eb68e4e4e1aad8c6da51cb46988ec4092f4070d0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T14:16:34.928Z] + make test [2022-04-12T14:16:34.928Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-12T14:16:41.574Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-12T14:16:41.574Z] CGO_ENABLED=1 go vet ./... [2022-04-12T14:16:44.883Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T14:16:44.883Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T14:16:44.883Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T14:16:45.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T14:16:45.214Z] $ docker stop --time=1 306cbda78d3c8c39af499c57eb68e4e4e1aad8c6da51cb46988ec4092f4070d0 [2022-04-12T14:16:46.921Z] $ docker rm -f 306cbda78d3c8c39af499c57eb68e4e4e1aad8c6da51cb46988ec4092f4070d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T14:16:47.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T14:16:47.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-12T14:16:48.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T14:16:48.879Z] + ls -al . [2022-04-12T14:16:48.879Z] total 176 [2022-04-12T14:16:48.879Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 14:16 . [2022-04-12T14:16:48.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 14:15 .. [2022-04-12T14:16:48.879Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 12 14:15 .dockerignore [2022-04-12T14:16:48.879Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 14:15 .git [2022-04-12T14:16:48.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 14:15 .github [2022-04-12T14:16:48.879Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 12 14:15 .gitignore [2022-04-12T14:16:48.880Z] drwx------ 3 jenkins jenkins 4096 Apr 12 14:15 .semver [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 7627 Apr 12 14:15 Attribution.txt [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 12 14:15 CHANGELOG.md [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 12 14:15 Dockerfile [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 14:15 GOVERNANCE.md [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 12 14:15 Jenkinsfile [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 12 14:15 LICENSE [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 12 14:15 OWNERS.md [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 12 14:15 README.md [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 14:15 VERSION [2022-04-12T14:16:48.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 14:15 bin [2022-04-12T14:16:48.880Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 12 14:16 coverage.out [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 2816 Apr 12 14:15 go.mod [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 50335 Apr 12 14:15 go.sum [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 12 14:15 main.go [2022-04-12T14:16:48.880Z] -rw-rw-r-- 1 jenkins jenkins 1994 Apr 12 14:15 makefile [2022-04-12T14:16:48.880Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 14:15 res [2022-04-12T14:16:48.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 14:15 snap [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:16:49.217Z] + 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=cd0f95616676412598b1774654421c1975d645be --label arch=amd64 --label version=0.0.0 . [2022-04-12T14:16:49.217Z] Sending build context to Docker daemon 3.005MB [2022-04-12T14:16:49.217Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T14:16:49.217Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-12T14:16:49.217Z] ---> 17bf0e0ec9ce [2022-04-12T14:16:49.217Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-12T14:16:49.217Z] ---> Running in 6d00b017c7d1 [2022-04-12T14:16:49.477Z] Removing intermediate container 6d00b017c7d1 [2022-04-12T14:16:49.477Z] ---> 23ec511b10e8 [2022-04-12T14:16:49.477Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-12T14:16:49.477Z] ---> Running in c3c7e242b137 [2022-04-12T14:16:49.477Z] Removing intermediate container c3c7e242b137 [2022-04-12T14:16:49.477Z] ---> c06402603b5b [2022-04-12T14:16:49.477Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-12T14:16:49.477Z] ---> Running in e5c577841d21 [2022-04-12T14:16:49.737Z] Removing intermediate container e5c577841d21 [2022-04-12T14:16:49.737Z] ---> cabb123866fe [2022-04-12T14:16:49.737Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T14:16:49.737Z] ---> Running in a1bb9330041b [2022-04-12T14:16:50.310Z] Removing intermediate container a1bb9330041b [2022-04-12T14:16:50.310Z] ---> 955c66961306 [2022-04-12T14:16:50.310Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-12T14:16:50.576Z] ---> Running in f0d3bada0502 [2022-04-12T14:16:50.836Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T14:16:51.783Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T14:16:51.783Z] OK: 221 MiB in 52 packages [2022-04-12T14:16:52.357Z] Removing intermediate container f0d3bada0502 [2022-04-12T14:16:52.357Z] ---> b256aad54d76 [2022-04-12T14:16:52.357Z] Step 8/27 : WORKDIR /app [2022-04-12T14:16:52.357Z] ---> Running in 3020a2ea90fc [2022-04-12T14:16:52.357Z] Removing intermediate container 3020a2ea90fc [2022-04-12T14:16:52.357Z] ---> 80d85931bcf8 [2022-04-12T14:16:52.357Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-12T14:16:52.621Z] ---> b9d17d2aba7a [2022-04-12T14:16:52.621Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T14:16:52.621Z] ---> Running in 34a1dcbecd0f [2022-04-12T14:16:53.575Z] Removing intermediate container 34a1dcbecd0f [2022-04-12T14:16:53.575Z] ---> bb40cdeb7dd2 [2022-04-12T14:16:53.575Z] Step 11/27 : COPY . . [2022-04-12T14:16:53.837Z] ---> c083793f982b [2022-04-12T14:16:53.837Z] Step 12/27 : ARG MAKE="make build" [2022-04-12T14:16:53.837Z] ---> Running in 3b128b2cfa50 [2022-04-12T14:16:53.837Z] Removing intermediate container 3b128b2cfa50 [2022-04-12T14:16:53.837Z] ---> 51fcae86196a [2022-04-12T14:16:53.837Z] Step 13/27 : RUN $MAKE [2022-04-12T14:16:53.837Z] ---> Running in b153b7872a7f [2022-04-12T14:16:54.097Z] 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-12T14:17:12.224Z] Removing intermediate container b153b7872a7f [2022-04-12T14:17:12.224Z] ---> a563410cf7f5 [2022-04-12T14:17:12.224Z] Step 14/27 : FROM alpine:3.14 [2022-04-12T14:17:12.224Z] 3.14: Pulling from library/alpine [2022-04-12T14:17:12.224Z] 8663204ce13b: Pulling fs layer [2022-04-12T14:17:12.224Z] 8663204ce13b: Verifying Checksum [2022-04-12T14:17:12.224Z] 8663204ce13b: Download complete [2022-04-12T14:17:12.486Z] 8663204ce13b: Pull complete [2022-04-12T14:17:12.486Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T14:17:12.486Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T14:17:12.486Z] ---> e04c818066af [2022-04-12T14:17:12.486Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-12T14:17:12.486Z] ---> Running in 0fa726275ae4 [2022-04-12T14:17:12.486Z] Removing intermediate container 0fa726275ae4 [2022-04-12T14:17:12.486Z] ---> 9f05d52e8bf7 [2022-04-12T14:17:12.486Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-12T14:17:12.748Z] ---> Running in c29253a5ea4d [2022-04-12T14:17:12.748Z] Removing intermediate container c29253a5ea4d [2022-04-12T14:17:12.748Z] ---> f54dc2d95658 [2022-04-12T14:17:12.748Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-12T14:17:12.748Z] ---> Running in 911c41b13410 [2022-04-12T14:17:13.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-12T14:17:13.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-12T14:17:13.269Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-12T14:17:13.269Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-12T14:17:13.269Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T14:17:13.269Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-12T14:17:13.269Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T14:17:13.269Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-12T14:17:13.269Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-12T14:17:13.269Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T14:17:13.269Z] Executing ca-certificates-20211220-r0.trigger [2022-04-12T14:17:13.529Z] OK: 9 MiB in 21 packages [2022-04-12T14:17:13.795Z] Removing intermediate container 911c41b13410 [2022-04-12T14:17:13.795Z] ---> 707c069900ad [2022-04-12T14:17:13.795Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-12T14:17:14.055Z] ---> 794728812380 [2022-04-12T14:17:14.055Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-12T14:17:14.055Z] ---> 2bc6d823c367 [2022-04-12T14:17:14.055Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-12T14:17:14.316Z] ---> 1bc86772126b [2022-04-12T14:17:14.316Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-12T14:17:14.892Z] ---> a628a0676b91 [2022-04-12T14:17:14.892Z] Step 22/27 : EXPOSE 48095 [2022-04-12T14:17:14.892Z] ---> Running in d843261369d7 [2022-04-12T14:17:15.154Z] Removing intermediate container d843261369d7 [2022-04-12T14:17:15.154Z] ---> 2c982346ce11 [2022-04-12T14:17:15.154Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-12T14:17:15.154Z] ---> Running in 06cd0e081bf6 [2022-04-12T14:17:15.154Z] Removing intermediate container 06cd0e081bf6 [2022-04-12T14:17:15.154Z] ---> 2b291ebbef29 [2022-04-12T14:17:15.154Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T14:17:15.154Z] ---> Running in 8f5e5e92a2d3 [2022-04-12T14:17:15.154Z] Removing intermediate container 8f5e5e92a2d3 [2022-04-12T14:17:15.154Z] ---> fc2e55a8d938 [2022-04-12T14:17:15.154Z] Step 25/27 : LABEL arch=amd64 [2022-04-12T14:17:15.414Z] ---> Running in f8b09f75be05 [2022-04-12T14:17:15.414Z] Removing intermediate container f8b09f75be05 [2022-04-12T14:17:15.414Z] ---> eee8998f981b [2022-04-12T14:17:15.414Z] Step 26/27 : LABEL git_sha=cd0f95616676412598b1774654421c1975d645be [2022-04-12T14:17:15.415Z] ---> Running in 17e6368f6e23 [2022-04-12T14:17:15.415Z] Removing intermediate container 17e6368f6e23 [2022-04-12T14:17:15.415Z] ---> 7b609c61a092 [2022-04-12T14:17:15.415Z] Step 27/27 : LABEL version=0.0.0 [2022-04-12T14:17:15.676Z] ---> Running in 785d29bcc8ad [2022-04-12T14:17:15.676Z] Removing intermediate container 785d29bcc8ad [2022-04-12T14:17:15.676Z] ---> 18eac54785aa [2022-04-12T14:17:15.676Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T14:17:15.676Z] Successfully built 18eac54785aa [2022-04-12T14:17:15.676Z] 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-12T14:17:16.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T14:17:16.414Z] [2022-04-12T14:17:16.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:17:16.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T14:17:16.761Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-12T14:17:16.761Z] 5eb5b503b376: Pulling fs layer [2022-04-12T14:17:16.761Z] 5c69ac0246d0: Pulling fs layer [2022-04-12T14:17:16.761Z] ec43610c2a17: Pulling fs layer [2022-04-12T14:17:16.761Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-12T14:17:16.761Z] 33b1e0a273af: Pulling fs layer [2022-04-12T14:17:16.761Z] 5d3b04190fa2: Pulling fs layer [2022-04-12T14:17:16.761Z] 2f39f015ded8: Pulling fs layer [2022-04-12T14:17:16.761Z] 33b1e0a273af: Waiting [2022-04-12T14:17:16.761Z] 5d3b04190fa2: Waiting [2022-04-12T14:17:16.761Z] 3a2ae6a8a46f: Waiting [2022-04-12T14:17:16.761Z] 2f39f015ded8: Waiting [2022-04-12T14:17:16.761Z] 5c69ac0246d0: Verifying Checksum [2022-04-12T14:17:16.761Z] 5c69ac0246d0: Download complete [2022-04-12T14:17:16.761Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-12T14:17:16.761Z] 3a2ae6a8a46f: Download complete [2022-04-12T14:17:16.761Z] 33b1e0a273af: Verifying Checksum [2022-04-12T14:17:16.761Z] 33b1e0a273af: Download complete [2022-04-12T14:17:16.761Z] 5d3b04190fa2: Download complete [2022-04-12T14:17:16.761Z] ec43610c2a17: Verifying Checksum [2022-04-12T14:17:16.761Z] ec43610c2a17: Download complete [2022-04-12T14:17:17.024Z] 5eb5b503b376: Verifying Checksum [2022-04-12T14:17:17.024Z] 5eb5b503b376: Download complete [2022-04-12T14:17:17.592Z] 2f39f015ded8: Download complete [2022-04-12T14:17:18.529Z] 5eb5b503b376: Pull complete [2022-04-12T14:17:18.529Z] 5c69ac0246d0: Pull complete [2022-04-12T14:17:19.097Z] ec43610c2a17: Pull complete [2022-04-12T14:17:19.097Z] 3a2ae6a8a46f: Pull complete [2022-04-12T14:17:19.357Z] 33b1e0a273af: Pull complete [2022-04-12T14:17:19.357Z] 5d3b04190fa2: Pull complete [2022-04-12T14:17:23.555Z] 2f39f015ded8: Pull complete [2022-04-12T14:17:23.555Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-12T14:17:23.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T14:17:23.555Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-12T14:17:23.647Z] prd-ubuntu20.04-docker-8c-8g-20681 does not seem to be running inside a container [2022-04-12T14:17:23.690Z] $ 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-397 -v /w/workspace/_app-service-configurable_PR-397:/w/workspace/_app-service-configurable_PR-397:rw,z -v /w/workspace/_app-service-configurable_PR-397@tmp:/w/workspace/_app-service-configurable_PR-397@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T14:17:25.901Z] $ docker top fc0e988cc19b1f24474a9fe264b208b8091284f4787a2ac3dd668ddd1b63deb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:17:26.404Z] ---> job-cost.sh [2022-04-12T14:17:26.404Z] lf-activate-venv: SKIPPING [2022-04-12T14:17:26.404Z] INFO: No Stack... [2022-04-12T14:17:26.977Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T14:17:27.550Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T14:17:27.871Z] + cat /w/workspace/_app-service-configurable_PR-397/archives/cost.csv [2022-04-12T14:17:27.871Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T14:17:27.945Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] [2022-04-12T14:17:27.955Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] did not exist. Created. [2022-04-12T14:17:27.955Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T14:17:28.353Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-12T14:17:28.401Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T14:17:28.429Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T14:17:28.512Z] $ docker stop --time=1 fc0e988cc19b1f24474a9fe264b208b8091284f4787a2ac3dd668ddd1b63deb3 [2022-04-12T14:17:29.682Z] $ docker rm -f fc0e988cc19b1f24474a9fe264b208b8091284f4787a2ac3dd668ddd1b63deb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-12T14:19:42.179Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20682 in /w/workspace/_app-service-configurable_PR-397 [Pipeline] { [Pipeline] ws [2022-04-12T14:19:42.225Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-04-12T14:19:42.514Z] Selected Git installation does not exist. Using Default [2022-04-12T14:19:42.514Z] The recommended git tool is: NONE [2022-04-12T14:19:50.244Z] using credential edgex-jenkins-ssh [2022-04-12T14:19:50.263Z] Cloning the remote Git repository [2022-04-12T14:19:50.368Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-12T14:19:50.510Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-04-12T14:19:50.745Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-12T14:19:50.756Z] > git --version # timeout=10 [2022-04-12T14:19:50.812Z] > git --version # 'git version 2.25.1' [2022-04-12T14:19:50.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T14:19:51.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T14:19:52.656Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-12T14:19:52.737Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T14:19:52.792Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-12T14:19:52.859Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-12T14:19:52.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T14:19:52.887Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-12T14:19:53.452Z] Merging remotes/origin/main commit e18cf4e9ef6bfb404f044f68c1d78b234feb3069 into PR head commit cd0f95616676412598b1774654421c1975d645be [2022-04-12T14:19:53.717Z] Merge succeeded, producing cd0f95616676412598b1774654421c1975d645be [2022-04-12T14:19:53.717Z] Checking out Revision cd0f95616676412598b1774654421c1975d645be (PR-397) [2022-04-12T14:19:53.478Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T14:19:53.494Z] > git checkout -f cd0f95616676412598b1774654421c1975d645be # timeout=10 [2022-04-12T14:19:53.591Z] > git remote # timeout=10 [2022-04-12T14:19:53.611Z] > git config --get remote.origin.url # timeout=10 [2022-04-12T14:19:53.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T14:19:53.651Z] > git merge e18cf4e9ef6bfb404f044f68c1d78b234feb3069 # timeout=10 [2022-04-12T14:19:53.682Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-12T14:19:53.730Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T14:19:53.758Z] > git checkout -f cd0f95616676412598b1774654421c1975d645be # timeout=10 [2022-04-12T14:19:58.272Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [2022-04-12T14:19:58.339Z] > git --version # timeout=10 [2022-04-12T14:19:58.353Z] > git --version # 'git version 2.25.1' [2022-04-12T14:19:58.369Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T14:19:59.584Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-12T14:19:59.584Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T14:19:59.584Z] Dload Upload Total Spent Left Speed [2022-04-12T14:19:59.584Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 40837 0 --:--:-- --:--:-- --:--:-- 40979 [Pipeline] sh [2022-04-12T14:20:00.394Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-12T14:20:00.761Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-12T14:20:00.761Z] + sudo tee /etc/docker/daemon.new [2022-04-12T14:20:00.761Z] { [2022-04-12T14:20:00.761Z] "registry-mirrors": [ [2022-04-12T14:20:00.761Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-12T14:20:00.761Z] ], [2022-04-12T14:20:00.761Z] "bip": "10.250.0.254/24", [2022-04-12T14:20:00.761Z] "hosts": [ [2022-04-12T14:20:00.761Z] "tcp://0.0.0.0:5555", [2022-04-12T14:20:00.762Z] "unix:///var/run/docker.sock" [2022-04-12T14:20:00.762Z] ], [2022-04-12T14:20:00.762Z] "mtu": 1458, [2022-04-12T14:20:00.762Z] "selinux-enabled": true, [2022-04-12T14:20:00.762Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-12T14:20:00.762Z] } [Pipeline] sh [2022-04-12T14:20:01.121Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-12T14:20:01.482Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T14:20:19.907Z] provisioning config files... [2022-04-12T14:20:19.936Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config258638959672587760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:20:20.572Z] ---> docker-login.sh [2022-04-12T14:20:20.572Z] nexus3.edgexfoundry.org:10001 [2022-04-12T14:20:21.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:20:21.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:20:21.448Z] Configure a credential helper to remove this warning. See [2022-04-12T14:20:21.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:20:21.448Z] [2022-04-12T14:20:21.448Z] Login Succeeded [2022-04-12T14:20:21.448Z] nexus3.edgexfoundry.org:10002 [2022-04-12T14:20:22.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:20:22.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:20:22.050Z] Configure a credential helper to remove this warning. See [2022-04-12T14:20:22.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:20:22.050Z] [2022-04-12T14:20:22.050Z] Login Succeeded [2022-04-12T14:20:22.050Z] nexus3.edgexfoundry.org:10003 [2022-04-12T14:20:22.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:20:22.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:20:22.599Z] Configure a credential helper to remove this warning. See [2022-04-12T14:20:22.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:20:22.599Z] [2022-04-12T14:20:22.599Z] Login Succeeded [2022-04-12T14:20:22.599Z] nexus3.edgexfoundry.org:10004 [2022-04-12T14:20:22.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:20:23.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:20:23.146Z] Configure a credential helper to remove this warning. See [2022-04-12T14:20:23.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:20:23.146Z] [2022-04-12T14:20:23.146Z] Login Succeeded [2022-04-12T14:20:23.146Z] docker.io [2022-04-12T14:20:23.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T14:20:24.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T14:20:24.015Z] Configure a credential helper to remove this warning. See [2022-04-12T14:20:24.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T14:20:24.015Z] [2022-04-12T14:20:24.015Z] Login Succeeded [2022-04-12T14:20:24.015Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T14:20:24.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T14:20:24.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T14:20:24.483Z] ========================================================= [2022-04-12T14:20:24.483Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-12T14:20:24.483Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:20:24.933Z] + 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-12T14:20:24.933Z] Sending build context to Docker daemon 210.4kB [2022-04-12T14:20:25.210Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T14:20:25.210Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-12T14:20:25.488Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-12T14:20:25.488Z] 9b3977197b4f: Pulling fs layer [2022-04-12T14:20:25.488Z] 1a89e8eeedd5: Pulling fs layer [2022-04-12T14:20:25.488Z] 94645a83ff95: Pulling fs layer [2022-04-12T14:20:25.488Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-12T14:20:25.488Z] 0c92f367c5e7: Pulling fs layer [2022-04-12T14:20:25.488Z] f7c0051592d6: Pulling fs layer [2022-04-12T14:20:25.488Z] a227ed2f7395: Pulling fs layer [2022-04-12T14:20:25.488Z] 7b1c46037f91: Pulling fs layer [2022-04-12T14:20:25.488Z] f7c0051592d6: Waiting [2022-04-12T14:20:25.488Z] a227ed2f7395: Waiting [2022-04-12T14:20:25.488Z] 7b1c46037f91: Waiting [2022-04-12T14:20:25.488Z] 3f3a8bcf1eab: Waiting [2022-04-12T14:20:25.488Z] 0c92f367c5e7: Waiting [2022-04-12T14:20:25.488Z] 94645a83ff95: Download complete [2022-04-12T14:20:25.488Z] 1a89e8eeedd5: Verifying Checksum [2022-04-12T14:20:25.488Z] 1a89e8eeedd5: Download complete [2022-04-12T14:20:25.488Z] 0c92f367c5e7: Verifying Checksum [2022-04-12T14:20:25.488Z] 0c92f367c5e7: Download complete [2022-04-12T14:20:25.488Z] f7c0051592d6: Download complete [2022-04-12T14:20:25.488Z] 9b3977197b4f: Verifying Checksum [2022-04-12T14:20:25.488Z] 9b3977197b4f: Download complete [2022-04-12T14:20:25.488Z] a227ed2f7395: Verifying Checksum [2022-04-12T14:20:25.488Z] a227ed2f7395: Download complete [2022-04-12T14:20:26.491Z] 9b3977197b4f: Pull complete [2022-04-12T14:20:26.784Z] 1a89e8eeedd5: Pull complete [2022-04-12T14:20:27.388Z] 94645a83ff95: Pull complete [2022-04-12T14:20:27.661Z] 7b1c46037f91: Verifying Checksum [2022-04-12T14:20:27.661Z] 7b1c46037f91: Download complete [2022-04-12T14:20:28.256Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-12T14:20:28.256Z] 3f3a8bcf1eab: Download complete [2022-04-12T14:20:40.660Z] 3f3a8bcf1eab: Pull complete [2022-04-12T14:20:40.660Z] 0c92f367c5e7: Pull complete [2022-04-12T14:20:40.660Z] f7c0051592d6: Pull complete [2022-04-12T14:20:40.660Z] a227ed2f7395: Pull complete [2022-04-12T14:20:46.089Z] 7b1c46037f91: Pull complete [2022-04-12T14:20:46.089Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-12T14:20:46.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-12T14:20:46.089Z] ---> f79e39bc4007 [2022-04-12T14:20:46.089Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-12T14:20:46.363Z] ---> Running in d26f3407cc1d [2022-04-12T14:20:46.639Z] Removing intermediate container d26f3407cc1d [2022-04-12T14:20:46.639Z] ---> 54687549178c [2022-04-12T14:20:46.639Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-12T14:20:46.639Z] ---> Running in 89770bf2f884 [2022-04-12T14:20:47.243Z] Removing intermediate container 89770bf2f884 [2022-04-12T14:20:47.243Z] ---> 6f5c4ddc101c [2022-04-12T14:20:47.243Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-12T14:20:47.243Z] ---> Running in 35663525269a [2022-04-12T14:20:47.518Z] Removing intermediate container 35663525269a [2022-04-12T14:20:47.518Z] ---> 8af9c1eb96ad [2022-04-12T14:20:47.518Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T14:20:47.518Z] ---> Running in 08cb53177605 [2022-04-12T14:20:49.514Z] Removing intermediate container 08cb53177605 [2022-04-12T14:20:49.514Z] ---> 2521d01e2fc6 [2022-04-12T14:20:49.514Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-12T14:20:49.514Z] ---> Running in 90b43bb990da [2022-04-12T14:20:50.500Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T14:20:51.482Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T14:20:52.471Z] OK: 220 MiB in 52 packages [2022-04-12T14:20:53.072Z] Removing intermediate container 90b43bb990da [2022-04-12T14:20:53.072Z] ---> 7cd2c9adcf29 [2022-04-12T14:20:53.072Z] Step 8/13 : WORKDIR /app [2022-04-12T14:20:53.072Z] ---> Running in f1249120fa64 [2022-04-12T14:20:53.673Z] Removing intermediate container f1249120fa64 [2022-04-12T14:20:53.673Z] ---> 876b7314be0d [2022-04-12T14:20:53.673Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-12T14:20:53.960Z] ---> 30ae9f4c6e3f [2022-04-12T14:20:53.960Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T14:20:54.239Z] ---> Running in 1562277272cb [2022-04-12T14:22:16.153Z] Removing intermediate container 1562277272cb [2022-04-12T14:22:16.153Z] ---> 2206ed619e53 [2022-04-12T14:22:16.153Z] Step 11/13 : COPY . . [2022-04-12T14:22:16.153Z] ---> bb0b802be912 [2022-04-12T14:22:16.153Z] Step 12/13 : ARG MAKE="make build" [2022-04-12T14:22:16.153Z] ---> Running in ca743a875e0f [2022-04-12T14:22:16.153Z] Removing intermediate container ca743a875e0f [2022-04-12T14:22:16.153Z] ---> f926cd9dbdb1 [2022-04-12T14:22:16.153Z] Step 13/13 : RUN $MAKE [2022-04-12T14:22:16.153Z] ---> Running in f669b65b03ea [2022-04-12T14:22:16.153Z] noop [2022-04-12T14:22:16.153Z] Removing intermediate container f669b65b03ea [2022-04-12T14:22:16.153Z] ---> 941112dbcd56 [2022-04-12T14:22:16.153Z] Successfully built 941112dbcd56 [2022-04-12T14:22:16.153Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:22:16.537Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T14:22:16.537Z] . [Pipeline] withDockerContainer [2022-04-12T14:22:16.808Z] prd-ubuntu20.04-docker-arm64-4c-16g-20682 does not seem to be running inside a container [2022-04-12T14:22:16.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-12T14:22:18.351Z] $ docker top 9d5fb8f466a78b03930687d698899234f2886e32b892d850c6f9bc24ad4b3733 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T14:22:19.363Z] + go version [2022-04-12T14:22:19.363Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-12T14:22:19.403Z] $ docker stop --time=1 9d5fb8f466a78b03930687d698899234f2886e32b892d850c6f9bc24ad4b3733 [2022-04-12T14:22:21.094Z] $ docker rm -f 9d5fb8f466a78b03930687d698899234f2886e32b892d850c6f9bc24ad4b3733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:22:21.963Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T14:22:21.963Z] . [Pipeline] withDockerContainer [2022-04-12T14:22:22.232Z] prd-ubuntu20.04-docker-arm64-4c-16g-20682 does not seem to be running inside a container [2022-04-12T14:22:22.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-12T14:22:23.714Z] $ docker top 97bf1a7a1b6b7dc1906b240f6b9a6aeb2f81dd30ec5d84b317be50abcc3f14cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T14:22:24.730Z] + make test [2022-04-12T14:22:24.730Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-12T14:23:21.353Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-12T14:23:21.353Z] CGO_ENABLED=1 go vet ./... [2022-04-12T14:23:36.467Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T14:23:36.467Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T14:23:36.467Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T14:23:38.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T14:23:38.529Z] $ docker stop --time=1 97bf1a7a1b6b7dc1906b240f6b9a6aeb2f81dd30ec5d84b317be50abcc3f14cc [2022-04-12T14:23:40.347Z] $ docker rm -f 97bf1a7a1b6b7dc1906b240f6b9a6aeb2f81dd30ec5d84b317be50abcc3f14cc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T14:23:41.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T14:23:41.282Z] Warning: overwriting stash ‘coverage-report’ [2022-04-12T14:23:41.770Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T14:23:42.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T14:23:42.733Z] + ls -al . [2022-04-12T14:23:42.733Z] total 172 [2022-04-12T14:23:42.733Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 12 14:23 . [2022-04-12T14:23:42.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 14:19 .. [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 12 14:19 .dockerignore [2022-04-12T14:23:42.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 14:19 .git [2022-04-12T14:23:42.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 14:19 .github [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 12 14:19 .gitignore [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 7627 Apr 12 14:19 Attribution.txt [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 12 14:19 CHANGELOG.md [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 12 14:19 Dockerfile [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 14:19 GOVERNANCE.md [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 12 14:19 Jenkinsfile [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 12 14:19 LICENSE [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 12 14:19 OWNERS.md [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 12 14:19 README.md [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 14:15 VERSION [2022-04-12T14:23:42.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 14:19 bin [2022-04-12T14:23:42.733Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 12 14:22 coverage.out [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 2816 Apr 12 14:19 go.mod [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 50335 Apr 12 14:19 go.sum [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 12 14:19 main.go [2022-04-12T14:23:42.733Z] -rw-rw-r-- 1 jenkins jenkins 1994 Apr 12 14:19 makefile [2022-04-12T14:23:42.733Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 14:19 res [2022-04-12T14:23:42.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 14:19 snap [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:23:43.108Z] + 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=cd0f95616676412598b1774654421c1975d645be --label arch=arm64 --label version=0.0.0 . [2022-04-12T14:23:43.108Z] Sending build context to Docker daemon 211.5kB [2022-04-12T14:23:43.383Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T14:23:43.383Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-12T14:23:43.383Z] ---> 941112dbcd56 [2022-04-12T14:23:43.383Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-12T14:23:43.669Z] ---> Running in 04ab3cc8244c [2022-04-12T14:23:43.949Z] Removing intermediate container 04ab3cc8244c [2022-04-12T14:23:43.949Z] ---> b356b6c8ff39 [2022-04-12T14:23:43.949Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-12T14:23:43.949Z] ---> Running in 546cd9da2725 [2022-04-12T14:23:44.229Z] Removing intermediate container 546cd9da2725 [2022-04-12T14:23:44.229Z] ---> 6421d7f325ba [2022-04-12T14:23:44.229Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-12T14:23:44.511Z] ---> Running in 859b355bdd57 [2022-04-12T14:23:44.786Z] Removing intermediate container 859b355bdd57 [2022-04-12T14:23:44.786Z] ---> c6acbb5b526e [2022-04-12T14:23:44.786Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T14:23:44.786Z] ---> Running in 7f8b2ec50bbf [2022-04-12T14:23:46.773Z] Removing intermediate container 7f8b2ec50bbf [2022-04-12T14:23:46.773Z] ---> cbbc9f48b75b [2022-04-12T14:23:46.773Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-12T14:23:46.773Z] ---> Running in d5fae4290ef9 [2022-04-12T14:23:47.754Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T14:23:48.738Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T14:23:49.724Z] OK: 220 MiB in 52 packages [2022-04-12T14:23:50.329Z] Removing intermediate container d5fae4290ef9 [2022-04-12T14:23:50.329Z] ---> 6f40c2f22307 [2022-04-12T14:23:50.329Z] Step 8/27 : WORKDIR /app [2022-04-12T14:23:50.608Z] ---> Running in 5746c3941366 [2022-04-12T14:23:50.882Z] Removing intermediate container 5746c3941366 [2022-04-12T14:23:50.882Z] ---> 9cd2e7fdd934 [2022-04-12T14:23:50.882Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-12T14:23:51.480Z] ---> 47451198a81d [2022-04-12T14:23:51.480Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T14:23:51.480Z] ---> Running in ccd644fd677d [2022-04-12T14:23:54.112Z] Removing intermediate container ccd644fd677d [2022-04-12T14:23:54.112Z] ---> f5a2142cfde0 [2022-04-12T14:23:54.112Z] Step 11/27 : COPY . . [2022-04-12T14:23:54.389Z] ---> c7840bc42156 [2022-04-12T14:23:54.390Z] Step 12/27 : ARG MAKE="make build" [2022-04-12T14:23:54.390Z] ---> Running in 6033f17663dc [2022-04-12T14:23:54.669Z] Removing intermediate container 6033f17663dc [2022-04-12T14:23:54.669Z] ---> 98814dc04339 [2022-04-12T14:23:54.669Z] Step 13/27 : RUN $MAKE [2022-04-12T14:23:54.669Z] ---> Running in 4bcb7bb1ddce [2022-04-12T14:23:55.658Z] 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-12T14:25:32.508Z] Removing intermediate container 4bcb7bb1ddce [2022-04-12T14:25:32.508Z] ---> 331444c9be34 [2022-04-12T14:25:32.508Z] Step 14/27 : FROM alpine:3.14 [2022-04-12T14:25:32.508Z] 3.14: Pulling from library/alpine [2022-04-12T14:25:32.508Z] 455c02918c45: Pulling fs layer [2022-04-12T14:25:32.508Z] 455c02918c45: Download complete [2022-04-12T14:25:32.508Z] 455c02918c45: Pull complete [2022-04-12T14:25:32.508Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T14:25:32.508Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T14:25:32.508Z] ---> ac73e934f311 [2022-04-12T14:25:32.508Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-12T14:25:32.508Z] ---> Running in ce99c6277b55 [2022-04-12T14:25:32.508Z] Removing intermediate container ce99c6277b55 [2022-04-12T14:25:32.508Z] ---> fd8dd29a50ff [2022-04-12T14:25:32.508Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-12T14:25:32.508Z] ---> Running in 8eac3667a679 [2022-04-12T14:25:32.508Z] Removing intermediate container 8eac3667a679 [2022-04-12T14:25:32.508Z] ---> b08b0163a64e [2022-04-12T14:25:32.508Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-12T14:25:32.508Z] ---> Running in 404d77f9f617 [2022-04-12T14:25:32.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-12T14:25:32.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-12T14:25:32.508Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-12T14:25:32.508Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-12T14:25:32.508Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T14:25:32.508Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-12T14:25:32.508Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T14:25:32.508Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-12T14:25:32.508Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-12T14:25:32.508Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T14:25:32.508Z] Executing ca-certificates-20211220-r0.trigger [2022-04-12T14:25:32.508Z] OK: 9 MiB in 21 packages [2022-04-12T14:25:32.508Z] Removing intermediate container 404d77f9f617 [2022-04-12T14:25:32.508Z] ---> f61fd55f3c2d [2022-04-12T14:25:32.508Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-12T14:25:32.508Z] ---> 937c5407cdb2 [2022-04-12T14:25:32.508Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-12T14:25:32.508Z] ---> 8ed4548af3db [2022-04-12T14:25:32.508Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-12T14:25:32.508Z] ---> 1a229c502b52 [2022-04-12T14:25:32.508Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-12T14:25:32.508Z] ---> cec126ab8004 [2022-04-12T14:25:32.508Z] Step 22/27 : EXPOSE 48095 [2022-04-12T14:25:32.508Z] ---> Running in 1979cdeeca95 [2022-04-12T14:25:32.508Z] Removing intermediate container 1979cdeeca95 [2022-04-12T14:25:32.508Z] ---> 8a31ca784b23 [2022-04-12T14:25:32.508Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-12T14:25:32.508Z] ---> Running in 3c82ba935ef3 [2022-04-12T14:25:32.508Z] Removing intermediate container 3c82ba935ef3 [2022-04-12T14:25:32.508Z] ---> a648e4eb98ef [2022-04-12T14:25:32.508Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T14:25:32.508Z] ---> Running in 620cba3c7920 [2022-04-12T14:25:32.508Z] Removing intermediate container 620cba3c7920 [2022-04-12T14:25:32.508Z] ---> 98b4577adb6e [2022-04-12T14:25:32.508Z] Step 25/27 : LABEL arch=arm64 [2022-04-12T14:25:32.508Z] ---> Running in 94c79c0be3c2 [2022-04-12T14:25:32.508Z] Removing intermediate container 94c79c0be3c2 [2022-04-12T14:25:32.508Z] ---> 4c0aa8ef43ba [2022-04-12T14:25:32.508Z] Step 26/27 : LABEL git_sha=cd0f95616676412598b1774654421c1975d645be [2022-04-12T14:25:32.508Z] ---> Running in f13a79c685a0 [2022-04-12T14:25:32.508Z] Removing intermediate container f13a79c685a0 [2022-04-12T14:25:32.508Z] ---> e984831b7091 [2022-04-12T14:25:32.508Z] Step 27/27 : LABEL version=0.0.0 [2022-04-12T14:25:32.508Z] ---> Running in 70d26b6d36d2 [2022-04-12T14:25:32.781Z] Removing intermediate container 70d26b6d36d2 [2022-04-12T14:25:32.781Z] ---> 0aa1536cf568 [2022-04-12T14:25:32.781Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T14:25:32.781Z] Successfully built 0aa1536cf568 [2022-04-12T14:25:32.781Z] 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-12T14:25:33.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T14:25:33.469Z] [2022-04-12T14:25:33.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:25:33.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T14:25:34.132Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-12T14:25:34.132Z] 8998bd30e6a1: Pulling fs layer [2022-04-12T14:25:34.132Z] 04944245beec: Pulling fs layer [2022-04-12T14:25:34.132Z] 699f458cf7ca: Pulling fs layer [2022-04-12T14:25:34.132Z] 765212b225bb: Pulling fs layer [2022-04-12T14:25:34.132Z] f23df028b6ca: Pulling fs layer [2022-04-12T14:25:34.132Z] d65c8cfc05b1: Pulling fs layer [2022-04-12T14:25:34.132Z] 2437ff75d9bd: Pulling fs layer [2022-04-12T14:25:34.132Z] d65c8cfc05b1: Waiting [2022-04-12T14:25:34.132Z] 2437ff75d9bd: Waiting [2022-04-12T14:25:34.132Z] 765212b225bb: Waiting [2022-04-12T14:25:34.132Z] f23df028b6ca: Waiting [2022-04-12T14:25:34.132Z] 04944245beec: Verifying Checksum [2022-04-12T14:25:34.132Z] 04944245beec: Download complete [2022-04-12T14:25:34.132Z] 765212b225bb: Verifying Checksum [2022-04-12T14:25:34.132Z] 765212b225bb: Download complete [2022-04-12T14:25:34.132Z] f23df028b6ca: Verifying Checksum [2022-04-12T14:25:34.132Z] f23df028b6ca: Download complete [2022-04-12T14:25:34.132Z] d65c8cfc05b1: Verifying Checksum [2022-04-12T14:25:34.132Z] d65c8cfc05b1: Download complete [2022-04-12T14:25:34.413Z] 699f458cf7ca: Verifying Checksum [2022-04-12T14:25:34.413Z] 699f458cf7ca: Download complete [2022-04-12T14:25:34.691Z] 8998bd30e6a1: Verifying Checksum [2022-04-12T14:25:34.691Z] 8998bd30e6a1: Download complete [2022-04-12T14:25:37.322Z] 2437ff75d9bd: Verifying Checksum [2022-04-12T14:25:37.322Z] 2437ff75d9bd: Download complete [2022-04-12T14:25:39.316Z] 8998bd30e6a1: Pull complete [2022-04-12T14:25:39.591Z] 04944245beec: Pull complete [2022-04-12T14:25:41.036Z] 699f458cf7ca: Pull complete [2022-04-12T14:25:41.310Z] 765212b225bb: Pull complete [2022-04-12T14:25:41.912Z] f23df028b6ca: Pull complete [2022-04-12T14:25:42.186Z] d65c8cfc05b1: Pull complete [2022-04-12T14:25:57.287Z] 2437ff75d9bd: Pull complete [2022-04-12T14:25:57.287Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-12T14:25:57.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T14:25:57.287Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-12T14:25:57.569Z] prd-ubuntu20.04-docker-arm64-4c-16g-20682 does not seem to be running inside a container [2022-04-12T14:25:57.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-12T14:26:00.242Z] $ docker top fefc4f453e85c6735f53b0ee25686f7d7164b95d58afc86281954ba64f00125b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:26:01.261Z] ---> job-cost.sh [2022-04-12T14:26:01.261Z] lf-activate-venv: SKIPPING [2022-04-12T14:26:01.261Z] INFO: No Stack... [2022-04-12T14:26:01.861Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-12T14:26:02.463Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T14:26:03.158Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-04-12T14:26:03.158Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T14:26:03.249Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] [2022-04-12T14:26:03.254Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] did not exist. Created. [2022-04-12T14:26:03.255Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T14:26:04.002Z] /w/workspace/app-service-configurable/1@tmp/durable-a315213c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-12T14:26:04.708Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-12T14:26:04.745Z] Warning: overwriting stash ‘stack-cost’ [2022-04-12T14:26:04.794Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T14:26:04.808Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T14:26:04.897Z] $ docker stop --time=1 fefc4f453e85c6735f53b0ee25686f7d7164b95d58afc86281954ba64f00125b [2022-04-12T14:26:06.447Z] $ docker rm -f fefc4f453e85c6735f53b0ee25686f7d7164b95d58afc86281954ba64f00125b [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-12T14:26:07.456Z] provisioning config files... [2022-04-12T14:26:07.466Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-397@tmp/config3354466014778504977tmp [Pipeline] { [Pipeline] sh [2022-04-12T14:26:07.798Z] + set +x [2022-04-12T14:26:07.798Z] + curl -s https://codecov.io/bash [2022-04-12T14:26:07.798Z] + bash -s -- [2022-04-12T14:26:07.798Z] [2022-04-12T14:26:07.798Z] _____ _ [2022-04-12T14:26:07.798Z] / ____| | | [2022-04-12T14:26:07.798Z] | | ___ __| | ___ ___ _____ __ [2022-04-12T14:26:07.798Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-12T14:26:07.798Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-12T14:26:07.798Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-12T14:26:07.798Z] Bash-1.0.6 [2022-04-12T14:26:07.798Z] [2022-04-12T14:26:07.798Z] [2022-04-12T14:26:07.798Z] ==> git version 2.25.1 found [2022-04-12T14:26:07.798Z] ==> 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-12T14:26:07.798Z] Release-Date: 2020-01-08 [2022-04-12T14:26:07.798Z] 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-12T14:26:07.798Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-12T14:26:07.798Z] ==> Jenkins CI detected. [2022-04-12T14:26:07.798Z] current dir:  /w/workspace/_app-service-configurable_PR-397 [2022-04-12T14:26:07.798Z] project root: . [2022-04-12T14:26:07.798Z] --> token set from env [2022-04-12T14:26:07.798Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-12T14:26:07.798Z] ==> Running gcov in . (disable via -X gcov) [2022-04-12T14:26:07.798Z] ==> Python coveragepy not found [2022-04-12T14:26:07.798Z] ==> Searching for coverage reports in: [2022-04-12T14:26:07.798Z] + . [2022-04-12T14:26:07.798Z] -> Found 1 reports [2022-04-12T14:26:07.798Z] ==> Detecting git/mercurial file structure [2022-04-12T14:26:07.798Z] ==> Reading reports [2022-04-12T14:26:07.798Z] + ./coverage.out bytes=10 [2022-04-12T14:26:07.798Z] ==> Appending adjustments [2022-04-12T14:26:07.798Z] https://docs.codecov.io/docs/fixing-reports [2022-04-12T14:26:08.059Z] + Found adjustments [2022-04-12T14:26:08.059Z] ==> Gzipping contents [2022-04-12T14:26:08.059Z] 4.0K /tmp/codecov.840N9f.gz [2022-04-12T14:26:08.059Z] ==> Uploading reports [2022-04-12T14:26:08.059Z] url: https://codecov.io [2022-04-12T14:26:08.059Z] query: branch=PR-397&commit=cd0f95616676412598b1774654421c1975d645be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-04-12T14:26:08.059Z] -> Pinging Codecov [2022-04-12T14:26:08.059Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-397&commit=cd0f95616676412598b1774654421c1975d645be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-04-12T14:26:08.320Z] -> Uploading to [2022-04-12T14:26:08.320Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-12/A97CA9966030D2A3747ED39772930CCE/cd0f95616676412598b1774654421c1975d645be/79e6984e-c08e-48d6-976e-2161f64a40a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T142608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a2ff2f05b7b781ed24b4e866cae4ae9e0467f6c37e8a94f651c27d9d19711fb [2022-04-12T14:26:08.320Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T14:26:08.320Z] Dload Upload Total Spent Left Speed [2022-04-12T14:26:08.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2495 --:--:-- --:--:-- --:--:-- 2484 100 569 0 0 100 569 0 2351 --:--:-- --:--:-- --:--:-- 2341 [2022-04-12T14:26:08.582Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/cd0f95616676412598b1774654421c1975d645be [Pipeline] } [2022-04-12T14:26:08.607Z] 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-12T14:26:10.311Z] + [ -d /w/workspace/_app-service-configurable_PR-397/archives ] [2022-04-12T14:26:10.311Z] + ls -al /w/workspace/_app-service-configurable_PR-397/archives [2022-04-12T14:26:10.311Z] total 16 [2022-04-12T14:26:10.311Z] drwxr-xr-x 3 root root 4096 Apr 12 14:17 . [2022-04-12T14:26:10.311Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 14:17 .. [2022-04-12T14:26:10.311Z] drwxr-xr-x 2 root root 4096 Apr 12 14:17 cost [2022-04-12T14:26:10.311Z] -rw-r--r-- 1 root root 95 Apr 12 14:17 cost.csv [2022-04-12T14:26:10.311Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-397/archives [2022-04-12T14:26:10.311Z] + ls -al /w/workspace/_app-service-configurable_PR-397/archives [2022-04-12T14:26:10.311Z] total 16 [2022-04-12T14:26:10.311Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 14:17 . [2022-04-12T14:26:10.311Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 14:17 .. [2022-04-12T14:26:10.311Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 14:17 cost [2022-04-12T14:26:10.311Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 12 14:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:26:10.703Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:26:11.640Z] ---> package-listing.sh [2022-04-12T14:26:11.640Z] ++ facter osfamily [2022-04-12T14:26:11.640Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-12T14:26:11.899Z] + OS_FAMILY=debian [2022-04-12T14:26:11.899Z] + workspace=/w/workspace/_app-service-configurable_PR-397 [2022-04-12T14:26:11.899Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-12T14:26:11.899Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-12T14:26:11.899Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-12T14:26:11.899Z] + PACKAGES=/tmp/packages_start.txt [2022-04-12T14:26:11.899Z] + '[' /w/workspace/_app-service-configurable_PR-397 ']' [2022-04-12T14:26:11.899Z] + PACKAGES=/tmp/packages_end.txt [2022-04-12T14:26:11.899Z] + case "${OS_FAMILY}" in [2022-04-12T14:26:11.899Z] + dpkg -l [2022-04-12T14:26:11.899Z] + grep '^ii' [2022-04-12T14:26:11.899Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-12T14:26:11.899Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-12T14:26:11.899Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-12T14:26:11.899Z] + '[' /w/workspace/_app-service-configurable_PR-397 ']' [2022-04-12T14:26:11.899Z] + mkdir -p /w/workspace/_app-service-configurable_PR-397/archives/ [2022-04-12T14:26:11.899Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-397/archives/ [Pipeline] echo [2022-04-12T14:26:11.936Z] 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-397/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-12T14:26:12.230Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-12T14:26:12.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T14:26:12.806Z] . [Pipeline] withDockerContainer [2022-04-12T14:26:12.892Z] prd-ubuntu20.04-docker-8c-8g-20681 does not seem to be running inside a container [2022-04-12T14:26:12.924Z] $ 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-397/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-397 -v /w/workspace/_app-service-configurable_PR-397:/w/workspace/_app-service-configurable_PR-397:rw,z -v /w/workspace/_app-service-configurable_PR-397@tmp:/w/workspace/_app-service-configurable_PR-397@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T14:26:13.147Z] $ docker top af6279c9678c1ea755ab6603d1663e7fb0980ab0698946587f0ddf49afd91a64 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T14:26:13.544Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-12T14:26:13.855Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-12T14:26:14.164Z] + ls /var/log/sa-host [2022-04-12T14:26:14.164Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T14:26:14.444Z] provisioning config files... [2022-04-12T14:26:14.455Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-397@tmp/config5059081326848684007tmp [Pipeline] { [Pipeline] echo [2022-04-12T14:26:14.506Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:26:14.833Z] ---> create-netrc.sh [Pipeline] } [2022-04-12T14:26:14.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:26:15.279Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-12T14:26:15.316Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:26:15.633Z] ---> sudo-logs.sh [2022-04-12T14:26:15.633Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-12T14:26:15.732Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:26:16.051Z] ---> job-cost.sh [2022-04-12T14:26:16.051Z] lf-activate-venv: SKIPPING [2022-04-12T14:26:16.051Z] DEBUG: total: 0.2199999988079071 [2022-04-12T14:26:16.051Z] INFO: Retrieving Stack Cost... [2022-04-12T14:26:16.626Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T14:26:16.890Z] INFO: Archiving Costs [Pipeline] echo [2022-04-12T14:26:16.928Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T14:26:17.251Z] ---> logs-deploy.sh [2022-04-12T14:26:17.251Z] lf-activate-venv: SKIPPING [2022-04-12T14:26:17.251Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-397/1 [2022-04-12T14:26:17.251Z] INFO: archiving workspace using pattern(s): [2022-04-12T14:26:18.197Z] Archives upload complete. [2022-04-12T14:26:18.459Z] INFO: archiving logs to Nexus