Pull request #396 opened 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 jpwhitemn for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 6b983b9320deb447c84ae0c8baeb0d1191d2703c+4190c6fd5c33f3107dc794a5b34667c4978bc33f (694f04f22a2675afd6f83ebd8500a5c99009709e) 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-ssh14703247910329285846.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-ssh4093358568817659562.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-396/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-396/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17785428279097369110.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-396/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6491432598795076866.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6549693252054516953.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-396/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-396/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12309859184845525109.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11445 in /w/workspace/_app-service-configurable_PR-396 [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-396 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4190c6fd5c33f3107dc794a5b34667c4978bc33f into PR head commit 6b983b9320deb447c84ae0c8baeb0d1191d2703c Merge succeeded, producing 6b983b9320deb447c84ae0c8baeb0d1191d2703c Checking out Revision 6b983b9320deb447c84ae0c8baeb0d1191d2703c (PR-396) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b983b9320deb447c84ae0c8baeb0d1191d2703c # 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 4190c6fd5c33f3107dc794a5b34667c4978bc33f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b983b9320deb447c84ae0c8baeb0d1191d2703c # timeout=10 Commit message: "feat: enable security hardening" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-07T19:01:19.156Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-07T19:01:19.334Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-07T19:01:19.437Z] ========================================================= [2022-04-07T19:01:19.437Z] EdgeX Global Pipelines Version Info [2022-04-07T19:01:19.437Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:01:20.318Z] ------------------- [2022-04-07T19:01:20.318Z] stable info: [2022-04-07T19:01:20.318Z] ------------------- [2022-04-07T19:01:20.318Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-07T19:01:20.318Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-07T19:01:20.318Z] Message: update stable to v1.0.221 [2022-04-07T19:01:20.892Z] ------------------- [2022-04-07T19:01:20.892Z] experimental info: [2022-04-07T19:01:20.892Z] ------------------- [2022-04-07T19:01:20.892Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-07T19:01:20.892Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-07T19:01:20.892Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-07T19:01:21.170Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-07T19:01:21.212Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-07T19:01:21.252Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-07T19:01:21.292Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-07T19:01:21.333Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-07T19:01:21.377Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-07T19:01:21.420Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-07T19:01:21.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-07T19:01:21.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-07T19:01:21.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-07T19:01:21.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-07T19:01:21.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-07T19:01:21.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-07T19:01:21.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-07T19:01:21.730Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-07T19:01:21.767Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-07T19:01:21.802Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-07T19:01:21.839Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-07T19:01:21.876Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-07T19:01:21.917Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-07T19:01:21.958Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-07T19:01:21.994Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-07T19:01:22.032Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-07T19:01:22.069Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-07T19:01:22.102Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-07T19:01:22.144Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-07T19:01:22.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo [2022-04-07T19:01:22.223Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo [2022-04-07T19:01:22.259Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo [2022-04-07T19:01:22.298Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b983b9320deb447c84ae0c8baeb0d1191d2703c [Pipeline] echo [2022-04-07T19:01:22.340Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b983b9 [Pipeline] echo [2022-04-07T19:01:22.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T19:01:22.483Z] provisioning config files... [2022-04-07T19:01:22.496Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config2133335142276453266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:01:22.848Z] ---> docker-login.sh [2022-04-07T19:01:22.848Z] nexus3.edgexfoundry.org:10001 [2022-04-07T19:01:23.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:01:23.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:01:23.116Z] Configure a credential helper to remove this warning. See [2022-04-07T19:01:23.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:01:23.116Z] [2022-04-07T19:01:23.116Z] Login Succeeded [2022-04-07T19:01:23.116Z] nexus3.edgexfoundry.org:10002 [2022-04-07T19:01:23.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:01:23.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:01:23.377Z] Configure a credential helper to remove this warning. See [2022-04-07T19:01:23.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:01:23.377Z] [2022-04-07T19:01:23.377Z] Login Succeeded [2022-04-07T19:01:23.377Z] nexus3.edgexfoundry.org:10003 [2022-04-07T19:01:23.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:01:23.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:01:23.377Z] Configure a credential helper to remove this warning. See [2022-04-07T19:01:23.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:01:23.377Z] [2022-04-07T19:01:23.377Z] Login Succeeded [2022-04-07T19:01:23.377Z] nexus3.edgexfoundry.org:10004 [2022-04-07T19:01:23.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:01:23.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:01:23.377Z] Configure a credential helper to remove this warning. See [2022-04-07T19:01:23.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:01:23.377Z] [2022-04-07T19:01:23.377Z] Login Succeeded [2022-04-07T19:01:23.377Z] docker.io [2022-04-07T19:01:23.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:01:23.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:01:23.902Z] Configure a credential helper to remove this warning. See [2022-04-07T19:01:23.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:01:23.902Z] [2022-04-07T19:01:23.902Z] Login Succeeded [2022-04-07T19:01:23.902Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T19:01:23.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-07T19:01:24.552Z] + git rev-list -1 --merges 6b983b9320deb447c84ae0c8baeb0d1191d2703c~1..6b983b9320deb447c84ae0c8baeb0d1191d2703c [Pipeline] echo [2022-04-07T19:01:24.601Z] -----------> git rev-list -1 --merges 6b983b9320deb447c84ae0c8baeb0d1191d2703c~1..6b983b9320deb447c84ae0c8baeb0d1191d2703c 6b983b9320deb447c84ae0c8baeb0d1191d2703c [false] [Pipeline] sh [2022-04-07T19:01:24.910Z] + git log --format=format:%s -1 6b983b9320deb447c84ae0c8baeb0d1191d2703c [Pipeline] echo [2022-04-07T19:01:24.946Z] ========================================================= [2022-04-07T19:01:24.946Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-07T19:01:24.946Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T19:01:25.363Z] + git log --format=format:%s -1 6b983b9320deb447c84ae0c8baeb0d1191d2703c [Pipeline] echo [2022-04-07T19:01:25.397Z] [semverPrep] GIT_COMMIT: 6b983b9320deb447c84ae0c8baeb0d1191d2703c, Commit Message: feat: enable security hardening [Pipeline] echo [2022-04-07T19:01:25.429Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-07T19:01:25.839Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-07T19:01:25.840Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-07T19:01:25.840Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-07T19:01:25.840Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-07T19:01:25.840Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-07T19:01:25.840Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-07T19:01:25.840Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:01:26.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T19:01:26.224Z] [2022-04-07T19:01:26.224Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:01:26.583Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T19:01:26.583Z] latest: Pulling from edgex-devops/git-semver [2022-04-07T19:01:26.583Z] a0d0a0d46f8b: Pulling fs layer [2022-04-07T19:01:26.583Z] 3e5f54012d9b: Pulling fs layer [2022-04-07T19:01:26.583Z] 4c7163046ea9: Pulling fs layer [2022-04-07T19:01:26.583Z] 0c2d73faf560: Pulling fs layer [2022-04-07T19:01:26.583Z] 3e5f54012d9b: Verifying Checksum [2022-04-07T19:01:26.583Z] 3e5f54012d9b: Download complete [2022-04-07T19:01:26.583Z] a0d0a0d46f8b: Download complete [2022-04-07T19:01:26.583Z] 0c2d73faf560: Verifying Checksum [2022-04-07T19:01:26.583Z] 0c2d73faf560: Download complete [2022-04-07T19:01:26.583Z] 4c7163046ea9: Verifying Checksum [2022-04-07T19:01:26.583Z] 4c7163046ea9: Download complete [2022-04-07T19:01:26.843Z] a0d0a0d46f8b: Pull complete [2022-04-07T19:01:26.843Z] 3e5f54012d9b: Pull complete [2022-04-07T19:01:27.107Z] 4c7163046ea9: Pull complete [2022-04-07T19:01:27.369Z] 0c2d73faf560: Pull complete [2022-04-07T19:01:27.369Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-07T19:01:27.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T19:01:27.369Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-07T19:01:27.467Z] prd-ubuntu20.04-docker-8c-8g-11445 does not seem to be running inside a container [2022-04-07T19:01:27.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-396 -v /w/workspace/_app-service-configurable_PR-396:/w/workspace/_app-service-configurable_PR-396:rw,z -v /w/workspace/_app-service-configurable_PR-396@tmp:/w/workspace/_app-service-configurable_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-07T19:01:28.158Z] $ docker top b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-07T19:01:28.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-07T19:01:28.357Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-07T19:01:28.491Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-07T19:01:28.496Z] $ docker exec b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd ssh-agent [2022-04-07T19:01:28.614Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlhlKOK/agent.13 [2022-04-07T19:01:28.614Z] SSH_AGENT_PID=19 [2022-04-07T19:01:28.623Z] Running ssh-add (command line suppressed) [2022-04-07T19:01:28.730Z] Identity added: /w/workspace/_app-service-configurable_PR-396@tmp/private_key_2502983209884879900.key (/w/workspace/_app-service-configurable_PR-396@tmp/private_key_2502983209884879900.key) [2022-04-07T19:01:28.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-07T19:01:29.079Z] + git tag --points-at HEAD [Pipeline] } [2022-04-07T19:01:29.108Z] $ docker exec --env ******** --env ******** b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd ssh-agent -k [2022-04-07T19:01:29.221Z] unset SSH_AUTH_SOCK; [2022-04-07T19:01:29.222Z] unset SSH_AGENT_PID; [2022-04-07T19:01:29.223Z] echo Agent pid 19 killed; [2022-04-07T19:01:29.232Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-07T19:01:29.323Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-07T19:01:29.323Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-07T19:01:29.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-07T19:01:29.465Z] $ docker exec b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd ssh-agent [2022-04-07T19:01:29.580Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDkGkgj/agent.53 [2022-04-07T19:01:29.580Z] SSH_AGENT_PID=60 [2022-04-07T19:01:29.586Z] Running ssh-add (command line suppressed) [2022-04-07T19:01:29.709Z] Identity added: /w/workspace/_app-service-configurable_PR-396@tmp/private_key_2070046458708027509.key (/w/workspace/_app-service-configurable_PR-396@tmp/private_key_2070046458708027509.key) [2022-04-07T19:01:29.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-07T19:01:30.066Z] + git semver init [2022-04-07T19:01:30.066Z] # -> Open(): unable to determine branch for HEAD [2022-04-07T19:01:30.066Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-396/.git [2022-04-07T19:01:30.066Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-396 [2022-04-07T19:01:30.066Z] # $SEMVER_REMOTE_NAME = origin [2022-04-07T19:01:30.066Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-07T19:01:30.066Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-07T19:01:30.066Z] # $SEMVER_BRANCH = PR-396 [2022-04-07T19:01:30.066Z] # $SEMVER_TEMP = /tmp/semver-837478878 [2022-04-07T19:01:30.066Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-07T19:01:31.013Z] # '/tmp/semver-837478878' -> '/w/workspace/_app-service-configurable_PR-396/.semver' [2022-04-07T19:01:31.013Z] # -> Force: false [2022-04-07T19:01:31.013Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-396/.semver [Pipeline] } [2022-04-07T19:01:31.043Z] $ docker exec --env ******** --env ******** b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd ssh-agent -k [2022-04-07T19:01:31.171Z] unset SSH_AUTH_SOCK; [2022-04-07T19:01:31.171Z] unset SSH_AGENT_PID; [2022-04-07T19:01:31.171Z] echo Agent pid 60 killed; [2022-04-07T19:01:31.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-07T19:01:31.626Z] + git semver [Pipeline] } [2022-04-07T19:01:31.659Z] $ docker stop --time=1 b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd [2022-04-07T19:01:32.993Z] $ docker rm -f b1da381da6b11c2e6d3d17443934701d5eb2d5f187b0403861c010c67b8ed3bd [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T19:01:33.417Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-07T19:01:33.734Z] Stashed 1 file(s) [Pipeline] echo [2022-04-07T19:01:33.759Z] [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-07T19:01:34.362Z] provisioning config files... [2022-04-07T19:01:34.375Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config4040956156596542202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:01:34.720Z] ---> docker-login.sh [2022-04-07T19:01:34.721Z] nexus3.edgexfoundry.org:10001 [2022-04-07T19:01:34.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:01:34.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:01:34.721Z] Configure a credential helper to remove this warning. See [2022-04-07T19:01:34.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:01:34.721Z] [2022-04-07T19:01:34.721Z] Login Succeeded [2022-04-07T19:01:34.721Z] nexus3.edgexfoundry.org:10002 [2022-04-07T19:01:34.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:01:34.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:01:34.982Z] Configure a credential helper to remove this warning. See [2022-04-07T19:01:34.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:01:34.982Z] [2022-04-07T19:01:34.982Z] Login Succeeded [2022-04-07T19:01:34.982Z] nexus3.edgexfoundry.org:10003 [2022-04-07T19:01:34.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:01:34.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:01:34.982Z] Configure a credential helper to remove this warning. See [2022-04-07T19:01:34.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:01:34.982Z] [2022-04-07T19:01:34.982Z] Login Succeeded [2022-04-07T19:01:34.982Z] nexus3.edgexfoundry.org:10004 [2022-04-07T19:01:34.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:01:35.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:01:35.244Z] Configure a credential helper to remove this warning. See [2022-04-07T19:01:35.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:01:35.244Z] [2022-04-07T19:01:35.244Z] Login Succeeded [2022-04-07T19:01:35.244Z] docker.io [2022-04-07T19:01:35.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:01:35.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:01:35.505Z] Configure a credential helper to remove this warning. See [2022-04-07T19:01:35.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:01:35.505Z] [2022-04-07T19:01:35.505Z] Login Succeeded [2022-04-07T19:01:35.505Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T19:01:35.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-07T19:01:35.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-07T19:01:35.783Z] ========================================================= [2022-04-07T19:01:35.783Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-07T19:01:35.783Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:01:36.194Z] + 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-07T19:01:36.194Z] Sending build context to Docker daemon 3.001MB [2022-04-07T19:01:36.194Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T19:01:36.194Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-07T19:01:36.194Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-07T19:01:36.194Z] 59bf1c3509f3: Pulling fs layer [2022-04-07T19:01:36.194Z] 666ba61612fd: Pulling fs layer [2022-04-07T19:01:36.194Z] 8ed8ca486205: Pulling fs layer [2022-04-07T19:01:36.194Z] 4fe6c5a15a65: Pulling fs layer [2022-04-07T19:01:36.194Z] 22a0e8bec74d: Pulling fs layer [2022-04-07T19:01:36.194Z] 640e595b4fbd: Pulling fs layer [2022-04-07T19:01:36.194Z] 763cafe07f6e: Pulling fs layer [2022-04-07T19:01:36.194Z] 0c0b528cf693: Pulling fs layer [2022-04-07T19:01:36.194Z] 10935f4eaf8b: Pulling fs layer [2022-04-07T19:01:36.194Z] 4fe6c5a15a65: Waiting [2022-04-07T19:01:36.194Z] 22a0e8bec74d: Waiting [2022-04-07T19:01:36.194Z] 0c0b528cf693: Waiting [2022-04-07T19:01:36.194Z] 640e595b4fbd: Waiting [2022-04-07T19:01:36.194Z] 763cafe07f6e: Waiting [2022-04-07T19:01:36.194Z] 10935f4eaf8b: Waiting [2022-04-07T19:01:36.194Z] 8ed8ca486205: Download complete [2022-04-07T19:01:36.194Z] 666ba61612fd: Verifying Checksum [2022-04-07T19:01:36.194Z] 666ba61612fd: Download complete [2022-04-07T19:01:36.194Z] 22a0e8bec74d: Download complete [2022-04-07T19:01:36.194Z] 640e595b4fbd: Verifying Checksum [2022-04-07T19:01:36.194Z] 640e595b4fbd: Download complete [2022-04-07T19:01:36.194Z] 59bf1c3509f3: Verifying Checksum [2022-04-07T19:01:36.194Z] 59bf1c3509f3: Download complete [2022-04-07T19:01:36.194Z] 763cafe07f6e: Download complete [2022-04-07T19:01:36.456Z] 0c0b528cf693: Verifying Checksum [2022-04-07T19:01:36.456Z] 0c0b528cf693: Download complete [2022-04-07T19:01:36.456Z] 59bf1c3509f3: Pull complete [2022-04-07T19:01:36.717Z] 666ba61612fd: Pull complete [2022-04-07T19:01:36.717Z] 8ed8ca486205: Pull complete [2022-04-07T19:01:36.977Z] 10935f4eaf8b: Verifying Checksum [2022-04-07T19:01:36.977Z] 10935f4eaf8b: Download complete [2022-04-07T19:01:36.977Z] 4fe6c5a15a65: Verifying Checksum [2022-04-07T19:01:36.977Z] 4fe6c5a15a65: Download complete [2022-04-07T19:01:41.179Z] 4fe6c5a15a65: Pull complete [2022-04-07T19:01:41.179Z] 22a0e8bec74d: Pull complete [2022-04-07T19:01:41.179Z] 640e595b4fbd: Pull complete [2022-04-07T19:01:41.179Z] 763cafe07f6e: Pull complete [2022-04-07T19:01:41.179Z] 0c0b528cf693: Pull complete [2022-04-07T19:01:43.086Z] 10935f4eaf8b: Pull complete [2022-04-07T19:01:43.086Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-07T19:01:43.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-07T19:01:43.086Z] ---> 99d49a6021b9 [2022-04-07T19:01:43.086Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-07T19:01:44.473Z] ---> Running in 8505586c315b [2022-04-07T19:01:44.473Z] Removing intermediate container 8505586c315b [2022-04-07T19:01:44.473Z] ---> 4d5b0dcc0b9c [2022-04-07T19:01:44.473Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T19:01:44.473Z] ---> Running in 5a88dd831312 [2022-04-07T19:01:44.473Z] Removing intermediate container 5a88dd831312 [2022-04-07T19:01:44.473Z] ---> 5f1e4f8bed4b [2022-04-07T19:01:44.473Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T19:01:44.473Z] ---> Running in 99736a0b1cc6 [2022-04-07T19:01:44.473Z] Removing intermediate container 99736a0b1cc6 [2022-04-07T19:01:44.473Z] ---> 7f12e44d42c7 [2022-04-07T19:01:44.473Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T19:01:44.739Z] ---> Running in ddd1dc2e3dcc [2022-04-07T19:01:45.313Z] Removing intermediate container ddd1dc2e3dcc [2022-04-07T19:01:45.313Z] ---> 24bd05559140 [2022-04-07T19:01:45.313Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T19:01:45.313Z] ---> Running in 16dcd9fff473 [2022-04-07T19:01:45.575Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-07T19:01:46.523Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-07T19:01:46.523Z] OK: 221 MiB in 52 packages [2022-04-07T19:01:47.098Z] Removing intermediate container 16dcd9fff473 [2022-04-07T19:01:47.098Z] ---> 9eb788616c23 [2022-04-07T19:01:47.098Z] Step 8/13 : WORKDIR /app [2022-04-07T19:01:47.098Z] ---> Running in ccf352bbe430 [2022-04-07T19:01:47.098Z] Removing intermediate container ccf352bbe430 [2022-04-07T19:01:47.098Z] ---> 400f73c1a1a7 [2022-04-07T19:01:47.098Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-07T19:01:47.098Z] ---> 7e6508e4810c [2022-04-07T19:01:47.098Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T19:01:47.359Z] ---> Running in 34844d696123 [2022-04-07T19:01:49.170Z] Still waiting to schedule task [2022-04-07T19:01:49.170Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-07T19:02:09.331Z] Removing intermediate container 34844d696123 [2022-04-07T19:02:09.331Z] ---> a048aa990300 [2022-04-07T19:02:09.331Z] Step 11/13 : COPY . . [2022-04-07T19:02:09.331Z] ---> 456e44a25453 [2022-04-07T19:02:09.331Z] Step 12/13 : ARG MAKE="make build" [2022-04-07T19:02:09.331Z] ---> Running in fc1f8234efd7 [2022-04-07T19:02:09.331Z] Removing intermediate container fc1f8234efd7 [2022-04-07T19:02:09.331Z] ---> ee246d0d2938 [2022-04-07T19:02:09.331Z] Step 13/13 : RUN $MAKE [2022-04-07T19:02:09.331Z] ---> Running in a244b60da2db [2022-04-07T19:02:09.331Z] noop [2022-04-07T19:02:09.331Z] Removing intermediate container a244b60da2db [2022-04-07T19:02:09.331Z] ---> b4a2057f253c [2022-04-07T19:02:09.331Z] Successfully built b4a2057f253c [2022-04-07T19:02:09.331Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:02:09.667Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-07T19:02:09.667Z] . [Pipeline] withDockerContainer [2022-04-07T19:02:09.757Z] prd-ubuntu20.04-docker-8c-8g-11445 does not seem to be running inside a container [2022-04-07T19:02:09.792Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-396 -v /w/workspace/_app-service-configurable_PR-396:/w/workspace/_app-service-configurable_PR-396:rw,z -v /w/workspace/_app-service-configurable_PR-396@tmp:/w/workspace/_app-service-configurable_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-07T19:02:10.158Z] $ docker top ae551a817c0b45a560ae92186d679cb37252e86e368f198713c00cf6ae9a6d21 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T19:02:10.581Z] + go version [2022-04-07T19:02:10.581Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-07T19:02:10.614Z] $ docker stop --time=1 ae551a817c0b45a560ae92186d679cb37252e86e368f198713c00cf6ae9a6d21 [2022-04-07T19:02:11.942Z] $ docker rm -f ae551a817c0b45a560ae92186d679cb37252e86e368f198713c00cf6ae9a6d21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:02:12.695Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-07T19:02:12.695Z] . [Pipeline] withDockerContainer [2022-04-07T19:02:12.800Z] prd-ubuntu20.04-docker-8c-8g-11445 does not seem to be running inside a container [2022-04-07T19:02:12.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-396 -v /w/workspace/_app-service-configurable_PR-396:/w/workspace/_app-service-configurable_PR-396:rw,z -v /w/workspace/_app-service-configurable_PR-396@tmp:/w/workspace/_app-service-configurable_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-07T19:02:13.243Z] $ docker top 76944513f99ebc1a18d1643c2a70728b2be68a1c53c3efe488b8b1f1e2c3e99b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-07T19:02:13.707Z] + make test [2022-04-07T19:02:13.707Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-07T19:02:20.290Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-07T19:02:20.290Z] CGO_ENABLED=1 go vet ./... [2022-04-07T19:02:23.589Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-07T19:02:23.589Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-07T19:02:23.589Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-07T19:02:23.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-07T19:02:23.914Z] $ docker stop --time=1 76944513f99ebc1a18d1643c2a70728b2be68a1c53c3efe488b8b1f1e2c3e99b [2022-04-07T19:02:25.399Z] $ docker rm -f 76944513f99ebc1a18d1643c2a70728b2be68a1c53c3efe488b8b1f1e2c3e99b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T19:02:25.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-07T19:02:25.894Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-07T19:02:27.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-07T19:02:27.393Z] + ls -al . [2022-04-07T19:02:27.393Z] total 176 [2022-04-07T19:02:27.393Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 19:02 . [2022-04-07T19:02:27.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 19:01 .. [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 7 19:01 .dockerignore [2022-04-07T19:02:27.393Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 19:01 .git [2022-04-07T19:02:27.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 19:01 .github [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 7 19:01 .gitignore [2022-04-07T19:02:27.393Z] drwx------ 3 jenkins jenkins 4096 Apr 7 19:01 .semver [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 7627 Apr 7 19:01 Attribution.txt [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 7 19:01 CHANGELOG.md [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 7 19:01 Dockerfile [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 19:01 GOVERNANCE.md [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 7 19:01 Jenkinsfile [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 19:01 LICENSE [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 7 19:01 OWNERS.md [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 7 19:01 README.md [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 19:01 VERSION [2022-04-07T19:02:27.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 19:01 bin [2022-04-07T19:02:27.393Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 7 19:02 coverage.out [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 2816 Apr 7 19:01 go.mod [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 50335 Apr 7 19:01 go.sum [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 7 19:01 main.go [2022-04-07T19:02:27.393Z] -rw-rw-r-- 1 jenkins jenkins 1860 Apr 7 19:01 makefile [2022-04-07T19:02:27.393Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 19:01 res [2022-04-07T19:02:27.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 19:01 snap [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:02:27.722Z] + 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=6b983b9320deb447c84ae0c8baeb0d1191d2703c --label arch=amd64 --label version=0.0.0 . [2022-04-07T19:02:27.722Z] Sending build context to Docker daemon 3.002MB [2022-04-07T19:02:27.722Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T19:02:27.722Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-07T19:02:27.722Z] ---> b4a2057f253c [2022-04-07T19:02:27.722Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-07T19:02:27.722Z] ---> Running in 3ff06dfd677a [2022-04-07T19:02:27.722Z] Removing intermediate container 3ff06dfd677a [2022-04-07T19:02:27.722Z] ---> 3ed9d1fdeb58 [2022-04-07T19:02:27.722Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T19:02:27.981Z] ---> Running in 759e9f47d97a [2022-04-07T19:02:27.981Z] Removing intermediate container 759e9f47d97a [2022-04-07T19:02:27.981Z] ---> 932be96bb12d [2022-04-07T19:02:27.981Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T19:02:27.981Z] ---> Running in f49742d1b5e3 [2022-04-07T19:02:27.981Z] Removing intermediate container f49742d1b5e3 [2022-04-07T19:02:27.981Z] ---> 858e9c04d971 [2022-04-07T19:02:27.981Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T19:02:27.981Z] ---> Running in e3d1182509ad [2022-04-07T19:02:28.550Z] Removing intermediate container e3d1182509ad [2022-04-07T19:02:28.550Z] ---> a6c350b0b362 [2022-04-07T19:02:28.550Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T19:02:28.550Z] ---> Running in f8cc172245ae [2022-04-07T19:02:29.121Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-07T19:02:29.693Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-07T19:02:30.262Z] OK: 221 MiB in 52 packages [2022-04-07T19:02:30.523Z] Removing intermediate container f8cc172245ae [2022-04-07T19:02:30.523Z] ---> 3e7423e95a30 [2022-04-07T19:02:30.523Z] Step 8/27 : WORKDIR /app [2022-04-07T19:02:30.523Z] ---> Running in 91b6b729dc10 [2022-04-07T19:02:30.523Z] Removing intermediate container 91b6b729dc10 [2022-04-07T19:02:30.523Z] ---> 13d85faf99a3 [2022-04-07T19:02:30.523Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-07T19:02:30.783Z] ---> 7b6cee920b1e [2022-04-07T19:02:30.783Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T19:02:30.783Z] ---> Running in 8088ff79b667 [2022-04-07T19:02:31.350Z] Removing intermediate container 8088ff79b667 [2022-04-07T19:02:31.350Z] ---> a6e553209dc9 [2022-04-07T19:02:31.350Z] Step 11/27 : COPY . . [2022-04-07T19:02:31.610Z] ---> e3220fc75d42 [2022-04-07T19:02:31.610Z] Step 12/27 : ARG MAKE="make build" [2022-04-07T19:02:31.610Z] ---> Running in 883e75a76f5f [2022-04-07T19:02:31.610Z] Removing intermediate container 883e75a76f5f [2022-04-07T19:02:31.610Z] ---> 7281d0ae550b [2022-04-07T19:02:31.610Z] Step 13/27 : RUN $MAKE [2022-04-07T19:02:31.610Z] ---> Running in 2e0dd1c01c78 [2022-04-07T19:02:31.872Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.38 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [2022-04-07T19:02:46.768Z] Removing intermediate container 2e0dd1c01c78 [2022-04-07T19:02:46.768Z] ---> 67310eaea859 [2022-04-07T19:02:46.768Z] Step 14/27 : FROM alpine:3.14 [2022-04-07T19:02:46.768Z] 3.14: Pulling from library/alpine [2022-04-07T19:02:46.768Z] 8663204ce13b: Pulling fs layer [2022-04-07T19:02:46.768Z] 8663204ce13b: Verifying Checksum [2022-04-07T19:02:46.768Z] 8663204ce13b: Download complete [2022-04-07T19:02:46.768Z] 8663204ce13b: Pull complete [2022-04-07T19:02:46.768Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-07T19:02:46.768Z] Status: Downloaded newer image for alpine:3.14 [2022-04-07T19:02:46.768Z] ---> e04c818066af [2022-04-07T19:02:46.768Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T19:02:46.768Z] ---> Running in 4085ca140a68 [2022-04-07T19:02:46.768Z] Removing intermediate container 4085ca140a68 [2022-04-07T19:02:46.768Z] ---> 4e7db776624e [2022-04-07T19:02:46.768Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-07T19:02:46.768Z] ---> Running in 28151353cfe3 [2022-04-07T19:02:46.768Z] Removing intermediate container 28151353cfe3 [2022-04-07T19:02:46.768Z] ---> 0f2cad791a3e [2022-04-07T19:02:46.768Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-07T19:02:46.768Z] ---> Running in 4132e01457b9 [2022-04-07T19:02:46.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-07T19:02:46.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-07T19:02:46.768Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-07T19:02:46.768Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-07T19:02:46.768Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-07T19:02:46.768Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-07T19:02:46.768Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-07T19:02:46.768Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-07T19:02:46.768Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-07T19:02:46.768Z] Executing busybox-1.33.1-r7.trigger [2022-04-07T19:02:46.768Z] Executing ca-certificates-20211220-r0.trigger [2022-04-07T19:02:46.768Z] OK: 9 MiB in 21 packages [2022-04-07T19:02:47.337Z] Removing intermediate container 4132e01457b9 [2022-04-07T19:02:47.337Z] ---> ee69bcf51c93 [2022-04-07T19:02:47.337Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-07T19:02:47.337Z] ---> a6b89c74012e [2022-04-07T19:02:47.337Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-07T19:02:47.597Z] ---> 1e3178cbfccd [2022-04-07T19:02:47.597Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-07T19:02:47.597Z] ---> c4cd542285b5 [2022-04-07T19:02:47.597Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-07T19:02:48.167Z] ---> 77abd59bca0f [2022-04-07T19:02:48.167Z] Step 22/27 : EXPOSE 48095 [2022-04-07T19:02:48.167Z] ---> Running in eae8217da3ec [2022-04-07T19:02:48.167Z] Removing intermediate container eae8217da3ec [2022-04-07T19:02:48.167Z] ---> c252776f4c13 [2022-04-07T19:02:48.167Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-07T19:02:48.167Z] ---> Running in a6565cbc1c2c [2022-04-07T19:02:48.167Z] Removing intermediate container a6565cbc1c2c [2022-04-07T19:02:48.167Z] ---> 2f0f2c9389d2 [2022-04-07T19:02:48.167Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-07T19:02:48.167Z] ---> Running in 3903610f0a52 [2022-04-07T19:02:48.427Z] Removing intermediate container 3903610f0a52 [2022-04-07T19:02:48.427Z] ---> 88123935ef7a [2022-04-07T19:02:48.427Z] Step 25/27 : LABEL arch=amd64 [2022-04-07T19:02:48.427Z] ---> Running in c753c70d1500 [2022-04-07T19:02:48.427Z] Removing intermediate container c753c70d1500 [2022-04-07T19:02:48.427Z] ---> 3c83ed41b5a2 [2022-04-07T19:02:48.427Z] Step 26/27 : LABEL git_sha=6b983b9320deb447c84ae0c8baeb0d1191d2703c [2022-04-07T19:02:48.427Z] ---> Running in 455530a27ada [2022-04-07T19:02:48.687Z] Removing intermediate container 455530a27ada [2022-04-07T19:02:48.687Z] ---> 3c1e40b0d114 [2022-04-07T19:02:48.687Z] Step 27/27 : LABEL version=0.0.0 [2022-04-07T19:02:48.687Z] ---> Running in d0e05483ae27 [2022-04-07T19:02:48.687Z] Removing intermediate container d0e05483ae27 [2022-04-07T19:02:48.687Z] ---> b4150e3b9022 [2022-04-07T19:02:48.687Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-07T19:02:48.687Z] Successfully built b4150e3b9022 [2022-04-07T19:02:48.687Z] 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-07T19:02:49.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T19:02:49.407Z] [2022-04-07T19:02:49.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:02:49.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T19:02:49.759Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-07T19:02:49.759Z] 5eb5b503b376: Pulling fs layer [2022-04-07T19:02:49.759Z] 5c69ac0246d0: Pulling fs layer [2022-04-07T19:02:49.759Z] ec43610c2a17: Pulling fs layer [2022-04-07T19:02:49.759Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-07T19:02:49.759Z] 33b1e0a273af: Pulling fs layer [2022-04-07T19:02:49.759Z] 5d3b04190fa2: Pulling fs layer [2022-04-07T19:02:49.759Z] 2f39f015ded8: Pulling fs layer [2022-04-07T19:02:49.759Z] 3a2ae6a8a46f: Waiting [2022-04-07T19:02:49.759Z] 33b1e0a273af: Waiting [2022-04-07T19:02:49.759Z] 5d3b04190fa2: Waiting [2022-04-07T19:02:49.759Z] 2f39f015ded8: Waiting [2022-04-07T19:02:49.759Z] 5c69ac0246d0: Download complete [2022-04-07T19:02:49.759Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-07T19:02:49.759Z] 3a2ae6a8a46f: Download complete [2022-04-07T19:02:49.759Z] 33b1e0a273af: Verifying Checksum [2022-04-07T19:02:49.759Z] 33b1e0a273af: Download complete [2022-04-07T19:02:49.759Z] 5d3b04190fa2: Verifying Checksum [2022-04-07T19:02:49.759Z] 5d3b04190fa2: Download complete [2022-04-07T19:02:49.759Z] ec43610c2a17: Verifying Checksum [2022-04-07T19:02:49.759Z] ec43610c2a17: Download complete [2022-04-07T19:02:50.019Z] 5eb5b503b376: Verifying Checksum [2022-04-07T19:02:50.019Z] 5eb5b503b376: Download complete [2022-04-07T19:02:50.591Z] 2f39f015ded8: Download complete [2022-04-07T19:02:51.168Z] 5eb5b503b376: Pull complete [2022-04-07T19:02:51.429Z] 5c69ac0246d0: Pull complete [2022-04-07T19:02:51.689Z] ec43610c2a17: Pull complete [2022-04-07T19:02:51.949Z] 3a2ae6a8a46f: Pull complete [2022-04-07T19:02:51.949Z] 33b1e0a273af: Pull complete [2022-04-07T19:02:52.209Z] 5d3b04190fa2: Pull complete [2022-04-07T19:02:56.409Z] 2f39f015ded8: Pull complete [2022-04-07T19:02:56.409Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-07T19:02:56.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T19:02:56.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-07T19:02:56.512Z] prd-ubuntu20.04-docker-8c-8g-11445 does not seem to be running inside a container [2022-04-07T19:02:56.556Z] $ 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-396 -v /w/workspace/_app-service-configurable_PR-396:/w/workspace/_app-service-configurable_PR-396:rw,z -v /w/workspace/_app-service-configurable_PR-396@tmp:/w/workspace/_app-service-configurable_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-07T19:02:57.909Z] $ docker top 3e76198d8663758226c37161f31278182e9af496fde7ab7d00bc738c66309ccd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:02:58.373Z] ---> job-cost.sh [2022-04-07T19:02:58.373Z] lf-activate-venv: SKIPPING [2022-04-07T19:02:58.373Z] INFO: No Stack... [2022-04-07T19:02:58.634Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-07T19:02:59.204Z] INFO: Archiving Costs [Pipeline] sh [2022-04-07T19:02:59.524Z] + cat /w/workspace/_app-service-configurable_PR-396/archives/cost.csv [2022-04-07T19:02:59.524Z] + cut -d, -f6 [Pipeline] lock [2022-04-07T19:02:59.568Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] [2022-04-07T19:02:59.572Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] did not exist. Created. [2022-04-07T19:02:59.573Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-07T19:02:59.977Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-07T19:03:00.027Z] Stashed 1 file(s) [Pipeline] } [2022-04-07T19:03:00.053Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-07T19:03:00.120Z] $ docker stop --time=1 3e76198d8663758226c37161f31278182e9af496fde7ab7d00bc738c66309ccd [2022-04-07T19:03:01.273Z] $ docker rm -f 3e76198d8663758226c37161f31278182e9af496fde7ab7d00bc738c66309ccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-07T19:06:22.076Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11448 in /w/workspace/_app-service-configurable_PR-396 [Pipeline] { [Pipeline] ws [2022-04-07T19:06:22.134Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-04-07T19:06:22.642Z] Selected Git installation does not exist. Using Default [2022-04-07T19:06:22.643Z] The recommended git tool is: NONE [2022-04-07T19:06:31.912Z] using credential edgex-jenkins-ssh [2022-04-07T19:06:31.935Z] Cloning the remote Git repository [2022-04-07T19:06:32.039Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-07T19:06:32.177Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-04-07T19:06:32.321Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-07T19:06:32.322Z] > git --version # timeout=10 [2022-04-07T19:06:32.359Z] > git --version # 'git version 2.25.1' [2022-04-07T19:06:32.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T19:06:32.572Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-07T19:06:34.159Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-07T19:06:34.202Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-07T19:06:34.242Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-07T19:06:34.294Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-07T19:06:34.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T19:06:34.310Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-07T19:06:34.970Z] Merging remotes/origin/main commit 4190c6fd5c33f3107dc794a5b34667c4978bc33f into PR head commit 6b983b9320deb447c84ae0c8baeb0d1191d2703c [2022-04-07T19:06:35.260Z] Merge succeeded, producing 6b983b9320deb447c84ae0c8baeb0d1191d2703c [2022-04-07T19:06:35.260Z] Checking out Revision 6b983b9320deb447c84ae0c8baeb0d1191d2703c (PR-396) [2022-04-07T19:06:34.996Z] > git config core.sparsecheckout # timeout=10 [2022-04-07T19:06:35.019Z] > git checkout -f 6b983b9320deb447c84ae0c8baeb0d1191d2703c # timeout=10 [2022-04-07T19:06:35.131Z] > git remote # timeout=10 [2022-04-07T19:06:35.156Z] > git config --get remote.origin.url # timeout=10 [2022-04-07T19:06:35.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T19:06:35.199Z] > git merge 4190c6fd5c33f3107dc794a5b34667c4978bc33f # timeout=10 [2022-04-07T19:06:35.232Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-07T19:06:35.270Z] > git config core.sparsecheckout # timeout=10 [2022-04-07T19:06:35.298Z] > git checkout -f 6b983b9320deb447c84ae0c8baeb0d1191d2703c # timeout=10 [2022-04-07T19:06:39.915Z] Commit message: "feat: enable security hardening" [2022-04-07T19:06:40.001Z] > git --version # timeout=10 [2022-04-07T19:06:40.016Z] > git --version # 'git version 2.25.1' [2022-04-07T19:06:40.040Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T19:06:41.214Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-07T19:06:41.214Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-07T19:06:41.214Z] Dload Upload Total Spent Left Speed [2022-04-07T19:06:41.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 37359 0 --:--:-- --:--:-- --:--:-- 37477 [Pipeline] sh [2022-04-07T19:06:42.091Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-07T19:06:42.474Z] + sudo tee /etc/docker/daemon.new [2022-04-07T19:06:42.474Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-07T19:06:42.474Z] { [2022-04-07T19:06:42.474Z] "registry-mirrors": [ [2022-04-07T19:06:42.474Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-07T19:06:42.474Z] ], [2022-04-07T19:06:42.474Z] "bip": "10.250.0.254/24", [2022-04-07T19:06:42.474Z] "hosts": [ [2022-04-07T19:06:42.474Z] "tcp://0.0.0.0:5555", [2022-04-07T19:06:42.474Z] "unix:///var/run/docker.sock" [2022-04-07T19:06:42.474Z] ], [2022-04-07T19:06:42.474Z] "mtu": 1458, [2022-04-07T19:06:42.474Z] "selinux-enabled": true, [2022-04-07T19:06:42.474Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-07T19:06:42.474Z] } [Pipeline] sh [2022-04-07T19:06:42.872Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-07T19:06:43.253Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T19:07:01.729Z] provisioning config files... [2022-04-07T19:07:01.764Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1765983244328066637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:07:02.530Z] ---> docker-login.sh [2022-04-07T19:07:02.530Z] nexus3.edgexfoundry.org:10001 [2022-04-07T19:07:03.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:07:03.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:07:03.813Z] Configure a credential helper to remove this warning. See [2022-04-07T19:07:03.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:07:03.813Z] [2022-04-07T19:07:03.813Z] Login Succeeded [2022-04-07T19:07:03.813Z] nexus3.edgexfoundry.org:10002 [2022-04-07T19:07:04.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:07:04.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:07:04.371Z] Configure a credential helper to remove this warning. See [2022-04-07T19:07:04.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:07:04.371Z] [2022-04-07T19:07:04.371Z] Login Succeeded [2022-04-07T19:07:04.371Z] nexus3.edgexfoundry.org:10003 [2022-04-07T19:07:04.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:07:04.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:07:04.976Z] Configure a credential helper to remove this warning. See [2022-04-07T19:07:04.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:07:04.976Z] [2022-04-07T19:07:04.976Z] Login Succeeded [2022-04-07T19:07:04.976Z] nexus3.edgexfoundry.org:10004 [2022-04-07T19:07:05.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:07:05.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:07:05.577Z] Configure a credential helper to remove this warning. See [2022-04-07T19:07:05.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:07:05.577Z] [2022-04-07T19:07:05.577Z] Login Succeeded [2022-04-07T19:07:05.577Z] docker.io [2022-04-07T19:07:05.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T19:07:06.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T19:07:06.455Z] Configure a credential helper to remove this warning. See [2022-04-07T19:07:06.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T19:07:06.455Z] [2022-04-07T19:07:06.455Z] Login Succeeded [2022-04-07T19:07:06.455Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T19:07:06.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-07T19:07:06.924Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-07T19:07:06.963Z] ========================================================= [2022-04-07T19:07:06.963Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-07T19:07:06.963Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:07:07.437Z] + 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-07T19:07:07.437Z] Sending build context to Docker daemon 210.4kB [2022-04-07T19:07:07.715Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T19:07:07.715Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-07T19:07:07.996Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-07T19:07:07.996Z] 9b3977197b4f: Pulling fs layer [2022-04-07T19:07:07.996Z] 1a89e8eeedd5: Pulling fs layer [2022-04-07T19:07:07.996Z] 94645a83ff95: Pulling fs layer [2022-04-07T19:07:07.996Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-07T19:07:07.996Z] 0c92f367c5e7: Pulling fs layer [2022-04-07T19:07:07.996Z] f7c0051592d6: Pulling fs layer [2022-04-07T19:07:07.996Z] a227ed2f7395: Pulling fs layer [2022-04-07T19:07:07.996Z] 7b1c46037f91: Pulling fs layer [2022-04-07T19:07:07.996Z] 3f3a8bcf1eab: Waiting [2022-04-07T19:07:07.996Z] f7c0051592d6: Waiting [2022-04-07T19:07:07.996Z] 0c92f367c5e7: Waiting [2022-04-07T19:07:07.996Z] a227ed2f7395: Waiting [2022-04-07T19:07:07.996Z] 7b1c46037f91: Waiting [2022-04-07T19:07:07.996Z] 94645a83ff95: Download complete [2022-04-07T19:07:07.996Z] 1a89e8eeedd5: Download complete [2022-04-07T19:07:07.996Z] 0c92f367c5e7: Verifying Checksum [2022-04-07T19:07:07.996Z] 0c92f367c5e7: Download complete [2022-04-07T19:07:07.996Z] f7c0051592d6: Verifying Checksum [2022-04-07T19:07:07.996Z] f7c0051592d6: Download complete [2022-04-07T19:07:07.996Z] 9b3977197b4f: Verifying Checksum [2022-04-07T19:07:07.997Z] 9b3977197b4f: Download complete [2022-04-07T19:07:08.280Z] a227ed2f7395: Verifying Checksum [2022-04-07T19:07:08.280Z] a227ed2f7395: Download complete [2022-04-07T19:07:08.889Z] 9b3977197b4f: Pull complete [2022-04-07T19:07:09.505Z] 1a89e8eeedd5: Pull complete [2022-04-07T19:07:10.119Z] 94645a83ff95: Pull complete [2022-04-07T19:07:10.397Z] 7b1c46037f91: Verifying Checksum [2022-04-07T19:07:10.397Z] 7b1c46037f91: Download complete [2022-04-07T19:07:11.005Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-07T19:07:11.005Z] 3f3a8bcf1eab: Download complete [2022-04-07T19:07:26.181Z] 3f3a8bcf1eab: Pull complete [2022-04-07T19:07:26.181Z] 0c92f367c5e7: Pull complete [2022-04-07T19:07:26.181Z] f7c0051592d6: Pull complete [2022-04-07T19:07:26.181Z] a227ed2f7395: Pull complete [2022-04-07T19:07:32.936Z] 7b1c46037f91: Pull complete [2022-04-07T19:07:32.936Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-07T19:07:32.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-07T19:07:32.936Z] ---> f79e39bc4007 [2022-04-07T19:07:32.936Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-07T19:07:33.567Z] ---> Running in a2f0bf321528 [2022-04-07T19:07:33.853Z] Removing intermediate container a2f0bf321528 [2022-04-07T19:07:33.853Z] ---> 6afe3a872bf5 [2022-04-07T19:07:33.853Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T19:07:33.853Z] ---> Running in de4dcec8d777 [2022-04-07T19:07:34.461Z] Removing intermediate container de4dcec8d777 [2022-04-07T19:07:34.461Z] ---> 4714bad14569 [2022-04-07T19:07:34.461Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T19:07:34.461Z] ---> Running in 7bd2f9ac1d34 [2022-04-07T19:07:34.745Z] Removing intermediate container 7bd2f9ac1d34 [2022-04-07T19:07:34.745Z] ---> 276299cfc391 [2022-04-07T19:07:34.745Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T19:07:35.028Z] ---> Running in 7f63efd377c3 [2022-04-07T19:07:39.381Z] Removing intermediate container 7f63efd377c3 [2022-04-07T19:07:39.381Z] ---> f37313ceddd6 [2022-04-07T19:07:39.381Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T19:07:39.381Z] ---> Running in ab64161d3836 [2022-04-07T19:07:40.825Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-07T19:07:41.441Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-07T19:07:42.902Z] OK: 220 MiB in 52 packages [2022-04-07T19:07:43.941Z] Removing intermediate container ab64161d3836 [2022-04-07T19:07:43.941Z] ---> 63a789b113e9 [2022-04-07T19:07:43.941Z] Step 8/13 : WORKDIR /app [2022-04-07T19:07:43.941Z] ---> Running in 2719cf681dde [2022-04-07T19:07:44.561Z] Removing intermediate container 2719cf681dde [2022-04-07T19:07:44.561Z] ---> 4509cc8203f5 [2022-04-07T19:07:44.561Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-07T19:07:45.174Z] ---> 52a0a30ad24f [2022-04-07T19:07:45.174Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T19:07:45.461Z] ---> Running in b523ee1d758d [2022-04-07T19:09:22.580Z] Removing intermediate container b523ee1d758d [2022-04-07T19:09:22.580Z] ---> dc206471007a [2022-04-07T19:09:22.580Z] Step 11/13 : COPY . . [2022-04-07T19:09:22.580Z] ---> 93ea0bd744ce [2022-04-07T19:09:22.580Z] Step 12/13 : ARG MAKE="make build" [2022-04-07T19:09:22.580Z] ---> Running in 19af04e89f2b [2022-04-07T19:09:22.580Z] Removing intermediate container 19af04e89f2b [2022-04-07T19:09:22.580Z] ---> a611727b6ab9 [2022-04-07T19:09:22.580Z] Step 13/13 : RUN $MAKE [2022-04-07T19:09:22.580Z] ---> Running in f47081621fe2 [2022-04-07T19:09:22.580Z] noop [2022-04-07T19:09:22.580Z] Removing intermediate container f47081621fe2 [2022-04-07T19:09:22.580Z] ---> fe79c8c4ea05 [2022-04-07T19:09:22.580Z] Successfully built fe79c8c4ea05 [2022-04-07T19:09:22.580Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:09:22.982Z] + docker inspect -f . ci-base-image-arm64 [2022-04-07T19:09:22.982Z] . [Pipeline] withDockerContainer [2022-04-07T19:09:23.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-11448 does not seem to be running inside a container [2022-04-07T19:09:23.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-07T19:09:25.208Z] $ docker top 89a38c4dd00e600f6c3fa90af1d5aec253b8b3e638abae05422fbe611a8da1b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T19:09:26.287Z] + go version [2022-04-07T19:09:26.287Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-07T19:09:26.325Z] $ docker stop --time=1 89a38c4dd00e600f6c3fa90af1d5aec253b8b3e638abae05422fbe611a8da1b5 [2022-04-07T19:09:28.159Z] $ docker rm -f 89a38c4dd00e600f6c3fa90af1d5aec253b8b3e638abae05422fbe611a8da1b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:09:29.233Z] + docker inspect -f . ci-base-image-arm64 [2022-04-07T19:09:29.233Z] . [Pipeline] withDockerContainer [2022-04-07T19:09:29.540Z] prd-ubuntu20.04-docker-arm64-4c-16g-11448 does not seem to be running inside a container [2022-04-07T19:09:29.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-07T19:09:31.315Z] $ docker top 6977aa8b7b662182f314e7762f61f82b9ce65f5c6de047f01992ce0535450687 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-07T19:09:32.445Z] + make test [2022-04-07T19:09:32.445Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-07T19:10:40.716Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-07T19:10:40.716Z] CGO_ENABLED=1 go vet ./... [2022-04-07T19:11:03.282Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-07T19:11:03.282Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-07T19:11:03.282Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-07T19:11:03.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-07T19:11:03.438Z] $ docker stop --time=1 6977aa8b7b662182f314e7762f61f82b9ce65f5c6de047f01992ce0535450687 [2022-04-07T19:11:05.425Z] $ docker rm -f 6977aa8b7b662182f314e7762f61f82b9ce65f5c6de047f01992ce0535450687 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T19:11:06.435Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-07T19:11:06.472Z] Warning: overwriting stash ‘coverage-report’ [2022-04-07T19:11:07.097Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T19:11:07.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-07T19:11:08.088Z] + ls -al . [2022-04-07T19:11:08.088Z] total 172 [2022-04-07T19:11:08.088Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 7 19:11 . [2022-04-07T19:11:08.088Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 19:06 .. [2022-04-07T19:11:08.088Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 7 19:06 .dockerignore [2022-04-07T19:11:08.088Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 19:06 .git [2022-04-07T19:11:08.088Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 19:06 .github [2022-04-07T19:11:08.088Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 7 19:06 .gitignore [2022-04-07T19:11:08.088Z] -rw-rw-r-- 1 jenkins jenkins 7627 Apr 7 19:06 Attribution.txt [2022-04-07T19:11:08.088Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 7 19:06 CHANGELOG.md [2022-04-07T19:11:08.088Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 7 19:06 Dockerfile [2022-04-07T19:11:08.088Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 19:06 GOVERNANCE.md [2022-04-07T19:11:08.088Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 7 19:06 Jenkinsfile [2022-04-07T19:11:08.089Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 7 19:06 LICENSE [2022-04-07T19:11:08.089Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 7 19:06 OWNERS.md [2022-04-07T19:11:08.089Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 7 19:06 README.md [2022-04-07T19:11:08.089Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 19:01 VERSION [2022-04-07T19:11:08.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 19:06 bin [2022-04-07T19:11:08.089Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 7 19:09 coverage.out [2022-04-07T19:11:08.089Z] -rw-rw-r-- 1 jenkins jenkins 2816 Apr 7 19:06 go.mod [2022-04-07T19:11:08.089Z] -rw-rw-r-- 1 jenkins jenkins 50335 Apr 7 19:06 go.sum [2022-04-07T19:11:08.089Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 7 19:06 main.go [2022-04-07T19:11:08.089Z] -rw-rw-r-- 1 jenkins jenkins 1860 Apr 7 19:06 makefile [2022-04-07T19:11:08.089Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 19:06 res [2022-04-07T19:11:08.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 19:06 snap [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:11:08.472Z] + 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=6b983b9320deb447c84ae0c8baeb0d1191d2703c --label arch=arm64 --label version=0.0.0 . [2022-04-07T19:11:08.750Z] Sending build context to Docker daemon 211.5kB [2022-04-07T19:11:09.028Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T19:11:09.028Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-07T19:11:09.028Z] ---> fe79c8c4ea05 [2022-04-07T19:11:09.028Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-07T19:11:09.028Z] ---> Running in c86fb5b529b0 [2022-04-07T19:11:09.304Z] Removing intermediate container c86fb5b529b0 [2022-04-07T19:11:09.304Z] ---> c657151cb7ab [2022-04-07T19:11:09.304Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T19:11:09.581Z] ---> Running in 8ec8aa0ee6f8 [2022-04-07T19:11:09.859Z] Removing intermediate container 8ec8aa0ee6f8 [2022-04-07T19:11:09.859Z] ---> ec9f684ad314 [2022-04-07T19:11:09.859Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T19:11:10.139Z] ---> Running in 8ca97f9d7f90 [2022-04-07T19:11:10.428Z] Removing intermediate container 8ca97f9d7f90 [2022-04-07T19:11:10.428Z] ---> ec4159a221a8 [2022-04-07T19:11:10.428Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T19:11:10.428Z] ---> Running in 64a119afd044 [2022-04-07T19:11:12.451Z] Removing intermediate container 64a119afd044 [2022-04-07T19:11:12.451Z] ---> 99fe7707b0a6 [2022-04-07T19:11:12.451Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T19:11:12.726Z] ---> Running in e88f1bed2dce [2022-04-07T19:11:14.192Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-07T19:11:14.800Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-07T19:11:16.250Z] OK: 220 MiB in 52 packages [2022-04-07T19:11:17.245Z] Removing intermediate container e88f1bed2dce [2022-04-07T19:11:17.245Z] ---> 22122646e414 [2022-04-07T19:11:17.245Z] Step 8/27 : WORKDIR /app [2022-04-07T19:11:17.245Z] ---> Running in 679d13b55d87 [2022-04-07T19:11:17.524Z] Removing intermediate container 679d13b55d87 [2022-04-07T19:11:17.524Z] ---> dc06b64fd8b2 [2022-04-07T19:11:17.524Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-07T19:11:18.138Z] ---> 2bf845fd87b4 [2022-04-07T19:11:18.138Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T19:11:18.416Z] ---> Running in 512608b30a04 [2022-04-07T19:11:21.357Z] Removing intermediate container 512608b30a04 [2022-04-07T19:11:21.357Z] ---> 5c7931e97287 [2022-04-07T19:11:21.357Z] Step 11/27 : COPY . . [2022-04-07T19:11:21.636Z] ---> cc9c82472e5f [2022-04-07T19:11:21.637Z] Step 12/27 : ARG MAKE="make build" [2022-04-07T19:11:21.914Z] ---> Running in 3651e7a13ece [2022-04-07T19:11:22.201Z] Removing intermediate container 3651e7a13ece [2022-04-07T19:11:22.201Z] ---> 722d6ddc7fe6 [2022-04-07T19:11:22.201Z] Step 13/27 : RUN $MAKE [2022-04-07T19:11:22.201Z] ---> Running in ae2d7a47b29a [2022-04-07T19:11:23.663Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0-dev.38 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [2022-04-07T19:13:15.629Z] Removing intermediate container ae2d7a47b29a [2022-04-07T19:13:15.629Z] ---> a5f86fbcf660 [2022-04-07T19:13:15.629Z] Step 14/27 : FROM alpine:3.14 [2022-04-07T19:13:15.629Z] 3.14: Pulling from library/alpine [2022-04-07T19:13:15.629Z] 455c02918c45: Pulling fs layer [2022-04-07T19:13:15.629Z] 455c02918c45: Download complete [2022-04-07T19:13:15.629Z] 455c02918c45: Pull complete [2022-04-07T19:13:15.629Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-07T19:13:15.629Z] Status: Downloaded newer image for alpine:3.14 [2022-04-07T19:13:15.629Z] ---> ac73e934f311 [2022-04-07T19:13:15.629Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-07T19:13:15.629Z] ---> Running in 885091439d7b [2022-04-07T19:13:15.629Z] Removing intermediate container 885091439d7b [2022-04-07T19:13:15.629Z] ---> 56be79c42314 [2022-04-07T19:13:15.629Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-07T19:13:15.629Z] ---> Running in 3b568f88b745 [2022-04-07T19:13:15.629Z] Removing intermediate container 3b568f88b745 [2022-04-07T19:13:15.629Z] ---> fade6c592bd4 [2022-04-07T19:13:15.629Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-07T19:13:15.629Z] ---> Running in d6d7f08bbb5c [2022-04-07T19:13:15.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-07T19:13:15.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-07T19:13:15.629Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-07T19:13:15.629Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-07T19:13:15.629Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-07T19:13:15.629Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-07T19:13:15.629Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-07T19:13:15.629Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-07T19:13:15.629Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-07T19:13:15.629Z] Executing busybox-1.33.1-r7.trigger [2022-04-07T19:13:15.629Z] Executing ca-certificates-20211220-r0.trigger [2022-04-07T19:13:15.629Z] OK: 9 MiB in 21 packages [2022-04-07T19:13:15.629Z] Removing intermediate container d6d7f08bbb5c [2022-04-07T19:13:15.629Z] ---> feceb63a890d [2022-04-07T19:13:15.629Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-07T19:13:15.629Z] ---> d98b36985171 [2022-04-07T19:13:15.629Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-07T19:13:15.629Z] ---> 238dfd868252 [2022-04-07T19:13:15.629Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-07T19:13:15.629Z] ---> 0beca7beeef2 [2022-04-07T19:13:15.629Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-07T19:13:15.629Z] ---> f8f3bbd94fdc [2022-04-07T19:13:15.629Z] Step 22/27 : EXPOSE 48095 [2022-04-07T19:13:15.629Z] ---> Running in 139fb15c6734 [2022-04-07T19:13:15.629Z] Removing intermediate container 139fb15c6734 [2022-04-07T19:13:15.629Z] ---> 60e3b4e52650 [2022-04-07T19:13:15.629Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-07T19:13:15.629Z] ---> Running in 699d79e241e8 [2022-04-07T19:13:15.629Z] Removing intermediate container 699d79e241e8 [2022-04-07T19:13:15.629Z] ---> bb31a3e95eb7 [2022-04-07T19:13:15.629Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-07T19:13:15.629Z] ---> Running in fd1192d66a44 [2022-04-07T19:13:15.629Z] Removing intermediate container fd1192d66a44 [2022-04-07T19:13:15.629Z] ---> e9284398fa1f [2022-04-07T19:13:15.629Z] Step 25/27 : LABEL arch=arm64 [2022-04-07T19:13:15.629Z] ---> Running in 150b57e4e676 [2022-04-07T19:13:15.629Z] Removing intermediate container 150b57e4e676 [2022-04-07T19:13:15.629Z] ---> 74d12928ded3 [2022-04-07T19:13:15.629Z] Step 26/27 : LABEL git_sha=6b983b9320deb447c84ae0c8baeb0d1191d2703c [2022-04-07T19:13:15.629Z] ---> Running in bcbc0c4397ed [2022-04-07T19:13:15.629Z] Removing intermediate container bcbc0c4397ed [2022-04-07T19:13:15.629Z] ---> 6b2bd403a085 [2022-04-07T19:13:15.629Z] Step 27/27 : LABEL version=0.0.0 [2022-04-07T19:13:15.629Z] ---> Running in e4a3b5ff6abe [2022-04-07T19:13:15.629Z] Removing intermediate container e4a3b5ff6abe [2022-04-07T19:13:15.629Z] ---> f0247fbdc896 [2022-04-07T19:13:15.629Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-07T19:13:15.629Z] Successfully built f0247fbdc896 [2022-04-07T19:13:15.629Z] 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-07T19:13:16.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T19:13:16.393Z] [2022-04-07T19:13:16.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:13:16.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T19:13:17.074Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-07T19:13:17.074Z] 8998bd30e6a1: Pulling fs layer [2022-04-07T19:13:17.074Z] 04944245beec: Pulling fs layer [2022-04-07T19:13:17.074Z] 699f458cf7ca: Pulling fs layer [2022-04-07T19:13:17.074Z] 765212b225bb: Pulling fs layer [2022-04-07T19:13:17.074Z] f23df028b6ca: Pulling fs layer [2022-04-07T19:13:17.074Z] d65c8cfc05b1: Pulling fs layer [2022-04-07T19:13:17.074Z] 2437ff75d9bd: Pulling fs layer [2022-04-07T19:13:17.074Z] 765212b225bb: Waiting [2022-04-07T19:13:17.074Z] f23df028b6ca: Waiting [2022-04-07T19:13:17.074Z] d65c8cfc05b1: Waiting [2022-04-07T19:13:17.074Z] 2437ff75d9bd: Waiting [2022-04-07T19:13:17.074Z] 04944245beec: Verifying Checksum [2022-04-07T19:13:17.074Z] 04944245beec: Download complete [2022-04-07T19:13:17.074Z] 765212b225bb: Verifying Checksum [2022-04-07T19:13:17.074Z] 765212b225bb: Download complete [2022-04-07T19:13:17.074Z] f23df028b6ca: Verifying Checksum [2022-04-07T19:13:17.074Z] f23df028b6ca: Download complete [2022-04-07T19:13:17.352Z] d65c8cfc05b1: Download complete [2022-04-07T19:13:17.352Z] 699f458cf7ca: Verifying Checksum [2022-04-07T19:13:17.352Z] 699f458cf7ca: Download complete [2022-04-07T19:13:17.958Z] 8998bd30e6a1: Verifying Checksum [2022-04-07T19:13:17.958Z] 8998bd30e6a1: Download complete [2022-04-07T19:13:20.625Z] 2437ff75d9bd: Verifying Checksum [2022-04-07T19:13:20.625Z] 2437ff75d9bd: Download complete [2022-04-07T19:13:22.620Z] 8998bd30e6a1: Pull complete [2022-04-07T19:13:22.896Z] 04944245beec: Pull complete [2022-04-07T19:13:24.345Z] 699f458cf7ca: Pull complete [2022-04-07T19:13:24.620Z] 765212b225bb: Pull complete [2022-04-07T19:13:25.612Z] f23df028b6ca: Pull complete [2022-04-07T19:13:25.893Z] d65c8cfc05b1: Pull complete [2022-04-07T19:13:40.987Z] 2437ff75d9bd: Pull complete [2022-04-07T19:13:40.987Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-07T19:13:40.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T19:13:40.987Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-07T19:13:41.261Z] prd-ubuntu20.04-docker-arm64-4c-16g-11448 does not seem to be running inside a container [2022-04-07T19:13:41.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-07T19:13:44.628Z] $ docker top ba5fbd2fa7cb3fbd6823996dc1ac375e62c38fc2054334978aac31d3d094b98f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:13:45.727Z] ---> job-cost.sh [2022-04-07T19:13:45.727Z] lf-activate-venv: SKIPPING [2022-04-07T19:13:45.727Z] INFO: No Stack... [2022-04-07T19:13:46.336Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-07T19:13:46.945Z] INFO: Archiving Costs [Pipeline] sh [2022-04-07T19:13:47.654Z] + + catcut /w/workspace/app-service-configurable/1/archives/cost.csv [2022-04-07T19:13:47.654Z] -d, -f6 [Pipeline] lock [2022-04-07T19:13:47.762Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] [2022-04-07T19:13:47.767Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] did not exist. Created. [2022-04-07T19:13:47.767Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-07T19:13:48.544Z] /w/workspace/app-service-configurable/1@tmp/durable-f4a6d870/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-07T19:13:49.277Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-07T19:13:49.330Z] Warning: overwriting stash ‘stack-cost’ [2022-04-07T19:13:49.401Z] Stashed 1 file(s) [Pipeline] } [2022-04-07T19:13:49.416Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-07T19:13:49.489Z] $ docker stop --time=1 ba5fbd2fa7cb3fbd6823996dc1ac375e62c38fc2054334978aac31d3d094b98f [2022-04-07T19:13:51.115Z] $ docker rm -f ba5fbd2fa7cb3fbd6823996dc1ac375e62c38fc2054334978aac31d3d094b98f [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-07T19:13:52.168Z] provisioning config files... [2022-04-07T19:13:52.184Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config5954397289758818170tmp [Pipeline] { [Pipeline] sh [2022-04-07T19:13:52.515Z] + set +x [2022-04-07T19:13:52.515Z] + curl -s https://codecov.io/bash [2022-04-07T19:13:52.515Z] + bash -s -- [2022-04-07T19:13:52.515Z] [2022-04-07T19:13:52.515Z] _____ _ [2022-04-07T19:13:52.515Z] / ____| | | [2022-04-07T19:13:52.515Z] | | ___ __| | ___ ___ _____ __ [2022-04-07T19:13:52.515Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-07T19:13:52.515Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-07T19:13:52.515Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-07T19:13:52.515Z] Bash-1.0.6 [2022-04-07T19:13:52.515Z] [2022-04-07T19:13:52.515Z] [2022-04-07T19:13:52.515Z] ==> git version 2.25.1 found [2022-04-07T19:13:52.515Z] ==> 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-07T19:13:52.515Z] Release-Date: 2020-01-08 [2022-04-07T19:13:52.515Z] 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-07T19:13:52.515Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-07T19:13:52.515Z] ==> Jenkins CI detected. [2022-04-07T19:13:52.515Z] current dir:  /w/workspace/_app-service-configurable_PR-396 [2022-04-07T19:13:52.515Z] project root: . [2022-04-07T19:13:52.515Z] --> token set from env [2022-04-07T19:13:52.515Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-07T19:13:52.515Z] ==> Running gcov in . (disable via -X gcov) [2022-04-07T19:13:52.515Z] ==> Python coveragepy not found [2022-04-07T19:13:52.515Z] ==> Searching for coverage reports in: [2022-04-07T19:13:52.515Z] + . [2022-04-07T19:13:52.515Z] -> Found 1 reports [2022-04-07T19:13:52.515Z] ==> Detecting git/mercurial file structure [2022-04-07T19:13:52.515Z] ==> Reading reports [2022-04-07T19:13:52.515Z] + ./coverage.out bytes=10 [2022-04-07T19:13:52.515Z] ==> Appending adjustments [2022-04-07T19:13:52.515Z] https://docs.codecov.io/docs/fixing-reports [2022-04-07T19:13:52.775Z] + Found adjustments [2022-04-07T19:13:52.775Z] ==> Gzipping contents [2022-04-07T19:13:52.775Z] 4.0K /tmp/codecov.TbEbUl.gz [2022-04-07T19:13:52.775Z] ==> Uploading reports [2022-04-07T19:13:52.775Z] url: https://codecov.io [2022-04-07T19:13:52.775Z] query: branch=PR-396&commit=6b983b9320deb447c84ae0c8baeb0d1191d2703c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=396&job=&cmd_args= [2022-04-07T19:13:52.775Z] -> Pinging Codecov [2022-04-07T19:13:52.775Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-396&commit=6b983b9320deb447c84ae0c8baeb0d1191d2703c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=396&job=&cmd_args= [2022-04-07T19:13:53.037Z] -> Uploading to [2022-04-07T19:13:53.037Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-07/A97CA9966030D2A3747ED39772930CCE/6b983b9320deb447c84ae0c8baeb0d1191d2703c/c3371759-3772-4936-8722-670c2aa3953f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T191352Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe08d2b4203fb0c014d4a06673a7a325db957ca089ab9f5a26c844786c7d4152 [2022-04-07T19:13:53.037Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-07T19:13:53.037Z] Dload Upload Total Spent Left Speed [2022-04-07T19:13:53.298Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2658 --:--:-- --:--:-- --:--:-- 2658 [2022-04-07T19:13:53.298Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/6b983b9320deb447c84ae0c8baeb0d1191d2703c [Pipeline] } [2022-04-07T19:13:53.322Z] 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-07T19:13:55.081Z] + [ -d /w/workspace/_app-service-configurable_PR-396/archives ] [2022-04-07T19:13:55.081Z] + ls -al /w/workspace/_app-service-configurable_PR-396/archives [2022-04-07T19:13:55.081Z] total 16 [2022-04-07T19:13:55.081Z] drwxr-xr-x 3 root root 4096 Apr 7 19:02 . [2022-04-07T19:13:55.081Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 19:02 .. [2022-04-07T19:13:55.081Z] drwxr-xr-x 2 root root 4096 Apr 7 19:02 cost [2022-04-07T19:13:55.081Z] -rw-r--r-- 1 root root 95 Apr 7 19:02 cost.csv [2022-04-07T19:13:55.081Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-396/archives [2022-04-07T19:13:55.081Z] + ls -al /w/workspace/_app-service-configurable_PR-396/archives [2022-04-07T19:13:55.081Z] total 16 [2022-04-07T19:13:55.081Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 19:02 . [2022-04-07T19:13:55.081Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 19:02 .. [2022-04-07T19:13:55.081Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 19:02 cost [2022-04-07T19:13:55.081Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 7 19:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:13:55.409Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:13:56.312Z] ---> package-listing.sh [2022-04-07T19:13:56.312Z] ++ facter osfamily [2022-04-07T19:13:56.312Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-07T19:13:56.572Z] + OS_FAMILY=debian [2022-04-07T19:13:56.572Z] + workspace=/w/workspace/_app-service-configurable_PR-396 [2022-04-07T19:13:56.572Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-07T19:13:56.572Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-07T19:13:56.572Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-07T19:13:56.572Z] + PACKAGES=/tmp/packages_start.txt [2022-04-07T19:13:56.572Z] + '[' /w/workspace/_app-service-configurable_PR-396 ']' [2022-04-07T19:13:56.572Z] + PACKAGES=/tmp/packages_end.txt [2022-04-07T19:13:56.572Z] + case "${OS_FAMILY}" in [2022-04-07T19:13:56.572Z] + dpkg -l [2022-04-07T19:13:56.572Z] + grep '^ii' [2022-04-07T19:13:56.572Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-07T19:13:56.572Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-07T19:13:56.572Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-07T19:13:56.572Z] + '[' /w/workspace/_app-service-configurable_PR-396 ']' [2022-04-07T19:13:56.572Z] + mkdir -p /w/workspace/_app-service-configurable_PR-396/archives/ [2022-04-07T19:13:56.572Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-396/archives/ [Pipeline] echo [2022-04-07T19:13:56.609Z] 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-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-07T19:13:56.905Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-07T19:13:57.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T19:13:57.490Z] . [Pipeline] withDockerContainer [2022-04-07T19:13:57.590Z] prd-ubuntu20.04-docker-8c-8g-11445 does not seem to be running inside a container [2022-04-07T19:13:57.631Z] $ 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-396/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-396 -v /w/workspace/_app-service-configurable_PR-396:/w/workspace/_app-service-configurable_PR-396:rw,z -v /w/workspace/_app-service-configurable_PR-396@tmp:/w/workspace/_app-service-configurable_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-07T19:13:57.847Z] $ docker top 41f2c52ed6f879587bae71e59f33828c502991e59235836b607dd4de2c5cf184 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T19:13:58.249Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-07T19:13:58.556Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-07T19:13:58.867Z] + ls /var/log/sa-host [2022-04-07T19:13:58.867Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T19:13:59.055Z] provisioning config files... [2022-04-07T19:13:59.065Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-396@tmp/config95364966841218149tmp [Pipeline] { [Pipeline] echo [2022-04-07T19:13:59.114Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:13:59.434Z] ---> create-netrc.sh [Pipeline] } [2022-04-07T19:13:59.463Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:13:59.860Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-07T19:13:59.894Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:14:00.211Z] ---> sudo-logs.sh [2022-04-07T19:14:00.211Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-07T19:14:00.297Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:14:00.620Z] ---> job-cost.sh [2022-04-07T19:14:00.620Z] lf-activate-venv: SKIPPING [2022-04-07T19:14:00.620Z] DEBUG: total: 0.2199999988079071 [2022-04-07T19:14:00.620Z] INFO: Retrieving Stack Cost... [2022-04-07T19:14:00.882Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-07T19:14:01.455Z] INFO: Archiving Costs [Pipeline] echo [2022-04-07T19:14:01.496Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T19:14:01.819Z] ---> logs-deploy.sh [2022-04-07T19:14:01.819Z] lf-activate-venv: SKIPPING [2022-04-07T19:14:01.819Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-396/1 [2022-04-07T19:14:01.819Z] INFO: archiving workspace using pattern(s): [2022-04-07T19:14:02.764Z] Archives upload complete. [2022-04-07T19:14:03.026Z] INFO: archiving logs to Nexus