Pull request #460 updated Pull request #460 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from a6d956aec24c9c05879698a130546b7f9df1c909+a54a0972f59d0215bd900b67794f07db15feaf52 (02f03ee1897f296340fac38333139012d11e90e3) 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-ssh13336155043802477116.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11636400797831935111.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4458930514112735068.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11947005050662960083.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-460/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-460/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11101718484640861575.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23500 in /w/workspace/_app-service-configurable_PR-460 [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-460 # 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 a54a0972f59d0215bd900b67794f07db15feaf52 into PR head commit a6d956aec24c9c05879698a130546b7f9df1c909 Merge succeeded, producing a6d956aec24c9c05879698a130546b7f9df1c909 Checking out Revision a6d956aec24c9c05879698a130546b7f9df1c909 (PR-460) > 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/460/head:refs/remotes/origin/PR-460 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6d956aec24c9c05879698a130546b7f9df1c909 # 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 a54a0972f59d0215bd900b67794f07db15feaf52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6d956aec24c9c05879698a130546b7f9df1c909 # timeout=10 Commit message: "build: add build targets for NATS and add NATS configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-25T01:06:02.056Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-25T01:06:02.103Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-25T01:06:02.117Z] ========================================================= [2022-08-25T01:06:02.117Z] EdgeX Global Pipelines Version Info [2022-08-25T01:06:02.117Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:06:02.876Z] ------------------- [2022-08-25T01:06:02.876Z] stable info: [2022-08-25T01:06:02.876Z] ------------------- [2022-08-25T01:06:02.876Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-25T01:06:02.876Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-25T01:06:02.876Z] Message: update stable to v1.0.239 [2022-08-25T01:06:03.447Z] ------------------- [2022-08-25T01:06:03.447Z] experimental info: [2022-08-25T01:06:03.447Z] ------------------- [2022-08-25T01:06:03.447Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-25T01:06:03.447Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-25T01:06:03.447Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-25T01:06:03.635Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo [2022-08-25T01:06:03.647Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo [2022-08-25T01:06:03.664Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-25T01:06:03.677Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-25T01:06:03.693Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-25T01:06:03.710Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-25T01:06:03.719Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-25T01:06:03.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-25T01:06:03.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-25T01:06:03.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-25T01:06:03.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-25T01:06:03.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo [2022-08-25T01:06:03.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-25T01:06:03.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-25T01:06:03.843Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-25T01:06:03.859Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-25T01:06:03.871Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-25T01:06:03.885Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-25T01:06:03.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-25T01:06:03.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-25T01:06:03.937Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-25T01:06:03.947Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-25T01:06:03.961Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-25T01:06:03.973Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-25T01:06:03.985Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-25T01:06:04.002Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-25T01:06:04.013Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-25T01:06:04.029Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-460 [Pipeline] echo [2022-08-25T01:06:04.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-460 [Pipeline] echo [2022-08-25T01:06:04.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-460 [Pipeline] echo [2022-08-25T01:06:04.067Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6d956aec24c9c05879698a130546b7f9df1c909 [Pipeline] echo [2022-08-25T01:06:04.079Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6d956a [Pipeline] echo [2022-08-25T01:06:04.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-25T01:06:04.139Z] provisioning config files... [2022-08-25T01:06:04.152Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-460@tmp/config6350997077629064223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:06:04.458Z] ---> docker-login.sh [2022-08-25T01:06:04.458Z] nexus3.edgexfoundry.org:10001 [2022-08-25T01:06:04.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:06:04.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:06:04.720Z] Configure a credential helper to remove this warning. See [2022-08-25T01:06:04.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:06:04.720Z] [2022-08-25T01:06:04.720Z] Login Succeeded [2022-08-25T01:06:04.720Z] nexus3.edgexfoundry.org:10002 [2022-08-25T01:06:04.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:06:04.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:06:04.985Z] Configure a credential helper to remove this warning. See [2022-08-25T01:06:04.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:06:04.985Z] [2022-08-25T01:06:04.985Z] Login Succeeded [2022-08-25T01:06:04.985Z] nexus3.edgexfoundry.org:10003 [2022-08-25T01:06:04.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:06:05.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:06:05.249Z] Configure a credential helper to remove this warning. See [2022-08-25T01:06:05.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:06:05.249Z] [2022-08-25T01:06:05.249Z] Login Succeeded [2022-08-25T01:06:05.249Z] nexus3.edgexfoundry.org:10004 [2022-08-25T01:06:05.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:06:05.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:06:05.249Z] Configure a credential helper to remove this warning. See [2022-08-25T01:06:05.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:06:05.249Z] [2022-08-25T01:06:05.249Z] Login Succeeded [2022-08-25T01:06:05.249Z] docker.io [2022-08-25T01:06:05.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:06:05.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:06:05.510Z] Configure a credential helper to remove this warning. See [2022-08-25T01:06:05.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:06:05.510Z] [2022-08-25T01:06:05.510Z] Login Succeeded [2022-08-25T01:06:05.770Z] ---> docker-login.sh ends [Pipeline] } [2022-08-25T01:06:05.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-25T01:06:06.185Z] + git rev-list -1 --merges a6d956aec24c9c05879698a130546b7f9df1c909~1..a6d956aec24c9c05879698a130546b7f9df1c909 [Pipeline] echo [2022-08-25T01:06:06.221Z] -----------> git rev-list -1 --merges a6d956aec24c9c05879698a130546b7f9df1c909~1..a6d956aec24c9c05879698a130546b7f9df1c909 a6d956aec24c9c05879698a130546b7f9df1c909 [false] [Pipeline] sh [2022-08-25T01:06:06.520Z] + git log --format=format:%s -1 a6d956aec24c9c05879698a130546b7f9df1c909 [Pipeline] echo [2022-08-25T01:06:06.536Z] ========================================================= [2022-08-25T01:06:06.536Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-25T01:06:06.536Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-25T01:06:06.883Z] + git log --format=format:%s -1 a6d956aec24c9c05879698a130546b7f9df1c909 [Pipeline] echo [2022-08-25T01:06:06.898Z] [semverPrep] GIT_COMMIT: a6d956aec24c9c05879698a130546b7f9df1c909, Commit Message: build: add build targets for NATS and add NATS configuration [Pipeline] echo [2022-08-25T01:06:06.909Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-25T01:06:07.287Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-25T01:06:07.287Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-25T01:06:07.287Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-25T01:06:07.287Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-25T01:06:07.287Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-25T01:06:07.287Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-25T01:06:07.287Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:06:07.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-25T01:06:07.645Z] [2022-08-25T01:06:07.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:06:07.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-25T01:06:07.954Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-25T01:06:07.954Z] b85a868b505f: Pulling fs layer [2022-08-25T01:06:07.954Z] e2be974225ed: Pulling fs layer [2022-08-25T01:06:07.954Z] 339a4e72a1f5: Pulling fs layer [2022-08-25T01:06:07.954Z] 988bab9f4d93: Pulling fs layer [2022-08-25T01:06:07.954Z] 1469e6f7b9e6: Pulling fs layer [2022-08-25T01:06:07.954Z] eaf3925da568: Pulling fs layer [2022-08-25T01:06:07.954Z] bab4dde63d76: Pulling fs layer [2022-08-25T01:06:07.954Z] bde34c3a00c8: Pulling fs layer [2022-08-25T01:06:07.954Z] b352a97aabf1: Pulling fs layer [2022-08-25T01:06:07.954Z] 4872d77fe225: Pulling fs layer [2022-08-25T01:06:07.954Z] 5851b861e8e6: Pulling fs layer [2022-08-25T01:06:07.954Z] 988bab9f4d93: Waiting [2022-08-25T01:06:07.954Z] bde34c3a00c8: Waiting [2022-08-25T01:06:07.954Z] 1469e6f7b9e6: Waiting [2022-08-25T01:06:07.954Z] eaf3925da568: Waiting [2022-08-25T01:06:07.954Z] bab4dde63d76: Waiting [2022-08-25T01:06:07.954Z] 5851b861e8e6: Waiting [2022-08-25T01:06:07.954Z] 4872d77fe225: Waiting [2022-08-25T01:06:07.954Z] e2be974225ed: Download complete [2022-08-25T01:06:07.954Z] 988bab9f4d93: Verifying Checksum [2022-08-25T01:06:07.954Z] 988bab9f4d93: Download complete [2022-08-25T01:06:08.215Z] 1469e6f7b9e6: Verifying Checksum [2022-08-25T01:06:08.215Z] 339a4e72a1f5: Download complete [2022-08-25T01:06:08.215Z] eaf3925da568: Verifying Checksum [2022-08-25T01:06:08.215Z] eaf3925da568: Download complete [2022-08-25T01:06:08.215Z] bde34c3a00c8: Verifying Checksum [2022-08-25T01:06:08.215Z] bde34c3a00c8: Download complete [2022-08-25T01:06:08.215Z] b352a97aabf1: Verifying Checksum [2022-08-25T01:06:08.215Z] b352a97aabf1: Download complete [2022-08-25T01:06:08.215Z] 4872d77fe225: Verifying Checksum [2022-08-25T01:06:08.215Z] 4872d77fe225: Download complete [2022-08-25T01:06:08.215Z] 5851b861e8e6: Verifying Checksum [2022-08-25T01:06:08.215Z] 5851b861e8e6: Download complete [2022-08-25T01:06:08.215Z] b85a868b505f: Download complete [2022-08-25T01:06:08.476Z] bab4dde63d76: Verifying Checksum [2022-08-25T01:06:08.476Z] bab4dde63d76: Download complete [2022-08-25T01:06:09.414Z] b85a868b505f: Pull complete [2022-08-25T01:06:09.673Z] e2be974225ed: Pull complete [2022-08-25T01:06:10.243Z] 339a4e72a1f5: Pull complete [2022-08-25T01:06:10.243Z] 988bab9f4d93: Pull complete [2022-08-25T01:06:10.503Z] 1469e6f7b9e6: Pull complete [2022-08-25T01:06:10.503Z] eaf3925da568: Pull complete [2022-08-25T01:06:12.407Z] bab4dde63d76: Pull complete [2022-08-25T01:06:12.407Z] bde34c3a00c8: Pull complete [2022-08-25T01:06:12.407Z] b352a97aabf1: Pull complete [2022-08-25T01:06:12.668Z] 4872d77fe225: Pull complete [2022-08-25T01:06:12.668Z] 5851b861e8e6: Pull complete [2022-08-25T01:06:12.668Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-25T01:06:12.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-25T01:06:12.668Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T01:06:12.768Z] prd-ubuntu20.04-docker-8c-8g-23500 does not seem to be running inside a container [2022-08-25T01:06:12.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-460 -v /w/workspace/_app-service-configurable_PR-460:/w/workspace/_app-service-configurable_PR-460:rw,z -v /w/workspace/_app-service-configurable_PR-460@tmp:/w/workspace/_app-service-configurable_PR-460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-25T01:06:15.725Z] $ docker top ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d -eo pid,comm [2022-08-25T01:06:15.790Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-25T01:06:15.790Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-25T01:06:15.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-25T01:06:15.831Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-25T01:06:15.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-25T01:06:15.962Z] $ docker exec ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d ssh-agent [2022-08-25T01:06:16.082Z] SSH_AUTH_SOCK=/tmp/ssh-MknIlc3QAH00/agent.33 [2022-08-25T01:06:16.082Z] SSH_AGENT_PID=39 [2022-08-25T01:06:16.088Z] Running ssh-add (command line suppressed) [2022-08-25T01:06:16.212Z] Identity added: /w/workspace/_app-service-configurable_PR-460@tmp/private_key_1564409439308802441.key (/w/workspace/_app-service-configurable_PR-460@tmp/private_key_1564409439308802441.key) [2022-08-25T01:06:16.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-25T01:06:16.516Z] + git tag --points-at HEAD [Pipeline] } [2022-08-25T01:06:16.532Z] $ docker exec --env ******** --env ******** ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d ssh-agent -k [2022-08-25T01:06:16.638Z] unset SSH_AUTH_SOCK; [2022-08-25T01:06:16.638Z] unset SSH_AGENT_PID; [2022-08-25T01:06:16.638Z] echo Agent pid 39 killed; [2022-08-25T01:06:16.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-25T01:06:16.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-25T01:06:16.670Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-25T01:06:16.803Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-25T01:06:16.810Z] $ docker exec ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d ssh-agent [2022-08-25T01:06:16.939Z] SSH_AUTH_SOCK=/tmp/ssh-PvjvaReWxmJQ/agent.73 [2022-08-25T01:06:16.939Z] SSH_AGENT_PID=79 [2022-08-25T01:06:16.945Z] Running ssh-add (command line suppressed) [2022-08-25T01:06:17.070Z] Identity added: /w/workspace/_app-service-configurable_PR-460@tmp/private_key_917671368291802685.key (/w/workspace/_app-service-configurable_PR-460@tmp/private_key_917671368291802685.key) [2022-08-25T01:06:17.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-25T01:06:17.375Z] + git semver init [2022-08-25T01:06:17.635Z] 2022-08-25 01:06:17,581 [run_init] DEBUG init version:0.0.0 force:False [2022-08-25T01:06:17.635Z] 2022-08-25 01:06:17,582 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-460/.semver [2022-08-25T01:06:17.635Z] 2022-08-25 01:06:17,582 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-460/.semver [2022-08-25T01:06:17.635Z] 2022-08-25 01:06:17,583 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-460/.semver'], cwd=/w/workspace/_app-service-configurable_PR-460, universal_newlines=False, shell=None, istream=None) [2022-08-25T01:06:18.577Z] 2022-08-25 01:06:18,316 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-460/.git/info/exclude [2022-08-25T01:06:18.577Z] 2022-08-25 01:06:18,316 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-460/.semver/PR-460 with force:False [2022-08-25T01:06:18.577Z] 2022-08-25 01:06:18,316 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-460/.semver/PR-460 [2022-08-25T01:06:18.577Z] 2022-08-25 01:06:18,321 [execute] INFO git cat-file --batch-check [2022-08-25T01:06:18.577Z] 2022-08-25 01:06:18,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-460/.semver, universal_newlines=False, shell=None, istream=) [2022-08-25T01:06:18.577Z] 2022-08-25 01:06:18,328 [execute] INFO git cat-file --batch [2022-08-25T01:06:18.577Z] 2022-08-25 01:06:18,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-460/.semver, universal_newlines=False, shell=None, istream=) [2022-08-25T01:06:18.577Z] 2022-08-25 01:06:18,333 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-460/.semver/PR-460 [2022-08-25T01:06:18.577Z] 0.0.0 [Pipeline] } [2022-08-25T01:06:18.592Z] $ docker exec --env ******** --env ******** ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d ssh-agent -k [2022-08-25T01:06:18.710Z] unset SSH_AUTH_SOCK; [2022-08-25T01:06:18.711Z] unset SSH_AGENT_PID; [2022-08-25T01:06:18.711Z] echo Agent pid 79 killed; [2022-08-25T01:06:18.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-25T01:06:19.024Z] + git semver [Pipeline] } [2022-08-25T01:06:19.305Z] $ docker stop --time=1 ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d [2022-08-25T01:06:20.593Z] $ docker rm -f ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-25T01:06:20.944Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-25T01:06:21.190Z] Stashed 1 file(s) [Pipeline] echo [2022-08-25T01:06:21.193Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-25T01:06:21.347Z] provisioning config files... [2022-08-25T01:06:21.357Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-460@tmp/config6124411385045906536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:06:21.653Z] ---> docker-login.sh [2022-08-25T01:06:21.653Z] nexus3.edgexfoundry.org:10001 [2022-08-25T01:06:21.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:06:21.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:06:21.653Z] Configure a credential helper to remove this warning. See [2022-08-25T01:06:21.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:06:21.653Z] [2022-08-25T01:06:21.653Z] Login Succeeded [2022-08-25T01:06:21.653Z] nexus3.edgexfoundry.org:10002 [2022-08-25T01:06:21.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:06:21.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:06:21.915Z] Configure a credential helper to remove this warning. See [2022-08-25T01:06:21.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:06:21.915Z] [2022-08-25T01:06:21.915Z] Login Succeeded [2022-08-25T01:06:21.915Z] nexus3.edgexfoundry.org:10003 [2022-08-25T01:06:21.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:06:21.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:06:21.915Z] Configure a credential helper to remove this warning. See [2022-08-25T01:06:21.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:06:21.915Z] [2022-08-25T01:06:21.915Z] Login Succeeded [2022-08-25T01:06:21.915Z] nexus3.edgexfoundry.org:10004 [2022-08-25T01:06:21.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:06:22.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:06:22.175Z] Configure a credential helper to remove this warning. See [2022-08-25T01:06:22.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:06:22.175Z] [2022-08-25T01:06:22.175Z] Login Succeeded [2022-08-25T01:06:22.175Z] docker.io [2022-08-25T01:06:22.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:06:22.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:06:22.435Z] Configure a credential helper to remove this warning. See [2022-08-25T01:06:22.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:06:22.435Z] [2022-08-25T01:06:22.436Z] Login Succeeded [2022-08-25T01:06:22.436Z] ---> docker-login.sh ends [Pipeline] } [2022-08-25T01:06:22.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-25T01:06:22.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-25T01:06:22.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-25T01:06:22.545Z] ========================================================= [2022-08-25T01:06:22.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-25T01:06:22.546Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:06:22.878Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-25T01:06:22.878Z] Sending build context to Docker daemon 3.128MB [2022-08-25T01:06:22.878Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-08-25T01:06:22.878Z] Step 2/14 : FROM ${BASE} AS builder [2022-08-25T01:06:22.878Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-25T01:06:22.878Z] 2408cc74d12b: Pulling fs layer [2022-08-25T01:06:22.878Z] ea60b727a1ce: Pulling fs layer [2022-08-25T01:06:22.878Z] 30c4a7721957: Pulling fs layer [2022-08-25T01:06:22.878Z] 370296b7ddb6: Pulling fs layer [2022-08-25T01:06:22.878Z] 7c6cee850709: Pulling fs layer [2022-08-25T01:06:22.878Z] 39a5fcdaea64: Pulling fs layer [2022-08-25T01:06:22.878Z] d94ebbe4e438: Pulling fs layer [2022-08-25T01:06:22.878Z] bcfd1f05c69d: Pulling fs layer [2022-08-25T01:06:22.878Z] 59ccb84bbe0f: Pulling fs layer [2022-08-25T01:06:22.878Z] bcfd1f05c69d: Waiting [2022-08-25T01:06:22.878Z] 59ccb84bbe0f: Waiting [2022-08-25T01:06:22.878Z] 370296b7ddb6: Waiting [2022-08-25T01:06:22.878Z] 39a5fcdaea64: Waiting [2022-08-25T01:06:22.878Z] d94ebbe4e438: Waiting [2022-08-25T01:06:22.878Z] 30c4a7721957: Download complete [2022-08-25T01:06:22.878Z] ea60b727a1ce: Verifying Checksum [2022-08-25T01:06:22.878Z] ea60b727a1ce: Download complete [2022-08-25T01:06:22.878Z] 7c6cee850709: Download complete [2022-08-25T01:06:22.878Z] 39a5fcdaea64: Verifying Checksum [2022-08-25T01:06:22.878Z] 2408cc74d12b: Verifying Checksum [2022-08-25T01:06:22.878Z] 2408cc74d12b: Download complete [2022-08-25T01:06:23.138Z] d94ebbe4e438: Download complete [2022-08-25T01:06:23.138Z] 2408cc74d12b: Pull complete [2022-08-25T01:06:23.399Z] ea60b727a1ce: Pull complete [2022-08-25T01:06:23.399Z] 30c4a7721957: Pull complete [2022-08-25T01:06:23.660Z] 59ccb84bbe0f: Verifying Checksum [2022-08-25T01:06:23.660Z] 59ccb84bbe0f: Download complete [2022-08-25T01:06:23.921Z] bcfd1f05c69d: Verifying Checksum [2022-08-25T01:06:23.921Z] bcfd1f05c69d: Download complete [2022-08-25T01:06:24.182Z] 370296b7ddb6: Verifying Checksum [2022-08-25T01:06:24.182Z] 370296b7ddb6: Download complete [2022-08-25T01:06:27.470Z] 370296b7ddb6: Pull complete [2022-08-25T01:06:27.729Z] 7c6cee850709: Pull complete [2022-08-25T01:06:27.729Z] 39a5fcdaea64: Pull complete [2022-08-25T01:06:27.729Z] d94ebbe4e438: Pull complete [2022-08-25T01:06:29.638Z] bcfd1f05c69d: Pull complete [2022-08-25T01:06:30.593Z] 59ccb84bbe0f: Pull complete [2022-08-25T01:06:30.593Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-25T01:06:30.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-25T01:06:30.593Z] ---> a4fb48ad2a94 [2022-08-25T01:06:30.593Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-25T01:06:35.883Z] ---> Running in 29868a82abb0 [2022-08-25T01:06:35.883Z] Removing intermediate container 29868a82abb0 [2022-08-25T01:06:35.883Z] ---> a6f33da23b22 [2022-08-25T01:06:35.883Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-08-25T01:06:35.883Z] ---> Running in 6dd7ad339f73 [2022-08-25T01:06:35.883Z] Removing intermediate container 6dd7ad339f73 [2022-08-25T01:06:35.883Z] ---> 2c56682c9493 [2022-08-25T01:06:35.883Z] Step 5/14 : ARG BUILD_TARGET="build" [2022-08-25T01:06:35.883Z] ---> Running in 41606e5894e7 [2022-08-25T01:06:35.883Z] Removing intermediate container 41606e5894e7 [2022-08-25T01:06:35.883Z] ---> 647c56df9721 [2022-08-25T01:06:35.883Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-25T01:06:35.883Z] ---> Running in 6532c40f37c9 [2022-08-25T01:06:35.883Z] Removing intermediate container 6532c40f37c9 [2022-08-25T01:06:35.883Z] ---> d09a7b061078 [2022-08-25T01:06:35.883Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-25T01:06:35.883Z] ---> Running in ba3fe1973ff4 [2022-08-25T01:06:36.317Z] Still waiting to schedule task [2022-08-25T01:06:36.317Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-08-25T01:06:36.453Z] Removing intermediate container ba3fe1973ff4 [2022-08-25T01:06:36.453Z] ---> 4c5905391120 [2022-08-25T01:06:36.453Z] Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-25T01:06:36.453Z] ---> Running in 46dc3f095dd5 [2022-08-25T01:06:36.716Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-25T01:06:37.657Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-25T01:06:37.917Z] OK: 211 MiB in 51 packages [2022-08-25T01:06:38.179Z] Removing intermediate container 46dc3f095dd5 [2022-08-25T01:06:38.179Z] ---> fc720b313d99 [2022-08-25T01:06:38.179Z] Step 9/14 : WORKDIR /app [2022-08-25T01:06:38.179Z] ---> Running in 1144c7651ee2 [2022-08-25T01:06:38.441Z] Removing intermediate container 1144c7651ee2 [2022-08-25T01:06:38.441Z] ---> 06640c801546 [2022-08-25T01:06:38.441Z] Step 10/14 : COPY go.mod vendor* ./ [2022-08-25T01:06:38.441Z] ---> 4749a5112b5c [2022-08-25T01:06:38.441Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-25T01:06:38.441Z] ---> Running in 24edeb09174f [2022-08-25T01:07:00.407Z] Removing intermediate container 24edeb09174f [2022-08-25T01:07:00.407Z] ---> a971681ba6e2 [2022-08-25T01:07:00.407Z] Step 12/14 : COPY . . [2022-08-25T01:07:00.407Z] ---> 3f7f63304096 [2022-08-25T01:07:00.407Z] Step 13/14 : ARG MAKE="make $BUILD_TARGET" [2022-08-25T01:07:00.407Z] ---> Running in e8f244ded359 [2022-08-25T01:07:00.407Z] Removing intermediate container e8f244ded359 [2022-08-25T01:07:00.407Z] ---> 6fc7948f847a [2022-08-25T01:07:00.407Z] Step 14/14 : RUN $MAKE [2022-08-25T01:07:00.407Z] ---> Running in 8def17b090ab [2022-08-25T01:07:00.407Z] noop [2022-08-25T01:07:00.669Z] Removing intermediate container 8def17b090ab [2022-08-25T01:07:00.669Z] ---> 90a17246528b [2022-08-25T01:07:00.669Z] Successfully built 90a17246528b [2022-08-25T01:07:00.669Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:07:00.989Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-25T01:07:00.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T01:07:01.072Z] prd-ubuntu20.04-docker-8c-8g-23500 does not seem to be running inside a container [2022-08-25T01:07:01.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-460 -v /w/workspace/_app-service-configurable_PR-460:/w/workspace/_app-service-configurable_PR-460:rw,z -v /w/workspace/_app-service-configurable_PR-460@tmp:/w/workspace/_app-service-configurable_PR-460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-25T01:07:01.468Z] $ docker top 65889194a4e5335c4ead435572d5b9bc600756f63160e4111ff4b59e3b431d46 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-25T01:07:01.813Z] + go version [2022-08-25T01:07:01.813Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-25T01:07:01.828Z] $ docker stop --time=1 65889194a4e5335c4ead435572d5b9bc600756f63160e4111ff4b59e3b431d46 [2022-08-25T01:07:03.095Z] $ docker rm -f 65889194a4e5335c4ead435572d5b9bc600756f63160e4111ff4b59e3b431d46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:07:03.506Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-25T01:07:03.506Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T01:07:03.596Z] prd-ubuntu20.04-docker-8c-8g-23500 does not seem to be running inside a container [2022-08-25T01:07:03.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-460 -v /w/workspace/_app-service-configurable_PR-460:/w/workspace/_app-service-configurable_PR-460:rw,z -v /w/workspace/_app-service-configurable_PR-460@tmp:/w/workspace/_app-service-configurable_PR-460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-25T01:07:04.004Z] $ docker top 7ec76d36876ba0ea511b48fe534d37c41e6a484ce78e33a5bec076965d06e978 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-25T01:07:04.363Z] + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-460 [Pipeline] fileExists [Pipeline] sh [2022-08-25T01:07:04.662Z] + make test [2022-08-25T01:07:04.662Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-08-25T01:07:14.643Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-08-25T01:07:14.643Z] CGO_ENABLED=1 go vet ./... [2022-08-25T01:07:17.183Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-25T01:07:17.183Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-25T01:07:17.183Z] ./bin/test-attribution-txt.sh [2022-08-25T01:07:17.183Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-25T01:07:17.183Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-25T01:07:17.183Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-25T01:07:17.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-25T01:07:17.216Z] $ docker stop --time=1 7ec76d36876ba0ea511b48fe534d37c41e6a484ce78e33a5bec076965d06e978 [2022-08-25T01:07:19.190Z] $ docker rm -f 7ec76d36876ba0ea511b48fe534d37c41e6a484ce78e33a5bec076965d06e978 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-25T01:07:19.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-25T01:07:19.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-25T01:07:20.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-25T01:07:20.439Z] + ls -al . [2022-08-25T01:07:20.439Z] total 172 [2022-08-25T01:07:20.439Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 01:07 . [2022-08-25T01:07:20.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 01:05 .. [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 119 Aug 25 01:05 .dockerignore [2022-08-25T01:07:20.439Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 01:06 .git [2022-08-25T01:07:20.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 01:05 .github [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 171 Aug 25 01:05 .gitignore [2022-08-25T01:07:20.439Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 01:06 .semver [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 8830 Aug 25 01:05 Attribution.txt [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 27269 Aug 25 01:05 CHANGELOG.md [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 2123 Aug 25 01:05 Dockerfile [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 01:05 GOVERNANCE.md [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 688 Aug 25 01:05 Jenkinsfile [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 25 01:05 LICENSE [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 25 01:05 OWNERS.md [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 3718 Aug 25 01:05 README.md [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 01:06 VERSION [2022-08-25T01:07:20.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 01:05 bin [2022-08-25T01:07:20.439Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 25 01:07 coverage.out [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 3475 Aug 25 01:05 go.mod [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 36887 Aug 25 01:05 go.sum [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 1949 Aug 25 01:05 main.go [2022-08-25T01:07:20.439Z] -rw-rw-r-- 1 jenkins jenkins 2423 Aug 25 01:05 makefile [2022-08-25T01:07:20.439Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 01:05 res [2022-08-25T01:07:20.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 01:05 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:07:20.754Z] + 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=a6d956aec24c9c05879698a130546b7f9df1c909 --label arch=amd64 --label version=0.0.0 . [2022-08-25T01:07:20.755Z] Sending build context to Docker daemon 3.129MB [2022-08-25T01:07:20.755Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-08-25T01:07:20.755Z] Step 2/28 : FROM ${BASE} AS builder [2022-08-25T01:07:20.755Z] ---> 90a17246528b [2022-08-25T01:07:20.755Z] Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-25T01:07:20.755Z] ---> Running in 0a2387c925fe [2022-08-25T01:07:21.015Z] Removing intermediate container 0a2387c925fe [2022-08-25T01:07:21.015Z] ---> 39e84b1cb70f [2022-08-25T01:07:21.015Z] Step 4/28 : ARG ALPINE_PKG_EXTRA="" [2022-08-25T01:07:21.015Z] ---> Running in acec10fbc82a [2022-08-25T01:07:21.276Z] Removing intermediate container acec10fbc82a [2022-08-25T01:07:21.276Z] ---> 731337be0ff5 [2022-08-25T01:07:21.276Z] Step 5/28 : ARG BUILD_TARGET="build" [2022-08-25T01:07:21.276Z] ---> Running in b448d4b55bce [2022-08-25T01:07:21.276Z] Removing intermediate container b448d4b55bce [2022-08-25T01:07:21.276Z] ---> d11b04de9f1a [2022-08-25T01:07:21.276Z] Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-25T01:07:21.276Z] ---> Running in a2b09b122dd0 [2022-08-25T01:07:21.539Z] Removing intermediate container a2b09b122dd0 [2022-08-25T01:07:21.539Z] ---> 1760ce688507 [2022-08-25T01:07:21.539Z] Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-25T01:07:21.539Z] ---> Running in a14acb0ad0c1 [2022-08-25T01:07:22.110Z] Removing intermediate container a14acb0ad0c1 [2022-08-25T01:07:22.110Z] ---> eeab5a320413 [2022-08-25T01:07:22.110Z] Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-25T01:07:22.110Z] ---> Running in 6ff63c944f33 [2022-08-25T01:07:22.370Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-25T01:07:23.312Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-25T01:07:23.312Z] OK: 211 MiB in 51 packages [2022-08-25T01:07:23.571Z] Removing intermediate container 6ff63c944f33 [2022-08-25T01:07:23.571Z] ---> 033557b9bc4e [2022-08-25T01:07:23.571Z] Step 9/28 : WORKDIR /app [2022-08-25T01:07:23.831Z] ---> Running in 5024eb2b3c0d [2022-08-25T01:07:23.831Z] Removing intermediate container 5024eb2b3c0d [2022-08-25T01:07:23.831Z] ---> ec3ebd5f1fea [2022-08-25T01:07:23.831Z] Step 10/28 : COPY go.mod vendor* ./ [2022-08-25T01:07:23.831Z] ---> 22f1f74af808 [2022-08-25T01:07:23.831Z] Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-25T01:07:23.831Z] ---> Running in 5f30ec288fe3 [2022-08-25T01:07:24.767Z] Removing intermediate container 5f30ec288fe3 [2022-08-25T01:07:24.767Z] ---> bebd1aab8a0a [2022-08-25T01:07:24.767Z] Step 12/28 : COPY . . [2022-08-25T01:07:24.767Z] ---> 379912e4ad28 [2022-08-25T01:07:24.767Z] Step 13/28 : ARG MAKE="make $BUILD_TARGET" [2022-08-25T01:07:24.767Z] ---> Running in f26640d8222f [2022-08-25T01:07:25.027Z] Removing intermediate container f26640d8222f [2022-08-25T01:07:25.027Z] ---> 34f58b7b354f [2022-08-25T01:07:25.027Z] Step 14/28 : RUN $MAKE [2022-08-25T01:07:25.027Z] ---> Running in 734b9e7f0555 [2022-08-25T01:07:25.286Z] CGO_ENABLED=1 go build -tags -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.30 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-08-25T01:07:25.286Z] flag provided but not defined: -linkmode [2022-08-25T01:07:25.286Z] usage: go build [-o output] [build flags] [packages] [2022-08-25T01:07:25.286Z] Run 'go help build' for details. [2022-08-25T01:07:25.286Z] make: *** [makefile:28: build] Error 2 [2022-08-25T01:07:25.286Z] The command '/bin/sh -c $MAKE' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:07:25.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-25T01:07:25.675Z] [2022-08-25T01:07:25.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:07:25.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-25T01:07:25.978Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-25T01:07:25.978Z] 5eb5b503b376: Pulling fs layer [2022-08-25T01:07:25.978Z] 5c69ac0246d0: Pulling fs layer [2022-08-25T01:07:25.978Z] ec43610c2a17: Pulling fs layer [2022-08-25T01:07:25.978Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-25T01:07:25.978Z] 33b1e0a273af: Pulling fs layer [2022-08-25T01:07:25.978Z] 5d3b04190fa2: Pulling fs layer [2022-08-25T01:07:25.978Z] 2f39f015ded8: Pulling fs layer [2022-08-25T01:07:25.978Z] 3a2ae6a8a46f: Waiting [2022-08-25T01:07:25.978Z] 33b1e0a273af: Waiting [2022-08-25T01:07:25.978Z] 5d3b04190fa2: Waiting [2022-08-25T01:07:25.978Z] 5c69ac0246d0: Download complete [2022-08-25T01:07:25.978Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-25T01:07:25.978Z] 3a2ae6a8a46f: Download complete [2022-08-25T01:07:25.978Z] 33b1e0a273af: Verifying Checksum [2022-08-25T01:07:25.978Z] 33b1e0a273af: Download complete [2022-08-25T01:07:25.978Z] ec43610c2a17: Verifying Checksum [2022-08-25T01:07:25.978Z] ec43610c2a17: Download complete [2022-08-25T01:07:26.237Z] 5d3b04190fa2: Verifying Checksum [2022-08-25T01:07:26.237Z] 5d3b04190fa2: Download complete [2022-08-25T01:07:26.237Z] 5eb5b503b376: Verifying Checksum [2022-08-25T01:07:26.237Z] 5eb5b503b376: Download complete [2022-08-25T01:07:26.806Z] 2f39f015ded8: Download complete [2022-08-25T01:07:27.375Z] 5eb5b503b376: Pull complete [2022-08-25T01:07:27.375Z] 5c69ac0246d0: Pull complete [2022-08-25T01:07:27.945Z] ec43610c2a17: Pull complete [2022-08-25T01:07:27.945Z] 3a2ae6a8a46f: Pull complete [2022-08-25T01:07:28.205Z] 33b1e0a273af: Pull complete [2022-08-25T01:07:28.205Z] 5d3b04190fa2: Pull complete [2022-08-25T01:07:32.398Z] 2f39f015ded8: Pull complete [2022-08-25T01:07:32.398Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-25T01:07:32.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-25T01:07:32.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T01:07:32.489Z] prd-ubuntu20.04-docker-8c-8g-23500 does not seem to be running inside a container [2022-08-25T01:07:32.525Z] $ 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-460 -v /w/workspace/_app-service-configurable_PR-460:/w/workspace/_app-service-configurable_PR-460:rw,z -v /w/workspace/_app-service-configurable_PR-460@tmp:/w/workspace/_app-service-configurable_PR-460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-25T01:07:35.327Z] $ docker top aceb2d151dfa4e3c26b13a3e14fc8487513c715f126d16c0c2c546edb8840cd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:07:35.741Z] ---> job-cost.sh [2022-08-25T01:07:35.741Z] lf-activate-venv: SKIPPING [2022-08-25T01:07:35.741Z] INFO: No Stack... [2022-08-25T01:07:36.312Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-25T01:07:36.572Z] INFO: Archiving Costs [Pipeline] sh [2022-08-25T01:07:36.918Z] + cat /w/workspace/_app-service-configurable_PR-460/archives/cost.csv [2022-08-25T01:07:36.918Z] + cut -d, -f6 [Pipeline] lock [2022-08-25T01:07:36.933Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] [2022-08-25T01:07:36.943Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] did not exist. Created. [2022-08-25T01:07:36.944Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-25T01:07:37.253Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-25T01:07:37.289Z] Stashed 1 file(s) [Pipeline] } [2022-08-25T01:07:37.299Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-25T01:07:37.325Z] $ docker stop --time=1 aceb2d151dfa4e3c26b13a3e14fc8487513c715f126d16c0c2c546edb8840cd8 [2022-08-25T01:07:38.477Z] $ docker rm -f aceb2d151dfa4e3c26b13a3e14fc8487513c715f126d16c0c2c546edb8840cd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-25T01:07:38.589Z] Failed in branch amd64 [2022-08-25T01:10:04.630Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23501 in /w/workspace/_app-service-configurable_PR-460 [Pipeline] { [Pipeline] ws [2022-08-25T01:10:04.644Z] Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout [2022-08-25T01:10:04.699Z] Selected Git installation does not exist. Using Default [2022-08-25T01:10:04.699Z] The recommended git tool is: NONE [2022-08-25T01:10:11.495Z] using credential edgex-jenkins-ssh [2022-08-25T01:10:11.514Z] Cloning the remote Git repository [2022-08-25T01:10:11.573Z] Cloning repository git@github.com:edgexfoundry/app-service-configurable.git [2022-08-25T01:10:11.651Z] > git init /w/workspace/app-service-configurable/2 # timeout=10 [2022-08-25T01:10:11.749Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-08-25T01:10:11.750Z] > git --version # timeout=10 [2022-08-25T01:10:11.771Z] > git --version # 'git version 2.25.1' [2022-08-25T01:10:11.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-25T01:10:11.851Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-25T01:10:13.017Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-08-25T01:10:13.039Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-25T01:10:13.071Z] > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 [2022-08-25T01:10:13.108Z] Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git [2022-08-25T01:10:13.109Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-25T01:10:13.121Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/460/head:refs/remotes/origin/PR-460 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-25T01:10:13.666Z] Merging remotes/origin/main commit a54a0972f59d0215bd900b67794f07db15feaf52 into PR head commit a6d956aec24c9c05879698a130546b7f9df1c909 [2022-08-25T01:10:13.902Z] Merge succeeded, producing a6d956aec24c9c05879698a130546b7f9df1c909 [2022-08-25T01:10:13.902Z] Checking out Revision a6d956aec24c9c05879698a130546b7f9df1c909 (PR-460) [2022-08-25T01:10:13.690Z] > git config core.sparsecheckout # timeout=10 [2022-08-25T01:10:13.710Z] > git checkout -f a6d956aec24c9c05879698a130546b7f9df1c909 # timeout=10 [2022-08-25T01:10:13.804Z] > git remote # timeout=10 [2022-08-25T01:10:13.833Z] > git config --get remote.origin.url # timeout=10 [2022-08-25T01:10:13.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-25T01:10:13.859Z] > git merge a54a0972f59d0215bd900b67794f07db15feaf52 # timeout=10 [2022-08-25T01:10:13.884Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-25T01:10:13.915Z] > git config core.sparsecheckout # timeout=10 [2022-08-25T01:10:13.934Z] > git checkout -f a6d956aec24c9c05879698a130546b7f9df1c909 # timeout=10 [2022-08-25T01:10:18.178Z] Commit message: "build: add build targets for NATS and add NATS configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-25T01:10:19.181Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-25T01:10:19.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-25T01:10:19.181Z] Dload Upload Total Spent Left Speed [2022-08-25T01:10:19.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 89375 [Pipeline] sh [2022-08-25T01:10:19.928Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-25T01:10:20.273Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-25T01:10:20.273Z] + sudo tee /etc/docker/daemon.new [2022-08-25T01:10:20.273Z] { [2022-08-25T01:10:20.273Z] "registry-mirrors": [ [2022-08-25T01:10:20.273Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-25T01:10:20.273Z] ], [2022-08-25T01:10:20.273Z] "bip": "10.250.0.254/24", [2022-08-25T01:10:20.273Z] "hosts": [ [2022-08-25T01:10:20.273Z] "tcp://0.0.0.0:5555", [2022-08-25T01:10:20.273Z] "unix:///var/run/docker.sock" [2022-08-25T01:10:20.273Z] ], [2022-08-25T01:10:20.273Z] "mtu": 1458, [2022-08-25T01:10:20.273Z] "selinux-enabled": true, [2022-08-25T01:10:20.273Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-25T01:10:20.273Z] } [Pipeline] sh [2022-08-25T01:10:20.623Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-25T01:10:20.974Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-25T01:10:39.345Z] provisioning config files... [2022-08-25T01:10:39.371Z] copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config1361643299390681302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:10:39.737Z] ---> docker-login.sh [2022-08-25T01:10:39.737Z] nexus3.edgexfoundry.org:10001 [2022-08-25T01:10:40.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:10:40.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:10:40.948Z] Configure a credential helper to remove this warning. See [2022-08-25T01:10:40.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:10:40.948Z] [2022-08-25T01:10:40.948Z] Login Succeeded [2022-08-25T01:10:40.948Z] nexus3.edgexfoundry.org:10002 [2022-08-25T01:10:41.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:10:41.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:10:41.226Z] Configure a credential helper to remove this warning. See [2022-08-25T01:10:41.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:10:41.226Z] [2022-08-25T01:10:41.226Z] Login Succeeded [2022-08-25T01:10:41.226Z] nexus3.edgexfoundry.org:10003 [2022-08-25T01:10:41.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:10:41.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:10:41.831Z] Configure a credential helper to remove this warning. See [2022-08-25T01:10:41.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:10:41.831Z] [2022-08-25T01:10:41.831Z] Login Succeeded [2022-08-25T01:10:41.831Z] nexus3.edgexfoundry.org:10004 [2022-08-25T01:10:42.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:10:42.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:10:42.385Z] Configure a credential helper to remove this warning. See [2022-08-25T01:10:42.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:10:42.385Z] [2022-08-25T01:10:42.385Z] Login Succeeded [2022-08-25T01:10:42.385Z] docker.io [2022-08-25T01:10:42.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-25T01:10:43.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-25T01:10:43.262Z] Configure a credential helper to remove this warning. See [2022-08-25T01:10:43.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-25T01:10:43.262Z] [2022-08-25T01:10:43.262Z] Login Succeeded [2022-08-25T01:10:43.262Z] ---> docker-login.sh ends [Pipeline] } [2022-08-25T01:10:43.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-25T01:10:43.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-25T01:10:44.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-25T01:10:44.013Z] ========================================================= [2022-08-25T01:10:44.013Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-25T01:10:44.013Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:10:44.382Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-25T01:10:44.382Z] Sending build context to Docker daemon 206.3kB [2022-08-25T01:10:44.657Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-08-25T01:10:44.657Z] Step 2/14 : FROM ${BASE} AS builder [2022-08-25T01:10:44.935Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-25T01:10:44.935Z] b3c136eddcbf: Pulling fs layer [2022-08-25T01:10:44.935Z] c0a3192eca97: Pulling fs layer [2022-08-25T01:10:44.935Z] a050256f5b6f: Pulling fs layer [2022-08-25T01:10:44.935Z] 656be50a0ddc: Pulling fs layer [2022-08-25T01:10:44.935Z] 2bbca73fdf42: Pulling fs layer [2022-08-25T01:10:44.935Z] 46d945488cbd: Pulling fs layer [2022-08-25T01:10:44.935Z] 8a5474983e97: Pulling fs layer [2022-08-25T01:10:44.935Z] 329c88fbcd65: Pulling fs layer [2022-08-25T01:10:44.935Z] 656be50a0ddc: Waiting [2022-08-25T01:10:44.935Z] 46d945488cbd: Waiting [2022-08-25T01:10:44.935Z] 2bbca73fdf42: Waiting [2022-08-25T01:10:44.935Z] 8a5474983e97: Waiting [2022-08-25T01:10:44.935Z] 329c88fbcd65: Waiting [2022-08-25T01:10:44.935Z] a050256f5b6f: Verifying Checksum [2022-08-25T01:10:44.935Z] a050256f5b6f: Download complete [2022-08-25T01:10:44.935Z] c0a3192eca97: Download complete [2022-08-25T01:10:44.935Z] 2bbca73fdf42: Verifying Checksum [2022-08-25T01:10:44.935Z] 2bbca73fdf42: Download complete [2022-08-25T01:10:44.935Z] 46d945488cbd: Verifying Checksum [2022-08-25T01:10:44.935Z] 46d945488cbd: Download complete [2022-08-25T01:10:44.935Z] b3c136eddcbf: Download complete [2022-08-25T01:10:45.977Z] b3c136eddcbf: Pull complete [2022-08-25T01:10:46.259Z] 329c88fbcd65: Verifying Checksum [2022-08-25T01:10:46.259Z] 329c88fbcd65: Download complete [2022-08-25T01:10:46.539Z] c0a3192eca97: Pull complete [2022-08-25T01:10:46.813Z] a050256f5b6f: Pull complete [2022-08-25T01:10:47.420Z] 8a5474983e97: Verifying Checksum [2022-08-25T01:10:47.420Z] 8a5474983e97: Download complete [2022-08-25T01:10:48.018Z] 656be50a0ddc: Verifying Checksum [2022-08-25T01:10:48.018Z] 656be50a0ddc: Download complete [2022-08-25T01:11:03.114Z] 656be50a0ddc: Pull complete [2022-08-25T01:11:03.114Z] 2bbca73fdf42: Pull complete [2022-08-25T01:11:03.114Z] 46d945488cbd: Pull complete [2022-08-25T01:11:07.446Z] 8a5474983e97: Pull complete [2022-08-25T01:11:09.421Z] 329c88fbcd65: Pull complete [2022-08-25T01:11:09.421Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-25T01:11:09.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-25T01:11:09.421Z] ---> ff4287adb874 [2022-08-25T01:11:09.421Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-25T01:11:10.411Z] ---> Running in 7cf7939d2d01 [2022-08-25T01:11:11.873Z] Removing intermediate container 7cf7939d2d01 [2022-08-25T01:11:11.873Z] ---> 33afe8be850f [2022-08-25T01:11:11.873Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-08-25T01:11:12.147Z] ---> Running in 9cc02158f5db [2022-08-25T01:11:12.423Z] Removing intermediate container 9cc02158f5db [2022-08-25T01:11:12.423Z] ---> 628045f54d1f [2022-08-25T01:11:12.423Z] Step 5/14 : ARG BUILD_TARGET="build" [2022-08-25T01:11:12.423Z] ---> Running in ae2fdbb7e54d [2022-08-25T01:11:12.697Z] Removing intermediate container ae2fdbb7e54d [2022-08-25T01:11:12.697Z] ---> 185834b85dfb [2022-08-25T01:11:12.697Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-25T01:11:12.971Z] ---> Running in c8a8cd903e57 [2022-08-25T01:11:13.244Z] Removing intermediate container c8a8cd903e57 [2022-08-25T01:11:13.244Z] ---> 0bb8b4dd52da [2022-08-25T01:11:13.244Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-25T01:11:13.244Z] ---> Running in 79086c4e9b0c [2022-08-25T01:11:15.233Z] Removing intermediate container 79086c4e9b0c [2022-08-25T01:11:15.233Z] ---> 5b9de2a3b851 [2022-08-25T01:11:15.233Z] Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-25T01:11:15.233Z] ---> Running in e9131d60b79a [2022-08-25T01:11:16.217Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-25T01:11:17.191Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-25T01:11:18.176Z] OK: 221 MiB in 51 packages [2022-08-25T01:11:19.175Z] Removing intermediate container e9131d60b79a [2022-08-25T01:11:19.175Z] ---> 5b264cc3bd8a [2022-08-25T01:11:19.175Z] Step 9/14 : WORKDIR /app [2022-08-25T01:11:19.175Z] ---> Running in 7f56e9afb356 [2022-08-25T01:11:19.450Z] Removing intermediate container 7f56e9afb356 [2022-08-25T01:11:19.450Z] ---> 5d1bc5d1a55e [2022-08-25T01:11:19.450Z] Step 10/14 : COPY go.mod vendor* ./ [2022-08-25T01:11:20.048Z] ---> 43286ad9b026 [2022-08-25T01:11:20.048Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-25T01:11:20.048Z] ---> Running in 689255caf8ef [2022-08-25T01:12:16.593Z] Removing intermediate container 689255caf8ef [2022-08-25T01:12:16.593Z] ---> 4be4e53eb7ba [2022-08-25T01:12:16.593Z] Step 12/14 : COPY . . [2022-08-25T01:12:16.593Z] ---> dbda479d4a21 [2022-08-25T01:12:16.593Z] Step 13/14 : ARG MAKE="make $BUILD_TARGET" [2022-08-25T01:12:16.593Z] ---> Running in 1842b779c8f3 [2022-08-25T01:12:16.593Z] Removing intermediate container 1842b779c8f3 [2022-08-25T01:12:16.593Z] ---> bcd99cb73ac6 [2022-08-25T01:12:16.593Z] Step 14/14 : RUN $MAKE [2022-08-25T01:12:16.593Z] ---> Running in b43bb445979c [2022-08-25T01:12:16.593Z] noop [2022-08-25T01:12:16.593Z] Removing intermediate container b43bb445979c [2022-08-25T01:12:16.593Z] ---> 07b87c2e3749 [2022-08-25T01:12:16.593Z] Successfully built 07b87c2e3749 [2022-08-25T01:12:16.593Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:12:16.963Z] + docker inspect -f . ci-base-image-arm64 [2022-08-25T01:12:16.963Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T01:12:17.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-23501 does not seem to be running inside a container [2022-08-25T01:12:17.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-25T01:12:18.612Z] $ docker top f50e78b2061aaacffc00378dd64c47beb17aaae701a78d3734d21ff55d86bfc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-25T01:12:19.561Z] + go version [2022-08-25T01:12:19.561Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-25T01:12:19.595Z] $ docker stop --time=1 f50e78b2061aaacffc00378dd64c47beb17aaae701a78d3734d21ff55d86bfc3 [2022-08-25T01:12:21.287Z] $ docker rm -f f50e78b2061aaacffc00378dd64c47beb17aaae701a78d3734d21ff55d86bfc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:12:21.905Z] + docker inspect -f . ci-base-image-arm64 [2022-08-25T01:12:21.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T01:12:22.138Z] prd-ubuntu20.04-docker-arm64-4c-16g-23501 does not seem to be running inside a container [2022-08-25T01:12:22.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-25T01:12:23.529Z] $ docker top 32483f6d6d14de4e29cac930291c0f32df31621094995496ef61f068bfd35455 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-25T01:12:24.461Z] + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh [2022-08-25T01:12:25.140Z] + make test [2022-08-25T01:12:25.140Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2022-08-25T01:13:47.023Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2022-08-25T01:13:47.023Z] CGO_ENABLED=1 go vet ./... [2022-08-25T01:14:05.410Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-25T01:14:05.410Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-25T01:14:05.410Z] ./bin/test-attribution-txt.sh [2022-08-25T01:14:05.410Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-25T01:14:05.410Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-25T01:14:05.410Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-25T01:14:05.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-25T01:14:05.454Z] $ docker stop --time=1 32483f6d6d14de4e29cac930291c0f32df31621094995496ef61f068bfd35455 [2022-08-25T01:14:07.254Z] $ docker rm -f 32483f6d6d14de4e29cac930291c0f32df31621094995496ef61f068bfd35455 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-25T01:14:08.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-25T01:14:08.283Z] Warning: overwriting stash ‘coverage-report’ [2022-08-25T01:14:08.796Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-25T01:14:09.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-25T01:14:09.547Z] + ls -al . [2022-08-25T01:14:09.547Z] total 168 [2022-08-25T01:14:09.547Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 25 01:12 . [2022-08-25T01:14:09.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 01:10 .. [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 119 Aug 25 01:10 .dockerignore [2022-08-25T01:14:09.547Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 01:10 .git [2022-08-25T01:14:09.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 01:10 .github [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 171 Aug 25 01:10 .gitignore [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 8830 Aug 25 01:10 Attribution.txt [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 27269 Aug 25 01:10 CHANGELOG.md [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 2123 Aug 25 01:10 Dockerfile [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 01:10 GOVERNANCE.md [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 688 Aug 25 01:10 Jenkinsfile [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 25 01:10 LICENSE [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 25 01:10 OWNERS.md [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 3718 Aug 25 01:10 README.md [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 01:06 VERSION [2022-08-25T01:14:09.547Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 01:10 bin [2022-08-25T01:14:09.547Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 25 01:12 coverage.out [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 3475 Aug 25 01:10 go.mod [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 36887 Aug 25 01:10 go.sum [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 1949 Aug 25 01:10 main.go [2022-08-25T01:14:09.547Z] -rw-rw-r-- 1 jenkins jenkins 2423 Aug 25 01:10 makefile [2022-08-25T01:14:09.547Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 01:10 res [2022-08-25T01:14:09.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 01:10 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:14:09.917Z] + 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=a6d956aec24c9c05879698a130546b7f9df1c909 --label arch=arm64 --label version=0.0.0 . [2022-08-25T01:14:09.918Z] Sending build context to Docker daemon 207.4kB [2022-08-25T01:14:10.197Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-08-25T01:14:10.197Z] Step 2/28 : FROM ${BASE} AS builder [2022-08-25T01:14:10.197Z] ---> 07b87c2e3749 [2022-08-25T01:14:10.197Z] Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-08-25T01:14:10.197Z] ---> Running in 05df55eea5ef [2022-08-25T01:14:10.795Z] Removing intermediate container 05df55eea5ef [2022-08-25T01:14:10.795Z] ---> aa2c45459d45 [2022-08-25T01:14:10.795Z] Step 4/28 : ARG ALPINE_PKG_EXTRA="" [2022-08-25T01:14:10.795Z] ---> Running in f50572a5cb55 [2022-08-25T01:14:11.069Z] Removing intermediate container f50572a5cb55 [2022-08-25T01:14:11.069Z] ---> f54df36307a7 [2022-08-25T01:14:11.069Z] Step 5/28 : ARG BUILD_TARGET="build" [2022-08-25T01:14:11.069Z] ---> Running in dfa8df34fcea [2022-08-25T01:14:11.673Z] Removing intermediate container dfa8df34fcea [2022-08-25T01:14:11.673Z] ---> 9dce7a1428f4 [2022-08-25T01:14:11.673Z] Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-25T01:14:11.673Z] ---> Running in 86e9f9f2340d [2022-08-25T01:14:11.957Z] Removing intermediate container 86e9f9f2340d [2022-08-25T01:14:11.958Z] ---> 85f6d8208196 [2022-08-25T01:14:11.958Z] Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-25T01:14:11.958Z] ---> Running in 3d9457a24276 [2022-08-25T01:14:13.955Z] Removing intermediate container 3d9457a24276 [2022-08-25T01:14:13.955Z] ---> c141d7d650b4 [2022-08-25T01:14:13.955Z] Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-25T01:14:13.955Z] ---> Running in 252eda3566a1 [2022-08-25T01:14:14.940Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-25T01:14:15.922Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-25T01:14:16.904Z] OK: 221 MiB in 51 packages [2022-08-25T01:14:17.897Z] Removing intermediate container 252eda3566a1 [2022-08-25T01:14:17.897Z] ---> 750d97d22362 [2022-08-25T01:14:17.897Z] Step 9/28 : WORKDIR /app [2022-08-25T01:14:17.897Z] ---> Running in 5945529371d2 [2022-08-25T01:14:18.169Z] Removing intermediate container 5945529371d2 [2022-08-25T01:14:18.169Z] ---> 6b09db9e2af2 [2022-08-25T01:14:18.169Z] Step 10/28 : COPY go.mod vendor* ./ [2022-08-25T01:14:18.767Z] ---> ddc6cfa16ac4 [2022-08-25T01:14:18.767Z] Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-25T01:14:18.767Z] ---> Running in 8884b11a69b8 [2022-08-25T01:14:20.747Z] Removing intermediate container 8884b11a69b8 [2022-08-25T01:14:20.748Z] ---> 74385c243521 [2022-08-25T01:14:20.748Z] Step 12/28 : COPY . . [2022-08-25T01:14:21.342Z] ---> aa2e1be65b24 [2022-08-25T01:14:21.342Z] Step 13/28 : ARG MAKE="make $BUILD_TARGET" [2022-08-25T01:14:21.342Z] ---> Running in 196fda2c2c2d [2022-08-25T01:14:21.617Z] Removing intermediate container 196fda2c2c2d [2022-08-25T01:14:21.617Z] ---> ec4677c16309 [2022-08-25T01:14:21.617Z] Step 14/28 : RUN $MAKE [2022-08-25T01:14:21.617Z] ---> Running in 1ba971ce1894 [2022-08-25T01:14:23.053Z] CGO_ENABLED=1 go build -tags -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.30 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable [2022-08-25T01:14:23.053Z] flag provided but not defined: -linkmode [2022-08-25T01:14:23.053Z] usage: go build [-o output] [build flags] [packages] [2022-08-25T01:14:23.053Z] Run 'go help build' for details. [2022-08-25T01:14:23.053Z] make: *** [makefile:28: build] Error 2 [2022-08-25T01:14:23.053Z] The command '/bin/sh -c $MAKE' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:14:23.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-25T01:14:23.490Z] [2022-08-25T01:14:23.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:14:23.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-25T01:14:24.124Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-25T01:14:24.124Z] 8998bd30e6a1: Pulling fs layer [2022-08-25T01:14:24.124Z] 04944245beec: Pulling fs layer [2022-08-25T01:14:24.124Z] 699f458cf7ca: Pulling fs layer [2022-08-25T01:14:24.124Z] 765212b225bb: Pulling fs layer [2022-08-25T01:14:24.124Z] f23df028b6ca: Pulling fs layer [2022-08-25T01:14:24.124Z] d65c8cfc05b1: Pulling fs layer [2022-08-25T01:14:24.124Z] 2437ff75d9bd: Pulling fs layer [2022-08-25T01:14:24.124Z] f23df028b6ca: Waiting [2022-08-25T01:14:24.124Z] d65c8cfc05b1: Waiting [2022-08-25T01:14:24.124Z] 2437ff75d9bd: Waiting [2022-08-25T01:14:24.124Z] 765212b225bb: Waiting [2022-08-25T01:14:24.124Z] 04944245beec: Verifying Checksum [2022-08-25T01:14:24.124Z] 04944245beec: Download complete [2022-08-25T01:14:24.124Z] 765212b225bb: Verifying Checksum [2022-08-25T01:14:24.124Z] 765212b225bb: Download complete [2022-08-25T01:14:24.124Z] f23df028b6ca: Download complete [2022-08-25T01:14:24.124Z] d65c8cfc05b1: Verifying Checksum [2022-08-25T01:14:24.124Z] d65c8cfc05b1: Download complete [2022-08-25T01:14:24.402Z] 699f458cf7ca: Verifying Checksum [2022-08-25T01:14:24.402Z] 699f458cf7ca: Download complete [2022-08-25T01:14:24.674Z] 8998bd30e6a1: Download complete [2022-08-25T01:14:27.327Z] 2437ff75d9bd: Verifying Checksum [2022-08-25T01:14:27.327Z] 2437ff75d9bd: Download complete [2022-08-25T01:14:28.765Z] 8998bd30e6a1: Pull complete [2022-08-25T01:14:29.364Z] 04944245beec: Pull complete [2022-08-25T01:14:30.805Z] 699f458cf7ca: Pull complete [2022-08-25T01:14:31.079Z] 765212b225bb: Pull complete [2022-08-25T01:14:32.074Z] f23df028b6ca: Pull complete [2022-08-25T01:14:32.347Z] d65c8cfc05b1: Pull complete [2022-08-25T01:14:47.446Z] 2437ff75d9bd: Pull complete [2022-08-25T01:14:47.446Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-25T01:14:47.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-25T01:14:47.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T01:14:47.787Z] prd-ubuntu20.04-docker-arm64-4c-16g-23501 does not seem to be running inside a container [2022-08-25T01:14:47.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-25T01:14:50.525Z] $ docker top 33be137ac99d8f7b2f71c2b01f664df5210e83835e198a3add4380cb6ec700ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:14:51.434Z] ---> job-cost.sh [2022-08-25T01:14:51.434Z] lf-activate-venv: SKIPPING [2022-08-25T01:14:51.434Z] INFO: No Stack... [2022-08-25T01:14:51.709Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-25T01:14:52.687Z] INFO: Archiving Costs [Pipeline] sh [2022-08-25T01:14:53.365Z] + cat /w/workspace/app-service-configurable/2/archives/cost.csv [2022-08-25T01:14:53.365Z] + cut -d, -f6 [Pipeline] lock [2022-08-25T01:14:53.435Z] Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] [2022-08-25T01:14:53.443Z] Resource [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] did not exist. Created. [2022-08-25T01:14:53.443Z] Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-25T01:14:54.134Z] /w/workspace/app-service-configurable/2@tmp/durable-52180c4b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-25T01:14:54.823Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-25T01:14:54.851Z] Warning: overwriting stash ‘stack-cost’ [2022-08-25T01:14:54.904Z] Stashed 1 file(s) [Pipeline] } [2022-08-25T01:14:54.910Z] Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-25T01:14:54.935Z] $ docker stop --time=1 33be137ac99d8f7b2f71c2b01f664df5210e83835e198a3add4380cb6ec700ac [2022-08-25T01:14:56.440Z] $ docker rm -f 33be137ac99d8f7b2f71c2b01f664df5210e83835e198a3add4380cb6ec700ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-25T01:14:56.744Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-25T01:14:57.525Z] + [ -d /w/workspace/_app-service-configurable_PR-460/archives ] [2022-08-25T01:14:57.525Z] + ls -al /w/workspace/_app-service-configurable_PR-460/archives [2022-08-25T01:14:57.525Z] total 16 [2022-08-25T01:14:57.525Z] drwxr-xr-x 3 root root 4096 Aug 25 01:07 . [2022-08-25T01:14:57.525Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 01:07 .. [2022-08-25T01:14:57.525Z] drwxr-xr-x 2 root root 4096 Aug 25 01:07 cost [2022-08-25T01:14:57.525Z] -rw-r--r-- 1 root root 96 Aug 25 01:07 cost.csv [2022-08-25T01:14:57.525Z] + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-460/archives [2022-08-25T01:14:57.525Z] + ls -al /w/workspace/_app-service-configurable_PR-460/archives [2022-08-25T01:14:57.525Z] total 16 [2022-08-25T01:14:57.525Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 01:07 . [2022-08-25T01:14:57.525Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 01:07 .. [2022-08-25T01:14:57.525Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 01:07 cost [2022-08-25T01:14:57.525Z] -rw-r--r-- 1 jenkins jenkins 96 Aug 25 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:14:57.824Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:14:58.700Z] ---> package-listing.sh [2022-08-25T01:14:58.700Z] ++ facter osfamily [2022-08-25T01:14:58.700Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-25T01:14:58.980Z] + OS_FAMILY=debian [2022-08-25T01:14:58.980Z] + workspace=/w/workspace/_app-service-configurable_PR-460 [2022-08-25T01:14:58.980Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-25T01:14:58.980Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-25T01:14:58.980Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-25T01:14:58.980Z] + PACKAGES=/tmp/packages_start.txt [2022-08-25T01:14:58.980Z] + '[' /w/workspace/_app-service-configurable_PR-460 ']' [2022-08-25T01:14:58.980Z] + PACKAGES=/tmp/packages_end.txt [2022-08-25T01:14:58.980Z] + case "${OS_FAMILY}" in [2022-08-25T01:14:58.980Z] + dpkg -l [2022-08-25T01:14:58.980Z] + grep '^ii' [2022-08-25T01:14:58.980Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-25T01:14:58.980Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-25T01:14:58.980Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-25T01:14:58.980Z] + '[' /w/workspace/_app-service-configurable_PR-460 ']' [2022-08-25T01:14:58.980Z] + mkdir -p /w/workspace/_app-service-configurable_PR-460/archives/ [2022-08-25T01:14:58.980Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-460/archives/ [Pipeline] echo [2022-08-25T01:14:58.999Z] 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-460/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-25T01:14:59.281Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-25T01:14:59.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-25T01:14:59.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-25T01:14:59.985Z] prd-ubuntu20.04-docker-8c-8g-23500 does not seem to be running inside a container [2022-08-25T01:15:00.008Z] $ 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-460/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-460 -v /w/workspace/_app-service-configurable_PR-460:/w/workspace/_app-service-configurable_PR-460:rw,z -v /w/workspace/_app-service-configurable_PR-460@tmp:/w/workspace/_app-service-configurable_PR-460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-25T01:15:00.327Z] $ docker top c86b4e66aefc8f61f3839319f775ecb00ad1d8274645687e1a1edb32f4a27866 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-25T01:15:00.714Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-25T01:15:01.008Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-25T01:15:01.298Z] + ls /var/log/sa-host [2022-08-25T01:15:01.298Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-25T01:15:01.369Z] provisioning config files... [2022-08-25T01:15:01.378Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-460@tmp/config7228233052882932768tmp [Pipeline] { [Pipeline] echo [2022-08-25T01:15:01.392Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:15:01.688Z] ---> create-netrc.sh [Pipeline] } [2022-08-25T01:15:01.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:15:02.046Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-25T01:15:02.061Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:15:02.378Z] ---> sudo-logs.sh [2022-08-25T01:15:02.378Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-25T01:15:02.411Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:15:02.699Z] ---> job-cost.sh [2022-08-25T01:15:02.700Z] lf-activate-venv: SKIPPING [2022-08-25T01:15:02.700Z] DEBUG: total: 0.2199999988079071 [2022-08-25T01:15:02.700Z] INFO: Retrieving Stack Cost... [2022-08-25T01:15:02.964Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-25T01:15:03.535Z] INFO: Archiving Costs [Pipeline] echo [2022-08-25T01:15:03.548Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-25T01:15:03.841Z] ---> logs-deploy.sh [2022-08-25T01:15:03.841Z] lf-activate-venv: SKIPPING [2022-08-25T01:15:03.841Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-460/2 [2022-08-25T01:15:03.841Z] INFO: archiving workspace using pattern(s): [2022-08-25T01:15:05.229Z] Archives upload complete. [2022-08-25T01:15:05.229Z] INFO: archiving logs to Nexus