Pull request #535 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 6ea7de7037f69387958e609f1deec0c61dae2d1a rather than c3178e1c7f0b876679bb4a9aa5f7a1e1729876f3 Obtained Jenkinsfile from 6ea7de7037f69387958e609f1deec0c61dae2d1a 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-ssh9979679626980278734.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-ssh13347352855382881107.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13817932447780697524.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 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-ssh11765941739569559604.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16152105222272444947.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5942 in /w/workspace/_app-service-configurable_PR-535 [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-535 # 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/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ea7de7037f69387958e609f1deec0c61dae2d1a into PR head commit c3178e1c7f0b876679bb4a9aa5f7a1e1729876f3 Merge succeeded, producing 210af0f0c82fe745f9801555c8bd9323f718b2a1 Checking out Revision 210af0f0c82fe745f9801555c8bd9323f718b2a1 (PR-535) > git config core.sparsecheckout # timeout=10 > git checkout -f c3178e1c7f0b876679bb4a9aa5f7a1e1729876f3 # 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 6ea7de7037f69387958e609f1deec0c61dae2d1a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 210af0f0c82fe745f9801555c8bd9323f718b2a1 # timeout=10 Commit message: "Merge commit '6ea7de7037f69387958e609f1deec0c61dae2d1a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:03:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:03:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:03:06 ========================================================= 23:03:06 EdgeX Global Pipelines Version Info 23:03:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2cc2fdc1845ba68bfb275b9d02fb6321c6325825 # timeout=10 23:03:07 ------------------- 23:03:07 stable info: 23:03:07 ------------------- 23:03:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:03:07 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:03:07 Message: update stable to v1.0.245 23:03:07 ------------------- 23:03:07 experimental info: 23:03:07 ------------------- 23:03:07 Commited By: **** collab-it+edgex@linuxfoundation.org 23:03:07 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:03:07 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:03:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 210af0f0c82fe745f9801555c8bd9323f718b2a1 [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 210af0f [Pipeline] echo 23:03:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:03:08 provisioning config files... 23:03:08 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config1780278384674395197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:08 ---> docker-login.sh 23:03:08 nexus3.edgexfoundry.org:10001 23:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:08 Configure a credential helper to remove this warning. See 23:03:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:08 23:03:08 Login Succeeded 23:03:08 nexus3.edgexfoundry.org:10002 23:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:09 Configure a credential helper to remove this warning. See 23:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:09 23:03:09 Login Succeeded 23:03:09 nexus3.edgexfoundry.org:10003 23:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:09 Configure a credential helper to remove this warning. See 23:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:09 23:03:09 Login Succeeded 23:03:09 nexus3.edgexfoundry.org:10004 23:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:09 Configure a credential helper to remove this warning. See 23:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:09 23:03:09 Login Succeeded 23:03:09 docker.io 23:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:09 Configure a credential helper to remove this warning. See 23:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:09 23:03:09 Login Succeeded 23:03:09 ---> docker-login.sh ends [Pipeline] } 23:03:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:03:10 + git rev-list -1 --merges 210af0f0c82fe745f9801555c8bd9323f718b2a1~1..210af0f0c82fe745f9801555c8bd9323f718b2a1 [Pipeline] echo 23:03:10 -----------> git rev-list -1 --merges 210af0f0c82fe745f9801555c8bd9323f718b2a1~1..210af0f0c82fe745f9801555c8bd9323f718b2a1 210af0f0c82fe745f9801555c8bd9323f718b2a1 23:03:10 210af0f0c82fe745f9801555c8bd9323f718b2a1 [false] [Pipeline] sh 23:03:10 + git log --format=format:%s -1 210af0f0c82fe745f9801555c8bd9323f718b2a1 [Pipeline] echo 23:03:10 ========================================================= 23:03:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:03:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:03:10 + git log --format=format:%s -1 210af0f0c82fe745f9801555c8bd9323f718b2a1 [Pipeline] echo 23:03:10 [semverPrep] GIT_COMMIT: 210af0f0c82fe745f9801555c8bd9323f718b2a1, Commit Message: Merge commit '6ea7de7037f69387958e609f1deec0c61dae2d1a' into HEAD [Pipeline] echo 23:03:10 [semverPrep] This is not a build commit. [Pipeline] sh 23:03:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:03:11 + grep -v github /etc/ssh/ssh_known_hosts 23:03:11 + [ -e /tmp/ssh_known_hosts ] 23:03:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:03:11 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:03:11 sudo tee -a /etc/ssh/ssh_known_hosts 23:03:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:03:11 23:03:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:03:11 0.1.4: Pulling from edgex-devops/py-git-semver 23:03:11 b85a868b505f: Pulling fs layer 23:03:11 e2be974225ed: Pulling fs layer 23:03:11 339a4e72a1f5: Pulling fs layer 23:03:11 988bab9f4d93: Pulling fs layer 23:03:11 1469e6f7b9e6: Pulling fs layer 23:03:11 eaf3925da568: Pulling fs layer 23:03:11 bab4dde63d76: Pulling fs layer 23:03:11 bde34c3a00c8: Pulling fs layer 23:03:11 b352a97aabf1: Pulling fs layer 23:03:11 4872d77fe225: Pulling fs layer 23:03:11 5851b861e8e6: Pulling fs layer 23:03:11 bab4dde63d76: Waiting 23:03:11 bde34c3a00c8: Waiting 23:03:11 b352a97aabf1: Waiting 23:03:11 4872d77fe225: Waiting 23:03:11 5851b861e8e6: Waiting 23:03:11 eaf3925da568: Waiting 23:03:11 988bab9f4d93: Waiting 23:03:11 e2be974225ed: Download complete 23:03:11 988bab9f4d93: Download complete 23:03:11 1469e6f7b9e6: Verifying Checksum 23:03:11 1469e6f7b9e6: Download complete 23:03:11 339a4e72a1f5: Verifying Checksum 23:03:11 339a4e72a1f5: Download complete 23:03:11 eaf3925da568: Verifying Checksum 23:03:11 eaf3925da568: Download complete 23:03:11 bde34c3a00c8: Verifying Checksum 23:03:11 bde34c3a00c8: Download complete 23:03:11 b352a97aabf1: Verifying Checksum 23:03:11 b352a97aabf1: Download complete 23:03:11 4872d77fe225: Verifying Checksum 23:03:11 4872d77fe225: Download complete 23:03:11 5851b861e8e6: Download complete 23:03:11 b85a868b505f: Verifying Checksum 23:03:11 b85a868b505f: Download complete 23:03:12 bab4dde63d76: Verifying Checksum 23:03:12 bab4dde63d76: Download complete 23:03:13 b85a868b505f: Pull complete 23:03:13 e2be974225ed: Pull complete 23:03:13 339a4e72a1f5: Pull complete 23:03:13 988bab9f4d93: Pull complete 23:03:14 1469e6f7b9e6: Pull complete 23:03:14 eaf3925da568: Pull complete 23:03:16 bab4dde63d76: Pull complete 23:03:16 bde34c3a00c8: Pull complete 23:03:16 b352a97aabf1: Pull complete 23:03:16 4872d77fe225: Pull complete 23:03:16 5851b861e8e6: Pull complete 23:03:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:03:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:03:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:03:16 prd-ubuntu20.04-docker-8c-8g-5942 does not seem to be running inside a container 23:03:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:03:17 $ docker top 39ce6f94440942e5394070cf655a2757c85925b0113ba810789c1ea8cf52f18a -eo pid,comm 23:03:17 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). 23:03:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:03:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:03:17 [ssh-agent] Looking for ssh-agent implementation... 23:03:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:03:17 $ docker exec 39ce6f94440942e5394070cf655a2757c85925b0113ba810789c1ea8cf52f18a ssh-agent 23:03:18 SSH_AUTH_SOCK=/tmp/ssh-xxDMNE3kQYdP/agent.32 23:03:18 SSH_AGENT_PID=38 23:03:18 Running ssh-add (command line suppressed) 23:03:18 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_2128120621110423329.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_2128120621110423329.key) 23:03:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:03:18 + git tag --points-at HEAD [Pipeline] } 23:03:18 $ docker exec --env ******** --env ******** 39ce6f94440942e5394070cf655a2757c85925b0113ba810789c1ea8cf52f18a ssh-agent -k 23:03:18 unset SSH_AUTH_SOCK; 23:03:18 unset SSH_AGENT_PID; 23:03:18 echo Agent pid 38 killed; 23:03:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:03:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:03:18 [ssh-agent] Looking for ssh-agent implementation... 23:03:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:03:18 $ docker exec 39ce6f94440942e5394070cf655a2757c85925b0113ba810789c1ea8cf52f18a ssh-agent 23:03:18 SSH_AUTH_SOCK=/tmp/ssh-nZPdsRlpX7dh/agent.71 23:03:18 SSH_AGENT_PID=77 23:03:18 Running ssh-add (command line suppressed) 23:03:19 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_1673965401477239559.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_1673965401477239559.key) 23:03:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:03:19 + git semver init 23:03:19 2023-03-27 23:03:19,532 [run_init] DEBUG init version:0.0.0 force:False 23:03:19 2023-03-27 23:03:19,533 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-535/.semver 23:03:19 2023-03-27 23:03:19,534 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-535/.semver 23:03:19 2023-03-27 23:03:19,535 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-535/.semver'], cwd=/w/workspace/_app-service-configurable_PR-535, universal_newlines=False, shell=None, istream=None) 23:03:20 2023-03-27 23:03:20,283 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-535/.git/info/exclude 23:03:20 2023-03-27 23:03:20,284 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 with force:False 23:03:20 2023-03-27 23:03:20,284 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 23:03:20 2023-03-27 23:03:20,288 [execute] INFO git cat-file --batch-check 23:03:20 2023-03-27 23:03:20,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 23:03:20 2023-03-27 23:03:20,295 [execute] INFO git cat-file --batch 23:03:20 2023-03-27 23:03:20,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 23:03:20 2023-03-27 23:03:20,300 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-535/.semver/PR-535 23:03:20 0.0.0 [Pipeline] } 23:03:20 $ docker exec --env ******** --env ******** 39ce6f94440942e5394070cf655a2757c85925b0113ba810789c1ea8cf52f18a ssh-agent -k 23:03:20 unset SSH_AUTH_SOCK; 23:03:20 unset SSH_AGENT_PID; 23:03:20 echo Agent pid 77 killed; 23:03:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:03:20 + git semver [Pipeline] } 23:03:21 $ docker stop --time=1 39ce6f94440942e5394070cf655a2757c85925b0113ba810789c1ea8cf52f18a 23:03:22 $ docker rm -f --volumes 39ce6f94440942e5394070cf655a2757c85925b0113ba810789c1ea8cf52f18a [Pipeline] // withDockerContainer [Pipeline] sh 23:03:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:03:23 Stashed 1 file(s) [Pipeline] echo 23:03:23 [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 23:03:23 provisioning config files... 23:03:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config1427889978152257590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:23 ---> docker-login.sh 23:03:23 nexus3.edgexfoundry.org:10001 23:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:23 Configure a credential helper to remove this warning. See 23:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:23 23:03:23 Login Succeeded 23:03:23 nexus3.edgexfoundry.org:10002 23:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:23 Configure a credential helper to remove this warning. See 23:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:23 23:03:23 Login Succeeded 23:03:23 nexus3.edgexfoundry.org:10003 23:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:23 Configure a credential helper to remove this warning. See 23:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:23 23:03:23 Login Succeeded 23:03:23 nexus3.edgexfoundry.org:10004 23:03:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:23 Configure a credential helper to remove this warning. See 23:03:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:23 23:03:23 Login Succeeded 23:03:23 docker.io 23:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:24 Configure a credential helper to remove this warning. See 23:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:24 23:03:24 Login Succeeded 23:03:24 ---> docker-login.sh ends [Pipeline] } 23:03:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:03:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:03:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:03:24 ========================================================= 23:03:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:03:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:24 + 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 . 23:03:24 Sending build context to Docker daemon 3.238MB 23:03:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:03:24 Step 2/12 : FROM ${BASE} AS builder 23:03:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:03:24 63b65145d645: Pulling fs layer 23:03:24 a2d21d5440eb: Pulling fs layer 23:03:24 935e6c44a52c: Pulling fs layer 23:03:24 94cc34f8dd06: Pulling fs layer 23:03:24 30dea6a524f1: Pulling fs layer 23:03:24 a2aff8979fd8: Pulling fs layer 23:03:24 6808be2612f2: Pulling fs layer 23:03:24 f25807f1079a: Pulling fs layer 23:03:24 94cc34f8dd06: Waiting 23:03:24 30dea6a524f1: Waiting 23:03:24 a2aff8979fd8: Waiting 23:03:24 6808be2612f2: Waiting 23:03:24 f25807f1079a: Waiting 23:03:24 a2d21d5440eb: Download complete 23:03:24 94cc34f8dd06: Verifying Checksum 23:03:24 94cc34f8dd06: Download complete 23:03:24 30dea6a524f1: Download complete 23:03:24 63b65145d645: Verifying Checksum 23:03:24 63b65145d645: Download complete 23:03:24 a2aff8979fd8: Verifying Checksum 23:03:24 a2aff8979fd8: Download complete 23:03:24 63b65145d645: Pull complete 23:03:25 a2d21d5440eb: Pull complete 23:03:25 f25807f1079a: Verifying Checksum 23:03:25 f25807f1079a: Download complete 23:03:25 935e6c44a52c: Verifying Checksum 23:03:25 935e6c44a52c: Download complete 23:03:25 6808be2612f2: Verifying Checksum 23:03:25 6808be2612f2: Download complete 23:03:28 935e6c44a52c: Pull complete 23:03:28 94cc34f8dd06: Pull complete 23:03:28 30dea6a524f1: Pull complete 23:03:28 a2aff8979fd8: Pull complete 23:03:31 6808be2612f2: Pull complete 23:03:31 f25807f1079a: Pull complete 23:03:31 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:03:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:03:31 ---> 3b553350e43f 23:03:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:03:33 ---> Running in 9013b0188ed8 23:03:33 Removing intermediate container 9013b0188ed8 23:03:33 ---> e56735cd9594 23:03:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:03:33 ---> Running in 792c7e5744cf 23:03:34 Removing intermediate container 792c7e5744cf 23:03:34 ---> 639416f9b601 23:03:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:03:34 ---> Running in 4a775cea36e8 23:03:34 Removing intermediate container 4a775cea36e8 23:03:34 ---> 419c1411f879 23:03:34 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:03:34 ---> Running in 1cea4d1c114f 23:03:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:03:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:03:34 OK: 265 MiB in 53 packages 23:03:35 Removing intermediate container 1cea4d1c114f 23:03:35 ---> e0d63e7d4879 23:03:35 Step 7/12 : WORKDIR /app 23:03:35 ---> Running in 38457ddfae05 23:03:35 Removing intermediate container 38457ddfae05 23:03:35 ---> b8e80ea79e7a 23:03:35 Step 8/12 : COPY go.mod vendor* ./ 23:03:35 ---> edb891fe7bea 23:03:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:03:35 ---> Running in 7a469f451c10 23:03:38 Still waiting to schedule task 23:03:38 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:03:57 Removing intermediate container 7a469f451c10 23:03:57 ---> 2263d52db9cd 23:03:57 Step 10/12 : COPY . . 23:03:57 ---> 5bd419c422f6 23:03:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:03:57 ---> Running in 7e4acf2cc50d 23:03:57 Removing intermediate container 7e4acf2cc50d 23:03:57 ---> 92ee134941e2 23:03:57 Step 12/12 : RUN $MAKE 23:03:57 ---> Running in b4ff506abaeb 23:03:57 noop 23:03:58 Removing intermediate container b4ff506abaeb 23:03:58 ---> 275703436173 23:03:58 Successfully built 275703436173 23:03:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:58 + docker inspect -f . ci-base-image-x86_64 23:03:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:03:58 prd-ubuntu20.04-docker-8c-8g-5942 does not seem to be running inside a container 23:03:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:03:58 $ docker top 64b644b715acd5b3373be1241d86938ee1b36e369f6e6624e14a83239b77124c -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:59 + go version 23:03:59 go version go1.20.2 linux/amd64 [Pipeline] } 23:03:59 $ docker stop --time=1 64b644b715acd5b3373be1241d86938ee1b36e369f6e6624e14a83239b77124c 23:04:00 $ docker rm -f --volumes 64b644b715acd5b3373be1241d86938ee1b36e369f6e6624e14a83239b77124c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:00 + docker inspect -f . ci-base-image-x86_64 23:04:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:04:01 prd-ubuntu20.04-docker-8c-8g-5942 does not seem to be running inside a container 23:04:01 $ 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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:04:01 $ docker top 2fb15d97676ebdbfbae1f72df9e85446ba05ef393ecee21745f0255891705eb2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:01 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-535 [Pipeline] fileExists [Pipeline] sh 23:04:02 + make test 23:04:02 go test -race -coverprofile=coverage.out ./... 23:04:23 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:04:42 go vet ./... 23:04:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:04:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:04:42 ./bin/test-attribution-txt.sh 23:04:42 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 23:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:04:42 $ docker stop --time=1 2fb15d97676ebdbfbae1f72df9e85446ba05ef393ecee21745f0255891705eb2 23:04:45 $ docker rm -f --volumes 2fb15d97676ebdbfbae1f72df9e85446ba05ef393ecee21745f0255891705eb2 [Pipeline] // withDockerContainer [Pipeline] sh 23:04:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:04:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:04:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:04:46 + ls -al . 23:04:46 total 176 23:04:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 23:04 . 23:04:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 23:03 .. 23:04:46 -rw-rw-r-- 1 jenkins jenkins 119 Mar 27 23:03 .dockerignore 23:04:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 23:03 .git 23:04:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 23:03 .github 23:04:46 -rw-rw-r-- 1 jenkins jenkins 171 Mar 27 23:03 .gitignore 23:04:46 -rw-rw-r-- 1 jenkins jenkins 41 Mar 27 23:03 .golangci.yml 23:04:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 23:03 .semver 23:04:46 -rw-rw-r-- 1 jenkins jenkins 9088 Mar 27 23:03 Attribution.txt 23:04:46 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 27 23:03 CHANGELOG.md 23:04:46 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 27 23:03 Dockerfile 23:04:46 -rw-rw-r-- 1 jenkins jenkins 677 Mar 27 23:03 GOVERNANCE.md 23:04:46 -rw-rw-r-- 1 jenkins jenkins 688 Mar 27 23:03 Jenkinsfile 23:04:46 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 27 23:03 LICENSE 23:04:46 -rw-rw-r-- 1 jenkins jenkins 618 Mar 27 23:03 OWNERS.md 23:04:46 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 27 23:03 README.md 23:04:46 -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 23:03 VERSION 23:04:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 23:03 bin 23:04:46 -rw-r--r-- 1 jenkins jenkins 13 Mar 27 23:04 coverage.out 23:04:46 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 27 23:03 go.mod 23:04:46 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 27 23:03 go.sum 23:04:46 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 27 23:03 main.go 23:04:46 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 27 23:03 makefile 23:04:46 drwxrwxr-x 9 jenkins jenkins 4096 Mar 27 23:03 res 23:04:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 23:03 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:47 + 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=210af0f0c82fe745f9801555c8bd9323f718b2a1 --label arch=amd64 --label version=0.0.0 . 23:04:47 Sending build context to Docker daemon 3.239MB 23:04:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:04:47 Step 2/26 : FROM ${BASE} AS builder 23:04:47 ---> 275703436173 23:04:47 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:04:47 ---> Running in 5467010fad90 23:04:47 Removing intermediate container 5467010fad90 23:04:47 ---> a012692a1bc7 23:04:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:04:47 ---> Running in 34aee70f011d 23:04:47 Removing intermediate container 34aee70f011d 23:04:47 ---> adb448707b82 23:04:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:04:47 ---> Running in 3fab6351a425 23:04:47 Removing intermediate container 3fab6351a425 23:04:47 ---> 3f02c83ab839 23:04:47 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:04:47 ---> Running in 9a7564a90b1c 23:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:04:48 OK: 265 MiB in 53 packages 23:04:48 Removing intermediate container 9a7564a90b1c 23:04:48 ---> 538326e9f5f7 23:04:48 Step 7/26 : WORKDIR /app 23:04:48 ---> Running in 822de920fa49 23:04:48 Removing intermediate container 822de920fa49 23:04:48 ---> 342618ed1aa5 23:04:48 Step 8/26 : COPY go.mod vendor* ./ 23:04:49 ---> c952bd19475f 23:04:49 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:04:49 ---> Running in 4aa0953209d7 23:04:50 Removing intermediate container 4aa0953209d7 23:04:50 ---> 24b21e7b1482 23:04:50 Step 10/26 : COPY . . 23:04:50 ---> 204e91fd9d10 23:04:50 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:04:50 ---> Running in b9950e24e082 23:04:50 Removing intermediate container b9950e24e082 23:04:50 ---> cb3c407a018f 23:04:50 Step 12/26 : RUN $MAKE 23:04:50 ---> Running in 21108ff24f8c 23:04:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 23:05:08 Removing intermediate container 21108ff24f8c 23:05:08 ---> eee000bad85a 23:05:08 Step 13/26 : FROM alpine:3.17 23:05:09 3.17: Pulling from library/alpine 23:05:09 63b65145d645: Already exists 23:05:09 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:05:09 Status: Downloaded newer image for alpine:3.17 23:05:09 ---> b2aa39c304c2 23:05:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:05:09 ---> Running in 672be3a60dff 23:05:09 Removing intermediate container 672be3a60dff 23:05:09 ---> 0bf093ccc6dd 23:05:09 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:05:09 ---> Running in f30d1687ec4b 23:05:09 Removing intermediate container f30d1687ec4b 23:05:09 ---> 66c290c48630 23:05:09 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:05:09 ---> Running in ef3e531af4ab 23:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:05:10 (1/2) Installing ca-certificates (20220614-r4) 23:05:10 (2/2) Installing dumb-init (1.2.5-r2) 23:05:10 Executing busybox-1.35.0-r29.trigger 23:05:10 Executing ca-certificates-20220614-r4.trigger 23:05:10 OK: 8 MiB in 17 packages 23:05:10 Removing intermediate container ef3e531af4ab 23:05:10 ---> a0b5c869af21 23:05:10 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:05:10 ---> ada84dc0b14c 23:05:10 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:05:11 ---> 523c7c4f19ef 23:05:11 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:05:11 ---> 978b16e62b8b 23:05:11 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:05:11 ---> 4f851f444a3b 23:05:11 Step 21/26 : EXPOSE 48095 23:05:11 ---> Running in 82bf0cd201d6 23:05:11 Removing intermediate container 82bf0cd201d6 23:05:11 ---> 33a27f12425d 23:05:11 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:05:11 ---> Running in 22509fcc6693 23:05:11 Removing intermediate container 22509fcc6693 23:05:11 ---> 0b0f0c51f01c 23:05:11 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:05:11 ---> Running in d38195fb3f05 23:05:12 Removing intermediate container d38195fb3f05 23:05:12 ---> c07b349720d1 23:05:12 Step 24/26 : LABEL arch=amd64 23:05:12 ---> Running in 64982a65539b 23:05:12 Removing intermediate container 64982a65539b 23:05:12 ---> ec6b22799ee5 23:05:12 Step 25/26 : LABEL git_sha=210af0f0c82fe745f9801555c8bd9323f718b2a1 23:05:12 ---> Running in 7ad44bfc6596 23:05:12 Removing intermediate container 7ad44bfc6596 23:05:12 ---> 781e61570395 23:05:12 Step 26/26 : LABEL version=0.0.0 23:05:12 ---> Running in 78e3325e9960 23:05:12 Removing intermediate container 78e3325e9960 23:05:12 ---> f5407c5108f0 23:05:12 [Warning] One or more build-args [ARCH] were not consumed 23:05:12 Successfully built f5407c5108f0 23:05:12 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 23:05:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:05:12 23:05:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:05:13 latest: Pulling from edgex-lftools-log-publisher 23:05:13 5eb5b503b376: Pulling fs layer 23:05:13 5c69ac0246d0: Pulling fs layer 23:05:13 ec43610c2a17: Pulling fs layer 23:05:13 3a2ae6a8a46f: Pulling fs layer 23:05:13 33b1e0a273af: Pulling fs layer 23:05:13 5d3b04190fa2: Pulling fs layer 23:05:13 2f39f015ded8: Pulling fs layer 23:05:13 33b1e0a273af: Waiting 23:05:13 5d3b04190fa2: Waiting 23:05:13 2f39f015ded8: Waiting 23:05:13 3a2ae6a8a46f: Waiting 23:05:13 5c69ac0246d0: Download complete 23:05:13 3a2ae6a8a46f: Verifying Checksum 23:05:13 3a2ae6a8a46f: Download complete 23:05:13 33b1e0a273af: Verifying Checksum 23:05:13 33b1e0a273af: Download complete 23:05:13 5d3b04190fa2: Verifying Checksum 23:05:13 5d3b04190fa2: Download complete 23:05:13 ec43610c2a17: Verifying Checksum 23:05:13 ec43610c2a17: Download complete 23:05:13 5eb5b503b376: Verifying Checksum 23:05:13 5eb5b503b376: Download complete 23:05:13 2f39f015ded8: Download complete 23:05:14 5eb5b503b376: Pull complete 23:05:14 5c69ac0246d0: Pull complete 23:05:15 ec43610c2a17: Pull complete 23:05:15 3a2ae6a8a46f: Pull complete 23:05:15 33b1e0a273af: Pull complete 23:05:15 5d3b04190fa2: Pull complete 23:05:19 2f39f015ded8: Pull complete 23:05:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:05:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:19 prd-ubuntu20.04-docker-8c-8g-5942 does not seem to be running inside a container 23:05:19 $ 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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:05:23 $ docker top 78b8506122ac1d347ed62cfd7ecd5d5b6ee3713d707b26fdf624a111e2ccbcaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:05:23 ---> job-cost.sh 23:05:23 lf-activate-venv: SKIPPING 23:05:23 INFO: No Stack... 23:05:23 INFO: Retrieving Pricing Info for: v3-standard-8 23:05:24 INFO: Archiving Costs [Pipeline] sh 23:05:24 + cat /w/workspace/_app-service-configurable_PR-535/archives/cost.csv 23:05:24 + cut -d, -f6 [Pipeline] lock 23:05:24 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-13-stack-cost] 23:05:24 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-13-stack-cost] did not exist. Created. 23:05:24 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:05:24 + echo total: 0.2199999988079071 [Pipeline] stash 23:05:24 Stashed 1 file(s) [Pipeline] } 23:05:24 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-13-stack-cost] [Pipeline] // lock [Pipeline] } 23:05:24 $ docker stop --time=1 78b8506122ac1d347ed62cfd7ecd5d5b6ee3713d707b26fdf624a111e2ccbcaa 23:05:26 $ docker rm -f --volumes 78b8506122ac1d347ed62cfd7ecd5d5b6ee3713d707b26fdf624a111e2ccbcaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:07:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5944 in /w/workspace/_app-service-configurable_PR-535 [Pipeline] { [Pipeline] ws 23:07:11 Running in /w/workspace/app-service-configurable/13 [Pipeline] { [Pipeline] checkout 23:07:11 Selected Git installation does not exist. Using Default 23:07:11 The recommended git tool is: NONE 23:07:17 using credential edgex-jenkins-ssh 23:07:17 Cloning the remote Git repository 23:07:17 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 23:07:17 > git init /w/workspace/app-service-configurable/13 # timeout=10 23:07:17 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:07:17 > git --version # timeout=10 23:07:17 > git --version # 'git version 2.25.1' 23:07:17 using GIT_SSH to set credentials SSH Credentials for GitHub 23:07:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:07:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:07:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:07:20 Merging remotes/origin/main commit 6ea7de7037f69387958e609f1deec0c61dae2d1a into PR head commit c3178e1c7f0b876679bb4a9aa5f7a1e1729876f3 23:07:19 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:07:19 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:07:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:07:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:07:20 > git config core.sparsecheckout # timeout=10 23:07:20 Merge succeeded, producing b63ac768d8d6ff1accc382128eb6c5b869caaa4a 23:07:20 Checking out Revision b63ac768d8d6ff1accc382128eb6c5b869caaa4a (PR-535) 23:07:20 > git checkout -f c3178e1c7f0b876679bb4a9aa5f7a1e1729876f3 # timeout=10 23:07:20 > git remote # timeout=10 23:07:20 > git config --get remote.origin.url # timeout=10 23:07:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:07:20 > git merge 6ea7de7037f69387958e609f1deec0c61dae2d1a # timeout=10 23:07:20 > git rev-parse HEAD^{commit} # timeout=10 23:07:20 > git config core.sparsecheckout # timeout=10 23:07:20 > git checkout -f b63ac768d8d6ff1accc382128eb6c5b869caaa4a # timeout=10 23:07:24 Commit message: "Merge commit '6ea7de7037f69387958e609f1deec0c61dae2d1a' into HEAD" 23:07:24 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:07:24 > git rev-list --no-walk 2cc2fdc1845ba68bfb275b9d02fb6321c6325825 # timeout=10 23:07:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:07:25 % Total % Received % Xferd Average Speed Time Time Time Current 23:07:25 Dload Upload Total Spent Left Speed 23:07:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 23:07:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:07:26 + sudo tee /etc/docker/daemon.new 23:07:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:07:26 { 23:07:26 "registry-mirrors": [ 23:07:26 "https://nexus3.edgexfoundry.org:10001" 23:07:26 ], 23:07:26 "bip": "10.250.0.254/24", 23:07:26 "hosts": [ 23:07:26 "tcp://0.0.0.0:5555", 23:07:26 "unix:///var/run/docker.sock" 23:07:26 ], 23:07:26 "mtu": 1458, 23:07:26 "selinux-enabled": true, 23:07:26 "seccomp-profile": "/etc/docker/seccomp.json" 23:07:26 } [Pipeline] sh 23:07:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:07:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:07:45 provisioning config files... 23:07:45 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/13@tmp/config14917984354922340026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:45 ---> docker-login.sh 23:07:45 nexus3.edgexfoundry.org:10001 23:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:46 Configure a credential helper to remove this warning. See 23:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:46 23:07:46 Login Succeeded 23:07:46 nexus3.edgexfoundry.org:10002 23:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:46 Configure a credential helper to remove this warning. See 23:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:46 23:07:46 Login Succeeded 23:07:46 nexus3.edgexfoundry.org:10003 23:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:47 Configure a credential helper to remove this warning. See 23:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:47 23:07:47 Login Succeeded 23:07:47 nexus3.edgexfoundry.org:10004 23:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:47 Configure a credential helper to remove this warning. See 23:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:47 23:07:47 Login Succeeded 23:07:47 docker.io 23:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:47 Configure a credential helper to remove this warning. See 23:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:47 23:07:47 Login Succeeded 23:07:47 ---> docker-login.sh ends [Pipeline] } 23:07:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:07:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:07:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:07:48 ========================================================= 23:07:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:07:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:48 + 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 . 23:07:48 Sending build context to Docker daemon 168.4kB 23:07:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:07:48 Step 2/12 : FROM ${BASE} AS builder 23:07:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:07:50 af6eaf76a39c: Pulling fs layer 23:07:50 55522c791124: Pulling fs layer 23:07:50 ce5c4a1c91eb: Pulling fs layer 23:07:50 169dfbe0d373: Pulling fs layer 23:07:50 e1ff8fa3b103: Pulling fs layer 23:07:50 52ebb69f0ebf: Pulling fs layer 23:07:50 5abe8eddf0d5: Pulling fs layer 23:07:50 169dfbe0d373: Waiting 23:07:50 e1ff8fa3b103: Waiting 23:07:50 52ebb69f0ebf: Waiting 23:07:50 5abe8eddf0d5: Waiting 23:07:50 55522c791124: Verifying Checksum 23:07:50 55522c791124: Download complete 23:07:50 169dfbe0d373: Verifying Checksum 23:07:50 169dfbe0d373: Download complete 23:07:50 e1ff8fa3b103: Verifying Checksum 23:07:50 e1ff8fa3b103: Download complete 23:07:50 af6eaf76a39c: Verifying Checksum 23:07:50 af6eaf76a39c: Download complete 23:07:51 af6eaf76a39c: Pull complete 23:07:51 5abe8eddf0d5: Verifying Checksum 23:07:51 5abe8eddf0d5: Download complete 23:07:51 55522c791124: Pull complete 23:07:52 ce5c4a1c91eb: Verifying Checksum 23:07:52 ce5c4a1c91eb: Download complete 23:07:52 52ebb69f0ebf: Verifying Checksum 23:07:52 52ebb69f0ebf: Download complete 23:08:05 ce5c4a1c91eb: Pull complete 23:08:05 169dfbe0d373: Pull complete 23:08:05 e1ff8fa3b103: Pull complete 23:08:11 52ebb69f0ebf: Pull complete 23:08:13 5abe8eddf0d5: Pull complete 23:08:13 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:08:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:08:13 ---> 6cb57ee374ae 23:08:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:08:15 ---> Running in 522c0381b56f 23:08:15 Removing intermediate container 522c0381b56f 23:08:15 ---> 2a843bdb78e2 23:08:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:08:15 ---> Running in b26a77ed296b 23:08:15 Removing intermediate container b26a77ed296b 23:08:15 ---> d06944ae34dd 23:08:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:08:16 ---> Running in e85aadfc13fa 23:08:16 Removing intermediate container e85aadfc13fa 23:08:16 ---> dd944ae70d4a 23:08:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:08:16 ---> Running in 7d66008cee55 23:08:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:08:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:08:18 OK: 263 MiB in 53 packages 23:08:19 Removing intermediate container 7d66008cee55 23:08:19 ---> e73e3dc3840b 23:08:19 Step 7/12 : WORKDIR /app 23:08:19 ---> Running in 7fee7f6bc545 23:08:20 Removing intermediate container 7fee7f6bc545 23:08:20 ---> 4d5ae61454b3 23:08:20 Step 8/12 : COPY go.mod vendor* ./ 23:08:20 ---> 27f0de9a6cf0 23:08:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:08:20 ---> Running in 0754b0d0efee 23:09:28 Removing intermediate container 0754b0d0efee 23:09:28 ---> 3d56b507ff62 23:09:28 Step 10/12 : COPY . . 23:09:28 ---> 0ce31c785e97 23:09:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:09:28 ---> Running in 4b87eda6e896 23:09:28 Removing intermediate container 4b87eda6e896 23:09:28 ---> f6085342ec6e 23:09:28 Step 12/12 : RUN $MAKE 23:09:28 ---> Running in 39af99448dd5 23:09:28 noop 23:09:28 Removing intermediate container 39af99448dd5 23:09:28 ---> b814f7d9c144 23:09:28 Successfully built b814f7d9c144 23:09:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:29 + docker inspect -f . ci-base-image-arm64 23:09:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:29 prd-ubuntu20.04-docker-arm64-4c-16g-5944 does not seem to be running inside a container 23:09:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/13 -v /w/workspace/app-service-configurable/13:/w/workspace/app-service-configurable/13:rw,z -v /w/workspace/app-service-configurable/13@tmp:/w/workspace/app-service-configurable/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:09:30 $ docker top 506d40dedc59cfc3ab654dc5efe23901e75e41f6709634ec393c40134d594d47 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:31 + go version 23:09:31 go version go1.20.2 linux/arm64 [Pipeline] } 23:09:31 $ docker stop --time=1 506d40dedc59cfc3ab654dc5efe23901e75e41f6709634ec393c40134d594d47 23:09:34 $ docker rm -f --volumes 506d40dedc59cfc3ab654dc5efe23901e75e41f6709634ec393c40134d594d47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:35 + docker inspect -f . ci-base-image-arm64 23:09:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:35 prd-ubuntu20.04-docker-arm64-4c-16g-5944 does not seem to be running inside a container 23:09:35 $ 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/13 -v /w/workspace/app-service-configurable/13:/w/workspace/app-service-configurable/13:rw,z -v /w/workspace/app-service-configurable/13@tmp:/w/workspace/app-service-configurable/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:09:36 $ docker top 1accd235971847cef8a7c913fb8ca134169bbe51f875b865e29f3db35cc6fa51 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:37 + git config --global --add safe.directory /w/workspace/app-service-configurable/13 [Pipeline] fileExists [Pipeline] sh 23:09:37 + make test 23:09:37 go test -race -coverprofile=coverage.out ./... 23:12:14 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:12:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:12:15 go vet ./... 23:14:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:14:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:14:37 ./bin/test-attribution-txt.sh 23:14:37 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 23:14:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:14:37 $ docker stop --time=1 1accd235971847cef8a7c913fb8ca134169bbe51f875b865e29f3db35cc6fa51 23:14:38 $ docker rm -f --volumes 1accd235971847cef8a7c913fb8ca134169bbe51f875b865e29f3db35cc6fa51 [Pipeline] // withDockerContainer [Pipeline] sh 23:14:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:14:40 Warning: overwriting stash ‘coverage-report’ 23:14:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:14:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:14:41 + ls -al . 23:14:41 total 172 23:14:41 drwxrwxr-x 7 jenkins jenkins 4096 Mar 27 23:09 . 23:14:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 23:07 .. 23:14:41 -rw-rw-r-- 1 jenkins jenkins 119 Mar 27 23:07 .dockerignore 23:14:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 23:07 .git 23:14:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 23:07 .github 23:14:41 -rw-rw-r-- 1 jenkins jenkins 171 Mar 27 23:07 .gitignore 23:14:41 -rw-rw-r-- 1 jenkins jenkins 41 Mar 27 23:07 .golangci.yml 23:14:41 -rw-rw-r-- 1 jenkins jenkins 9088 Mar 27 23:07 Attribution.txt 23:14:41 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 27 23:07 CHANGELOG.md 23:14:41 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 27 23:07 Dockerfile 23:14:41 -rw-rw-r-- 1 jenkins jenkins 677 Mar 27 23:07 GOVERNANCE.md 23:14:41 -rw-rw-r-- 1 jenkins jenkins 688 Mar 27 23:07 Jenkinsfile 23:14:41 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 27 23:07 LICENSE 23:14:41 -rw-rw-r-- 1 jenkins jenkins 618 Mar 27 23:07 OWNERS.md 23:14:41 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 27 23:07 README.md 23:14:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 23:03 VERSION 23:14:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 23:07 bin 23:14:41 -rw-r--r-- 1 jenkins jenkins 13 Mar 27 23:09 coverage.out 23:14:41 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 27 23:07 go.mod 23:14:41 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 27 23:07 go.sum 23:14:41 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 27 23:07 main.go 23:14:41 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 27 23:07 makefile 23:14:41 drwxrwxr-x 9 jenkins jenkins 4096 Mar 27 23:07 res 23:14:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 23:07 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:42 + 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=b63ac768d8d6ff1accc382128eb6c5b869caaa4a --label arch=arm64 --label version=0.0.0 . 23:14:42 Sending build context to Docker daemon 169.5kB 23:14:42 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:14:42 Step 2/26 : FROM ${BASE} AS builder 23:14:42 ---> b814f7d9c144 23:14:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:14:42 ---> Running in 677eb9096370 23:14:42 Removing intermediate container 677eb9096370 23:14:42 ---> e73aa8f3b31c 23:14:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:14:42 ---> Running in e9a4cc3e5df2 23:14:43 Removing intermediate container e9a4cc3e5df2 23:14:43 ---> 2482339b6f6e 23:14:43 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:14:43 ---> Running in 3a5f4c678c7b 23:14:43 Removing intermediate container 3a5f4c678c7b 23:14:43 ---> 76926d1464e1 23:14:43 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:14:43 ---> Running in d2f579476e9d 23:14:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:14:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:14:46 OK: 263 MiB in 53 packages 23:14:47 Removing intermediate container d2f579476e9d 23:14:47 ---> 0d47dea6a2bd 23:14:47 Step 7/26 : WORKDIR /app 23:14:47 ---> Running in 0bf3839e45c3 23:14:47 Removing intermediate container 0bf3839e45c3 23:14:47 ---> 0034cd9572ea 23:14:47 Step 8/26 : COPY go.mod vendor* ./ 23:14:48 ---> 04701e425adf 23:14:48 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:48 ---> Running in 7b0099c295d4 23:14:50 Removing intermediate container 7b0099c295d4 23:14:50 ---> cfdc1741546f 23:14:50 Step 10/26 : COPY . . 23:14:51 ---> 204d792c893c 23:14:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:14:51 ---> Running in fff9f2d3c654 23:14:51 Removing intermediate container fff9f2d3c654 23:14:51 ---> f8d2c706a6b3 23:14:51 Step 12/26 : RUN $MAKE 23:14:51 ---> Running in 88af820e0068 23:14:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 23:16:59 Removing intermediate container 88af820e0068 23:16:59 ---> d823f46184ed 23:16:59 Step 13/26 : FROM alpine:3.17 23:16:59 3.17: Pulling from library/alpine 23:16:59 af6eaf76a39c: Already exists 23:16:59 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:16:59 Status: Downloaded newer image for alpine:3.17 23:16:59 ---> d74e625d9115 23:16:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:16:59 ---> Running in 9ad0596b018a 23:16:59 Removing intermediate container 9ad0596b018a 23:16:59 ---> b66492ced90d 23:16:59 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:16:59 ---> Running in 05e51d6a879f 23:16:59 Removing intermediate container 05e51d6a879f 23:16:59 ---> f400cde7d612 23:16:59 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:16:59 ---> Running in 8fc0c622aea6 23:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:17:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:17:02 (1/2) Installing ca-certificates (20220614-r4) 23:17:02 (2/2) Installing dumb-init (1.2.5-r2) 23:17:02 Executing busybox-1.35.0-r29.trigger 23:17:02 Executing ca-certificates-20220614-r4.trigger 23:17:02 OK: 8 MiB in 17 packages 23:17:04 Removing intermediate container 8fc0c622aea6 23:17:04 ---> 309fe9c9933f 23:17:04 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:17:04 ---> d2fd02788418 23:17:04 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:17:04 ---> 5cbda15c77d5 23:17:04 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:17:05 ---> fdb4fd78b838 23:17:05 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:17:06 ---> 66418fb1af1c 23:17:06 Step 21/26 : EXPOSE 48095 23:17:06 ---> Running in 306e242a6b32 23:17:06 Removing intermediate container 306e242a6b32 23:17:06 ---> cd7b72451147 23:17:06 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:17:06 ---> Running in 83b8d05c1982 23:17:07 Removing intermediate container 83b8d05c1982 23:17:07 ---> 9e76f5a4d2d3 23:17:07 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:17:07 ---> Running in cfc2dc853e9b 23:17:07 Removing intermediate container cfc2dc853e9b 23:17:07 ---> f33a2c451ced 23:17:07 Step 24/26 : LABEL arch=arm64 23:17:07 ---> Running in 4ebac5500262 23:17:08 Removing intermediate container 4ebac5500262 23:17:08 ---> 5a65531e3fb7 23:17:08 Step 25/26 : LABEL git_sha=b63ac768d8d6ff1accc382128eb6c5b869caaa4a 23:17:08 ---> Running in 9d5d2d74632f 23:17:08 Removing intermediate container 9d5d2d74632f 23:17:08 ---> 3df91255df19 23:17:08 Step 26/26 : LABEL version=0.0.0 23:17:08 ---> Running in 0b9be2e281ef 23:17:08 Removing intermediate container 0b9be2e281ef 23:17:08 ---> 1668c7d0b188 23:17:08 [Warning] One or more build-args [ARCH] were not consumed 23:17:08 Successfully built 1668c7d0b188 23:17:08 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 23:17:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:09 23:17:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:09 arm64: Pulling from edgex-lftools-log-publisher 23:17:09 8998bd30e6a1: Pulling fs layer 23:17:09 04944245beec: Pulling fs layer 23:17:09 699f458cf7ca: Pulling fs layer 23:17:09 765212b225bb: Pulling fs layer 23:17:09 f23df028b6ca: Pulling fs layer 23:17:09 d65c8cfc05b1: Pulling fs layer 23:17:09 765212b225bb: Waiting 23:17:09 2437ff75d9bd: Pulling fs layer 23:17:09 f23df028b6ca: Waiting 23:17:09 2437ff75d9bd: Waiting 23:17:09 d65c8cfc05b1: Waiting 23:17:09 04944245beec: Verifying Checksum 23:17:09 04944245beec: Download complete 23:17:09 765212b225bb: Verifying Checksum 23:17:09 765212b225bb: Download complete 23:17:09 f23df028b6ca: Verifying Checksum 23:17:09 f23df028b6ca: Download complete 23:17:09 d65c8cfc05b1: Verifying Checksum 23:17:09 d65c8cfc05b1: Download complete 23:17:09 699f458cf7ca: Verifying Checksum 23:17:09 699f458cf7ca: Download complete 23:17:10 8998bd30e6a1: Verifying Checksum 23:17:10 8998bd30e6a1: Download complete 23:17:12 2437ff75d9bd: Verifying Checksum 23:17:12 2437ff75d9bd: Download complete 23:17:14 8998bd30e6a1: Pull complete 23:17:14 04944245beec: Pull complete 23:17:15 699f458cf7ca: Pull complete 23:17:15 765212b225bb: Pull complete 23:17:16 f23df028b6ca: Pull complete 23:17:16 d65c8cfc05b1: Pull complete 23:17:28 2437ff75d9bd: Pull complete 23:17:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:17:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:29 prd-ubuntu20.04-docker-arm64-4c-16g-5944 does not seem to be running inside a container 23:17:29 $ 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/13 -v /w/workspace/app-service-configurable/13:/w/workspace/app-service-configurable/13:rw,z -v /w/workspace/app-service-configurable/13@tmp:/w/workspace/app-service-configurable/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:17:31 $ docker top 126974c815e8fa39aa1e64ca08506071ac3813e9aa869870d59fb5b6f6184643 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:32 ---> job-cost.sh 23:17:32 lf-activate-venv: SKIPPING 23:17:32 INFO: No Stack... 23:17:32 INFO: Retrieving Pricing Info for: v3-standard-4 23:17:33 INFO: Archiving Costs [Pipeline] sh 23:17:34 + cat /w/workspace/app-service-configurable/13/archives/cost.csv 23:17:34 + cut -d, -f6 [Pipeline] lock 23:17:34 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-13-stack-cost] 23:17:34 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-13-stack-cost] did not exist. Created. 23:17:34 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:17:34 /w/workspace/app-service-configurable/13@tmp/durable-88ea82de/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:17:35 + echo total: 0.10999999940395355 [Pipeline] stash 23:17:35 Warning: overwriting stash ‘stack-cost’ 23:17:35 Stashed 1 file(s) [Pipeline] } 23:17:35 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-13-stack-cost] [Pipeline] // lock [Pipeline] } 23:17:35 $ docker stop --time=1 126974c815e8fa39aa1e64ca08506071ac3813e9aa869870d59fb5b6f6184643 23:17:36 $ docker rm -f --volumes 126974c815e8fa39aa1e64ca08506071ac3813e9aa869870d59fb5b6f6184643 [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 23:17:37 provisioning config files... 23:17:37 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config5083744545122029981tmp [Pipeline] { [Pipeline] sh 23:17:37 + set +x 23:17:37 + curl -s https://codecov.io/bash 23:17:37 + bash -s -- 23:17:37 23:17:37 _____ _ 23:17:37 / ____| | | 23:17:37 | | ___ __| | ___ ___ _____ __ 23:17:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:17:37 | |___| (_) | (_| | __/ (_| (_) \ V / 23:17:37 \_____\___/ \__,_|\___|\___\___/ \_/ 23:17:37 Bash-1.0.6 23:17:37 23:17:37 23:17:37 ==> git version 2.25.1 found 23:17:37 ==> 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 23:17:37 Release-Date: 2020-01-08 23:17:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:17:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:17:37 ==> Jenkins CI detected. 23:17:37 current dir:  /w/workspace/_app-service-configurable_PR-535 23:17:37 project root: . 23:17:37 --> token set from env 23:17:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:17:37 ==> Running gcov in . (disable via -X gcov) 23:17:37 ==> Python coveragepy not found 23:17:37 ==> Searching for coverage reports in: 23:17:37 + . 23:17:37 -> Found 1 reports 23:17:37 ==> Detecting git/mercurial file structure 23:17:37 ==> Reading reports 23:17:37 + ./coverage.out bytes=13 23:17:37 ==> Appending adjustments 23:17:37 https://docs.codecov.io/docs/fixing-reports 23:17:37 + Found adjustments 23:17:37 ==> Gzipping contents 23:17:37 4.0K /tmp/codecov.2WsVNn.gz 23:17:37 ==> Uploading reports 23:17:37 url: https://codecov.io 23:17:37 query: branch=PR-535&commit=210af0f0c82fe745f9801555c8bd9323f718b2a1&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F13%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 23:17:37 -> Pinging Codecov 23:17:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-535&commit=210af0f0c82fe745f9801555c8bd9323f718b2a1&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F13%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 23:17:37 -> Uploading to 23:17:37 https://storage.googleapis.com/codecov/v4/raw/2023-03-27/A97CA9966030D2A3747ED39772930CCE/210af0f0c82fe745f9801555c8bd9323f718b2a1/9c132cfd-a9d9-4ec0-9c8a-b55b0df1e5e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230327%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230327T231737Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=107a4a416898f474d2a22ed22ed7b27e56323fa52b11e35eee79b74f1c5a8e84 23:17:37 % Total % Received % Xferd Average Speed Time Time Time Current 23:17:37 Dload Upload Total Spent Left Speed 23:17:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1434 --:--:-- --:--:-- --:--:-- 1434 23:17:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/210af0f0c82fe745f9801555c8bd9323f718b2a1 [Pipeline] } 23:17:38 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 23:17:39 + [ -d /w/workspace/_app-service-configurable_PR-535/archives ] 23:17:39 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 23:17:39 total 16 23:17:39 drwxr-xr-x 3 root root 4096 Mar 27 23:05 . 23:17:39 drwxrwxr-x 9 jenkins jenkins 4096 Mar 27 23:05 .. 23:17:39 drwxr-xr-x 2 root root 4096 Mar 27 23:05 cost 23:17:39 -rw-r--r-- 1 root root 97 Mar 27 23:05 cost.csv 23:17:39 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-535/archives 23:17:39 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 23:17:39 total 16 23:17:39 drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 23:05 . 23:17:39 drwxrwxr-x 9 jenkins jenkins 4096 Mar 27 23:05 .. 23:17:39 drwxr-xr-x 2 jenkins jenkins 4096 Mar 27 23:05 cost 23:17:39 -rw-r--r-- 1 jenkins jenkins 97 Mar 27 23:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:17:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:17:40 ---> package-listing.sh 23:17:40 ++ facter osfamily 23:17:40 ++ tr '[:upper:]' '[:lower:]' 23:17:40 + OS_FAMILY=debian 23:17:40 + workspace=/w/workspace/_app-service-configurable_PR-535 23:17:40 + START_PACKAGES=/tmp/packages_start.txt 23:17:40 + END_PACKAGES=/tmp/packages_end.txt 23:17:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:17:40 + PACKAGES=/tmp/packages_start.txt 23:17:40 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 23:17:40 + PACKAGES=/tmp/packages_end.txt 23:17:40 + case "${OS_FAMILY}" in 23:17:40 + dpkg -l 23:17:40 + grep '^ii' 23:17:40 + '[' -f /tmp/packages_start.txt ']' 23:17:40 + '[' -f /tmp/packages_end.txt ']' 23:17:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:17:40 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 23:17:40 + mkdir -p /w/workspace/_app-service-configurable_PR-535/archives/ 23:17:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-535/archives/ [Pipeline] echo 23:17:40 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-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:17:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:17:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:41 prd-ubuntu20.04-docker-8c-8g-5942 does not seem to be running inside a container 23:17:41 $ 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-535/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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:17:41 $ docker top 08ae760873239037f9712d1f45c6288a24e61d1783f5a3b8c32c1f445a67af81 -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:41 + touch /tmp/pre-build-complete [Pipeline] sh 23:17:42 + mkdir -p /var/log/sysstat [Pipeline] sh 23:17:42 + ls /var/log/sa-host 23:17:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:42 provisioning config files... 23:17:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config1105610332029369707tmp [Pipeline] { [Pipeline] echo 23:17:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:17:42 ---> create-netrc.sh [Pipeline] } 23:17:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:17:43 ---> python-tools-install.sh [Pipeline] echo 23:17:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:17:43 ---> sudo-logs.sh 23:17:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:17:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:17:43 ---> job-cost.sh 23:17:43 lf-activate-venv: SKIPPING 23:17:43 DEBUG: total: 0.2199999988079071 23:17:43 INFO: Retrieving Stack Cost... 23:17:44 INFO: Retrieving Pricing Info for: v3-standard-8 23:17:44 INFO: Archiving Costs [Pipeline] echo 23:17:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:17:44 ---> logs-deploy.sh 23:17:44 lf-activate-venv: SKIPPING 23:17:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-535/13 23:17:44 INFO: archiving workspace using pattern(s): 23:17:45 Archives upload complete. 23:17:45 INFO: archiving logs to Nexus