Pull request #541 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53e98093ab4a2ab341b4746d2483848aedbeb949+d5263f74fc64eb658f1bf96042e543191ec86855 (5709f2c7e5b80d29245660c0416dded85fd3fa77) 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-ssh8390742059667019576.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12247788903846201884.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-541/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-541/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15471494369856948730.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-541/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6181288088640078155.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh4876362017486751856.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-541/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-541/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17494902245098508964.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6876 in /w/workspace/_app-service-configurable_PR-541 [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-541 # 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/541/head:refs/remotes/origin/PR-541 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d5263f74fc64eb658f1bf96042e543191ec86855 into PR head commit 53e98093ab4a2ab341b4746d2483848aedbeb949 Merge succeeded, producing 53e98093ab4a2ab341b4746d2483848aedbeb949 Checking out Revision 53e98093ab4a2ab341b4746d2483848aedbeb949 (PR-541) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:58:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 53e98093ab4a2ab341b4746d2483848aedbeb949 # 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 d5263f74fc64eb658f1bf96042e543191ec86855 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53e98093ab4a2ab341b4746d2483848aedbeb949 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:58:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:33 ========================================================= 12:58:33 EdgeX Global Pipelines Version Info 12:58:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:58:34 ------------------- 12:58:34 stable info: 12:58:34 ------------------- 12:58:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:58:34 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 12:58:34 Message: update stable to v1.0.245 12:58:34 ------------------- 12:58:34 experimental info: 12:58:34 ------------------- 12:58:34 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:34 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 12:58:34 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:34 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-541 [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-541 [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-541 [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53e98093ab4a2ab341b4746d2483848aedbeb949 [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53e9809 [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:36 provisioning config files... 12:58:36 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-541@tmp/config1536009008030716223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:36 ---> docker-login.sh 12:58:36 nexus3.edgexfoundry.org:10001 12:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:37 Configure a credential helper to remove this warning. See 12:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:37 12:58:37 Login Succeeded 12:58:37 nexus3.edgexfoundry.org:10002 12:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:37 Configure a credential helper to remove this warning. See 12:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:37 12:58:37 Login Succeeded 12:58:37 nexus3.edgexfoundry.org:10003 12:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:37 Configure a credential helper to remove this warning. See 12:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:37 12:58:37 Login Succeeded 12:58:37 nexus3.edgexfoundry.org:10004 12:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:37 Configure a credential helper to remove this warning. See 12:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:37 12:58:37 Login Succeeded 12:58:37 docker.io 12:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:37 Configure a credential helper to remove this warning. See 12:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:37 12:58:37 Login Succeeded 12:58:37 ---> docker-login.sh ends [Pipeline] } 12:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:38 + git rev-list -1 --merges 53e98093ab4a2ab341b4746d2483848aedbeb949~1..53e98093ab4a2ab341b4746d2483848aedbeb949 [Pipeline] echo 12:58:38 -----------> git rev-list -1 --merges 53e98093ab4a2ab341b4746d2483848aedbeb949~1..53e98093ab4a2ab341b4746d2483848aedbeb949 53e98093ab4a2ab341b4746d2483848aedbeb949 [false] [Pipeline] sh 12:58:38 + git log --format=format:%s -1 53e98093ab4a2ab341b4746d2483848aedbeb949 [Pipeline] echo 12:58:38 ========================================================= 12:58:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:39 + git log --format=format:%s -1 53e98093ab4a2ab341b4746d2483848aedbeb949 [Pipeline] echo 12:58:39 [semverPrep] GIT_COMMIT: 53e98093ab4a2ab341b4746d2483848aedbeb949, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:58:39 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:39 + grep -v github /etc/ssh/ssh_known_hosts 12:58:39 + [ -e /tmp/ssh_known_hosts ] 12:58:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:39 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:40 12:58:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:40 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:40 b85a868b505f: Pulling fs layer 12:58:40 e2be974225ed: Pulling fs layer 12:58:40 339a4e72a1f5: Pulling fs layer 12:58:40 988bab9f4d93: Pulling fs layer 12:58:40 1469e6f7b9e6: Pulling fs layer 12:58:40 eaf3925da568: Pulling fs layer 12:58:40 bab4dde63d76: Pulling fs layer 12:58:40 bde34c3a00c8: Pulling fs layer 12:58:40 b352a97aabf1: Pulling fs layer 12:58:40 4872d77fe225: Pulling fs layer 12:58:40 5851b861e8e6: Pulling fs layer 12:58:40 1469e6f7b9e6: Waiting 12:58:40 eaf3925da568: Waiting 12:58:40 bab4dde63d76: Waiting 12:58:40 bde34c3a00c8: Waiting 12:58:40 b352a97aabf1: Waiting 12:58:40 5851b861e8e6: Waiting 12:58:40 4872d77fe225: Waiting 12:58:40 e2be974225ed: Download complete 12:58:40 988bab9f4d93: Verifying Checksum 12:58:40 988bab9f4d93: Download complete 12:58:40 1469e6f7b9e6: Verifying Checksum 12:58:40 1469e6f7b9e6: Download complete 12:58:40 eaf3925da568: Verifying Checksum 12:58:40 eaf3925da568: Download complete 12:58:40 339a4e72a1f5: Verifying Checksum 12:58:40 339a4e72a1f5: Download complete 12:58:40 bde34c3a00c8: Verifying Checksum 12:58:40 bde34c3a00c8: Download complete 12:58:40 b352a97aabf1: Verifying Checksum 12:58:40 b352a97aabf1: Download complete 12:58:40 4872d77fe225: Download complete 12:58:40 5851b861e8e6: Verifying Checksum 12:58:40 5851b861e8e6: Download complete 12:58:40 b85a868b505f: Verifying Checksum 12:58:40 b85a868b505f: Download complete 12:58:41 bab4dde63d76: Verifying Checksum 12:58:41 bab4dde63d76: Download complete 12:58:42 b85a868b505f: Pull complete 12:58:42 e2be974225ed: Pull complete 12:58:42 339a4e72a1f5: Pull complete 12:58:42 988bab9f4d93: Pull complete 12:58:43 1469e6f7b9e6: Pull complete 12:58:43 eaf3925da568: Pull complete 12:58:44 bab4dde63d76: Pull complete 12:58:44 bde34c3a00c8: Pull complete 12:58:44 b352a97aabf1: Pull complete 12:58:44 4872d77fe225: Pull complete 12:58:45 5851b861e8e6: Pull complete 12:58:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:58:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:45 prd-ubuntu20.04-docker-8c-8g-6876 does not seem to be running inside a container 12:58:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-541 -v /w/workspace/_app-service-configurable_PR-541:/w/workspace/_app-service-configurable_PR-541:rw,z -v /w/workspace/_app-service-configurable_PR-541@tmp:/w/workspace/_app-service-configurable_PR-541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:58:48 $ docker top 9aab141ef04757153b9377587a955d538f1686a857ef4bbc2a38862cde7240fb -eo pid,comm 12:58:48 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). 12:58:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:48 [ssh-agent] Looking for ssh-agent implementation... 12:58:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:48 $ docker exec 9aab141ef04757153b9377587a955d538f1686a857ef4bbc2a38862cde7240fb ssh-agent 12:58:48 SSH_AUTH_SOCK=/tmp/ssh-BEM83UCdgnHF/agent.32 12:58:48 SSH_AGENT_PID=38 12:58:48 Running ssh-add (command line suppressed) 12:58:48 Identity added: /w/workspace/_app-service-configurable_PR-541@tmp/private_key_5216424214940867509.key (/w/workspace/_app-service-configurable_PR-541@tmp/private_key_5216424214940867509.key) 12:58:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:49 + git tag --points-at HEAD [Pipeline] } 12:58:49 $ docker exec --env ******** --env ******** 9aab141ef04757153b9377587a955d538f1686a857ef4bbc2a38862cde7240fb ssh-agent -k 12:58:49 unset SSH_AUTH_SOCK; 12:58:49 unset SSH_AGENT_PID; 12:58:49 echo Agent pid 38 killed; 12:58:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:49 [ssh-agent] Looking for ssh-agent implementation... 12:58:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:49 $ docker exec 9aab141ef04757153b9377587a955d538f1686a857ef4bbc2a38862cde7240fb ssh-agent 12:58:49 SSH_AUTH_SOCK=/tmp/ssh-V9H97fNysyL2/agent.70 12:58:49 SSH_AGENT_PID=76 12:58:49 Running ssh-add (command line suppressed) 12:58:49 Identity added: /w/workspace/_app-service-configurable_PR-541@tmp/private_key_8115707444159073926.key (/w/workspace/_app-service-configurable_PR-541@tmp/private_key_8115707444159073926.key) 12:58:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:49 + git semver init 12:58:50 2023-04-05 12:58:50,160 [run_init] DEBUG init version:0.0.0 force:False 12:58:50 2023-04-05 12:58:50,160 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-541/.semver 12:58:50 2023-04-05 12:58:50,161 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-541/.semver 12:58:50 2023-04-05 12:58:50,161 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-541/.semver'], cwd=/w/workspace/_app-service-configurable_PR-541, universal_newlines=False, shell=None, istream=None) 12:58:51 2023-04-05 12:58:50,947 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-541/.git/info/exclude 12:58:51 2023-04-05 12:58:50,948 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-541/.semver/PR-541 with force:False 12:58:51 2023-04-05 12:58:50,948 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-541/.semver/PR-541 12:58:51 2023-04-05 12:58:50,952 [execute] INFO git cat-file --batch-check 12:58:51 2023-04-05 12:58:50,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-541/.semver, universal_newlines=False, shell=None, istream=) 12:58:51 2023-04-05 12:58:50,956 [execute] INFO git cat-file --batch 12:58:51 2023-04-05 12:58:50,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-541/.semver, universal_newlines=False, shell=None, istream=) 12:58:51 2023-04-05 12:58:50,961 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-541/.semver/PR-541 12:58:51 0.0.0 [Pipeline] } 12:58:51 $ docker exec --env ******** --env ******** 9aab141ef04757153b9377587a955d538f1686a857ef4bbc2a38862cde7240fb ssh-agent -k 12:58:51 unset SSH_AUTH_SOCK; 12:58:51 unset SSH_AGENT_PID; 12:58:51 echo Agent pid 76 killed; 12:58:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:51 + git semver [Pipeline] } 12:58:51 $ docker stop --time=1 9aab141ef04757153b9377587a955d538f1686a857ef4bbc2a38862cde7240fb 12:58:53 $ docker rm -f --volumes 9aab141ef04757153b9377587a955d538f1686a857ef4bbc2a38862cde7240fb [Pipeline] // withDockerContainer [Pipeline] sh 12:58:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:53 Stashed 1 file(s) [Pipeline] echo 12:58:53 [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 12:58:54 provisioning config files... 12:58:54 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-541@tmp/config13587901879122580376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:54 ---> docker-login.sh 12:58:54 nexus3.edgexfoundry.org:10001 12:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:54 Configure a credential helper to remove this warning. See 12:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:54 12:58:54 Login Succeeded 12:58:54 nexus3.edgexfoundry.org:10002 12:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:54 Configure a credential helper to remove this warning. See 12:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:54 12:58:54 Login Succeeded 12:58:54 nexus3.edgexfoundry.org:10003 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 nexus3.edgexfoundry.org:10004 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 docker.io 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 ---> docker-login.sh ends [Pipeline] } 12:58:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:55 ========================================================= 12:58:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:58:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:58:56 Sending build context to Docker daemon 3.258MB 12:58:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:58:56 Step 2/12 : FROM ${BASE} AS builder 12:58:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:58:56 63b65145d645: Pulling fs layer 12:58:56 a2d21d5440eb: Pulling fs layer 12:58:56 935e6c44a52c: Pulling fs layer 12:58:56 94cc34f8dd06: Pulling fs layer 12:58:56 30dea6a524f1: Pulling fs layer 12:58:56 a2aff8979fd8: Pulling fs layer 12:58:56 6808be2612f2: Pulling fs layer 12:58:56 f25807f1079a: Pulling fs layer 12:58:56 a2aff8979fd8: Waiting 12:58:56 30dea6a524f1: Waiting 12:58:56 6808be2612f2: Waiting 12:58:56 94cc34f8dd06: Waiting 12:58:56 f25807f1079a: Waiting 12:58:56 a2d21d5440eb: Verifying Checksum 12:58:56 a2d21d5440eb: Download complete 12:58:56 94cc34f8dd06: Verifying Checksum 12:58:56 94cc34f8dd06: Download complete 12:58:56 30dea6a524f1: Verifying Checksum 12:58:56 30dea6a524f1: Download complete 12:58:56 63b65145d645: Verifying Checksum 12:58:56 63b65145d645: Download complete 12:58:56 a2aff8979fd8: Verifying Checksum 12:58:56 a2aff8979fd8: Download complete 12:58:56 63b65145d645: Pull complete 12:58:56 a2d21d5440eb: Pull complete 12:58:57 f25807f1079a: Verifying Checksum 12:58:57 f25807f1079a: Download complete 12:58:57 935e6c44a52c: Download complete 12:58:57 6808be2612f2: Verifying Checksum 12:58:57 6808be2612f2: Download complete 12:59:00 935e6c44a52c: Pull complete 12:59:00 94cc34f8dd06: Pull complete 12:59:00 30dea6a524f1: Pull complete 12:59:00 a2aff8979fd8: Pull complete 12:59:03 6808be2612f2: Pull complete 12:59:03 f25807f1079a: Pull complete 12:59:03 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 12:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:59:03 ---> 3b553350e43f 12:59:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:59:08 ---> Running in 99fdfb9a4b40 12:59:08 Removing intermediate container 99fdfb9a4b40 12:59:08 ---> 68ac8d72d4ad 12:59:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:08 ---> Running in e37c56e7e60e 12:59:08 Removing intermediate container e37c56e7e60e 12:59:08 ---> 5215f8ea2af7 12:59:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:08 ---> Running in e82ca277968a 12:59:08 Removing intermediate container e82ca277968a 12:59:08 ---> f0829f1c1d90 12:59:08 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:08 ---> Running in 7637fab9f363 12:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:59:09 Still waiting to schedule task 12:59:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:59:09 OK: 265 MiB in 53 packages 12:59:10 Removing intermediate container 7637fab9f363 12:59:10 ---> ca180b3b4dab 12:59:10 Step 7/12 : WORKDIR /app 12:59:10 ---> Running in 66d4dce95e89 12:59:10 Removing intermediate container 66d4dce95e89 12:59:10 ---> b7f4f7a5bbaf 12:59:10 Step 8/12 : COPY go.mod vendor* ./ 12:59:10 ---> 7b9d2dd77282 12:59:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:10 ---> Running in 8e6948bbc246 12:59:56 Removing intermediate container 8e6948bbc246 12:59:56 ---> cff64e2fdaef 12:59:56 Step 10/12 : COPY . . 12:59:56 ---> 38a7e8edaa69 12:59:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:56 ---> Running in 7d28469b4503 12:59:56 Removing intermediate container 7d28469b4503 12:59:56 ---> 43ab0e5dbf14 12:59:56 Step 12/12 : RUN $MAKE 12:59:56 ---> Running in 0c9745c9228e 12:59:56 noop 12:59:57 Removing intermediate container 0c9745c9228e 12:59:57 ---> 9b743b828d54 12:59:57 Successfully built 9b743b828d54 12:59:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:57 + docker inspect -f . ci-base-image-x86_64 12:59:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:57 prd-ubuntu20.04-docker-8c-8g-6876 does not seem to be running inside a container 12:59:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-541 -v /w/workspace/_app-service-configurable_PR-541:/w/workspace/_app-service-configurable_PR-541:rw,z -v /w/workspace/_app-service-configurable_PR-541@tmp:/w/workspace/_app-service-configurable_PR-541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:58 $ docker top d535102b301af997f6cb60b7b90142480cc8b0ef53b76c609fe56f81c033cf40 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:58 + go version 12:59:58 go version go1.20.2 linux/amd64 [Pipeline] } 12:59:58 $ docker stop --time=1 d535102b301af997f6cb60b7b90142480cc8b0ef53b76c609fe56f81c033cf40 12:59:59 $ docker rm -f --volumes d535102b301af997f6cb60b7b90142480cc8b0ef53b76c609fe56f81c033cf40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:00 + docker inspect -f . ci-base-image-x86_64 13:00:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:00 prd-ubuntu20.04-docker-8c-8g-6876 does not seem to be running inside a container 13:00:00 $ 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-541 -v /w/workspace/_app-service-configurable_PR-541:/w/workspace/_app-service-configurable_PR-541:rw,z -v /w/workspace/_app-service-configurable_PR-541@tmp:/w/workspace/_app-service-configurable_PR-541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:00:01 $ docker top 54b7fa673d64e1215fe7b3fc04973b89b1ceaf7ee883ba5f6b647e64053cf298 -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:01 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-541 [Pipeline] fileExists [Pipeline] sh 13:00:01 + make test 13:00:01 go test -race -coverprofile=coverage.out ./... 13:00:20 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:38 go vet ./... 13:00:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:40 ./bin/test-attribution-txt.sh 13:00:40 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:00:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:40 $ docker stop --time=1 54b7fa673d64e1215fe7b3fc04973b89b1ceaf7ee883ba5f6b647e64053cf298 13:00:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6877 in /w/workspace/_app-service-configurable_PR-541 13:00:46 $ docker rm -f --volumes 54b7fa673d64e1215fe7b3fc04973b89b1ceaf7ee883ba5f6b647e64053cf298 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 13:00:47 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:47 Selected Git installation does not exist. Using Default 13:00:47 The recommended git tool is: NONE 13:00:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:48 + ls -al . 13:00:48 total 176 13:00:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 13:00 . 13:00:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 12:58 .. 13:00:48 -rw-rw-r-- 1 jenkins jenkins 119 Apr 5 12:58 .dockerignore 13:00:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 12:58 .git 13:00:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 12:58 .github 13:00:48 -rw-rw-r-- 1 jenkins jenkins 171 Apr 5 12:58 .gitignore 13:00:48 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 12:58 .golangci.yml 13:00:48 drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 12:58 .semver 13:00:48 -rw-rw-r-- 1 jenkins jenkins 9088 Apr 5 12:58 Attribution.txt 13:00:48 -rw-rw-r-- 1 jenkins jenkins 29118 Apr 5 12:58 CHANGELOG.md 13:00:48 -rw-rw-r-- 1 jenkins jenkins 1898 Apr 5 12:58 Dockerfile 13:00:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 12:58 GOVERNANCE.md 13:00:48 -rw-rw-r-- 1 jenkins jenkins 688 Apr 5 12:58 Jenkinsfile 13:00:48 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 5 12:58 LICENSE 13:00:48 -rw-rw-r-- 1 jenkins jenkins 618 Apr 5 12:58 OWNERS.md 13:00:48 -rw-rw-r-- 1 jenkins jenkins 4369 Apr 5 12:58 README.md 13:00:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 5 12:58 VERSION 13:00:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 12:58 bin 13:00:48 -rw-r--r-- 1 jenkins jenkins 13 Apr 5 13:00 coverage.out 13:00:48 -rw-rw-r-- 1 jenkins jenkins 3299 Apr 5 12:58 go.mod 13:00:48 -rw-rw-r-- 1 jenkins jenkins 31336 Apr 5 12:58 go.sum 13:00:48 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 5 12:58 main.go 13:00:48 -rw-rw-r-- 1 jenkins jenkins 2569 Apr 5 12:58 makefile 13:00:48 drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 12:58 res 13:00:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 12:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:48 + 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=53e98093ab4a2ab341b4746d2483848aedbeb949 --label arch=amd64 --label version=0.0.0 . 13:00:48 Sending build context to Docker daemon 3.259MB 13:00:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:00:48 Step 2/26 : FROM ${BASE} AS builder 13:00:48 ---> 9b743b828d54 13:00:48 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:49 ---> Running in cefa2b294eb4 13:00:49 Removing intermediate container cefa2b294eb4 13:00:49 ---> 1c49ecf9130d 13:00:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:49 ---> Running in d9315ea2a5fd 13:00:49 Removing intermediate container d9315ea2a5fd 13:00:49 ---> 07a8b4704930 13:00:49 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:49 ---> Running in a5e7ce35599b 13:00:49 Removing intermediate container a5e7ce35599b 13:00:49 ---> 2a37327852f9 13:00:49 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:49 ---> Running in 97a9ad1e02e9 13:00:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:49 OK: 265 MiB in 53 packages 13:00:50 Removing intermediate container 97a9ad1e02e9 13:00:50 ---> 719ed835d771 13:00:50 Step 7/26 : WORKDIR /app 13:00:50 ---> Running in c1d64b2ea8f7 13:00:50 Removing intermediate container c1d64b2ea8f7 13:00:50 ---> 249fb4b98a3e 13:00:50 Step 8/26 : COPY go.mod vendor* ./ 13:00:50 ---> 7242e24e53e3 13:00:50 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:50 ---> Running in d3da3a80b201 13:00:51 Removing intermediate container d3da3a80b201 13:00:51 ---> 1242247ceac3 13:00:51 Step 10/26 : COPY . . 13:00:51 ---> 628115eb6d3f 13:00:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:51 ---> Running in 7833c1aeaa60 13:00:51 Removing intermediate container 7833c1aeaa60 13:00:51 ---> 42d14b54aa1e 13:00:51 Step 12/26 : RUN $MAKE 13:00:51 ---> Running in 3d9de64562a3 13:00:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.49 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:00:52 using credential edgex-jenkins-ssh 13:00:52 Cloning the remote Git repository 13:00:52 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:00:52 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:00:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:52 > git --version # timeout=10 13:00:52 > git --version # 'git version 2.25.1' 13:00:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:54 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:56 Merging remotes/origin/main commit d5263f74fc64eb658f1bf96042e543191ec86855 into PR head commit 53e98093ab4a2ab341b4746d2483848aedbeb949 13:00:55 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:55 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:55 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/541/head:refs/remotes/origin/PR-541 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:56 Merge succeeded, producing 53e98093ab4a2ab341b4746d2483848aedbeb949 13:00:56 Checking out Revision 53e98093ab4a2ab341b4746d2483848aedbeb949 (PR-541) 13:00:56 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:00:56 > git --version # timeout=10 13:00:56 > git --version # 'git version 2.25.1' 13:00:56 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { 13:00:56 > git config core.sparsecheckout # timeout=10 13:00:56 > git checkout -f 53e98093ab4a2ab341b4746d2483848aedbeb949 # timeout=10 13:00:56 > git remote # timeout=10 13:00:56 > git config --get remote.origin.url # timeout=10 13:00:56 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:56 > git merge d5263f74fc64eb658f1bf96042e543191ec86855 # timeout=10 13:00:56 > git rev-parse HEAD^{commit} # timeout=10 13:00:56 > git config core.sparsecheckout # timeout=10 13:00:56 > git checkout -f 53e98093ab4a2ab341b4746d2483848aedbeb949 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:00:58 % Total % Received % Xferd Average Speed Time Time Time Current 13:00:58 Dload Upload Total Spent Left Speed 13:00:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 71634 0 --:--:-- --:--:-- --:--:-- 71234 [Pipeline] sh 13:00:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:00:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:00:59 + sudo tee /etc/docker/daemon.new 13:00:59 { 13:00:59 "registry-mirrors": [ 13:00:59 "https://nexus3.edgexfoundry.org:10001" 13:00:59 ], 13:00:59 "bip": "10.250.0.254/24", 13:00:59 "hosts": [ 13:00:59 "tcp://0.0.0.0:5555", 13:00:59 "unix:///var/run/docker.sock" 13:00:59 ], 13:00:59 "mtu": 1458, 13:00:59 "selinux-enabled": true, 13:00:59 "seccomp-profile": "/etc/docker/seccomp.json" 13:00:59 } [Pipeline] sh 13:00:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:00:59 + sudo service docker restart 13:01:10 Removing intermediate container 3d9de64562a3 13:01:10 ---> 5c68901ca06d 13:01:10 Step 13/26 : FROM alpine:3.17 13:01:10 3.17: Pulling from library/alpine 13:01:10 f56be85fc22e: Pulling fs layer 13:01:11 f56be85fc22e: Download complete 13:01:11 f56be85fc22e: Pull complete 13:01:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:01:11 Status: Downloaded newer image for alpine:3.17 13:01:11 ---> 9ed4aefc74f6 13:01:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:01:11 ---> Running in c580fde62716 13:01:11 Removing intermediate container c580fde62716 13:01:11 ---> 19625c1e1023 13:01:11 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:01:11 ---> Running in c1a2b0e97451 13:01:11 Removing intermediate container c1a2b0e97451 13:01:11 ---> b17621ee1b74 13:01:11 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:01:11 ---> Running in 1862849b3c89 13:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:01:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:01:12 (1/2) Installing ca-certificates (20220614-r4) 13:01:12 (2/2) Installing dumb-init (1.2.5-r2) 13:01:12 Executing busybox-1.35.0-r29.trigger 13:01:12 Executing ca-certificates-20220614-r4.trigger 13:01:12 OK: 8 MiB in 17 packages 13:01:12 Removing intermediate container 1862849b3c89 13:01:12 ---> f2bc4fb421e3 13:01:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:01:12 ---> c5ed2250c485 13:01:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:01:13 ---> af8b5174cf76 13:01:13 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:01:13 ---> 3b71b8718330 13:01:13 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:01:14 ---> 0ff1bc00d324 13:01:14 Step 21/26 : EXPOSE 48095 13:01:14 ---> Running in 448eec342705 13:01:14 Removing intermediate container 448eec342705 13:01:14 ---> 7b9792bf4bed 13:01:14 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:01:14 ---> Running in 9b4e269b6201 13:01:14 Removing intermediate container 9b4e269b6201 13:01:14 ---> 369321688383 13:01:14 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:01:14 ---> Running in 49196d91d647 13:01:14 Removing intermediate container 49196d91d647 13:01:14 ---> 9d9d87df65f2 13:01:14 Step 24/26 : LABEL arch=amd64 13:01:14 ---> Running in 9bac301cc4d7 13:01:14 Removing intermediate container 9bac301cc4d7 13:01:14 ---> bb12fce06c71 13:01:14 Step 25/26 : LABEL git_sha=53e98093ab4a2ab341b4746d2483848aedbeb949 13:01:14 ---> Running in dcb316f74b9c 13:01:14 Removing intermediate container dcb316f74b9c 13:01:14 ---> 512efe5907c6 13:01:14 Step 26/26 : LABEL version=0.0.0 13:01:14 ---> Running in 4c912cc33888 13:01:14 Removing intermediate container 4c912cc33888 13:01:14 ---> 4b3fa6599b9d 13:01:14 [Warning] One or more build-args [ARCH] were not consumed 13:01:14 Successfully built 4b3fa6599b9d 13:01:14 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 13:01:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:15 13:01:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:16 latest: Pulling from edgex-lftools-log-publisher 13:01:16 5eb5b503b376: Pulling fs layer 13:01:16 5c69ac0246d0: Pulling fs layer 13:01:16 ec43610c2a17: Pulling fs layer 13:01:16 3a2ae6a8a46f: Pulling fs layer 13:01:16 33b1e0a273af: Pulling fs layer 13:01:16 5d3b04190fa2: Pulling fs layer 13:01:16 3a2ae6a8a46f: Waiting 13:01:16 33b1e0a273af: Waiting 13:01:16 2f39f015ded8: Pulling fs layer 13:01:16 5d3b04190fa2: Waiting 13:01:16 2f39f015ded8: Waiting 13:01:16 5c69ac0246d0: Verifying Checksum 13:01:16 5c69ac0246d0: Download complete 13:01:16 3a2ae6a8a46f: Verifying Checksum 13:01:16 3a2ae6a8a46f: Download complete 13:01:16 33b1e0a273af: Verifying Checksum 13:01:16 33b1e0a273af: Download complete 13:01:16 ec43610c2a17: Verifying Checksum 13:01:16 ec43610c2a17: Download complete 13:01:16 5d3b04190fa2: Verifying Checksum 13:01:16 5d3b04190fa2: Download complete 13:01:16 5eb5b503b376: Verifying Checksum 13:01:16 5eb5b503b376: Download complete 13:01:17 2f39f015ded8: Download complete 13:01:17 5eb5b503b376: Pull complete 13:01:17 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:18 provisioning config files... 13:01:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7396094050619181403tmp [Pipeline] { [Pipeline] libraryResource 13:01:18 ec43610c2a17: Pull complete 13:01:18 3a2ae6a8a46f: Pull complete [Pipeline] sh 13:01:18 33b1e0a273af: Pull complete 13:01:18 5d3b04190fa2: Pull complete 13:01:18 ---> docker-login.sh 13:01:18 nexus3.edgexfoundry.org:10001 13:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:19 Configure a credential helper to remove this warning. See 13:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:19 13:01:19 Login Succeeded 13:01:19 nexus3.edgexfoundry.org:10002 13:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:19 Configure a credential helper to remove this warning. See 13:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:19 13:01:19 Login Succeeded 13:01:19 nexus3.edgexfoundry.org:10003 13:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:19 Configure a credential helper to remove this warning. See 13:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:19 13:01:19 Login Succeeded 13:01:19 nexus3.edgexfoundry.org:10004 13:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:20 Configure a credential helper to remove this warning. See 13:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:20 13:01:20 Login Succeeded 13:01:20 docker.io 13:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:20 Configure a credential helper to remove this warning. See 13:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:20 13:01:20 Login Succeeded 13:01:20 ---> docker-login.sh ends [Pipeline] } 13:01:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:01:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:20 ========================================================= 13:01:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:01:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:01:21 Sending build context to Docker daemon 169kB 13:01:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:01:21 Step 2/12 : FROM ${BASE} AS builder 13:01:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:01:21 af6eaf76a39c: Pulling fs layer 13:01:21 55522c791124: Pulling fs layer 13:01:21 ce5c4a1c91eb: Pulling fs layer 13:01:21 169dfbe0d373: Pulling fs layer 13:01:21 e1ff8fa3b103: Pulling fs layer 13:01:21 52ebb69f0ebf: Pulling fs layer 13:01:21 5abe8eddf0d5: Pulling fs layer 13:01:21 169dfbe0d373: Waiting 13:01:21 e1ff8fa3b103: Waiting 13:01:21 52ebb69f0ebf: Waiting 13:01:21 5abe8eddf0d5: Waiting 13:01:21 55522c791124: Verifying Checksum 13:01:21 55522c791124: Download complete 13:01:21 169dfbe0d373: Verifying Checksum 13:01:21 169dfbe0d373: Download complete 13:01:21 e1ff8fa3b103: Download complete 13:01:21 af6eaf76a39c: Verifying Checksum 13:01:21 af6eaf76a39c: Download complete 13:01:22 2f39f015ded8: Pull complete 13:01:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:01:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:22 af6eaf76a39c: Pull complete 13:01:22 5abe8eddf0d5: Verifying Checksum 13:01:22 5abe8eddf0d5: Download complete 13:01:22 prd-ubuntu20.04-docker-8c-8g-6876 does not seem to be running inside a container 13:01:22 $ 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-541 -v /w/workspace/_app-service-configurable_PR-541:/w/workspace/_app-service-configurable_PR-541:rw,z -v /w/workspace/_app-service-configurable_PR-541@tmp:/w/workspace/_app-service-configurable_PR-541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:01:23 55522c791124: Pull complete 13:01:24 52ebb69f0ebf: Verifying Checksum 13:01:24 52ebb69f0ebf: Download complete 13:01:24 ce5c4a1c91eb: Verifying Checksum 13:01:24 ce5c4a1c91eb: Download complete 13:01:28 $ docker top b63a2f25c104b72e6a21645e9ced178e31cb6ce1071c06d7dface755622b8f50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:29 ---> job-cost.sh 13:01:29 lf-activate-venv: SKIPPING 13:01:29 INFO: No Stack... 13:01:29 INFO: Retrieving Pricing Info for: v3-standard-8 13:01:29 INFO: Archiving Costs [Pipeline] sh 13:01:30 + cat /w/workspace/_app-service-configurable_PR-541/archives/cost.csv 13:01:30 + cut -d, -f6 [Pipeline] lock 13:01:30 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-541-1-stack-cost] 13:01:30 Resource [jenkins-edgexfoundry-app-service-configurable-PR-541-1-stack-cost] did not exist. Created. 13:01:30 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-541-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:01:30 + echo total: 0.2199999988079071 [Pipeline] stash 13:01:30 Stashed 1 file(s) [Pipeline] } 13:01:30 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-541-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:30 $ docker stop --time=1 b63a2f25c104b72e6a21645e9ced178e31cb6ce1071c06d7dface755622b8f50 13:01:31 $ docker rm -f --volumes b63a2f25c104b72e6a21645e9ced178e31cb6ce1071c06d7dface755622b8f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:01:34 ce5c4a1c91eb: Pull complete 13:01:34 169dfbe0d373: Pull complete 13:01:34 e1ff8fa3b103: Pull complete 13:01:41 52ebb69f0ebf: Pull complete 13:01:42 5abe8eddf0d5: Pull complete 13:01:42 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:01:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:01:42 ---> 6cb57ee374ae 13:01:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:44 ---> Running in 3a511fe96657 13:01:44 Removing intermediate container 3a511fe96657 13:01:44 ---> 9daf3f9ab2a7 13:01:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:44 ---> Running in f33903128ada 13:01:44 Removing intermediate container f33903128ada 13:01:44 ---> f0630778aa5d 13:01:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:44 ---> Running in e3c140e9c3e2 13:01:44 Removing intermediate container e3c140e9c3e2 13:01:44 ---> 0818f6391776 13:01:44 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:44 ---> Running in a3dcd240db7c 13:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:01:47 OK: 263 MiB in 53 packages 13:01:48 Removing intermediate container a3dcd240db7c 13:01:48 ---> 62c92ae3bf4a 13:01:48 Step 7/12 : WORKDIR /app 13:01:48 ---> Running in 5463a2e7bb49 13:01:48 Removing intermediate container 5463a2e7bb49 13:01:48 ---> 5d25322fe8c0 13:01:48 Step 8/12 : COPY go.mod vendor* ./ 13:01:49 ---> 0ca3e42fc759 13:01:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:49 ---> Running in 4e0afb0bedff 13:02:57 Removing intermediate container 4e0afb0bedff 13:02:57 ---> b2383798e5d4 13:02:57 Step 10/12 : COPY . . 13:02:57 ---> 984e09cce492 13:02:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:57 ---> Running in a3b09c5fbf4f 13:02:57 Removing intermediate container a3b09c5fbf4f 13:02:57 ---> bd672fda42ab 13:02:57 Step 12/12 : RUN $MAKE 13:02:57 ---> Running in 793e534d8434 13:02:57 noop 13:02:57 Removing intermediate container 793e534d8434 13:02:57 ---> 3b5b60e529f8 13:02:57 Successfully built 3b5b60e529f8 13:02:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:57 + docker inspect -f . ci-base-image-arm64 13:02:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:57 prd-ubuntu20.04-docker-arm64-4c-16g-6877 does not seem to be running inside a container 13:02:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:02:59 $ docker top 70aed380ab4aafab20c7e82098641682860b8ba4637e4a009134dfc0decbd517 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:59 + go version 13:02:59 go version go1.20.2 linux/arm64 [Pipeline] } 13:02:59 $ docker stop --time=1 70aed380ab4aafab20c7e82098641682860b8ba4637e4a009134dfc0decbd517 13:03:01 $ docker rm -f --volumes 70aed380ab4aafab20c7e82098641682860b8ba4637e4a009134dfc0decbd517 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:02 + docker inspect -f . ci-base-image-arm64 13:03:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:02 prd-ubuntu20.04-docker-arm64-4c-16g-6877 does not seem to be running inside a container 13:03:02 $ 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 ******** ci-base-image-arm64 cat 13:03:03 $ docker top 1c23382ee5c273215de1abde9076503dc57fae43630d406ebad3bbaf1b428f12 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:04 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:03:04 + make test 13:03:04 go test -race -coverprofile=coverage.out ./... 13:05:41 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:05:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:05:41 go vet ./... 13:08:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:08:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:08:03 ./bin/test-attribution-txt.sh 13:08:03 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:08:03 $ docker stop --time=1 1c23382ee5c273215de1abde9076503dc57fae43630d406ebad3bbaf1b428f12 13:08:04 $ docker rm -f --volumes 1c23382ee5c273215de1abde9076503dc57fae43630d406ebad3bbaf1b428f12 [Pipeline] // withDockerContainer [Pipeline] sh 13:08:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:08:06 Warning: overwriting stash ‘coverage-report’ 13:08:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:08:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:08:07 + ls -al . 13:08:07 total 172 13:08:07 drwxrwxr-x 7 jenkins jenkins 4096 Apr 5 13:03 . 13:08:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 13:00 .. 13:08:07 -rw-rw-r-- 1 jenkins jenkins 119 Apr 5 13:00 .dockerignore 13:08:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 13:00 .git 13:08:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 13:00 .github 13:08:07 -rw-rw-r-- 1 jenkins jenkins 171 Apr 5 13:00 .gitignore 13:08:07 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 13:00 .golangci.yml 13:08:07 -rw-rw-r-- 1 jenkins jenkins 9088 Apr 5 13:00 Attribution.txt 13:08:07 -rw-rw-r-- 1 jenkins jenkins 29118 Apr 5 13:00 CHANGELOG.md 13:08:07 -rw-rw-r-- 1 jenkins jenkins 1898 Apr 5 13:00 Dockerfile 13:08:07 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 13:00 GOVERNANCE.md 13:08:07 -rw-rw-r-- 1 jenkins jenkins 688 Apr 5 13:00 Jenkinsfile 13:08:07 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 5 13:00 LICENSE 13:08:07 -rw-rw-r-- 1 jenkins jenkins 618 Apr 5 13:00 OWNERS.md 13:08:07 -rw-rw-r-- 1 jenkins jenkins 4369 Apr 5 13:00 README.md 13:08:07 -rw-rw-r-- 1 jenkins jenkins 5 Apr 5 12:58 VERSION 13:08:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 13:00 bin 13:08:07 -rw-r--r-- 1 jenkins jenkins 13 Apr 5 13:03 coverage.out 13:08:07 -rw-rw-r-- 1 jenkins jenkins 3299 Apr 5 13:00 go.mod 13:08:07 -rw-rw-r-- 1 jenkins jenkins 31336 Apr 5 13:00 go.sum 13:08:07 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 5 13:00 main.go 13:08:07 -rw-rw-r-- 1 jenkins jenkins 2569 Apr 5 13:00 makefile 13:08:07 drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 13:00 res 13:08:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:08 + 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=53e98093ab4a2ab341b4746d2483848aedbeb949 --label arch=arm64 --label version=0.0.0 . 13:08:08 Sending build context to Docker daemon 170kB 13:08:08 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:08:08 Step 2/26 : FROM ${BASE} AS builder 13:08:08 ---> 3b5b60e529f8 13:08:08 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:08:11 ---> Running in ff4034521a27 13:08:11 Removing intermediate container ff4034521a27 13:08:11 ---> f18303a2dfab 13:08:11 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:08:11 ---> Running in cbdc742b91f6 13:08:11 Removing intermediate container cbdc742b91f6 13:08:11 ---> 795dd5685476 13:08:11 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:08:11 ---> Running in 37dc53812d63 13:08:12 Removing intermediate container 37dc53812d63 13:08:12 ---> 74631c191b97 13:08:12 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:08:12 ---> Running in 844c0751b3d0 13:08:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:08:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:08:15 OK: 263 MiB in 53 packages 13:08:15 Removing intermediate container 844c0751b3d0 13:08:15 ---> 2fd6320a6f3e 13:08:15 Step 7/26 : WORKDIR /app 13:08:15 ---> Running in a9ad85146a2f 13:08:15 Removing intermediate container a9ad85146a2f 13:08:15 ---> 10f731cb22de 13:08:15 Step 8/26 : COPY go.mod vendor* ./ 13:08:16 ---> 92f3fc6a9989 13:08:16 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:08:16 ---> Running in decbfc529d7d 13:08:19 Removing intermediate container decbfc529d7d 13:08:19 ---> 30cae30453b6 13:08:19 Step 10/26 : COPY . . 13:08:19 ---> defc4d41922d 13:08:19 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:08:19 ---> Running in 27a1ca20e8fb 13:08:19 Removing intermediate container 27a1ca20e8fb 13:08:19 ---> 8ac8a8684162 13:08:19 Step 12/26 : RUN $MAKE 13:08:19 ---> Running in 593b0c92b78e 13:08:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.49 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:10:27 Removing intermediate container 593b0c92b78e 13:10:27 ---> 4bbfab8dbeb7 13:10:27 Step 13/26 : FROM alpine:3.17 13:10:27 3.17: Pulling from library/alpine 13:10:27 c41833b44d91: Pulling fs layer 13:10:27 c41833b44d91: Verifying Checksum 13:10:27 c41833b44d91: Download complete 13:10:27 c41833b44d91: Pull complete 13:10:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:10:27 Status: Downloaded newer image for alpine:3.17 13:10:27 ---> 51e60588ff2c 13:10:27 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:10:27 ---> Running in c601df51920e 13:10:27 Removing intermediate container c601df51920e 13:10:27 ---> 1e1d4dee01d3 13:10:27 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:10:27 ---> Running in 0c555b4c81e6 13:10:27 Removing intermediate container 0c555b4c81e6 13:10:27 ---> 481f82cae4e2 13:10:27 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:10:27 ---> Running in ac08395d0520 13:10:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:10:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:10:27 (1/2) Installing ca-certificates (20220614-r4) 13:10:27 (2/2) Installing dumb-init (1.2.5-r2) 13:10:27 Executing busybox-1.35.0-r29.trigger 13:10:27 Executing ca-certificates-20220614-r4.trigger 13:10:27 OK: 8 MiB in 17 packages 13:10:27 Removing intermediate container ac08395d0520 13:10:27 ---> f7f407f5b8e5 13:10:27 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:10:27 ---> cfeba3cf68ca 13:10:27 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:10:27 ---> 0890e90235f8 13:10:27 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:10:27 ---> 39055c3f7fcd 13:10:27 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:10:27 ---> 58501e188dfd 13:10:27 Step 21/26 : EXPOSE 48095 13:10:27 ---> Running in 8f8337ce39ba 13:10:27 Removing intermediate container 8f8337ce39ba 13:10:27 ---> 94ebf4894494 13:10:27 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:10:27 ---> Running in b9f2200279a4 13:10:27 Removing intermediate container b9f2200279a4 13:10:27 ---> 4706500900cd 13:10:27 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:10:27 ---> Running in 318de2bfd706 13:10:27 Removing intermediate container 318de2bfd706 13:10:27 ---> b0e90d3b02d9 13:10:27 Step 24/26 : LABEL arch=arm64 13:10:27 ---> Running in a976f13ce4fa 13:10:27 Removing intermediate container a976f13ce4fa 13:10:27 ---> 48ae8dfa1ffb 13:10:27 Step 25/26 : LABEL git_sha=53e98093ab4a2ab341b4746d2483848aedbeb949 13:10:27 ---> Running in ff74af6524b7 13:10:27 Removing intermediate container ff74af6524b7 13:10:27 ---> b03e952e6213 13:10:27 Step 26/26 : LABEL version=0.0.0 13:10:27 ---> Running in d70258422c5a 13:10:27 Removing intermediate container d70258422c5a 13:10:27 ---> 5c0f9624abdf 13:10:27 [Warning] One or more build-args [ARCH] were not consumed 13:10:27 Successfully built 5c0f9624abdf 13:10:27 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 13:10:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:28 13:10:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:29 arm64: Pulling from edgex-lftools-log-publisher 13:10:29 8998bd30e6a1: Pulling fs layer 13:10:29 04944245beec: Pulling fs layer 13:10:29 699f458cf7ca: Pulling fs layer 13:10:29 765212b225bb: Pulling fs layer 13:10:29 f23df028b6ca: Pulling fs layer 13:10:29 d65c8cfc05b1: Pulling fs layer 13:10:29 765212b225bb: Waiting 13:10:29 f23df028b6ca: Waiting 13:10:29 2437ff75d9bd: Pulling fs layer 13:10:29 d65c8cfc05b1: Waiting 13:10:29 2437ff75d9bd: Waiting 13:10:29 04944245beec: Verifying Checksum 13:10:29 04944245beec: Download complete 13:10:29 765212b225bb: Verifying Checksum 13:10:29 765212b225bb: Download complete 13:10:29 f23df028b6ca: Verifying Checksum 13:10:29 f23df028b6ca: Download complete 13:10:29 d65c8cfc05b1: Verifying Checksum 13:10:29 d65c8cfc05b1: Download complete 13:10:29 699f458cf7ca: Verifying Checksum 13:10:29 699f458cf7ca: Download complete 13:10:30 8998bd30e6a1: Verifying Checksum 13:10:30 8998bd30e6a1: Download complete 13:10:32 2437ff75d9bd: Verifying Checksum 13:10:32 2437ff75d9bd: Download complete 13:10:36 8998bd30e6a1: Pull complete 13:10:36 04944245beec: Pull complete 13:10:37 699f458cf7ca: Pull complete 13:10:37 765212b225bb: Pull complete 13:10:38 f23df028b6ca: Pull complete 13:10:38 d65c8cfc05b1: Pull complete 13:10:53 2437ff75d9bd: Pull complete 13:10:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:10:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:53 prd-ubuntu20.04-docker-arm64-4c-16g-6877 does not seem to be running inside a container 13:10:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:10:56 $ docker top 0d7401dbb743525535a306d111f79bd9dd334de34bdf699093ee6341d3b0d3b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:57 ---> job-cost.sh 13:10:57 lf-activate-venv: SKIPPING 13:10:57 INFO: No Stack... 13:10:57 INFO: Retrieving Pricing Info for: v3-standard-4 13:10:58 INFO: Archiving Costs [Pipeline] sh 13:10:58 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:10:58 + cut -d, -f6 [Pipeline] lock 13:10:58 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-541-1-stack-cost] 13:10:58 Resource [jenkins-edgexfoundry-app-service-configurable-PR-541-1-stack-cost] did not exist. Created. 13:10:58 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-541-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:10:59 /w/workspace/app-service-configurable/1@tmp/durable-01891ab8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:11:00 + echo total: 0.10999999940395355 [Pipeline] stash 13:11:00 Warning: overwriting stash ‘stack-cost’ 13:11:00 Stashed 1 file(s) [Pipeline] } 13:11:00 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-541-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:00 $ docker stop --time=1 0d7401dbb743525535a306d111f79bd9dd334de34bdf699093ee6341d3b0d3b7 13:11:02 $ docker rm -f --volumes 0d7401dbb743525535a306d111f79bd9dd334de34bdf699093ee6341d3b0d3b7 [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 13:11:03 provisioning config files... 13:11:03 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-541@tmp/config5939255568982182616tmp [Pipeline] { [Pipeline] sh 13:11:03 + set +x 13:11:03 + curl+ -s https://codecov.io/bash 13:11:03 bash -s -- 13:11:04 13:11:04 _____ _ 13:11:04 / ____| | | 13:11:04 | | ___ __| | ___ ___ _____ __ 13:11:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:11:04 | |___| (_) | (_| | __/ (_| (_) \ V / 13:11:04 \_____\___/ \__,_|\___|\___\___/ \_/ 13:11:04 Bash-1.0.6 13:11:04 13:11:04 13:11:04 ==> git version 2.25.1 found 13:11:04 ==> 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 13:11:04 Release-Date: 2020-01-08 13:11:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:11:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:11:04 ==> Jenkins CI detected. 13:11:04 current dir:  /w/workspace/_app-service-configurable_PR-541 13:11:04 project root: . 13:11:04 --> token set from env 13:11:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:11:04 ==> Running gcov in . (disable via -X gcov) 13:11:04 ==> Python coveragepy not found 13:11:04 ==> Searching for coverage reports in: 13:11:04 + . 13:11:04 -> Found 1 reports 13:11:04 ==> Detecting git/mercurial file structure 13:11:04 ==> Reading reports 13:11:04 + ./coverage.out bytes=13 13:11:04 ==> Appending adjustments 13:11:04 https://docs.codecov.io/docs/fixing-reports 13:11:04 + Found adjustments 13:11:04 ==> Gzipping contents 13:11:04 4.0K /tmp/codecov.tYAVfa.gz 13:11:04 ==> Uploading reports 13:11:04 url: https://codecov.io 13:11:04 query: branch=PR-541&commit=53e98093ab4a2ab341b4746d2483848aedbeb949&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-541%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=541&job=&cmd_args= 13:11:04 -> Pinging Codecov 13:11:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-541&commit=53e98093ab4a2ab341b4746d2483848aedbeb949&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-541%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=541&job=&cmd_args= 13:11:04 -> Uploading to 13:11:04 https://storage.googleapis.com/codecov/v4/raw/2023-04-05/A97CA9966030D2A3747ED39772930CCE/53e98093ab4a2ab341b4746d2483848aedbeb949/97cc6488-3f2b-4958-9cdd-cb7c22b39bef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230405T131104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87f1c18ff23c78a7da8dfba3577915e0b0f0cb865c6c4e44cdb741b82e6338d2 13:11:04 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:04 Dload Upload Total Spent Left Speed 13:11:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1565 --:--:-- --:--:-- --:--:-- 1560 100 429 0 0 100 429 0 1565 --:--:-- --:--:-- --:--:-- 1560 13:11:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/53e98093ab4a2ab341b4746d2483848aedbeb949 [Pipeline] } 13:11:04 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 13:11:06 + [ -d /w/workspace/_app-service-configurable_PR-541/archives ] 13:11:06 + ls -al /w/workspace/_app-service-configurable_PR-541/archives 13:11:06 total 16 13:11:06 drwxr-xr-x 3 root root 4096 Apr 5 13:01 . 13:11:06 drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 13:01 .. 13:11:06 drwxr-xr-x 2 root root 4096 Apr 5 13:01 cost 13:11:06 -rw-r--r-- 1 root root 96 Apr 5 13:01 cost.csv 13:11:06 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-541/archives 13:11:06 + ls -al /w/workspace/_app-service-configurable_PR-541/archives 13:11:06 total 16 13:11:06 drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 13:01 . 13:11:06 drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 13:01 .. 13:11:06 drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 13:01 cost 13:11:06 -rw-r--r-- 1 jenkins jenkins 96 Apr 5 13:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:11:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:11:07 ---> package-listing.sh 13:11:07 ++ facter osfamily 13:11:07 ++ tr '[:upper:]' '[:lower:]' 13:11:07 + OS_FAMILY=debian 13:11:07 + workspace=/w/workspace/_app-service-configurable_PR-541 13:11:07 + START_PACKAGES=/tmp/packages_start.txt 13:11:07 + END_PACKAGES=/tmp/packages_end.txt 13:11:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:11:07 + PACKAGES=/tmp/packages_start.txt 13:11:07 + '[' /w/workspace/_app-service-configurable_PR-541 ']' 13:11:07 + PACKAGES=/tmp/packages_end.txt 13:11:07 + case "${OS_FAMILY}" in 13:11:07 + dpkg -l 13:11:07 + grep '^ii' 13:11:07 + '[' -f /tmp/packages_start.txt ']' 13:11:07 + '[' -f /tmp/packages_end.txt ']' 13:11:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:11:07 + '[' /w/workspace/_app-service-configurable_PR-541 ']' 13:11:07 + mkdir -p /w/workspace/_app-service-configurable_PR-541/archives/ 13:11:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-541/archives/ [Pipeline] echo 13:11:07 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-541/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:11:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:08 prd-ubuntu20.04-docker-8c-8g-6876 does not seem to be running inside a container 13:11:08 $ 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-541/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-541 -v /w/workspace/_app-service-configurable_PR-541:/w/workspace/_app-service-configurable_PR-541:rw,z -v /w/workspace/_app-service-configurable_PR-541@tmp:/w/workspace/_app-service-configurable_PR-541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:11:09 $ docker top a7168c345ed719c915a7f2f8ce9a7985fc3a80d6d091a25b3a51b0f7e4c11936 -eo pid,comm [Pipeline] { [Pipeline] sh 13:11:09 + touch /tmp/pre-build-complete [Pipeline] sh 13:11:09 + mkdir -p /var/log/sysstat [Pipeline] sh 13:11:10 + ls /var/log/sa-host 13:11:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:10 provisioning config files... 13:11:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-541@tmp/config14531275349395232929tmp [Pipeline] { [Pipeline] echo 13:11:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:11:10 ---> create-netrc.sh [Pipeline] } 13:11:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:11:11 ---> python-tools-install.sh [Pipeline] echo 13:11:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:11:11 ---> sudo-logs.sh 13:11:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:11:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:11:11 ---> job-cost.sh 13:11:11 lf-activate-venv: SKIPPING 13:11:11 DEBUG: total: 0.2199999988079071 13:11:11 INFO: Retrieving Stack Cost... 13:11:12 INFO: Retrieving Pricing Info for: v3-standard-8 13:11:12 INFO: Archiving Costs [Pipeline] echo 13:11:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:11:13 ---> logs-deploy.sh 13:11:13 lf-activate-venv: SKIPPING 13:11:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-541/1 13:11:13 INFO: archiving workspace using pattern(s): 13:11:14 Archives upload complete. 13:11:14 INFO: archiving logs to Nexus