Pull request #463 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 lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 970ea8cdef185d54c72dcb37a5df9fe0d96c6246+d275c6c1be7b0e598ae2180a778e5c3f26e0028b (cb78803a3ce735761179cf023af6d7ff87592f1e) 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-ssh5286742934458274823.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4622902977983163235.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2051399287651064176.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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3975267221780209133.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh9929474332846589664.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-463/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-463/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9104485933554861402.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [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-24153 in /w/workspace/_app-service-configurable_PR-463 [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-463 # 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 d275c6c1be7b0e598ae2180a778e5c3f26e0028b into PR head commit 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 Merge succeeded, producing 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 Checking out Revision 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 (PR-463) > 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/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 # 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 d275c6c1be7b0e598ae2180a778e5c3f26e0028b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 # timeout=10 Commit message: "build: Add NATS convenience build targets" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-31T00:42:34.103Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-31T00:42:34.296Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-31T00:42:34.403Z] ========================================================= [2022-08-31T00:42:34.403Z] EdgeX Global Pipelines Version Info [2022-08-31T00:42:34.403Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:42:35.197Z] ------------------- [2022-08-31T00:42:35.197Z] stable info: [2022-08-31T00:42:35.197Z] ------------------- [2022-08-31T00:42:35.197Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-31T00:42:35.197Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T00:42:35.197Z] Message: update stable to v1.0.239 [2022-08-31T00:42:35.769Z] ------------------- [2022-08-31T00:42:35.769Z] experimental info: [2022-08-31T00:42:35.769Z] ------------------- [2022-08-31T00:42:35.769Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-31T00:42:35.769Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T00:42:35.769Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-31T00:42:36.109Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-08-31T00:42:36.160Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-08-31T00:42:36.202Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-31T00:42:36.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-31T00:42:36.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-31T00:42:36.333Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-31T00:42:36.373Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-31T00:42:36.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-31T00:42:36.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-31T00:42:36.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-31T00:42:36.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-31T00:42:36.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-08-31T00:42:36.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-31T00:42:36.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-31T00:42:36.716Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T00:42:36.758Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T00:42:36.806Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T00:42:36.854Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T00:42:36.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-31T00:42:36.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-31T00:42:36.983Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-31T00:42:37.029Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-31T00:42:37.072Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-31T00:42:37.118Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-31T00:42:37.163Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-31T00:42:37.206Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-31T00:42:37.248Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-31T00:42:37.289Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-463 [Pipeline] echo [2022-08-31T00:42:37.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-463 [Pipeline] echo [2022-08-31T00:42:37.380Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-463 [Pipeline] echo [2022-08-31T00:42:37.424Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 [Pipeline] echo [2022-08-31T00:42:37.471Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 970ea8c [Pipeline] echo [2022-08-31T00:42:37.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T00:42:37.637Z] provisioning config files... [2022-08-31T00:42:37.651Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-463@tmp/config5129256010139202071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:42:38.009Z] ---> docker-login.sh [2022-08-31T00:42:38.009Z] nexus3.edgexfoundry.org:10001 [2022-08-31T00:42:38.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:38.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:38.268Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:38.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:38.268Z] [2022-08-31T00:42:38.268Z] Login Succeeded [2022-08-31T00:42:38.268Z] nexus3.edgexfoundry.org:10002 [2022-08-31T00:42:38.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:38.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:38.528Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:38.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:38.528Z] [2022-08-31T00:42:38.528Z] Login Succeeded [2022-08-31T00:42:38.528Z] nexus3.edgexfoundry.org:10003 [2022-08-31T00:42:38.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:38.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:38.528Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:38.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:38.528Z] [2022-08-31T00:42:38.528Z] Login Succeeded [2022-08-31T00:42:38.528Z] nexus3.edgexfoundry.org:10004 [2022-08-31T00:42:38.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:38.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:38.789Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:38.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:38.789Z] [2022-08-31T00:42:38.789Z] Login Succeeded [2022-08-31T00:42:38.790Z] docker.io [2022-08-31T00:42:38.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:39.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:39.052Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:39.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:39.052Z] [2022-08-31T00:42:39.052Z] Login Succeeded [2022-08-31T00:42:39.052Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T00:42:39.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-31T00:42:39.688Z] + git rev-list -1 --merges 970ea8cdef185d54c72dcb37a5df9fe0d96c6246~1..970ea8cdef185d54c72dcb37a5df9fe0d96c6246 [Pipeline] echo [2022-08-31T00:42:39.765Z] -----------> git rev-list -1 --merges 970ea8cdef185d54c72dcb37a5df9fe0d96c6246~1..970ea8cdef185d54c72dcb37a5df9fe0d96c6246 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 [false] [Pipeline] sh [2022-08-31T00:42:40.076Z] + git log --format=format:%s -1 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 [Pipeline] echo [2022-08-31T00:42:40.113Z] ========================================================= [2022-08-31T00:42:40.113Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-31T00:42:40.113Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T00:42:40.563Z] + git log --format=format:%s -1 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 [Pipeline] echo [2022-08-31T00:42:40.594Z] [semverPrep] GIT_COMMIT: 970ea8cdef185d54c72dcb37a5df9fe0d96c6246, Commit Message: build: Add NATS convenience build targets [Pipeline] echo [2022-08-31T00:42:40.624Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-31T00:42:41.011Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-31T00:42:41.011Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-31T00:42:41.011Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-31T00:42:41.011Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-31T00:42:41.011Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-31T00:42:41.011Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-31T00:42:41.011Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:42:41.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T00:42:41.455Z] [2022-08-31T00:42:41.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:42:41.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T00:42:41.838Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-31T00:42:41.838Z] b85a868b505f: Pulling fs layer [2022-08-31T00:42:41.838Z] e2be974225ed: Pulling fs layer [2022-08-31T00:42:41.838Z] 339a4e72a1f5: Pulling fs layer [2022-08-31T00:42:41.838Z] 988bab9f4d93: Pulling fs layer [2022-08-31T00:42:41.838Z] 1469e6f7b9e6: Pulling fs layer [2022-08-31T00:42:41.838Z] eaf3925da568: Pulling fs layer [2022-08-31T00:42:41.838Z] bab4dde63d76: Pulling fs layer [2022-08-31T00:42:41.838Z] bde34c3a00c8: Pulling fs layer [2022-08-31T00:42:41.838Z] b352a97aabf1: Pulling fs layer [2022-08-31T00:42:41.838Z] 4872d77fe225: Pulling fs layer [2022-08-31T00:42:41.838Z] 5851b861e8e6: Pulling fs layer [2022-08-31T00:42:41.838Z] eaf3925da568: Waiting [2022-08-31T00:42:41.838Z] bab4dde63d76: Waiting [2022-08-31T00:42:41.838Z] bde34c3a00c8: Waiting [2022-08-31T00:42:41.838Z] b352a97aabf1: Waiting [2022-08-31T00:42:41.838Z] 988bab9f4d93: Waiting [2022-08-31T00:42:41.838Z] 5851b861e8e6: Waiting [2022-08-31T00:42:41.838Z] 1469e6f7b9e6: Waiting [2022-08-31T00:42:41.838Z] 4872d77fe225: Waiting [2022-08-31T00:42:41.838Z] e2be974225ed: Download complete [2022-08-31T00:42:41.838Z] 988bab9f4d93: Verifying Checksum [2022-08-31T00:42:41.838Z] 988bab9f4d93: Download complete [2022-08-31T00:42:41.838Z] 1469e6f7b9e6: Verifying Checksum [2022-08-31T00:42:41.838Z] 1469e6f7b9e6: Download complete [2022-08-31T00:42:41.838Z] eaf3925da568: Verifying Checksum [2022-08-31T00:42:41.838Z] eaf3925da568: Download complete [2022-08-31T00:42:42.104Z] 339a4e72a1f5: Verifying Checksum [2022-08-31T00:42:42.104Z] 339a4e72a1f5: Download complete [2022-08-31T00:42:42.104Z] bde34c3a00c8: Verifying Checksum [2022-08-31T00:42:42.104Z] bde34c3a00c8: Download complete [2022-08-31T00:42:42.104Z] b352a97aabf1: Download complete [2022-08-31T00:42:42.104Z] 4872d77fe225: Verifying Checksum [2022-08-31T00:42:42.104Z] 4872d77fe225: Download complete [2022-08-31T00:42:42.104Z] 5851b861e8e6: Verifying Checksum [2022-08-31T00:42:42.104Z] 5851b861e8e6: Download complete [2022-08-31T00:42:42.104Z] b85a868b505f: Verifying Checksum [2022-08-31T00:42:42.104Z] b85a868b505f: Download complete [2022-08-31T00:42:42.364Z] bab4dde63d76: Download complete [2022-08-31T00:42:43.301Z] b85a868b505f: Pull complete [2022-08-31T00:42:43.301Z] e2be974225ed: Pull complete [2022-08-31T00:42:43.868Z] 339a4e72a1f5: Pull complete [2022-08-31T00:42:43.868Z] 988bab9f4d93: Pull complete [2022-08-31T00:42:44.129Z] 1469e6f7b9e6: Pull complete [2022-08-31T00:42:44.129Z] eaf3925da568: Pull complete [2022-08-31T00:42:46.037Z] bab4dde63d76: Pull complete [2022-08-31T00:42:46.037Z] bde34c3a00c8: Pull complete [2022-08-31T00:42:46.297Z] b352a97aabf1: Pull complete [2022-08-31T00:42:46.297Z] 4872d77fe225: Pull complete [2022-08-31T00:42:46.297Z] 5851b861e8e6: Pull complete [2022-08-31T00:42:46.297Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-31T00:42:46.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T00:42:46.297Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:42:46.534Z] prd-ubuntu20.04-docker-8c-8g-24153 does not seem to be running inside a container [2022-08-31T00:42:46.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-463 -v /w/workspace/_app-service-configurable_PR-463:/w/workspace/_app-service-configurable_PR-463:rw,z -v /w/workspace/_app-service-configurable_PR-463@tmp:/w/workspace/_app-service-configurable_PR-463@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-31T00:42:49.135Z] $ docker top dae568f7d70e8d9af3c81267c307d7d7b46aacf34b3dff7a45e50bf8917132a4 -eo pid,comm [2022-08-31T00:42:49.200Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-31T00:42:49.200Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-31T00:42:49.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T00:42:49.321Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T00:42:49.450Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T00:42:49.448Z] $ docker exec dae568f7d70e8d9af3c81267c307d7d7b46aacf34b3dff7a45e50bf8917132a4 ssh-agent [2022-08-31T00:42:49.566Z] SSH_AUTH_SOCK=/tmp/ssh-gs60bPoheLOF/agent.34 [2022-08-31T00:42:49.566Z] SSH_AGENT_PID=40 [2022-08-31T00:42:49.571Z] Running ssh-add (command line suppressed) [2022-08-31T00:42:49.676Z] Identity added: /w/workspace/_app-service-configurable_PR-463@tmp/private_key_1665478179070504109.key (/w/workspace/_app-service-configurable_PR-463@tmp/private_key_1665478179070504109.key) [2022-08-31T00:42:49.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T00:42:50.025Z] + git tag --points-at HEAD [Pipeline] } [2022-08-31T00:42:50.043Z] $ docker exec --env ******** --env ******** dae568f7d70e8d9af3c81267c307d7d7b46aacf34b3dff7a45e50bf8917132a4 ssh-agent -k [2022-08-31T00:42:50.155Z] unset SSH_AUTH_SOCK; [2022-08-31T00:42:50.155Z] unset SSH_AGENT_PID; [2022-08-31T00:42:50.155Z] echo Agent pid 40 killed; [2022-08-31T00:42:50.170Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-31T00:42:50.260Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T00:42:50.260Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T00:42:50.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T00:42:50.407Z] $ docker exec dae568f7d70e8d9af3c81267c307d7d7b46aacf34b3dff7a45e50bf8917132a4 ssh-agent [2022-08-31T00:42:50.531Z] SSH_AUTH_SOCK=/tmp/ssh-wamoMy6fwHQt/agent.73 [2022-08-31T00:42:50.531Z] SSH_AGENT_PID=79 [2022-08-31T00:42:50.537Z] Running ssh-add (command line suppressed) [2022-08-31T00:42:50.630Z] Identity added: /w/workspace/_app-service-configurable_PR-463@tmp/private_key_5205687904293115655.key (/w/workspace/_app-service-configurable_PR-463@tmp/private_key_5205687904293115655.key) [2022-08-31T00:42:50.649Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T00:42:50.971Z] + git semver init [2022-08-31T00:42:51.230Z] 2022-08-31 00:42:51,149 [run_init] DEBUG init version:0.0.0 force:False [2022-08-31T00:42:51.230Z] 2022-08-31 00:42:51,149 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-463/.semver [2022-08-31T00:42:51.230Z] 2022-08-31 00:42:51,150 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-463/.semver [2022-08-31T00:42:51.230Z] 2022-08-31 00:42:51,150 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-463/.semver'], cwd=/w/workspace/_app-service-configurable_PR-463, universal_newlines=False, shell=None, istream=None) [2022-08-31T00:42:52.173Z] 2022-08-31 00:42:51,881 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-463/.git/info/exclude [2022-08-31T00:42:52.173Z] 2022-08-31 00:42:51,882 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-463/.semver/PR-463 with force:False [2022-08-31T00:42:52.173Z] 2022-08-31 00:42:51,882 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-463/.semver/PR-463 [2022-08-31T00:42:52.173Z] 2022-08-31 00:42:51,886 [execute] INFO git cat-file --batch-check [2022-08-31T00:42:52.173Z] 2022-08-31 00:42:51,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-463/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T00:42:52.173Z] 2022-08-31 00:42:51,892 [execute] INFO git cat-file --batch [2022-08-31T00:42:52.173Z] 2022-08-31 00:42:51,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-463/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T00:42:52.173Z] 2022-08-31 00:42:51,897 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-463/.semver/PR-463 [2022-08-31T00:42:52.173Z] 0.0.0 [Pipeline] } [2022-08-31T00:42:52.194Z] $ docker exec --env ******** --env ******** dae568f7d70e8d9af3c81267c307d7d7b46aacf34b3dff7a45e50bf8917132a4 ssh-agent -k [2022-08-31T00:42:52.296Z] unset SSH_AUTH_SOCK; [2022-08-31T00:42:52.296Z] unset SSH_AGENT_PID; [2022-08-31T00:42:52.297Z] echo Agent pid 79 killed; [2022-08-31T00:42:52.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-31T00:42:52.743Z] + git semver [Pipeline] } [2022-08-31T00:42:53.024Z] $ docker stop --time=1 dae568f7d70e8d9af3c81267c307d7d7b46aacf34b3dff7a45e50bf8917132a4 [2022-08-31T00:42:54.314Z] $ docker rm -f dae568f7d70e8d9af3c81267c307d7d7b46aacf34b3dff7a45e50bf8917132a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T00:42:54.722Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-31T00:42:55.031Z] Stashed 1 file(s) [Pipeline] echo [2022-08-31T00:42:55.049Z] [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-08-31T00:42:55.750Z] provisioning config files... [2022-08-31T00:42:55.760Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-463@tmp/config2919201961086802390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:42:56.117Z] ---> docker-login.sh [2022-08-31T00:42:56.117Z] nexus3.edgexfoundry.org:10001 [2022-08-31T00:42:56.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:56.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:56.117Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:56.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:56.117Z] [2022-08-31T00:42:56.117Z] Login Succeeded [2022-08-31T00:42:56.117Z] nexus3.edgexfoundry.org:10002 [2022-08-31T00:42:56.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:56.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:56.117Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:56.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:56.117Z] [2022-08-31T00:42:56.117Z] Login Succeeded [2022-08-31T00:42:56.378Z] nexus3.edgexfoundry.org:10003 [2022-08-31T00:42:56.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:56.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:56.378Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:56.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:56.378Z] [2022-08-31T00:42:56.378Z] Login Succeeded [2022-08-31T00:42:56.378Z] nexus3.edgexfoundry.org:10004 [2022-08-31T00:42:56.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:56.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:56.638Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:56.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:56.638Z] [2022-08-31T00:42:56.638Z] Login Succeeded [2022-08-31T00:42:56.638Z] docker.io [2022-08-31T00:42:56.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:56.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:56.900Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:56.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:56.900Z] [2022-08-31T00:42:56.900Z] Login Succeeded [2022-08-31T00:42:56.900Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T00:42:56.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T00:42:57.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:42:57.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:42:57.201Z] ========================================================= [2022-08-31T00:42:57.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-31T00:42:57.201Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:42:57.681Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-31T00:42:57.681Z] Sending build context to Docker daemon 3.144MB [2022-08-31T00:42:57.681Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:42:57.681Z] Step 2/14 : FROM ${BASE} AS builder [2022-08-31T00:42:57.681Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-31T00:42:57.681Z] 2408cc74d12b: Pulling fs layer [2022-08-31T00:42:57.681Z] ea60b727a1ce: Pulling fs layer [2022-08-31T00:42:57.681Z] 30c4a7721957: Pulling fs layer [2022-08-31T00:42:57.681Z] 370296b7ddb6: Pulling fs layer [2022-08-31T00:42:57.681Z] 7c6cee850709: Pulling fs layer [2022-08-31T00:42:57.681Z] 39a5fcdaea64: Pulling fs layer [2022-08-31T00:42:57.681Z] d94ebbe4e438: Pulling fs layer [2022-08-31T00:42:57.681Z] bcfd1f05c69d: Pulling fs layer [2022-08-31T00:42:57.681Z] 7c6cee850709: Waiting [2022-08-31T00:42:57.681Z] 39a5fcdaea64: Waiting [2022-08-31T00:42:57.681Z] bcfd1f05c69d: Waiting [2022-08-31T00:42:57.681Z] 59ccb84bbe0f: Pulling fs layer [2022-08-31T00:42:57.681Z] d94ebbe4e438: Waiting [2022-08-31T00:42:57.681Z] 59ccb84bbe0f: Waiting [2022-08-31T00:42:57.681Z] 30c4a7721957: Verifying Checksum [2022-08-31T00:42:57.681Z] 30c4a7721957: Download complete [2022-08-31T00:42:57.681Z] ea60b727a1ce: Download complete [2022-08-31T00:42:57.681Z] 7c6cee850709: Download complete [2022-08-31T00:42:57.681Z] 39a5fcdaea64: Verifying Checksum [2022-08-31T00:42:57.681Z] 39a5fcdaea64: Download complete [2022-08-31T00:42:57.943Z] 2408cc74d12b: Verifying Checksum [2022-08-31T00:42:57.943Z] 2408cc74d12b: Download complete [2022-08-31T00:42:57.943Z] 2408cc74d12b: Pull complete [2022-08-31T00:42:58.204Z] ea60b727a1ce: Pull complete [2022-08-31T00:42:58.204Z] 30c4a7721957: Pull complete [2022-08-31T00:42:58.204Z] 59ccb84bbe0f: Verifying Checksum [2022-08-31T00:42:58.204Z] 59ccb84bbe0f: Download complete [2022-08-31T00:42:58.466Z] bcfd1f05c69d: Verifying Checksum [2022-08-31T00:42:58.466Z] bcfd1f05c69d: Download complete [2022-08-31T00:42:58.466Z] 370296b7ddb6: Verifying Checksum [2022-08-31T00:42:58.466Z] 370296b7ddb6: Download complete [2022-08-31T00:43:02.656Z] 370296b7ddb6: Pull complete [2022-08-31T00:43:02.656Z] 7c6cee850709: Pull complete [2022-08-31T00:43:02.656Z] 39a5fcdaea64: Pull complete [2022-08-31T00:43:02.656Z] d94ebbe4e438: Pull complete [2022-08-31T00:43:04.563Z] bcfd1f05c69d: Pull complete [2022-08-31T00:43:05.132Z] 59ccb84bbe0f: Pull complete [2022-08-31T00:43:05.132Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-31T00:43:05.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-31T00:43:05.132Z] ---> a4fb48ad2a94 [2022-08-31T00:43:05.132Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-31T00:43:10.413Z] ---> Running in d087266bad2a [2022-08-31T00:43:10.413Z] Removing intermediate container d087266bad2a [2022-08-31T00:43:10.413Z] ---> 1267579d27ea [2022-08-31T00:43:10.413Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:43:10.573Z] Still waiting to schedule task [2022-08-31T00:43:10.574Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-08-31T00:43:10.673Z] ---> Running in 7257175ea57e [2022-08-31T00:43:10.673Z] Removing intermediate container 7257175ea57e [2022-08-31T00:43:10.673Z] ---> ce8acd57671c [2022-08-31T00:43:10.673Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:43:10.673Z] ---> Running in ab3ab6bf1583 [2022-08-31T00:43:10.673Z] Removing intermediate container ab3ab6bf1583 [2022-08-31T00:43:10.673Z] ---> 6daeb39b52b8 [2022-08-31T00:43:10.673Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-31T00:43:10.673Z] ---> Running in 34800ef16f4b [2022-08-31T00:43:10.933Z] Removing intermediate container 34800ef16f4b [2022-08-31T00:43:10.933Z] ---> 2a56f293a21e [2022-08-31T00:43:10.934Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:43:10.934Z] ---> Running in 58e4bbfb9aca [2022-08-31T00:43:11.503Z] Removing intermediate container 58e4bbfb9aca [2022-08-31T00:43:11.503Z] ---> 5795ac0bcc43 [2022-08-31T00:43:11.503Z] Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:43:11.503Z] ---> Running in 3af8e922f1cd [2022-08-31T00:43:11.764Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T00:43:12.705Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T00:43:12.967Z] OK: 211 MiB in 51 packages [2022-08-31T00:43:13.227Z] Removing intermediate container 3af8e922f1cd [2022-08-31T00:43:13.227Z] ---> e53f029164fb [2022-08-31T00:43:13.227Z] Step 9/14 : WORKDIR /app [2022-08-31T00:43:13.227Z] ---> Running in 61637100e688 [2022-08-31T00:43:13.227Z] Removing intermediate container 61637100e688 [2022-08-31T00:43:13.227Z] ---> 74a8c4b29788 [2022-08-31T00:43:13.227Z] Step 10/14 : COPY go.mod vendor* ./ [2022-08-31T00:43:13.490Z] ---> 9b9fde9f3ddf [2022-08-31T00:43:13.490Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:43:13.490Z] ---> Running in 6321e87111d3 [2022-08-31T00:43:40.114Z] Removing intermediate container 6321e87111d3 [2022-08-31T00:43:40.114Z] ---> e369b7c4371f [2022-08-31T00:43:40.114Z] Step 12/14 : COPY . . [2022-08-31T00:43:40.114Z] ---> 8af364b1ab0d [2022-08-31T00:43:40.114Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:43:40.114Z] ---> Running in f5ddea7397d8 [2022-08-31T00:43:40.114Z] Removing intermediate container f5ddea7397d8 [2022-08-31T00:43:40.114Z] ---> 87a9d749d3f8 [2022-08-31T00:43:40.114Z] Step 14/14 : RUN $MAKE [2022-08-31T00:43:40.114Z] ---> Running in 24f797ee8c35 [2022-08-31T00:43:40.114Z] noop [2022-08-31T00:43:40.114Z] Removing intermediate container 24f797ee8c35 [2022-08-31T00:43:40.114Z] ---> b7dbcd02a6eb [2022-08-31T00:43:40.114Z] Successfully built b7dbcd02a6eb [2022-08-31T00:43:40.114Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:43:40.567Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T00:43:40.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:43:40.728Z] prd-ubuntu20.04-docker-8c-8g-24153 does not seem to be running inside a container [2022-08-31T00:43:40.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-463 -v /w/workspace/_app-service-configurable_PR-463:/w/workspace/_app-service-configurable_PR-463:rw,z -v /w/workspace/_app-service-configurable_PR-463@tmp:/w/workspace/_app-service-configurable_PR-463@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-08-31T00:43:41.154Z] $ docker top 45f4287942adef11fa9824474aeda46c90c9810c5cf4070fee10d87d8377e771 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:43:41.649Z] + go version [2022-08-31T00:43:41.649Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-31T00:43:41.696Z] $ docker stop --time=1 45f4287942adef11fa9824474aeda46c90c9810c5cf4070fee10d87d8377e771 [2022-08-31T00:43:42.974Z] $ docker rm -f 45f4287942adef11fa9824474aeda46c90c9810c5cf4070fee10d87d8377e771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:43:43.667Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T00:43:43.667Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:43:43.830Z] prd-ubuntu20.04-docker-8c-8g-24153 does not seem to be running inside a container [2022-08-31T00:43:43.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-463 -v /w/workspace/_app-service-configurable_PR-463:/w/workspace/_app-service-configurable_PR-463:rw,z -v /w/workspace/_app-service-configurable_PR-463@tmp:/w/workspace/_app-service-configurable_PR-463@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-08-31T00:43:44.276Z] $ docker top 449d16129564c53ec868729b4a535472e2545f8882181e08f3176bb2ffe2a7ba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:43:44.678Z] + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-463 [Pipeline] fileExists [Pipeline] sh [2022-08-31T00:43:45.045Z] + make test [2022-08-31T00:43:45.045Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-08-31T00:43:55.091Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-08-31T00:43:55.091Z] CGO_ENABLED=1 go vet ./... [2022-08-31T00:43:58.392Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T00:43:58.392Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T00:43:58.392Z] ./bin/test-attribution-txt.sh [2022-08-31T00:43:58.392Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-31T00:43:58.392Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-31T00:43:58.392Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-31T00:43:58.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T00:43:58.466Z] $ docker stop --time=1 449d16129564c53ec868729b4a535472e2545f8882181e08f3176bb2ffe2a7ba [2022-08-31T00:44:01.177Z] $ docker rm -f 449d16129564c53ec868729b4a535472e2545f8882181e08f3176bb2ffe2a7ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T00:44:01.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T00:44:01.718Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-31T00:44:02.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T00:44:02.740Z] + ls -al . [2022-08-31T00:44:02.740Z] total 176 [2022-08-31T00:44:02.740Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:43 . [2022-08-31T00:44:02.740Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:42 .. [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 119 Aug 31 00:42 .dockerignore [2022-08-31T00:44:02.740Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:42 .git [2022-08-31T00:44:02.740Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:42 .github [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 171 Aug 31 00:42 .gitignore [2022-08-31T00:44:02.740Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:42 .semver [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 8830 Aug 31 00:42 Attribution.txt [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 27269 Aug 31 00:42 CHANGELOG.md [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 2146 Aug 31 00:42 Dockerfile [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 00:42 GOVERNANCE.md [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 688 Aug 31 00:42 Jenkinsfile [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 31 00:42 LICENSE [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 31 00:42 OWNERS.md [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 4369 Aug 31 00:42 README.md [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 00:42 VERSION [2022-08-31T00:44:02.740Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 00:42 bin [2022-08-31T00:44:02.740Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 31 00:43 coverage.out [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 31 00:42 go.mod [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 37381 Aug 31 00:42 go.sum [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 1949 Aug 31 00:42 main.go [2022-08-31T00:44:02.740Z] -rw-rw-r-- 1 jenkins jenkins 2185 Aug 31 00:42 makefile [2022-08-31T00:44:02.740Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 00:42 res [2022-08-31T00:44:02.740Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:42 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:44:03.127Z] + 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=970ea8cdef185d54c72dcb37a5df9fe0d96c6246 --label arch=amd64 --label version=0.0.0 . [2022-08-31T00:44:03.127Z] Sending build context to Docker daemon 3.145MB [2022-08-31T00:44:03.127Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:44:03.127Z] Step 2/28 : FROM ${BASE} AS builder [2022-08-31T00:44:03.127Z] ---> b7dbcd02a6eb [2022-08-31T00:44:03.127Z] Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-31T00:44:03.127Z] ---> Running in 5a7b4376d7ba [2022-08-31T00:44:03.390Z] Removing intermediate container 5a7b4376d7ba [2022-08-31T00:44:03.390Z] ---> 3fc7e18a1150 [2022-08-31T00:44:03.390Z] Step 4/28 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:44:03.390Z] ---> Running in 711e6a8a7b2f [2022-08-31T00:44:03.390Z] Removing intermediate container 711e6a8a7b2f [2022-08-31T00:44:03.390Z] ---> 4547b69452c3 [2022-08-31T00:44:03.390Z] Step 5/28 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:44:03.390Z] ---> Running in c5ed517b3825 [2022-08-31T00:44:03.650Z] Removing intermediate container c5ed517b3825 [2022-08-31T00:44:03.650Z] ---> e41810d375fb [2022-08-31T00:44:03.650Z] Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-31T00:44:03.650Z] ---> Running in a5506aab9e86 [2022-08-31T00:44:03.650Z] Removing intermediate container a5506aab9e86 [2022-08-31T00:44:03.650Z] ---> cdca5a9cab24 [2022-08-31T00:44:03.650Z] Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:44:03.650Z] ---> Running in ae7292e00a40 [2022-08-31T00:44:04.219Z] Removing intermediate container ae7292e00a40 [2022-08-31T00:44:04.219Z] ---> 55a9c663fd58 [2022-08-31T00:44:04.219Z] Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:44:04.219Z] ---> Running in bad890d4e1b0 [2022-08-31T00:44:04.485Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T00:44:05.426Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T00:44:05.687Z] OK: 211 MiB in 51 packages [2022-08-31T00:44:05.948Z] Removing intermediate container bad890d4e1b0 [2022-08-31T00:44:05.948Z] ---> 8969752cc39b [2022-08-31T00:44:05.948Z] Step 9/28 : WORKDIR /app [2022-08-31T00:44:05.948Z] ---> Running in 72390f79ddc6 [2022-08-31T00:44:06.208Z] Removing intermediate container 72390f79ddc6 [2022-08-31T00:44:06.208Z] ---> b28f2149ca9d [2022-08-31T00:44:06.208Z] Step 10/28 : COPY go.mod vendor* ./ [2022-08-31T00:44:06.208Z] ---> 6a39ea293ae2 [2022-08-31T00:44:06.208Z] Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:44:06.473Z] ---> Running in aff3d5d9d23f [2022-08-31T00:44:07.057Z] Removing intermediate container aff3d5d9d23f [2022-08-31T00:44:07.057Z] ---> 247f81bfddb8 [2022-08-31T00:44:07.057Z] Step 12/28 : COPY . . [2022-08-31T00:44:07.317Z] ---> 7496e917cb05 [2022-08-31T00:44:07.317Z] Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:44:07.317Z] ---> Running in 33bbfd3079f3 [2022-08-31T00:44:07.317Z] Removing intermediate container 33bbfd3079f3 [2022-08-31T00:44:07.317Z] ---> b282ed1aefee [2022-08-31T00:44:07.317Z] Step 14/28 : RUN $MAKE [2022-08-31T00:44:07.317Z] ---> Running in bff7e09c31c2 [2022-08-31T00:44:07.577Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.31 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-08-31T00:44:29.538Z] Removing intermediate container bff7e09c31c2 [2022-08-31T00:44:29.538Z] ---> f511a02e8c2a [2022-08-31T00:44:29.538Z] Step 15/28 : FROM alpine:3.16 [2022-08-31T00:44:29.538Z] 3.16: Pulling from library/alpine [2022-08-31T00:44:29.802Z] 213ec9aee27d: Pulling fs layer [2022-08-31T00:44:29.802Z] 213ec9aee27d: Verifying Checksum [2022-08-31T00:44:29.802Z] 213ec9aee27d: Download complete [2022-08-31T00:44:30.088Z] 213ec9aee27d: Pull complete [2022-08-31T00:44:30.089Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T00:44:30.089Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T00:44:30.089Z] ---> 9c6f07244728 [2022-08-31T00:44:30.089Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-31T00:44:30.355Z] ---> Running in 2a0061f78ef6 [2022-08-31T00:44:30.355Z] Removing intermediate container 2a0061f78ef6 [2022-08-31T00:44:30.355Z] ---> 4c7e1523ac3f [2022-08-31T00:44:30.355Z] Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} [2022-08-31T00:44:30.355Z] ---> Running in 0e6931f4eae0 [2022-08-31T00:44:30.355Z] Removing intermediate container 0e6931f4eae0 [2022-08-31T00:44:30.355Z] ---> 4696a11de945 [2022-08-31T00:44:30.355Z] Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-08-31T00:44:30.355Z] ---> Running in cfd0695ea31c [2022-08-31T00:44:30.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T00:44:30.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T00:44:31.191Z] (1/7) Installing ca-certificates (20220614-r0) [2022-08-31T00:44:31.191Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-08-31T00:44:31.191Z] (3/7) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T00:44:31.191Z] (4/7) Installing libsodium (1.0.18-r0) [2022-08-31T00:44:31.191Z] (5/7) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T00:44:31.191Z] (6/7) Installing libzmq (4.3.4-r0) [2022-08-31T00:44:31.192Z] (7/7) Installing zeromq (4.3.4-r0) [2022-08-31T00:44:31.192Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T00:44:31.192Z] Executing ca-certificates-20220614-r0.trigger [2022-08-31T00:44:31.192Z] OK: 9 MiB in 21 packages [2022-08-31T00:44:31.763Z] Removing intermediate container cfd0695ea31c [2022-08-31T00:44:31.763Z] ---> 4bd526494046 [2022-08-31T00:44:31.763Z] Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-08-31T00:44:32.026Z] ---> 26f100887aff [2022-08-31T00:44:32.026Z] Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE [2022-08-31T00:44:32.026Z] ---> 467a787a83e7 [2022-08-31T00:44:32.026Z] Step 21/28 : COPY --from=builder /app/res/ /res/ [2022-08-31T00:44:32.289Z] ---> 13b3f66d85fd [2022-08-31T00:44:32.289Z] Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-08-31T00:44:33.018Z] ---> 2234069eda24 [2022-08-31T00:44:33.018Z] Step 23/28 : EXPOSE 48095 [2022-08-31T00:44:33.018Z] ---> Running in c5fa17e3ace4 [2022-08-31T00:44:33.018Z] Removing intermediate container c5fa17e3ace4 [2022-08-31T00:44:33.018Z] ---> a39c06c38071 [2022-08-31T00:44:33.018Z] Step 24/28 : ENTRYPOINT ["/app-service-configurable"] [2022-08-31T00:44:33.018Z] ---> Running in 08832557508c [2022-08-31T00:44:33.279Z] Removing intermediate container 08832557508c [2022-08-31T00:44:33.279Z] ---> 2dc6cdf42a67 [2022-08-31T00:44:33.279Z] Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T00:44:33.279Z] ---> Running in a5ba6cb8ca0f [2022-08-31T00:44:33.279Z] Removing intermediate container a5ba6cb8ca0f [2022-08-31T00:44:33.279Z] ---> baabc732a620 [2022-08-31T00:44:33.279Z] Step 26/28 : LABEL arch=amd64 [2022-08-31T00:44:33.279Z] ---> Running in 3c9e636a34ff [2022-08-31T00:44:33.279Z] Removing intermediate container 3c9e636a34ff [2022-08-31T00:44:33.279Z] ---> 0c7a0653d191 [2022-08-31T00:44:33.279Z] Step 27/28 : LABEL git_sha=970ea8cdef185d54c72dcb37a5df9fe0d96c6246 [2022-08-31T00:44:33.279Z] ---> Running in 5c9e0321a78c [2022-08-31T00:44:33.541Z] Removing intermediate container 5c9e0321a78c [2022-08-31T00:44:33.541Z] ---> b4bbf692c432 [2022-08-31T00:44:33.541Z] Step 28/28 : LABEL version=0.0.0 [2022-08-31T00:44:33.541Z] ---> Running in 6fb1881af546 [2022-08-31T00:44:33.541Z] Removing intermediate container 6fb1881af546 [2022-08-31T00:44:33.541Z] ---> 2030bfd74e48 [2022-08-31T00:44:33.541Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T00:44:33.541Z] Successfully built 2030bfd74e48 [2022-08-31T00:44:33.541Z] Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:44:34.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:44:34.390Z] [2022-08-31T00:44:34.390Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:44:34.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:44:34.777Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-31T00:44:34.777Z] 5eb5b503b376: Pulling fs layer [2022-08-31T00:44:34.777Z] 5c69ac0246d0: Pulling fs layer [2022-08-31T00:44:34.777Z] ec43610c2a17: Pulling fs layer [2022-08-31T00:44:34.777Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-31T00:44:34.777Z] 33b1e0a273af: Pulling fs layer [2022-08-31T00:44:34.777Z] 5d3b04190fa2: Pulling fs layer [2022-08-31T00:44:34.777Z] 2f39f015ded8: Pulling fs layer [2022-08-31T00:44:34.777Z] 3a2ae6a8a46f: Waiting [2022-08-31T00:44:34.777Z] 33b1e0a273af: Waiting [2022-08-31T00:44:34.777Z] 5d3b04190fa2: Waiting [2022-08-31T00:44:34.777Z] 2f39f015ded8: Waiting [2022-08-31T00:44:34.777Z] 5c69ac0246d0: Verifying Checksum [2022-08-31T00:44:34.777Z] 5c69ac0246d0: Download complete [2022-08-31T00:44:34.777Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-31T00:44:34.777Z] 3a2ae6a8a46f: Download complete [2022-08-31T00:44:34.777Z] 33b1e0a273af: Verifying Checksum [2022-08-31T00:44:34.777Z] 33b1e0a273af: Download complete [2022-08-31T00:44:34.777Z] 5d3b04190fa2: Verifying Checksum [2022-08-31T00:44:34.777Z] 5d3b04190fa2: Download complete [2022-08-31T00:44:35.035Z] ec43610c2a17: Verifying Checksum [2022-08-31T00:44:35.036Z] ec43610c2a17: Download complete [2022-08-31T00:44:35.036Z] 5eb5b503b376: Verifying Checksum [2022-08-31T00:44:35.036Z] 5eb5b503b376: Download complete [2022-08-31T00:44:35.601Z] 2f39f015ded8: Download complete [2022-08-31T00:44:36.537Z] 5eb5b503b376: Pull complete [2022-08-31T00:44:36.537Z] 5c69ac0246d0: Pull complete [2022-08-31T00:44:37.105Z] ec43610c2a17: Pull complete [2022-08-31T00:44:37.105Z] 3a2ae6a8a46f: Pull complete [2022-08-31T00:44:37.363Z] 33b1e0a273af: Pull complete [2022-08-31T00:44:37.363Z] 5d3b04190fa2: Pull complete [2022-08-31T00:44:42.637Z] 2f39f015ded8: Pull complete [2022-08-31T00:44:42.637Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-31T00:44:42.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:44:42.637Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:44:42.871Z] prd-ubuntu20.04-docker-8c-8g-24153 does not seem to be running inside a container [2022-08-31T00:44:42.917Z] $ 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-463 -v /w/workspace/_app-service-configurable_PR-463:/w/workspace/_app-service-configurable_PR-463:rw,z -v /w/workspace/_app-service-configurable_PR-463@tmp:/w/workspace/_app-service-configurable_PR-463@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-08-31T00:44:47.028Z] $ docker top 4233128c851cdf94957e5d868a816c6fc030f2566898840e71697fc92e8017ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:44:47.477Z] ---> job-cost.sh [2022-08-31T00:44:47.477Z] lf-activate-venv: SKIPPING [2022-08-31T00:44:47.477Z] INFO: No Stack... [2022-08-31T00:44:47.739Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T00:44:48.312Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T00:44:48.633Z] + cat /w/workspace/_app-service-configurable_PR-463/archives/cost.csv [2022-08-31T00:44:48.633Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T00:44:48.674Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-463-1-stack-cost] [2022-08-31T00:44:48.679Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-463-1-stack-cost] did not exist. Created. [2022-08-31T00:44:48.679Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T00:44:49.070Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-31T00:44:49.119Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T00:44:49.138Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T00:44:49.227Z] $ docker stop --time=1 4233128c851cdf94957e5d868a816c6fc030f2566898840e71697fc92e8017ad [2022-08-31T00:44:50.390Z] $ docker rm -f 4233128c851cdf94957e5d868a816c6fc030f2566898840e71697fc92e8017ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-31T00:45:59.673Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24156 in /w/workspace/_app-service-configurable_PR-463 [Pipeline] { [Pipeline] ws [2022-08-31T00:45:59.716Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-08-31T00:45:59.803Z] Selected Git installation does not exist. Using Default [2022-08-31T00:45:59.803Z] The recommended git tool is: NONE [2022-08-31T00:46:07.016Z] using credential edgex-jenkins-ssh [2022-08-31T00:46:07.035Z] Cloning the remote Git repository [2022-08-31T00:46:07.098Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-08-31T00:46:07.192Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-08-31T00:46:07.276Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-08-31T00:46:07.277Z] > git --version # timeout=10 [2022-08-31T00:46:07.305Z] > git --version # 'git version 2.25.1' [2022-08-31T00:46:07.307Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T00:46:07.455Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T00:46:08.596Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-08-31T00:46:08.624Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T00:46:08.658Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-08-31T00:46:08.729Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-08-31T00:46:08.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T00:46:08.758Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-31T00:46:09.301Z] Merging remotes/origin/main commit d275c6c1be7b0e598ae2180a778e5c3f26e0028b into PR head commit 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 [2022-08-31T00:46:09.576Z] Merge succeeded, producing 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 [2022-08-31T00:46:09.577Z] Checking out Revision 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 (PR-463) [2022-08-31T00:46:09.326Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T00:46:09.357Z] > git checkout -f 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 # timeout=10 [2022-08-31T00:46:09.467Z] > git remote # timeout=10 [2022-08-31T00:46:09.487Z] > git config --get remote.origin.url # timeout=10 [2022-08-31T00:46:09.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T00:46:09.525Z] > git merge d275c6c1be7b0e598ae2180a778e5c3f26e0028b # timeout=10 [2022-08-31T00:46:09.557Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-31T00:46:09.585Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T00:46:09.612Z] > git checkout -f 970ea8cdef185d54c72dcb37a5df9fe0d96c6246 # timeout=10 [2022-08-31T00:46:13.953Z] Commit message: "build: Add NATS convenience build targets" [2022-08-31T00:46:14.021Z] > git --version # timeout=10 [2022-08-31T00:46:14.034Z] > git --version # 'git version 2.25.1' [2022-08-31T00:46:14.055Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T00:46:15.139Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-31T00:46:15.139Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T00:46:15.139Z] Dload Upload Total Spent Left Speed [2022-08-31T00:46:15.139Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 201k [Pipeline] sh [2022-08-31T00:46:15.995Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-31T00:46:16.373Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-31T00:46:16.373Z] + sudo tee /etc/docker/daemon.new [2022-08-31T00:46:16.373Z] { [2022-08-31T00:46:16.373Z] "registry-mirrors": [ [2022-08-31T00:46:16.373Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-31T00:46:16.373Z] ], [2022-08-31T00:46:16.373Z] "bip": "10.250.0.254/24", [2022-08-31T00:46:16.373Z] "hosts": [ [2022-08-31T00:46:16.373Z] "tcp://0.0.0.0:5555", [2022-08-31T00:46:16.373Z] "unix:///var/run/docker.sock" [2022-08-31T00:46:16.373Z] ], [2022-08-31T00:46:16.373Z] "mtu": 1458, [2022-08-31T00:46:16.373Z] "selinux-enabled": true, [2022-08-31T00:46:16.373Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-31T00:46:16.373Z] } [Pipeline] sh [2022-08-31T00:46:16.750Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-31T00:46:17.126Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T00:46:35.741Z] provisioning config files... [2022-08-31T00:46:35.773Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1909809190859410970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:46:36.205Z] ---> docker-login.sh [2022-08-31T00:46:36.205Z] nexus3.edgexfoundry.org:10001 [2022-08-31T00:46:36.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:46:37.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:46:37.221Z] Configure a credential helper to remove this warning. See [2022-08-31T00:46:37.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:46:37.221Z] [2022-08-31T00:46:37.221Z] Login Succeeded [2022-08-31T00:46:37.221Z] nexus3.edgexfoundry.org:10002 [2022-08-31T00:46:37.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:46:37.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:46:37.781Z] Configure a credential helper to remove this warning. See [2022-08-31T00:46:37.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:46:37.781Z] [2022-08-31T00:46:37.781Z] Login Succeeded [2022-08-31T00:46:37.781Z] nexus3.edgexfoundry.org:10003 [2022-08-31T00:46:38.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:46:38.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:46:38.337Z] Configure a credential helper to remove this warning. See [2022-08-31T00:46:38.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:46:38.337Z] [2022-08-31T00:46:38.337Z] Login Succeeded [2022-08-31T00:46:38.337Z] nexus3.edgexfoundry.org:10004 [2022-08-31T00:46:38.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:46:38.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:46:38.887Z] Configure a credential helper to remove this warning. See [2022-08-31T00:46:38.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:46:38.887Z] [2022-08-31T00:46:38.887Z] Login Succeeded [2022-08-31T00:46:38.887Z] docker.io [2022-08-31T00:46:39.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:46:39.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:46:39.438Z] Configure a credential helper to remove this warning. See [2022-08-31T00:46:39.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:46:39.438Z] [2022-08-31T00:46:39.438Z] Login Succeeded [2022-08-31T00:46:39.718Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T00:46:39.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T00:46:40.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:46:40.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:46:40.258Z] ========================================================= [2022-08-31T00:46:40.258Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-31T00:46:40.258Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:46:40.799Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-31T00:46:40.799Z] Sending build context to Docker daemon 206.8kB [2022-08-31T00:46:41.098Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:46:41.098Z] Step 2/14 : FROM ${BASE} AS builder [2022-08-31T00:46:41.380Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-31T00:46:41.380Z] b3c136eddcbf: Pulling fs layer [2022-08-31T00:46:41.380Z] c0a3192eca97: Pulling fs layer [2022-08-31T00:46:41.381Z] a050256f5b6f: Pulling fs layer [2022-08-31T00:46:41.381Z] 656be50a0ddc: Pulling fs layer [2022-08-31T00:46:41.381Z] 2bbca73fdf42: Pulling fs layer [2022-08-31T00:46:41.381Z] 46d945488cbd: Pulling fs layer [2022-08-31T00:46:41.381Z] 8a5474983e97: Pulling fs layer [2022-08-31T00:46:41.381Z] 329c88fbcd65: Pulling fs layer [2022-08-31T00:46:41.381Z] 46d945488cbd: Waiting [2022-08-31T00:46:41.381Z] 656be50a0ddc: Waiting [2022-08-31T00:46:41.381Z] 8a5474983e97: Waiting [2022-08-31T00:46:41.381Z] 2bbca73fdf42: Waiting [2022-08-31T00:46:41.381Z] a050256f5b6f: Verifying Checksum [2022-08-31T00:46:41.381Z] a050256f5b6f: Download complete [2022-08-31T00:46:41.381Z] c0a3192eca97: Download complete [2022-08-31T00:46:41.381Z] 2bbca73fdf42: Verifying Checksum [2022-08-31T00:46:41.381Z] 2bbca73fdf42: Download complete [2022-08-31T00:46:41.381Z] b3c136eddcbf: Verifying Checksum [2022-08-31T00:46:41.381Z] b3c136eddcbf: Download complete [2022-08-31T00:46:41.381Z] 46d945488cbd: Verifying Checksum [2022-08-31T00:46:41.381Z] 46d945488cbd: Download complete [2022-08-31T00:46:42.376Z] b3c136eddcbf: Pull complete [2022-08-31T00:46:42.652Z] 329c88fbcd65: Verifying Checksum [2022-08-31T00:46:42.652Z] 329c88fbcd65: Download complete [2022-08-31T00:46:42.932Z] c0a3192eca97: Pull complete [2022-08-31T00:46:43.539Z] a050256f5b6f: Pull complete [2022-08-31T00:46:43.832Z] 8a5474983e97: Verifying Checksum [2022-08-31T00:46:43.832Z] 8a5474983e97: Download complete [2022-08-31T00:46:44.823Z] 656be50a0ddc: Verifying Checksum [2022-08-31T00:46:44.823Z] 656be50a0ddc: Download complete [2022-08-31T00:46:57.246Z] 656be50a0ddc: Pull complete [2022-08-31T00:46:57.846Z] 2bbca73fdf42: Pull complete [2022-08-31T00:46:58.122Z] 46d945488cbd: Pull complete [2022-08-31T00:47:04.894Z] 8a5474983e97: Pull complete [2022-08-31T00:47:07.539Z] 329c88fbcd65: Pull complete [2022-08-31T00:47:07.539Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-31T00:47:07.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-31T00:47:07.539Z] ---> ff4287adb874 [2022-08-31T00:47:07.539Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-31T00:47:08.527Z] ---> Running in c8fe8d09b951 [2022-08-31T00:47:08.527Z] Removing intermediate container c8fe8d09b951 [2022-08-31T00:47:08.527Z] ---> fee69beef3de [2022-08-31T00:47:08.527Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:47:08.803Z] ---> Running in 260f692f3756 [2022-08-31T00:47:09.083Z] Removing intermediate container 260f692f3756 [2022-08-31T00:47:09.083Z] ---> 0ba6ce1f9abf [2022-08-31T00:47:09.083Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:47:09.083Z] ---> Running in a1d7dff62511 [2022-08-31T00:47:09.364Z] Removing intermediate container a1d7dff62511 [2022-08-31T00:47:09.364Z] ---> f805ded9dbf3 [2022-08-31T00:47:09.364Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-31T00:47:09.638Z] ---> Running in b0fee77c7a45 [2022-08-31T00:47:09.917Z] Removing intermediate container b0fee77c7a45 [2022-08-31T00:47:09.917Z] ---> 10ad16db9eca [2022-08-31T00:47:09.917Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:47:09.917Z] ---> Running in 7a6098a3cd0a [2022-08-31T00:47:11.915Z] Removing intermediate container 7a6098a3cd0a [2022-08-31T00:47:11.915Z] ---> cd3ed0d40690 [2022-08-31T00:47:11.915Z] Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:47:11.915Z] ---> Running in a8d45b899fb1 [2022-08-31T00:47:12.900Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T00:47:13.887Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T00:47:14.875Z] OK: 221 MiB in 51 packages [2022-08-31T00:47:15.862Z] Removing intermediate container a8d45b899fb1 [2022-08-31T00:47:15.862Z] ---> 9378442c069a [2022-08-31T00:47:15.862Z] Step 9/14 : WORKDIR /app [2022-08-31T00:47:15.862Z] ---> Running in 642bad628de5 [2022-08-31T00:47:16.141Z] Removing intermediate container 642bad628de5 [2022-08-31T00:47:16.141Z] ---> df34471f271e [2022-08-31T00:47:16.141Z] Step 10/14 : COPY go.mod vendor* ./ [2022-08-31T00:47:16.760Z] ---> 1ccec8750e86 [2022-08-31T00:47:16.760Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:47:16.760Z] ---> Running in d86e92c6a5cb [2022-08-31T00:48:13.339Z] Removing intermediate container d86e92c6a5cb [2022-08-31T00:48:13.339Z] ---> 1397b2b8b759 [2022-08-31T00:48:13.339Z] Step 12/14 : COPY . . [2022-08-31T00:48:13.339Z] ---> b7790bd7aecd [2022-08-31T00:48:13.339Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:48:13.339Z] ---> Running in 2933960053e2 [2022-08-31T00:48:13.339Z] Removing intermediate container 2933960053e2 [2022-08-31T00:48:13.339Z] ---> 4791bdc6fcd6 [2022-08-31T00:48:13.339Z] Step 14/14 : RUN $MAKE [2022-08-31T00:48:13.339Z] ---> Running in a1e35ac60f24 [2022-08-31T00:48:13.339Z] noop [2022-08-31T00:48:13.339Z] Removing intermediate container a1e35ac60f24 [2022-08-31T00:48:13.339Z] ---> 2b5a46ca6187 [2022-08-31T00:48:13.339Z] Successfully built 2b5a46ca6187 [2022-08-31T00:48:13.339Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:48:13.851Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T00:48:13.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:48:14.176Z] prd-ubuntu20.04-docker-arm64-4c-16g-24156 does not seem to be running inside a container [2022-08-31T00:48:14.283Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-08-31T00:48:15.707Z] $ docker top e88d6c59589f9ce60d78f2a0993e7f20452dfd67b6c497a6399b885c4e154811 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:48:16.684Z] + go version [2022-08-31T00:48:16.684Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-31T00:48:16.721Z] $ docker stop --time=1 e88d6c59589f9ce60d78f2a0993e7f20452dfd67b6c497a6399b885c4e154811 [2022-08-31T00:48:18.397Z] $ docker rm -f e88d6c59589f9ce60d78f2a0993e7f20452dfd67b6c497a6399b885c4e154811 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:48:19.359Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T00:48:19.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:48:19.690Z] prd-ubuntu20.04-docker-arm64-4c-16g-24156 does not seem to be running inside a container [2022-08-31T00:48:19.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-arm64 cat [2022-08-31T00:48:21.219Z] $ docker top a4a07458cbc3f299f780933a759719284234b1053b1a418689866c34c69cb19e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:48:22.261Z] + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh [2022-08-31T00:48:23.010Z] + make test [2022-08-31T00:48:23.010Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-08-31T00:49:59.956Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-08-31T00:49:59.956Z] CGO_ENABLED=1 go vet ./... [2022-08-31T00:50:15.104Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T00:50:15.104Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T00:50:15.104Z] ./bin/test-attribution-txt.sh [2022-08-31T00:50:15.104Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-31T00:50:15.104Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-31T00:50:15.104Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-31T00:50:15.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T00:50:15.173Z] $ docker stop --time=1 a4a07458cbc3f299f780933a759719284234b1053b1a418689866c34c69cb19e [2022-08-31T00:50:17.018Z] $ docker rm -f a4a07458cbc3f299f780933a759719284234b1053b1a418689866c34c69cb19e [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T00:50:18.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T00:50:18.153Z] Warning: overwriting stash ‘coverage-report’ [2022-08-31T00:50:18.667Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T00:50:19.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T00:50:19.636Z] + ls -al . [2022-08-31T00:50:19.636Z] total 172 [2022-08-31T00:50:19.636Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 31 00:48 . [2022-08-31T00:50:19.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:46 .. [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 119 Aug 31 00:46 .dockerignore [2022-08-31T00:50:19.636Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:46 .git [2022-08-31T00:50:19.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:46 .github [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 171 Aug 31 00:46 .gitignore [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 8830 Aug 31 00:46 Attribution.txt [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 27269 Aug 31 00:46 CHANGELOG.md [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 2146 Aug 31 00:46 Dockerfile [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 00:46 GOVERNANCE.md [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 688 Aug 31 00:46 Jenkinsfile [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 31 00:46 LICENSE [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 31 00:46 OWNERS.md [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 4369 Aug 31 00:46 README.md [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 00:42 VERSION [2022-08-31T00:50:19.636Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 00:46 bin [2022-08-31T00:50:19.636Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 31 00:48 coverage.out [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 31 00:46 go.mod [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 37381 Aug 31 00:46 go.sum [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 1949 Aug 31 00:46 main.go [2022-08-31T00:50:19.636Z] -rw-rw-r-- 1 jenkins jenkins 2185 Aug 31 00:46 makefile [2022-08-31T00:50:19.636Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 00:46 res [2022-08-31T00:50:19.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:46 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:50:20.081Z] + 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=970ea8cdef185d54c72dcb37a5df9fe0d96c6246 --label arch=arm64 --label version=0.0.0 . [2022-08-31T00:50:20.081Z] Sending build context to Docker daemon 207.9kB [2022-08-31T00:50:20.359Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:50:20.359Z] Step 2/28 : FROM ${BASE} AS builder [2022-08-31T00:50:20.359Z] ---> 2b5a46ca6187 [2022-08-31T00:50:20.359Z] Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-31T00:50:20.637Z] ---> Running in 62d013d6349e [2022-08-31T00:50:20.913Z] Removing intermediate container 62d013d6349e [2022-08-31T00:50:20.913Z] ---> a0c209dc636f [2022-08-31T00:50:20.913Z] Step 4/28 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:50:20.913Z] ---> Running in d2892328810d [2022-08-31T00:50:21.528Z] Removing intermediate container d2892328810d [2022-08-31T00:50:21.528Z] ---> 82e87f75752f [2022-08-31T00:50:21.528Z] Step 5/28 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:50:21.528Z] ---> Running in c056026e63b6 [2022-08-31T00:50:21.811Z] Removing intermediate container c056026e63b6 [2022-08-31T00:50:21.811Z] ---> fe1c8caf39a7 [2022-08-31T00:50:21.811Z] Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-31T00:50:21.811Z] ---> Running in f91a8319ced5 [2022-08-31T00:50:22.089Z] Removing intermediate container f91a8319ced5 [2022-08-31T00:50:22.089Z] ---> d71dcd6ca04b [2022-08-31T00:50:22.089Z] Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:50:22.372Z] ---> Running in a6bec08c0260 [2022-08-31T00:50:24.371Z] Removing intermediate container a6bec08c0260 [2022-08-31T00:50:24.371Z] ---> 6e92233b1b9e [2022-08-31T00:50:24.371Z] Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:50:24.371Z] ---> Running in bc2514400c2e [2022-08-31T00:50:25.358Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T00:50:26.368Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T00:50:27.358Z] OK: 221 MiB in 51 packages [2022-08-31T00:50:27.970Z] Removing intermediate container bc2514400c2e [2022-08-31T00:50:27.970Z] ---> c107aa3e1c26 [2022-08-31T00:50:27.970Z] Step 9/28 : WORKDIR /app [2022-08-31T00:50:28.248Z] ---> Running in 12fc1e71401c [2022-08-31T00:50:28.526Z] Removing intermediate container 12fc1e71401c [2022-08-31T00:50:28.526Z] ---> f739c9a92bc4 [2022-08-31T00:50:28.526Z] Step 10/28 : COPY go.mod vendor* ./ [2022-08-31T00:50:29.131Z] ---> 1296c1a5cb6b [2022-08-31T00:50:29.131Z] Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:50:29.131Z] ---> Running in 65df58ff23a6 [2022-08-31T00:50:31.131Z] Removing intermediate container 65df58ff23a6 [2022-08-31T00:50:31.131Z] ---> 39b9615de1aa [2022-08-31T00:50:31.131Z] Step 12/28 : COPY . . [2022-08-31T00:50:32.137Z] ---> 5685a3a74854 [2022-08-31T00:50:32.137Z] Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:50:32.137Z] ---> Running in ae4fe47e9aa1 [2022-08-31T00:50:32.421Z] Removing intermediate container ae4fe47e9aa1 [2022-08-31T00:50:32.421Z] ---> 23e30065747b [2022-08-31T00:50:32.421Z] Step 14/28 : RUN $MAKE [2022-08-31T00:50:32.421Z] ---> Running in 736ce7cb7038 [2022-08-31T00:50:33.416Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.31 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-08-31T00:52:55.411Z] Removing intermediate container 736ce7cb7038 [2022-08-31T00:52:55.411Z] ---> c4978992a046 [2022-08-31T00:52:55.411Z] Step 15/28 : FROM alpine:3.16 [2022-08-31T00:52:55.411Z] 3.16: Pulling from library/alpine [2022-08-31T00:52:55.411Z] 9b18e9b68314: Pulling fs layer [2022-08-31T00:52:55.411Z] 9b18e9b68314: Download complete [2022-08-31T00:52:55.411Z] 9b18e9b68314: Pull complete [2022-08-31T00:52:55.411Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T00:52:55.411Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T00:52:55.411Z] ---> a6215f271958 [2022-08-31T00:52:55.411Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-31T00:52:55.411Z] ---> Running in f235c53fceec [2022-08-31T00:52:55.411Z] Removing intermediate container f235c53fceec [2022-08-31T00:52:55.411Z] ---> 223871dd14e1 [2022-08-31T00:52:55.411Z] Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} [2022-08-31T00:52:55.411Z] ---> Running in 8b6cece487dc [2022-08-31T00:52:55.411Z] Removing intermediate container 8b6cece487dc [2022-08-31T00:52:55.411Z] ---> 5c00a3a8bbe6 [2022-08-31T00:52:55.411Z] Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-08-31T00:52:55.411Z] ---> Running in c226c287ff1b [2022-08-31T00:52:55.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T00:52:55.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T00:52:56.010Z] (1/7) Installing ca-certificates (20220614-r0) [2022-08-31T00:52:56.010Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-08-31T00:52:56.010Z] (3/7) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T00:52:56.010Z] (4/7) Installing libsodium (1.0.18-r0) [2022-08-31T00:52:56.010Z] (5/7) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T00:52:56.010Z] (6/7) Installing libzmq (4.3.4-r0) [2022-08-31T00:52:56.010Z] (7/7) Installing zeromq (4.3.4-r0) [2022-08-31T00:52:56.010Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T00:52:56.010Z] Executing ca-certificates-20220614-r0.trigger [2022-08-31T00:52:56.286Z] OK: 9 MiB in 21 packages [2022-08-31T00:52:57.749Z] Removing intermediate container c226c287ff1b [2022-08-31T00:52:57.749Z] ---> 819d0a1614ae [2022-08-31T00:52:57.749Z] Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-08-31T00:52:58.027Z] ---> 45e65fd1a254 [2022-08-31T00:52:58.027Z] Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE [2022-08-31T00:52:58.627Z] ---> bdd76bf886ab [2022-08-31T00:52:58.627Z] Step 21/28 : COPY --from=builder /app/res/ /res/ [2022-08-31T00:52:59.231Z] ---> f1beeaea2b22 [2022-08-31T00:52:59.231Z] Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-08-31T00:53:00.675Z] ---> 6b6cf0db7349 [2022-08-31T00:53:00.675Z] Step 23/28 : EXPOSE 48095 [2022-08-31T00:53:00.675Z] ---> Running in e3d033059da6 [2022-08-31T00:53:00.954Z] Removing intermediate container e3d033059da6 [2022-08-31T00:53:00.954Z] ---> 30f12e985589 [2022-08-31T00:53:00.954Z] Step 24/28 : ENTRYPOINT ["/app-service-configurable"] [2022-08-31T00:53:01.234Z] ---> Running in e2a9dd0e4fe0 [2022-08-31T00:53:01.509Z] Removing intermediate container e2a9dd0e4fe0 [2022-08-31T00:53:01.509Z] ---> a89f20233ac0 [2022-08-31T00:53:01.509Z] Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T00:53:01.509Z] ---> Running in 83c1e19ece1c [2022-08-31T00:53:01.784Z] Removing intermediate container 83c1e19ece1c [2022-08-31T00:53:01.784Z] ---> 4d776ba3608a [2022-08-31T00:53:01.784Z] Step 26/28 : LABEL arch=arm64 [2022-08-31T00:53:01.784Z] ---> Running in 787ac01cf7ce [2022-08-31T00:53:02.060Z] Removing intermediate container 787ac01cf7ce [2022-08-31T00:53:02.060Z] ---> 2a99b173e565 [2022-08-31T00:53:02.060Z] Step 27/28 : LABEL git_sha=970ea8cdef185d54c72dcb37a5df9fe0d96c6246 [2022-08-31T00:53:02.347Z] ---> Running in 92c9bd57eff3 [2022-08-31T00:53:02.622Z] Removing intermediate container 92c9bd57eff3 [2022-08-31T00:53:02.622Z] ---> 4509dcfee756 [2022-08-31T00:53:02.622Z] Step 28/28 : LABEL version=0.0.0 [2022-08-31T00:53:02.622Z] ---> Running in 5e5112d03cb5 [2022-08-31T00:53:02.898Z] Removing intermediate container 5e5112d03cb5 [2022-08-31T00:53:02.898Z] ---> ee3d73ebf788 [2022-08-31T00:53:02.898Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T00:53:02.898Z] Successfully built ee3d73ebf788 [2022-08-31T00:53:02.898Z] Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:53:03.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T00:53:03.774Z] [2022-08-31T00:53:03.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:53:04.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T00:53:04.480Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-31T00:53:04.480Z] 8998bd30e6a1: Pulling fs layer [2022-08-31T00:53:04.480Z] 04944245beec: Pulling fs layer [2022-08-31T00:53:04.480Z] 699f458cf7ca: Pulling fs layer [2022-08-31T00:53:04.480Z] 765212b225bb: Pulling fs layer [2022-08-31T00:53:04.480Z] f23df028b6ca: Pulling fs layer [2022-08-31T00:53:04.480Z] d65c8cfc05b1: Pulling fs layer [2022-08-31T00:53:04.480Z] 2437ff75d9bd: Pulling fs layer [2022-08-31T00:53:04.480Z] 2437ff75d9bd: Waiting [2022-08-31T00:53:04.480Z] 765212b225bb: Waiting [2022-08-31T00:53:04.480Z] f23df028b6ca: Waiting [2022-08-31T00:53:04.480Z] d65c8cfc05b1: Waiting [2022-08-31T00:53:04.480Z] 04944245beec: Verifying Checksum [2022-08-31T00:53:04.480Z] 04944245beec: Download complete [2022-08-31T00:53:04.480Z] 765212b225bb: Download complete [2022-08-31T00:53:04.480Z] f23df028b6ca: Download complete [2022-08-31T00:53:04.480Z] d65c8cfc05b1: Verifying Checksum [2022-08-31T00:53:04.480Z] d65c8cfc05b1: Download complete [2022-08-31T00:53:04.760Z] 699f458cf7ca: Verifying Checksum [2022-08-31T00:53:04.760Z] 699f458cf7ca: Download complete [2022-08-31T00:53:05.038Z] 8998bd30e6a1: Verifying Checksum [2022-08-31T00:53:05.038Z] 8998bd30e6a1: Download complete [2022-08-31T00:53:07.668Z] 2437ff75d9bd: Verifying Checksum [2022-08-31T00:53:07.668Z] 2437ff75d9bd: Download complete [2022-08-31T00:53:09.124Z] 8998bd30e6a1: Pull complete [2022-08-31T00:53:09.720Z] 04944245beec: Pull complete [2022-08-31T00:53:11.158Z] 699f458cf7ca: Pull complete [2022-08-31T00:53:11.438Z] 765212b225bb: Pull complete [2022-08-31T00:53:12.425Z] f23df028b6ca: Pull complete [2022-08-31T00:53:12.425Z] d65c8cfc05b1: Pull complete [2022-08-31T00:53:27.546Z] 2437ff75d9bd: Pull complete [2022-08-31T00:53:27.546Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-31T00:53:27.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T00:53:27.546Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:53:27.926Z] prd-ubuntu20.04-docker-arm64-4c-16g-24156 does not seem to be running inside a container [2022-08-31T00:53:28.020Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-31T00:53:30.664Z] $ docker top 6b079d9bdff87930e139222b236362cba9db728cd65d2b9515b71955e43c0128 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:53:31.656Z] ---> job-cost.sh [2022-08-31T00:53:31.656Z] lf-activate-venv: SKIPPING [2022-08-31T00:53:31.656Z] INFO: No Stack... [2022-08-31T00:53:31.934Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-31T00:53:32.923Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T00:53:33.621Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-08-31T00:53:33.621Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T00:53:33.711Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-463-1-stack-cost] [2022-08-31T00:53:33.715Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-463-1-stack-cost] did not exist. Created. [2022-08-31T00:53:33.715Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T00:53:34.491Z] /w/workspace/app-service-configurable/1@tmp/durable-0951e9e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-31T00:53:35.219Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-31T00:53:35.256Z] Warning: overwriting stash ‘stack-cost’ [2022-08-31T00:53:35.311Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T00:53:35.326Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T00:53:35.403Z] $ docker stop --time=1 6b079d9bdff87930e139222b236362cba9db728cd65d2b9515b71955e43c0128 [2022-08-31T00:53:36.961Z] $ docker rm -f 6b079d9bdff87930e139222b236362cba9db728cd65d2b9515b71955e43c0128 [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-08-31T00:53:37.999Z] provisioning config files... [2022-08-31T00:53:38.009Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-463@tmp/config5919042774464091449tmp [Pipeline] { [Pipeline] sh [2022-08-31T00:53:38.350Z] + set +x [2022-08-31T00:53:38.350Z] + bash -s -- [2022-08-31T00:53:38.350Z] + curl -s https://codecov.io/bash [2022-08-31T00:53:38.350Z] [2022-08-31T00:53:38.350Z] _____ _ [2022-08-31T00:53:38.350Z] / ____| | | [2022-08-31T00:53:38.350Z] | | ___ __| | ___ ___ _____ __ [2022-08-31T00:53:38.350Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-31T00:53:38.350Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-31T00:53:38.350Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-31T00:53:38.350Z] Bash-1.0.6 [2022-08-31T00:53:38.350Z] [2022-08-31T00:53:38.350Z] [2022-08-31T00:53:38.350Z] ==> git version 2.25.1 found [2022-08-31T00:53:38.350Z] ==> 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-08-31T00:53:38.350Z] Release-Date: 2020-01-08 [2022-08-31T00:53:38.350Z] 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-08-31T00:53:38.350Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-31T00:53:38.350Z] ==> Jenkins CI detected. [2022-08-31T00:53:38.350Z] current dir:  /w/workspace/_app-service-configurable_PR-463 [2022-08-31T00:53:38.350Z] project root: . [2022-08-31T00:53:38.350Z] --> token set from env [2022-08-31T00:53:38.350Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-31T00:53:38.350Z] ==> Running gcov in . (disable via -X gcov) [2022-08-31T00:53:38.350Z] ==> Python coveragepy not found [2022-08-31T00:53:38.350Z] ==> Searching for coverage reports in: [2022-08-31T00:53:38.350Z] + . [2022-08-31T00:53:38.350Z] -> Found 1 reports [2022-08-31T00:53:38.350Z] ==> Detecting git/mercurial file structure [2022-08-31T00:53:38.350Z] ==> Reading reports [2022-08-31T00:53:38.350Z] + ./coverage.out bytes=10 [2022-08-31T00:53:38.350Z] ==> Appending adjustments [2022-08-31T00:53:38.350Z] https://docs.codecov.io/docs/fixing-reports [2022-08-31T00:53:38.612Z] + Found adjustments [2022-08-31T00:53:38.612Z] ==> Gzipping contents [2022-08-31T00:53:38.612Z] 4.0K /tmp/codecov.447z4N.gz [2022-08-31T00:53:38.612Z] ==> Uploading reports [2022-08-31T00:53:38.612Z] url: https://codecov.io [2022-08-31T00:53:38.612Z] query: branch=PR-463&commit=970ea8cdef185d54c72dcb37a5df9fe0d96c6246&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=463&job=&cmd_args= [2022-08-31T00:53:38.612Z] -> Pinging Codecov [2022-08-31T00:53:38.612Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-463&commit=970ea8cdef185d54c72dcb37a5df9fe0d96c6246&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=463&job=&cmd_args= [2022-08-31T00:53:38.875Z] -> Uploading to [2022-08-31T00:53:38.875Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-31/A97CA9966030D2A3747ED39772930CCE/970ea8cdef185d54c72dcb37a5df9fe0d96c6246/e4355c1d-fef4-4cb9-85e4-ae2fd29b0622.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220831T005338Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9bf03276a4c433e3f31ab234deec54df03c0576c9cfdbfa535f433b8da5c155c [2022-08-31T00:53:38.875Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T00:53:38.875Z] Dload Upload Total Spent Left Speed [2022-08-31T00:53:39.135Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 525 0 0 100 525 0 2500 --:--:-- --:--:-- --:--:-- 2500 [2022-08-31T00:53:39.136Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/970ea8cdef185d54c72dcb37a5df9fe0d96c6246 [Pipeline] } [2022-08-31T00:53:39.162Z] 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-08-31T00:53:40.921Z] + [ -d /w/workspace/_app-service-configurable_PR-463/archives ] [2022-08-31T00:53:40.922Z] + ls -al /w/workspace/_app-service-configurable_PR-463/archives [2022-08-31T00:53:40.922Z] total 16 [2022-08-31T00:53:40.922Z] drwxr-xr-x 3 root root 4096 Aug 31 00:44 . [2022-08-31T00:53:40.922Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 00:44 .. [2022-08-31T00:53:40.922Z] drwxr-xr-x 2 root root 4096 Aug 31 00:44 cost [2022-08-31T00:53:40.922Z] -rw-r--r-- 1 root root 96 Aug 31 00:44 cost.csv [2022-08-31T00:53:40.922Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-463/archives [2022-08-31T00:53:40.922Z] + ls -al /w/workspace/_app-service-configurable_PR-463/archives [2022-08-31T00:53:40.922Z] total 16 [2022-08-31T00:53:40.922Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:44 . [2022-08-31T00:53:40.922Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 00:44 .. [2022-08-31T00:53:40.922Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 00:44 cost [2022-08-31T00:53:40.922Z] -rw-r--r-- 1 jenkins jenkins 96 Aug 31 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:53:41.251Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:53:42.158Z] ---> package-listing.sh [2022-08-31T00:53:42.158Z] ++ facter osfamily [2022-08-31T00:53:42.158Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-31T00:53:42.418Z] + OS_FAMILY=debian [2022-08-31T00:53:42.418Z] + workspace=/w/workspace/_app-service-configurable_PR-463 [2022-08-31T00:53:42.418Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-31T00:53:42.418Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-31T00:53:42.418Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-31T00:53:42.418Z] + PACKAGES=/tmp/packages_start.txt [2022-08-31T00:53:42.418Z] + '[' /w/workspace/_app-service-configurable_PR-463 ']' [2022-08-31T00:53:42.418Z] + PACKAGES=/tmp/packages_end.txt [2022-08-31T00:53:42.418Z] + case "${OS_FAMILY}" in [2022-08-31T00:53:42.418Z] + dpkg -l [2022-08-31T00:53:42.418Z] + grep '^ii' [2022-08-31T00:53:42.418Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-31T00:53:42.418Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-31T00:53:42.418Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-31T00:53:42.418Z] + '[' /w/workspace/_app-service-configurable_PR-463 ']' [2022-08-31T00:53:42.418Z] + mkdir -p /w/workspace/_app-service-configurable_PR-463/archives/ [2022-08-31T00:53:42.418Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-463/archives/ [Pipeline] echo [2022-08-31T00:53:42.453Z] 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-463/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-31T00:53:42.749Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:53:43.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:53:43.394Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:53:43.560Z] prd-ubuntu20.04-docker-8c-8g-24153 does not seem to be running inside a container [2022-08-31T00:53:43.617Z] $ 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-463/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-463 -v /w/workspace/_app-service-configurable_PR-463:/w/workspace/_app-service-configurable_PR-463:rw,z -v /w/workspace/_app-service-configurable_PR-463@tmp:/w/workspace/_app-service-configurable_PR-463@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-08-31T00:53:43.849Z] $ docker top fa1af63fb69eeddff2a0456a0be3fed6ebc0debf2926a3998e67921dcc6f3a66 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:53:44.249Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-31T00:53:44.572Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-31T00:53:44.889Z] + ls /var/log/sa-host [2022-08-31T00:53:44.889Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T00:53:45.038Z] provisioning config files... [2022-08-31T00:53:45.047Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-463@tmp/config1168400597733936619tmp [Pipeline] { [Pipeline] echo [2022-08-31T00:53:45.086Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:53:45.403Z] ---> create-netrc.sh [Pipeline] } [2022-08-31T00:53:45.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:53:45.839Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-31T00:53:45.870Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:53:46.196Z] ---> sudo-logs.sh [2022-08-31T00:53:46.196Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-31T00:53:46.285Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:53:46.602Z] ---> job-cost.sh [2022-08-31T00:53:46.602Z] lf-activate-venv: SKIPPING [2022-08-31T00:53:46.602Z] DEBUG: total: 0.2199999988079071 [2022-08-31T00:53:46.602Z] INFO: Retrieving Stack Cost... [2022-08-31T00:53:47.175Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T00:53:47.435Z] INFO: Archiving Costs [Pipeline] echo [2022-08-31T00:53:47.467Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:53:47.783Z] ---> logs-deploy.sh [2022-08-31T00:53:47.783Z] lf-activate-venv: SKIPPING [2022-08-31T00:53:47.783Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-463/1 [2022-08-31T00:53:47.783Z] INFO: archiving workspace using pattern(s): [2022-08-31T00:53:48.727Z] Archives upload complete. [2022-08-31T00:53:48.727Z] INFO: archiving logs to Nexus