Pull request #498 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from af4daca346cf4e77dfd9f026c6c3570995d0b9d3+00d8ffd1a5b178530bec1b751018b947d29fdef0 (b704d3c7aac237bfa61394d45463cbe524a229f4) 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-ssh962857633804201339.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17805293442236748389.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-498/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-498/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6502529300996622336.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-498/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12952368640234902511.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15818286894831764192.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-498/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-498/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13100270096897886934.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 ‘prd-ubuntu20.04-docker-8c-8g-1591’ Running on prd-ubuntu20.04-docker-8c-8g-1594 in /w/workspace/_app-service-configurable_PR-498 [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-498 # 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 > 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/498/head:refs/remotes/origin/PR-498 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 00d8ffd1a5b178530bec1b751018b947d29fdef0 into PR head commit af4daca346cf4e77dfd9f026c6c3570995d0b9d3 Merge succeeded, producing af4daca346cf4e77dfd9f026c6c3570995d0b9d3 Checking out Revision af4daca346cf4e77dfd9f026c6c3570995d0b9d3 (PR-498) > git config core.sparsecheckout # timeout=10 > git checkout -f af4daca346cf4e77dfd9f026c6c3570995d0b9d3 # 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 00d8ffd1a5b178530bec1b751018b947d29fdef0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af4daca346cf4e77dfd9f026c6c3570995d0b9d3 # timeout=10 Commit message: "build!: Remove ZMQ from snap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:21:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:21:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:21:39 ========================================================= 17:21:39 EdgeX Global Pipelines Version Info 17:21:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:21:40 ------------------- 17:21:40 stable info: 17:21:40 ------------------- 17:21:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:21:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:21:40 Message: update stable to v1.0.244 17:21:41 ------------------- 17:21:41 experimental info: 17:21:41 ------------------- 17:21:41 Commited By: **** collab-it+edgex@linuxfoundation.org 17:21:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:21:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:21:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-498 [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-498 [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-498 [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af4daca346cf4e77dfd9f026c6c3570995d0b9d3 [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af4daca [Pipeline] echo 17:21:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:21:42 provisioning config files... 17:21:42 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-498@tmp/config9135909910989620932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:43 ---> docker-login.sh 17:21:43 nexus3.edgexfoundry.org:10001 17:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:43 Configure a credential helper to remove this warning. See 17:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:43 17:21:43 Login Succeeded 17:21:43 nexus3.edgexfoundry.org:10002 17:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:43 Configure a credential helper to remove this warning. See 17:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:43 17:21:43 Login Succeeded 17:21:43 nexus3.edgexfoundry.org:10003 17:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:43 Configure a credential helper to remove this warning. See 17:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:43 17:21:43 Login Succeeded 17:21:43 nexus3.edgexfoundry.org:10004 17:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:43 Configure a credential helper to remove this warning. See 17:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:43 17:21:43 Login Succeeded 17:21:43 docker.io 17:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:44 Configure a credential helper to remove this warning. See 17:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:44 17:21:44 Login Succeeded 17:21:44 ---> docker-login.sh ends [Pipeline] } 17:21:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:21:44 + git rev-list -1 --merges af4daca346cf4e77dfd9f026c6c3570995d0b9d3~1..af4daca346cf4e77dfd9f026c6c3570995d0b9d3 [Pipeline] echo 17:21:44 -----------> git rev-list -1 --merges af4daca346cf4e77dfd9f026c6c3570995d0b9d3~1..af4daca346cf4e77dfd9f026c6c3570995d0b9d3 af4daca346cf4e77dfd9f026c6c3570995d0b9d3 [false] [Pipeline] sh 17:21:45 + git log --format=format:%s -1 af4daca346cf4e77dfd9f026c6c3570995d0b9d3 [Pipeline] echo 17:21:45 ========================================================= 17:21:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:21:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:45 + git log --format=format:%s -1 af4daca346cf4e77dfd9f026c6c3570995d0b9d3 [Pipeline] echo 17:21:45 [semverPrep] GIT_COMMIT: af4daca346cf4e77dfd9f026c6c3570995d0b9d3, Commit Message: build!: Remove ZMQ from snap [Pipeline] echo 17:21:45 [semverPrep] This is not a build commit. [Pipeline] sh 17:21:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:21:45 + grep -v github /etc/ssh/ssh_known_hosts 17:21:45 + [ -e /tmp/ssh_known_hosts ] 17:21:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:21:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:21:45 + sudo tee -a /etc/ssh/ssh_known_hosts 17:21:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:46 17:21:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:46 0.1.4: Pulling from edgex-devops/py-git-semver 17:21:46 b85a868b505f: Pulling fs layer 17:21:46 e2be974225ed: Pulling fs layer 17:21:46 339a4e72a1f5: Pulling fs layer 17:21:46 988bab9f4d93: Pulling fs layer 17:21:46 1469e6f7b9e6: Pulling fs layer 17:21:46 eaf3925da568: Pulling fs layer 17:21:46 bab4dde63d76: Pulling fs layer 17:21:46 bde34c3a00c8: Pulling fs layer 17:21:46 b352a97aabf1: Pulling fs layer 17:21:46 4872d77fe225: Pulling fs layer 17:21:46 5851b861e8e6: Pulling fs layer 17:21:46 988bab9f4d93: Waiting 17:21:46 eaf3925da568: Waiting 17:21:46 bab4dde63d76: Waiting 17:21:46 1469e6f7b9e6: Waiting 17:21:46 bde34c3a00c8: Waiting 17:21:46 5851b861e8e6: Waiting 17:21:46 b352a97aabf1: Waiting 17:21:46 4872d77fe225: Waiting 17:21:46 e2be974225ed: Verifying Checksum 17:21:46 e2be974225ed: Download complete 17:21:46 988bab9f4d93: Download complete 17:21:47 1469e6f7b9e6: Verifying Checksum 17:21:47 1469e6f7b9e6: Download complete 17:21:47 eaf3925da568: Verifying Checksum 17:21:47 eaf3925da568: Download complete 17:21:47 339a4e72a1f5: Verifying Checksum 17:21:47 339a4e72a1f5: Download complete 17:21:47 bde34c3a00c8: Download complete 17:21:47 b352a97aabf1: Download complete 17:21:47 4872d77fe225: Download complete 17:21:47 5851b861e8e6: Verifying Checksum 17:21:47 5851b861e8e6: Download complete 17:21:47 b85a868b505f: Verifying Checksum 17:21:47 b85a868b505f: Download complete 17:21:47 bab4dde63d76: Verifying Checksum 17:21:47 bab4dde63d76: Download complete 17:21:48 b85a868b505f: Pull complete 17:21:48 e2be974225ed: Pull complete 17:21:49 339a4e72a1f5: Pull complete 17:21:49 988bab9f4d93: Pull complete 17:21:49 1469e6f7b9e6: Pull complete 17:21:49 eaf3925da568: Pull complete 17:21:51 bab4dde63d76: Pull complete 17:21:51 bde34c3a00c8: Pull complete 17:21:51 b352a97aabf1: Pull complete 17:21:51 4872d77fe225: Pull complete 17:21:52 5851b861e8e6: Pull complete 17:21:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:52 prd-ubuntu20.04-docker-8c-8g-1594 does not seem to be running inside a container 17:21:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-498 -v /w/workspace/_app-service-configurable_PR-498:/w/workspace/_app-service-configurable_PR-498:rw,z -v /w/workspace/_app-service-configurable_PR-498@tmp:/w/workspace/_app-service-configurable_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:21:53 $ docker top 1bd8a7b1155f7e0190035ccb7e7176c0bcd41dbf9ee6f78ad6182288ebfa029e -eo pid,comm 17:21:53 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). 17:21:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:21:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:21:54 [ssh-agent] Looking for ssh-agent implementation... 17:21:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:21:54 $ docker exec 1bd8a7b1155f7e0190035ccb7e7176c0bcd41dbf9ee6f78ad6182288ebfa029e ssh-agent 17:21:54 SSH_AUTH_SOCK=/tmp/ssh-vlY6cRWXOC8f/agent.31 17:21:54 SSH_AGENT_PID=37 17:21:54 Running ssh-add (command line suppressed) 17:21:54 Identity added: /w/workspace/_app-service-configurable_PR-498@tmp/private_key_13670143030783051669.key (/w/workspace/_app-service-configurable_PR-498@tmp/private_key_13670143030783051669.key) 17:21:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:21:54 + git tag --points-at HEAD [Pipeline] } 17:21:54 $ docker exec --env ******** --env ******** 1bd8a7b1155f7e0190035ccb7e7176c0bcd41dbf9ee6f78ad6182288ebfa029e ssh-agent -k 17:21:54 unset SSH_AUTH_SOCK; 17:21:54 unset SSH_AGENT_PID; 17:21:54 echo Agent pid 37 killed; 17:21:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:21:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:21:54 [ssh-agent] Looking for ssh-agent implementation... 17:21:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:21:55 $ docker exec 1bd8a7b1155f7e0190035ccb7e7176c0bcd41dbf9ee6f78ad6182288ebfa029e ssh-agent 17:21:55 SSH_AUTH_SOCK=/tmp/ssh-exK9fvQgLRyB/agent.69 17:21:55 SSH_AGENT_PID=75 17:21:55 Running ssh-add (command line suppressed) 17:21:55 Identity added: /w/workspace/_app-service-configurable_PR-498@tmp/private_key_13051809470190716674.key (/w/workspace/_app-service-configurable_PR-498@tmp/private_key_13051809470190716674.key) 17:21:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:21:55 + git semver init 17:21:55 2023-01-10 17:21:55,920 [run_init] DEBUG init version:0.0.0 force:False 17:21:55 2023-01-10 17:21:55,921 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-498/.semver 17:21:55 2023-01-10 17:21:55,921 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-498/.semver 17:21:55 2023-01-10 17:21:55,922 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-498/.semver'], cwd=/w/workspace/_app-service-configurable_PR-498, universal_newlines=False, shell=None, istream=None) 17:21:56 2023-01-10 17:21:56,751 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-498/.git/info/exclude 17:21:56 2023-01-10 17:21:56,752 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-498/.semver/PR-498 with force:False 17:21:56 2023-01-10 17:21:56,752 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-498/.semver/PR-498 17:21:56 2023-01-10 17:21:56,756 [execute] INFO git cat-file --batch-check 17:21:56 2023-01-10 17:21:56,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-498/.semver, universal_newlines=False, shell=None, istream=) 17:21:56 2023-01-10 17:21:56,762 [execute] INFO git cat-file --batch 17:21:56 2023-01-10 17:21:56,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-498/.semver, universal_newlines=False, shell=None, istream=) 17:21:56 2023-01-10 17:21:56,767 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-498/.semver/PR-498 17:21:56 0.0.0 [Pipeline] } 17:21:56 $ docker exec --env ******** --env ******** 1bd8a7b1155f7e0190035ccb7e7176c0bcd41dbf9ee6f78ad6182288ebfa029e ssh-agent -k 17:21:57 unset SSH_AUTH_SOCK; 17:21:57 unset SSH_AGENT_PID; 17:21:57 echo Agent pid 75 killed; 17:21:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:21:57 + git semver [Pipeline] } 17:21:57 $ docker stop --time=1 1bd8a7b1155f7e0190035ccb7e7176c0bcd41dbf9ee6f78ad6182288ebfa029e 17:21:59 $ docker rm -f --volumes 1bd8a7b1155f7e0190035ccb7e7176c0bcd41dbf9ee6f78ad6182288ebfa029e [Pipeline] // withDockerContainer [Pipeline] sh 17:21:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:21:59 Stashed 1 file(s) [Pipeline] echo 17:21:59 [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 17:22:00 provisioning config files... 17:22:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-498@tmp/config5079586984527269037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:00 ---> docker-login.sh 17:22:00 nexus3.edgexfoundry.org:10001 17:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:00 Configure a credential helper to remove this warning. See 17:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:00 17:22:00 Login Succeeded 17:22:00 nexus3.edgexfoundry.org:10002 17:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:00 Configure a credential helper to remove this warning. See 17:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:00 17:22:00 Login Succeeded 17:22:00 nexus3.edgexfoundry.org:10003 17:22:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:01 Configure a credential helper to remove this warning. See 17:22:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:01 17:22:01 Login Succeeded 17:22:01 nexus3.edgexfoundry.org:10004 17:22:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:01 Configure a credential helper to remove this warning. See 17:22:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:01 17:22:01 Login Succeeded 17:22:01 docker.io 17:22:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:01 Configure a credential helper to remove this warning. See 17:22:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:01 17:22:01 Login Succeeded 17:22:01 ---> docker-login.sh ends [Pipeline] } 17:22:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:01 ========================================================= 17:22:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:22:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:02 + 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 . 17:22:02 Sending build context to Docker daemon 3.213MB 17:22:02 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:22:02 Step 2/12 : FROM ${BASE} AS builder 17:22:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:22:02 213ec9aee27d: Pulling fs layer 17:22:02 4583459ba037: Pulling fs layer 17:22:02 93c1e223e6f2: Pulling fs layer 17:22:02 53926ce57604: Pulling fs layer 17:22:02 21b2b0c7a3f4: Pulling fs layer 17:22:02 22ff95d597cd: Pulling fs layer 17:22:02 12d6caf4c0d1: Pulling fs layer 17:22:02 21b2b0c7a3f4: Waiting 17:22:02 22ff95d597cd: Waiting 17:22:02 12d6caf4c0d1: Waiting 17:22:02 53926ce57604: Waiting 17:22:02 96b7cbca73a9: Pulling fs layer 17:22:02 a7acece74701: Pulling fs layer 17:22:02 96b7cbca73a9: Waiting 17:22:02 a7acece74701: Waiting 17:22:02 93c1e223e6f2: Download complete 17:22:02 4583459ba037: Verifying Checksum 17:22:02 4583459ba037: Download complete 17:22:02 21b2b0c7a3f4: Download complete 17:22:02 22ff95d597cd: Download complete 17:22:02 213ec9aee27d: Verifying Checksum 17:22:02 213ec9aee27d: Download complete 17:22:02 213ec9aee27d: Pull complete 17:22:02 4583459ba037: Pull complete 17:22:02 93c1e223e6f2: Pull complete 17:22:03 a7acece74701: Verifying Checksum 17:22:03 a7acece74701: Download complete 17:22:03 53926ce57604: Verifying Checksum 17:22:03 53926ce57604: Download complete 17:22:03 96b7cbca73a9: Verifying Checksum 17:22:03 96b7cbca73a9: Download complete 17:22:07 53926ce57604: Pull complete 17:22:07 21b2b0c7a3f4: Pull complete 17:22:07 22ff95d597cd: Pull complete 17:22:07 12d6caf4c0d1: Pull complete 17:22:09 96b7cbca73a9: Pull complete 17:22:10 a7acece74701: Pull complete 17:22:10 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:22:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:22:10 ---> db6d94c90886 17:22:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:22:12 ---> Running in d7631ca55bb1 17:22:12 Removing intermediate container d7631ca55bb1 17:22:12 ---> 90a1225f2a3a 17:22:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:22:12 ---> Running in 8d2d0cac0174 17:22:12 Removing intermediate container 8d2d0cac0174 17:22:12 ---> cca6e002b510 17:22:12 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:22:12 ---> Running in e723684bf402 17:22:13 Removing intermediate container e723684bf402 17:22:13 ---> 892b6f591e9d 17:22:13 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:13 ---> Running in c17a2a9fb73f 17:22:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:22:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:22:13 OK: 211 MiB in 51 packages 17:22:14 Removing intermediate container c17a2a9fb73f 17:22:14 ---> 984e4514e72c 17:22:14 Step 7/12 : WORKDIR /app 17:22:14 ---> Running in 9d21d2481fd2 17:22:14 Removing intermediate container 9d21d2481fd2 17:22:14 ---> 5a65b442a16d 17:22:14 Step 8/12 : COPY go.mod vendor* ./ 17:22:14 ---> d72fdf5c8430 17:22:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:14 ---> Running in 2154d7d951cb 17:22:15 Still waiting to schedule task 17:22:15 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1592’ 17:22:40 Removing intermediate container 2154d7d951cb 17:22:40 ---> 1099952fc8e7 17:22:40 Step 10/12 : COPY . . 17:22:40 ---> e5606d808085 17:22:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:40 ---> Running in 5e58da09f995 17:22:40 Removing intermediate container 5e58da09f995 17:22:40 ---> 56738ce08cef 17:22:40 Step 12/12 : RUN $MAKE 17:22:40 ---> Running in 5e544bb72295 17:22:40 noop 17:22:40 Removing intermediate container 5e544bb72295 17:22:40 ---> 4e8baf7d61bc 17:22:40 Successfully built 4e8baf7d61bc 17:22:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:41 + docker inspect -f . ci-base-image-x86_64 17:22:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:41 prd-ubuntu20.04-docker-8c-8g-1594 does not seem to be running inside a container 17:22:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-498 -v /w/workspace/_app-service-configurable_PR-498:/w/workspace/_app-service-configurable_PR-498:rw,z -v /w/workspace/_app-service-configurable_PR-498@tmp:/w/workspace/_app-service-configurable_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:22:42 $ docker top 90f87c8bf483c9ded5ffff9d291177e2f5d4f473173cad14d75fbb2ad98cd8c8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:42 + go version 17:22:42 go version go1.18.7 linux/amd64 [Pipeline] } 17:22:42 $ docker stop --time=1 90f87c8bf483c9ded5ffff9d291177e2f5d4f473173cad14d75fbb2ad98cd8c8 17:22:43 $ docker rm -f --volumes 90f87c8bf483c9ded5ffff9d291177e2f5d4f473173cad14d75fbb2ad98cd8c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:44 + docker inspect -f . ci-base-image-x86_64 17:22:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:44 prd-ubuntu20.04-docker-8c-8g-1594 does not seem to be running inside a container 17:22:44 $ 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-498 -v /w/workspace/_app-service-configurable_PR-498:/w/workspace/_app-service-configurable_PR-498:rw,z -v /w/workspace/_app-service-configurable_PR-498@tmp:/w/workspace/_app-service-configurable_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:22:45 $ docker top 6fa32e24c897784f8fe63e9a703129a1cfeb15f906d06eedca58ba9ca0639f13 -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:45 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-498 [Pipeline] fileExists [Pipeline] sh 17:22:45 + make test 17:22:45 go test -race -coverprofile=coverage.out ./... 17:23:07 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:23:07 go vet ./... 17:23:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:23:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:23:15 ./bin/test-attribution-txt.sh [Pipeline] echo 17:23:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:23:16 $ docker stop --time=1 6fa32e24c897784f8fe63e9a703129a1cfeb15f906d06eedca58ba9ca0639f13 17:23:18 $ docker rm -f --volumes 6fa32e24c897784f8fe63e9a703129a1cfeb15f906d06eedca58ba9ca0639f13 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:23:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:23:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:23:19 + ls -al . 17:23:19 total 184 17:23:19 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:22 . 17:23:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:21 .. 17:23:19 -rw-rw-r-- 1 jenkins jenkins 119 Jan 10 17:21 .dockerignore 17:23:19 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:21 .git 17:23:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:21 .github 17:23:19 -rw-rw-r-- 1 jenkins jenkins 171 Jan 10 17:21 .gitignore 17:23:19 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 17:21 .semver 17:23:19 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 10 17:21 Attribution.txt 17:23:19 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 10 17:21 CHANGELOG.md 17:23:19 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 10 17:21 Dockerfile 17:23:19 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 17:21 GOVERNANCE.md 17:23:19 -rw-rw-r-- 1 jenkins jenkins 688 Jan 10 17:21 Jenkinsfile 17:23:19 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 10 17:21 LICENSE 17:23:19 -rw-rw-r-- 1 jenkins jenkins 618 Jan 10 17:21 OWNERS.md 17:23:19 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 10 17:21 README.md 17:23:19 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 17:21 VERSION 17:23:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 17:21 bin 17:23:19 -rw-r--r-- 1 jenkins jenkins 13 Jan 10 17:22 coverage.out 17:23:19 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 10 17:21 go.mod 17:23:19 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 10 17:21 go.sum 17:23:19 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 10 17:21 main.go 17:23:19 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 10 17:21 makefile 17:23:19 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 17:21 res 17:23:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:21 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23: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=af4daca346cf4e77dfd9f026c6c3570995d0b9d3 --label arch=amd64 --label version=0.0.0 . 17:23:20 Sending build context to Docker daemon 3.214MB 17:23:20 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:23:20 Step 2/26 : FROM ${BASE} AS builder 17:23:20 ---> 4e8baf7d61bc 17:23:20 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 17:23:20 ---> Running in 162c2dd0978a 17:23:20 Removing intermediate container 162c2dd0978a 17:23:20 ---> 4dd8284de192 17:23:20 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:23:20 ---> Running in 0d85894bc544 17:23:20 Removing intermediate container 0d85894bc544 17:23:20 ---> 52ef4be00529 17:23:20 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:23:20 ---> Running in f21f1e92cac2 17:23:20 Removing intermediate container f21f1e92cac2 17:23:20 ---> 216ea9df4d45 17:23:20 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:20 ---> Running in b27a17670198 17:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:23:21 OK: 211 MiB in 51 packages 17:23:21 Removing intermediate container b27a17670198 17:23:21 ---> 721a64eaf2bf 17:23:21 Step 7/26 : WORKDIR /app 17:23:21 ---> Running in 3991d6a5f9af 17:23:21 Removing intermediate container 3991d6a5f9af 17:23:21 ---> fcff79502c13 17:23:21 Step 8/26 : COPY go.mod vendor* ./ 17:23:21 ---> 86c09b6b179a 17:23:21 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:22 ---> Running in db3ab9bd1b57 17:23:22 Removing intermediate container db3ab9bd1b57 17:23:22 ---> c866e0cbdc1b 17:23:22 Step 10/26 : COPY . . 17:23:22 ---> 214481908581 17:23:22 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:22 ---> Running in 3547e0c7c6d7 17:23:23 Removing intermediate container 3547e0c7c6d7 17:23:23 ---> 0c14d81e88fe 17:23:23 Step 12/26 : RUN $MAKE 17:23:23 ---> Running in 1e7c1906d3ae 17:23:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.11 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 17:23:45 Removing intermediate container 1e7c1906d3ae 17:23:45 ---> cd02d16ab442 17:23:45 Step 13/26 : FROM alpine:3.16 17:23:45 3.16: Pulling from library/alpine 17:23:45 ca7dd9ec2225: Pulling fs layer 17:23:45 ca7dd9ec2225: Verifying Checksum 17:23:45 ca7dd9ec2225: Download complete 17:23:45 ca7dd9ec2225: Pull complete 17:23:45 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:23:45 Status: Downloaded newer image for alpine:3.16 17:23:45 ---> bfe296a52501 17:23:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:23:45 ---> Running in 99af7c0973ec 17:23:45 Removing intermediate container 99af7c0973ec 17:23:45 ---> a7e3f896eebb 17:23:45 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 17:23:45 ---> Running in 2799cffa0e7b 17:23:45 Removing intermediate container 2799cffa0e7b 17:23:45 ---> 7581749b1aa5 17:23:45 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 17:23:45 ---> Running in b52827b7b8a2 17:23:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:23:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:23:45 (1/2) Installing ca-certificates (20220614-r0) 17:23:45 (2/2) Installing dumb-init (1.2.5-r1) 17:23:45 Executing busybox-1.35.0-r17.trigger 17:23:45 Executing ca-certificates-20220614-r0.trigger 17:23:45 OK: 6 MiB in 16 packages 17:23:45 Removing intermediate container b52827b7b8a2 17:23:45 ---> 5fdd6abad469 17:23:45 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:23:45 ---> aca089b08840 17:23:45 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 17:23:45 ---> 804c9b42a8de 17:23:45 Step 19/26 : COPY --from=builder /app/res/ /res/ 17:23:45 ---> f381b5057857 17:23:45 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:23:46 ---> 65818725aefa 17:23:46 Step 21/26 : EXPOSE 48095 17:23:46 ---> Running in ac9554f4834a 17:23:46 Removing intermediate container ac9554f4834a 17:23:46 ---> 87a211f9e554 17:23:46 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 17:23:46 ---> Running in 0c824a06c07e 17:23:46 Removing intermediate container 0c824a06c07e 17:23:46 ---> 2f629551dc07 17:23:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:23:46 ---> Running in 54f344084165 17:23:46 Removing intermediate container 54f344084165 17:23:46 ---> 42ec049f9408 17:23:46 Step 24/26 : LABEL arch=amd64 17:23:46 ---> Running in b802ade93484 17:23:46 Removing intermediate container b802ade93484 17:23:46 ---> a5e39d3a72ce 17:23:46 Step 25/26 : LABEL git_sha=af4daca346cf4e77dfd9f026c6c3570995d0b9d3 17:23:46 ---> Running in 25fde9837dc2 17:23:46 Removing intermediate container 25fde9837dc2 17:23:46 ---> 65dd615845e3 17:23:46 Step 26/26 : LABEL version=0.0.0 17:23:46 ---> Running in e2fb2b676e7e 17:23:46 Removing intermediate container e2fb2b676e7e 17:23:46 ---> 51dd6c2b705c 17:23:46 [Warning] One or more build-args [ARCH] were not consumed 17:23:46 Successfully built 51dd6c2b705c 17:23:46 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:47 17:23:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:48 latest: Pulling from edgex-lftools-log-publisher 17:23:48 5eb5b503b376: Pulling fs layer 17:23:48 5c69ac0246d0: Pulling fs layer 17:23:48 ec43610c2a17: Pulling fs layer 17:23:48 3a2ae6a8a46f: Pulling fs layer 17:23:48 33b1e0a273af: Pulling fs layer 17:23:48 5d3b04190fa2: Pulling fs layer 17:23:48 2f39f015ded8: Pulling fs layer 17:23:48 3a2ae6a8a46f: Waiting 17:23:48 5d3b04190fa2: Waiting 17:23:48 2f39f015ded8: Waiting 17:23:48 33b1e0a273af: Waiting 17:23:48 5c69ac0246d0: Download complete 17:23:48 3a2ae6a8a46f: Verifying Checksum 17:23:48 3a2ae6a8a46f: Download complete 17:23:48 33b1e0a273af: Verifying Checksum 17:23:48 33b1e0a273af: Download complete 17:23:48 5d3b04190fa2: Verifying Checksum 17:23:48 5d3b04190fa2: Download complete 17:23:48 ec43610c2a17: Verifying Checksum 17:23:48 5eb5b503b376: Download complete 17:23:49 2f39f015ded8: Download complete 17:23:49 5eb5b503b376: Pull complete 17:23:50 5c69ac0246d0: Pull complete 17:23:50 ec43610c2a17: Pull complete 17:23:50 3a2ae6a8a46f: Pull complete 17:23:50 33b1e0a273af: Pull complete 17:23:50 5d3b04190fa2: Pull complete 17:23:56 2f39f015ded8: Pull complete 17:23:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:23:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:56 prd-ubuntu20.04-docker-8c-8g-1594 does not seem to be running inside a container 17:23:56 $ 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-498 -v /w/workspace/_app-service-configurable_PR-498:/w/workspace/_app-service-configurable_PR-498:rw,z -v /w/workspace/_app-service-configurable_PR-498@tmp:/w/workspace/_app-service-configurable_PR-498@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 17:23:58 $ docker top ae09e4a5da94bf69f8692d665dc0719b09050b56110168be6e46c6e78f412a7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:58 ---> job-cost.sh 17:23:58 lf-activate-venv: SKIPPING 17:23:58 INFO: No Stack... 17:23:58 INFO: Retrieving Pricing Info for: v3-standard-8 17:23:59 INFO: Archiving Costs [Pipeline] sh 17:23:59 + cat /w/workspace/_app-service-configurable_PR-498/archives/cost.csv 17:23:59 + cut -d, -f6 [Pipeline] lock 17:23:59 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-498-1-stack-cost] 17:23:59 Resource [jenkins-edgexfoundry-app-service-configurable-PR-498-1-stack-cost] did not exist. Created. 17:23:59 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-498-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:23:59 + echo total: 0.2199999988079071 [Pipeline] stash 17:23:59 Stashed 1 file(s) [Pipeline] } 17:23:59 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-498-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:00 $ docker stop --time=1 ae09e4a5da94bf69f8692d665dc0719b09050b56110168be6e46c6e78f412a7d 17:24:01 $ docker rm -f --volumes ae09e4a5da94bf69f8692d665dc0719b09050b56110168be6e46c6e78f412a7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:24:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1601 in /w/workspace/_app-service-configurable_PR-498 [Pipeline] { [Pipeline] ws 17:24:42 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 17:24:42 Selected Git installation does not exist. Using Default 17:24:42 The recommended git tool is: NONE 17:24:49 using credential edgex-jenkins-ssh 17:24:49 Cloning the remote Git repository 17:24:49 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:24:49 > git init /w/workspace/app-service-configurable/1 # timeout=10 17:24:49 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:24:49 > git --version # timeout=10 17:24:49 > git --version # 'git version 2.25.1' 17:24:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:24:51 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:24:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:24:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:24:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:24:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:24:53 Merging remotes/origin/main commit 00d8ffd1a5b178530bec1b751018b947d29fdef0 into PR head commit af4daca346cf4e77dfd9f026c6c3570995d0b9d3 17:24:53 Merge succeeded, producing af4daca346cf4e77dfd9f026c6c3570995d0b9d3 17:24:53 Checking out Revision af4daca346cf4e77dfd9f026c6c3570995d0b9d3 (PR-498) 17:24:53 > git config core.sparsecheckout # timeout=10 17:24:53 > git checkout -f af4daca346cf4e77dfd9f026c6c3570995d0b9d3 # timeout=10 17:24:53 > git remote # timeout=10 17:24:53 > git config --get remote.origin.url # timeout=10 17:24:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:53 > git merge 00d8ffd1a5b178530bec1b751018b947d29fdef0 # timeout=10 17:24:53 > git rev-parse HEAD^{commit} # timeout=10 17:24:53 > git config core.sparsecheckout # timeout=10 17:24:53 > git checkout -f af4daca346cf4e77dfd9f026c6c3570995d0b9d3 # timeout=10 17:24:56 Commit message: "build!: Remove ZMQ from snap" 17:24:57 > git --version # timeout=10 17:24:57 > git --version # 'git version 2.25.1' 17:24:57 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:24:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:24:58 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:58 Dload Upload Total Spent Left Speed 17:24:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh 17:24:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:24:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:24:59 + sudo tee /etc/docker/daemon.new 17:24:59 { 17:24:59 "registry-mirrors": [ 17:24:59 "https://nexus3.edgexfoundry.org:10001" 17:24:59 ], 17:24:59 "bip": "10.250.0.254/24", 17:24:59 "hosts": [ 17:24:59 "tcp://0.0.0.0:5555", 17:24:59 "unix:///var/run/docker.sock" 17:24:59 ], 17:24:59 "mtu": 1458, 17:24:59 "selinux-enabled": true, 17:24:59 "seccomp-profile": "/etc/docker/seccomp.json" 17:24:59 } [Pipeline] sh 17:24:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:25:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:18 provisioning config files... 17:25:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config2329978016351313605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:18 ---> docker-login.sh 17:25:18 nexus3.edgexfoundry.org:10001 17:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:19 Configure a credential helper to remove this warning. See 17:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:19 17:25:19 Login Succeeded 17:25:19 nexus3.edgexfoundry.org:10002 17:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:20 Configure a credential helper to remove this warning. See 17:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:20 17:25:20 Login Succeeded 17:25:20 nexus3.edgexfoundry.org:10003 17:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:20 Configure a credential helper to remove this warning. See 17:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:20 17:25:20 Login Succeeded 17:25:20 nexus3.edgexfoundry.org:10004 17:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:20 Configure a credential helper to remove this warning. See 17:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:20 17:25:20 Login Succeeded 17:25:20 docker.io 17:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:21 Configure a credential helper to remove this warning. See 17:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:21 17:25:21 Login Succeeded 17:25:21 ---> docker-login.sh ends [Pipeline] } 17:25:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:22 ========================================================= 17:25:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:25:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:22 + 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 . 17:25:22 Sending build context to Docker daemon 217.1kB 17:25:22 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:25:22 Step 2/12 : FROM ${BASE} AS builder 17:25:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:25:23 9b18e9b68314: Pulling fs layer 17:25:23 35d82f9e3411: Pulling fs layer 17:25:23 e16973657156: Pulling fs layer 17:25:23 fc693d55d65f: Pulling fs layer 17:25:23 7e9fc2657dce: Pulling fs layer 17:25:23 dda99020689f: Pulling fs layer 17:25:23 db1c61fa0a46: Pulling fs layer 17:25:23 891c053d2c06: Pulling fs layer 17:25:23 dda99020689f: Waiting 17:25:23 db1c61fa0a46: Waiting 17:25:23 891c053d2c06: Waiting 17:25:23 fc693d55d65f: Waiting 17:25:23 7e9fc2657dce: Waiting 17:25:23 e16973657156: Verifying Checksum 17:25:23 e16973657156: Download complete 17:25:23 35d82f9e3411: Verifying Checksum 17:25:23 35d82f9e3411: Download complete 17:25:23 7e9fc2657dce: Download complete 17:25:23 dda99020689f: Download complete 17:25:23 9b18e9b68314: Verifying Checksum 17:25:23 9b18e9b68314: Download complete 17:25:24 9b18e9b68314: Pull complete 17:25:24 891c053d2c06: Verifying Checksum 17:25:24 891c053d2c06: Download complete 17:25:24 35d82f9e3411: Pull complete 17:25:25 e16973657156: Pull complete 17:25:25 db1c61fa0a46: Verifying Checksum 17:25:25 db1c61fa0a46: Download complete 17:25:26 fc693d55d65f: Verifying Checksum 17:25:26 fc693d55d65f: Download complete 17:25:38 fc693d55d65f: Pull complete 17:25:38 7e9fc2657dce: Pull complete 17:25:38 dda99020689f: Pull complete 17:25:45 db1c61fa0a46: Pull complete 17:25:47 891c053d2c06: Pull complete 17:25:47 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:25:47 ---> f96f9c87975a 17:25:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:25:47 ---> Running in 2a08f06fa24b 17:25:48 Removing intermediate container 2a08f06fa24b 17:25:48 ---> d2863c001e2e 17:25:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:25:48 ---> Running in df28d4ffc32d 17:25:48 Removing intermediate container df28d4ffc32d 17:25:48 ---> edca2630da72 17:25:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:25:48 ---> Running in 22cb1668fb5c 17:25:49 Removing intermediate container 22cb1668fb5c 17:25:49 ---> 347fa88a6e33 17:25:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:25:49 ---> Running in 06da74c4e4a3 17:25:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:25:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:25:52 OK: 221 MiB in 51 packages 17:25:53 Removing intermediate container 06da74c4e4a3 17:25:53 ---> 7d9d3d9004fe 17:25:53 Step 7/12 : WORKDIR /app 17:25:53 ---> Running in 8149fa5f27af 17:25:54 Removing intermediate container 8149fa5f27af 17:25:54 ---> 0b53530520fe 17:25:54 Step 8/12 : COPY go.mod vendor* ./ 17:25:54 ---> cd6d3318e6f0 17:25:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:54 ---> Running in ac5b78a79e04 17:27:02 Removing intermediate container ac5b78a79e04 17:27:02 ---> 8ced42ff3614 17:27:02 Step 10/12 : COPY . . 17:27:02 ---> 0b1ca3f19fbb 17:27:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:27:02 ---> Running in 55d4696be358 17:27:02 Removing intermediate container 55d4696be358 17:27:02 ---> 4bc2809eb443 17:27:02 Step 12/12 : RUN $MAKE 17:27:02 ---> Running in 6559f8a07722 17:27:02 noop 17:27:02 Removing intermediate container 6559f8a07722 17:27:02 ---> 40499bf1fd43 17:27:02 Successfully built 40499bf1fd43 17:27:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:03 + docker inspect -f . ci-base-image-arm64 17:27:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:03 prd-ubuntu20.04-docker-arm64-4c-16g-1601 does not seem to be running inside a container 17:27:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:27:04 $ docker top f7e12f6ee9405f0aa555ca7db0653c75eb902f0df9e7f30d5d3ca770ffcfe985 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:05 + go version 17:27:05 go version go1.18.7 linux/arm64 [Pipeline] } 17:27:05 $ docker stop --time=1 f7e12f6ee9405f0aa555ca7db0653c75eb902f0df9e7f30d5d3ca770ffcfe985 17:27:07 $ docker rm -f --volumes f7e12f6ee9405f0aa555ca7db0653c75eb902f0df9e7f30d5d3ca770ffcfe985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:08 + docker inspect -f . ci-base-image-arm64 17:27:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:08 prd-ubuntu20.04-docker-arm64-4c-16g-1601 does not seem to be running inside a container 17:27:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:27:10 $ docker top 4877d649046eaf668a43210d4c2278e9d32fa8a1cbc804cf79115a28f93948c2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:11 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 17:27:12 + make test 17:27:12 go test -race -coverprofile=coverage.out ./... 17:30:03 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:30:03 go vet ./... 17:31:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:31:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:31:40 ./bin/test-attribution-txt.sh [Pipeline] echo 17:31:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:31:40 $ docker stop --time=1 4877d649046eaf668a43210d4c2278e9d32fa8a1cbc804cf79115a28f93948c2 17:31:42 $ docker rm -f --volumes 4877d649046eaf668a43210d4c2278e9d32fa8a1cbc804cf79115a28f93948c2 [Pipeline] // withDockerContainer [Pipeline] sh 17:31:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:31:44 Warning: overwriting stash ‘coverage-report’ 17:31:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:31:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:31:46 + ls -al . 17:31:46 total 180 17:31:46 drwxrwxr-x 7 jenkins jenkins 4096 Jan 10 17:27 . 17:31:46 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:24 .. 17:31:46 -rw-rw-r-- 1 jenkins jenkins 119 Jan 10 17:24 .dockerignore 17:31:46 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:24 .git 17:31:46 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:24 .github 17:31:46 -rw-rw-r-- 1 jenkins jenkins 171 Jan 10 17:24 .gitignore 17:31:46 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 10 17:24 Attribution.txt 17:31:46 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 10 17:24 CHANGELOG.md 17:31:46 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 10 17:24 Dockerfile 17:31:46 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 17:24 GOVERNANCE.md 17:31:46 -rw-rw-r-- 1 jenkins jenkins 688 Jan 10 17:24 Jenkinsfile 17:31:46 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 10 17:24 LICENSE 17:31:46 -rw-rw-r-- 1 jenkins jenkins 618 Jan 10 17:24 OWNERS.md 17:31:46 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 10 17:24 README.md 17:31:46 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 17:21 VERSION 17:31:46 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 17:24 bin 17:31:46 -rw-r--r-- 1 jenkins jenkins 13 Jan 10 17:27 coverage.out 17:31:46 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 10 17:24 go.mod 17:31:46 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 10 17:24 go.sum 17:31:46 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 10 17:24 main.go 17:31:46 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 10 17:24 makefile 17:31:46 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 17:24 res 17:31:46 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:24 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:46 + 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=af4daca346cf4e77dfd9f026c6c3570995d0b9d3 --label arch=arm64 --label version=0.0.0 . 17:31:46 Sending build context to Docker daemon 218.1kB 17:31:46 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:31:46 Step 2/26 : FROM ${BASE} AS builder 17:31:46 ---> 40499bf1fd43 17:31:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 17:31:47 ---> Running in 0671b4e5ba6b 17:31:47 Removing intermediate container 0671b4e5ba6b 17:31:47 ---> 6a58d2abba0c 17:31:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:31:47 ---> Running in 23a0ad584ed7 17:31:47 Removing intermediate container 23a0ad584ed7 17:31:47 ---> ce5d51f65aad 17:31:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:31:48 ---> Running in 52ad869e7bc4 17:31:48 Removing intermediate container 52ad869e7bc4 17:31:48 ---> 99384df4aac9 17:31:48 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:48 ---> Running in d63508745992 17:31:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:31:51 OK: 221 MiB in 51 packages 17:31:52 Removing intermediate container d63508745992 17:31:52 ---> 2794b40d706e 17:31:52 Step 7/26 : WORKDIR /app 17:31:52 ---> Running in bcd1aa0b2749 17:31:52 Removing intermediate container bcd1aa0b2749 17:31:52 ---> 0631a6f21944 17:31:52 Step 8/26 : COPY go.mod vendor* ./ 17:31:53 ---> 4a644897ab9a 17:31:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:31:53 ---> Running in 295d97160aa7 17:31:56 Removing intermediate container 295d97160aa7 17:31:56 ---> 8733a684e7d1 17:31:56 Step 10/26 : COPY . . 17:31:56 ---> db606cc4ff94 17:31:56 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:31:56 ---> Running in 15792908fc4b 17:31:56 Removing intermediate container 15792908fc4b 17:31:56 ---> 8ea302f7db74 17:31:56 Step 12/26 : RUN $MAKE 17:31:57 ---> Running in 4630039ca69e 17:31:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.11 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 17:34:35 Removing intermediate container 4630039ca69e 17:34:35 ---> cb73ad9d9f74 17:34:35 Step 13/26 : FROM alpine:3.16 17:34:35 3.16: Pulling from library/alpine 17:34:35 6875df1f5354: Pulling fs layer 17:34:36 6875df1f5354: Verifying Checksum 17:34:36 6875df1f5354: Download complete 17:34:37 6875df1f5354: Pull complete 17:34:37 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:34:37 Status: Downloaded newer image for alpine:3.16 17:34:37 ---> 2b4661558fb8 17:34:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:34:37 ---> Running in fa9bc8d6a43d 17:34:37 Removing intermediate container fa9bc8d6a43d 17:34:37 ---> d17eecc2ed66 17:34:37 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 17:34:38 ---> Running in db645f5a4aea 17:34:38 Removing intermediate container db645f5a4aea 17:34:38 ---> 17836530dad0 17:34:38 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 17:34:38 ---> Running in 4d30b216ee8e 17:34:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:34:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:34:41 (1/2) Installing ca-certificates (20220614-r0) 17:34:41 (2/2) Installing dumb-init (1.2.5-r1) 17:34:41 Executing busybox-1.35.0-r17.trigger 17:34:41 Executing ca-certificates-20220614-r0.trigger 17:34:41 OK: 6 MiB in 16 packages 17:34:42 Removing intermediate container 4d30b216ee8e 17:34:42 ---> 0237b192af2f 17:34:42 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:34:43 ---> 6f9d867bf310 17:34:43 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 17:34:44 ---> c87955ed5157 17:34:44 Step 19/26 : COPY --from=builder /app/res/ /res/ 17:34:45 ---> 6c51770e2c82 17:34:45 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:34:47 ---> a71084198837 17:34:47 Step 21/26 : EXPOSE 48095 17:34:47 ---> Running in 85fa5d34907b 17:34:47 Removing intermediate container 85fa5d34907b 17:34:47 ---> 1ca092a89a67 17:34:47 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 17:34:47 ---> Running in 7f9a078931b8 17:34:48 Removing intermediate container 7f9a078931b8 17:34:48 ---> 0fe5441d0b0d 17:34:48 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:34:48 ---> Running in efab9e12fb69 17:34:48 Removing intermediate container efab9e12fb69 17:34:48 ---> 21146e808a68 17:34:48 Step 24/26 : LABEL arch=arm64 17:34:49 ---> Running in fae72850f4e5 17:34:49 Removing intermediate container fae72850f4e5 17:34:49 ---> 0fd02fad0fcd 17:34:49 Step 25/26 : LABEL git_sha=af4daca346cf4e77dfd9f026c6c3570995d0b9d3 17:34:49 ---> Running in 6e4bf2192c88 17:34:50 Removing intermediate container 6e4bf2192c88 17:34:50 ---> 06b709cef80f 17:34:50 Step 26/26 : LABEL version=0.0.0 17:34:50 ---> Running in 41a60c2141ee 17:34:51 Removing intermediate container 41a60c2141ee 17:34:51 ---> 505953814c27 17:34:51 [Warning] One or more build-args [ARCH] were not consumed 17:34:51 Successfully built 505953814c27 17:34:51 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:52 17:34:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:52 arm64: Pulling from edgex-lftools-log-publisher 17:34:52 8998bd30e6a1: Pulling fs layer 17:34:52 04944245beec: Pulling fs layer 17:34:52 699f458cf7ca: Pulling fs layer 17:34:52 765212b225bb: Pulling fs layer 17:34:52 f23df028b6ca: Pulling fs layer 17:34:52 d65c8cfc05b1: Pulling fs layer 17:34:52 2437ff75d9bd: Pulling fs layer 17:34:52 765212b225bb: Waiting 17:34:52 f23df028b6ca: Waiting 17:34:52 d65c8cfc05b1: Waiting 17:34:52 2437ff75d9bd: Waiting 17:34:53 04944245beec: Verifying Checksum 17:34:53 04944245beec: Download complete 17:34:53 765212b225bb: Verifying Checksum 17:34:53 765212b225bb: Download complete 17:34:53 f23df028b6ca: Download complete 17:34:53 d65c8cfc05b1: Verifying Checksum 17:34:53 d65c8cfc05b1: Download complete 17:34:53 699f458cf7ca: Verifying Checksum 17:34:53 699f458cf7ca: Download complete 17:34:54 8998bd30e6a1: Verifying Checksum 17:34:54 8998bd30e6a1: Download complete 17:34:57 2437ff75d9bd: Verifying Checksum 17:34:57 2437ff75d9bd: Download complete 17:34:58 8998bd30e6a1: Pull complete 17:34:58 04944245beec: Pull complete 17:35:00 699f458cf7ca: Pull complete 17:35:00 765212b225bb: Pull complete 17:35:01 f23df028b6ca: Pull complete 17:35:01 d65c8cfc05b1: Pull complete 17:35:16 2437ff75d9bd: Pull complete 17:35:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:35:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:16 prd-ubuntu20.04-docker-arm64-4c-16g-1601 does not seem to be running inside a container 17:35:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:35:19 $ docker top 538bc5038d135ddba765000696e065a53c38dad1929fe411a497ba5ccc3012f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:20 ---> job-cost.sh 17:35:20 lf-activate-venv: SKIPPING 17:35:20 INFO: No Stack... 17:35:21 INFO: Retrieving Pricing Info for: v3-standard-4 17:35:22 INFO: Archiving Costs [Pipeline] sh 17:35:23 + + cutcat -d, /w/workspace/app-service-configurable/1/archives/cost.csv -f6 17:35:23 [Pipeline] lock 17:35:23 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-498-1-stack-cost] 17:35:23 Resource [jenkins-edgexfoundry-app-service-configurable-PR-498-1-stack-cost] did not exist. Created. 17:35:23 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-498-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:35:23 /w/workspace/app-service-configurable/1@tmp/durable-eaf787e6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:35:24 + echo total: 0.10999999940395355 [Pipeline] stash 17:35:24 Warning: overwriting stash ‘stack-cost’ 17:35:24 Stashed 1 file(s) [Pipeline] } 17:35:24 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-498-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:35:24 $ docker stop --time=1 538bc5038d135ddba765000696e065a53c38dad1929fe411a497ba5ccc3012f4 17:35:26 $ docker rm -f --volumes 538bc5038d135ddba765000696e065a53c38dad1929fe411a497ba5ccc3012f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:35:27 provisioning config files... 17:35:27 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-498@tmp/config6167346034806032749tmp [Pipeline] { [Pipeline] sh 17:35:27 + set +x 17:35:27 + curl -s https://codecov.io/bash 17:35:27 + bash -s -- 17:35:27 17:35:27 _____ _ 17:35:27 / ____| | | 17:35:27 | | ___ __| | ___ ___ _____ __ 17:35:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:35:27 | |___| (_) | (_| | __/ (_| (_) \ V / 17:35:27 \_____\___/ \__,_|\___|\___\___/ \_/ 17:35:27 Bash-1.0.6 17:35:27 17:35:27 17:35:27 ==> git version 2.25.1 found 17:35:27 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:35:27 Release-Date: 2020-01-08 17:35:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:35:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:35:27 ==> Jenkins CI detected. 17:35:27 current dir:  /w/workspace/_app-service-configurable_PR-498 17:35:27 project root: . 17:35:27 --> token set from env 17:35:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:35:27 ==> Running gcov in . (disable via -X gcov) 17:35:27 ==> Python coveragepy not found 17:35:27 ==> Searching for coverage reports in: 17:35:27 + . 17:35:27 -> Found 1 reports 17:35:27 ==> Detecting git/mercurial file structure 17:35:27 ==> Reading reports 17:35:27 + ./coverage.out bytes=13 17:35:27 ==> Appending adjustments 17:35:27 https://docs.codecov.io/docs/fixing-reports 17:35:27 + Found adjustments 17:35:27 ==> Gzipping contents 17:35:27 4.0K /tmp/codecov.TM0j8z.gz 17:35:27 ==> Uploading reports 17:35:27 url: https://codecov.io 17:35:27 query: branch=PR-498&commit=af4daca346cf4e77dfd9f026c6c3570995d0b9d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-498%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=498&job=&cmd_args= 17:35:27 -> Pinging Codecov 17:35:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-498&commit=af4daca346cf4e77dfd9f026c6c3570995d0b9d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-498%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=498&job=&cmd_args= 17:35:28 -> Uploading to 17:35:28 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/A97CA9966030D2A3747ED39772930CCE/af4daca346cf4e77dfd9f026c6c3570995d0b9d3/c12253bb-03e2-42bf-bb95-0ca9fd2f7b03.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T173527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd88320b939215d535e7b427d6f3e81912f2a0da2df3b795b082e0041cbaa385 17:35:28 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:28 Dload Upload Total Spent Left Speed 17:35:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 530 0 0 100 530 0 2236 --:--:-- --:--:-- --:--:-- 2236 17:35:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/af4daca346cf4e77dfd9f026c6c3570995d0b9d3 [Pipeline] } 17:35:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:35:30 + [ -d /w/workspace/_app-service-configurable_PR-498/archives ] 17:35:30 + ls -al /w/workspace/_app-service-configurable_PR-498/archives 17:35:30 total 16 17:35:30 drwxr-xr-x 3 root root 4096 Jan 10 17:23 . 17:35:30 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 17:23 .. 17:35:30 drwxr-xr-x 2 root root 4096 Jan 10 17:23 cost 17:35:30 -rw-r--r-- 1 root root 96 Jan 10 17:23 cost.csv 17:35:30 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-498/archives 17:35:30 + ls -al /w/workspace/_app-service-configurable_PR-498/archives 17:35:30 total 16 17:35:30 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 17:23 . 17:35:30 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 17:23 .. 17:35:30 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 17:23 cost 17:35:30 -rw-r--r-- 1 jenkins jenkins 96 Jan 10 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:35:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:35:31 ---> package-listing.sh 17:35:31 ++ facter osfamily 17:35:31 ++ tr '[:upper:]' '[:lower:]' 17:35:31 + OS_FAMILY=debian 17:35:31 + workspace=/w/workspace/_app-service-configurable_PR-498 17:35:31 + START_PACKAGES=/tmp/packages_start.txt 17:35:31 + END_PACKAGES=/tmp/packages_end.txt 17:35:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:35:31 + PACKAGES=/tmp/packages_start.txt 17:35:31 + '[' /w/workspace/_app-service-configurable_PR-498 ']' 17:35:31 + PACKAGES=/tmp/packages_end.txt 17:35:31 + case "${OS_FAMILY}" in 17:35:31 + dpkg -l 17:35:31 + grep '^ii' 17:35:31 + '[' -f /tmp/packages_start.txt ']' 17:35:31 + '[' -f /tmp/packages_end.txt ']' 17:35:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:35:31 + '[' /w/workspace/_app-service-configurable_PR-498 ']' 17:35:31 + mkdir -p /w/workspace/_app-service-configurable_PR-498/archives/ 17:35:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-498/archives/ [Pipeline] echo 17:35:31 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-498/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:35:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:32 prd-ubuntu20.04-docker-8c-8g-1594 does not seem to be running inside a container 17:35:32 $ 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-498/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-498 -v /w/workspace/_app-service-configurable_PR-498:/w/workspace/_app-service-configurable_PR-498:rw,z -v /w/workspace/_app-service-configurable_PR-498@tmp:/w/workspace/_app-service-configurable_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:35:33 $ docker top 25c522da43b3d8df672f13ce5076daa362ab303f835833b360d3ef9d183b4bcf -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:33 + touch /tmp/pre-build-complete [Pipeline] sh 17:35:34 + mkdir -p /var/log/sysstat [Pipeline] sh 17:35:34 + ls /var/log/sa-host 17:35:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:34 provisioning config files... 17:35:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-498@tmp/config16734299909916821033tmp [Pipeline] { [Pipeline] echo 17:35:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:35:34 ---> create-netrc.sh [Pipeline] } 17:35:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:35:35 ---> python-tools-install.sh [Pipeline] echo 17:35:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:35:35 ---> sudo-logs.sh 17:35:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:35:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:35:36 ---> job-cost.sh 17:35:36 lf-activate-venv: SKIPPING 17:35:36 DEBUG: total: 0.2199999988079071 17:35:36 INFO: Retrieving Stack Cost... 17:35:36 INFO: Retrieving Pricing Info for: v3-standard-8 17:35:36 INFO: Archiving Costs [Pipeline] echo 17:35:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:35:37 ---> logs-deploy.sh 17:35:37 lf-activate-venv: SKIPPING 17:35:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-498/1 17:35:37 INFO: archiving workspace using pattern(s): 17:35:38 Archives upload complete. 17:35:38 INFO: archiving logs to Nexus