Pull request #407 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 1a526f114784ef26915ff80fd995ea89bcf8e607 rather than f31bcd335f21dc9e4313880be9db495c50c61348 Obtained Jenkinsfile from 1a526f114784ef26915ff80fd995ea89bcf8e607 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4111113087812704466.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13850783610840683476.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11631343116183062244.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7814865407794505574.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-407/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12571714690016722333.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-21946 in /w/workspace/_app-service-configurable_PR-407 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-407 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit f31bcd335f21dc9e4313880be9db495c50c61348 Merge succeeded, producing f31bcd335f21dc9e4313880be9db495c50c61348 Checking out Revision f31bcd335f21dc9e4313880be9db495c50c61348 (PR-407) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f31bcd335f21dc9e4313880be9db495c50c61348 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f31bcd335f21dc9e4313880be9db495c50c61348 # timeout=10 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3" > git rev-list --no-walk e6e70ee785a4ea65c7bb03471372d86c2b416c95 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-25T08:59:03.894Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-25T08:59:03.961Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-25T08:59:03.980Z] ========================================================= [2022-04-25T08:59:03.980Z] EdgeX Global Pipelines Version Info [2022-04-25T08:59:03.980Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-25T08:59:04.739Z] ------------------- [2022-04-25T08:59:04.739Z] stable info: [2022-04-25T08:59:04.739Z] ------------------- [2022-04-25T08:59:04.739Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T08:59:04.739Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-25T08:59:04.739Z] Message: update stable to v1.0.221 [2022-04-25T08:59:05.311Z] ------------------- [2022-04-25T08:59:05.311Z] experimental info: [2022-04-25T08:59:05.311Z] ------------------- [2022-04-25T08:59:05.311Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T08:59:05.311Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-25T08:59:05.311Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-25T08:59:05.494Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-25T08:59:05.507Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-25T08:59:05.521Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-25T08:59:05.533Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-25T08:59:05.545Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-25T08:59:05.562Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-25T08:59:05.580Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-25T08:59:05.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-25T08:59:05.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-25T08:59:05.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-25T08:59:05.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-25T08:59:05.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-25T08:59:05.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-25T08:59:05.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-25T08:59:05.690Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T08:59:05.702Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T08:59:05.714Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T08:59:05.729Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T08:59:05.739Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-25T08:59:05.755Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-25T08:59:05.773Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-25T08:59:05.786Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-25T08:59:05.802Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-25T08:59:05.812Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-25T08:59:05.821Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-25T08:59:05.830Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-25T08:59:05.838Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-407 [Pipeline] echo [2022-04-25T08:59:05.847Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-407 [Pipeline] echo [2022-04-25T08:59:05.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-407 [Pipeline] echo [2022-04-25T08:59:05.864Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f31bcd335f21dc9e4313880be9db495c50c61348 [Pipeline] echo [2022-04-25T08:59:05.874Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f31bcd3 [Pipeline] echo [2022-04-25T08:59:05.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T08:59:05.929Z] provisioning config files... [2022-04-25T08:59:05.939Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config3067802122522232797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T08:59:06.240Z] ---> docker-login.sh [2022-04-25T08:59:06.240Z] nexus3.edgexfoundry.org:10001 [2022-04-25T08:59:06.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T08:59:06.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T08:59:06.501Z] Configure a credential helper to remove this warning. See [2022-04-25T08:59:06.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T08:59:06.501Z] [2022-04-25T08:59:06.501Z] Login Succeeded [2022-04-25T08:59:06.501Z] nexus3.edgexfoundry.org:10002 [2022-04-25T08:59:06.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T08:59:06.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T08:59:06.761Z] Configure a credential helper to remove this warning. See [2022-04-25T08:59:06.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T08:59:06.761Z] [2022-04-25T08:59:06.761Z] Login Succeeded [2022-04-25T08:59:06.761Z] nexus3.edgexfoundry.org:10003 [2022-04-25T08:59:06.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T08:59:06.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T08:59:06.761Z] Configure a credential helper to remove this warning. See [2022-04-25T08:59:06.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T08:59:06.761Z] [2022-04-25T08:59:06.761Z] Login Succeeded [2022-04-25T08:59:06.761Z] nexus3.edgexfoundry.org:10004 [2022-04-25T08:59:06.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T08:59:07.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T08:59:07.022Z] Configure a credential helper to remove this warning. See [2022-04-25T08:59:07.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T08:59:07.022Z] [2022-04-25T08:59:07.022Z] Login Succeeded [2022-04-25T08:59:07.022Z] docker.io [2022-04-25T08:59:07.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T08:59:07.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T08:59:07.283Z] Configure a credential helper to remove this warning. See [2022-04-25T08:59:07.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T08:59:07.283Z] [2022-04-25T08:59:07.283Z] Login Succeeded [2022-04-25T08:59:07.283Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T08:59:07.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-25T08:59:07.665Z] + git rev-list -1 --merges f31bcd335f21dc9e4313880be9db495c50c61348~1..f31bcd335f21dc9e4313880be9db495c50c61348 [Pipeline] echo [2022-04-25T08:59:07.688Z] -----------> git rev-list -1 --merges f31bcd335f21dc9e4313880be9db495c50c61348~1..f31bcd335f21dc9e4313880be9db495c50c61348 f31bcd335f21dc9e4313880be9db495c50c61348 [false] [Pipeline] sh [2022-04-25T08:59:07.976Z] + git log --format=format:%s -1 f31bcd335f21dc9e4313880be9db495c50c61348 [Pipeline] echo [2022-04-25T08:59:07.991Z] ========================================================= [2022-04-25T08:59:07.991Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-25T08:59:07.991Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T08:59:08.329Z] + git log --format=format:%s -1 f31bcd335f21dc9e4313880be9db495c50c61348 [Pipeline] echo [2022-04-25T08:59:08.343Z] [semverPrep] GIT_COMMIT: f31bcd335f21dc9e4313880be9db495c50c61348, Commit Message: feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3 [Pipeline] echo [2022-04-25T08:59:08.352Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-25T08:59:08.790Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-25T08:59:08.790Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-25T08:59:08.790Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-25T08:59:08.790Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-25T08:59:08.790Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-25T08:59:08.790Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-25T08:59:08.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-25T08:59:09.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T08:59:09.206Z] [2022-04-25T08:59:09.206Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T08:59:09.506Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T08:59:09.507Z] latest: Pulling from edgex-devops/git-semver [2022-04-25T08:59:09.507Z] a0d0a0d46f8b: Pulling fs layer [2022-04-25T08:59:09.507Z] 3e5f54012d9b: Pulling fs layer [2022-04-25T08:59:09.507Z] 4c7163046ea9: Pulling fs layer [2022-04-25T08:59:09.507Z] 0c2d73faf560: Pulling fs layer [2022-04-25T08:59:09.507Z] 0c2d73faf560: Waiting [2022-04-25T08:59:09.507Z] 3e5f54012d9b: Download complete [2022-04-25T08:59:09.507Z] a0d0a0d46f8b: Download complete [2022-04-25T08:59:09.507Z] 0c2d73faf560: Verifying Checksum [2022-04-25T08:59:09.507Z] 0c2d73faf560: Download complete [2022-04-25T08:59:09.507Z] 4c7163046ea9: Verifying Checksum [2022-04-25T08:59:09.507Z] 4c7163046ea9: Download complete [2022-04-25T08:59:09.765Z] a0d0a0d46f8b: Pull complete [2022-04-25T08:59:09.765Z] 3e5f54012d9b: Pull complete [2022-04-25T08:59:10.024Z] 4c7163046ea9: Pull complete [2022-04-25T08:59:10.024Z] 0c2d73faf560: Pull complete [2022-04-25T08:59:10.024Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-25T08:59:10.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T08:59:10.024Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-25T08:59:10.099Z] prd-ubuntu20.04-docker-8c-8g-21946 does not seem to be running inside a container [2022-04-25T08:59:10.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-25T08:59:10.705Z] $ docker top 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-25T08:59:10.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T08:59:10.800Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T08:59:10.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T08:59:10.927Z] $ docker exec 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 ssh-agent [2022-04-25T08:59:11.065Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNFKLDf/agent.15 [2022-04-25T08:59:11.065Z] SSH_AGENT_PID=21 [2022-04-25T08:59:11.073Z] Running ssh-add (command line suppressed) [2022-04-25T08:59:11.187Z] Identity added: /w/workspace/_app-service-configurable_PR-407@tmp/private_key_393822624533805749.key (/w/workspace/_app-service-configurable_PR-407@tmp/private_key_393822624533805749.key) [2022-04-25T08:59:11.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T08:59:11.493Z] + git tag --points-at HEAD [Pipeline] } [2022-04-25T08:59:11.509Z] $ docker exec --env ******** --env ******** 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 ssh-agent -k [2022-04-25T08:59:11.619Z] unset SSH_AUTH_SOCK; [2022-04-25T08:59:11.619Z] unset SSH_AGENT_PID; [2022-04-25T08:59:11.619Z] echo Agent pid 21 killed; [2022-04-25T08:59:11.627Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-25T08:59:11.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T08:59:11.654Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T08:59:11.791Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T08:59:11.797Z] $ docker exec 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 ssh-agent [2022-04-25T08:59:11.919Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcIHIKG/agent.54 [2022-04-25T08:59:11.919Z] SSH_AGENT_PID=60 [2022-04-25T08:59:11.925Z] Running ssh-add (command line suppressed) [2022-04-25T08:59:12.048Z] Identity added: /w/workspace/_app-service-configurable_PR-407@tmp/private_key_5271315640704771364.key (/w/workspace/_app-service-configurable_PR-407@tmp/private_key_5271315640704771364.key) [2022-04-25T08:59:12.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T08:59:12.355Z] + git semver init [2022-04-25T08:59:12.356Z] # -> Open(): unable to determine branch for HEAD [2022-04-25T08:59:12.356Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-407/.git [2022-04-25T08:59:12.356Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-407 [2022-04-25T08:59:12.356Z] # $SEMVER_REMOTE_NAME = origin [2022-04-25T08:59:12.356Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-25T08:59:12.356Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-25T08:59:12.356Z] # $SEMVER_BRANCH = PR-407 [2022-04-25T08:59:12.356Z] # $SEMVER_TEMP = /tmp/semver-909499259 [2022-04-25T08:59:12.356Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-25T08:59:13.300Z] # '/tmp/semver-909499259' -> '/w/workspace/_app-service-configurable_PR-407/.semver' [2022-04-25T08:59:13.300Z] # -> Force: false [2022-04-25T08:59:13.300Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-407/.semver [Pipeline] } [2022-04-25T08:59:13.314Z] $ docker exec --env ******** --env ******** 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 ssh-agent -k [2022-04-25T08:59:13.427Z] unset SSH_AUTH_SOCK; [2022-04-25T08:59:13.427Z] unset SSH_AGENT_PID; [2022-04-25T08:59:13.427Z] echo Agent pid 60 killed; [2022-04-25T08:59:13.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-25T08:59:13.736Z] + git semver [Pipeline] } [2022-04-25T08:59:13.754Z] $ docker stop --time=1 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 [2022-04-25T08:59:15.094Z] $ docker rm -f 9d8708c3ab53817414e70ae534fe4d6196032e846c9c7ed04556b23f1992a490 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T08:59:15.445Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-25T08:59:15.666Z] Stashed 1 file(s) [Pipeline] echo [2022-04-25T08:59:15.670Z] [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-25T08:59:15.822Z] provisioning config files... [2022-04-25T08:59:15.832Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config5299581797509431041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T08:59:16.130Z] ---> docker-login.sh [2022-04-25T08:59:16.130Z] nexus3.edgexfoundry.org:10001 [2022-04-25T08:59:16.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T08:59:16.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T08:59:16.130Z] Configure a credential helper to remove this warning. See [2022-04-25T08:59:16.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T08:59:16.130Z] [2022-04-25T08:59:16.130Z] Login Succeeded [2022-04-25T08:59:16.130Z] nexus3.edgexfoundry.org:10002 [2022-04-25T08:59:16.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T08:59:16.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T08:59:16.390Z] Configure a credential helper to remove this warning. See [2022-04-25T08:59:16.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T08:59:16.390Z] [2022-04-25T08:59:16.390Z] Login Succeeded [2022-04-25T08:59:16.390Z] nexus3.edgexfoundry.org:10003 [2022-04-25T08:59:16.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T08:59:16.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T08:59:16.390Z] Configure a credential helper to remove this warning. See [2022-04-25T08:59:16.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T08:59:16.390Z] [2022-04-25T08:59:16.390Z] Login Succeeded [2022-04-25T08:59:16.390Z] nexus3.edgexfoundry.org:10004 [2022-04-25T08:59:16.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T08:59:16.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T08:59:16.650Z] Configure a credential helper to remove this warning. See [2022-04-25T08:59:16.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T08:59:16.650Z] [2022-04-25T08:59:16.650Z] Login Succeeded [2022-04-25T08:59:16.650Z] docker.io [2022-04-25T08:59:16.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T08:59:16.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T08:59:16.912Z] Configure a credential helper to remove this warning. See [2022-04-25T08:59:16.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T08:59:16.912Z] [2022-04-25T08:59:16.912Z] Login Succeeded [2022-04-25T08:59:16.912Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T08:59:16.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T08:59:16.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T08:59:16.996Z] ========================================================= [2022-04-25T08:59:16.996Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-25T08:59:16.996Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T08:59:17.310Z] + 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-25T08:59:17.310Z] Sending build context to Docker daemon 3.023MB [2022-04-25T08:59:17.310Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T08:59:17.310Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-25T08:59:17.310Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-25T08:59:17.310Z] 59bf1c3509f3: Pulling fs layer [2022-04-25T08:59:17.310Z] 666ba61612fd: Pulling fs layer [2022-04-25T08:59:17.310Z] 8ed8ca486205: Pulling fs layer [2022-04-25T08:59:17.310Z] 4fe6c5a15a65: Pulling fs layer [2022-04-25T08:59:17.310Z] 22a0e8bec74d: Pulling fs layer [2022-04-25T08:59:17.310Z] ca2b28591e48: Pulling fs layer [2022-04-25T08:59:17.310Z] a51346096db8: Pulling fs layer [2022-04-25T08:59:17.310Z] daebc70d1ce1: Pulling fs layer [2022-04-25T08:59:17.310Z] 0e18a0eac166: Pulling fs layer [2022-04-25T08:59:17.310Z] 22a0e8bec74d: Waiting [2022-04-25T08:59:17.310Z] ca2b28591e48: Waiting [2022-04-25T08:59:17.310Z] a51346096db8: Waiting [2022-04-25T08:59:17.310Z] daebc70d1ce1: Waiting [2022-04-25T08:59:17.310Z] 0e18a0eac166: Waiting [2022-04-25T08:59:17.310Z] 8ed8ca486205: Verifying Checksum [2022-04-25T08:59:17.310Z] 8ed8ca486205: Download complete [2022-04-25T08:59:17.310Z] 666ba61612fd: Verifying Checksum [2022-04-25T08:59:17.310Z] 666ba61612fd: Download complete [2022-04-25T08:59:17.310Z] 22a0e8bec74d: Download complete [2022-04-25T08:59:17.310Z] ca2b28591e48: Download complete [2022-04-25T08:59:17.310Z] 59bf1c3509f3: Verifying Checksum [2022-04-25T08:59:17.310Z] 59bf1c3509f3: Download complete [2022-04-25T08:59:17.310Z] a51346096db8: Verifying Checksum [2022-04-25T08:59:17.569Z] daebc70d1ce1: Verifying Checksum [2022-04-25T08:59:17.569Z] daebc70d1ce1: Download complete [2022-04-25T08:59:17.569Z] 59bf1c3509f3: Pull complete [2022-04-25T08:59:17.569Z] 666ba61612fd: Pull complete [2022-04-25T08:59:17.829Z] 8ed8ca486205: Pull complete [2022-04-25T08:59:18.088Z] 0e18a0eac166: Verifying Checksum [2022-04-25T08:59:18.088Z] 0e18a0eac166: Download complete [2022-04-25T08:59:18.088Z] 4fe6c5a15a65: Verifying Checksum [2022-04-25T08:59:18.088Z] 4fe6c5a15a65: Download complete [2022-04-25T08:59:22.285Z] 4fe6c5a15a65: Pull complete [2022-04-25T08:59:22.285Z] 22a0e8bec74d: Pull complete [2022-04-25T08:59:22.285Z] ca2b28591e48: Pull complete [2022-04-25T08:59:22.285Z] a51346096db8: Pull complete [2022-04-25T08:59:22.285Z] daebc70d1ce1: Pull complete [2022-04-25T08:59:24.191Z] 0e18a0eac166: Pull complete [2022-04-25T08:59:24.191Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-25T08:59:24.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-25T08:59:24.191Z] ---> f018257e8ee9 [2022-04-25T08:59:24.191Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-25T08:59:25.577Z] ---> Running in 479506c59965 [2022-04-25T08:59:25.577Z] Removing intermediate container 479506c59965 [2022-04-25T08:59:25.577Z] ---> 3eec5d9814ab [2022-04-25T08:59:25.577Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T08:59:25.577Z] ---> Running in 5b1d1cffa183 [2022-04-25T08:59:25.839Z] Removing intermediate container 5b1d1cffa183 [2022-04-25T08:59:25.839Z] ---> 053fd6db65a7 [2022-04-25T08:59:25.839Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-25T08:59:25.839Z] ---> Running in bdca3e123c85 [2022-04-25T08:59:25.839Z] Removing intermediate container bdca3e123c85 [2022-04-25T08:59:25.839Z] ---> 6d9ee9fd346a [2022-04-25T08:59:25.839Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T08:59:25.839Z] ---> Running in 751bdf6fbad0 [2022-04-25T08:59:26.416Z] Removing intermediate container 751bdf6fbad0 [2022-04-25T08:59:26.416Z] ---> e5ca21a49c53 [2022-04-25T08:59:26.416Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T08:59:26.677Z] ---> Running in 791d2f96e179 [2022-04-25T08:59:26.938Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T08:59:27.878Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T08:59:28.147Z] OK: 221 MiB in 52 packages [2022-04-25T08:59:28.407Z] Removing intermediate container 791d2f96e179 [2022-04-25T08:59:28.407Z] ---> d403ff14d312 [2022-04-25T08:59:28.407Z] Step 8/13 : WORKDIR /app [2022-04-25T08:59:28.407Z] ---> Running in 1910c1fbef6d [2022-04-25T08:59:28.407Z] Removing intermediate container 1910c1fbef6d [2022-04-25T08:59:28.407Z] ---> b89012d3f0ea [2022-04-25T08:59:28.407Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-25T08:59:28.667Z] ---> b41a12488dfa [2022-04-25T08:59:28.667Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T08:59:28.667Z] ---> Running in 4d9bfe749d5d [2022-04-25T08:59:30.775Z] Still waiting to schedule task [2022-04-25T08:59:30.775Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-25T08:59:46.781Z] Removing intermediate container 4d9bfe749d5d [2022-04-25T08:59:46.781Z] ---> adf77e1e2fee [2022-04-25T08:59:46.781Z] Step 11/13 : COPY . . [2022-04-25T08:59:46.781Z] ---> 4bcc3ca289a2 [2022-04-25T08:59:46.781Z] Step 12/13 : ARG MAKE="make build" [2022-04-25T08:59:46.781Z] ---> Running in 4ec45ee56a09 [2022-04-25T08:59:46.781Z] Removing intermediate container 4ec45ee56a09 [2022-04-25T08:59:46.781Z] ---> a0f81d6a4e4d [2022-04-25T08:59:46.781Z] Step 13/13 : RUN $MAKE [2022-04-25T08:59:46.781Z] ---> Running in 5c243c7d50b9 [2022-04-25T08:59:46.781Z] noop [2022-04-25T08:59:46.781Z] Removing intermediate container 5c243c7d50b9 [2022-04-25T08:59:46.781Z] ---> 21cd7b14d41d [2022-04-25T08:59:46.781Z] Successfully built 21cd7b14d41d [2022-04-25T08:59:46.781Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T08:59:47.077Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T08:59:47.077Z] . [Pipeline] withDockerContainer [2022-04-25T08:59:47.143Z] prd-ubuntu20.04-docker-8c-8g-21946 does not seem to be running inside a container [2022-04-25T08:59:47.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-25T08:59:47.578Z] $ docker top 110c6c2398a69897d08635192e193c4dd37e1b8225cd7b9b7dd6f80111faf712 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T08:59:47.931Z] + go version [2022-04-25T08:59:47.931Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-25T08:59:47.945Z] $ docker stop --time=1 110c6c2398a69897d08635192e193c4dd37e1b8225cd7b9b7dd6f80111faf712 [2022-04-25T08:59:49.236Z] $ docker rm -f 110c6c2398a69897d08635192e193c4dd37e1b8225cd7b9b7dd6f80111faf712 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T08:59:49.649Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T08:59:49.649Z] . [Pipeline] withDockerContainer [2022-04-25T08:59:49.716Z] prd-ubuntu20.04-docker-8c-8g-21946 does not seem to be running inside a container [2022-04-25T08:59:49.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-25T08:59:50.130Z] $ docker top 2a2a1b7516547c4dd9aaa0e35d9be745ec7581f6c179e22908cf6f270168d566 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T08:59:50.500Z] + make test [2022-04-25T08:59:50.501Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-25T09:00:00.483Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-25T09:00:00.483Z] CGO_ENABLED=1 go vet ./... [2022-04-25T09:00:03.086Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T09:00:03.086Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T09:00:03.086Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-25T09:00:03.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-25T09:00:03.415Z] $ docker stop --time=1 2a2a1b7516547c4dd9aaa0e35d9be745ec7581f6c179e22908cf6f270168d566 [2022-04-25T09:00:05.328Z] $ docker rm -f 2a2a1b7516547c4dd9aaa0e35d9be745ec7581f6c179e22908cf6f270168d566 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T09:00:05.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-25T09:00:05.783Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-25T09:00:06.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-25T09:00:07.111Z] + ls -al . [2022-04-25T09:00:07.111Z] total 164 [2022-04-25T09:00:07.111Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:00 . [2022-04-25T09:00:07.111Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 08:58 .. [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 25 08:58 .dockerignore [2022-04-25T09:00:07.111Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 08:59 .git [2022-04-25T09:00:07.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 08:58 .github [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 25 08:58 .gitignore [2022-04-25T09:00:07.111Z] drwx------ 3 jenkins jenkins 4096 Apr 25 08:59 .semver [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 25 08:58 Attribution.txt [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 25 08:58 CHANGELOG.md [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 25 08:58 Dockerfile [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 08:58 GOVERNANCE.md [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 25 08:58 Jenkinsfile [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 25 08:58 LICENSE [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 25 08:58 OWNERS.md [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 25 08:58 README.md [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 08:59 VERSION [2022-04-25T09:00:07.111Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 08:58 bin [2022-04-25T09:00:07.111Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 25 08:59 coverage.out [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 25 08:58 go.mod [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 34650 Apr 25 08:58 go.sum [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 25 08:58 main.go [2022-04-25T09:00:07.111Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 25 08:58 makefile [2022-04-25T09:00:07.111Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 08:58 res [2022-04-25T09:00:07.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 08:58 snap [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:00:07.409Z] + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f31bcd335f21dc9e4313880be9db495c50c61348 --label arch=amd64 --label version=0.0.0 . [2022-04-25T09:00:07.409Z] Sending build context to Docker daemon 3.024MB [2022-04-25T09:00:07.409Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:00:07.409Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-25T09:00:07.409Z] ---> 21cd7b14d41d [2022-04-25T09:00:07.409Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-25T09:00:07.409Z] ---> Running in 007a245f1776 [2022-04-25T09:00:07.670Z] Removing intermediate container 007a245f1776 [2022-04-25T09:00:07.670Z] ---> 77feccd7d988 [2022-04-25T09:00:07.670Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:00:07.670Z] ---> Running in 8de598d3363f [2022-04-25T09:00:07.670Z] Removing intermediate container 8de598d3363f [2022-04-25T09:00:07.670Z] ---> 92c1e93cf2ac [2022-04-25T09:00:07.670Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-25T09:00:07.670Z] ---> Running in 12c1c6627dbf [2022-04-25T09:00:07.930Z] Removing intermediate container 12c1c6627dbf [2022-04-25T09:00:07.930Z] ---> 3bb3c115dd2e [2022-04-25T09:00:07.930Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:00:07.930Z] ---> Running in e044acc18468 [2022-04-25T09:00:08.502Z] Removing intermediate container e044acc18468 [2022-04-25T09:00:08.502Z] ---> 395619a0d302 [2022-04-25T09:00:08.502Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:00:08.502Z] ---> Running in 44b86b9d196e [2022-04-25T09:00:08.764Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T09:00:09.706Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T09:00:09.966Z] OK: 221 MiB in 52 packages [2022-04-25T09:00:10.538Z] Removing intermediate container 44b86b9d196e [2022-04-25T09:00:10.538Z] ---> f6416b5d3ef5 [2022-04-25T09:00:10.538Z] Step 8/27 : WORKDIR /app [2022-04-25T09:00:10.538Z] ---> Running in 412576164fed [2022-04-25T09:00:10.538Z] Removing intermediate container 412576164fed [2022-04-25T09:00:10.538Z] ---> 0a46d1f63af9 [2022-04-25T09:00:10.538Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-25T09:00:10.799Z] ---> eac606425287 [2022-04-25T09:00:10.799Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:00:10.799Z] ---> Running in 43ff9ea41a39 [2022-04-25T09:00:11.371Z] Removing intermediate container 43ff9ea41a39 [2022-04-25T09:00:11.371Z] ---> 5374c0c1b91a [2022-04-25T09:00:11.371Z] Step 11/27 : COPY . . [2022-04-25T09:00:11.632Z] ---> 929143a062bf [2022-04-25T09:00:11.632Z] Step 12/27 : ARG MAKE="make build" [2022-04-25T09:00:11.632Z] ---> Running in 30ef0530169e [2022-04-25T09:00:11.893Z] Removing intermediate container 30ef0530169e [2022-04-25T09:00:11.893Z] ---> ab89e6a18525 [2022-04-25T09:00:11.893Z] Step 13/27 : RUN $MAKE [2022-04-25T09:00:11.893Z] ---> Running in d1120e97ffcd [2022-04-25T09:00:12.152Z] 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-25T09:00:34.114Z] Removing intermediate container d1120e97ffcd [2022-04-25T09:00:34.114Z] ---> 1f3c5a85da6d [2022-04-25T09:00:34.114Z] Step 14/27 : FROM alpine:3.14 [2022-04-25T09:00:34.114Z] 3.14: Pulling from library/alpine [2022-04-25T09:00:34.114Z] 8663204ce13b: Pulling fs layer [2022-04-25T09:00:34.114Z] 8663204ce13b: Verifying Checksum [2022-04-25T09:00:34.114Z] 8663204ce13b: Download complete [2022-04-25T09:00:34.114Z] 8663204ce13b: Pull complete [2022-04-25T09:00:34.114Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-25T09:00:34.114Z] Status: Downloaded newer image for alpine:3.14 [2022-04-25T09:00:34.114Z] ---> e04c818066af [2022-04-25T09:00:34.114Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-25T09:00:34.114Z] ---> Running in bff91132ae68 [2022-04-25T09:00:34.114Z] Removing intermediate container bff91132ae68 [2022-04-25T09:00:34.114Z] ---> 9108252a254f [2022-04-25T09:00:34.114Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-25T09:00:34.114Z] ---> Running in 06b6e3972aa9 [2022-04-25T09:00:34.114Z] Removing intermediate container 06b6e3972aa9 [2022-04-25T09:00:34.114Z] ---> c75bbaa42566 [2022-04-25T09:00:34.114Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-25T09:00:34.114Z] ---> Running in b49e539307d2 [2022-04-25T09:00:34.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-25T09:00:34.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-25T09:00:34.114Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-25T09:00:34.114Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-25T09:00:34.114Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-25T09:00:34.114Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-25T09:00:34.114Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-25T09:00:34.114Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-25T09:00:34.114Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-25T09:00:34.114Z] Executing busybox-1.33.1-r7.trigger [2022-04-25T09:00:34.114Z] Executing ca-certificates-20211220-r0.trigger [2022-04-25T09:00:34.115Z] OK: 9 MiB in 21 packages [2022-04-25T09:00:34.374Z] Removing intermediate container b49e539307d2 [2022-04-25T09:00:34.374Z] ---> 6b1c524b6b1b [2022-04-25T09:00:34.374Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-25T09:00:34.374Z] ---> eec78daa835d [2022-04-25T09:00:34.374Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-25T09:00:34.634Z] ---> ececa26f2db0 [2022-04-25T09:00:34.634Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-25T09:00:34.634Z] ---> 145fad8d23a6 [2022-04-25T09:00:34.634Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-25T09:00:35.203Z] ---> 68ff9dcbbaf7 [2022-04-25T09:00:35.203Z] Step 22/27 : EXPOSE 48095 [2022-04-25T09:00:35.203Z] ---> Running in 9bc918dd7dbb [2022-04-25T09:00:35.465Z] Removing intermediate container 9bc918dd7dbb [2022-04-25T09:00:35.465Z] ---> 36a94ab10f17 [2022-04-25T09:00:35.465Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-25T09:00:35.465Z] ---> Running in e54fce381a37 [2022-04-25T09:00:35.465Z] Removing intermediate container e54fce381a37 [2022-04-25T09:00:35.465Z] ---> 22b3362c0a57 [2022-04-25T09:00:35.465Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-25T09:00:35.465Z] ---> Running in ab517142c5b5 [2022-04-25T09:00:35.727Z] Removing intermediate container ab517142c5b5 [2022-04-25T09:00:35.727Z] ---> 25821a93644f [2022-04-25T09:00:35.727Z] Step 25/27 : LABEL arch=amd64 [2022-04-25T09:00:35.727Z] ---> Running in b68feed6ee01 [2022-04-25T09:00:35.727Z] Removing intermediate container b68feed6ee01 [2022-04-25T09:00:35.727Z] ---> 50dd86ca271f [2022-04-25T09:00:35.727Z] Step 26/27 : LABEL git_sha=f31bcd335f21dc9e4313880be9db495c50c61348 [2022-04-25T09:00:35.727Z] ---> Running in 057f0e2c4e89 [2022-04-25T09:00:35.988Z] Removing intermediate container 057f0e2c4e89 [2022-04-25T09:00:35.988Z] ---> acd6eac55982 [2022-04-25T09:00:35.988Z] Step 27/27 : LABEL version=0.0.0 [2022-04-25T09:00:35.988Z] ---> Running in 072d7633eca8 [2022-04-25T09:00:35.988Z] Removing intermediate container 072d7633eca8 [2022-04-25T09:00:35.988Z] ---> c7fae94cca98 [2022-04-25T09:00:35.988Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-25T09:00:35.988Z] Successfully built c7fae94cca98 [2022-04-25T09:00:35.988Z] 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-25T09:00:36.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:00:36.420Z] [2022-04-25T09:00:36.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:00:36.725Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:00:36.726Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-25T09:00:36.726Z] 5eb5b503b376: Pulling fs layer [2022-04-25T09:00:36.726Z] 5c69ac0246d0: Pulling fs layer [2022-04-25T09:00:36.726Z] ec43610c2a17: Pulling fs layer [2022-04-25T09:00:36.726Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-25T09:00:36.726Z] 33b1e0a273af: Pulling fs layer [2022-04-25T09:00:36.726Z] 5d3b04190fa2: Pulling fs layer [2022-04-25T09:00:36.726Z] 2f39f015ded8: Pulling fs layer [2022-04-25T09:00:36.726Z] 2f39f015ded8: Waiting [2022-04-25T09:00:36.726Z] 5d3b04190fa2: Waiting [2022-04-25T09:00:36.726Z] 3a2ae6a8a46f: Waiting [2022-04-25T09:00:36.726Z] 5c69ac0246d0: Verifying Checksum [2022-04-25T09:00:36.726Z] 5c69ac0246d0: Download complete [2022-04-25T09:00:36.726Z] 3a2ae6a8a46f: Download complete [2022-04-25T09:00:36.726Z] 33b1e0a273af: Verifying Checksum [2022-04-25T09:00:36.726Z] 33b1e0a273af: Download complete [2022-04-25T09:00:36.726Z] ec43610c2a17: Verifying Checksum [2022-04-25T09:00:36.726Z] ec43610c2a17: Download complete [2022-04-25T09:00:36.726Z] 5d3b04190fa2: Verifying Checksum [2022-04-25T09:00:36.726Z] 5d3b04190fa2: Download complete [2022-04-25T09:00:36.986Z] 5eb5b503b376: Verifying Checksum [2022-04-25T09:00:36.986Z] 5eb5b503b376: Download complete [2022-04-25T09:00:37.554Z] 2f39f015ded8: Download complete [2022-04-25T09:00:38.492Z] 5eb5b503b376: Pull complete [2022-04-25T09:00:38.492Z] 5c69ac0246d0: Pull complete [2022-04-25T09:00:39.060Z] ec43610c2a17: Pull complete [2022-04-25T09:00:39.060Z] 3a2ae6a8a46f: Pull complete [2022-04-25T09:00:39.320Z] 33b1e0a273af: Pull complete [2022-04-25T09:00:39.320Z] 5d3b04190fa2: Pull complete [2022-04-25T09:00:44.594Z] 2f39f015ded8: Pull complete [2022-04-25T09:00:44.594Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-25T09:00:44.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:00:44.594Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-25T09:00:44.662Z] prd-ubuntu20.04-docker-8c-8g-21946 does not seem to be running inside a container [2022-04-25T09:00:44.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-25T09:00:46.270Z] $ docker top d205830fc8553baa8a52ab3669561afac210eba1a6daeed7548818fdfca8d3e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:00:46.717Z] ---> job-cost.sh [2022-04-25T09:00:46.717Z] lf-activate-venv: SKIPPING [2022-04-25T09:00:46.717Z] INFO: No Stack... [2022-04-25T09:00:46.977Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T09:00:47.546Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T09:00:47.839Z] + cat /w/workspace/_app-service-configurable_PR-407/archives/cost.csv [2022-04-25T09:00:47.839Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T09:00:47.860Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] [2022-04-25T09:00:47.867Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] did not exist. Created. [2022-04-25T09:00:47.867Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T09:00:48.171Z] + echo total: 0.8799999952316284 [Pipeline] stash [2022-04-25T09:00:48.206Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T09:00:48.213Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T09:00:48.237Z] $ docker stop --time=1 d205830fc8553baa8a52ab3669561afac210eba1a6daeed7548818fdfca8d3e9 [2022-04-25T09:00:49.408Z] $ docker rm -f d205830fc8553baa8a52ab3669561afac210eba1a6daeed7548818fdfca8d3e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T09:01:09.517Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21954 in /w/workspace/_app-service-configurable_PR-407 [Pipeline] { [Pipeline] ws [2022-04-25T09:01:09.528Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2022-04-25T09:01:09.825Z] Selected Git installation does not exist. Using Default [2022-04-25T09:01:09.825Z] The recommended git tool is: NONE [2022-04-25T09:01:16.386Z] using credential edgex-jenkins-ssh [2022-04-25T09:01:16.406Z] Cloning the remote Git repository [2022-04-25T09:01:16.467Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-25T09:01:16.551Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2022-04-25T09:01:16.616Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-25T09:01:16.617Z] > git --version # timeout=10 [2022-04-25T09:01:16.633Z] > git --version # 'git version 2.25.1' [2022-04-25T09:01:16.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T09:01:16.748Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T09:01:18.497Z] Merging remotes/origin/main commit 1a526f114784ef26915ff80fd995ea89bcf8e607 into PR head commit f31bcd335f21dc9e4313880be9db495c50c61348 [2022-04-25T09:01:18.716Z] Merge succeeded, producing f31bcd335f21dc9e4313880be9db495c50c61348 [2022-04-25T09:01:18.716Z] Checking out Revision f31bcd335f21dc9e4313880be9db495c50c61348 (PR-407) [2022-04-25T09:01:17.805Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-25T09:01:17.822Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T09:01:17.854Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-25T09:01:17.889Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-25T09:01:17.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T09:01:17.903Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-25T09:01:18.520Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T09:01:18.551Z] > git checkout -f f31bcd335f21dc9e4313880be9db495c50c61348 # timeout=10 [2022-04-25T09:01:18.631Z] > git remote # timeout=10 [2022-04-25T09:01:18.650Z] > git config --get remote.origin.url # timeout=10 [2022-04-25T09:01:18.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T09:01:18.675Z] > git merge 1a526f114784ef26915ff80fd995ea89bcf8e607 # timeout=10 [2022-04-25T09:01:18.700Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-25T09:01:18.729Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T09:01:18.748Z] > git checkout -f f31bcd335f21dc9e4313880be9db495c50c61348 # timeout=10 [2022-04-25T09:01:22.856Z] Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T09:01:23.817Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-25T09:01:23.817Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T09:01:23.817Z] Dload Upload Total Spent Left Speed [2022-04-25T09:01:23.817Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85818 0 --:--:-- --:--:-- --:--:-- 86445 [Pipeline] sh [2022-04-25T09:01:24.338Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-25T09:01:24.684Z] + sudo tee /etc/docker/daemon.new [2022-04-25T09:01:24.684Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-25T09:01:24.684Z] { [2022-04-25T09:01:24.684Z] "registry-mirrors": [ [2022-04-25T09:01:24.684Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-25T09:01:24.684Z] ], [2022-04-25T09:01:24.684Z] "bip": "10.250.0.254/24", [2022-04-25T09:01:24.684Z] "hosts": [ [2022-04-25T09:01:24.684Z] "tcp://0.0.0.0:5555", [2022-04-25T09:01:24.684Z] "unix:///var/run/docker.sock" [2022-04-25T09:01:24.684Z] ], [2022-04-25T09:01:24.684Z] "mtu": 1458, [2022-04-25T09:01:24.684Z] "selinux-enabled": true, [2022-04-25T09:01:24.684Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-25T09:01:24.684Z] } [Pipeline] sh [2022-04-25T09:01:25.031Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-25T09:01:25.491Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T09:01:43.828Z] provisioning config files... [2022-04-25T09:01:43.851Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config1580493402114038283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:01:44.211Z] ---> docker-login.sh [2022-04-25T09:01:44.212Z] nexus3.edgexfoundry.org:10001 [2022-04-25T09:01:44.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:01:45.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:01:45.083Z] Configure a credential helper to remove this warning. See [2022-04-25T09:01:45.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:01:45.083Z] [2022-04-25T09:01:45.083Z] Login Succeeded [2022-04-25T09:01:45.083Z] nexus3.edgexfoundry.org:10002 [2022-04-25T09:01:45.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:01:45.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:01:45.629Z] Configure a credential helper to remove this warning. See [2022-04-25T09:01:45.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:01:45.629Z] [2022-04-25T09:01:45.629Z] Login Succeeded [2022-04-25T09:01:45.629Z] nexus3.edgexfoundry.org:10003 [2022-04-25T09:01:45.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:01:45.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:01:45.903Z] Configure a credential helper to remove this warning. See [2022-04-25T09:01:45.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:01:45.903Z] [2022-04-25T09:01:45.903Z] Login Succeeded [2022-04-25T09:01:45.903Z] nexus3.edgexfoundry.org:10004 [2022-04-25T09:01:46.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:01:46.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:01:46.464Z] Configure a credential helper to remove this warning. See [2022-04-25T09:01:46.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:01:46.464Z] [2022-04-25T09:01:46.464Z] Login Succeeded [2022-04-25T09:01:46.464Z] docker.io [2022-04-25T09:01:46.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:01:47.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:01:47.334Z] Configure a credential helper to remove this warning. See [2022-04-25T09:01:47.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:01:47.334Z] [2022-04-25T09:01:47.334Z] Login Succeeded [2022-04-25T09:01:47.334Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T09:01:47.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T09:01:47.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T09:01:47.894Z] ========================================================= [2022-04-25T09:01:47.894Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-25T09:01:47.894Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:01:48.238Z] + 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-25T09:01:48.238Z] Sending build context to Docker daemon 198.7kB [2022-04-25T09:01:48.511Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:01:48.511Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-25T09:01:48.804Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-25T09:01:48.804Z] 9b3977197b4f: Pulling fs layer [2022-04-25T09:01:48.804Z] 1a89e8eeedd5: Pulling fs layer [2022-04-25T09:01:48.804Z] 94645a83ff95: Pulling fs layer [2022-04-25T09:01:48.804Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-25T09:01:48.804Z] 0c92f367c5e7: Pulling fs layer [2022-04-25T09:01:48.804Z] 3096ccb668a1: Pulling fs layer [2022-04-25T09:01:48.804Z] e8cf19c19ddd: Pulling fs layer [2022-04-25T09:01:48.804Z] a4caa8a26152: Pulling fs layer [2022-04-25T09:01:48.804Z] 3f3a8bcf1eab: Waiting [2022-04-25T09:01:48.804Z] 0c92f367c5e7: Waiting [2022-04-25T09:01:48.804Z] 3096ccb668a1: Waiting [2022-04-25T09:01:48.804Z] e8cf19c19ddd: Waiting [2022-04-25T09:01:48.804Z] a4caa8a26152: Waiting [2022-04-25T09:01:48.804Z] 94645a83ff95: Verifying Checksum [2022-04-25T09:01:48.804Z] 94645a83ff95: Download complete [2022-04-25T09:01:48.804Z] 1a89e8eeedd5: Download complete [2022-04-25T09:01:48.804Z] 0c92f367c5e7: Verifying Checksum [2022-04-25T09:01:48.804Z] 0c92f367c5e7: Download complete [2022-04-25T09:01:48.804Z] 3096ccb668a1: Verifying Checksum [2022-04-25T09:01:48.804Z] 3096ccb668a1: Download complete [2022-04-25T09:01:48.804Z] 9b3977197b4f: Verifying Checksum [2022-04-25T09:01:48.804Z] 9b3977197b4f: Download complete [2022-04-25T09:01:48.804Z] e8cf19c19ddd: Verifying Checksum [2022-04-25T09:01:48.804Z] e8cf19c19ddd: Download complete [2022-04-25T09:01:49.801Z] 9b3977197b4f: Pull complete [2022-04-25T09:01:50.081Z] 1a89e8eeedd5: Pull complete [2022-04-25T09:01:50.362Z] 94645a83ff95: Pull complete [2022-04-25T09:01:50.963Z] a4caa8a26152: Verifying Checksum [2022-04-25T09:01:50.963Z] a4caa8a26152: Download complete [2022-04-25T09:01:51.560Z] 3f3a8bcf1eab: Download complete [2022-04-25T09:02:03.979Z] 3f3a8bcf1eab: Pull complete [2022-04-25T09:02:03.979Z] 0c92f367c5e7: Pull complete [2022-04-25T09:02:03.979Z] 3096ccb668a1: Pull complete [2022-04-25T09:02:03.979Z] e8cf19c19ddd: Pull complete [2022-04-25T09:02:10.706Z] a4caa8a26152: Pull complete [2022-04-25T09:02:10.706Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-25T09:02:10.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-25T09:02:10.706Z] ---> 725f1c02e7f9 [2022-04-25T09:02:10.706Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-25T09:02:11.307Z] ---> Running in 7d34322c4fff [2022-04-25T09:02:11.584Z] Removing intermediate container 7d34322c4fff [2022-04-25T09:02:11.584Z] ---> 7d0a7c6caf3b [2022-04-25T09:02:11.584Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:02:11.858Z] ---> Running in f426c7a36ea5 [2022-04-25T09:02:12.131Z] Removing intermediate container f426c7a36ea5 [2022-04-25T09:02:12.131Z] ---> 56e0fed7ad5c [2022-04-25T09:02:12.131Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-25T09:02:12.131Z] ---> Running in c8cde7eda0cf [2022-04-25T09:02:12.408Z] Removing intermediate container c8cde7eda0cf [2022-04-25T09:02:12.408Z] ---> 6018f6fcbe37 [2022-04-25T09:02:12.408Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:02:12.408Z] ---> Running in ed40f6118507 [2022-04-25T09:02:14.394Z] Removing intermediate container ed40f6118507 [2022-04-25T09:02:14.395Z] ---> b3483d0a0cc5 [2022-04-25T09:02:14.395Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:02:14.395Z] ---> Running in b37813d2ce15 [2022-04-25T09:02:15.377Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T09:02:16.354Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T09:02:16.961Z] OK: 220 MiB in 52 packages [2022-04-25T09:02:17.971Z] Removing intermediate container b37813d2ce15 [2022-04-25T09:02:17.971Z] ---> 84dfe7c7218b [2022-04-25T09:02:17.971Z] Step 8/13 : WORKDIR /app [2022-04-25T09:02:17.971Z] ---> Running in ad89de4cc5eb [2022-04-25T09:02:18.567Z] Removing intermediate container ad89de4cc5eb [2022-04-25T09:02:18.567Z] ---> 3c22320cb036 [2022-04-25T09:02:18.567Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-25T09:02:18.841Z] ---> c1ef34376eb2 [2022-04-25T09:02:18.841Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:02:19.121Z] ---> Running in d06fe194d39e [2022-04-25T09:03:06.127Z] Removing intermediate container d06fe194d39e [2022-04-25T09:03:06.127Z] ---> 15161409a662 [2022-04-25T09:03:06.127Z] Step 11/13 : COPY . . [2022-04-25T09:03:06.127Z] ---> 5dc88ed77d63 [2022-04-25T09:03:06.127Z] Step 12/13 : ARG MAKE="make build" [2022-04-25T09:03:06.127Z] ---> Running in e92c00799e00 [2022-04-25T09:03:06.127Z] Removing intermediate container e92c00799e00 [2022-04-25T09:03:06.127Z] ---> 2cb61e06a985 [2022-04-25T09:03:06.127Z] Step 13/13 : RUN $MAKE [2022-04-25T09:03:06.127Z] ---> Running in 075b8ed52171 [2022-04-25T09:03:06.127Z] noop [2022-04-25T09:03:06.127Z] Removing intermediate container 075b8ed52171 [2022-04-25T09:03:06.127Z] ---> 49e6f7329178 [2022-04-25T09:03:06.127Z] Successfully built 49e6f7329178 [2022-04-25T09:03:06.127Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:03:06.493Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T09:03:06.493Z] . [Pipeline] withDockerContainer [2022-04-25T09:03:06.740Z] prd-ubuntu20.04-docker-arm64-4c-16g-21954 does not seem to be running inside a container [2022-04-25T09:03:06.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-25T09:03:08.045Z] $ docker top 8d35add137ac79bc699ae692a700bb97e4ebc7f7b95198199754e78448c4eb05 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T09:03:08.928Z] + go version [2022-04-25T09:03:08.928Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-25T09:03:08.957Z] $ docker stop --time=1 8d35add137ac79bc699ae692a700bb97e4ebc7f7b95198199754e78448c4eb05 [2022-04-25T09:03:10.571Z] $ docker rm -f 8d35add137ac79bc699ae692a700bb97e4ebc7f7b95198199754e78448c4eb05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:03:11.157Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T09:03:11.157Z] . [Pipeline] withDockerContainer [2022-04-25T09:03:11.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-21954 does not seem to be running inside a container [2022-04-25T09:03:11.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-25T09:03:12.669Z] $ docker top 3e7201a35d63b23bb4ace37387886ba5dc8bc893a8b4e0505b8c1cd4d0059242 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T09:03:13.566Z] + make test [2022-04-25T09:03:13.566Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-25T09:04:35.387Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-25T09:04:35.387Z] CGO_ENABLED=1 go vet ./... [2022-04-25T09:04:53.776Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T09:04:53.776Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T09:04:53.776Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-25T09:04:55.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-25T09:04:55.248Z] $ docker stop --time=1 3e7201a35d63b23bb4ace37387886ba5dc8bc893a8b4e0505b8c1cd4d0059242 [2022-04-25T09:04:57.011Z] $ docker rm -f 3e7201a35d63b23bb4ace37387886ba5dc8bc893a8b4e0505b8c1cd4d0059242 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T09:04:57.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-25T09:04:57.981Z] Warning: overwriting stash ‘coverage-report’ [2022-04-25T09:04:58.440Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T09:04:58.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-25T09:04:59.184Z] + ls -al . [2022-04-25T09:04:59.184Z] total 160 [2022-04-25T09:04:59.184Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 25 09:04 . [2022-04-25T09:04:59.184Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:01 .. [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 25 09:01 .dockerignore [2022-04-25T09:04:59.184Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:01 .git [2022-04-25T09:04:59.184Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:01 .github [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 25 09:01 .gitignore [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 8695 Apr 25 09:01 Attribution.txt [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 25 09:01 CHANGELOG.md [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 25 09:01 Dockerfile [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:01 GOVERNANCE.md [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 25 09:01 Jenkinsfile [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 25 09:01 LICENSE [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 25 09:01 OWNERS.md [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 25 09:01 README.md [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 08:59 VERSION [2022-04-25T09:04:59.184Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:01 bin [2022-04-25T09:04:59.184Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 25 09:03 coverage.out [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 3268 Apr 25 09:01 go.mod [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 34650 Apr 25 09:01 go.sum [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 25 09:01 main.go [2022-04-25T09:04:59.184Z] -rw-rw-r-- 1 jenkins jenkins 2007 Apr 25 09:01 makefile [2022-04-25T09:04:59.184Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:01 res [2022-04-25T09:04:59.184Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:01 snap [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:04:59.529Z] + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f31bcd335f21dc9e4313880be9db495c50c61348 --label arch=arm64 --label version=0.0.0 . [2022-04-25T09:04:59.529Z] Sending build context to Docker daemon 199.7kB [2022-04-25T09:04:59.804Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:04:59.804Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-25T09:04:59.804Z] ---> 49e6f7329178 [2022-04-25T09:04:59.804Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-25T09:05:00.077Z] ---> Running in e774829b23b4 [2022-04-25T09:05:00.353Z] Removing intermediate container e774829b23b4 [2022-04-25T09:05:00.353Z] ---> 254edc94acff [2022-04-25T09:05:00.353Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:05:00.353Z] ---> Running in f6bda28c3c0e [2022-04-25T09:05:00.629Z] Removing intermediate container f6bda28c3c0e [2022-04-25T09:05:00.629Z] ---> 583219d5bfcd [2022-04-25T09:05:00.629Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-25T09:05:00.905Z] ---> Running in fe177acdccca [2022-04-25T09:05:01.194Z] Removing intermediate container fe177acdccca [2022-04-25T09:05:01.194Z] ---> 92e2302268e4 [2022-04-25T09:05:01.194Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:05:01.194Z] ---> Running in 9920f04dc4e5 [2022-04-25T09:05:03.173Z] Removing intermediate container 9920f04dc4e5 [2022-04-25T09:05:03.173Z] ---> e733b8ca766a [2022-04-25T09:05:03.173Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:05:03.173Z] ---> Running in 5cc5c05197a3 [2022-04-25T09:05:04.153Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T09:05:04.748Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T09:05:05.729Z] OK: 220 MiB in 52 packages [2022-04-25T09:05:06.714Z] Removing intermediate container 5cc5c05197a3 [2022-04-25T09:05:06.715Z] ---> 2385f0e9d8ed [2022-04-25T09:05:06.715Z] Step 8/27 : WORKDIR /app [2022-04-25T09:05:06.715Z] ---> Running in 5426a2b1e2f1 [2022-04-25T09:05:06.990Z] Removing intermediate container 5426a2b1e2f1 [2022-04-25T09:05:06.990Z] ---> a935731a40ce [2022-04-25T09:05:06.990Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-25T09:05:07.593Z] ---> 7080885c798e [2022-04-25T09:05:07.593Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:05:07.867Z] ---> Running in 81636e5a9cc1 [2022-04-25T09:05:09.851Z] Removing intermediate container 81636e5a9cc1 [2022-04-25T09:05:09.851Z] ---> 0cd5d573ce17 [2022-04-25T09:05:09.851Z] Step 11/27 : COPY . . [2022-04-25T09:05:10.450Z] ---> 6ead4855abd6 [2022-04-25T09:05:10.450Z] Step 12/27 : ARG MAKE="make build" [2022-04-25T09:05:10.450Z] ---> Running in 60b0e2f8125a [2022-04-25T09:05:10.723Z] Removing intermediate container 60b0e2f8125a [2022-04-25T09:05:10.723Z] ---> 1e2a4f2c82d7 [2022-04-25T09:05:10.723Z] Step 13/27 : RUN $MAKE [2022-04-25T09:05:11.014Z] ---> Running in 2e1c03a61db0 [2022-04-25T09:05:11.997Z] 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-25T09:07:18.892Z] Removing intermediate container 2e1c03a61db0 [2022-04-25T09:07:18.892Z] ---> c15880fcc2b7 [2022-04-25T09:07:18.892Z] Step 14/27 : FROM alpine:3.14 [2022-04-25T09:07:18.892Z] 3.14: Pulling from library/alpine [2022-04-25T09:07:18.892Z] 455c02918c45: Pulling fs layer [2022-04-25T09:07:18.892Z] 455c02918c45: Verifying Checksum [2022-04-25T09:07:18.892Z] 455c02918c45: Download complete [2022-04-25T09:07:18.892Z] 455c02918c45: Pull complete [2022-04-25T09:07:18.892Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-25T09:07:18.892Z] Status: Downloaded newer image for alpine:3.14 [2022-04-25T09:07:18.892Z] ---> ac73e934f311 [2022-04-25T09:07:18.892Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-25T09:07:18.892Z] ---> Running in f81a1c60122b [2022-04-25T09:07:18.892Z] Removing intermediate container f81a1c60122b [2022-04-25T09:07:18.892Z] ---> fd7617b9e695 [2022-04-25T09:07:18.892Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-25T09:07:18.892Z] ---> Running in 8928588f15d5 [2022-04-25T09:07:18.892Z] Removing intermediate container 8928588f15d5 [2022-04-25T09:07:18.892Z] ---> 9371e9a3465e [2022-04-25T09:07:18.892Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-25T09:07:18.892Z] ---> Running in 339d20428f9a [2022-04-25T09:07:18.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-25T09:07:18.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-25T09:07:18.892Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-25T09:07:18.892Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-25T09:07:18.892Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-25T09:07:18.892Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-25T09:07:18.892Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-25T09:07:18.892Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-25T09:07:18.892Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-25T09:07:18.892Z] Executing busybox-1.33.1-r7.trigger [2022-04-25T09:07:18.892Z] Executing ca-certificates-20211220-r0.trigger [2022-04-25T09:07:18.892Z] OK: 9 MiB in 21 packages [2022-04-25T09:07:19.499Z] Removing intermediate container 339d20428f9a [2022-04-25T09:07:19.499Z] ---> c58ed7620487 [2022-04-25T09:07:19.499Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-25T09:07:20.097Z] ---> d477c43185d2 [2022-04-25T09:07:20.097Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-25T09:07:20.698Z] ---> b376bff73bbf [2022-04-25T09:07:20.698Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-25T09:07:21.295Z] ---> 5c9966501e8e [2022-04-25T09:07:21.295Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-25T09:07:23.274Z] ---> 11b27b8c12a1 [2022-04-25T09:07:23.274Z] Step 22/27 : EXPOSE 48095 [2022-04-25T09:07:23.274Z] ---> Running in c720bd30ac80 [2022-04-25T09:07:23.274Z] Removing intermediate container c720bd30ac80 [2022-04-25T09:07:23.274Z] ---> eb5566de60cb [2022-04-25T09:07:23.274Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-25T09:07:23.274Z] ---> Running in bf5575e137c3 [2022-04-25T09:07:23.560Z] Removing intermediate container bf5575e137c3 [2022-04-25T09:07:23.560Z] ---> 751e3073186c [2022-04-25T09:07:23.560Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-25T09:07:23.832Z] ---> Running in e25c9c66639d [2022-04-25T09:07:24.106Z] Removing intermediate container e25c9c66639d [2022-04-25T09:07:24.106Z] ---> 745b55061c0d [2022-04-25T09:07:24.106Z] Step 25/27 : LABEL arch=arm64 [2022-04-25T09:07:24.106Z] ---> Running in ea88a16546fd [2022-04-25T09:07:24.382Z] Removing intermediate container ea88a16546fd [2022-04-25T09:07:24.382Z] ---> a6c708c83ed5 [2022-04-25T09:07:24.382Z] Step 26/27 : LABEL git_sha=f31bcd335f21dc9e4313880be9db495c50c61348 [2022-04-25T09:07:24.382Z] ---> Running in a87a4c8780a6 [2022-04-25T09:07:24.993Z] Removing intermediate container a87a4c8780a6 [2022-04-25T09:07:24.993Z] ---> b8d4e8899607 [2022-04-25T09:07:24.993Z] Step 27/27 : LABEL version=0.0.0 [2022-04-25T09:07:24.993Z] ---> Running in 230c4b19273e [2022-04-25T09:07:25.266Z] Removing intermediate container 230c4b19273e [2022-04-25T09:07:25.266Z] ---> 97afabde3bcf [2022-04-25T09:07:25.266Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-25T09:07:25.266Z] Successfully built 97afabde3bcf [2022-04-25T09:07:25.266Z] 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-25T09:07:25.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T09:07:25.676Z] [2022-04-25T09:07:25.676Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:07:26.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T09:07:26.309Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-25T09:07:26.309Z] 8998bd30e6a1: Pulling fs layer [2022-04-25T09:07:26.309Z] 04944245beec: Pulling fs layer [2022-04-25T09:07:26.309Z] 699f458cf7ca: Pulling fs layer [2022-04-25T09:07:26.309Z] 765212b225bb: Pulling fs layer [2022-04-25T09:07:26.309Z] f23df028b6ca: Pulling fs layer [2022-04-25T09:07:26.309Z] d65c8cfc05b1: Pulling fs layer [2022-04-25T09:07:26.309Z] 2437ff75d9bd: Pulling fs layer [2022-04-25T09:07:26.309Z] 765212b225bb: Waiting [2022-04-25T09:07:26.309Z] f23df028b6ca: Waiting [2022-04-25T09:07:26.309Z] d65c8cfc05b1: Waiting [2022-04-25T09:07:26.309Z] 2437ff75d9bd: Waiting [2022-04-25T09:07:26.309Z] 04944245beec: Download complete [2022-04-25T09:07:26.309Z] 765212b225bb: Verifying Checksum [2022-04-25T09:07:26.309Z] 765212b225bb: Download complete [2022-04-25T09:07:26.309Z] f23df028b6ca: Verifying Checksum [2022-04-25T09:07:26.309Z] f23df028b6ca: Download complete [2022-04-25T09:07:26.309Z] d65c8cfc05b1: Verifying Checksum [2022-04-25T09:07:26.309Z] d65c8cfc05b1: Download complete [2022-04-25T09:07:26.585Z] 699f458cf7ca: Verifying Checksum [2022-04-25T09:07:26.585Z] 699f458cf7ca: Download complete [2022-04-25T09:07:26.864Z] 8998bd30e6a1: Verifying Checksum [2022-04-25T09:07:26.864Z] 8998bd30e6a1: Download complete [2022-04-25T09:07:29.498Z] 2437ff75d9bd: Verifying Checksum [2022-04-25T09:07:29.498Z] 2437ff75d9bd: Download complete [2022-04-25T09:07:31.477Z] 8998bd30e6a1: Pull complete [2022-04-25T09:07:31.749Z] 04944245beec: Pull complete [2022-04-25T09:07:33.191Z] 699f458cf7ca: Pull complete [2022-04-25T09:07:33.465Z] 765212b225bb: Pull complete [2022-04-25T09:07:34.444Z] f23df028b6ca: Pull complete [2022-04-25T09:07:34.719Z] d65c8cfc05b1: Pull complete [2022-04-25T09:07:49.857Z] 2437ff75d9bd: Pull complete [2022-04-25T09:07:49.857Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-25T09:07:49.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T09:07:49.857Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-25T09:07:50.111Z] prd-ubuntu20.04-docker-arm64-4c-16g-21954 does not seem to be running inside a container [2022-04-25T09:07:50.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-25T09:07:53.016Z] $ docker top 2cd3ca1846429819d24aa2b5573ba95fff138d558ccc33aaeb879b377795cffa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:07:53.956Z] ---> job-cost.sh [2022-04-25T09:07:53.956Z] lf-activate-venv: SKIPPING [2022-04-25T09:07:53.956Z] INFO: No Stack... [2022-04-25T09:07:54.229Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-25T09:07:55.207Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T09:07:55.890Z] + cat /w/workspace/app-service-configurable/2/archives/cost.csv [2022-04-25T09:07:55.890Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T09:07:55.961Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] [2022-04-25T09:07:55.968Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] did not exist. Created. [2022-04-25T09:07:55.968Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T09:07:56.649Z] /w/workspace/app-service-configurable/2@tmp/durable-b06756b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-25T09:07:57.333Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-25T09:07:57.362Z] Warning: overwriting stash ‘stack-cost’ [2022-04-25T09:07:57.409Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T09:07:57.414Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-407-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T09:07:57.434Z] $ docker stop --time=1 2cd3ca1846429819d24aa2b5573ba95fff138d558ccc33aaeb879b377795cffa [2022-04-25T09:07:58.958Z] $ docker rm -f 2cd3ca1846429819d24aa2b5573ba95fff138d558ccc33aaeb879b377795cffa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-25T09:07:59.464Z] provisioning config files... [2022-04-25T09:07:59.477Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config4227089069588753136tmp [Pipeline] { [Pipeline] sh [2022-04-25T09:07:59.782Z] + set +x [2022-04-25T09:07:59.782Z] + + bashcurl -s -s -- https://codecov.io/bash [2022-04-25T09:07:59.782Z] [2022-04-25T09:07:59.782Z] [2022-04-25T09:07:59.782Z] _____ _ [2022-04-25T09:07:59.782Z] / ____| | | [2022-04-25T09:07:59.782Z] | | ___ __| | ___ ___ _____ __ [2022-04-25T09:07:59.782Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-25T09:07:59.782Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-25T09:07:59.782Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-25T09:07:59.782Z] Bash-1.0.6 [2022-04-25T09:07:59.782Z] [2022-04-25T09:07:59.782Z] [2022-04-25T09:07:59.782Z] ==> git version 2.25.1 found [2022-04-25T09:07:59.782Z] ==> 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-25T09:07:59.782Z] Release-Date: 2020-01-08 [2022-04-25T09:07:59.782Z] 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-25T09:07:59.782Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-25T09:07:59.782Z] ==> Jenkins CI detected. [2022-04-25T09:07:59.782Z] current dir:  /w/workspace/_app-service-configurable_PR-407 [2022-04-25T09:07:59.782Z] project root: . [2022-04-25T09:07:59.782Z] --> token set from env [2022-04-25T09:07:59.782Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-25T09:07:59.782Z] ==> Running gcov in . (disable via -X gcov) [2022-04-25T09:07:59.782Z] ==> Python coveragepy not found [2022-04-25T09:07:59.782Z] ==> Searching for coverage reports in: [2022-04-25T09:07:59.782Z] + . [2022-04-25T09:07:59.782Z] -> Found 1 reports [2022-04-25T09:07:59.782Z] ==> Detecting git/mercurial file structure [2022-04-25T09:07:59.782Z] ==> Reading reports [2022-04-25T09:07:59.782Z] + ./coverage.out bytes=10 [2022-04-25T09:08:00.041Z] ==> Appending adjustments [2022-04-25T09:08:00.041Z] https://docs.codecov.io/docs/fixing-reports [2022-04-25T09:08:00.041Z] + Found adjustments [2022-04-25T09:08:00.041Z] ==> Gzipping contents [2022-04-25T09:08:00.041Z] 4.0K /tmp/codecov.2LyAAO.gz [2022-04-25T09:08:00.041Z] ==> Uploading reports [2022-04-25T09:08:00.041Z] url: https://codecov.io [2022-04-25T09:08:00.041Z] query: branch=PR-407&commit=f31bcd335f21dc9e4313880be9db495c50c61348&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-407%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=407&job=&cmd_args= [2022-04-25T09:08:00.041Z] -> Pinging Codecov [2022-04-25T09:08:00.041Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-407&commit=f31bcd335f21dc9e4313880be9db495c50c61348&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-407%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=407&job=&cmd_args= [2022-04-25T09:08:00.307Z] -> Uploading to [2022-04-25T09:08:00.307Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-25/A97CA9966030D2A3747ED39772930CCE/f31bcd335f21dc9e4313880be9db495c50c61348/aae1f153-b1f1-42f5-94dc-2d5f9d2be671.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T090800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07e03770810aa893b1e19e7f93c34c799eb11616aea8ffd0837bbf5f661c4796 [2022-04-25T09:08:00.307Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T09:08:00.307Z] Dload Upload Total Spent Left Speed [2022-04-25T09:08:00.566Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 577 0 0 100 577 0 2646 --:--:-- --:--:-- --:--:-- 2646 [2022-04-25T09:08:00.566Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/f31bcd335f21dc9e4313880be9db495c50c61348 [Pipeline] } [2022-04-25T09:08:00.572Z] 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-25T09:08:01.332Z] + [ -d /w/workspace/_app-service-configurable_PR-407/archives ] [2022-04-25T09:08:01.332Z] + ls -al /w/workspace/_app-service-configurable_PR-407/archives [2022-04-25T09:08:01.332Z] total 16 [2022-04-25T09:08:01.332Z] drwxr-xr-x 3 root root 4096 Apr 25 09:00 . [2022-04-25T09:08:01.332Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:00 .. [2022-04-25T09:08:01.332Z] drwxr-xr-x 2 root root 4096 Apr 25 09:00 cost [2022-04-25T09:08:01.332Z] -rw-r--r-- 1 root root 97 Apr 25 09:00 cost.csv [2022-04-25T09:08:01.332Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-407/archives [2022-04-25T09:08:01.332Z] + ls -al /w/workspace/_app-service-configurable_PR-407/archives [2022-04-25T09:08:01.332Z] total 16 [2022-04-25T09:08:01.332Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 09:00 . [2022-04-25T09:08:01.332Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:00 .. [2022-04-25T09:08:01.332Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 09:00 cost [2022-04-25T09:08:01.332Z] -rw-r--r-- 1 jenkins jenkins 97 Apr 25 09:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:01.621Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:02.487Z] ---> package-listing.sh [2022-04-25T09:08:02.487Z] ++ facter osfamily [2022-04-25T09:08:02.487Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-25T09:08:02.746Z] + OS_FAMILY=debian [2022-04-25T09:08:02.746Z] + workspace=/w/workspace/_app-service-configurable_PR-407 [2022-04-25T09:08:02.746Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-25T09:08:02.746Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-25T09:08:02.746Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-25T09:08:02.746Z] + PACKAGES=/tmp/packages_start.txt [2022-04-25T09:08:02.746Z] + '[' /w/workspace/_app-service-configurable_PR-407 ']' [2022-04-25T09:08:02.746Z] + PACKAGES=/tmp/packages_end.txt [2022-04-25T09:08:02.746Z] + case "${OS_FAMILY}" in [2022-04-25T09:08:02.746Z] + dpkg -l [2022-04-25T09:08:02.746Z] + grep '^ii' [2022-04-25T09:08:02.746Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-25T09:08:02.746Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-25T09:08:02.746Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-25T09:08:02.746Z] + '[' /w/workspace/_app-service-configurable_PR-407 ']' [2022-04-25T09:08:02.746Z] + mkdir -p /w/workspace/_app-service-configurable_PR-407/archives/ [2022-04-25T09:08:02.746Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-407/archives/ [Pipeline] echo [2022-04-25T09:08:02.756Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-407/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-25T09:08:03.096Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:08:03.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:08:03.443Z] . [Pipeline] withDockerContainer [2022-04-25T09:08:03.508Z] prd-ubuntu20.04-docker-8c-8g-21946 does not seem to be running inside a container [2022-04-25T09:08:03.544Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-407/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-407 -v /w/workspace/_app-service-configurable_PR-407:/w/workspace/_app-service-configurable_PR-407:rw,z -v /w/workspace/_app-service-configurable_PR-407@tmp:/w/workspace/_app-service-configurable_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-25T09:08:03.806Z] $ docker top 59ef67ec0ce1d81c771e0c9992d5a743adb3928a673babf5c5dd77196f4ac3db -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T09:08:04.160Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-25T09:08:04.447Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-25T09:08:04.736Z] + ls /var/log/sa-host [2022-04-25T09:08:04.736Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T09:08:04.958Z] provisioning config files... [2022-04-25T09:08:04.969Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-407@tmp/config416057110537920424tmp [Pipeline] { [Pipeline] echo [2022-04-25T09:08:04.982Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:05.269Z] ---> create-netrc.sh [Pipeline] } [2022-04-25T09:08:05.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:05.603Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-25T09:08:05.616Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:05.902Z] ---> sudo-logs.sh [2022-04-25T09:08:05.902Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-25T09:08:05.922Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:06.209Z] ---> job-cost.sh [2022-04-25T09:08:06.209Z] lf-activate-venv: SKIPPING [2022-04-25T09:08:06.209Z] DEBUG: total: 0.8799999952316284 [2022-04-25T09:08:06.209Z] INFO: Retrieving Stack Cost... [2022-04-25T09:08:06.469Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T09:08:07.037Z] INFO: Archiving Costs [Pipeline] echo [2022-04-25T09:08:07.050Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:07.337Z] ---> logs-deploy.sh [2022-04-25T09:08:07.337Z] lf-activate-venv: SKIPPING [2022-04-25T09:08:07.337Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-407/2 [2022-04-25T09:08:07.337Z] INFO: archiving workspace using pattern(s): [2022-04-25T09:08:08.277Z] Archives upload complete. [2022-04-25T09:08:08.277Z] INFO: archiving logs to Nexus