Pull request #398 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dcfedea6795a1a0014dd0e75b37fbe629c32554f+323c9d7b071dcad20db500b9107a4775ac8effe6 (0c31f9303181f4bd4e0f3cb43dc352b49caa4c9e) 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-ssh1471815559546398147.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3616561370452964887.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-398/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-398/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11554812369938068395.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-398/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4661866973269653906.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh45781652354828155.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-398/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-398/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17194383127399217491.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20940 in /w/workspace/_app-service-configurable_PR-398 [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-398 # 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 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit dcfedea6795a1a0014dd0e75b37fbe629c32554f Merge succeeded, producing dcfedea6795a1a0014dd0e75b37fbe629c32554f Checking out Revision dcfedea6795a1a0014dd0e75b37fbe629c32554f (PR-398) > 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/398/head:refs/remotes/origin/PR-398 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dcfedea6795a1a0014dd0e75b37fbe629c32554f # 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 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dcfedea6795a1a0014dd0e75b37fbe629c32554f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-14T12:03:55.250Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-14T12:03:55.443Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-14T12:03:55.534Z] ========================================================= [2022-04-14T12:03:55.534Z] EdgeX Global Pipelines Version Info [2022-04-14T12:03:55.534Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:03:56.341Z] ------------------- [2022-04-14T12:03:56.342Z] stable info: [2022-04-14T12:03:56.342Z] ------------------- [2022-04-14T12:03:56.342Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-14T12:03:56.342Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-14T12:03:56.342Z] Message: update stable to v1.0.221 [2022-04-14T12:03:56.914Z] ------------------- [2022-04-14T12:03:56.915Z] experimental info: [2022-04-14T12:03:56.915Z] ------------------- [2022-04-14T12:03:56.915Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-14T12:03:56.915Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-14T12:03:56.915Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-14T12:03:57.174Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-04-14T12:03:57.217Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-04-14T12:03:57.258Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-14T12:03:57.304Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-14T12:03:57.350Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-14T12:03:57.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-14T12:03:57.429Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-14T12:03:57.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-14T12:03:57.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-14T12:03:57.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-14T12:03:57.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-14T12:03:57.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-04-14T12:03:57.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-14T12:03:57.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-14T12:03:57.771Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-14T12:03:57.815Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-14T12:03:57.853Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-14T12:03:57.901Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-14T12:03:57.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-14T12:03:58.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-14T12:03:58.063Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-14T12:03:58.099Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-14T12:03:58.135Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-14T12:03:58.172Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-14T12:03:58.209Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-14T12:03:58.246Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-14T12:03:58.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-398 [Pipeline] echo [2022-04-14T12:03:58.327Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-398 [Pipeline] echo [2022-04-14T12:03:58.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-398 [Pipeline] echo [2022-04-14T12:03:58.402Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dcfedea6795a1a0014dd0e75b37fbe629c32554f [Pipeline] echo [2022-04-14T12:03:58.445Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dcfedea [Pipeline] echo [2022-04-14T12:03:58.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-14T12:03:58.646Z] provisioning config files... [2022-04-14T12:03:58.675Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-398@tmp/config3608635789378309647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:03:59.106Z] ---> docker-login.sh [2022-04-14T12:03:59.106Z] nexus3.edgexfoundry.org:10001 [2022-04-14T12:03:59.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:03:59.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:03:59.368Z] Configure a credential helper to remove this warning. See [2022-04-14T12:03:59.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:03:59.368Z] [2022-04-14T12:03:59.368Z] Login Succeeded [2022-04-14T12:03:59.368Z] nexus3.edgexfoundry.org:10002 [2022-04-14T12:03:59.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:03:59.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:03:59.629Z] Configure a credential helper to remove this warning. See [2022-04-14T12:03:59.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:03:59.629Z] [2022-04-14T12:03:59.629Z] Login Succeeded [2022-04-14T12:03:59.629Z] nexus3.edgexfoundry.org:10003 [2022-04-14T12:03:59.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:03:59.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:03:59.629Z] Configure a credential helper to remove this warning. See [2022-04-14T12:03:59.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:03:59.629Z] [2022-04-14T12:03:59.629Z] Login Succeeded [2022-04-14T12:03:59.629Z] nexus3.edgexfoundry.org:10004 [2022-04-14T12:03:59.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:03:59.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:03:59.891Z] Configure a credential helper to remove this warning. See [2022-04-14T12:03:59.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:03:59.891Z] [2022-04-14T12:03:59.891Z] Login Succeeded [2022-04-14T12:03:59.891Z] docker.io [2022-04-14T12:03:59.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:04:01.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:04:01.807Z] Configure a credential helper to remove this warning. See [2022-04-14T12:04:01.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:04:01.807Z] [2022-04-14T12:04:01.807Z] Login Succeeded [2022-04-14T12:04:01.807Z] ---> docker-login.sh ends [Pipeline] } [2022-04-14T12:04:01.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-14T12:04:02.452Z] + git rev-list -1 --merges dcfedea6795a1a0014dd0e75b37fbe629c32554f~1..dcfedea6795a1a0014dd0e75b37fbe629c32554f [Pipeline] echo [2022-04-14T12:04:02.613Z] -----------> git rev-list -1 --merges dcfedea6795a1a0014dd0e75b37fbe629c32554f~1..dcfedea6795a1a0014dd0e75b37fbe629c32554f dcfedea6795a1a0014dd0e75b37fbe629c32554f [false] [Pipeline] sh [2022-04-14T12:04:02.924Z] + git log --format=format:%s -1 dcfedea6795a1a0014dd0e75b37fbe629c32554f [Pipeline] echo [2022-04-14T12:04:02.960Z] ========================================================= [2022-04-14T12:04:02.960Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-14T12:04:02.960Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-14T12:04:03.394Z] + git log --format=format:%s -1 dcfedea6795a1a0014dd0e75b37fbe629c32554f [Pipeline] echo [2022-04-14T12:04:03.427Z] [semverPrep] GIT_COMMIT: dcfedea6795a1a0014dd0e75b37fbe629c32554f, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-04-14T12:04:03.464Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-14T12:04:03.927Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-14T12:04:03.927Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-14T12:04:03.927Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-14T12:04:03.927Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-14T12:04:03.927Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-14T12:04:03.927Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-14T12:04:03.927Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:04:04.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-14T12:04:04.382Z] [2022-04-14T12:04:04.382Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:04:04.728Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-14T12:04:04.728Z] latest: Pulling from edgex-devops/git-semver [2022-04-14T12:04:04.728Z] a0d0a0d46f8b: Pulling fs layer [2022-04-14T12:04:04.728Z] 3e5f54012d9b: Pulling fs layer [2022-04-14T12:04:04.728Z] 4c7163046ea9: Pulling fs layer [2022-04-14T12:04:04.728Z] 0c2d73faf560: Pulling fs layer [2022-04-14T12:04:04.728Z] 0c2d73faf560: Waiting [2022-04-14T12:04:04.728Z] 3e5f54012d9b: Download complete [2022-04-14T12:04:04.728Z] a0d0a0d46f8b: Download complete [2022-04-14T12:04:04.728Z] 0c2d73faf560: Verifying Checksum [2022-04-14T12:04:04.728Z] 0c2d73faf560: Download complete [2022-04-14T12:04:04.728Z] 4c7163046ea9: Verifying Checksum [2022-04-14T12:04:04.728Z] 4c7163046ea9: Download complete [2022-04-14T12:04:04.991Z] a0d0a0d46f8b: Pull complete [2022-04-14T12:04:04.991Z] 3e5f54012d9b: Pull complete [2022-04-14T12:04:05.252Z] 4c7163046ea9: Pull complete [2022-04-14T12:04:05.512Z] 0c2d73faf560: Pull complete [2022-04-14T12:04:05.512Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-14T12:04:05.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-14T12:04:05.512Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-14T12:04:05.609Z] prd-ubuntu20.04-docker-8c-8g-20940 does not seem to be running inside a container [2022-04-14T12:04:05.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-398 -v /w/workspace/_app-service-configurable_PR-398:/w/workspace/_app-service-configurable_PR-398:rw,z -v /w/workspace/_app-service-configurable_PR-398@tmp:/w/workspace/_app-service-configurable_PR-398@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-14T12:04:06.350Z] $ docker top 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-14T12:04:06.523Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-14T12:04:06.523Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-14T12:04:06.663Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-14T12:04:06.681Z] $ docker exec 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 ssh-agent [2022-04-14T12:04:06.794Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFdbKdd/agent.14 [2022-04-14T12:04:06.794Z] SSH_AGENT_PID=21 [2022-04-14T12:04:06.804Z] Running ssh-add (command line suppressed) [2022-04-14T12:04:06.932Z] Identity added: /w/workspace/_app-service-configurable_PR-398@tmp/private_key_2752081624864312051.key (/w/workspace/_app-service-configurable_PR-398@tmp/private_key_2752081624864312051.key) [2022-04-14T12:04:06.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-14T12:04:07.268Z] + git tag --points-at HEAD [Pipeline] } [2022-04-14T12:04:07.305Z] $ docker exec --env ******** --env ******** 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 ssh-agent -k [2022-04-14T12:04:07.417Z] unset SSH_AUTH_SOCK; [2022-04-14T12:04:07.417Z] unset SSH_AGENT_PID; [2022-04-14T12:04:07.417Z] echo Agent pid 21 killed; [2022-04-14T12:04:07.414Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-14T12:04:07.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-14T12:04:07.503Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-14T12:04:07.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-14T12:04:07.649Z] $ docker exec 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 ssh-agent [2022-04-14T12:04:07.755Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCAKOlD/agent.54 [2022-04-14T12:04:07.755Z] SSH_AGENT_PID=60 [2022-04-14T12:04:07.763Z] Running ssh-add (command line suppressed) [2022-04-14T12:04:07.897Z] Identity added: /w/workspace/_app-service-configurable_PR-398@tmp/private_key_2043129688872840401.key (/w/workspace/_app-service-configurable_PR-398@tmp/private_key_2043129688872840401.key) [2022-04-14T12:04:07.899Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-14T12:04:08.235Z] + git semver init [2022-04-14T12:04:08.235Z] # -> Open(): unable to determine branch for HEAD [2022-04-14T12:04:08.235Z] # $GIT_DIR = /w/workspace/_app-service-configurable_PR-398/.git [2022-04-14T12:04:08.235Z] # $GIT_WORK_TREE = /w/workspace/_app-service-configurable_PR-398 [2022-04-14T12:04:08.235Z] # $SEMVER_REMOTE_NAME = origin [2022-04-14T12:04:08.235Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-14T12:04:08.235Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-14T12:04:08.235Z] # $SEMVER_BRANCH = PR-398 [2022-04-14T12:04:08.235Z] # $SEMVER_TEMP = /tmp/semver-464951046 [2022-04-14T12:04:08.235Z] # git clone --branch semver git@github.com:edgexfoundry/app-service-configurable.git $SEMVER_TEMP [2022-04-14T12:04:09.178Z] # '/tmp/semver-464951046' -> '/w/workspace/_app-service-configurable_PR-398/.semver' [2022-04-14T12:04:09.178Z] # -> Force: false [2022-04-14T12:04:09.178Z] # $SEMVER_DIR = /w/workspace/_app-service-configurable_PR-398/.semver [Pipeline] } [2022-04-14T12:04:09.216Z] $ docker exec --env ******** --env ******** 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 ssh-agent -k [2022-04-14T12:04:09.331Z] unset SSH_AUTH_SOCK; [2022-04-14T12:04:09.331Z] unset SSH_AGENT_PID; [2022-04-14T12:04:09.331Z] echo Agent pid 60 killed; [2022-04-14T12:04:09.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-14T12:04:09.753Z] + git semver [Pipeline] } [2022-04-14T12:04:09.793Z] $ docker stop --time=1 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 [2022-04-14T12:04:11.153Z] $ docker rm -f 4d11f34da8c44608abbfb34832cacebbaf43d6635a0018ca1045d575f464c101 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-14T12:04:11.573Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-14T12:04:11.889Z] Stashed 1 file(s) [Pipeline] echo [2022-04-14T12:04:11.907Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-14T12:04:12.485Z] provisioning config files... [2022-04-14T12:04:12.498Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-398@tmp/config6094199066502634858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:04:12.851Z] ---> docker-login.sh [2022-04-14T12:04:12.851Z] nexus3.edgexfoundry.org:10001 [2022-04-14T12:04:12.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:04:12.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:04:12.851Z] Configure a credential helper to remove this warning. See [2022-04-14T12:04:12.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:04:12.851Z] [2022-04-14T12:04:12.851Z] Login Succeeded [2022-04-14T12:04:12.851Z] nexus3.edgexfoundry.org:10002 [2022-04-14T12:04:12.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:04:13.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:04:13.112Z] Configure a credential helper to remove this warning. See [2022-04-14T12:04:13.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:04:13.112Z] [2022-04-14T12:04:13.112Z] Login Succeeded [2022-04-14T12:04:13.112Z] nexus3.edgexfoundry.org:10003 [2022-04-14T12:04:13.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:04:13.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:04:13.112Z] Configure a credential helper to remove this warning. See [2022-04-14T12:04:13.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:04:13.112Z] [2022-04-14T12:04:13.112Z] Login Succeeded [2022-04-14T12:04:13.112Z] nexus3.edgexfoundry.org:10004 [2022-04-14T12:04:13.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:04:13.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:04:13.376Z] Configure a credential helper to remove this warning. See [2022-04-14T12:04:13.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:04:13.376Z] [2022-04-14T12:04:13.376Z] Login Succeeded [2022-04-14T12:04:13.376Z] docker.io [2022-04-14T12:04:13.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:04:13.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:04:13.947Z] Configure a credential helper to remove this warning. See [2022-04-14T12:04:13.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:04:13.947Z] [2022-04-14T12:04:13.947Z] Login Succeeded [2022-04-14T12:04:13.947Z] ---> docker-login.sh ends [Pipeline] } [2022-04-14T12:04:13.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-14T12:04:14.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-14T12:04:14.200Z] ========================================================= [2022-04-14T12:04:14.200Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-14T12:04:14.200Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:04:14.598Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-14T12:04:14.598Z] Sending build context to Docker daemon 3.007MB [2022-04-14T12:04:14.598Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-14T12:04:14.598Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-14T12:04:14.598Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-14T12:04:14.598Z] 59bf1c3509f3: Pulling fs layer [2022-04-14T12:04:14.598Z] 666ba61612fd: Pulling fs layer [2022-04-14T12:04:14.598Z] 8ed8ca486205: Pulling fs layer [2022-04-14T12:04:14.598Z] 4fe6c5a15a65: Pulling fs layer [2022-04-14T12:04:14.598Z] 22a0e8bec74d: Pulling fs layer [2022-04-14T12:04:14.598Z] 640e595b4fbd: Pulling fs layer [2022-04-14T12:04:14.598Z] 763cafe07f6e: Pulling fs layer [2022-04-14T12:04:14.598Z] 0c0b528cf693: Pulling fs layer [2022-04-14T12:04:14.598Z] 10935f4eaf8b: Pulling fs layer [2022-04-14T12:04:14.598Z] 4fe6c5a15a65: Waiting [2022-04-14T12:04:14.598Z] 640e595b4fbd: Waiting [2022-04-14T12:04:14.598Z] 22a0e8bec74d: Waiting [2022-04-14T12:04:14.598Z] 10935f4eaf8b: Waiting [2022-04-14T12:04:14.598Z] 0c0b528cf693: Waiting [2022-04-14T12:04:14.598Z] 763cafe07f6e: Waiting [2022-04-14T12:04:14.598Z] 8ed8ca486205: Verifying Checksum [2022-04-14T12:04:14.598Z] 8ed8ca486205: Download complete [2022-04-14T12:04:14.598Z] 666ba61612fd: Download complete [2022-04-14T12:04:14.859Z] 22a0e8bec74d: Verifying Checksum [2022-04-14T12:04:14.859Z] 22a0e8bec74d: Download complete [2022-04-14T12:04:14.859Z] 59bf1c3509f3: Verifying Checksum [2022-04-14T12:04:14.859Z] 59bf1c3509f3: Download complete [2022-04-14T12:04:14.859Z] 763cafe07f6e: Verifying Checksum [2022-04-14T12:04:14.859Z] 763cafe07f6e: Download complete [2022-04-14T12:04:14.859Z] 640e595b4fbd: Verifying Checksum [2022-04-14T12:04:14.859Z] 640e595b4fbd: Download complete [2022-04-14T12:04:14.859Z] 0c0b528cf693: Verifying Checksum [2022-04-14T12:04:14.859Z] 0c0b528cf693: Download complete [2022-04-14T12:04:14.859Z] 59bf1c3509f3: Pull complete [2022-04-14T12:04:15.120Z] 666ba61612fd: Pull complete [2022-04-14T12:04:15.120Z] 8ed8ca486205: Pull complete [2022-04-14T12:04:15.387Z] 10935f4eaf8b: Verifying Checksum [2022-04-14T12:04:15.388Z] 10935f4eaf8b: Download complete [2022-04-14T12:04:15.388Z] 4fe6c5a15a65: Download complete [2022-04-14T12:04:19.611Z] 4fe6c5a15a65: Pull complete [2022-04-14T12:04:19.611Z] 22a0e8bec74d: Pull complete [2022-04-14T12:04:19.611Z] 640e595b4fbd: Pull complete [2022-04-14T12:04:19.611Z] 763cafe07f6e: Pull complete [2022-04-14T12:04:19.611Z] 0c0b528cf693: Pull complete [2022-04-14T12:04:21.526Z] 10935f4eaf8b: Pull complete [2022-04-14T12:04:21.526Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-14T12:04:21.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-14T12:04:21.526Z] ---> 99d49a6021b9 [2022-04-14T12:04:21.526Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-14T12:04:23.445Z] ---> Running in cc6970cb45ff [2022-04-14T12:04:23.445Z] Removing intermediate container cc6970cb45ff [2022-04-14T12:04:23.445Z] ---> f43e317016f6 [2022-04-14T12:04:23.445Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-14T12:04:23.445Z] ---> Running in cef660cf3905 [2022-04-14T12:04:23.445Z] Removing intermediate container cef660cf3905 [2022-04-14T12:04:23.445Z] ---> 5d267a17c482 [2022-04-14T12:04:23.445Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-14T12:04:23.445Z] ---> Running in f0f6aeb2ce8b [2022-04-14T12:04:23.445Z] Removing intermediate container f0f6aeb2ce8b [2022-04-14T12:04:23.445Z] ---> da7bf6d96af8 [2022-04-14T12:04:23.445Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-14T12:04:23.707Z] ---> Running in f52942d20f62 [2022-04-14T12:04:24.274Z] Removing intermediate container f52942d20f62 [2022-04-14T12:04:24.274Z] ---> 620f0efa9f6e [2022-04-14T12:04:24.274Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-14T12:04:24.274Z] ---> Running in 0ce82a896d71 [2022-04-14T12:04:24.534Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-14T12:04:27.299Z] Still waiting to schedule task [2022-04-14T12:04:27.299Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-14T12:04:27.831Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-14T12:04:28.092Z] OK: 221 MiB in 52 packages [2022-04-14T12:04:28.351Z] Removing intermediate container 0ce82a896d71 [2022-04-14T12:04:28.351Z] ---> f8009ba415db [2022-04-14T12:04:28.351Z] Step 8/13 : WORKDIR /app [2022-04-14T12:04:28.611Z] ---> Running in f866dab6b68f [2022-04-14T12:04:28.611Z] Removing intermediate container f866dab6b68f [2022-04-14T12:04:28.611Z] ---> 71354e112c56 [2022-04-14T12:04:28.611Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-14T12:04:28.611Z] ---> 359411c8ec42 [2022-04-14T12:04:28.611Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-14T12:04:28.873Z] ---> Running in b71c5bb8994a [2022-04-14T12:05:00.995Z] Removing intermediate container b71c5bb8994a [2022-04-14T12:05:00.995Z] ---> df302cf1de51 [2022-04-14T12:05:00.995Z] Step 11/13 : COPY . . [2022-04-14T12:05:00.995Z] ---> 3cc98620f04e [2022-04-14T12:05:00.995Z] Step 12/13 : ARG MAKE="make build" [2022-04-14T12:05:00.995Z] ---> Running in 85be5405da5a [2022-04-14T12:05:00.995Z] Removing intermediate container 85be5405da5a [2022-04-14T12:05:00.995Z] ---> e7df1f4faf8d [2022-04-14T12:05:00.995Z] Step 13/13 : RUN $MAKE [2022-04-14T12:05:00.995Z] ---> Running in 0e419eefa841 [2022-04-14T12:05:00.995Z] noop [2022-04-14T12:05:00.995Z] Removing intermediate container 0e419eefa841 [2022-04-14T12:05:00.995Z] ---> d4cc8548b774 [2022-04-14T12:05:00.995Z] Successfully built d4cc8548b774 [2022-04-14T12:05:00.995Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:05:01.333Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-14T12:05:01.333Z] . [Pipeline] withDockerContainer [2022-04-14T12:05:01.438Z] prd-ubuntu20.04-docker-8c-8g-20940 does not seem to be running inside a container [2022-04-14T12:05:01.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-398 -v /w/workspace/_app-service-configurable_PR-398:/w/workspace/_app-service-configurable_PR-398:rw,z -v /w/workspace/_app-service-configurable_PR-398@tmp:/w/workspace/_app-service-configurable_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-14T12:05:01.881Z] $ docker top f755c7f01edec3e5834c8f3f5985a5ef9e78f719e53f46e0ecf530b0eecd873b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-14T12:05:02.292Z] + go version [2022-04-14T12:05:02.293Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-14T12:05:02.330Z] $ docker stop --time=1 f755c7f01edec3e5834c8f3f5985a5ef9e78f719e53f46e0ecf530b0eecd873b [2022-04-14T12:05:03.627Z] $ docker rm -f f755c7f01edec3e5834c8f3f5985a5ef9e78f719e53f46e0ecf530b0eecd873b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:05:04.313Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-14T12:05:04.313Z] . [Pipeline] withDockerContainer [2022-04-14T12:05:04.415Z] prd-ubuntu20.04-docker-8c-8g-20940 does not seem to be running inside a container [2022-04-14T12:05:04.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-398 -v /w/workspace/_app-service-configurable_PR-398:/w/workspace/_app-service-configurable_PR-398:rw,z -v /w/workspace/_app-service-configurable_PR-398@tmp:/w/workspace/_app-service-configurable_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-14T12:05:04.826Z] $ docker top eb82b567bbffcab9b687b405a4f4a4c72ec5d68654c1b647a4046ef4f3c55190 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-14T12:05:05.279Z] + make test [2022-04-14T12:05:05.279Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-14T12:05:11.966Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-14T12:05:11.966Z] CGO_ENABLED=1 go vet ./... [2022-04-14T12:05:14.507Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-14T12:05:14.507Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-14T12:05:14.507Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-14T12:05:14.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-14T12:05:14.581Z] $ docker stop --time=1 eb82b567bbffcab9b687b405a4f4a4c72ec5d68654c1b647a4046ef4f3c55190 [2022-04-14T12:05:16.224Z] $ docker rm -f eb82b567bbffcab9b687b405a4f4a4c72ec5d68654c1b647a4046ef4f3c55190 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-14T12:05:16.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-14T12:05:16.722Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-14T12:05:18.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-14T12:05:18.328Z] + ls -al . [2022-04-14T12:05:18.328Z] total 176 [2022-04-14T12:05:18.328Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 12:05 . [2022-04-14T12:05:18.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 12:03 .. [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 14 12:03 .dockerignore [2022-04-14T12:05:18.328Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 12:03 .git [2022-04-14T12:05:18.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 12:03 .github [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 14 12:03 .gitignore [2022-04-14T12:05:18.328Z] drwx------ 3 jenkins jenkins 4096 Apr 14 12:04 .semver [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 7627 Apr 14 12:03 Attribution.txt [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 14 12:03 CHANGELOG.md [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 14 12:03 Dockerfile [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 14 12:03 GOVERNANCE.md [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 14 12:03 Jenkinsfile [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 14 12:03 LICENSE [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 14 12:03 OWNERS.md [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 14 12:03 README.md [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 12:04 VERSION [2022-04-14T12:05:18.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 12:03 bin [2022-04-14T12:05:18.328Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 14 12:05 coverage.out [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 2816 Apr 14 12:03 go.mod [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 50335 Apr 14 12:03 go.sum [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 14 12:03 main.go [2022-04-14T12:05:18.328Z] -rw-rw-r-- 1 jenkins jenkins 1994 Apr 14 12:03 makefile [2022-04-14T12:05:18.328Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 14 12:03 res [2022-04-14T12:05:18.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 12:03 snap [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:05:18.663Z] + 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=dcfedea6795a1a0014dd0e75b37fbe629c32554f --label arch=amd64 --label version=0.0.0 . [2022-04-14T12:05:18.663Z] Sending build context to Docker daemon 3.008MB [2022-04-14T12:05:18.663Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-14T12:05:18.663Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-14T12:05:18.663Z] ---> d4cc8548b774 [2022-04-14T12:05:18.663Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-14T12:05:18.663Z] ---> Running in c210c92810cb [2022-04-14T12:05:18.923Z] Removing intermediate container c210c92810cb [2022-04-14T12:05:18.923Z] ---> aa13559a1196 [2022-04-14T12:05:18.923Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-14T12:05:18.923Z] ---> Running in 85707ee5c97a [2022-04-14T12:05:18.923Z] Removing intermediate container 85707ee5c97a [2022-04-14T12:05:18.923Z] ---> 4a68880f6fb2 [2022-04-14T12:05:18.923Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-14T12:05:18.923Z] ---> Running in 22122fd2124e [2022-04-14T12:05:19.183Z] Removing intermediate container 22122fd2124e [2022-04-14T12:05:19.183Z] ---> e9945807838a [2022-04-14T12:05:19.183Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-14T12:05:19.183Z] ---> Running in 3a65dd7b916e [2022-04-14T12:05:19.754Z] Removing intermediate container 3a65dd7b916e [2022-04-14T12:05:19.754Z] ---> 21476d049603 [2022-04-14T12:05:19.754Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-14T12:05:19.754Z] ---> Running in 0fdce4230b07 [2022-04-14T12:05:20.014Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-14T12:05:20.958Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-14T12:05:21.218Z] OK: 221 MiB in 52 packages [2022-04-14T12:05:21.479Z] Removing intermediate container 0fdce4230b07 [2022-04-14T12:05:21.479Z] ---> e8a01223385a [2022-04-14T12:05:21.479Z] Step 8/27 : WORKDIR /app [2022-04-14T12:05:21.479Z] ---> Running in c7c734aa0a3a [2022-04-14T12:05:21.740Z] Removing intermediate container c7c734aa0a3a [2022-04-14T12:05:21.740Z] ---> 6bc1361b7f89 [2022-04-14T12:05:21.740Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-14T12:05:21.740Z] ---> fe7f8f758acd [2022-04-14T12:05:21.740Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-14T12:05:21.740Z] ---> Running in cd3df406930e [2022-04-14T12:05:22.677Z] Removing intermediate container cd3df406930e [2022-04-14T12:05:22.677Z] ---> 9b2dde751ea5 [2022-04-14T12:05:22.677Z] Step 11/27 : COPY . . [2022-04-14T12:05:22.677Z] ---> 72f973cfb3f8 [2022-04-14T12:05:22.677Z] Step 12/27 : ARG MAKE="make build" [2022-04-14T12:05:22.677Z] ---> Running in d1216afaa17f [2022-04-14T12:05:22.936Z] Removing intermediate container d1216afaa17f [2022-04-14T12:05:22.936Z] ---> dabaa9a5f759 [2022-04-14T12:05:22.936Z] Step 13/27 : RUN $MAKE [2022-04-14T12:05:22.936Z] ---> Running in 04752b5051dc [2022-04-14T12:05:23.199Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-14T12:05:41.318Z] Removing intermediate container 04752b5051dc [2022-04-14T12:05:41.318Z] ---> 6b60fd9f6567 [2022-04-14T12:05:41.318Z] Step 14/27 : FROM alpine:3.14 [2022-04-14T12:05:41.318Z] 3.14: Pulling from library/alpine [2022-04-14T12:05:41.318Z] 8663204ce13b: Pulling fs layer [2022-04-14T12:05:41.318Z] 8663204ce13b: Verifying Checksum [2022-04-14T12:05:41.318Z] 8663204ce13b: Download complete [2022-04-14T12:05:41.318Z] 8663204ce13b: Pull complete [2022-04-14T12:05:41.318Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-14T12:05:41.318Z] Status: Downloaded newer image for alpine:3.14 [2022-04-14T12:05:41.318Z] ---> e04c818066af [2022-04-14T12:05:41.318Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-14T12:05:41.318Z] ---> Running in 7f7a61589096 [2022-04-14T12:05:41.318Z] Removing intermediate container 7f7a61589096 [2022-04-14T12:05:41.318Z] ---> 10f870a45982 [2022-04-14T12:05:41.318Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-14T12:05:41.318Z] ---> Running in c73974ac397f [2022-04-14T12:05:41.318Z] Removing intermediate container c73974ac397f [2022-04-14T12:05:41.318Z] ---> 3ac90b9e9607 [2022-04-14T12:05:41.318Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-14T12:05:41.318Z] ---> Running in 07434f5d6a82 [2022-04-14T12:05:41.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-14T12:05:41.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-14T12:05:42.099Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-14T12:05:42.099Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-14T12:05:42.099Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-14T12:05:42.099Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-14T12:05:42.099Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-14T12:05:42.099Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-14T12:05:42.364Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-14T12:05:42.364Z] Executing busybox-1.33.1-r7.trigger [2022-04-14T12:05:42.364Z] Executing ca-certificates-20211220-r0.trigger [2022-04-14T12:05:42.364Z] OK: 9 MiB in 21 packages [2022-04-14T12:05:42.933Z] Removing intermediate container 07434f5d6a82 [2022-04-14T12:05:42.933Z] ---> 78e69007d015 [2022-04-14T12:05:42.933Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-14T12:05:42.933Z] ---> d075b642b9f5 [2022-04-14T12:05:42.933Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-14T12:05:43.207Z] ---> 878998cc5c46 [2022-04-14T12:05:43.207Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-14T12:05:43.466Z] ---> bacf8e38fdad [2022-04-14T12:05:43.466Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-14T12:05:43.727Z] ---> abe86b829420 [2022-04-14T12:05:43.727Z] Step 22/27 : EXPOSE 48095 [2022-04-14T12:05:43.727Z] ---> Running in 80cb1a983995 [2022-04-14T12:05:43.987Z] Removing intermediate container 80cb1a983995 [2022-04-14T12:05:43.987Z] ---> 268b65a3425e [2022-04-14T12:05:43.987Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-14T12:05:43.987Z] ---> Running in ac50f0c00eb6 [2022-04-14T12:05:43.987Z] Removing intermediate container ac50f0c00eb6 [2022-04-14T12:05:43.987Z] ---> 3067d2250bcc [2022-04-14T12:05:43.987Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-14T12:05:44.247Z] ---> Running in af770d601249 [2022-04-14T12:05:44.247Z] Removing intermediate container af770d601249 [2022-04-14T12:05:44.247Z] ---> 22b5d6aff5a1 [2022-04-14T12:05:44.247Z] Step 25/27 : LABEL arch=amd64 [2022-04-14T12:05:44.247Z] ---> Running in 02160fcf5dd1 [2022-04-14T12:05:44.247Z] Removing intermediate container 02160fcf5dd1 [2022-04-14T12:05:44.247Z] ---> a7643cd1704f [2022-04-14T12:05:44.247Z] Step 26/27 : LABEL git_sha=dcfedea6795a1a0014dd0e75b37fbe629c32554f [2022-04-14T12:05:44.518Z] ---> Running in 5f92bdd2bf3c [2022-04-14T12:05:44.518Z] Removing intermediate container 5f92bdd2bf3c [2022-04-14T12:05:44.518Z] ---> 2fe0c489a238 [2022-04-14T12:05:44.518Z] Step 27/27 : LABEL version=0.0.0 [2022-04-14T12:05:44.518Z] ---> Running in c63ed74c66cc [2022-04-14T12:05:44.779Z] Removing intermediate container c63ed74c66cc [2022-04-14T12:05:44.779Z] ---> 1195cf5eea6c [2022-04-14T12:05:44.779Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-14T12:05:44.779Z] Successfully built 1195cf5eea6c [2022-04-14T12:05:44.779Z] Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:05:45.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T12:05:45.507Z] [2022-04-14T12:05:45.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:05:45.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T12:05:45.879Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-14T12:05:45.879Z] 5eb5b503b376: Pulling fs layer [2022-04-14T12:05:45.879Z] 5c69ac0246d0: Pulling fs layer [2022-04-14T12:05:45.879Z] ec43610c2a17: Pulling fs layer [2022-04-14T12:05:45.879Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-14T12:05:45.879Z] 33b1e0a273af: Pulling fs layer [2022-04-14T12:05:45.879Z] 5d3b04190fa2: Pulling fs layer [2022-04-14T12:05:45.879Z] 2f39f015ded8: Pulling fs layer [2022-04-14T12:05:45.879Z] 3a2ae6a8a46f: Waiting [2022-04-14T12:05:45.879Z] 33b1e0a273af: Waiting [2022-04-14T12:05:45.879Z] 5d3b04190fa2: Waiting [2022-04-14T12:05:45.879Z] 5c69ac0246d0: Verifying Checksum [2022-04-14T12:05:45.879Z] 5c69ac0246d0: Download complete [2022-04-14T12:05:45.879Z] 3a2ae6a8a46f: Download complete [2022-04-14T12:05:45.879Z] ec43610c2a17: Verifying Checksum [2022-04-14T12:05:45.879Z] ec43610c2a17: Download complete [2022-04-14T12:05:45.879Z] 33b1e0a273af: Verifying Checksum [2022-04-14T12:05:45.879Z] 33b1e0a273af: Download complete [2022-04-14T12:05:45.879Z] 5d3b04190fa2: Verifying Checksum [2022-04-14T12:05:45.879Z] 5d3b04190fa2: Download complete [2022-04-14T12:05:46.138Z] 5eb5b503b376: Verifying Checksum [2022-04-14T12:05:46.138Z] 5eb5b503b376: Download complete [2022-04-14T12:05:46.706Z] 2f39f015ded8: Verifying Checksum [2022-04-14T12:05:46.706Z] 2f39f015ded8: Download complete [2022-04-14T12:05:47.274Z] 5eb5b503b376: Pull complete [2022-04-14T12:05:47.274Z] 5c69ac0246d0: Pull complete [2022-04-14T12:05:47.854Z] ec43610c2a17: Pull complete [2022-04-14T12:05:47.854Z] 3a2ae6a8a46f: Pull complete [2022-04-14T12:05:48.114Z] 33b1e0a273af: Pull complete [2022-04-14T12:05:48.114Z] 5d3b04190fa2: Pull complete [2022-04-14T12:05:52.307Z] 2f39f015ded8: Pull complete [2022-04-14T12:05:52.307Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-14T12:05:52.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T12:05:52.307Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-14T12:05:52.403Z] prd-ubuntu20.04-docker-8c-8g-20940 does not seem to be running inside a container [2022-04-14T12:05:52.445Z] $ 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-398 -v /w/workspace/_app-service-configurable_PR-398:/w/workspace/_app-service-configurable_PR-398:rw,z -v /w/workspace/_app-service-configurable_PR-398@tmp:/w/workspace/_app-service-configurable_PR-398@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-04-14T12:05:54.617Z] $ docker top e56cebea29ff04ddb9fc4fd440acbb065d3d874a244e5dda3da663a378c24a84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:05:55.111Z] ---> job-cost.sh [2022-04-14T12:05:55.111Z] lf-activate-venv: SKIPPING [2022-04-14T12:05:55.111Z] INFO: No Stack... [2022-04-14T12:05:55.372Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-14T12:05:56.311Z] INFO: Archiving Costs [Pipeline] sh [2022-04-14T12:05:56.627Z] + cat /w/workspace/_app-service-configurable_PR-398/archives/cost.csv [2022-04-14T12:05:56.627Z] + cut -d, -f6 [Pipeline] lock [2022-04-14T12:05:56.667Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] [2022-04-14T12:05:56.672Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] did not exist. Created. [2022-04-14T12:05:56.672Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-14T12:05:57.056Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-14T12:05:57.106Z] Stashed 1 file(s) [Pipeline] } [2022-04-14T12:05:57.128Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-14T12:05:57.209Z] $ docker stop --time=1 e56cebea29ff04ddb9fc4fd440acbb065d3d874a244e5dda3da663a378c24a84 [2022-04-14T12:05:58.451Z] $ docker rm -f e56cebea29ff04ddb9fc4fd440acbb065d3d874a244e5dda3da663a378c24a84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [2022-04-14T12:05:58.711Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20942 in /w/workspace/_app-service-configurable_PR-398 [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] ws [2022-04-14T12:05:58.837Z] Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout [2022-04-14T12:05:59.058Z] Selected Git installation does not exist. Using Default [2022-04-14T12:05:59.059Z] The recommended git tool is: NONE [2022-04-14T12:06:04.214Z] using credential edgex-jenkins-ssh [2022-04-14T12:06:04.233Z] Cloning the remote Git repository [2022-04-14T12:06:04.297Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-04-14T12:06:04.375Z] > git init /w/workspace/app-service-configurable/1 # timeout=10 [2022-04-14T12:06:04.468Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-14T12:06:04.469Z] > git --version # timeout=10 [2022-04-14T12:06:04.491Z] > git --version # 'git version 2.25.1' [2022-04-14T12:06:04.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-14T12:06:04.573Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-14T12:06:06.408Z] Merging remotes/origin/main commit 323c9d7b071dcad20db500b9107a4775ac8effe6 into PR head commit dcfedea6795a1a0014dd0e75b37fbe629c32554f [2022-04-14T12:06:05.719Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-14T12:06:05.743Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-14T12:06:05.767Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-04-14T12:06:05.800Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-04-14T12:06:05.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-14T12:06:05.815Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/398/head:refs/remotes/origin/PR-398 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-14T12:06:06.428Z] > git config core.sparsecheckout # timeout=10 [2022-04-14T12:06:06.442Z] > git checkout -f dcfedea6795a1a0014dd0e75b37fbe629c32554f # timeout=10 [2022-04-14T12:06:06.629Z] Merge succeeded, producing dcfedea6795a1a0014dd0e75b37fbe629c32554f [2022-04-14T12:06:06.629Z] Checking out Revision dcfedea6795a1a0014dd0e75b37fbe629c32554f (PR-398) [2022-04-14T12:06:06.530Z] > git remote # timeout=10 [2022-04-14T12:06:06.556Z] > git config --get remote.origin.url # timeout=10 [2022-04-14T12:06:06.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-14T12:06:06.587Z] > git merge 323c9d7b071dcad20db500b9107a4775ac8effe6 # timeout=10 [2022-04-14T12:06:06.613Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-14T12:06:06.638Z] > git config core.sparsecheckout # timeout=10 [2022-04-14T12:06:06.657Z] > git checkout -f dcfedea6795a1a0014dd0e75b37fbe629c32554f # timeout=10 [2022-04-14T12:06:10.776Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [2022-04-14T12:06:10.834Z] > git --version # timeout=10 [2022-04-14T12:06:10.846Z] > git --version # 'git version 2.25.1' [2022-04-14T12:06:10.863Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-14T12:06:12.033Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-14T12:06:12.033Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-14T12:06:12.033Z] Dload Upload Total Spent Left Speed [2022-04-14T12:06:12.033Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46625 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh [2022-04-14T12:06:12.591Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-14T12:06:12.956Z] + sudo tee /etc/docker/daemon.new [2022-04-14T12:06:12.957Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-14T12:06:12.957Z] { [2022-04-14T12:06:12.957Z] "registry-mirrors": [ [2022-04-14T12:06:12.957Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-14T12:06:12.957Z] ], [2022-04-14T12:06:12.957Z] "bip": "10.250.0.254/24", [2022-04-14T12:06:12.957Z] "hosts": [ [2022-04-14T12:06:12.957Z] "tcp://0.0.0.0:5555", [2022-04-14T12:06:12.957Z] "unix:///var/run/docker.sock" [2022-04-14T12:06:12.957Z] ], [2022-04-14T12:06:12.957Z] "mtu": 1458, [2022-04-14T12:06:12.957Z] "selinux-enabled": true, [2022-04-14T12:06:12.957Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-14T12:06:12.957Z] } [Pipeline] sh [2022-04-14T12:06:13.370Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-14T12:06:13.791Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-14T12:06:32.196Z] provisioning config files... [2022-04-14T12:06:32.228Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7540075692543433528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:06:32.811Z] ---> docker-login.sh [2022-04-14T12:06:32.811Z] nexus3.edgexfoundry.org:10001 [2022-04-14T12:06:33.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:06:33.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:06:33.683Z] Configure a credential helper to remove this warning. See [2022-04-14T12:06:33.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:06:33.683Z] [2022-04-14T12:06:33.683Z] Login Succeeded [2022-04-14T12:06:33.683Z] nexus3.edgexfoundry.org:10002 [2022-04-14T12:06:34.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:06:34.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:06:34.295Z] Configure a credential helper to remove this warning. See [2022-04-14T12:06:34.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:06:34.295Z] [2022-04-14T12:06:34.295Z] Login Succeeded [2022-04-14T12:06:34.295Z] nexus3.edgexfoundry.org:10003 [2022-04-14T12:06:34.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:06:34.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:06:34.848Z] Configure a credential helper to remove this warning. See [2022-04-14T12:06:34.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:06:34.848Z] [2022-04-14T12:06:34.848Z] Login Succeeded [2022-04-14T12:06:34.848Z] nexus3.edgexfoundry.org:10004 [2022-04-14T12:06:35.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:06:35.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:06:35.124Z] Configure a credential helper to remove this warning. See [2022-04-14T12:06:35.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:06:35.124Z] [2022-04-14T12:06:35.124Z] Login Succeeded [2022-04-14T12:06:35.124Z] docker.io [2022-04-14T12:06:35.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-14T12:06:36.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-14T12:06:36.314Z] Configure a credential helper to remove this warning. See [2022-04-14T12:06:36.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-14T12:06:36.314Z] [2022-04-14T12:06:36.314Z] Login Succeeded [2022-04-14T12:06:36.314Z] ---> docker-login.sh ends [Pipeline] } [2022-04-14T12:06:36.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-14T12:06:36.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-14T12:06:36.757Z] ========================================================= [2022-04-14T12:06:36.757Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-14T12:06:36.757Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:06:37.217Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-14T12:06:37.217Z] Sending build context to Docker daemon 210.4kB [2022-04-14T12:06:37.490Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-04-14T12:06:37.490Z] Step 2/13 : FROM ${BASE} AS builder [2022-04-14T12:06:37.768Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-14T12:06:37.769Z] 9b3977197b4f: Pulling fs layer [2022-04-14T12:06:37.769Z] 1a89e8eeedd5: Pulling fs layer [2022-04-14T12:06:37.769Z] 94645a83ff95: Pulling fs layer [2022-04-14T12:06:37.769Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-14T12:06:37.769Z] 0c92f367c5e7: Pulling fs layer [2022-04-14T12:06:37.769Z] f7c0051592d6: Pulling fs layer [2022-04-14T12:06:37.769Z] a227ed2f7395: Pulling fs layer [2022-04-14T12:06:37.769Z] 7b1c46037f91: Pulling fs layer [2022-04-14T12:06:37.769Z] f7c0051592d6: Waiting [2022-04-14T12:06:37.769Z] 3f3a8bcf1eab: Waiting [2022-04-14T12:06:37.769Z] a227ed2f7395: Waiting [2022-04-14T12:06:37.769Z] 7b1c46037f91: Waiting [2022-04-14T12:06:37.769Z] 0c92f367c5e7: Waiting [2022-04-14T12:06:37.769Z] 94645a83ff95: Verifying Checksum [2022-04-14T12:06:37.769Z] 94645a83ff95: Download complete [2022-04-14T12:06:37.769Z] 1a89e8eeedd5: Verifying Checksum [2022-04-14T12:06:37.769Z] 1a89e8eeedd5: Download complete [2022-04-14T12:06:37.769Z] 0c92f367c5e7: Verifying Checksum [2022-04-14T12:06:37.769Z] 0c92f367c5e7: Download complete [2022-04-14T12:06:37.769Z] f7c0051592d6: Verifying Checksum [2022-04-14T12:06:37.769Z] f7c0051592d6: Download complete [2022-04-14T12:06:37.769Z] 9b3977197b4f: Verifying Checksum [2022-04-14T12:06:37.769Z] 9b3977197b4f: Download complete [2022-04-14T12:06:37.769Z] a227ed2f7395: Verifying Checksum [2022-04-14T12:06:37.769Z] a227ed2f7395: Download complete [2022-04-14T12:06:38.770Z] 9b3977197b4f: Pull complete [2022-04-14T12:06:39.374Z] 1a89e8eeedd5: Pull complete [2022-04-14T12:06:39.981Z] 94645a83ff95: Pull complete [2022-04-14T12:06:40.265Z] 7b1c46037f91: Verifying Checksum [2022-04-14T12:06:40.265Z] 7b1c46037f91: Download complete [2022-04-14T12:06:40.865Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-14T12:06:40.865Z] 3f3a8bcf1eab: Download complete [2022-04-14T12:06:59.196Z] 3f3a8bcf1eab: Pull complete [2022-04-14T12:06:59.196Z] 0c92f367c5e7: Pull complete [2022-04-14T12:06:59.196Z] f7c0051592d6: Pull complete [2022-04-14T12:06:59.196Z] a227ed2f7395: Pull complete [2022-04-14T12:07:07.506Z] 7b1c46037f91: Pull complete [2022-04-14T12:07:07.506Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-14T12:07:07.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-14T12:07:07.506Z] ---> f79e39bc4007 [2022-04-14T12:07:07.506Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-14T12:07:07.779Z] ---> Running in 29c0d3b13841 [2022-04-14T12:07:08.053Z] Removing intermediate container 29c0d3b13841 [2022-04-14T12:07:08.053Z] ---> dfdd30169f01 [2022-04-14T12:07:08.053Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-04-14T12:07:08.053Z] ---> Running in 452ebb7c8d2b [2022-04-14T12:07:08.330Z] Removing intermediate container 452ebb7c8d2b [2022-04-14T12:07:08.330Z] ---> eb3861d99a8b [2022-04-14T12:07:08.330Z] Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-14T12:07:08.330Z] ---> Running in a8a646fa0b31 [2022-04-14T12:07:08.608Z] Removing intermediate container a8a646fa0b31 [2022-04-14T12:07:08.608Z] ---> c9860180fae8 [2022-04-14T12:07:08.608Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-14T12:07:08.882Z] ---> Running in 5a57ea7509de [2022-04-14T12:07:10.859Z] Removing intermediate container 5a57ea7509de [2022-04-14T12:07:10.859Z] ---> f6379f6c63d8 [2022-04-14T12:07:10.859Z] Step 7/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-14T12:07:10.859Z] ---> Running in 546a4b8cca36 [2022-04-14T12:07:11.462Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-14T12:07:12.900Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-14T12:07:13.498Z] OK: 220 MiB in 52 packages [2022-04-14T12:07:14.500Z] Removing intermediate container 546a4b8cca36 [2022-04-14T12:07:14.500Z] ---> c733461826e9 [2022-04-14T12:07:14.500Z] Step 8/13 : WORKDIR /app [2022-04-14T12:07:14.500Z] ---> Running in 33c93f6cc740 [2022-04-14T12:07:14.773Z] Removing intermediate container 33c93f6cc740 [2022-04-14T12:07:14.773Z] ---> 9df62c3384f1 [2022-04-14T12:07:14.773Z] Step 9/13 : COPY go.mod vendor* ./ [2022-04-14T12:07:15.383Z] ---> a8dc5689ccc2 [2022-04-14T12:07:15.383Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-14T12:07:15.383Z] ---> Running in 679d24d3bbd6 [2022-04-14T12:08:37.188Z] Removing intermediate container 679d24d3bbd6 [2022-04-14T12:08:37.188Z] ---> 386a7f8dc55c [2022-04-14T12:08:37.188Z] Step 11/13 : COPY . . [2022-04-14T12:08:37.188Z] ---> 5db256c3a4d9 [2022-04-14T12:08:37.188Z] Step 12/13 : ARG MAKE="make build" [2022-04-14T12:08:37.188Z] ---> Running in 24fc6333de1e [2022-04-14T12:08:37.188Z] Removing intermediate container 24fc6333de1e [2022-04-14T12:08:37.188Z] ---> 2217234f42bb [2022-04-14T12:08:37.188Z] Step 13/13 : RUN $MAKE [2022-04-14T12:08:37.188Z] ---> Running in 0cc88ab1db70 [2022-04-14T12:08:37.188Z] noop [2022-04-14T12:08:37.188Z] Removing intermediate container 0cc88ab1db70 [2022-04-14T12:08:37.188Z] ---> 8d39ea93e0a2 [2022-04-14T12:08:37.188Z] Successfully built 8d39ea93e0a2 [2022-04-14T12:08:37.188Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:08:37.565Z] + docker inspect -f . ci-base-image-arm64 [2022-04-14T12:08:37.565Z] . [Pipeline] withDockerContainer [2022-04-14T12:08:37.828Z] prd-ubuntu20.04-docker-arm64-4c-16g-20942 does not seem to be running inside a container [2022-04-14T12:08:37.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-14T12:08:39.242Z] $ docker top 40974b00104c2e1b16f084380a99dc169b3743a23add96bb24bb9c8ea2d86ada -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-14T12:08:40.215Z] + go version [2022-04-14T12:08:40.215Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-14T12:08:40.277Z] $ docker stop --time=1 40974b00104c2e1b16f084380a99dc169b3743a23add96bb24bb9c8ea2d86ada [2022-04-14T12:08:41.914Z] $ docker rm -f 40974b00104c2e1b16f084380a99dc169b3743a23add96bb24bb9c8ea2d86ada [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:08:42.815Z] + docker inspect -f . ci-base-image-arm64 [2022-04-14T12:08:42.815Z] . [Pipeline] withDockerContainer [2022-04-14T12:08:43.067Z] prd-ubuntu20.04-docker-arm64-4c-16g-20942 does not seem to be running inside a container [2022-04-14T12:08:43.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-14T12:08:44.452Z] $ docker top f81e54dae9497c300f74e6289996c24403bb55c3bcec3e71e5d1c2be76ae3b55 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-14T12:08:45.457Z] + make test [2022-04-14T12:08:45.457Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-04-14T12:09:32.516Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-04-14T12:09:32.516Z] CGO_ENABLED=1 go vet ./... [2022-04-14T12:09:50.855Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-14T12:09:50.855Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-14T12:09:50.855Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-14T12:09:50.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-14T12:09:50.922Z] $ docker stop --time=1 f81e54dae9497c300f74e6289996c24403bb55c3bcec3e71e5d1c2be76ae3b55 [2022-04-14T12:09:52.681Z] $ docker rm -f f81e54dae9497c300f74e6289996c24403bb55c3bcec3e71e5d1c2be76ae3b55 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-14T12:09:53.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-14T12:09:53.568Z] Warning: overwriting stash ‘coverage-report’ [2022-04-14T12:09:54.011Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-14T12:09:54.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-14T12:09:54.969Z] + ls -al . [2022-04-14T12:09:54.969Z] total 172 [2022-04-14T12:09:54.969Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 14 12:09 . [2022-04-14T12:09:54.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 12:06 .. [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 119 Apr 14 12:06 .dockerignore [2022-04-14T12:09:54.969Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 12:06 .git [2022-04-14T12:09:54.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 12:06 .github [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 104 Apr 14 12:06 .gitignore [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 7627 Apr 14 12:06 Attribution.txt [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 23791 Apr 14 12:06 CHANGELOG.md [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 2087 Apr 14 12:06 Dockerfile [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 14 12:06 GOVERNANCE.md [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 688 Apr 14 12:06 Jenkinsfile [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 14 12:06 LICENSE [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 14 12:06 OWNERS.md [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 3860 Apr 14 12:06 README.md [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 12:04 VERSION [2022-04-14T12:09:54.969Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 12:06 bin [2022-04-14T12:09:54.969Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 14 12:08 coverage.out [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 2816 Apr 14 12:06 go.mod [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 50335 Apr 14 12:06 go.sum [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 1949 Apr 14 12:06 main.go [2022-04-14T12:09:54.969Z] -rw-rw-r-- 1 jenkins jenkins 1994 Apr 14 12:06 makefile [2022-04-14T12:09:54.969Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 14 12:06 res [2022-04-14T12:09:54.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 14 12:06 snap [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:09:55.336Z] + 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=dcfedea6795a1a0014dd0e75b37fbe629c32554f --label arch=arm64 --label version=0.0.0 . [2022-04-14T12:09:55.336Z] Sending build context to Docker daemon 211.5kB [2022-04-14T12:09:55.611Z] Step 1/27 : ARG BASE=golang:1.17-alpine3.15 [2022-04-14T12:09:55.611Z] Step 2/27 : FROM ${BASE} AS builder [2022-04-14T12:09:55.611Z] ---> 8d39ea93e0a2 [2022-04-14T12:09:55.611Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-04-14T12:09:55.611Z] ---> Running in 5a21e495ef62 [2022-04-14T12:09:56.207Z] Removing intermediate container 5a21e495ef62 [2022-04-14T12:09:56.207Z] ---> 6ee386dd9987 [2022-04-14T12:09:56.207Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-04-14T12:09:56.207Z] ---> Running in 6c8b0e7653d2 [2022-04-14T12:09:56.489Z] Removing intermediate container 6c8b0e7653d2 [2022-04-14T12:09:56.489Z] ---> 3a5a7abc3111 [2022-04-14T12:09:56.489Z] Step 5/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-14T12:09:56.489Z] ---> Running in f88c13d5990d [2022-04-14T12:09:56.761Z] Removing intermediate container f88c13d5990d [2022-04-14T12:09:56.761Z] ---> c752c7385436 [2022-04-14T12:09:56.761Z] Step 6/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-14T12:09:56.761Z] ---> Running in 7ac68ca53834 [2022-04-14T12:09:58.741Z] Removing intermediate container 7ac68ca53834 [2022-04-14T12:09:58.741Z] ---> a727c6037ddb [2022-04-14T12:09:58.741Z] Step 7/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-14T12:09:58.741Z] ---> Running in beac6af9958c [2022-04-14T12:09:59.719Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-14T12:10:00.694Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-14T12:10:01.685Z] OK: 220 MiB in 52 packages [2022-04-14T12:10:02.289Z] Removing intermediate container beac6af9958c [2022-04-14T12:10:02.289Z] ---> 8e20c5af6d3b [2022-04-14T12:10:02.289Z] Step 8/27 : WORKDIR /app [2022-04-14T12:10:02.289Z] ---> Running in 034178b09729 [2022-04-14T12:10:02.576Z] Removing intermediate container 034178b09729 [2022-04-14T12:10:02.576Z] ---> 0c8b18d57463 [2022-04-14T12:10:02.576Z] Step 9/27 : COPY go.mod vendor* ./ [2022-04-14T12:10:03.175Z] ---> 65fb91cd35fa [2022-04-14T12:10:03.175Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-14T12:10:03.451Z] ---> Running in 933dddeeb851 [2022-04-14T12:10:05.448Z] Removing intermediate container 933dddeeb851 [2022-04-14T12:10:05.448Z] ---> aef415b38f6f [2022-04-14T12:10:05.448Z] Step 11/27 : COPY . . [2022-04-14T12:10:06.042Z] ---> af6690e3988d [2022-04-14T12:10:06.042Z] Step 12/27 : ARG MAKE="make build" [2022-04-14T12:10:06.042Z] ---> Running in 0817435e5136 [2022-04-14T12:10:06.320Z] Removing intermediate container 0817435e5136 [2022-04-14T12:10:06.320Z] ---> 657f9db608f2 [2022-04-14T12:10:06.320Z] Step 13/27 : RUN $MAKE [2022-04-14T12:10:06.595Z] ---> Running in e36834c5c5ad [2022-04-14T12:10:07.582Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/edgex-go.Version=" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-04-14T12:11:29.396Z] Removing intermediate container e36834c5c5ad [2022-04-14T12:11:29.396Z] ---> e56c49a87e26 [2022-04-14T12:11:29.396Z] Step 14/27 : FROM alpine:3.14 [2022-04-14T12:11:29.396Z] 3.14: Pulling from library/alpine [2022-04-14T12:11:29.396Z] 455c02918c45: Pulling fs layer [2022-04-14T12:11:29.396Z] 455c02918c45: Verifying Checksum [2022-04-14T12:11:29.396Z] 455c02918c45: Download complete [2022-04-14T12:11:29.396Z] 455c02918c45: Pull complete [2022-04-14T12:11:29.396Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-14T12:11:29.396Z] Status: Downloaded newer image for alpine:3.14 [2022-04-14T12:11:29.396Z] ---> ac73e934f311 [2022-04-14T12:11:29.396Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' [2022-04-14T12:11:29.396Z] ---> Running in 52862c905547 [2022-04-14T12:11:29.396Z] Removing intermediate container 52862c905547 [2022-04-14T12:11:29.396Z] ---> 8f0a61aeecfc [2022-04-14T12:11:29.396Z] Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} [2022-04-14T12:11:29.396Z] ---> Running in 0b21be1f3ffc [2022-04-14T12:11:29.396Z] Removing intermediate container 0b21be1f3ffc [2022-04-14T12:11:29.396Z] ---> 54d01b110791 [2022-04-14T12:11:29.396Z] Step 17/27 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init [2022-04-14T12:11:29.396Z] ---> Running in 9180c33199bf [2022-04-14T12:11:30.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-14T12:11:30.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-14T12:11:31.959Z] (1/7) Installing ca-certificates (20211220-r0) [2022-04-14T12:11:31.959Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-04-14T12:11:31.959Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-04-14T12:11:31.959Z] (4/7) Installing libsodium (1.0.18-r0) [2022-04-14T12:11:31.959Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-14T12:11:31.959Z] (6/7) Installing libzmq (4.3.4-r0) [2022-04-14T12:11:31.959Z] (7/7) Installing zeromq (4.3.4-r0) [2022-04-14T12:11:31.959Z] Executing busybox-1.33.1-r7.trigger [2022-04-14T12:11:31.959Z] Executing ca-certificates-20211220-r0.trigger [2022-04-14T12:11:32.231Z] OK: 9 MiB in 21 packages [2022-04-14T12:11:33.225Z] Removing intermediate container 9180c33199bf [2022-04-14T12:11:33.225Z] ---> 1357a25a0cf0 [2022-04-14T12:11:33.225Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-04-14T12:11:33.826Z] ---> 1fa18878820e [2022-04-14T12:11:33.826Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2022-04-14T12:11:34.423Z] ---> 5001bf1a94f4 [2022-04-14T12:11:34.423Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2022-04-14T12:11:35.026Z] ---> 1e4581287e76 [2022-04-14T12:11:35.026Z] Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [2022-04-14T12:11:36.014Z] ---> 8175b7954724 [2022-04-14T12:11:36.014Z] Step 22/27 : EXPOSE 48095 [2022-04-14T12:11:36.291Z] ---> Running in fc10ba5e7bab [2022-04-14T12:11:36.566Z] Removing intermediate container fc10ba5e7bab [2022-04-14T12:11:36.566Z] ---> caee72a67230 [2022-04-14T12:11:36.566Z] Step 23/27 : ENTRYPOINT ["/app-service-configurable"] [2022-04-14T12:11:36.566Z] ---> Running in e132f3e7dd4e [2022-04-14T12:11:36.840Z] Removing intermediate container e132f3e7dd4e [2022-04-14T12:11:36.840Z] ---> 46e13e46c4ae [2022-04-14T12:11:36.840Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-14T12:11:36.840Z] ---> Running in d3f0938c86e7 [2022-04-14T12:11:37.123Z] Removing intermediate container d3f0938c86e7 [2022-04-14T12:11:37.123Z] ---> 9e9d63bef429 [2022-04-14T12:11:37.123Z] Step 25/27 : LABEL arch=arm64 [2022-04-14T12:11:37.123Z] ---> Running in c04340aaaed7 [2022-04-14T12:11:37.723Z] Removing intermediate container c04340aaaed7 [2022-04-14T12:11:37.723Z] ---> 50de1a4cf899 [2022-04-14T12:11:37.723Z] Step 26/27 : LABEL git_sha=dcfedea6795a1a0014dd0e75b37fbe629c32554f [2022-04-14T12:11:37.723Z] ---> Running in d77dac2d2913 [2022-04-14T12:11:37.997Z] Removing intermediate container d77dac2d2913 [2022-04-14T12:11:37.997Z] ---> b1989356b3de [2022-04-14T12:11:37.997Z] Step 27/27 : LABEL version=0.0.0 [2022-04-14T12:11:37.997Z] ---> Running in 44e592f4faaa [2022-04-14T12:11:38.271Z] Removing intermediate container 44e592f4faaa [2022-04-14T12:11:38.271Z] ---> c5c6fb11d0f1 [2022-04-14T12:11:38.271Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-14T12:11:38.271Z] Successfully built c5c6fb11d0f1 [2022-04-14T12:11:38.271Z] Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:11:38.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-14T12:11:38.977Z] [2022-04-14T12:11:38.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:11:39.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-14T12:11:39.363Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-14T12:11:39.363Z] 8998bd30e6a1: Pulling fs layer [2022-04-14T12:11:39.363Z] 04944245beec: Pulling fs layer [2022-04-14T12:11:39.363Z] 699f458cf7ca: Pulling fs layer [2022-04-14T12:11:39.363Z] 765212b225bb: Pulling fs layer [2022-04-14T12:11:39.363Z] f23df028b6ca: Pulling fs layer [2022-04-14T12:11:39.363Z] d65c8cfc05b1: Pulling fs layer [2022-04-14T12:11:39.363Z] 2437ff75d9bd: Pulling fs layer [2022-04-14T12:11:39.363Z] 765212b225bb: Waiting [2022-04-14T12:11:39.640Z] f23df028b6ca: Waiting [2022-04-14T12:11:39.640Z] 2437ff75d9bd: Waiting [2022-04-14T12:11:39.640Z] d65c8cfc05b1: Waiting [2022-04-14T12:11:39.640Z] 04944245beec: Verifying Checksum [2022-04-14T12:11:39.640Z] 04944245beec: Download complete [2022-04-14T12:11:39.640Z] 765212b225bb: Download complete [2022-04-14T12:11:39.640Z] f23df028b6ca: Download complete [2022-04-14T12:11:39.640Z] d65c8cfc05b1: Verifying Checksum [2022-04-14T12:11:39.640Z] d65c8cfc05b1: Download complete [2022-04-14T12:11:39.921Z] 699f458cf7ca: Verifying Checksum [2022-04-14T12:11:39.921Z] 699f458cf7ca: Download complete [2022-04-14T12:11:40.197Z] 8998bd30e6a1: Verifying Checksum [2022-04-14T12:11:40.197Z] 8998bd30e6a1: Download complete [2022-04-14T12:11:42.179Z] 2437ff75d9bd: Verifying Checksum [2022-04-14T12:11:42.179Z] 2437ff75d9bd: Download complete [2022-04-14T12:11:44.847Z] 8998bd30e6a1: Pull complete [2022-04-14T12:11:45.449Z] 04944245beec: Pull complete [2022-04-14T12:11:46.898Z] 699f458cf7ca: Pull complete [2022-04-14T12:11:47.183Z] 765212b225bb: Pull complete [2022-04-14T12:11:48.420Z] f23df028b6ca: Pull complete [2022-04-14T12:11:48.695Z] d65c8cfc05b1: Pull complete [2022-04-14T12:12:03.806Z] 2437ff75d9bd: Pull complete [2022-04-14T12:12:03.806Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-14T12:12:03.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-14T12:12:03.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-14T12:12:04.045Z] prd-ubuntu20.04-docker-arm64-4c-16g-20942 does not seem to be running inside a container [2022-04-14T12:12:04.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-14T12:12:06.747Z] $ docker top f40511257a4cb6271cc34b602ea29fb34d4c06a43a5b46df2abcc905011df6a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:12:07.734Z] ---> job-cost.sh [2022-04-14T12:12:07.734Z] lf-activate-venv: SKIPPING [2022-04-14T12:12:07.734Z] INFO: No Stack... [2022-04-14T12:12:08.331Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-14T12:12:08.926Z] INFO: Archiving Costs [Pipeline] sh [2022-04-14T12:12:09.614Z] + cat /w/workspace/app-service-configurable/1/archives/cost.csv [2022-04-14T12:12:09.614Z] + cut -d, -f6 [Pipeline] lock [2022-04-14T12:12:09.668Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] [2022-04-14T12:12:09.673Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] did not exist. Created. [2022-04-14T12:12:09.673Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-14T12:12:10.420Z] /w/workspace/app-service-configurable/1@tmp/durable-fade4ffd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-14T12:12:11.123Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-14T12:12:11.157Z] Warning: overwriting stash ‘stack-cost’ [2022-04-14T12:12:11.203Z] Stashed 1 file(s) [Pipeline] } [2022-04-14T12:12:11.218Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-398-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-14T12:12:11.303Z] $ docker stop --time=1 f40511257a4cb6271cc34b602ea29fb34d4c06a43a5b46df2abcc905011df6a8 [2022-04-14T12:12:12.823Z] $ docker rm -f f40511257a4cb6271cc34b602ea29fb34d4c06a43a5b46df2abcc905011df6a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-14T12:12:13.903Z] provisioning config files... [2022-04-14T12:12:13.911Z] copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-398@tmp/config3036395192967292642tmp [Pipeline] { [Pipeline] sh [2022-04-14T12:12:14.254Z] + set +x [2022-04-14T12:12:14.254Z] + curl -s https://codecov.io/bash [2022-04-14T12:12:14.254Z] + bash -s -- [2022-04-14T12:12:14.254Z] [2022-04-14T12:12:14.254Z] _____ _ [2022-04-14T12:12:14.254Z] / ____| | | [2022-04-14T12:12:14.254Z] | | ___ __| | ___ ___ _____ __ [2022-04-14T12:12:14.254Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-14T12:12:14.254Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-14T12:12:14.254Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-14T12:12:14.254Z] Bash-1.0.6 [2022-04-14T12:12:14.254Z] [2022-04-14T12:12:14.254Z] [2022-04-14T12:12:14.254Z] ==> git version 2.25.1 found [2022-04-14T12:12:14.254Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-14T12:12:14.254Z] Release-Date: 2020-01-08 [2022-04-14T12:12:14.254Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-14T12:12:14.254Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-14T12:12:14.254Z] ==> Jenkins CI detected. [2022-04-14T12:12:14.254Z] current dir:  /w/workspace/_app-service-configurable_PR-398 [2022-04-14T12:12:14.254Z] project root: . [2022-04-14T12:12:14.254Z] --> token set from env [2022-04-14T12:12:14.254Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-14T12:12:14.254Z] ==> Running gcov in . (disable via -X gcov) [2022-04-14T12:12:14.254Z] ==> Python coveragepy not found [2022-04-14T12:12:14.254Z] ==> Searching for coverage reports in: [2022-04-14T12:12:14.254Z] + . [2022-04-14T12:12:14.254Z] -> Found 1 reports [2022-04-14T12:12:14.254Z] ==> Detecting git/mercurial file structure [2022-04-14T12:12:14.254Z] ==> Reading reports [2022-04-14T12:12:14.254Z] + ./coverage.out bytes=10 [2022-04-14T12:12:14.254Z] ==> Appending adjustments [2022-04-14T12:12:14.254Z] https://docs.codecov.io/docs/fixing-reports [2022-04-14T12:12:14.514Z] + Found adjustments [2022-04-14T12:12:14.514Z] ==> Gzipping contents [2022-04-14T12:12:14.514Z] 4.0K /tmp/codecov.wZ0YcR.gz [2022-04-14T12:12:14.514Z] ==> Uploading reports [2022-04-14T12:12:14.514Z] url: https://codecov.io [2022-04-14T12:12:14.514Z] query: branch=PR-398&commit=dcfedea6795a1a0014dd0e75b37fbe629c32554f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-398%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=398&job=&cmd_args= [2022-04-14T12:12:14.514Z] -> Pinging Codecov [2022-04-14T12:12:14.514Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-398&commit=dcfedea6795a1a0014dd0e75b37fbe629c32554f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-398%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=398&job=&cmd_args= [2022-04-14T12:12:14.775Z] -> Uploading to [2022-04-14T12:12:14.775Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-14/A97CA9966030D2A3747ED39772930CCE/dcfedea6795a1a0014dd0e75b37fbe629c32554f/65776c48-bc58-4a99-9f7e-15f736e2c28e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220414T121214Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=98f2044aa142d32f78772d54df056e1c4f9193a5e565d3e3e1108a2b2c33a770 [2022-04-14T12:12:14.775Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-14T12:12:14.775Z] Dload Upload Total Spent Left Speed [2022-04-14T12:12:15.038Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 569 0 0 100 569 0 2789 --:--:-- --:--:-- --:--:-- 2789 [2022-04-14T12:12:15.038Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-service-configurable/commit/dcfedea6795a1a0014dd0e75b37fbe629c32554f [Pipeline] } [2022-04-14T12:12:15.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-14T12:12:16.820Z] + [ -d /w/workspace/_app-service-configurable_PR-398/archives ] [2022-04-14T12:12:16.820Z] + ls -al /w/workspace/_app-service-configurable_PR-398/archives [2022-04-14T12:12:16.820Z] total 16 [2022-04-14T12:12:16.820Z] drwxr-xr-x 3 root root 4096 Apr 14 12:05 . [2022-04-14T12:12:16.820Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 14 12:05 .. [2022-04-14T12:12:16.820Z] drwxr-xr-x 2 root root 4096 Apr 14 12:05 cost [2022-04-14T12:12:16.820Z] -rw-r--r-- 1 root root 95 Apr 14 12:05 cost.csv [2022-04-14T12:12:16.820Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-398/archives [2022-04-14T12:12:16.820Z] + ls -al /w/workspace/_app-service-configurable_PR-398/archives [2022-04-14T12:12:16.820Z] total 16 [2022-04-14T12:12:16.820Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 14 12:05 . [2022-04-14T12:12:16.820Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 14 12:05 .. [2022-04-14T12:12:16.820Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 14 12:05 cost [2022-04-14T12:12:16.820Z] -rw-r--r-- 1 jenkins jenkins 95 Apr 14 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:12:17.161Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:12:18.065Z] ---> package-listing.sh [2022-04-14T12:12:18.065Z] ++ facter osfamily [2022-04-14T12:12:18.065Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-14T12:12:18.065Z] + OS_FAMILY=debian [2022-04-14T12:12:18.065Z] + workspace=/w/workspace/_app-service-configurable_PR-398 [2022-04-14T12:12:18.065Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-14T12:12:18.065Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-14T12:12:18.065Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-14T12:12:18.065Z] + PACKAGES=/tmp/packages_start.txt [2022-04-14T12:12:18.065Z] + '[' /w/workspace/_app-service-configurable_PR-398 ']' [2022-04-14T12:12:18.065Z] + PACKAGES=/tmp/packages_end.txt [2022-04-14T12:12:18.065Z] + case "${OS_FAMILY}" in [2022-04-14T12:12:18.327Z] + dpkg -l [2022-04-14T12:12:18.327Z] + grep '^ii' [2022-04-14T12:12:18.327Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-14T12:12:18.327Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-14T12:12:18.327Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-14T12:12:18.327Z] + '[' /w/workspace/_app-service-configurable_PR-398 ']' [2022-04-14T12:12:18.327Z] + mkdir -p /w/workspace/_app-service-configurable_PR-398/archives/ [2022-04-14T12:12:18.327Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-398/archives/ [Pipeline] echo [2022-04-14T12:12:18.363Z] 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-398/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-14T12:12:18.664Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-14T12:12:19.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T12:12:19.253Z] . [Pipeline] withDockerContainer [2022-04-14T12:12:19.348Z] prd-ubuntu20.04-docker-8c-8g-20940 does not seem to be running inside a container [2022-04-14T12:12:19.388Z] $ 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-398/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-398 -v /w/workspace/_app-service-configurable_PR-398:/w/workspace/_app-service-configurable_PR-398:rw,z -v /w/workspace/_app-service-configurable_PR-398@tmp:/w/workspace/_app-service-configurable_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-14T12:12:19.602Z] $ docker top 41b30c229c207b4f45758cd334658c01523318ca583b16cc4d5f93958272ab3c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-14T12:12:19.995Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-14T12:12:20.314Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-14T12:12:20.629Z] + ls /var/log/sa-host [2022-04-14T12:12:20.629Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-14T12:12:20.912Z] provisioning config files... [2022-04-14T12:12:20.923Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-398@tmp/config5551309939818963202tmp [Pipeline] { [Pipeline] echo [2022-04-14T12:12:20.976Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:12:21.293Z] ---> create-netrc.sh [Pipeline] } [2022-04-14T12:12:21.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:12:21.743Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-14T12:12:21.774Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:12:22.089Z] ---> sudo-logs.sh [2022-04-14T12:12:22.089Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-14T12:12:22.170Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:12:22.487Z] ---> job-cost.sh [2022-04-14T12:12:22.487Z] lf-activate-venv: SKIPPING [2022-04-14T12:12:22.487Z] DEBUG: total: 0.2199999988079071 [2022-04-14T12:12:22.487Z] INFO: Retrieving Stack Cost... [2022-04-14T12:12:23.061Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-14T12:12:23.322Z] INFO: Archiving Costs [Pipeline] echo [2022-04-14T12:12:23.363Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T12:12:23.689Z] ---> logs-deploy.sh [2022-04-14T12:12:23.689Z] lf-activate-venv: SKIPPING [2022-04-14T12:12:23.689Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-398/1 [2022-04-14T12:12:23.689Z] INFO: archiving workspace using pattern(s): [2022-04-14T12:12:24.631Z] Archives upload complete. [2022-04-14T12:12:24.631Z] INFO: archiving logs to Nexus