Pull request #457 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb1433f24c03507f0d574ecbf532ce364082b54b+881dece654975b2e3498d96629ab969f556195f8 (dc4fea37946abb5171d2065cfdd46277c775d29d) 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-ssh6091460515178803335.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh16227616517700814890.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-457/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-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7426644814259692701.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-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7791724744134772476.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh16419088097562594259.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-457/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-457/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18053339347592255534.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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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 Running on prd-ubuntu20.04-docker-8c-8g-22212 in /w/workspace/_app-service-configurable_PR-457 [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-457 # 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 881dece654975b2e3498d96629ab969f556195f8 into PR head commit eb1433f24c03507f0d574ecbf532ce364082b54b Merge succeeded, producing eb1433f24c03507f0d574ecbf532ce364082b54b Checking out Revision eb1433f24c03507f0d574ecbf532ce364082b54b (PR-457) > 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/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb1433f24c03507f0d574ecbf532ce364082b54b # 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 881dece654975b2e3498d96629ab969f556195f8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb1433f24c03507f0d574ecbf532ce364082b54b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-09T12:03:48.168Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-09T12:03:48.350Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-09T12:03:48.454Z] ========================================================= [2022-08-09T12:03:48.454Z] EdgeX Global Pipelines Version Info [2022-08-09T12:03:48.454Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:03:49.244Z] ------------------- [2022-08-09T12:03:49.244Z] stable info: [2022-08-09T12:03:49.244Z] ------------------- [2022-08-09T12:03:49.244Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T12:03:49.244Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T12:03:49.244Z] Message: update stable to v1.0.238 [2022-08-09T12:03:49.820Z] ------------------- [2022-08-09T12:03:49.820Z] experimental info: [2022-08-09T12:03:49.820Z] ------------------- [2022-08-09T12:03:49.820Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-09T12:03:49.820Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-09T12:03:49.820Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-09T12:03:50.233Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-08-09T12:03:50.286Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-08-09T12:03:50.329Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-09T12:03:50.375Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-09T12:03:50.427Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-09T12:03:50.468Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-09T12:03:50.509Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-09T12:03:50.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-09T12:03:50.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-09T12:03:50.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-09T12:03:50.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-09T12:03:50.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-08-09T12:03:50.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-09T12:03:50.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-09T12:03:50.860Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T12:03:50.905Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-09T12:03:50.949Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T12:03:50.996Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-09T12:03:51.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-09T12:03:51.083Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-09T12:03:51.126Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-09T12:03:51.173Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-09T12:03:51.218Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-09T12:03:51.259Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-09T12:03:51.303Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-09T12:03:51.348Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-09T12:03:51.391Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-09T12:03:51.438Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-457 [Pipeline] echo [2022-08-09T12:03:51.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-457 [Pipeline] echo [2022-08-09T12:03:51.529Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-457 [Pipeline] echo [2022-08-09T12:03:51.569Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb1433f24c03507f0d574ecbf532ce364082b54b [Pipeline] echo [2022-08-09T12:03:51.614Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb1433f [Pipeline] echo [2022-08-09T12:03:51.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T12:03:51.784Z] provisioning config files... [2022-08-09T12:03:51.802Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-457@tmp/config8492450781740629182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:03:52.147Z] ---> docker-login.sh [2022-08-09T12:03:52.147Z] nexus3.edgexfoundry.org:10001 [2022-08-09T12:03:52.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:03:52.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:03:52.676Z] Configure a credential helper to remove this warning. See [2022-08-09T12:03:52.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:03:52.676Z] [2022-08-09T12:03:52.676Z] Login Succeeded [2022-08-09T12:03:52.676Z] nexus3.edgexfoundry.org:10002 [2022-08-09T12:03:52.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:03:52.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:03:52.943Z] Configure a credential helper to remove this warning. See [2022-08-09T12:03:52.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:03:52.943Z] [2022-08-09T12:03:52.943Z] Login Succeeded [2022-08-09T12:03:52.943Z] nexus3.edgexfoundry.org:10003 [2022-08-09T12:03:52.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:03:52.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:03:52.943Z] Configure a credential helper to remove this warning. See [2022-08-09T12:03:52.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:03:52.943Z] [2022-08-09T12:03:52.943Z] Login Succeeded [2022-08-09T12:03:52.943Z] nexus3.edgexfoundry.org:10004 [2022-08-09T12:03:53.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:03:53.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:03:53.204Z] Configure a credential helper to remove this warning. See [2022-08-09T12:03:53.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:03:53.204Z] [2022-08-09T12:03:53.204Z] Login Succeeded [2022-08-09T12:03:53.204Z] docker.io [2022-08-09T12:03:53.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:03:53.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:03:53.779Z] Configure a credential helper to remove this warning. See [2022-08-09T12:03:53.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:03:53.779Z] [2022-08-09T12:03:53.779Z] Login Succeeded [2022-08-09T12:03:53.779Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T12:03:53.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-09T12:03:54.455Z] + git rev-list -1 --merges eb1433f24c03507f0d574ecbf532ce364082b54b~1..eb1433f24c03507f0d574ecbf532ce364082b54b [Pipeline] echo [2022-08-09T12:03:54.511Z] -----------> git rev-list -1 --merges eb1433f24c03507f0d574ecbf532ce364082b54b~1..eb1433f24c03507f0d574ecbf532ce364082b54b eb1433f24c03507f0d574ecbf532ce364082b54b [false] [Pipeline] sh [2022-08-09T12:03:54.830Z] + git log --format=format:%s -1 eb1433f24c03507f0d574ecbf532ce364082b54b [Pipeline] echo [2022-08-09T12:03:54.871Z] ========================================================= [2022-08-09T12:03:54.871Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-09T12:03:54.871Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T12:03:55.318Z] + git log --format=format:%s -1 eb1433f24c03507f0d574ecbf532ce364082b54b [Pipeline] echo [2022-08-09T12:03:55.352Z] [semverPrep] GIT_COMMIT: eb1433f24c03507f0d574ecbf532ce364082b54b, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-08-09T12:03:55.386Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-09T12:03:55.783Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-09T12:03:55.783Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-09T12:03:55.783Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-09T12:03:55.783Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-09T12:03:55.783Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-09T12:03:55.783Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-09T12:03:55.783Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:03:56.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T12:03:56.295Z] [2022-08-09T12:03:56.295Z] 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-09T12:03:56.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T12:03:56.680Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-09T12:03:56.680Z] b85a868b505f: Pulling fs layer [2022-08-09T12:03:56.680Z] e2be974225ed: Pulling fs layer [2022-08-09T12:03:56.680Z] 339a4e72a1f5: Pulling fs layer [2022-08-09T12:03:56.680Z] 988bab9f4d93: Pulling fs layer [2022-08-09T12:03:56.680Z] 1469e6f7b9e6: Pulling fs layer [2022-08-09T12:03:56.680Z] eaf3925da568: Pulling fs layer [2022-08-09T12:03:56.680Z] bab4dde63d76: Pulling fs layer [2022-08-09T12:03:56.680Z] bde34c3a00c8: Pulling fs layer [2022-08-09T12:03:56.680Z] b352a97aabf1: Pulling fs layer [2022-08-09T12:03:56.680Z] 4872d77fe225: Pulling fs layer [2022-08-09T12:03:56.680Z] 5851b861e8e6: Pulling fs layer [2022-08-09T12:03:56.680Z] 988bab9f4d93: Waiting [2022-08-09T12:03:56.680Z] 1469e6f7b9e6: Waiting [2022-08-09T12:03:56.680Z] eaf3925da568: Waiting [2022-08-09T12:03:56.680Z] bab4dde63d76: Waiting [2022-08-09T12:03:56.680Z] bde34c3a00c8: Waiting [2022-08-09T12:03:56.680Z] b352a97aabf1: Waiting [2022-08-09T12:03:56.680Z] 4872d77fe225: Waiting [2022-08-09T12:03:56.680Z] 5851b861e8e6: Waiting [2022-08-09T12:03:56.680Z] e2be974225ed: Verifying Checksum [2022-08-09T12:03:56.680Z] e2be974225ed: Download complete [2022-08-09T12:03:56.680Z] 988bab9f4d93: Verifying Checksum [2022-08-09T12:03:56.680Z] 988bab9f4d93: Download complete [2022-08-09T12:03:56.942Z] 339a4e72a1f5: Verifying Checksum [2022-08-09T12:03:56.942Z] 339a4e72a1f5: Download complete [2022-08-09T12:03:56.942Z] 1469e6f7b9e6: Verifying Checksum [2022-08-09T12:03:56.942Z] 1469e6f7b9e6: Download complete [2022-08-09T12:03:56.942Z] eaf3925da568: Verifying Checksum [2022-08-09T12:03:56.942Z] eaf3925da568: Download complete [2022-08-09T12:03:56.942Z] bde34c3a00c8: Download complete [2022-08-09T12:03:56.942Z] b352a97aabf1: Download complete [2022-08-09T12:03:56.942Z] 4872d77fe225: Verifying Checksum [2022-08-09T12:03:56.942Z] 4872d77fe225: Download complete [2022-08-09T12:03:56.942Z] 5851b861e8e6: Verifying Checksum [2022-08-09T12:03:56.942Z] 5851b861e8e6: Download complete [2022-08-09T12:03:56.942Z] b85a868b505f: Verifying Checksum [2022-08-09T12:03:56.942Z] b85a868b505f: Download complete [2022-08-09T12:03:57.203Z] bab4dde63d76: Verifying Checksum [2022-08-09T12:03:57.203Z] bab4dde63d76: Download complete [2022-08-09T12:03:58.586Z] b85a868b505f: Pull complete [2022-08-09T12:03:58.586Z] e2be974225ed: Pull complete [2022-08-09T12:03:59.158Z] 339a4e72a1f5: Pull complete [2022-08-09T12:03:59.158Z] 988bab9f4d93: Pull complete [2022-08-09T12:03:59.419Z] 1469e6f7b9e6: Pull complete [2022-08-09T12:03:59.419Z] eaf3925da568: Pull complete [2022-08-09T12:04:01.967Z] bab4dde63d76: Pull complete [2022-08-09T12:04:01.967Z] bde34c3a00c8: Pull complete [2022-08-09T12:04:01.967Z] b352a97aabf1: Pull complete [2022-08-09T12:04:01.967Z] 4872d77fe225: Pull complete [2022-08-09T12:04:01.967Z] 5851b861e8e6: Pull complete [2022-08-09T12:04:01.967Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-09T12:04:01.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-09T12:04:01.967Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T12:04:02.191Z] prd-ubuntu20.04-docker-8c-8g-22212 does not seem to be running inside a container [2022-08-09T12:04:02.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-457 -v /w/workspace/_app-service-configurable_PR-457:/w/workspace/_app-service-configurable_PR-457:rw,z -v /w/workspace/_app-service-configurable_PR-457@tmp:/w/workspace/_app-service-configurable_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-09T12:04:03.439Z] $ docker top b9d6893ed90ba0f4a36e9d91eae8e80ce2c0c9e46483183eee761a4ab2f09c23 -eo pid,comm [2022-08-09T12:04:03.511Z] 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-09T12:04:03.511Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-09T12:04:03.655Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T12:04:03.655Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T12:04:03.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T12:04:03.796Z] $ docker exec b9d6893ed90ba0f4a36e9d91eae8e80ce2c0c9e46483183eee761a4ab2f09c23 ssh-agent [2022-08-09T12:04:03.930Z] SSH_AUTH_SOCK=/tmp/ssh-FU4hGQhStJtb/agent.32 [2022-08-09T12:04:03.930Z] SSH_AGENT_PID=38 [2022-08-09T12:04:03.937Z] Running ssh-add (command line suppressed) [2022-08-09T12:04:04.054Z] Identity added: /w/workspace/_app-service-configurable_PR-457@tmp/private_key_5553571166930872481.key (/w/workspace/_app-service-configurable_PR-457@tmp/private_key_5553571166930872481.key) [2022-08-09T12:04:04.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T12:04:04.416Z] + git tag --points-at HEAD [Pipeline] } [2022-08-09T12:04:04.448Z] $ docker exec --env ******** --env ******** b9d6893ed90ba0f4a36e9d91eae8e80ce2c0c9e46483183eee761a4ab2f09c23 ssh-agent -k [2022-08-09T12:04:04.560Z] unset SSH_AUTH_SOCK; [2022-08-09T12:04:04.561Z] unset SSH_AGENT_PID; [2022-08-09T12:04:04.561Z] echo Agent pid 38 killed; [2022-08-09T12:04:04.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-09T12:04:04.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-09T12:04:04.665Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-09T12:04:04.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-09T12:04:04.799Z] $ docker exec b9d6893ed90ba0f4a36e9d91eae8e80ce2c0c9e46483183eee761a4ab2f09c23 ssh-agent [2022-08-09T12:04:04.934Z] SSH_AUTH_SOCK=/tmp/ssh-Hu0OSXicaPId/agent.71 [2022-08-09T12:04:04.934Z] SSH_AGENT_PID=78 [2022-08-09T12:04:04.939Z] Running ssh-add (command line suppressed) [2022-08-09T12:04:05.078Z] Identity added: /w/workspace/_app-service-configurable_PR-457@tmp/private_key_658285389152635794.key (/w/workspace/_app-service-configurable_PR-457@tmp/private_key_658285389152635794.key) [2022-08-09T12:04:05.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-09T12:04:05.421Z] + git semver init [2022-08-09T12:04:05.684Z] 2022-08-09 12:04:05,633 [run_init] DEBUG init version:0.0.0 force:False [2022-08-09T12:04:05.684Z] 2022-08-09 12:04:05,634 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-457/.semver [2022-08-09T12:04:05.684Z] 2022-08-09 12:04:05,634 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-457/.semver [2022-08-09T12:04:05.684Z] 2022-08-09 12:04:05,634 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-457/.semver'], cwd=/w/workspace/_app-service-configurable_PR-457, universal_newlines=False, shell=None, istream=None) [2022-08-09T12:04:06.630Z] 2022-08-09 12:04:06,293 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-457/.git/info/exclude [2022-08-09T12:04:06.630Z] 2022-08-09 12:04:06,293 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-457/.semver/PR-457 with force:False [2022-08-09T12:04:06.630Z] 2022-08-09 12:04:06,293 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-457/.semver/PR-457 [2022-08-09T12:04:06.630Z] 2022-08-09 12:04:06,298 [execute] INFO git cat-file --batch-check [2022-08-09T12:04:06.630Z] 2022-08-09 12:04:06,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-457/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T12:04:06.630Z] 2022-08-09 12:04:06,304 [execute] INFO git cat-file --batch [2022-08-09T12:04:06.630Z] 2022-08-09 12:04:06,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-457/.semver, universal_newlines=False, shell=None, istream=) [2022-08-09T12:04:06.630Z] 2022-08-09 12:04:06,310 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-457/.semver/PR-457 [2022-08-09T12:04:06.630Z] 0.0.0 [Pipeline] } [2022-08-09T12:04:06.663Z] $ docker exec --env ******** --env ******** b9d6893ed90ba0f4a36e9d91eae8e80ce2c0c9e46483183eee761a4ab2f09c23 ssh-agent -k [2022-08-09T12:04:06.796Z] unset SSH_AUTH_SOCK; [2022-08-09T12:04:06.797Z] unset SSH_AGENT_PID; [2022-08-09T12:04:06.797Z] echo Agent pid 78 killed; [2022-08-09T12:04:06.804Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-09T12:04:07.241Z] + git semver [Pipeline] } [2022-08-09T12:04:07.535Z] $ docker stop --time=1 b9d6893ed90ba0f4a36e9d91eae8e80ce2c0c9e46483183eee761a4ab2f09c23 [2022-08-09T12:04:08.868Z] $ docker rm -f b9d6893ed90ba0f4a36e9d91eae8e80ce2c0c9e46483183eee761a4ab2f09c23 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T12:04:09.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-09T12:04:09.676Z] Stashed 1 file(s) [Pipeline] echo [2022-08-09T12:04:09.693Z] [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-09T12:04:10.261Z] provisioning config files... [2022-08-09T12:04:10.278Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-457@tmp/config6743044266526928553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:04:10.630Z] ---> docker-login.sh [2022-08-09T12:04:10.630Z] nexus3.edgexfoundry.org:10001 [2022-08-09T12:04:10.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:04:10.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:04:10.630Z] Configure a credential helper to remove this warning. See [2022-08-09T12:04:10.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:04:10.630Z] [2022-08-09T12:04:10.630Z] Login Succeeded [2022-08-09T12:04:10.630Z] nexus3.edgexfoundry.org:10002 [2022-08-09T12:04:10.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:04:10.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:04:10.892Z] Configure a credential helper to remove this warning. See [2022-08-09T12:04:10.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:04:10.892Z] [2022-08-09T12:04:10.892Z] Login Succeeded [2022-08-09T12:04:10.892Z] nexus3.edgexfoundry.org:10003 [2022-08-09T12:04:10.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:04:10.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:04:10.892Z] Configure a credential helper to remove this warning. See [2022-08-09T12:04:10.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:04:10.892Z] [2022-08-09T12:04:10.892Z] Login Succeeded [2022-08-09T12:04:10.892Z] nexus3.edgexfoundry.org:10004 [2022-08-09T12:04:11.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:04:11.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:04:11.155Z] Configure a credential helper to remove this warning. See [2022-08-09T12:04:11.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:04:11.155Z] [2022-08-09T12:04:11.155Z] Login Succeeded [2022-08-09T12:04:11.155Z] docker.io [2022-08-09T12:04:11.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:04:11.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:04:11.416Z] Configure a credential helper to remove this warning. See [2022-08-09T12:04:11.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:04:11.416Z] [2022-08-09T12:04:11.416Z] Login Succeeded [2022-08-09T12:04:11.416Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T12:04:11.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T12:04:11.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T12:04:11.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T12:04:11.705Z] ========================================================= [2022-08-09T12:04:11.705Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-09T12:04:11.705Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:04:12.175Z] + 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-09T12:04:12.175Z] Sending build context to Docker daemon 3.123MB [2022-08-09T12:04:12.175Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T12:04:12.175Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T12:04:12.175Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-09T12:04:12.175Z] 2408cc74d12b: Pulling fs layer [2022-08-09T12:04:12.175Z] ea60b727a1ce: Pulling fs layer [2022-08-09T12:04:12.175Z] 30c4a7721957: Pulling fs layer [2022-08-09T12:04:12.175Z] 370296b7ddb6: Pulling fs layer [2022-08-09T12:04:12.175Z] 7c6cee850709: Pulling fs layer [2022-08-09T12:04:12.175Z] 39a5fcdaea64: Pulling fs layer [2022-08-09T12:04:12.175Z] d94ebbe4e438: Pulling fs layer [2022-08-09T12:04:12.175Z] bcfd1f05c69d: Pulling fs layer [2022-08-09T12:04:12.175Z] 59ccb84bbe0f: Pulling fs layer [2022-08-09T12:04:12.175Z] 370296b7ddb6: Waiting [2022-08-09T12:04:12.175Z] d94ebbe4e438: Waiting [2022-08-09T12:04:12.175Z] 7c6cee850709: Waiting [2022-08-09T12:04:12.175Z] 39a5fcdaea64: Waiting [2022-08-09T12:04:12.175Z] bcfd1f05c69d: Waiting [2022-08-09T12:04:12.175Z] 59ccb84bbe0f: Waiting [2022-08-09T12:04:12.175Z] 30c4a7721957: Download complete [2022-08-09T12:04:12.175Z] ea60b727a1ce: Verifying Checksum [2022-08-09T12:04:12.175Z] ea60b727a1ce: Download complete [2022-08-09T12:04:12.175Z] 7c6cee850709: Verifying Checksum [2022-08-09T12:04:12.175Z] 7c6cee850709: Download complete [2022-08-09T12:04:12.175Z] 39a5fcdaea64: Download complete [2022-08-09T12:04:12.175Z] 2408cc74d12b: Verifying Checksum [2022-08-09T12:04:12.175Z] 2408cc74d12b: Download complete [2022-08-09T12:04:12.435Z] d94ebbe4e438: Verifying Checksum [2022-08-09T12:04:12.435Z] d94ebbe4e438: Download complete [2022-08-09T12:04:12.435Z] 2408cc74d12b: Pull complete [2022-08-09T12:04:12.696Z] ea60b727a1ce: Pull complete [2022-08-09T12:04:12.696Z] 30c4a7721957: Pull complete [2022-08-09T12:04:12.958Z] 59ccb84bbe0f: Verifying Checksum [2022-08-09T12:04:12.958Z] 59ccb84bbe0f: Download complete [2022-08-09T12:04:12.958Z] bcfd1f05c69d: Verifying Checksum [2022-08-09T12:04:12.958Z] bcfd1f05c69d: Download complete [2022-08-09T12:04:13.220Z] 370296b7ddb6: Verifying Checksum [2022-08-09T12:04:13.220Z] 370296b7ddb6: Download complete [2022-08-09T12:04:17.427Z] 370296b7ddb6: Pull complete [2022-08-09T12:04:17.427Z] 7c6cee850709: Pull complete [2022-08-09T12:04:17.687Z] 39a5fcdaea64: Pull complete [2022-08-09T12:04:17.687Z] d94ebbe4e438: Pull complete [2022-08-09T12:04:20.230Z] bcfd1f05c69d: Pull complete [2022-08-09T12:04:20.495Z] 59ccb84bbe0f: Pull complete [2022-08-09T12:04:20.495Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-09T12:04:20.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-09T12:04:20.495Z] ---> a4fb48ad2a94 [2022-08-09T12:04:20.495Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-09T12:04:21.883Z] ---> Running in f5d0701357ab [2022-08-09T12:04:21.883Z] Removing intermediate container f5d0701357ab [2022-08-09T12:04:21.883Z] ---> 8801677f4690 [2022-08-09T12:04:21.883Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T12:04:21.883Z] ---> Running in 621c80653cd1 [2022-08-09T12:04:22.144Z] Removing intermediate container 621c80653cd1 [2022-08-09T12:04:22.144Z] ---> 772f3733268b [2022-08-09T12:04:22.144Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-09T12:04:22.144Z] ---> Running in d23d2eb808e5 [2022-08-09T12:04:22.144Z] Removing intermediate container d23d2eb808e5 [2022-08-09T12:04:22.144Z] ---> 689e1c84fb7e [2022-08-09T12:04:22.144Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T12:04:22.144Z] ---> Running in a28318ac14fd [2022-08-09T12:04:22.714Z] Removing intermediate container a28318ac14fd [2022-08-09T12:04:22.714Z] ---> b9239e0682ca [2022-08-09T12:04:22.714Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T12:04:22.714Z] ---> Running in 805b48317e5a [2022-08-09T12:04:23.283Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T12:04:24.223Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T12:04:24.223Z] OK: 211 MiB in 51 packages [2022-08-09T12:04:24.794Z] Removing intermediate container 805b48317e5a [2022-08-09T12:04:24.794Z] ---> a32fe24f8263 [2022-08-09T12:04:24.794Z] Step 8/13 : WORKDIR /app [2022-08-09T12:04:24.794Z] ---> Running in a418639f3c7e [2022-08-09T12:04:24.794Z] Removing intermediate container a418639f3c7e [2022-08-09T12:04:24.794Z] ---> 2afd3d3c46ef [2022-08-09T12:04:24.794Z] Step 9/13 : COPY go.mod vendor* ./ [2022-08-09T12:04:25.057Z] ---> 4a6cbc1269b8 [2022-08-09T12:04:25.057Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T12:04:25.057Z] ---> Running in 1dea2dc4bdea [2022-08-09T12:04:25.091Z] Still waiting to schedule task [2022-08-09T12:04:25.091Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-09T12:04:43.188Z] Removing intermediate container 1dea2dc4bdea [2022-08-09T12:04:43.188Z] ---> 9936314a0542 [2022-08-09T12:04:43.188Z] Step 11/13 : COPY . . [2022-08-09T12:04:43.188Z] ---> 009555fda6e4 [2022-08-09T12:04:43.188Z] Step 12/13 : ARG MAKE="make build" [2022-08-09T12:04:43.188Z] ---> Running in 4d789b9fd3f7 [2022-08-09T12:04:43.188Z] Removing intermediate container 4d789b9fd3f7 [2022-08-09T12:04:43.188Z] ---> fe76cf08b56d [2022-08-09T12:04:43.188Z] Step 13/13 : RUN $MAKE [2022-08-09T12:04:43.188Z] ---> Running in 3f44f6be396a [2022-08-09T12:04:43.450Z] noop [2022-08-09T12:04:43.711Z] Removing intermediate container 3f44f6be396a [2022-08-09T12:04:43.711Z] ---> a0045792bd81 [2022-08-09T12:04:43.711Z] Successfully built a0045792bd81 [2022-08-09T12:04:43.711Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:04:44.156Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T12:04:44.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T12:04:44.316Z] prd-ubuntu20.04-docker-8c-8g-22212 does not seem to be running inside a container [2022-08-09T12:04:44.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-457 -v /w/workspace/_app-service-configurable_PR-457:/w/workspace/_app-service-configurable_PR-457:rw,z -v /w/workspace/_app-service-configurable_PR-457@tmp:/w/workspace/_app-service-configurable_PR-457@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 ******** ci-base-image-x86_64 cat [2022-08-09T12:04:44.739Z] $ docker top 8df639cc0a6d6e5d5ad59683e12fd5c73f8c577b86b6f5855a86d294cdf62218 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T12:04:45.150Z] + go version [2022-08-09T12:04:45.150Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-09T12:04:45.183Z] $ docker stop --time=1 8df639cc0a6d6e5d5ad59683e12fd5c73f8c577b86b6f5855a86d294cdf62218 [2022-08-09T12:04:46.488Z] $ docker rm -f 8df639cc0a6d6e5d5ad59683e12fd5c73f8c577b86b6f5855a86d294cdf62218 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:04:47.235Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-09T12:04:47.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T12:04:47.448Z] prd-ubuntu20.04-docker-8c-8g-22212 does not seem to be running inside a container [2022-08-09T12:04:47.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/_app-service-configurable_PR-457 -v /w/workspace/_app-service-configurable_PR-457:/w/workspace/_app-service-configurable_PR-457:rw,z -v /w/workspace/_app-service-configurable_PR-457@tmp:/w/workspace/_app-service-configurable_PR-457@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 ******** ci-base-image-x86_64 cat [2022-08-09T12:04:47.946Z] $ docker top f8072ec11e876907c6e2846e0a09dbcf61ad985a2f852f314b408db013e16c87 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T12:04:48.365Z] + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-457 [Pipeline] fileExists [Pipeline] sh [2022-08-09T12:04:48.739Z] + make test [2022-08-09T12:04:48.739Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-08-09T12:04:58.721Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-08-09T12:04:58.721Z] CGO_ENABLED=1 go vet ./... [2022-08-09T12:05:02.014Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T12:05:02.014Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T12:05:02.014Z] ./bin/test-attribution-txt.sh [2022-08-09T12:05:02.014Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-09T12:05:02.014Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-09T12:05:02.014Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-09T12:05:02.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T12:05:02.080Z] $ docker stop --time=1 f8072ec11e876907c6e2846e0a09dbcf61ad985a2f852f314b408db013e16c87 [2022-08-09T12:05:03.697Z] $ docker rm -f f8072ec11e876907c6e2846e0a09dbcf61ad985a2f852f314b408db013e16c87 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T12:05:04.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T12:05:04.215Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-09T12:05:04.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T12:05:05.236Z] + ls -al . [2022-08-09T12:05:05.236Z] total 172 [2022-08-09T12:05:05.236Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 12:04 . [2022-08-09T12:05:05.236Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 12:03 .. [2022-08-09T12:05:05.236Z] -rw-rw-r-- 1 jenkins jenkins 119 Aug 9 12:03 .dockerignore [2022-08-09T12:05:05.236Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 12:04 .git [2022-08-09T12:05:05.236Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 12:03 .github [2022-08-09T12:05:05.236Z] -rw-rw-r-- 1 jenkins jenkins 171 Aug 9 12:03 .gitignore [2022-08-09T12:05:05.236Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 12:04 .semver [2022-08-09T12:05:05.236Z] -rw-rw-r-- 1 jenkins jenkins 8830 Aug 9 12:03 Attribution.txt [2022-08-09T12:05:05.236Z] -rw-rw-r-- 1 jenkins jenkins 27269 Aug 9 12:03 CHANGELOG.md [2022-08-09T12:05:05.236Z] -rw-rw-r-- 1 jenkins jenkins 2089 Aug 9 12:03 Dockerfile [2022-08-09T12:05:05.236Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 12:03 GOVERNANCE.md [2022-08-09T12:05:05.236Z] -rw-rw-r-- 1 jenkins jenkins 688 Aug 9 12:03 Jenkinsfile [2022-08-09T12:05:05.236Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 9 12:03 LICENSE [2022-08-09T12:05:05.236Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 9 12:03 OWNERS.md [2022-08-09T12:05:05.237Z] -rw-rw-r-- 1 jenkins jenkins 3718 Aug 9 12:03 README.md [2022-08-09T12:05:05.237Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 12:04 VERSION [2022-08-09T12:05:05.237Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 12:03 bin [2022-08-09T12:05:05.237Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 9 12:04 coverage.out [2022-08-09T12:05:05.237Z] -rw-rw-r-- 1 jenkins jenkins 3475 Aug 9 12:03 go.mod [2022-08-09T12:05:05.237Z] -rw-rw-r-- 1 jenkins jenkins 36887 Aug 9 12:03 go.sum [2022-08-09T12:05:05.237Z] -rw-rw-r-- 1 jenkins jenkins 1949 Aug 9 12:03 main.go [2022-08-09T12:05:05.237Z] -rw-rw-r-- 1 jenkins jenkins 1959 Aug 9 12:03 makefile [2022-08-09T12:05:05.237Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 12:03 res [2022-08-09T12:05:05.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 12:03 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:05:05.630Z] + 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=eb1433f24c03507f0d574ecbf532ce364082b54b --label arch=amd64 --label version=0.0.0 . [2022-08-09T12:05:05.630Z] Sending build context to Docker daemon 3.124MB [2022-08-09T12:05:05.630Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T12:05:05.630Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-09T12:05:05.630Z] ---> a0045792bd81 [2022-08-09T12:05:05.630Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-09T12:05:05.630Z] ---> Running in b6fe0fe493f8 [2022-08-09T12:05:05.891Z] Removing intermediate container b6fe0fe493f8 [2022-08-09T12:05:05.891Z] ---> 2d38c1a37e29 [2022-08-09T12:05:05.891Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T12:05:05.891Z] ---> Running in bc3c2abda5b3 [2022-08-09T12:05:05.891Z] Removing intermediate container bc3c2abda5b3 [2022-08-09T12:05:05.891Z] ---> 9a3a86f14b2b [2022-08-09T12:05:05.891Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-09T12:05:05.891Z] ---> Running in eb6bd487e249 [2022-08-09T12:05:06.153Z] Removing intermediate container eb6bd487e249 [2022-08-09T12:05:06.153Z] ---> 4e321746a041 [2022-08-09T12:05:06.153Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T12:05:06.153Z] ---> Running in ac4a0714cbb0 [2022-08-09T12:05:06.727Z] Removing intermediate container ac4a0714cbb0 [2022-08-09T12:05:06.727Z] ---> 4e96e0a72fa0 [2022-08-09T12:05:06.727Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T12:05:06.727Z] ---> Running in e62cb2a97441 [2022-08-09T12:05:06.988Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T12:05:07.933Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T12:05:08.196Z] OK: 211 MiB in 51 packages [2022-08-09T12:05:08.780Z] Removing intermediate container e62cb2a97441 [2022-08-09T12:05:08.780Z] ---> 7924a17cd8e1 [2022-08-09T12:05:08.780Z] Step 8/27 : WORKDIR /app [2022-08-09T12:05:08.780Z] ---> Running in ac92e80ce2a5 [2022-08-09T12:05:08.780Z] Removing intermediate container ac92e80ce2a5 [2022-08-09T12:05:08.780Z] ---> 59566249b073 [2022-08-09T12:05:08.780Z] Step 9/27 : COPY go.mod vendor* ./ [2022-08-09T12:05:08.780Z] ---> 610f1dc06c12 [2022-08-09T12:05:08.780Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T12:05:09.040Z] ---> Running in 0e9024a6fe33 [2022-08-09T12:05:09.611Z] Removing intermediate container 0e9024a6fe33 [2022-08-09T12:05:09.611Z] ---> 6fcc7095db7e [2022-08-09T12:05:09.611Z] Step 11/27 : COPY . . [2022-08-09T12:05:09.871Z] ---> 3ef2249d9efd [2022-08-09T12:05:09.871Z] Step 12/27 : ARG MAKE="make build" [2022-08-09T12:05:09.871Z] ---> Running in 387af313acef [2022-08-09T12:05:09.871Z] Removing intermediate container 387af313acef [2022-08-09T12:05:09.871Z] ---> 0f01cd220840 [2022-08-09T12:05:09.871Z] Step 13/27 : RUN $MAKE [2022-08-09T12:05:09.871Z] ---> Running in acd1aed59076 [2022-08-09T12:05:10.441Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.29 -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-09T12:05:32.437Z] Removing intermediate container acd1aed59076 [2022-08-09T12:05:32.437Z] ---> b8bccd44e596 [2022-08-09T12:05:32.437Z] Step 14/27 : FROM alpine:3.16 [2022-08-09T12:05:32.437Z] 3.16: Pulling from library/alpine [2022-08-09T12:05:32.437Z] 530afca65e2e: Pulling fs layer [2022-08-09T12:05:32.437Z] 530afca65e2e: Verifying Checksum [2022-08-09T12:05:32.437Z] 530afca65e2e: Download complete [2022-08-09T12:05:32.437Z] 530afca65e2e: Pull complete [2022-08-09T12:05:32.437Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-09T12:05:32.437Z] Status: Downloaded newer image for alpine:3.16 [2022-08-09T12:05:32.437Z] ---> d7d3d98c851f [2022-08-09T12:05:32.437Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-09T12:05:32.437Z] ---> Running in 8ea797e36801 [2022-08-09T12:05:32.437Z] Removing intermediate container 8ea797e36801 [2022-08-09T12:05:32.437Z] ---> 9b26dba386ce [2022-08-09T12:05:32.437Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-08-09T12:05:32.437Z] ---> Running in e031ff76f14f [2022-08-09T12:05:32.437Z] Removing intermediate container e031ff76f14f [2022-08-09T12:05:32.437Z] ---> 4dc28cb3e15e [2022-08-09T12:05:32.437Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-08-09T12:05:32.437Z] ---> Running in 8bdf2c1084e0 [2022-08-09T12:05:32.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-09T12:05:32.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-09T12:05:32.437Z] (1/7) Installing ca-certificates (20220614-r0) [2022-08-09T12:05:32.437Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-08-09T12:05:32.437Z] (3/7) Installing libgcc (11.2.1_git20220219-r2) [2022-08-09T12:05:32.437Z] (4/7) Installing libsodium (1.0.18-r0) [2022-08-09T12:05:32.437Z] (5/7) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-09T12:05:32.437Z] (6/7) Installing libzmq (4.3.4-r0) [2022-08-09T12:05:32.437Z] (7/7) Installing zeromq (4.3.4-r0) [2022-08-09T12:05:32.437Z] Executing busybox-1.35.0-r15.trigger [2022-08-09T12:05:32.437Z] Executing ca-certificates-20220614-r0.trigger [2022-08-09T12:05:32.437Z] OK: 9 MiB in 21 packages [2022-08-09T12:05:32.437Z] Removing intermediate container 8bdf2c1084e0 [2022-08-09T12:05:32.437Z] ---> 759b4b0431d7 [2022-08-09T12:05:32.437Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-08-09T12:05:32.437Z] ---> 370724d21848 [2022-08-09T12:05:32.437Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-08-09T12:05:32.700Z] ---> 88b6dcde55e3 [2022-08-09T12:05:32.700Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-08-09T12:05:32.700Z] ---> 3b148a5152da [2022-08-09T12:05:32.700Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-08-09T12:05:33.270Z] ---> 37d127969f11 [2022-08-09T12:05:33.270Z] Step 22/27 : EXPOSE 48095 [2022-08-09T12:05:33.270Z] ---> Running in 7c6bd7442e28 [2022-08-09T12:05:33.531Z] Removing intermediate container 7c6bd7442e28 [2022-08-09T12:05:33.531Z] ---> 8e2bb6669ca1 [2022-08-09T12:05:33.531Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-08-09T12:05:33.531Z] ---> Running in dc43e8571445 [2022-08-09T12:05:33.531Z] Removing intermediate container dc43e8571445 [2022-08-09T12:05:33.531Z] ---> 2a621940b785 [2022-08-09T12:05:33.531Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T12:05:33.531Z] ---> Running in c4585e517b00 [2022-08-09T12:05:33.790Z] Removing intermediate container c4585e517b00 [2022-08-09T12:05:33.790Z] ---> c07d1276cb78 [2022-08-09T12:05:33.790Z] Step 25/27 : LABEL arch=amd64 [2022-08-09T12:05:33.790Z] ---> Running in d147da9647ce [2022-08-09T12:05:33.790Z] Removing intermediate container d147da9647ce [2022-08-09T12:05:33.790Z] ---> 6ff0d50f2fc5 [2022-08-09T12:05:33.790Z] Step 26/27 : LABEL git_sha=eb1433f24c03507f0d574ecbf532ce364082b54b [2022-08-09T12:05:33.790Z] ---> Running in ef24001b15b4 [2022-08-09T12:05:34.050Z] Removing intermediate container ef24001b15b4 [2022-08-09T12:05:34.051Z] ---> 4a9d471e61ec [2022-08-09T12:05:34.051Z] Step 27/27 : LABEL version=0.0.0 [2022-08-09T12:05:34.051Z] ---> Running in 5974278199cc [2022-08-09T12:05:34.051Z] Removing intermediate container 5974278199cc [2022-08-09T12:05:34.051Z] ---> 7a4e9b4177c2 [2022-08-09T12:05:34.051Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T12:05:34.051Z] Successfully built 7a4e9b4177c2 [2022-08-09T12:05:34.051Z] 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-09T12:05:34.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T12:05:34.987Z] [2022-08-09T12:05:34.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:05:35.369Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T12:05:35.370Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-09T12:05:35.370Z] 5eb5b503b376: Pulling fs layer [2022-08-09T12:05:35.370Z] 5c69ac0246d0: Pulling fs layer [2022-08-09T12:05:35.370Z] ec43610c2a17: Pulling fs layer [2022-08-09T12:05:35.370Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-09T12:05:35.370Z] 33b1e0a273af: Pulling fs layer [2022-08-09T12:05:35.370Z] 5d3b04190fa2: Pulling fs layer [2022-08-09T12:05:35.370Z] 2f39f015ded8: Pulling fs layer [2022-08-09T12:05:35.370Z] 5d3b04190fa2: Waiting [2022-08-09T12:05:35.370Z] 3a2ae6a8a46f: Waiting [2022-08-09T12:05:35.370Z] 2f39f015ded8: Waiting [2022-08-09T12:05:35.370Z] 33b1e0a273af: Waiting [2022-08-09T12:05:35.370Z] 5c69ac0246d0: Verifying Checksum [2022-08-09T12:05:35.370Z] 5c69ac0246d0: Download complete [2022-08-09T12:05:35.370Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-09T12:05:35.370Z] 3a2ae6a8a46f: Download complete [2022-08-09T12:05:35.370Z] 33b1e0a273af: Verifying Checksum [2022-08-09T12:05:35.370Z] 33b1e0a273af: Download complete [2022-08-09T12:05:35.370Z] ec43610c2a17: Verifying Checksum [2022-08-09T12:05:35.370Z] ec43610c2a17: Download complete [2022-08-09T12:05:35.370Z] 5d3b04190fa2: Verifying Checksum [2022-08-09T12:05:35.370Z] 5d3b04190fa2: Download complete [2022-08-09T12:05:35.641Z] 5eb5b503b376: Verifying Checksum [2022-08-09T12:05:35.641Z] 5eb5b503b376: Download complete [2022-08-09T12:05:36.207Z] 2f39f015ded8: Verifying Checksum [2022-08-09T12:05:36.207Z] 2f39f015ded8: Download complete [2022-08-09T12:05:36.774Z] 5eb5b503b376: Pull complete [2022-08-09T12:05:36.775Z] 5c69ac0246d0: Pull complete [2022-08-09T12:05:37.344Z] ec43610c2a17: Pull complete [2022-08-09T12:05:37.344Z] 3a2ae6a8a46f: Pull complete [2022-08-09T12:05:37.603Z] 33b1e0a273af: Pull complete [2022-08-09T12:05:37.603Z] 5d3b04190fa2: Pull complete [2022-08-09T12:05:42.885Z] 2f39f015ded8: Pull complete [2022-08-09T12:05:42.885Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-09T12:05:42.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T12:05:42.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T12:05:43.111Z] prd-ubuntu20.04-docker-8c-8g-22212 does not seem to be running inside a container [2022-08-09T12:05:43.156Z] $ 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-457 -v /w/workspace/_app-service-configurable_PR-457:/w/workspace/_app-service-configurable_PR-457:rw,z -v /w/workspace/_app-service-configurable_PR-457@tmp:/w/workspace/_app-service-configurable_PR-457@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T12:05:44.529Z] $ docker top 4be768e3636d75ba3dbacbc037ef6f754718ab9a4e9dd5ffb152388cead54583 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:05:44.998Z] ---> job-cost.sh [2022-08-09T12:05:44.998Z] lf-activate-venv: SKIPPING [2022-08-09T12:05:44.998Z] INFO: No Stack... [2022-08-09T12:05:45.573Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T12:05:45.834Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T12:05:46.153Z] + cat /w/workspace/_app-service-configurable_PR-457/archives/cost.csv [2022-08-09T12:05:46.153Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T12:05:46.192Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-457-1-stack-cost] [2022-08-09T12:05:46.197Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-457-1-stack-cost] did not exist. Created. [2022-08-09T12:05:46.197Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T12:05:46.597Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-09T12:05:46.654Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T12:05:46.684Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T12:05:46.768Z] $ docker stop --time=1 4be768e3636d75ba3dbacbc037ef6f754718ab9a4e9dd5ffb152388cead54583 [2022-08-09T12:05:47.923Z] $ docker rm -f 4be768e3636d75ba3dbacbc037ef6f754718ab9a4e9dd5ffb152388cead54583 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-09T12:05:56.995Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22214 in /w/workspace/_app-service-configurable_PR-457 [Pipeline] { [Pipeline] ws [2022-08-09T12:05:57.035Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-08-09T12:05:57.120Z] Selected Git installation does not exist. Using Default [2022-08-09T12:05:57.120Z] The recommended git tool is: NONE [2022-08-09T12:06:03.338Z] using credential edgex-jenkins-ssh [2022-08-09T12:06:03.355Z] Cloning the remote Git repository [2022-08-09T12:06:03.419Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-08-09T12:06:03.492Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-08-09T12:06:03.588Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-08-09T12:06:03.589Z] > git --version # timeout=10 [2022-08-09T12:06:03.611Z] > git --version # 'git version 2.25.1' [2022-08-09T12:06:03.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T12:06:03.742Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T12:06:05.650Z] Merging remotes/origin/main commit 881dece654975b2e3498d96629ab969f556195f8 into PR head commit eb1433f24c03507f0d574ecbf532ce364082b54b [2022-08-09T12:06:05.836Z] Merge succeeded, producing eb1433f24c03507f0d574ecbf532ce364082b54b [2022-08-09T12:06:05.837Z] Checking out Revision eb1433f24c03507f0d574ecbf532ce364082b54b (PR-457) [2022-08-09T12:06:05.062Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-08-09T12:06:05.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-09T12:06:05.116Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-08-09T12:06:05.147Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-08-09T12:06:05.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T12:06:05.160Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-09T12:06:05.671Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T12:06:05.684Z] > git checkout -f eb1433f24c03507f0d574ecbf532ce364082b54b # timeout=10 [2022-08-09T12:06:05.762Z] > git remote # timeout=10 [2022-08-09T12:06:05.776Z] > git config --get remote.origin.url # timeout=10 [2022-08-09T12:06:05.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-09T12:06:05.799Z] > git merge 881dece654975b2e3498d96629ab969f556195f8 # timeout=10 [2022-08-09T12:06:05.822Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-09T12:06:05.847Z] > git config core.sparsecheckout # timeout=10 [2022-08-09T12:06:05.857Z] > git checkout -f eb1433f24c03507f0d574ecbf532ce364082b54b # timeout=10 [2022-08-09T12:06:10.262Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [2022-08-09T12:06:10.320Z] > git --version # timeout=10 [2022-08-09T12:06:10.330Z] > git --version # 'git version 2.25.1' [2022-08-09T12:06:10.341Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T12:06:11.541Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-09T12:06:11.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T12:06:11.541Z] Dload Upload Total Spent Left Speed [2022-08-09T12:06:11.541Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 95596 0 --:--:-- --:--:-- --:--:-- 96343 [Pipeline] sh [2022-08-09T12:06:12.508Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-09T12:06:12.874Z] + sudo tee /etc/docker/daemon.new [2022-08-09T12:06:12.874Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-09T12:06:12.874Z] { [2022-08-09T12:06:12.874Z] "registry-mirrors": [ [2022-08-09T12:06:12.874Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-09T12:06:12.874Z] ], [2022-08-09T12:06:12.874Z] "bip": "10.250.0.254/24", [2022-08-09T12:06:12.874Z] "hosts": [ [2022-08-09T12:06:12.874Z] "tcp://0.0.0.0:5555", [2022-08-09T12:06:12.874Z] "unix:///var/run/docker.sock" [2022-08-09T12:06:12.874Z] ], [2022-08-09T12:06:12.874Z] "mtu": 1458, [2022-08-09T12:06:12.874Z] "selinux-enabled": true, [2022-08-09T12:06:12.874Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-09T12:06:12.874Z] } [Pipeline] sh [2022-08-09T12:06:13.233Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-09T12:06:13.589Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T12:06:31.990Z] provisioning config files... [2022-08-09T12:06:32.021Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config6227470944154782273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:06:32.416Z] ---> docker-login.sh [2022-08-09T12:06:32.416Z] nexus3.edgexfoundry.org:10001 [2022-08-09T12:06:33.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:06:33.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:06:33.284Z] Configure a credential helper to remove this warning. See [2022-08-09T12:06:33.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:06:33.284Z] [2022-08-09T12:06:33.284Z] Login Succeeded [2022-08-09T12:06:33.284Z] nexus3.edgexfoundry.org:10002 [2022-08-09T12:06:33.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:06:33.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:06:33.557Z] Configure a credential helper to remove this warning. See [2022-08-09T12:06:33.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:06:33.557Z] [2022-08-09T12:06:33.557Z] Login Succeeded [2022-08-09T12:06:33.557Z] nexus3.edgexfoundry.org:10003 [2022-08-09T12:06:33.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:06:34.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:06:34.114Z] Configure a credential helper to remove this warning. See [2022-08-09T12:06:34.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:06:34.114Z] [2022-08-09T12:06:34.114Z] Login Succeeded [2022-08-09T12:06:34.114Z] nexus3.edgexfoundry.org:10004 [2022-08-09T12:06:34.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:06:34.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:06:34.386Z] Configure a credential helper to remove this warning. See [2022-08-09T12:06:34.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:06:34.386Z] [2022-08-09T12:06:34.386Z] Login Succeeded [2022-08-09T12:06:34.386Z] docker.io [2022-08-09T12:06:34.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-09T12:06:35.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-09T12:06:35.247Z] Configure a credential helper to remove this warning. See [2022-08-09T12:06:35.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-09T12:06:35.247Z] [2022-08-09T12:06:35.247Z] Login Succeeded [2022-08-09T12:06:35.247Z] ---> docker-login.sh ends [Pipeline] } [2022-08-09T12:06:35.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-09T12:06:35.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T12:06:35.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-09T12:06:35.682Z] ========================================================= [2022-08-09T12:06:35.682Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-09T12:06:35.682Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:06:36.190Z] + 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-09T12:06:36.190Z] Sending build context to Docker daemon 204.8kB [2022-08-09T12:06:36.464Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T12:06:36.464Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-09T12:06:36.738Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-09T12:06:36.738Z] b3c136eddcbf: Pulling fs layer [2022-08-09T12:06:36.738Z] c0a3192eca97: Pulling fs layer [2022-08-09T12:06:36.738Z] a050256f5b6f: Pulling fs layer [2022-08-09T12:06:36.738Z] 656be50a0ddc: Pulling fs layer [2022-08-09T12:06:36.738Z] 2bbca73fdf42: Pulling fs layer [2022-08-09T12:06:36.738Z] 46d945488cbd: Pulling fs layer [2022-08-09T12:06:36.738Z] 8a5474983e97: Pulling fs layer [2022-08-09T12:06:36.738Z] 329c88fbcd65: Pulling fs layer [2022-08-09T12:06:36.738Z] 46d945488cbd: Waiting [2022-08-09T12:06:36.738Z] 8a5474983e97: Waiting [2022-08-09T12:06:36.738Z] 329c88fbcd65: Waiting [2022-08-09T12:06:36.738Z] 656be50a0ddc: Waiting [2022-08-09T12:06:36.738Z] 2bbca73fdf42: Waiting [2022-08-09T12:06:36.738Z] a050256f5b6f: Download complete [2022-08-09T12:06:36.738Z] c0a3192eca97: Verifying Checksum [2022-08-09T12:06:36.738Z] c0a3192eca97: Download complete [2022-08-09T12:06:36.738Z] 2bbca73fdf42: Download complete [2022-08-09T12:06:36.738Z] 46d945488cbd: Verifying Checksum [2022-08-09T12:06:36.738Z] 46d945488cbd: Download complete [2022-08-09T12:06:36.738Z] b3c136eddcbf: Download complete [2022-08-09T12:06:37.724Z] b3c136eddcbf: Pull complete [2022-08-09T12:06:37.724Z] 329c88fbcd65: Verifying Checksum [2022-08-09T12:06:37.724Z] 329c88fbcd65: Download complete [2022-08-09T12:06:38.334Z] c0a3192eca97: Pull complete [2022-08-09T12:06:38.610Z] a050256f5b6f: Pull complete [2022-08-09T12:06:38.883Z] 8a5474983e97: Verifying Checksum [2022-08-09T12:06:38.883Z] 8a5474983e97: Download complete [2022-08-09T12:06:39.478Z] 656be50a0ddc: Verifying Checksum [2022-08-09T12:06:39.478Z] 656be50a0ddc: Download complete [2022-08-09T12:06:51.899Z] 656be50a0ddc: Pull complete [2022-08-09T12:06:51.899Z] 2bbca73fdf42: Pull complete [2022-08-09T12:06:52.172Z] 46d945488cbd: Pull complete [2022-08-09T12:06:58.905Z] 8a5474983e97: Pull complete [2022-08-09T12:07:00.905Z] 329c88fbcd65: Pull complete [2022-08-09T12:07:00.905Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-09T12:07:00.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-09T12:07:00.905Z] ---> ff4287adb874 [2022-08-09T12:07:00.905Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-09T12:07:01.516Z] ---> Running in f62324313c2c [2022-08-09T12:07:01.800Z] Removing intermediate container f62324313c2c [2022-08-09T12:07:01.800Z] ---> 1d6c1cb4bf21 [2022-08-09T12:07:01.800Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T12:07:02.087Z] ---> Running in e70533720601 [2022-08-09T12:07:02.360Z] Removing intermediate container e70533720601 [2022-08-09T12:07:02.360Z] ---> 6c257a8ef538 [2022-08-09T12:07:02.360Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-09T12:07:02.360Z] ---> Running in 5d063c9a20d4 [2022-08-09T12:07:02.637Z] Removing intermediate container 5d063c9a20d4 [2022-08-09T12:07:02.637Z] ---> 9a63556153b0 [2022-08-09T12:07:02.637Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T12:07:02.914Z] ---> Running in 764d9e6a813b [2022-08-09T12:07:05.571Z] Removing intermediate container 764d9e6a813b [2022-08-09T12:07:05.571Z] ---> b048759c3296 [2022-08-09T12:07:05.571Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T12:07:05.571Z] ---> Running in 9ccdcf842273 [2022-08-09T12:07:06.171Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T12:07:07.168Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T12:07:08.166Z] OK: 221 MiB in 51 packages [2022-08-09T12:07:08.768Z] Removing intermediate container 9ccdcf842273 [2022-08-09T12:07:08.768Z] ---> 372792a65aab [2022-08-09T12:07:08.768Z] Step 8/13 : WORKDIR /app [2022-08-09T12:07:09.055Z] ---> Running in 1501eba3b91c [2022-08-09T12:07:09.334Z] Removing intermediate container 1501eba3b91c [2022-08-09T12:07:09.334Z] ---> 547e8f4f966b [2022-08-09T12:07:09.334Z] Step 9/13 : COPY go.mod vendor* ./ [2022-08-09T12:07:09.938Z] ---> 642d41485cc5 [2022-08-09T12:07:09.938Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T12:07:09.938Z] ---> Running in e6966d4c0b5d [2022-08-09T12:07:56.913Z] Removing intermediate container e6966d4c0b5d [2022-08-09T12:07:56.913Z] ---> 053158d96e65 [2022-08-09T12:07:56.913Z] Step 11/13 : COPY . . [2022-08-09T12:07:56.913Z] ---> fedbe38e047e [2022-08-09T12:07:56.913Z] Step 12/13 : ARG MAKE="make build" [2022-08-09T12:07:57.185Z] ---> Running in 8b67d0a65acc [2022-08-09T12:07:57.459Z] Removing intermediate container 8b67d0a65acc [2022-08-09T12:07:57.459Z] ---> 163080c1c875 [2022-08-09T12:07:57.459Z] Step 13/13 : RUN $MAKE [2022-08-09T12:07:57.459Z] ---> Running in e4a72c66f9e3 [2022-08-09T12:07:58.433Z] noop [2022-08-09T12:07:59.031Z] Removing intermediate container e4a72c66f9e3 [2022-08-09T12:07:59.031Z] ---> f24b2c204e74 [2022-08-09T12:07:59.031Z] Successfully built f24b2c204e74 [2022-08-09T12:07:59.031Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:07:59.509Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T12:07:59.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T12:07:59.807Z] prd-ubuntu20.04-docker-arm64-4c-16g-22214 does not seem to be running inside a container [2022-08-09T12:07:59.890Z] $ 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 ******** ci-base-image-arm64 cat [2022-08-09T12:08:01.109Z] $ docker top 931338279c8f4ffd0ceb24886a23afa05468b06c4d08a3f77f0c3fed5c58fc76 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T12:08:02.045Z] + go version [2022-08-09T12:08:02.045Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-09T12:08:02.080Z] $ docker stop --time=1 931338279c8f4ffd0ceb24886a23afa05468b06c4d08a3f77f0c3fed5c58fc76 [2022-08-09T12:08:03.712Z] $ docker rm -f 931338279c8f4ffd0ceb24886a23afa05468b06c4d08a3f77f0c3fed5c58fc76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:08:04.642Z] + docker inspect -f . ci-base-image-arm64 [2022-08-09T12:08:04.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T12:08:04.950Z] prd-ubuntu20.04-docker-arm64-4c-16g-22214 does not seem to be running inside a container [2022-08-09T12:08:05.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** ci-base-image-arm64 cat [2022-08-09T12:08:06.232Z] $ docker top c8e895969c4b370d4f21f076755351f76ba1fc7c86f8f35ad118bcca1d3287ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T12:08:07.162Z] + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh [2022-08-09T12:08:07.879Z] + make test [2022-08-09T12:08:07.879Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-08-09T12:09:29.863Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-08-09T12:09:29.863Z] CGO_ENABLED=1 go vet ./... [2022-08-09T12:09:42.300Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-09T12:09:42.300Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-09T12:09:42.300Z] ./bin/test-attribution-txt.sh [2022-08-09T12:09:42.300Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-09T12:09:42.300Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-09T12:09:42.300Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-09T12:09:42.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-09T12:09:42.375Z] $ docker stop --time=1 c8e895969c4b370d4f21f076755351f76ba1fc7c86f8f35ad118bcca1d3287ca [2022-08-09T12:09:44.084Z] $ docker rm -f c8e895969c4b370d4f21f076755351f76ba1fc7c86f8f35ad118bcca1d3287ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-09T12:09:45.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-09T12:09:45.092Z] Warning: overwriting stash ‘coverage-report’ [2022-08-09T12:09:45.534Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-09T12:09:46.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-09T12:09:46.501Z] + ls -al . [2022-08-09T12:09:46.501Z] total 168 [2022-08-09T12:09:46.501Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 9 12:08 . [2022-08-09T12:09:46.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 12:06 .. [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 119 Aug 9 12:06 .dockerignore [2022-08-09T12:09:46.501Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 12:06 .git [2022-08-09T12:09:46.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 12:06 .github [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 171 Aug 9 12:06 .gitignore [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 8830 Aug 9 12:06 Attribution.txt [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 27269 Aug 9 12:06 CHANGELOG.md [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 2089 Aug 9 12:06 Dockerfile [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 12:06 GOVERNANCE.md [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 688 Aug 9 12:06 Jenkinsfile [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 9 12:06 LICENSE [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 9 12:06 OWNERS.md [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 3718 Aug 9 12:06 README.md [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 12:04 VERSION [2022-08-09T12:09:46.501Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 12:06 bin [2022-08-09T12:09:46.501Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 9 12:08 coverage.out [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 3475 Aug 9 12:06 go.mod [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 36887 Aug 9 12:06 go.sum [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 1949 Aug 9 12:06 main.go [2022-08-09T12:09:46.501Z] -rw-rw-r-- 1 jenkins jenkins 1959 Aug 9 12:06 makefile [2022-08-09T12:09:46.501Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 12:06 res [2022-08-09T12:09:46.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 12:06 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:09:46.935Z] + 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=eb1433f24c03507f0d574ecbf532ce364082b54b --label arch=arm64 --label version=0.0.0 . [2022-08-09T12:09:46.935Z] Sending build context to Docker daemon 205.8kB [2022-08-09T12:09:47.209Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-09T12:09:47.209Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-09T12:09:47.209Z] ---> f24b2c204e74 [2022-08-09T12:09:47.209Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-09T12:09:47.209Z] ---> Running in 4e49bdbec694 [2022-08-09T12:09:47.485Z] Removing intermediate container 4e49bdbec694 [2022-08-09T12:09:47.485Z] ---> fb041eced364 [2022-08-09T12:09:47.485Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-09T12:09:47.763Z] ---> Running in e44a8f110491 [2022-08-09T12:09:48.035Z] Removing intermediate container e44a8f110491 [2022-08-09T12:09:48.035Z] ---> d588854ff250 [2022-08-09T12:09:48.035Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-09T12:09:48.035Z] ---> Running in 3ebaea469201 [2022-08-09T12:09:48.307Z] Removing intermediate container 3ebaea469201 [2022-08-09T12:09:48.307Z] ---> 10c8b67cd1a3 [2022-08-09T12:09:48.307Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-09T12:09:48.307Z] ---> Running in b5398f6d7dc2 [2022-08-09T12:09:49.753Z] Removing intermediate container b5398f6d7dc2 [2022-08-09T12:09:49.753Z] ---> d4b762125ee4 [2022-08-09T12:09:49.753Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-09T12:09:50.042Z] ---> Running in ffb4b47d11d3 [2022-08-09T12:09:50.862Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T12:09:51.844Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T12:09:52.853Z] OK: 221 MiB in 51 packages [2022-08-09T12:09:53.543Z] Removing intermediate container ffb4b47d11d3 [2022-08-09T12:09:53.543Z] ---> 8620b4e5eb11 [2022-08-09T12:09:53.543Z] Step 8/27 : WORKDIR /app [2022-08-09T12:09:53.544Z] ---> Running in 1d43d0105086 [2022-08-09T12:09:53.823Z] Removing intermediate container 1d43d0105086 [2022-08-09T12:09:53.823Z] ---> 7f2187dd8eac [2022-08-09T12:09:53.823Z] Step 9/27 : COPY go.mod vendor* ./ [2022-08-09T12:09:54.431Z] ---> 25a8403540a5 [2022-08-09T12:09:54.431Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-09T12:09:54.719Z] ---> Running in bccc2691b072 [2022-08-09T12:09:56.719Z] Removing intermediate container bccc2691b072 [2022-08-09T12:09:56.719Z] ---> c5555a8f9a76 [2022-08-09T12:09:56.719Z] Step 11/27 : COPY . . [2022-08-09T12:09:56.996Z] ---> 8e84a62f4f35 [2022-08-09T12:09:56.996Z] Step 12/27 : ARG MAKE="make build" [2022-08-09T12:09:57.271Z] ---> Running in 0547e6dfa853 [2022-08-09T12:09:57.549Z] Removing intermediate container 0547e6dfa853 [2022-08-09T12:09:57.550Z] ---> f959f604b963 [2022-08-09T12:09:57.550Z] Step 13/27 : RUN $MAKE [2022-08-09T12:09:57.550Z] ---> Running in 66d28ff21ae7 [2022-08-09T12:09:58.541Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.29 -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-09T12:12:05.488Z] Removing intermediate container 66d28ff21ae7 [2022-08-09T12:12:05.488Z] ---> 37c9b9bda4ec [2022-08-09T12:12:05.488Z] Step 14/27 : FROM alpine:3.16 [2022-08-09T12:12:05.488Z] 3.16: Pulling from library/alpine [2022-08-09T12:12:05.488Z] f97344484467: Pulling fs layer [2022-08-09T12:12:05.488Z] f97344484467: Download complete [2022-08-09T12:12:05.488Z] f97344484467: Pull complete [2022-08-09T12:12:05.488Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-09T12:12:05.488Z] Status: Downloaded newer image for alpine:3.16 [2022-08-09T12:12:05.488Z] ---> 3d81c46cd875 [2022-08-09T12:12:05.488Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-09T12:12:05.488Z] ---> Running in d90de26bd62e [2022-08-09T12:12:05.488Z] Removing intermediate container d90de26bd62e [2022-08-09T12:12:05.488Z] ---> d0adee7f59af [2022-08-09T12:12:05.488Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-08-09T12:12:05.488Z] ---> Running in 6e4485a2eb53 [2022-08-09T12:12:05.488Z] Removing intermediate container 6e4485a2eb53 [2022-08-09T12:12:05.488Z] ---> 2f3ab71dd84e [2022-08-09T12:12:05.488Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-08-09T12:12:05.488Z] ---> Running in 58e7a5cb1eba [2022-08-09T12:12:05.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-09T12:12:05.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-09T12:12:05.488Z] (1/7) Installing ca-certificates (20220614-r0) [2022-08-09T12:12:05.488Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-08-09T12:12:05.488Z] (3/7) Installing libgcc (11.2.1_git20220219-r2) [2022-08-09T12:12:05.488Z] (4/7) Installing libsodium (1.0.18-r0) [2022-08-09T12:12:05.488Z] (5/7) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-09T12:12:05.488Z] (6/7) Installing libzmq (4.3.4-r0) [2022-08-09T12:12:05.488Z] (7/7) Installing zeromq (4.3.4-r0) [2022-08-09T12:12:05.488Z] Executing busybox-1.35.0-r15.trigger [2022-08-09T12:12:05.488Z] Executing ca-certificates-20220614-r0.trigger [2022-08-09T12:12:05.488Z] OK: 9 MiB in 21 packages [2022-08-09T12:12:05.488Z] Removing intermediate container 58e7a5cb1eba [2022-08-09T12:12:05.488Z] ---> dd6949dff2bd [2022-08-09T12:12:05.488Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-08-09T12:12:05.488Z] ---> 66bd7caa0810 [2022-08-09T12:12:05.488Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-08-09T12:12:05.488Z] ---> aeba86d4173c [2022-08-09T12:12:05.488Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-08-09T12:12:05.488Z] ---> a84c6c5b44c7 [2022-08-09T12:12:05.488Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-08-09T12:12:06.472Z] ---> 7861550d0210 [2022-08-09T12:12:06.472Z] Step 22/27 : EXPOSE 48095 [2022-08-09T12:12:06.744Z] ---> Running in 4fc4f791ff3b [2022-08-09T12:12:07.017Z] Removing intermediate container 4fc4f791ff3b [2022-08-09T12:12:07.017Z] ---> be1fed49d669 [2022-08-09T12:12:07.017Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-08-09T12:12:07.017Z] ---> Running in d1fe21823b63 [2022-08-09T12:12:07.290Z] Removing intermediate container d1fe21823b63 [2022-08-09T12:12:07.290Z] ---> 262e070ce666 [2022-08-09T12:12:07.290Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-09T12:12:07.290Z] ---> Running in 77b9c2acfff1 [2022-08-09T12:12:07.571Z] Removing intermediate container 77b9c2acfff1 [2022-08-09T12:12:07.571Z] ---> bf7284ef7c19 [2022-08-09T12:12:07.571Z] Step 25/27 : LABEL arch=arm64 [2022-08-09T12:12:07.843Z] ---> Running in f0710ff34943 [2022-08-09T12:12:08.116Z] Removing intermediate container f0710ff34943 [2022-08-09T12:12:08.116Z] ---> 82fa6ddb081e [2022-08-09T12:12:08.116Z] Step 26/27 : LABEL git_sha=eb1433f24c03507f0d574ecbf532ce364082b54b [2022-08-09T12:12:08.116Z] ---> Running in 84f9d1392720 [2022-08-09T12:12:08.391Z] Removing intermediate container 84f9d1392720 [2022-08-09T12:12:08.391Z] ---> b07f0318810d [2022-08-09T12:12:08.391Z] Step 27/27 : LABEL version=0.0.0 [2022-08-09T12:12:08.391Z] ---> Running in 07e41fadd42b [2022-08-09T12:12:08.986Z] Removing intermediate container 07e41fadd42b [2022-08-09T12:12:08.986Z] ---> 1c1bf467a228 [2022-08-09T12:12:08.986Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-09T12:12:08.986Z] Successfully built 1c1bf467a228 [2022-08-09T12:12:08.986Z] 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-09T12:12:09.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T12:12:09.812Z] [2022-08-09T12:12:09.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:12:10.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T12:12:10.500Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-09T12:12:10.500Z] 8998bd30e6a1: Pulling fs layer [2022-08-09T12:12:10.500Z] 04944245beec: Pulling fs layer [2022-08-09T12:12:10.500Z] 699f458cf7ca: Pulling fs layer [2022-08-09T12:12:10.500Z] 765212b225bb: Pulling fs layer [2022-08-09T12:12:10.500Z] f23df028b6ca: Pulling fs layer [2022-08-09T12:12:10.500Z] d65c8cfc05b1: Pulling fs layer [2022-08-09T12:12:10.500Z] 2437ff75d9bd: Pulling fs layer [2022-08-09T12:12:10.500Z] f23df028b6ca: Waiting [2022-08-09T12:12:10.500Z] 765212b225bb: Waiting [2022-08-09T12:12:10.500Z] d65c8cfc05b1: Waiting [2022-08-09T12:12:10.500Z] 2437ff75d9bd: Waiting [2022-08-09T12:12:10.500Z] 04944245beec: Verifying Checksum [2022-08-09T12:12:10.500Z] 04944245beec: Download complete [2022-08-09T12:12:10.500Z] 765212b225bb: Verifying Checksum [2022-08-09T12:12:10.500Z] 765212b225bb: Download complete [2022-08-09T12:12:10.500Z] f23df028b6ca: Verifying Checksum [2022-08-09T12:12:10.500Z] f23df028b6ca: Download complete [2022-08-09T12:12:10.500Z] d65c8cfc05b1: Verifying Checksum [2022-08-09T12:12:10.500Z] d65c8cfc05b1: Download complete [2022-08-09T12:12:10.779Z] 699f458cf7ca: Verifying Checksum [2022-08-09T12:12:10.780Z] 699f458cf7ca: Download complete [2022-08-09T12:12:11.062Z] 8998bd30e6a1: Verifying Checksum [2022-08-09T12:12:11.062Z] 8998bd30e6a1: Download complete [2022-08-09T12:12:13.047Z] 2437ff75d9bd: Verifying Checksum [2022-08-09T12:12:13.047Z] 2437ff75d9bd: Download complete [2022-08-09T12:12:15.676Z] 8998bd30e6a1: Pull complete [2022-08-09T12:12:15.952Z] 04944245beec: Pull complete [2022-08-09T12:12:17.391Z] 699f458cf7ca: Pull complete [2022-08-09T12:12:17.665Z] 765212b225bb: Pull complete [2022-08-09T12:12:18.264Z] f23df028b6ca: Pull complete [2022-08-09T12:12:18.539Z] d65c8cfc05b1: Pull complete [2022-08-09T12:12:33.640Z] 2437ff75d9bd: Pull complete [2022-08-09T12:12:33.640Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-09T12:12:33.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-09T12:12:33.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T12:12:34.026Z] prd-ubuntu20.04-docker-arm64-4c-16g-22214 does not seem to be running inside a container [2022-08-09T12:12:34.112Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-09T12:12:36.656Z] $ docker top 44959d4b15d9401267733a0ac0b0f3d8148e0fa515fb3263857f38a81e210926 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:12:37.654Z] ---> job-cost.sh [2022-08-09T12:12:37.654Z] lf-activate-venv: SKIPPING [2022-08-09T12:12:37.654Z] INFO: No Stack... [2022-08-09T12:12:38.251Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-09T12:12:38.849Z] INFO: Archiving Costs [Pipeline] sh [2022-08-09T12:12:39.532Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-08-09T12:12:39.533Z] + cut -d, -f6 [Pipeline] lock [2022-08-09T12:12:39.611Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-457-1-stack-cost] [2022-08-09T12:12:39.616Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-457-1-stack-cost] did not exist. Created. [2022-08-09T12:12:39.616Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-09T12:12:40.374Z] /w/workspace/app-service-configurable/1@tmp/durable-5fffefe4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-09T12:12:41.079Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-09T12:12:41.115Z] Warning: overwriting stash ‘stack-cost’ [2022-08-09T12:12:41.160Z] Stashed 1 file(s) [Pipeline] } [2022-08-09T12:12:41.175Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-09T12:12:41.256Z] $ docker stop --time=1 44959d4b15d9401267733a0ac0b0f3d8148e0fa515fb3263857f38a81e210926 [2022-08-09T12:12:42.764Z] $ docker rm -f 44959d4b15d9401267733a0ac0b0f3d8148e0fa515fb3263857f38a81e210926 [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-09T12:12:43.797Z] provisioning config files... [2022-08-09T12:12:43.809Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-457@tmp/config5617657117473135695tmp [Pipeline] { [Pipeline] sh [2022-08-09T12:12:44.153Z] + set +x [2022-08-09T12:12:44.153Z] + curl -s https://codecov.io/bash [2022-08-09T12:12:44.153Z] + bash -s -- [2022-08-09T12:12:44.153Z] [2022-08-09T12:12:44.153Z] _____ _ [2022-08-09T12:12:44.153Z] / ____| | | [2022-08-09T12:12:44.153Z] | | ___ __| | ___ ___ _____ __ [2022-08-09T12:12:44.153Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-09T12:12:44.153Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-09T12:12:44.153Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-09T12:12:44.153Z] Bash-1.0.6 [2022-08-09T12:12:44.153Z] [2022-08-09T12:12:44.153Z] [2022-08-09T12:12:44.153Z] ==> git version 2.25.1 found [2022-08-09T12:12:44.153Z] ==> 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-09T12:12:44.153Z] Release-Date: 2020-01-08 [2022-08-09T12:12:44.153Z] 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-09T12:12:44.153Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-09T12:12:44.153Z] ==> Jenkins CI detected. [2022-08-09T12:12:44.153Z] current dir:  /w/workspace/_app-service-configurable_PR-457 [2022-08-09T12:12:44.153Z] project root: . [2022-08-09T12:12:44.153Z] --> token set from env [2022-08-09T12:12:44.153Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-09T12:12:44.153Z] ==> Running gcov in . (disable via -X gcov) [2022-08-09T12:12:44.153Z] ==> Python coveragepy not found [2022-08-09T12:12:44.153Z] ==> Searching for coverage reports in: [2022-08-09T12:12:44.153Z] + . [2022-08-09T12:12:44.153Z] -> Found 1 reports [2022-08-09T12:12:44.153Z] ==> Detecting git/mercurial file structure [2022-08-09T12:12:44.153Z] ==> Reading reports [2022-08-09T12:12:44.153Z] + ./coverage.out bytes=10 [2022-08-09T12:12:44.153Z] ==> Appending adjustments [2022-08-09T12:12:44.153Z] https://docs.codecov.io/docs/fixing-reports [2022-08-09T12:12:44.413Z] + Found adjustments [2022-08-09T12:12:44.413Z] ==> Gzipping contents [2022-08-09T12:12:44.413Z] 4.0K /tmp/codecov.FCP6sL.gz [2022-08-09T12:12:44.413Z] ==> Uploading reports [2022-08-09T12:12:44.413Z] url: https://codecov.io [2022-08-09T12:12:44.413Z] query: branch=PR-457&commit=eb1433f24c03507f0d574ecbf532ce364082b54b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-457%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=457&job=&cmd_args= [2022-08-09T12:12:44.413Z] -> Pinging Codecov [2022-08-09T12:12:44.413Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-457&commit=eb1433f24c03507f0d574ecbf532ce364082b54b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-457%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=457&job=&cmd_args= [2022-08-09T12:12:44.673Z] -> Uploading to [2022-08-09T12:12:44.673Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-09/A97CA9966030D2A3747ED39772930CCE/eb1433f24c03507f0d574ecbf532ce364082b54b/3a573eda-5e2e-4f56-b0da-51245f338bd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220809T121244Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=adb731aeaa5aa255e0f4fa576276daf55e920cce9c39d500f1e33a8339f1306c [2022-08-09T12:12:44.673Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-09T12:12:44.673Z] Dload Upload Total Spent Left Speed [2022-08-09T12:12:44.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 525 0 0 100 525 0 2116 --:--:-- --:--:-- --:--:-- 2125 [2022-08-09T12:12:44.934Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/eb1433f24c03507f0d574ecbf532ce364082b54b [Pipeline] } [2022-08-09T12:12:44.960Z] 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-09T12:12:46.679Z] + [ -d /w/workspace/_app-service-configurable_PR-457/archives ] [2022-08-09T12:12:46.680Z] + ls -al /w/workspace/_app-service-configurable_PR-457/archives [2022-08-09T12:12:46.680Z] total 16 [2022-08-09T12:12:46.680Z] drwxr-xr-x 3 root root 4096 Aug 9 12:05 . [2022-08-09T12:12:46.680Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 12:05 .. [2022-08-09T12:12:46.680Z] drwxr-xr-x 2 root root 4096 Aug 9 12:05 cost [2022-08-09T12:12:46.680Z] -rw-r--r-- 1 root root 96 Aug 9 12:05 cost.csv [2022-08-09T12:12:46.680Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-457/archives [2022-08-09T12:12:46.680Z] + ls -al /w/workspace/_app-service-configurable_PR-457/archives [2022-08-09T12:12:46.680Z] total 16 [2022-08-09T12:12:46.680Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 12:05 . [2022-08-09T12:12:46.680Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 12:05 .. [2022-08-09T12:12:46.680Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 12:05 cost [2022-08-09T12:12:46.680Z] -rw-r--r-- 1 jenkins jenkins 96 Aug 9 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:12:47.003Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:12:47.893Z] ---> package-listing.sh [2022-08-09T12:12:47.893Z] ++ facter osfamily [2022-08-09T12:12:47.893Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-09T12:12:48.154Z] + OS_FAMILY=debian [2022-08-09T12:12:48.154Z] + workspace=/w/workspace/_app-service-configurable_PR-457 [2022-08-09T12:12:48.154Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-09T12:12:48.154Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-09T12:12:48.154Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-09T12:12:48.154Z] + PACKAGES=/tmp/packages_start.txt [2022-08-09T12:12:48.154Z] + '[' /w/workspace/_app-service-configurable_PR-457 ']' [2022-08-09T12:12:48.154Z] + PACKAGES=/tmp/packages_end.txt [2022-08-09T12:12:48.154Z] + case "${OS_FAMILY}" in [2022-08-09T12:12:48.154Z] + dpkg -l [2022-08-09T12:12:48.154Z] + grep '^ii' [2022-08-09T12:12:48.154Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-09T12:12:48.154Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-09T12:12:48.154Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-09T12:12:48.154Z] + '[' /w/workspace/_app-service-configurable_PR-457 ']' [2022-08-09T12:12:48.154Z] + mkdir -p /w/workspace/_app-service-configurable_PR-457/archives/ [2022-08-09T12:12:48.154Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-457/archives/ [Pipeline] echo [2022-08-09T12:12:48.186Z] 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-457/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-09T12:12:48.484Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-09T12:12:49.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-09T12:12:49.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-09T12:12:49.269Z] prd-ubuntu20.04-docker-8c-8g-22212 does not seem to be running inside a container [2022-08-09T12:12:49.304Z] $ 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-457/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-457 -v /w/workspace/_app-service-configurable_PR-457:/w/workspace/_app-service-configurable_PR-457:rw,z -v /w/workspace/_app-service-configurable_PR-457@tmp:/w/workspace/_app-service-configurable_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-09T12:12:49.499Z] $ docker top e481d6aa8af81cacc68d59752fc7add2fc40562451e9fd1075a8ca6731a0db55 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-09T12:12:49.893Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-09T12:12:50.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-09T12:12:50.526Z] + ls /var/log/sa-host [2022-08-09T12:12:50.526Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-09T12:12:50.745Z] provisioning config files... [2022-08-09T12:12:50.756Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-457@tmp/config1480556443583435034tmp [Pipeline] { [Pipeline] echo [2022-08-09T12:12:50.806Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:12:51.123Z] ---> create-netrc.sh [Pipeline] } [2022-08-09T12:12:51.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:12:51.559Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-09T12:12:51.590Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:12:51.901Z] ---> sudo-logs.sh [2022-08-09T12:12:51.902Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-09T12:12:51.990Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:12:52.304Z] ---> job-cost.sh [2022-08-09T12:12:52.304Z] lf-activate-venv: SKIPPING [2022-08-09T12:12:52.304Z] DEBUG: total: 0.2199999988079071 [2022-08-09T12:12:52.304Z] INFO: Retrieving Stack Cost... [2022-08-09T12:12:52.565Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-09T12:12:53.139Z] INFO: Archiving Costs [Pipeline] echo [2022-08-09T12:12:53.170Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-09T12:12:53.490Z] ---> logs-deploy.sh [2022-08-09T12:12:53.490Z] lf-activate-venv: SKIPPING [2022-08-09T12:12:53.490Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-457/1 [2022-08-09T12:12:53.490Z] INFO: archiving workspace using pattern(s): [2022-08-09T12:12:54.436Z] Archives upload complete. [2022-08-09T12:12:54.699Z] INFO: archiving logs to Nexus