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 01:06:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:06:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:06:02 ========================================================= 01:06:02 EdgeX Global Pipelines Version Info 01:06:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:06:02 ------------------- 01:06:02 stable info: 01:06:02 ------------------- 01:06:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:06:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:06:02 Message: update stable to v1.0.239 01:06:03 ------------------- 01:06:03 experimental info: 01:06:03 ------------------- 01:06:03 Commited By: **** collab-it+edgex@linuxfoundation.org 01:06:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:06:03 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:06:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-460 [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-460 [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-460 [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6d956aec24c9c05879698a130546b7f9df1c909 [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6d956a [Pipeline] echo 01:06:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:06:04 provisioning config files... 01:06:04 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-460@tmp/config6350997077629064223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:04 ---> docker-login.sh 01:06:04 nexus3.edgexfoundry.org:10001 01:06:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:04 Configure a credential helper to remove this warning. See 01:06:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:04 01:06:04 Login Succeeded 01:06:04 nexus3.edgexfoundry.org:10002 01:06:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:04 Configure a credential helper to remove this warning. See 01:06:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:04 01:06:04 Login Succeeded 01:06:04 nexus3.edgexfoundry.org:10003 01:06:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:05 Configure a credential helper to remove this warning. See 01:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:05 01:06:05 Login Succeeded 01:06:05 nexus3.edgexfoundry.org:10004 01:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:05 Configure a credential helper to remove this warning. See 01:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:05 01:06:05 Login Succeeded 01:06:05 docker.io 01:06:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:05 Configure a credential helper to remove this warning. See 01:06:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:05 01:06:05 Login Succeeded 01:06:05 ---> docker-login.sh ends [Pipeline] } 01:06:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:06:06 + git rev-list -1 --merges a6d956aec24c9c05879698a130546b7f9df1c909~1..a6d956aec24c9c05879698a130546b7f9df1c909 [Pipeline] echo 01:06:06 -----------> git rev-list -1 --merges a6d956aec24c9c05879698a130546b7f9df1c909~1..a6d956aec24c9c05879698a130546b7f9df1c909 a6d956aec24c9c05879698a130546b7f9df1c909 [false] [Pipeline] sh 01:06:06 + git log --format=format:%s -1 a6d956aec24c9c05879698a130546b7f9df1c909 [Pipeline] echo 01:06:06 ========================================================= 01:06:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:06:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:06:06 + git log --format=format:%s -1 a6d956aec24c9c05879698a130546b7f9df1c909 [Pipeline] echo 01:06:06 [semverPrep] GIT_COMMIT: a6d956aec24c9c05879698a130546b7f9df1c909, Commit Message: build: add build targets for NATS and add NATS configuration [Pipeline] echo 01:06:06 [semverPrep] This is not a build commit. [Pipeline] sh 01:06:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:06:07 + grep -v github /etc/ssh/ssh_known_hosts 01:06:07 + [ -e /tmp/ssh_known_hosts ] 01:06:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:06:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:06:07 + sudo tee -a /etc/ssh/ssh_known_hosts 01:06:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:06:07 01:06:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:06:07 0.1.4: Pulling from edgex-devops/py-git-semver 01:06:07 b85a868b505f: Pulling fs layer 01:06:07 e2be974225ed: Pulling fs layer 01:06:07 339a4e72a1f5: Pulling fs layer 01:06:07 988bab9f4d93: Pulling fs layer 01:06:07 1469e6f7b9e6: Pulling fs layer 01:06:07 eaf3925da568: Pulling fs layer 01:06:07 bab4dde63d76: Pulling fs layer 01:06:07 bde34c3a00c8: Pulling fs layer 01:06:07 b352a97aabf1: Pulling fs layer 01:06:07 4872d77fe225: Pulling fs layer 01:06:07 5851b861e8e6: Pulling fs layer 01:06:07 988bab9f4d93: Waiting 01:06:07 bde34c3a00c8: Waiting 01:06:07 1469e6f7b9e6: Waiting 01:06:07 eaf3925da568: Waiting 01:06:07 bab4dde63d76: Waiting 01:06:07 5851b861e8e6: Waiting 01:06:07 4872d77fe225: Waiting 01:06:07 e2be974225ed: Download complete 01:06:07 988bab9f4d93: Verifying Checksum 01:06:07 988bab9f4d93: Download complete 01:06:08 1469e6f7b9e6: Verifying Checksum 01:06:08 339a4e72a1f5: Download complete 01:06:08 eaf3925da568: Verifying Checksum 01:06:08 eaf3925da568: Download complete 01:06:08 bde34c3a00c8: Verifying Checksum 01:06:08 bde34c3a00c8: Download complete 01:06:08 b352a97aabf1: Verifying Checksum 01:06:08 b352a97aabf1: Download complete 01:06:08 4872d77fe225: Verifying Checksum 01:06:08 4872d77fe225: Download complete 01:06:08 5851b861e8e6: Verifying Checksum 01:06:08 5851b861e8e6: Download complete 01:06:08 b85a868b505f: Download complete 01:06:08 bab4dde63d76: Verifying Checksum 01:06:08 bab4dde63d76: Download complete 01:06:09 b85a868b505f: Pull complete 01:06:09 e2be974225ed: Pull complete 01:06:10 339a4e72a1f5: Pull complete 01:06:10 988bab9f4d93: Pull complete 01:06:10 1469e6f7b9e6: Pull complete 01:06:10 eaf3925da568: Pull complete 01:06:12 bab4dde63d76: Pull complete 01:06:12 bde34c3a00c8: Pull complete 01:06:12 b352a97aabf1: Pull complete 01:06:12 4872d77fe225: Pull complete 01:06:12 5851b861e8e6: Pull complete 01:06:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:06:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:06:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:12 prd-ubuntu20.04-docker-8c-8g-23500 does not seem to be running inside a container 01:06:12 $ 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 01:06:15 $ docker top ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d -eo pid,comm 01:06:15 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). 01:06:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:06:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:06:15 [ssh-agent] Looking for ssh-agent implementation... 01:06:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:06:15 $ docker exec ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d ssh-agent 01:06:16 SSH_AUTH_SOCK=/tmp/ssh-MknIlc3QAH00/agent.33 01:06:16 SSH_AGENT_PID=39 01:06:16 Running ssh-add (command line suppressed) 01:06:16 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) 01:06:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:06:16 + git tag --points-at HEAD [Pipeline] } 01:06:16 $ docker exec --env ******** --env ******** ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d ssh-agent -k 01:06:16 unset SSH_AUTH_SOCK; 01:06:16 unset SSH_AGENT_PID; 01:06:16 echo Agent pid 39 killed; 01:06:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:06:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:06:16 [ssh-agent] Looking for ssh-agent implementation... 01:06:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:06:16 $ docker exec ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d ssh-agent 01:06:16 SSH_AUTH_SOCK=/tmp/ssh-PvjvaReWxmJQ/agent.73 01:06:16 SSH_AGENT_PID=79 01:06:16 Running ssh-add (command line suppressed) 01:06:17 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) 01:06:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:06:17 + git semver init 01:06:17 2022-08-25 01:06:17,581 [run_init] DEBUG init version:0.0.0 force:False 01:06:17 2022-08-25 01:06:17,582 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-460/.semver 01:06:17 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 01:06:17 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) 01:06:18 2022-08-25 01:06:18,316 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-460/.git/info/exclude 01:06:18 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 01:06:18 2022-08-25 01:06:18,316 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-460/.semver/PR-460 01:06:18 2022-08-25 01:06:18,321 [execute] INFO git cat-file --batch-check 01:06:18 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=) 01:06:18 2022-08-25 01:06:18,328 [execute] INFO git cat-file --batch 01:06:18 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=) 01:06:18 2022-08-25 01:06:18,333 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-460/.semver/PR-460 01:06:18 0.0.0 [Pipeline] } 01:06:18 $ docker exec --env ******** --env ******** ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d ssh-agent -k 01:06:18 unset SSH_AUTH_SOCK; 01:06:18 unset SSH_AGENT_PID; 01:06:18 echo Agent pid 79 killed; 01:06:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:06:19 + git semver [Pipeline] } 01:06:19 $ docker stop --time=1 ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d 01:06:20 $ docker rm -f ceed0f202aeb9e4a8d003ec456cfb729854f110c17d9e09b3f21ac345b10d08d [Pipeline] // withDockerContainer [Pipeline] sh 01:06:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:06:21 Stashed 1 file(s) [Pipeline] echo 01:06:21 [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 01:06:21 provisioning config files... 01:06:21 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-460@tmp/config6124411385045906536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:21 ---> docker-login.sh 01:06:21 nexus3.edgexfoundry.org:10001 01:06:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:21 Configure a credential helper to remove this warning. See 01:06:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:21 01:06:21 Login Succeeded 01:06:21 nexus3.edgexfoundry.org:10002 01:06:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:21 Configure a credential helper to remove this warning. See 01:06:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:21 01:06:21 Login Succeeded 01:06:21 nexus3.edgexfoundry.org:10003 01:06:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:21 Configure a credential helper to remove this warning. See 01:06:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:21 01:06:21 Login Succeeded 01:06:21 nexus3.edgexfoundry.org:10004 01:06:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:22 Configure a credential helper to remove this warning. See 01:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:22 01:06:22 Login Succeeded 01:06:22 docker.io 01:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:22 Configure a credential helper to remove this warning. See 01:06:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:22 01:06:22 Login Succeeded 01:06:22 ---> docker-login.sh ends [Pipeline] } 01:06:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:06:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:06:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:06:22 ========================================================= 01:06:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:06:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:22 + 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 . 01:06:22 Sending build context to Docker daemon 3.128MB 01:06:22 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 01:06:22 Step 2/14 : FROM ${BASE} AS builder 01:06:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:06:22 2408cc74d12b: Pulling fs layer 01:06:22 ea60b727a1ce: Pulling fs layer 01:06:22 30c4a7721957: Pulling fs layer 01:06:22 370296b7ddb6: Pulling fs layer 01:06:22 7c6cee850709: Pulling fs layer 01:06:22 39a5fcdaea64: Pulling fs layer 01:06:22 d94ebbe4e438: Pulling fs layer 01:06:22 bcfd1f05c69d: Pulling fs layer 01:06:22 59ccb84bbe0f: Pulling fs layer 01:06:22 bcfd1f05c69d: Waiting 01:06:22 59ccb84bbe0f: Waiting 01:06:22 370296b7ddb6: Waiting 01:06:22 39a5fcdaea64: Waiting 01:06:22 d94ebbe4e438: Waiting 01:06:22 30c4a7721957: Download complete 01:06:22 ea60b727a1ce: Verifying Checksum 01:06:22 ea60b727a1ce: Download complete 01:06:22 7c6cee850709: Download complete 01:06:22 39a5fcdaea64: Verifying Checksum 01:06:22 2408cc74d12b: Verifying Checksum 01:06:22 2408cc74d12b: Download complete 01:06:23 d94ebbe4e438: Download complete 01:06:23 2408cc74d12b: Pull complete 01:06:23 ea60b727a1ce: Pull complete 01:06:23 30c4a7721957: Pull complete 01:06:23 59ccb84bbe0f: Verifying Checksum 01:06:23 59ccb84bbe0f: Download complete 01:06:23 bcfd1f05c69d: Verifying Checksum 01:06:23 bcfd1f05c69d: Download complete 01:06:24 370296b7ddb6: Verifying Checksum 01:06:24 370296b7ddb6: Download complete 01:06:27 370296b7ddb6: Pull complete 01:06:27 7c6cee850709: Pull complete 01:06:27 39a5fcdaea64: Pull complete 01:06:27 d94ebbe4e438: Pull complete 01:06:29 bcfd1f05c69d: Pull complete 01:06:30 59ccb84bbe0f: Pull complete 01:06:30 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:06:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:06:30 ---> a4fb48ad2a94 01:06:30 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 01:06:35 ---> Running in 29868a82abb0 01:06:35 Removing intermediate container 29868a82abb0 01:06:35 ---> a6f33da23b22 01:06:35 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 01:06:35 ---> Running in 6dd7ad339f73 01:06:35 Removing intermediate container 6dd7ad339f73 01:06:35 ---> 2c56682c9493 01:06:35 Step 5/14 : ARG BUILD_TARGET="build" 01:06:35 ---> Running in 41606e5894e7 01:06:35 Removing intermediate container 41606e5894e7 01:06:35 ---> 647c56df9721 01:06:35 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:06:35 ---> Running in 6532c40f37c9 01:06:35 Removing intermediate container 6532c40f37c9 01:06:35 ---> d09a7b061078 01:06:35 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:06:35 ---> Running in ba3fe1973ff4 01:06:36 Still waiting to schedule task 01:06:36 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:06:36 Removing intermediate container ba3fe1973ff4 01:06:36 ---> 4c5905391120 01:06:36 Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:36 ---> Running in 46dc3f095dd5 01:06:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:06:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:06:37 OK: 211 MiB in 51 packages 01:06:38 Removing intermediate container 46dc3f095dd5 01:06:38 ---> fc720b313d99 01:06:38 Step 9/14 : WORKDIR /app 01:06:38 ---> Running in 1144c7651ee2 01:06:38 Removing intermediate container 1144c7651ee2 01:06:38 ---> 06640c801546 01:06:38 Step 10/14 : COPY go.mod vendor* ./ 01:06:38 ---> 4749a5112b5c 01:06:38 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:38 ---> Running in 24edeb09174f 01:07:00 Removing intermediate container 24edeb09174f 01:07:00 ---> a971681ba6e2 01:07:00 Step 12/14 : COPY . . 01:07:00 ---> 3f7f63304096 01:07:00 Step 13/14 : ARG MAKE="make $BUILD_TARGET" 01:07:00 ---> Running in e8f244ded359 01:07:00 Removing intermediate container e8f244ded359 01:07:00 ---> 6fc7948f847a 01:07:00 Step 14/14 : RUN $MAKE 01:07:00 ---> Running in 8def17b090ab 01:07:00 noop 01:07:00 Removing intermediate container 8def17b090ab 01:07:00 ---> 90a17246528b 01:07:00 Successfully built 90a17246528b 01:07:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:00 + docker inspect -f . ci-base-image-x86_64 01:07:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:01 prd-ubuntu20.04-docker-8c-8g-23500 does not seem to be running inside a container 01:07:01 $ 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 01:07:01 $ docker top 65889194a4e5335c4ead435572d5b9bc600756f63160e4111ff4b59e3b431d46 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:01 + go version 01:07:01 go version go1.18.3 linux/amd64 [Pipeline] } 01:07:01 $ docker stop --time=1 65889194a4e5335c4ead435572d5b9bc600756f63160e4111ff4b59e3b431d46 01:07:03 $ 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 01:07:03 + docker inspect -f . ci-base-image-x86_64 01:07:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:03 prd-ubuntu20.04-docker-8c-8g-23500 does not seem to be running inside a container 01:07:03 $ 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 01:07:04 $ docker top 7ec76d36876ba0ea511b48fe534d37c41e6a484ce78e33a5bec076965d06e978 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:04 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-460 [Pipeline] fileExists [Pipeline] sh 01:07:04 + make test 01:07:04 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 01:07:14 ? github.com/edgexfoundry/app-service-configurable [no test files] 01:07:14 CGO_ENABLED=1 go vet ./... 01:07:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:07:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:07:17 ./bin/test-attribution-txt.sh 01:07:17 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:07:17 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:07:17 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:07:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:07:17 $ docker stop --time=1 7ec76d36876ba0ea511b48fe534d37c41e6a484ce78e33a5bec076965d06e978 01:07:19 $ docker rm -f 7ec76d36876ba0ea511b48fe534d37c41e6a484ce78e33a5bec076965d06e978 [Pipeline] // withDockerContainer [Pipeline] sh 01:07:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:07:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:07:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:07:20 + ls -al . 01:07:20 total 172 01:07:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 01:07 . 01:07:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 01:05 .. 01:07:20 -rw-rw-r-- 1 jenkins jenkins 119 Aug 25 01:05 .dockerignore 01:07:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 01:06 .git 01:07:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 01:05 .github 01:07:20 -rw-rw-r-- 1 jenkins jenkins 171 Aug 25 01:05 .gitignore 01:07:20 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 01:06 .semver 01:07:20 -rw-rw-r-- 1 jenkins jenkins 8830 Aug 25 01:05 Attribution.txt 01:07:20 -rw-rw-r-- 1 jenkins jenkins 27269 Aug 25 01:05 CHANGELOG.md 01:07:20 -rw-rw-r-- 1 jenkins jenkins 2123 Aug 25 01:05 Dockerfile 01:07:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 01:05 GOVERNANCE.md 01:07:20 -rw-rw-r-- 1 jenkins jenkins 688 Aug 25 01:05 Jenkinsfile 01:07:20 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 25 01:05 LICENSE 01:07:20 -rw-rw-r-- 1 jenkins jenkins 618 Aug 25 01:05 OWNERS.md 01:07:20 -rw-rw-r-- 1 jenkins jenkins 3718 Aug 25 01:05 README.md 01:07:20 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 01:06 VERSION 01:07:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 01:05 bin 01:07:20 -rw-r--r-- 1 jenkins jenkins 10 Aug 25 01:07 coverage.out 01:07:20 -rw-rw-r-- 1 jenkins jenkins 3475 Aug 25 01:05 go.mod 01:07:20 -rw-rw-r-- 1 jenkins jenkins 36887 Aug 25 01:05 go.sum 01:07:20 -rw-rw-r-- 1 jenkins jenkins 1949 Aug 25 01:05 main.go 01:07:20 -rw-rw-r-- 1 jenkins jenkins 2423 Aug 25 01:05 makefile 01:07:20 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 01:05 res 01:07:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 01:05 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:20 + 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 . 01:07:20 Sending build context to Docker daemon 3.129MB 01:07:20 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 01:07:20 Step 2/28 : FROM ${BASE} AS builder 01:07:20 ---> 90a17246528b 01:07:20 Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 01:07:20 ---> Running in 0a2387c925fe 01:07:21 Removing intermediate container 0a2387c925fe 01:07:21 ---> 39e84b1cb70f 01:07:21 Step 4/28 : ARG ALPINE_PKG_EXTRA="" 01:07:21 ---> Running in acec10fbc82a 01:07:21 Removing intermediate container acec10fbc82a 01:07:21 ---> 731337be0ff5 01:07:21 Step 5/28 : ARG BUILD_TARGET="build" 01:07:21 ---> Running in b448d4b55bce 01:07:21 Removing intermediate container b448d4b55bce 01:07:21 ---> d11b04de9f1a 01:07:21 Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:07:21 ---> Running in a2b09b122dd0 01:07:21 Removing intermediate container a2b09b122dd0 01:07:21 ---> 1760ce688507 01:07:21 Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:07:21 ---> Running in a14acb0ad0c1 01:07:22 Removing intermediate container a14acb0ad0c1 01:07:22 ---> eeab5a320413 01:07:22 Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:07:22 ---> Running in 6ff63c944f33 01:07:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:07:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:07:23 OK: 211 MiB in 51 packages 01:07:23 Removing intermediate container 6ff63c944f33 01:07:23 ---> 033557b9bc4e 01:07:23 Step 9/28 : WORKDIR /app 01:07:23 ---> Running in 5024eb2b3c0d 01:07:23 Removing intermediate container 5024eb2b3c0d 01:07:23 ---> ec3ebd5f1fea 01:07:23 Step 10/28 : COPY go.mod vendor* ./ 01:07:23 ---> 22f1f74af808 01:07:23 Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:07:23 ---> Running in 5f30ec288fe3 01:07:24 Removing intermediate container 5f30ec288fe3 01:07:24 ---> bebd1aab8a0a 01:07:24 Step 12/28 : COPY . . 01:07:24 ---> 379912e4ad28 01:07:24 Step 13/28 : ARG MAKE="make $BUILD_TARGET" 01:07:24 ---> Running in f26640d8222f 01:07:25 Removing intermediate container f26640d8222f 01:07:25 ---> 34f58b7b354f 01:07:25 Step 14/28 : RUN $MAKE 01:07:25 ---> Running in 734b9e7f0555 01:07:25 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 01:07:25 flag provided but not defined: -linkmode 01:07:25 usage: go build [-o output] [build flags] [packages] 01:07:25 Run 'go help build' for details. 01:07:25 make: *** [makefile:28: build] Error 2 01:07:25 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 01:07:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:25 01:07:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:25 latest: Pulling from edgex-lftools-log-publisher 01:07:25 5eb5b503b376: Pulling fs layer 01:07:25 5c69ac0246d0: Pulling fs layer 01:07:25 ec43610c2a17: Pulling fs layer 01:07:25 3a2ae6a8a46f: Pulling fs layer 01:07:25 33b1e0a273af: Pulling fs layer 01:07:25 5d3b04190fa2: Pulling fs layer 01:07:25 2f39f015ded8: Pulling fs layer 01:07:25 3a2ae6a8a46f: Waiting 01:07:25 33b1e0a273af: Waiting 01:07:25 5d3b04190fa2: Waiting 01:07:25 5c69ac0246d0: Download complete 01:07:25 3a2ae6a8a46f: Verifying Checksum 01:07:25 3a2ae6a8a46f: Download complete 01:07:25 33b1e0a273af: Verifying Checksum 01:07:25 33b1e0a273af: Download complete 01:07:25 ec43610c2a17: Verifying Checksum 01:07:25 ec43610c2a17: Download complete 01:07:26 5d3b04190fa2: Verifying Checksum 01:07:26 5d3b04190fa2: Download complete 01:07:26 5eb5b503b376: Verifying Checksum 01:07:26 5eb5b503b376: Download complete 01:07:26 2f39f015ded8: Download complete 01:07:27 5eb5b503b376: Pull complete 01:07:27 5c69ac0246d0: Pull complete 01:07:27 ec43610c2a17: Pull complete 01:07:27 3a2ae6a8a46f: Pull complete 01:07:28 33b1e0a273af: Pull complete 01:07:28 5d3b04190fa2: Pull complete 01:07:32 2f39f015ded8: Pull complete 01:07:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:32 prd-ubuntu20.04-docker-8c-8g-23500 does not seem to be running inside a container 01:07:32 $ 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 01:07:35 $ docker top aceb2d151dfa4e3c26b13a3e14fc8487513c715f126d16c0c2c546edb8840cd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:35 ---> job-cost.sh 01:07:35 lf-activate-venv: SKIPPING 01:07:35 INFO: No Stack... 01:07:36 INFO: Retrieving Pricing Info for: v3-standard-8 01:07:36 INFO: Archiving Costs [Pipeline] sh 01:07:36 + cat /w/workspace/_app-service-configurable_PR-460/archives/cost.csv 01:07:36 + cut -d, -f6 [Pipeline] lock 01:07:36 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] 01:07:36 Resource [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] did not exist. Created. 01:07:36 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:07:37 + echo total: 0.2199999988079071 [Pipeline] stash 01:07:37 Stashed 1 file(s) [Pipeline] } 01:07:37 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:07:37 $ docker stop --time=1 aceb2d151dfa4e3c26b13a3e14fc8487513c715f126d16c0c2c546edb8840cd8 01:07:38 $ docker rm -f aceb2d151dfa4e3c26b13a3e14fc8487513c715f126d16c0c2c546edb8840cd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:07:38 Failed in branch amd64 01:10:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23501 in /w/workspace/_app-service-configurable_PR-460 [Pipeline] { [Pipeline] ws 01:10:04 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 01:10:04 Selected Git installation does not exist. Using Default 01:10:04 The recommended git tool is: NONE 01:10:11 using credential edgex-jenkins-ssh 01:10:11 Cloning the remote Git repository 01:10:11 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 01:10:11 > git init /w/workspace/app-service-configurable/2 # timeout=10 01:10:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 01:10:11 > git --version # timeout=10 01:10:11 > git --version # 'git version 2.25.1' 01:10:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:10:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:10:13 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 01:10:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:10:13 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 01:10:13 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 01:10:13 using GIT_SSH to set credentials SSH Credentials for GitHub 01:10:13 > 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 01:10:13 Merging remotes/origin/main commit a54a0972f59d0215bd900b67794f07db15feaf52 into PR head commit a6d956aec24c9c05879698a130546b7f9df1c909 01:10:13 Merge succeeded, producing a6d956aec24c9c05879698a130546b7f9df1c909 01:10:13 Checking out Revision a6d956aec24c9c05879698a130546b7f9df1c909 (PR-460) 01:10:13 > git config core.sparsecheckout # timeout=10 01:10:13 > git checkout -f a6d956aec24c9c05879698a130546b7f9df1c909 # timeout=10 01:10:13 > git remote # timeout=10 01:10:13 > git config --get remote.origin.url # timeout=10 01:10:13 using GIT_SSH to set credentials SSH Credentials for GitHub 01:10:13 > git merge a54a0972f59d0215bd900b67794f07db15feaf52 # timeout=10 01:10:13 > git rev-parse HEAD^{commit} # timeout=10 01:10:13 > git config core.sparsecheckout # timeout=10 01:10:13 > git checkout -f a6d956aec24c9c05879698a130546b7f9df1c909 # timeout=10 01:10:18 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 01:10:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:10:19 % Total % Received % Xferd Average Speed Time Time Time Current 01:10:19 Dload Upload Total Spent Left Speed 01:10:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 89375 [Pipeline] sh 01:10:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:10:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:10:20 + sudo tee /etc/docker/daemon.new 01:10:20 { 01:10:20 "registry-mirrors": [ 01:10:20 "https://nexus3.edgexfoundry.org:10001" 01:10:20 ], 01:10:20 "bip": "10.250.0.254/24", 01:10:20 "hosts": [ 01:10:20 "tcp://0.0.0.0:5555", 01:10:20 "unix:///var/run/docker.sock" 01:10:20 ], 01:10:20 "mtu": 1458, 01:10:20 "selinux-enabled": true, 01:10:20 "seccomp-profile": "/etc/docker/seccomp.json" 01:10:20 } [Pipeline] sh 01:10:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:10:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:10:39 provisioning config files... 01:10:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config1361643299390681302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:39 ---> docker-login.sh 01:10:39 nexus3.edgexfoundry.org:10001 01:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:40 Configure a credential helper to remove this warning. See 01:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:40 01:10:40 Login Succeeded 01:10:40 nexus3.edgexfoundry.org:10002 01:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:41 Configure a credential helper to remove this warning. See 01:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:41 01:10:41 Login Succeeded 01:10:41 nexus3.edgexfoundry.org:10003 01:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:41 Configure a credential helper to remove this warning. See 01:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:41 01:10:41 Login Succeeded 01:10:41 nexus3.edgexfoundry.org:10004 01:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:42 Configure a credential helper to remove this warning. See 01:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:42 01:10:42 Login Succeeded 01:10:42 docker.io 01:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:10:43 Configure a credential helper to remove this warning. See 01:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:10:43 01:10:43 Login Succeeded 01:10:43 ---> docker-login.sh ends [Pipeline] } 01:10:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:10:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:10:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:10:44 ========================================================= 01:10:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:10:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:44 + 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 . 01:10:44 Sending build context to Docker daemon 206.3kB 01:10:44 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 01:10:44 Step 2/14 : FROM ${BASE} AS builder 01:10:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:10:44 b3c136eddcbf: Pulling fs layer 01:10:44 c0a3192eca97: Pulling fs layer 01:10:44 a050256f5b6f: Pulling fs layer 01:10:44 656be50a0ddc: Pulling fs layer 01:10:44 2bbca73fdf42: Pulling fs layer 01:10:44 46d945488cbd: Pulling fs layer 01:10:44 8a5474983e97: Pulling fs layer 01:10:44 329c88fbcd65: Pulling fs layer 01:10:44 656be50a0ddc: Waiting 01:10:44 46d945488cbd: Waiting 01:10:44 2bbca73fdf42: Waiting 01:10:44 8a5474983e97: Waiting 01:10:44 329c88fbcd65: Waiting 01:10:44 a050256f5b6f: Verifying Checksum 01:10:44 a050256f5b6f: Download complete 01:10:44 c0a3192eca97: Download complete 01:10:44 2bbca73fdf42: Verifying Checksum 01:10:44 2bbca73fdf42: Download complete 01:10:44 46d945488cbd: Verifying Checksum 01:10:44 46d945488cbd: Download complete 01:10:44 b3c136eddcbf: Download complete 01:10:45 b3c136eddcbf: Pull complete 01:10:46 329c88fbcd65: Verifying Checksum 01:10:46 329c88fbcd65: Download complete 01:10:46 c0a3192eca97: Pull complete 01:10:46 a050256f5b6f: Pull complete 01:10:47 8a5474983e97: Verifying Checksum 01:10:47 8a5474983e97: Download complete 01:10:48 656be50a0ddc: Verifying Checksum 01:10:48 656be50a0ddc: Download complete 01:11:03 656be50a0ddc: Pull complete 01:11:03 2bbca73fdf42: Pull complete 01:11:03 46d945488cbd: Pull complete 01:11:07 8a5474983e97: Pull complete 01:11:09 329c88fbcd65: Pull complete 01:11:09 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:11:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:11:09 ---> ff4287adb874 01:11:09 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 01:11:10 ---> Running in 7cf7939d2d01 01:11:11 Removing intermediate container 7cf7939d2d01 01:11:11 ---> 33afe8be850f 01:11:11 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 01:11:12 ---> Running in 9cc02158f5db 01:11:12 Removing intermediate container 9cc02158f5db 01:11:12 ---> 628045f54d1f 01:11:12 Step 5/14 : ARG BUILD_TARGET="build" 01:11:12 ---> Running in ae2fdbb7e54d 01:11:12 Removing intermediate container ae2fdbb7e54d 01:11:12 ---> 185834b85dfb 01:11:12 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:11:12 ---> Running in c8a8cd903e57 01:11:13 Removing intermediate container c8a8cd903e57 01:11:13 ---> 0bb8b4dd52da 01:11:13 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:11:13 ---> Running in 79086c4e9b0c 01:11:15 Removing intermediate container 79086c4e9b0c 01:11:15 ---> 5b9de2a3b851 01:11:15 Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:11:15 ---> Running in e9131d60b79a 01:11:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:11:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:11:18 OK: 221 MiB in 51 packages 01:11:19 Removing intermediate container e9131d60b79a 01:11:19 ---> 5b264cc3bd8a 01:11:19 Step 9/14 : WORKDIR /app 01:11:19 ---> Running in 7f56e9afb356 01:11:19 Removing intermediate container 7f56e9afb356 01:11:19 ---> 5d1bc5d1a55e 01:11:19 Step 10/14 : COPY go.mod vendor* ./ 01:11:20 ---> 43286ad9b026 01:11:20 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:11:20 ---> Running in 689255caf8ef 01:12:16 Removing intermediate container 689255caf8ef 01:12:16 ---> 4be4e53eb7ba 01:12:16 Step 12/14 : COPY . . 01:12:16 ---> dbda479d4a21 01:12:16 Step 13/14 : ARG MAKE="make $BUILD_TARGET" 01:12:16 ---> Running in 1842b779c8f3 01:12:16 Removing intermediate container 1842b779c8f3 01:12:16 ---> bcd99cb73ac6 01:12:16 Step 14/14 : RUN $MAKE 01:12:16 ---> Running in b43bb445979c 01:12:16 noop 01:12:16 Removing intermediate container b43bb445979c 01:12:16 ---> 07b87c2e3749 01:12:16 Successfully built 07b87c2e3749 01:12:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:16 + docker inspect -f . ci-base-image-arm64 01:12:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:17 prd-ubuntu20.04-docker-arm64-4c-16g-23501 does not seem to be running inside a container 01:12:17 $ 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 01:12:18 $ docker top f50e78b2061aaacffc00378dd64c47beb17aaae701a78d3734d21ff55d86bfc3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:12:19 + go version 01:12:19 go version go1.18.3 linux/arm64 [Pipeline] } 01:12:19 $ docker stop --time=1 f50e78b2061aaacffc00378dd64c47beb17aaae701a78d3734d21ff55d86bfc3 01:12:21 $ 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 01:12:21 + docker inspect -f . ci-base-image-arm64 01:12:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:22 prd-ubuntu20.04-docker-arm64-4c-16g-23501 does not seem to be running inside a container 01:12:22 $ 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 01:12:23 $ docker top 32483f6d6d14de4e29cac930291c0f32df31621094995496ef61f068bfd35455 -eo pid,comm [Pipeline] { [Pipeline] sh 01:12:24 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 01:12:25 + make test 01:12:25 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 01:13:47 ? github.com/edgexfoundry/app-service-configurable [no test files] 01:13:47 CGO_ENABLED=1 go vet ./... 01:14:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:14:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:14:05 ./bin/test-attribution-txt.sh 01:14:05 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:14:05 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:14:05 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:14:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:14:05 $ docker stop --time=1 32483f6d6d14de4e29cac930291c0f32df31621094995496ef61f068bfd35455 01:14:07 $ docker rm -f 32483f6d6d14de4e29cac930291c0f32df31621094995496ef61f068bfd35455 [Pipeline] // withDockerContainer [Pipeline] sh 01:14:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:14:08 Warning: overwriting stash ‘coverage-report’ 01:14:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:14:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:14:09 + ls -al . 01:14:09 total 168 01:14:09 drwxrwxr-x 7 jenkins jenkins 4096 Aug 25 01:12 . 01:14:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 01:10 .. 01:14:09 -rw-rw-r-- 1 jenkins jenkins 119 Aug 25 01:10 .dockerignore 01:14:09 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 01:10 .git 01:14:09 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 01:10 .github 01:14:09 -rw-rw-r-- 1 jenkins jenkins 171 Aug 25 01:10 .gitignore 01:14:09 -rw-rw-r-- 1 jenkins jenkins 8830 Aug 25 01:10 Attribution.txt 01:14:09 -rw-rw-r-- 1 jenkins jenkins 27269 Aug 25 01:10 CHANGELOG.md 01:14:09 -rw-rw-r-- 1 jenkins jenkins 2123 Aug 25 01:10 Dockerfile 01:14:09 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 01:10 GOVERNANCE.md 01:14:09 -rw-rw-r-- 1 jenkins jenkins 688 Aug 25 01:10 Jenkinsfile 01:14:09 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 25 01:10 LICENSE 01:14:09 -rw-rw-r-- 1 jenkins jenkins 618 Aug 25 01:10 OWNERS.md 01:14:09 -rw-rw-r-- 1 jenkins jenkins 3718 Aug 25 01:10 README.md 01:14:09 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 01:06 VERSION 01:14:09 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 01:10 bin 01:14:09 -rw-r--r-- 1 jenkins jenkins 10 Aug 25 01:12 coverage.out 01:14:09 -rw-rw-r-- 1 jenkins jenkins 3475 Aug 25 01:10 go.mod 01:14:09 -rw-rw-r-- 1 jenkins jenkins 36887 Aug 25 01:10 go.sum 01:14:09 -rw-rw-r-- 1 jenkins jenkins 1949 Aug 25 01:10 main.go 01:14:09 -rw-rw-r-- 1 jenkins jenkins 2423 Aug 25 01:10 makefile 01:14:09 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 01:10 res 01:14:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 01:10 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:09 + 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 . 01:14:09 Sending build context to Docker daemon 207.4kB 01:14:10 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 01:14:10 Step 2/28 : FROM ${BASE} AS builder 01:14:10 ---> 07b87c2e3749 01:14:10 Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 01:14:10 ---> Running in 05df55eea5ef 01:14:10 Removing intermediate container 05df55eea5ef 01:14:10 ---> aa2c45459d45 01:14:10 Step 4/28 : ARG ALPINE_PKG_EXTRA="" 01:14:10 ---> Running in f50572a5cb55 01:14:11 Removing intermediate container f50572a5cb55 01:14:11 ---> f54df36307a7 01:14:11 Step 5/28 : ARG BUILD_TARGET="build" 01:14:11 ---> Running in dfa8df34fcea 01:14:11 Removing intermediate container dfa8df34fcea 01:14:11 ---> 9dce7a1428f4 01:14:11 Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:14:11 ---> Running in 86e9f9f2340d 01:14:11 Removing intermediate container 86e9f9f2340d 01:14:11 ---> 85f6d8208196 01:14:11 Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:14:11 ---> Running in 3d9457a24276 01:14:13 Removing intermediate container 3d9457a24276 01:14:13 ---> c141d7d650b4 01:14:13 Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:14:13 ---> Running in 252eda3566a1 01:14:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:14:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:14:16 OK: 221 MiB in 51 packages 01:14:17 Removing intermediate container 252eda3566a1 01:14:17 ---> 750d97d22362 01:14:17 Step 9/28 : WORKDIR /app 01:14:17 ---> Running in 5945529371d2 01:14:18 Removing intermediate container 5945529371d2 01:14:18 ---> 6b09db9e2af2 01:14:18 Step 10/28 : COPY go.mod vendor* ./ 01:14:18 ---> ddc6cfa16ac4 01:14:18 Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:14:18 ---> Running in 8884b11a69b8 01:14:20 Removing intermediate container 8884b11a69b8 01:14:20 ---> 74385c243521 01:14:20 Step 12/28 : COPY . . 01:14:21 ---> aa2e1be65b24 01:14:21 Step 13/28 : ARG MAKE="make $BUILD_TARGET" 01:14:21 ---> Running in 196fda2c2c2d 01:14:21 Removing intermediate container 196fda2c2c2d 01:14:21 ---> ec4677c16309 01:14:21 Step 14/28 : RUN $MAKE 01:14:21 ---> Running in 1ba971ce1894 01:14:23 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 01:14:23 flag provided but not defined: -linkmode 01:14:23 usage: go build [-o output] [build flags] [packages] 01:14:23 Run 'go help build' for details. 01:14:23 make: *** [makefile:28: build] Error 2 01:14:23 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 01:14:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:14:23 01:14:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:14:24 arm64: Pulling from edgex-lftools-log-publisher 01:14:24 8998bd30e6a1: Pulling fs layer 01:14:24 04944245beec: Pulling fs layer 01:14:24 699f458cf7ca: Pulling fs layer 01:14:24 765212b225bb: Pulling fs layer 01:14:24 f23df028b6ca: Pulling fs layer 01:14:24 d65c8cfc05b1: Pulling fs layer 01:14:24 2437ff75d9bd: Pulling fs layer 01:14:24 f23df028b6ca: Waiting 01:14:24 d65c8cfc05b1: Waiting 01:14:24 2437ff75d9bd: Waiting 01:14:24 765212b225bb: Waiting 01:14:24 04944245beec: Verifying Checksum 01:14:24 04944245beec: Download complete 01:14:24 765212b225bb: Verifying Checksum 01:14:24 765212b225bb: Download complete 01:14:24 f23df028b6ca: Download complete 01:14:24 d65c8cfc05b1: Verifying Checksum 01:14:24 d65c8cfc05b1: Download complete 01:14:24 699f458cf7ca: Verifying Checksum 01:14:24 699f458cf7ca: Download complete 01:14:24 8998bd30e6a1: Download complete 01:14:27 2437ff75d9bd: Verifying Checksum 01:14:27 2437ff75d9bd: Download complete 01:14:28 8998bd30e6a1: Pull complete 01:14:29 04944245beec: Pull complete 01:14:30 699f458cf7ca: Pull complete 01:14:31 765212b225bb: Pull complete 01:14:32 f23df028b6ca: Pull complete 01:14:32 d65c8cfc05b1: Pull complete 01:14:47 2437ff75d9bd: Pull complete 01:14:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:14:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:14:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:47 prd-ubuntu20.04-docker-arm64-4c-16g-23501 does not seem to be running inside a container 01:14:47 $ 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 01:14:50 $ docker top 33be137ac99d8f7b2f71c2b01f664df5210e83835e198a3add4380cb6ec700ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:14:51 ---> job-cost.sh 01:14:51 lf-activate-venv: SKIPPING 01:14:51 INFO: No Stack... 01:14:51 INFO: Retrieving Pricing Info for: v3-standard-4 01:14:52 INFO: Archiving Costs [Pipeline] sh 01:14:53 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 01:14:53 + cut -d, -f6 [Pipeline] lock 01:14:53 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] 01:14:53 Resource [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] did not exist. Created. 01:14:53 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:14:54 /w/workspace/app-service-configurable/2@tmp/durable-52180c4b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:14:54 + echo total: 0.10999999940395355 [Pipeline] stash 01:14:54 Warning: overwriting stash ‘stack-cost’ 01:14:54 Stashed 1 file(s) [Pipeline] } 01:14:54 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-460-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:14:54 $ docker stop --time=1 33be137ac99d8f7b2f71c2b01f664df5210e83835e198a3add4380cb6ec700ac 01:14:56 $ 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] } 01:14:56 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 01:14:57 + [ -d /w/workspace/_app-service-configurable_PR-460/archives ] 01:14:57 + ls -al /w/workspace/_app-service-configurable_PR-460/archives 01:14:57 total 16 01:14:57 drwxr-xr-x 3 root root 4096 Aug 25 01:07 . 01:14:57 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 01:07 .. 01:14:57 drwxr-xr-x 2 root root 4096 Aug 25 01:07 cost 01:14:57 -rw-r--r-- 1 root root 96 Aug 25 01:07 cost.csv 01:14:57 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-460/archives 01:14:57 + ls -al /w/workspace/_app-service-configurable_PR-460/archives 01:14:57 total 16 01:14:57 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 01:07 . 01:14:57 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 01:07 .. 01:14:57 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 01:07 cost 01:14:57 -rw-r--r-- 1 jenkins jenkins 96 Aug 25 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:14:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:14:58 ---> package-listing.sh 01:14:58 ++ facter osfamily 01:14:58 ++ tr '[:upper:]' '[:lower:]' 01:14:58 + OS_FAMILY=debian 01:14:58 + workspace=/w/workspace/_app-service-configurable_PR-460 01:14:58 + START_PACKAGES=/tmp/packages_start.txt 01:14:58 + END_PACKAGES=/tmp/packages_end.txt 01:14:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:14:58 + PACKAGES=/tmp/packages_start.txt 01:14:58 + '[' /w/workspace/_app-service-configurable_PR-460 ']' 01:14:58 + PACKAGES=/tmp/packages_end.txt 01:14:58 + case "${OS_FAMILY}" in 01:14:58 + dpkg -l 01:14:58 + grep '^ii' 01:14:58 + '[' -f /tmp/packages_start.txt ']' 01:14:58 + '[' -f /tmp/packages_end.txt ']' 01:14:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:14:58 + '[' /w/workspace/_app-service-configurable_PR-460 ']' 01:14:58 + mkdir -p /w/workspace/_app-service-configurable_PR-460/archives/ 01:14:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-460/archives/ [Pipeline] echo 01:14:58 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 01:14:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:59 prd-ubuntu20.04-docker-8c-8g-23500 does not seem to be running inside a container 01:15:00 $ 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 01:15:00 $ docker top c86b4e66aefc8f61f3839319f775ecb00ad1d8274645687e1a1edb32f4a27866 -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:00 + touch /tmp/pre-build-complete [Pipeline] sh 01:15:01 + mkdir -p /var/log/sysstat [Pipeline] sh 01:15:01 + ls /var/log/sa-host 01:15:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:15:01 provisioning config files... 01:15:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-460@tmp/config7228233052882932768tmp [Pipeline] { [Pipeline] echo 01:15:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:15:01 ---> create-netrc.sh [Pipeline] } 01:15:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:15:02 ---> python-tools-install.sh [Pipeline] echo 01:15:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:15:02 ---> sudo-logs.sh 01:15:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:15:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:15:02 ---> job-cost.sh 01:15:02 lf-activate-venv: SKIPPING 01:15:02 DEBUG: total: 0.2199999988079071 01:15:02 INFO: Retrieving Stack Cost... 01:15:02 INFO: Retrieving Pricing Info for: v3-standard-8 01:15:03 INFO: Archiving Costs [Pipeline] echo 01:15:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:15:03 ---> logs-deploy.sh 01:15:03 lf-activate-venv: SKIPPING 01:15:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-460/2 01:15:03 INFO: archiving workspace using pattern(s): 01:15:05 Archives upload complete. 01:15:05 INFO: archiving logs to Nexus