Pull request #602 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c7237019d7a110dcb14cc525bc8ada4bfaea6e4d+50c5d59d5a420e29fbcf2aa20cf4ed2aae97249d (b59dfceb15b03fcc91538d25a90af29b9684e3bb) 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-ssh3220030588958269459.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh16502455225954155682.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-602/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-602/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6419931958673595100.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-602/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13748429632602117304.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12589854433634752225.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-602/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-602/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh91740531616401567.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8134 in /w/workspace/_app-service-configurable_PR-602 [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-602 # 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/602/head:refs/remotes/origin/PR-602 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 50c5d59d5a420e29fbcf2aa20cf4ed2aae97249d into PR head commit c7237019d7a110dcb14cc525bc8ada4bfaea6e4d Merge succeeded, producing c7237019d7a110dcb14cc525bc8ada4bfaea6e4d Checking out Revision c7237019d7a110dcb14cc525bc8ada4bfaea6e4d (PR-602) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:48:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:48:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:48:31 ========================================================= 12:48:31 EdgeX Global Pipelines Version Info 12:48:31 ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f c7237019d7a110dcb14cc525bc8ada4bfaea6e4d # 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 50c5d59d5a420e29fbcf2aa20cf4ed2aae97249d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7237019d7a110dcb14cc525bc8ada4bfaea6e4d # timeout=10 [Pipeline] libraryResource [Pipeline] sh 12:48:32 ------------------- 12:48:32 stable info: 12:48:32 ------------------- 12:48:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:48:32 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:48:32 Message: update stable to v1.0.254 12:48:33 ------------------- 12:48:33 experimental info: 12:48:33 ------------------- 12:48:33 Commited By: **** collab-it+edgex@linuxfoundation.org 12:48:33 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:48:33 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:48:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-602 [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-602 [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-602 [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7237019d7a110dcb14cc525bc8ada4bfaea6e4d [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c723701 [Pipeline] echo 12:48:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:48:34 provisioning config files... 12:48:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-602@tmp/config14644789387121363058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:35 ---> docker-login.sh 12:48:35 nexus3.edgexfoundry.org:10001 12:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:36 Configure a credential helper to remove this warning. See 12:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:36 12:48:36 Login Succeeded 12:48:36 nexus3.edgexfoundry.org:10002 12:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:36 Configure a credential helper to remove this warning. See 12:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:36 12:48:36 Login Succeeded 12:48:36 nexus3.edgexfoundry.org:10003 12:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:36 Configure a credential helper to remove this warning. See 12:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:36 12:48:36 Login Succeeded 12:48:36 nexus3.edgexfoundry.org:10004 12:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:36 Configure a credential helper to remove this warning. See 12:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:36 12:48:36 Login Succeeded 12:48:36 docker.io 12:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:36 Configure a credential helper to remove this warning. See 12:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:36 12:48:36 Login Succeeded 12:48:36 ---> docker-login.sh ends [Pipeline] } 12:48:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:48:37 + git rev-list -1 --merges c7237019d7a110dcb14cc525bc8ada4bfaea6e4d~1..c7237019d7a110dcb14cc525bc8ada4bfaea6e4d [Pipeline] echo 12:48:37 -----------> git rev-list -1 --merges c7237019d7a110dcb14cc525bc8ada4bfaea6e4d~1..c7237019d7a110dcb14cc525bc8ada4bfaea6e4d c7237019d7a110dcb14cc525bc8ada4bfaea6e4d [false] [Pipeline] sh 12:48:38 + git log --format=format:%s -1 c7237019d7a110dcb14cc525bc8ada4bfaea6e4d [Pipeline] echo 12:48:38 ========================================================= 12:48:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:48:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:48:38 + git log --format=format:%s -1 c7237019d7a110dcb14cc525bc8ada4bfaea6e4d [Pipeline] echo 12:48:38 [semverPrep] GIT_COMMIT: c7237019d7a110dcb14cc525bc8ada4bfaea6e4d, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:48:38 [semverPrep] This is not a build commit. [Pipeline] sh 12:48:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:48:39 + grep -v github /etc/ssh/ssh_known_hosts 12:48:39 + [ -e /tmp/ssh_known_hosts ] 12:48:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:48:39 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:48:39 sudo tee -a /etc/ssh/ssh_known_hosts 12:48:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:48:39 12:48:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:48:40 0.1.4: Pulling from edgex-devops/py-git-semver 12:48:40 b85a868b505f: Pulling fs layer 12:48:40 e2be974225ed: Pulling fs layer 12:48:40 339a4e72a1f5: Pulling fs layer 12:48:40 988bab9f4d93: Pulling fs layer 12:48:40 1469e6f7b9e6: Pulling fs layer 12:48:40 eaf3925da568: Pulling fs layer 12:48:40 bab4dde63d76: Pulling fs layer 12:48:40 bde34c3a00c8: Pulling fs layer 12:48:40 b352a97aabf1: Pulling fs layer 12:48:40 4872d77fe225: Pulling fs layer 12:48:40 5851b861e8e6: Pulling fs layer 12:48:40 eaf3925da568: Waiting 12:48:40 bab4dde63d76: Waiting 12:48:40 bde34c3a00c8: Waiting 12:48:40 988bab9f4d93: Waiting 12:48:40 b352a97aabf1: Waiting 12:48:40 5851b861e8e6: Waiting 12:48:40 4872d77fe225: Waiting 12:48:40 1469e6f7b9e6: Waiting 12:48:40 e2be974225ed: Download complete 12:48:40 988bab9f4d93: Verifying Checksum 12:48:40 988bab9f4d93: Download complete 12:48:40 1469e6f7b9e6: Verifying Checksum 12:48:40 1469e6f7b9e6: Download complete 12:48:40 339a4e72a1f5: Verifying Checksum 12:48:40 339a4e72a1f5: Download complete 12:48:40 eaf3925da568: Verifying Checksum 12:48:40 eaf3925da568: Download complete 12:48:40 bde34c3a00c8: Download complete 12:48:40 b352a97aabf1: Verifying Checksum 12:48:40 b352a97aabf1: Download complete 12:48:40 4872d77fe225: Verifying Checksum 12:48:40 4872d77fe225: Download complete 12:48:40 5851b861e8e6: Download complete 12:48:40 b85a868b505f: Verifying Checksum 12:48:40 b85a868b505f: Download complete 12:48:40 bab4dde63d76: Verifying Checksum 12:48:40 bab4dde63d76: Download complete 12:48:41 b85a868b505f: Pull complete 12:48:42 e2be974225ed: Pull complete 12:48:43 339a4e72a1f5: Pull complete 12:48:43 988bab9f4d93: Pull complete 12:48:43 1469e6f7b9e6: Pull complete 12:48:43 eaf3925da568: Pull complete 12:48:45 bab4dde63d76: Pull complete 12:48:45 bde34c3a00c8: Pull complete 12:48:45 b352a97aabf1: Pull complete 12:48:45 4872d77fe225: Pull complete 12:48:45 5851b861e8e6: Pull complete 12:48:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:48:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:48:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:48:45 prd-ubuntu20.04-docker-8c-8g-8134 does not seem to be running inside a container 12:48:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-602 -v /w/workspace/_app-service-configurable_PR-602:/w/workspace/_app-service-configurable_PR-602:rw,z -v /w/workspace/_app-service-configurable_PR-602@tmp:/w/workspace/_app-service-configurable_PR-602@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:48:52 $ docker top a0c0f63f00629670f2e3990c9504c68b30301eec6e7f704c70b82489de7dcdcf -eo pid,comm 12:48:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:48:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:48:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:48:52 [ssh-agent] Looking for ssh-agent implementation... 12:48:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:48:52 $ docker exec a0c0f63f00629670f2e3990c9504c68b30301eec6e7f704c70b82489de7dcdcf ssh-agent 12:48:52 SSH_AUTH_SOCK=/tmp/ssh-59l2GkHDOQDu/agent.31 12:48:52 SSH_AGENT_PID=37 12:48:52 Running ssh-add (command line suppressed) 12:48:52 Identity added: /w/workspace/_app-service-configurable_PR-602@tmp/private_key_13193188539256338843.key (/w/workspace/_app-service-configurable_PR-602@tmp/private_key_13193188539256338843.key) 12:48:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:48:52 + git tag --points-at HEAD [Pipeline] } 12:48:52 $ docker exec --env ******** --env ******** a0c0f63f00629670f2e3990c9504c68b30301eec6e7f704c70b82489de7dcdcf ssh-agent -k 12:48:52 unset SSH_AUTH_SOCK; 12:48:52 unset SSH_AGENT_PID; 12:48:52 echo Agent pid 37 killed; 12:48:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:48:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:48:53 [ssh-agent] Looking for ssh-agent implementation... 12:48:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:48:53 $ docker exec a0c0f63f00629670f2e3990c9504c68b30301eec6e7f704c70b82489de7dcdcf ssh-agent 12:48:53 SSH_AUTH_SOCK=/tmp/ssh-GadZmyhhIge9/agent.69 12:48:53 SSH_AGENT_PID=75 12:48:53 Running ssh-add (command line suppressed) 12:48:53 Identity added: /w/workspace/_app-service-configurable_PR-602@tmp/private_key_9137149878069395106.key (/w/workspace/_app-service-configurable_PR-602@tmp/private_key_9137149878069395106.key) 12:48:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:48:53 + git semver init 12:48:54 2023-09-28 12:48:53,925 [run_init] DEBUG init version:0.0.0 force:False 12:48:54 2023-09-28 12:48:53,926 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-602/.semver 12:48:54 2023-09-28 12:48:53,926 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-602/.semver 12:48:54 2023-09-28 12:48:53,926 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-602/.semver'], cwd=/w/workspace/_app-service-configurable_PR-602, universal_newlines=False, shell=None, istream=None) 12:48:55 2023-09-28 12:48:55,038 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-602/.git/info/exclude 12:48:55 2023-09-28 12:48:55,039 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-602/.semver/PR-602 with force:False 12:48:55 2023-09-28 12:48:55,039 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-602/.semver/PR-602 12:48:55 2023-09-28 12:48:55,043 [execute] INFO git cat-file --batch-check 12:48:55 2023-09-28 12:48:55,044 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-602/.semver, universal_newlines=False, shell=None, istream=) 12:48:55 2023-09-28 12:48:55,050 [execute] INFO git cat-file --batch 12:48:55 2023-09-28 12:48:55,050 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-602/.semver, universal_newlines=False, shell=None, istream=) 12:48:55 2023-09-28 12:48:55,055 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-602/.semver/PR-602 12:48:55 0.0.0 [Pipeline] } 12:48:55 $ docker exec --env ******** --env ******** a0c0f63f00629670f2e3990c9504c68b30301eec6e7f704c70b82489de7dcdcf ssh-agent -k 12:48:55 unset SSH_AUTH_SOCK; 12:48:55 unset SSH_AGENT_PID; 12:48:55 echo Agent pid 75 killed; 12:48:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:48:55 + git semver [Pipeline] } 12:48:56 $ docker stop --time=1 a0c0f63f00629670f2e3990c9504c68b30301eec6e7f704c70b82489de7dcdcf 12:48:57 $ docker rm -f --volumes a0c0f63f00629670f2e3990c9504c68b30301eec6e7f704c70b82489de7dcdcf [Pipeline] // withDockerContainer [Pipeline] sh 12:48:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:48:58 Stashed 1 file(s) [Pipeline] echo 12:48:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:48:58 provisioning config files... 12:48:58 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-602@tmp/config14281741594820194328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:59 ---> docker-login.sh 12:48:59 nexus3.edgexfoundry.org:10001 12:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:59 Configure a credential helper to remove this warning. See 12:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:59 12:48:59 Login Succeeded 12:48:59 nexus3.edgexfoundry.org:10002 12:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:59 Configure a credential helper to remove this warning. See 12:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:59 12:48:59 Login Succeeded 12:48:59 nexus3.edgexfoundry.org:10003 12:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:59 Configure a credential helper to remove this warning. See 12:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:59 12:48:59 Login Succeeded 12:48:59 nexus3.edgexfoundry.org:10004 12:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:59 Configure a credential helper to remove this warning. See 12:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:59 12:48:59 Login Succeeded 12:48:59 docker.io 12:48:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:59 Configure a credential helper to remove this warning. See 12:48:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:59 12:48:59 Login Succeeded 12:48:59 ---> docker-login.sh ends [Pipeline] } 12:48:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:49:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:49:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:49:00 ========================================================= 12:49:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:49:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:49:00 Sending build context to Docker daemon 3.365MB 12:49:00 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:49:00 Step 2/12 : FROM ${BASE} AS builder 12:49:00 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:49:00 7264a8db6415: Pulling fs layer 12:49:00 c4d48a809fc2: Pulling fs layer 12:49:00 4f1c88b9dad5: Pulling fs layer 12:49:00 ad3a456e5733: Pulling fs layer 12:49:00 33e27b845d1e: Pulling fs layer 12:49:00 c68163c4e522: Pulling fs layer 12:49:00 50da416c3ac9: Pulling fs layer 12:49:00 23d2d4c4bb30: Pulling fs layer 12:49:00 50da416c3ac9: Waiting 12:49:00 23d2d4c4bb30: Waiting 12:49:00 33e27b845d1e: Waiting 12:49:00 ad3a456e5733: Waiting 12:49:00 c68163c4e522: Waiting 12:49:00 c4d48a809fc2: Verifying Checksum 12:49:00 c4d48a809fc2: Download complete 12:49:00 ad3a456e5733: Verifying Checksum 12:49:00 ad3a456e5733: Download complete 12:49:00 33e27b845d1e: Verifying Checksum 12:49:00 33e27b845d1e: Download complete 12:49:00 7264a8db6415: Verifying Checksum 12:49:00 7264a8db6415: Download complete 12:49:00 c68163c4e522: Verifying Checksum 12:49:00 c68163c4e522: Download complete 12:49:01 7264a8db6415: Pull complete 12:49:01 23d2d4c4bb30: Verifying Checksum 12:49:01 23d2d4c4bb30: Download complete 12:49:01 c4d48a809fc2: Pull complete 12:49:01 4f1c88b9dad5: Verifying Checksum 12:49:01 4f1c88b9dad5: Download complete 12:49:01 50da416c3ac9: Verifying Checksum 12:49:01 50da416c3ac9: Download complete 12:49:04 4f1c88b9dad5: Pull complete 12:49:04 ad3a456e5733: Pull complete 12:49:04 33e27b845d1e: Pull complete 12:49:04 c68163c4e522: Pull complete 12:49:07 50da416c3ac9: Pull complete 12:49:07 23d2d4c4bb30: Pull complete 12:49:07 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 12:49:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:49:07 ---> 0786185ac409 12:49:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:49:13 Still waiting to schedule task 12:49:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:49:15 ---> Running in 2f6dfcd42788 12:49:15 Removing intermediate container 2f6dfcd42788 12:49:15 ---> d7fa053a3580 12:49:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:49:15 ---> Running in cd6017d30cee 12:49:15 Removing intermediate container cd6017d30cee 12:49:15 ---> 9093acf6ccf8 12:49:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:49:15 ---> Running in f06a80ea78a2 12:49:15 Removing intermediate container f06a80ea78a2 12:49:15 ---> c1acf0f2d1ca 12:49:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:49:15 ---> Running in 11710cb5ab0b 12:49:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:49:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:49:15 OK: 264 MiB in 52 packages 12:49:16 Removing intermediate container 11710cb5ab0b 12:49:16 ---> f53071c97709 12:49:16 Step 7/12 : WORKDIR /app 12:49:16 ---> Running in dde3bf470770 12:49:16 Removing intermediate container dde3bf470770 12:49:16 ---> 4d78b0b3c8ea 12:49:16 Step 8/12 : COPY go.mod vendor* ./ 12:49:16 ---> 50bcfa25ca18 12:49:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:49:16 ---> Running in db8628e34155 12:50:02 Removing intermediate container db8628e34155 12:50:02 ---> d96938d9f33b 12:50:02 Step 10/12 : COPY . . 12:50:02 ---> 604e68e2e974 12:50:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:50:02 ---> Running in d4dab4406af1 12:50:02 Removing intermediate container d4dab4406af1 12:50:02 ---> 13d78d0fd8da 12:50:02 Step 12/12 : RUN $MAKE 12:50:02 ---> Running in ab892eed54bd 12:50:02 noop 12:50:02 Removing intermediate container ab892eed54bd 12:50:02 ---> cdefe3a91b45 12:50:02 Successfully built cdefe3a91b45 12:50:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:03 + docker inspect -f . ci-base-image-x86_64 12:50:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:03 prd-ubuntu20.04-docker-8c-8g-8134 does not seem to be running inside a container 12:50:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-602 -v /w/workspace/_app-service-configurable_PR-602:/w/workspace/_app-service-configurable_PR-602:rw,z -v /w/workspace/_app-service-configurable_PR-602@tmp:/w/workspace/_app-service-configurable_PR-602@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:50:03 $ docker top ca2ce37627d111c0ae822e5b9f6be6ae9e2936dd3f73f99b22452f30580a073d -eo pid,comm [Pipeline] { [Pipeline] sh 12:50:04 + go version 12:50:04 go version go1.21.0 linux/amd64 [Pipeline] } 12:50:04 $ docker stop --time=1 ca2ce37627d111c0ae822e5b9f6be6ae9e2936dd3f73f99b22452f30580a073d 12:50:05 $ docker rm -f --volumes ca2ce37627d111c0ae822e5b9f6be6ae9e2936dd3f73f99b22452f30580a073d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:06 + docker inspect -f . ci-base-image-x86_64 12:50:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:06 prd-ubuntu20.04-docker-8c-8g-8134 does not seem to be running inside a container 12:50:06 $ 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-602 -v /w/workspace/_app-service-configurable_PR-602:/w/workspace/_app-service-configurable_PR-602:rw,z -v /w/workspace/_app-service-configurable_PR-602@tmp:/w/workspace/_app-service-configurable_PR-602@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:50:06 $ docker top 31d3c6cd64b4d5796d4e9996037635859c67d19c801e58d738fdd9cc63ff79a0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:50:07 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-602 [Pipeline] fileExists [Pipeline] sh 12:50:07 + make test 12:50:07 go test -race -coverprofile=coverage.out ./... 12:50:25 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:50:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8135 in /w/workspace/_app-service-configurable_PR-602 [Pipeline] { [Pipeline] ws 12:50:43 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:50:43 Selected Git installation does not exist. Using Default 12:50:43 The recommended git tool is: NONE 12:50:43 go vet ./... 12:50:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:50:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:50:44 ./bin/test-attribution-txt.sh [Pipeline] echo 12:50:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:50:45 $ docker stop --time=1 31d3c6cd64b4d5796d4e9996037635859c67d19c801e58d738fdd9cc63ff79a0 12:50:48 using credential edgex-jenkins-ssh 12:50:48 Cloning the remote Git repository 12:50:48 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:50:48 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:50:49 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:50:49 > git --version # timeout=10 12:50:49 > git --version # 'git version 2.25.1' 12:50:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:50:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:50:50 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:50:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:50:51 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:50:51 Merging remotes/origin/main commit 50c5d59d5a420e29fbcf2aa20cf4ed2aae97249d into PR head commit c7237019d7a110dcb14cc525bc8ada4bfaea6e4d 12:50:51 $ docker rm -f --volumes 31d3c6cd64b4d5796d4e9996037635859c67d19c801e58d738fdd9cc63ff79a0 12:50:52 Merge succeeded, producing c7237019d7a110dcb14cc525bc8ada4bfaea6e4d 12:50:52 Checking out Revision c7237019d7a110dcb14cc525bc8ada4bfaea6e4d (PR-602) [Pipeline] // withDockerContainer [Pipeline] sh 12:50:52 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:50:52 > git --version # timeout=10 12:50:52 > git --version # 'git version 2.25.1' 12:50:52 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 12:50:51 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:50:51 using GIT_SSH to set credentials SSH Credentials for GitHub 12:50:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/602/head:refs/remotes/origin/PR-602 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:50:51 > git config core.sparsecheckout # timeout=10 12:50:51 > git checkout -f c7237019d7a110dcb14cc525bc8ada4bfaea6e4d # timeout=10 12:50:51 > git remote # timeout=10 12:50:51 > git config --get remote.origin.url # timeout=10 12:50:51 using GIT_SSH to set credentials SSH Credentials for GitHub 12:50:52 > git merge 50c5d59d5a420e29fbcf2aa20cf4ed2aae97249d # timeout=10 12:50:52 > git rev-parse HEAD^{commit} # timeout=10 12:50:52 > git config core.sparsecheckout # timeout=10 12:50:52 > git checkout -f c7237019d7a110dcb14cc525bc8ada4bfaea6e4d # timeout=10 12:50:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:50:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:50:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:50:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:50:53 % Total % Received % Xferd Average Speed Time Time Time Current 12:50:53 Dload Upload Total Spent Left Speed 12:50:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87937 12:50:53 + ls -al . 12:50:53 total 184 12:50:53 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 12:50 . 12:50:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 12:48 .. 12:50:53 -rw-rw-r-- 1 jenkins jenkins 119 Sep 28 12:48 .dockerignore 12:50:53 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 12:50 .git 12:50:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 12:48 .github 12:50:53 -rw-rw-r-- 1 jenkins jenkins 171 Sep 28 12:48 .gitignore 12:50:53 -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 12:48 .golangci.yml 12:50:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 12:48 .semver 12:50:53 -rw-rw-r-- 1 jenkins jenkins 10394 Sep 28 12:48 Attribution.txt 12:50:53 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 28 12:48 CHANGELOG.md 12:50:53 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 28 12:48 Dockerfile 12:50:53 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 12:48 GOVERNANCE.md 12:50:53 -rw-rw-r-- 1 jenkins jenkins 688 Sep 28 12:48 Jenkinsfile 12:50:53 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 28 12:48 LICENSE 12:50:53 -rw-rw-r-- 1 jenkins jenkins 618 Sep 28 12:48 OWNERS.md 12:50:53 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 28 12:48 README.md 12:50:53 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 12:48 VERSION 12:50:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 12:48 bin 12:50:53 -rw-r--r-- 1 jenkins jenkins 13 Sep 28 12:50 coverage.out 12:50:53 -rw-rw-r-- 1 jenkins jenkins 3730 Sep 28 12:48 go.mod 12:50:53 -rw-rw-r-- 1 jenkins jenkins 35446 Sep 28 12:48 go.sum 12:50:53 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 28 12:48 main.go 12:50:53 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 28 12:48 makefile 12:50:53 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 12:48 res 12:50:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 12:48 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 12:50:54 + 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=c7237019d7a110dcb14cc525bc8ada4bfaea6e4d --label arch=amd64 --label version=0.0.0 . 12:50:54 Sending build context to Docker daemon 3.366MB 12:50:54 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:50:54 Step 2/26 : FROM ${BASE} AS builder 12:50:54 ---> cdefe3a91b45 12:50:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:50:54 ---> Running in 36ae8ce99e35 12:50:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 12:50:54 Removing intermediate container 36ae8ce99e35 12:50:54 ---> 58875fc35148 12:50:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:50:54 ---> Running in 2d505a4b3932 12:50:54 Removing intermediate container 2d505a4b3932 12:50:54 ---> 261fa1682383 12:50:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:50:54 ---> Running in 7877ae124d9c [Pipeline] sh 12:50:54 Removing intermediate container 7877ae124d9c 12:50:54 ---> dc92dd8f54f4 12:50:54 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:50:54 ---> Running in 0c1d9ea94370 12:50:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:50:54 + sudo tee /etc/docker/daemon.new 12:50:54 { 12:50:54 "registry-mirrors": [ 12:50:54 "https://nexus3.edgexfoundry.org:10001" 12:50:54 ], 12:50:54 "bip": "10.250.0.254/24", 12:50:54 "hosts": [ 12:50:54 "tcp://0.0.0.0:5555", 12:50:54 "unix:///var/run/docker.sock" 12:50:54 ], 12:50:54 "mtu": 1458, 12:50:54 "selinux-enabled": true, 12:50:54 "seccomp-profile": "/etc/docker/seccomp.json" 12:50:54 } [Pipeline] sh 12:50:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:50:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:50:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:50:55 OK: 264 MiB in 52 packages 12:50:55 + sudo service docker restart 12:50:55 Removing intermediate container 0c1d9ea94370 12:50:55 ---> 5960918f65f8 12:50:55 Step 7/26 : WORKDIR /app 12:50:55 ---> Running in 476be1bc994d 12:50:55 Removing intermediate container 476be1bc994d 12:50:55 ---> 7e7c7dc4c1b2 12:50:55 Step 8/26 : COPY go.mod vendor* ./ 12:50:55 ---> 0df8d5500420 12:50:55 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:50:56 ---> Running in a9e48577294c 12:50:56 Removing intermediate container a9e48577294c 12:50:56 ---> 85049b81ab2e 12:50:56 Step 10/26 : COPY . . 12:50:56 ---> 0da32c5d6d84 12:50:56 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:50:56 ---> Running in 6e72e2277076 12:50:57 Removing intermediate container 6e72e2277076 12:50:57 ---> 1c96575d9e90 12:50:57 Step 12/26 : RUN $MAKE 12:50:57 ---> Running in 266fcc00032a 12:50:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.36 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:51:13 provisioning config files... 12:51:13 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config609607687361442982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:51:14 ---> docker-login.sh 12:51:14 nexus3.edgexfoundry.org:10001 12:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:14 Configure a credential helper to remove this warning. See 12:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:14 12:51:14 Login Succeeded 12:51:14 nexus3.edgexfoundry.org:10002 12:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:15 Configure a credential helper to remove this warning. See 12:51:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:15 12:51:15 Login Succeeded 12:51:15 nexus3.edgexfoundry.org:10003 12:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:15 Configure a credential helper to remove this warning. See 12:51:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:15 12:51:15 Login Succeeded 12:51:15 nexus3.edgexfoundry.org:10004 12:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:15 Configure a credential helper to remove this warning. See 12:51:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:15 12:51:15 Login Succeeded 12:51:15 docker.io 12:51:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:16 Configure a credential helper to remove this warning. See 12:51:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:16 12:51:16 Login Succeeded 12:51:16 ---> docker-login.sh ends [Pipeline] } 12:51:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:51:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:51:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:51:16 ========================================================= 12:51:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:51:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:51:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:51:17 Sending build context to Docker daemon 181.8kB 12:51:17 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:51:17 Step 2/12 : FROM ${BASE} AS builder 12:51:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:51:17 9fda8d8052c6: Pulling fs layer 12:51:17 5d54e960e981: Pulling fs layer 12:51:17 c4a7e357bf2a: Pulling fs layer 12:51:17 f0e02332f6b5: Pulling fs layer 12:51:17 cefa15bbcfad: Pulling fs layer 12:51:17 17808c966233: Pulling fs layer 12:51:17 f4c1fc716caa: Pulling fs layer 12:51:17 f0e02332f6b5: Waiting 12:51:17 cefa15bbcfad: Waiting 12:51:17 17808c966233: Waiting 12:51:17 f4c1fc716caa: Waiting 12:51:17 5d54e960e981: Verifying Checksum 12:51:17 5d54e960e981: Download complete 12:51:17 f0e02332f6b5: Verifying Checksum 12:51:17 f0e02332f6b5: Download complete 12:51:17 9fda8d8052c6: Download complete 12:51:17 cefa15bbcfad: Verifying Checksum 12:51:17 cefa15bbcfad: Download complete 12:51:18 f4c1fc716caa: Verifying Checksum 12:51:18 f4c1fc716caa: Download complete 12:51:18 9fda8d8052c6: Pull complete 12:51:19 5d54e960e981: Pull complete 12:51:19 Removing intermediate container 266fcc00032a 12:51:19 ---> ae25980de6fa 12:51:19 Step 13/26 : FROM alpine:3.18 12:51:19 3.18: Pulling from library/alpine 12:51:19 7264a8db6415: Already exists 12:51:19 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 12:51:19 Status: Downloaded newer image for alpine:3.18 12:51:19 ---> 7e01a0d0a1dc 12:51:19 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:51:19 ---> Running in d282bc9671ae 12:51:19 Removing intermediate container d282bc9671ae 12:51:19 ---> e17f7bf9a0cd 12:51:19 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:51:19 ---> Running in 717be8a5c2c1 12:51:19 Removing intermediate container 717be8a5c2c1 12:51:19 ---> 85e0ebf3067f 12:51:19 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:51:19 ---> Running in 8c101f5d87d7 12:51:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:51:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:51:19 (1/2) Installing ca-certificates (20230506-r0) 12:51:19 (2/2) Installing dumb-init (1.2.5-r2) 12:51:19 Executing busybox-1.36.1-r2.trigger 12:51:19 Executing ca-certificates-20230506-r0.trigger 12:51:19 OK: 8 MiB in 17 packages 12:51:19 Removing intermediate container 8c101f5d87d7 12:51:19 ---> ecc4caa5ab35 12:51:19 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:51:19 ---> 1ea44c89707c 12:51:19 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:51:19 ---> 36695c04159e 12:51:19 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:51:19 ---> ce825d517e08 12:51:19 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:51:19 ---> 506ad780ce11 12:51:19 Step 21/26 : EXPOSE 48095 12:51:19 ---> Running in c47df62cfbb3 12:51:19 Removing intermediate container c47df62cfbb3 12:51:19 ---> 848e479f9d3b 12:51:19 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:51:19 ---> Running in 62b3da938987 12:51:19 c4a7e357bf2a: Download complete 12:51:19 Removing intermediate container 62b3da938987 12:51:19 ---> bddff730f1de 12:51:19 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:51:19 ---> Running in 68729d39dbf5 12:51:19 Removing intermediate container 68729d39dbf5 12:51:19 ---> 00cf1a6ca937 12:51:19 Step 24/26 : LABEL arch=amd64 12:51:19 ---> Running in 3b66d55bd43d 12:51:19 Removing intermediate container 3b66d55bd43d 12:51:19 ---> 663b918ebf04 12:51:19 Step 25/26 : LABEL git_sha=c7237019d7a110dcb14cc525bc8ada4bfaea6e4d 12:51:19 ---> Running in badf58784afa 12:51:19 Removing intermediate container badf58784afa 12:51:19 ---> 792997807b05 12:51:19 Step 26/26 : LABEL version=0.0.0 12:51:19 ---> Running in 56c1ecbd1ce9 12:51:19 Removing intermediate container 56c1ecbd1ce9 12:51:19 ---> dd5f543a8131 12:51:19 [Warning] One or more build-args [ARCH] were not consumed 12:51:19 Successfully built dd5f543a8131 12:51:19 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 12:51:20 17808c966233: Verifying Checksum 12:51:20 17808c966233: Download complete [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 12:51:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:51:20 12:51:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:51:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:51:21 latest: Pulling from edgex-lftools-log-publisher 12:51:21 5eb5b503b376: Pulling fs layer 12:51:21 5c69ac0246d0: Pulling fs layer 12:51:21 ec43610c2a17: Pulling fs layer 12:51:21 3a2ae6a8a46f: Pulling fs layer 12:51:21 33b1e0a273af: Pulling fs layer 12:51:21 5d3b04190fa2: Pulling fs layer 12:51:21 2f39f015ded8: Pulling fs layer 12:51:21 33b1e0a273af: Waiting 12:51:21 5d3b04190fa2: Waiting 12:51:21 2f39f015ded8: Waiting 12:51:21 3a2ae6a8a46f: Waiting 12:51:21 5c69ac0246d0: Download complete 12:51:21 3a2ae6a8a46f: Download complete 12:51:21 33b1e0a273af: Verifying Checksum 12:51:21 33b1e0a273af: Download complete 12:51:21 ec43610c2a17: Verifying Checksum 12:51:21 ec43610c2a17: Download complete 12:51:21 5d3b04190fa2: Verifying Checksum 12:51:21 5d3b04190fa2: Download complete 12:51:21 5eb5b503b376: Verifying Checksum 12:51:21 5eb5b503b376: Download complete 12:51:22 2f39f015ded8: Verifying Checksum 12:51:22 2f39f015ded8: Download complete 12:51:23 5eb5b503b376: Pull complete 12:51:23 5c69ac0246d0: Pull complete 12:51:24 ec43610c2a17: Pull complete 12:51:24 3a2ae6a8a46f: Pull complete 12:51:24 33b1e0a273af: Pull complete 12:51:25 5d3b04190fa2: Pull complete 12:51:30 2f39f015ded8: Pull complete 12:51:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:51:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:51:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:51:30 prd-ubuntu20.04-docker-8c-8g-8134 does not seem to be running inside a container 12:51:30 c4a7e357bf2a: Pull complete 12:51:30 f0e02332f6b5: Pull complete 12:51:30 cefa15bbcfad: Pull complete 12:51:30 $ 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-602 -v /w/workspace/_app-service-configurable_PR-602:/w/workspace/_app-service-configurable_PR-602:rw,z -v /w/workspace/_app-service-configurable_PR-602@tmp:/w/workspace/_app-service-configurable_PR-602@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:51:37 $ docker top 58a47188dab555c03017e1beb88bec7d657e31ebd02c8fd617c1059742b05914 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:51:37 ---> job-cost.sh 12:51:37 lf-activate-venv: SKIPPING 12:51:37 INFO: No Stack... 12:51:38 INFO: Retrieving Pricing Info for: v3-standard-8 12:51:38 INFO: Archiving Costs [Pipeline] sh 12:51:38 17808c966233: Pull complete 12:51:38 f4c1fc716caa: Pull complete 12:51:38 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 12:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:51:38 ---> ea914061e18c 12:51:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:51:39 + cat /w/workspace/_app-service-configurable_PR-602/archives/cost.csv 12:51:39 + cut -d, -f6 [Pipeline] lock 12:51:39 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-602-1-stack-cost] 12:51:39 Resource [jenkins-edgexfoundry-app-service-configurable-PR-602-1-stack-cost] did not exist. Created. 12:51:39 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-602-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:51:39 + echo total: 0.2199999988079071 [Pipeline] stash 12:51:39 Stashed 1 file(s) [Pipeline] } 12:51:39 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-602-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:51:39 $ docker stop --time=1 58a47188dab555c03017e1beb88bec7d657e31ebd02c8fd617c1059742b05914 12:51:40 ---> Running in cd19bce28aa9 12:51:40 Removing intermediate container cd19bce28aa9 12:51:40 ---> 77644e683a17 12:51:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:51:40 ---> Running in 0c1e52d226fe 12:51:40 $ docker rm -f --volumes 58a47188dab555c03017e1beb88bec7d657e31ebd02c8fd617c1059742b05914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 12:51:41 Removing intermediate container 0c1e52d226fe 12:51:41 ---> f9da3f7d0a0c 12:51:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:51:41 ---> Running in b9eb57aa9c3e [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:51:41 Removing intermediate container b9eb57aa9c3e 12:51:41 ---> afd5577d13fc 12:51:41 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:51:41 ---> Running in 95182d145e3a 12:51:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:51:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:51:43 OK: 266 MiB in 52 packages 12:51:44 Removing intermediate container 95182d145e3a 12:51:44 ---> 1b22645d36fa 12:51:44 Step 7/12 : WORKDIR /app 12:51:44 ---> Running in dfc574f935e6 12:51:45 Removing intermediate container dfc574f935e6 12:51:45 ---> b31c4406002c 12:51:45 Step 8/12 : COPY go.mod vendor* ./ 12:51:45 ---> 5e316602f412 12:51:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:51:45 ---> Running in 7477a86d5bba 12:52:53 Removing intermediate container 7477a86d5bba 12:52:53 ---> 5c4f8597b14f 12:52:53 Step 10/12 : COPY . . 12:52:53 ---> d723713bef6a 12:52:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:52:53 ---> Running in 921e2cd41d6e 12:52:53 Removing intermediate container 921e2cd41d6e 12:52:53 ---> 95e5242b5304 12:52:53 Step 12/12 : RUN $MAKE 12:52:53 ---> Running in 0e7323a2974c 12:52:53 noop 12:52:54 Removing intermediate container 0e7323a2974c 12:52:54 ---> 458d5670f505 12:52:54 Successfully built 458d5670f505 12:52:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:52:54 + docker inspect -f . ci-base-image-arm64 12:52:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:52:55 prd-ubuntu20.04-docker-arm64-4c-16g-8135 does not seem to be running inside a container 12:52:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:52:57 $ docker top aced38f2a5db86ab89e14ce6882a887375b3724943f334626dc7c9e55c98eb8b -eo pid,comm [Pipeline] { [Pipeline] sh 12:52:58 + go version 12:52:58 go version go1.21.0 linux/arm64 [Pipeline] } 12:52:58 $ docker stop --time=1 aced38f2a5db86ab89e14ce6882a887375b3724943f334626dc7c9e55c98eb8b 12:53:00 $ docker rm -f --volumes aced38f2a5db86ab89e14ce6882a887375b3724943f334626dc7c9e55c98eb8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:01 + docker inspect -f . ci-base-image-arm64 12:53:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:01 prd-ubuntu20.04-docker-arm64-4c-16g-8135 does not seem to be running inside a container 12:53: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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:53:02 $ docker top df4091e8f34ebecb0db89fdfaac75cf4209a1330dd2f3e19e818e1d4105d1baa -eo pid,comm [Pipeline] { [Pipeline] sh 12:53:03 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:53:03 + make test 12:53:03 go test -race -coverprofile=coverage.out ./... 12:55:10 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:55:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:55:10 go vet ./... 12:57:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:57:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:57:02 ./bin/test-attribution-txt.sh [Pipeline] echo 12:57:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:57:02 $ docker stop --time=1 df4091e8f34ebecb0db89fdfaac75cf4209a1330dd2f3e19e818e1d4105d1baa 12:57:03 $ docker rm -f --volumes df4091e8f34ebecb0db89fdfaac75cf4209a1330dd2f3e19e818e1d4105d1baa [Pipeline] // withDockerContainer [Pipeline] sh 12:57:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:57:05 Warning: overwriting stash ‘coverage-report’ 12:57:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:57:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:57:06 + ls -al . 12:57:06 total 180 12:57:06 drwxrwxr-x 7 jenkins jenkins 4096 Sep 28 12:53 . 12:57:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 12:50 .. 12:57:06 -rw-rw-r-- 1 jenkins jenkins 119 Sep 28 12:50 .dockerignore 12:57:06 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 12:50 .git 12:57:06 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 12:50 .github 12:57:06 -rw-rw-r-- 1 jenkins jenkins 171 Sep 28 12:50 .gitignore 12:57:06 -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 12:50 .golangci.yml 12:57:06 -rw-rw-r-- 1 jenkins jenkins 10394 Sep 28 12:50 Attribution.txt 12:57:06 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 28 12:50 CHANGELOG.md 12:57:06 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 28 12:50 Dockerfile 12:57:06 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 12:50 GOVERNANCE.md 12:57:06 -rw-rw-r-- 1 jenkins jenkins 688 Sep 28 12:50 Jenkinsfile 12:57:06 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 28 12:50 LICENSE 12:57:06 -rw-rw-r-- 1 jenkins jenkins 618 Sep 28 12:50 OWNERS.md 12:57:06 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 28 12:50 README.md 12:57:06 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 12:48 VERSION 12:57:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 12:50 bin 12:57:06 -rw-r--r-- 1 jenkins jenkins 13 Sep 28 12:53 coverage.out 12:57:06 -rw-rw-r-- 1 jenkins jenkins 3730 Sep 28 12:50 go.mod 12:57:06 -rw-rw-r-- 1 jenkins jenkins 35446 Sep 28 12:50 go.sum 12:57:06 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 28 12:50 main.go 12:57:06 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 28 12:50 makefile 12:57:06 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 12:50 res 12:57:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 12:50 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:07 + 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=c7237019d7a110dcb14cc525bc8ada4bfaea6e4d --label arch=arm64 --label version=0.0.0 . 12:57:07 Sending build context to Docker daemon 182.8kB 12:57:07 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:57:07 Step 2/26 : FROM ${BASE} AS builder 12:57:07 ---> 458d5670f505 12:57:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:57:07 ---> Running in 94af4580daf3 12:57:07 Removing intermediate container 94af4580daf3 12:57:07 ---> eaefc2238c1e 12:57:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:57:07 ---> Running in d23edb5ed7b2 12:57:07 Removing intermediate container d23edb5ed7b2 12:57:07 ---> 6dace82e49cc 12:57:07 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:57:08 ---> Running in 6919f639f70f 12:57:11 Removing intermediate container 6919f639f70f 12:57:11 ---> ebda1aed6dee 12:57:11 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:57:11 ---> Running in 6704cb5fadaf 12:57:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:57:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:57:15 OK: 266 MiB in 52 packages 12:57:16 Removing intermediate container 6704cb5fadaf 12:57:16 ---> 3bf913b99c5b 12:57:16 Step 7/26 : WORKDIR /app 12:57:16 ---> Running in 18198a2fb846 12:57:16 Removing intermediate container 18198a2fb846 12:57:16 ---> 85707c429776 12:57:16 Step 8/26 : COPY go.mod vendor* ./ 12:57:16 ---> f9d4e249e9d6 12:57:16 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:57:16 ---> Running in 803526eb9e65 12:57:19 Removing intermediate container 803526eb9e65 12:57:19 ---> 2a506e764109 12:57:19 Step 10/26 : COPY . . 12:57:19 ---> 4356edcb47b1 12:57:19 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:57:19 ---> Running in 4307367da21e 12:57:20 Removing intermediate container 4307367da21e 12:57:20 ---> e59f6f40ebc7 12:57:20 Step 12/26 : RUN $MAKE 12:57:20 ---> Running in dc6c5e8d3f51 12:57:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.36 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:59:12 Removing intermediate container dc6c5e8d3f51 12:59:12 ---> cf3e2206e3d3 12:59:12 Step 13/26 : FROM alpine:3.18 12:59:12 3.18: Pulling from library/alpine 12:59:12 9fda8d8052c6: Already exists 12:59:12 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 12:59:12 Status: Downloaded newer image for alpine:3.18 12:59:12 ---> f6648c04cd6c 12:59:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:59:12 ---> Running in ba461aa14838 12:59:12 Removing intermediate container ba461aa14838 12:59:12 ---> 6ab276d292dd 12:59:12 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:59:12 ---> Running in 8accab070227 12:59:12 Removing intermediate container 8accab070227 12:59:12 ---> 09a5d1ab6388 12:59:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:59:12 ---> Running in f8ee8d977298 12:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:59:12 (1/2) Installing ca-certificates (20230506-r0) 12:59:12 (2/2) Installing dumb-init (1.2.5-r2) 12:59:12 Executing busybox-1.36.1-r2.trigger 12:59:12 Executing ca-certificates-20230506-r0.trigger 12:59:12 OK: 9 MiB in 17 packages 12:59:12 Removing intermediate container f8ee8d977298 12:59:12 ---> 26e17ddd69be 12:59:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:59:12 ---> 7f6b3d229849 12:59:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:59:12 ---> 95303ebb9f82 12:59:12 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:59:12 ---> b65e7312f794 12:59:12 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:59:12 ---> b8902e7621e1 12:59:12 Step 21/26 : EXPOSE 48095 12:59:12 ---> Running in a3125f17dd6e 12:59:12 Removing intermediate container a3125f17dd6e 12:59:12 ---> e4a9d5169095 12:59:12 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:59:12 ---> Running in 43af9ab0dce9 12:59:12 Removing intermediate container 43af9ab0dce9 12:59:12 ---> b9fd91d74758 12:59:12 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:59:12 ---> Running in 95f6f2c61bbd 12:59:12 Removing intermediate container 95f6f2c61bbd 12:59:12 ---> 69be9d674df9 12:59:12 Step 24/26 : LABEL arch=arm64 12:59:12 ---> Running in bea8638b3869 12:59:12 Removing intermediate container bea8638b3869 12:59:12 ---> f53f50d90997 12:59:12 Step 25/26 : LABEL git_sha=c7237019d7a110dcb14cc525bc8ada4bfaea6e4d 12:59:12 ---> Running in 7ea5474dd3a6 12:59:12 Removing intermediate container 7ea5474dd3a6 12:59:12 ---> 6d994463e8a5 12:59:12 Step 26/26 : LABEL version=0.0.0 12:59:12 ---> Running in 7a049320130d 12:59:12 Removing intermediate container 7a049320130d 12:59:12 ---> c36118e67638 12:59:12 [Warning] One or more build-args [ARCH] were not consumed 12:59:12 Successfully built c36118e67638 12:59:12 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 12:59:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:13 12:59:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:13 arm64: Pulling from edgex-lftools-log-publisher 12:59:13 8998bd30e6a1: Pulling fs layer 12:59:13 04944245beec: Pulling fs layer 12:59:13 699f458cf7ca: Pulling fs layer 12:59:13 765212b225bb: Pulling fs layer 12:59:13 f23df028b6ca: Pulling fs layer 12:59:13 d65c8cfc05b1: Pulling fs layer 12:59:13 2437ff75d9bd: Pulling fs layer 12:59:13 f23df028b6ca: Waiting 12:59:13 765212b225bb: Waiting 12:59:13 2437ff75d9bd: Waiting 12:59:13 d65c8cfc05b1: Waiting 12:59:14 04944245beec: Verifying Checksum 12:59:14 04944245beec: Download complete 12:59:14 765212b225bb: Verifying Checksum 12:59:14 765212b225bb: Download complete 12:59:14 f23df028b6ca: Download complete 12:59:14 d65c8cfc05b1: Download complete 12:59:14 699f458cf7ca: Verifying Checksum 12:59:14 699f458cf7ca: Download complete 12:59:14 8998bd30e6a1: Download complete 12:59:16 2437ff75d9bd: Verifying Checksum 12:59:16 2437ff75d9bd: Download complete 12:59:18 8998bd30e6a1: Pull complete 12:59:18 04944245beec: Pull complete 12:59:20 699f458cf7ca: Pull complete 12:59:20 765212b225bb: Pull complete 12:59:21 f23df028b6ca: Pull complete 12:59:21 d65c8cfc05b1: Pull complete 12:59:35 2437ff75d9bd: Pull complete 12:59:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:35 prd-ubuntu20.04-docker-arm64-4c-16g-8135 does not seem to be running inside a container 12:59:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:59:38 $ docker top 18bf9c1eba9d19459c7a5350213346c3eedf1755e03c05200c59bda27f38043e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:38 ---> job-cost.sh 12:59:38 lf-activate-venv: SKIPPING 12:59:38 INFO: No Stack... 12:59:39 INFO: Retrieving Pricing Info for: v3-standard-4 12:59:40 INFO: Archiving Costs [Pipeline] sh 12:59:40 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:59:40 + cut -d, -f6 [Pipeline] lock 12:59:40 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-602-1-stack-cost] 12:59:40 Resource [jenkins-edgexfoundry-app-service-configurable-PR-602-1-stack-cost] did not exist. Created. 12:59:40 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-602-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:59:41 /w/workspace/app-service-configurable/1@tmp/durable-ef59f255/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:59:41 + echo total: 0.10999999940395355 [Pipeline] stash 12:59:41 Warning: overwriting stash ‘stack-cost’ 12:59:41 Stashed 1 file(s) [Pipeline] } 12:59:41 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-602-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:59:41 $ docker stop --time=1 18bf9c1eba9d19459c7a5350213346c3eedf1755e03c05200c59bda27f38043e 12:59:43 $ docker rm -f --volumes 18bf9c1eba9d19459c7a5350213346c3eedf1755e03c05200c59bda27f38043e [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 12:59:44 provisioning config files... 12:59:44 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-602@tmp/config9923188647912235390tmp [Pipeline] { [Pipeline] sh 12:59:44 + set +x 12:59:44 + curl -s https://codecov.io/bash 12:59:44 + bash -s -- 12:59:44 12:59:44 _____ _ 12:59:44 / ____| | | 12:59:44 | | ___ __| | ___ ___ _____ __ 12:59:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:59:44 | |___| (_) | (_| | __/ (_| (_) \ V / 12:59:44 \_____\___/ \__,_|\___|\___\___/ \_/ 12:59:44 Bash-1.0.6 12:59:44 12:59:44 12:59:44 ==> git version 2.25.1 found 12:59:44 ==> 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 12:59:44 Release-Date: 2020-01-08 12:59:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:59:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:59:44 ==> Jenkins CI detected. 12:59:44 current dir:  /w/workspace/_app-service-configurable_PR-602 12:59:44 project root: . 12:59:44 --> token set from env 12:59:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:59:44 ==> Running gcov in . (disable via -X gcov) 12:59:44 ==> Python coveragepy not found 12:59:44 ==> Searching for coverage reports in: 12:59:44 + . 12:59:44 -> Found 1 reports 12:59:44 ==> Detecting git/mercurial file structure 12:59:44 ==> Reading reports 12:59:44 + ./coverage.out bytes=13 12:59:44 ==> Appending adjustments 12:59:44 https://docs.codecov.io/docs/fixing-reports 12:59:44 + Found adjustments 12:59:44 ==> Gzipping contents 12:59:44 4.0K /tmp/codecov.GasSw2.gz 12:59:44 ==> Uploading reports 12:59:44 url: https://codecov.io 12:59:44 query: branch=PR-602&commit=c7237019d7a110dcb14cc525bc8ada4bfaea6e4d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-602%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=602&job=&cmd_args= 12:59:44 -> Pinging Codecov 12:59:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-602&commit=c7237019d7a110dcb14cc525bc8ada4bfaea6e4d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-602%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=602&job=&cmd_args= 12:59:45 -> Uploading to 12:59:45 https://storage.googleapis.com/codecov/v4/raw/2023-09-28/A97CA9966030D2A3747ED39772930CCE/c7237019d7a110dcb14cc525bc8ada4bfaea6e4d/c3e3a3c8-332f-4ebb-b207-82da22a30941.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230928T125945Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7c682bf4a79efa316b84483bfa19e8451e1b86555dd20ce01c2b0ab0c97b022 12:59:45 % Total % Received % Xferd Average Speed Time Time Time Current 12:59:45 Dload Upload Total Spent Left Speed 12:59:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1439 --:--:-- --:--:-- --:--:-- 1439 12:59:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/c7237019d7a110dcb14cc525bc8ada4bfaea6e4d [Pipeline] } 12:59:45 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 12:59:47 + [ -d /w/workspace/_app-service-configurable_PR-602/archives ] 12:59:47 + ls -al /w/workspace/_app-service-configurable_PR-602/archives 12:59:47 total 16 12:59:47 drwxr-xr-x 3 root root 4096 Sep 28 12:51 . 12:59:47 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 12:51 .. 12:59:47 drwxr-xr-x 2 root root 4096 Sep 28 12:51 cost 12:59:47 -rw-r--r-- 1 root root 96 Sep 28 12:51 cost.csv 12:59:47 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-602/archives 12:59:47 + ls -al /w/workspace/_app-service-configurable_PR-602/archives 12:59:47 total 16 12:59:47 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 12:51 . 12:59:47 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 12:51 .. 12:59:47 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 12:51 cost 12:59:47 -rw-r--r-- 1 jenkins jenkins 96 Sep 28 12:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:59:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:59:48 ---> package-listing.sh 12:59:48 ++ facter osfamily 12:59:48 ++ tr '[:upper:]' '[:lower:]' 12:59:48 + OS_FAMILY=debian 12:59:48 + workspace=/w/workspace/_app-service-configurable_PR-602 12:59:48 + START_PACKAGES=/tmp/packages_start.txt 12:59:48 + END_PACKAGES=/tmp/packages_end.txt 12:59:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:59:48 + PACKAGES=/tmp/packages_start.txt 12:59:48 + '[' /w/workspace/_app-service-configurable_PR-602 ']' 12:59:48 + PACKAGES=/tmp/packages_end.txt 12:59:48 + case "${OS_FAMILY}" in 12:59:48 + dpkg -l 12:59:48 + grep '^ii' 12:59:48 + '[' -f /tmp/packages_start.txt ']' 12:59:48 + '[' -f /tmp/packages_end.txt ']' 12:59:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:59:48 + '[' /w/workspace/_app-service-configurable_PR-602 ']' 12:59:48 + mkdir -p /w/workspace/_app-service-configurable_PR-602/archives/ 12:59:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-602/archives/ [Pipeline] echo 12:59:48 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-602/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:59:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:49 prd-ubuntu20.04-docker-8c-8g-8134 does not seem to be running inside a container 12:59:49 $ 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-602/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-602 -v /w/workspace/_app-service-configurable_PR-602:/w/workspace/_app-service-configurable_PR-602:rw,z -v /w/workspace/_app-service-configurable_PR-602@tmp:/w/workspace/_app-service-configurable_PR-602@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:59:50 $ docker top cd8bc77ab80ade699a3a9647d690455a00ee49bb9041adb4dfa4eefd22757188 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:50 + touch /tmp/pre-build-complete [Pipeline] sh 12:59:50 + mkdir -p /var/log/sysstat [Pipeline] sh 12:59:51 + ls /var/log/sa-host 12:59:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:59:51 provisioning config files... 12:59:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-602@tmp/config13487662261542420998tmp [Pipeline] { [Pipeline] echo 12:59:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:59:51 ---> create-netrc.sh [Pipeline] } 12:59:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:59:52 ---> python-tools-install.sh [Pipeline] echo 12:59:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:59:52 ---> sudo-logs.sh 12:59:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:59:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:59:52 ---> job-cost.sh 12:59:52 lf-activate-venv: SKIPPING 12:59:52 DEBUG: total: 0.2199999988079071 12:59:52 INFO: Retrieving Stack Cost... 12:59:53 INFO: Retrieving Pricing Info for: v3-standard-8 12:59:53 INFO: Archiving Costs [Pipeline] echo 12:59:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:59:54 ---> logs-deploy.sh 12:59:54 lf-activate-venv: SKIPPING 12:59:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-602/1 12:59:54 INFO: archiving workspace using pattern(s): 12:59:55 Archives upload complete. 12:59:55 INFO: archiving logs to Nexus