Pull request #561 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 1e1c9e211e128955c5a9c565b4aed3b166a58d12+3b18383343c5b08d1506b4a29e5952649ea8a302 (1d92a5fe47ec902675e4b66ff2985ced0c686d81) 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-ssh11511204202379115838.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh4613915847762619458.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-561/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-561/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18322685127477397798.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-561/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6643906252977530799.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh12324305176067052035.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-561/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-561/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13920327142985191487.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14931 in /w/workspace/_app-service-configurable_PR-561 [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-561 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3b18383343c5b08d1506b4a29e5952649ea8a302 into PR head commit 1e1c9e211e128955c5a9c565b4aed3b166a58d12 > 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/561/head:refs/remotes/origin/PR-561 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 1e1c9e211e128955c5a9c565b4aed3b166a58d12 Checking out Revision 1e1c9e211e128955c5a9c565b4aed3b166a58d12 (PR-561) > git checkout -f 1e1c9e211e128955c5a9c565b4aed3b166a58d12 # 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 3b18383343c5b08d1506b4a29e5952649ea8a302 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e1c9e211e128955c5a9c565b4aed3b166a58d12 # timeout=10 Commit message: "docs: Add main branch Warning" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:35:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:35:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:35:45 ========================================================= 18:35:45 EdgeX Global Pipelines Version Info 18:35:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:35:46 ------------------- 18:35:46 stable info: 18:35:46 ------------------- 18:35:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:35:46 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:35:46 Message: update stable to v1.0.249 18:35:46 ------------------- 18:35:46 experimental info: 18:35:46 ------------------- 18:35:46 Commited By: **** collab-it+edgex@linuxfoundation.org 18:35:46 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:35:46 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:35:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:35:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:35:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:35:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:35:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-561 [Pipeline] echo 18:35:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-561 [Pipeline] echo 18:35:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-561 [Pipeline] echo 18:35:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e1c9e211e128955c5a9c565b4aed3b166a58d12 [Pipeline] echo 18:35:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e1c9e2 [Pipeline] echo 18:35:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:48 provisioning config files... 18:35:48 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-561@tmp/config15170768386863523968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:48 ---> docker-login.sh 18:35:48 nexus3.edgexfoundry.org:10001 18:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:49 Configure a credential helper to remove this warning. See 18:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:49 18:35:49 Login Succeeded 18:35:49 nexus3.edgexfoundry.org:10002 18:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:49 Configure a credential helper to remove this warning. See 18:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:49 18:35:49 Login Succeeded 18:35:49 nexus3.edgexfoundry.org:10003 18:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:49 Configure a credential helper to remove this warning. See 18:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:49 18:35:49 Login Succeeded 18:35:49 nexus3.edgexfoundry.org:10004 18:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:49 Configure a credential helper to remove this warning. See 18:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:49 18:35:49 Login Succeeded 18:35:49 docker.io 18:35:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:49 Configure a credential helper to remove this warning. See 18:35:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:49 18:35:49 Login Succeeded 18:35:49 ---> docker-login.sh ends [Pipeline] } 18:35:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:35:50 + git rev-list -1 --merges 1e1c9e211e128955c5a9c565b4aed3b166a58d12~1..1e1c9e211e128955c5a9c565b4aed3b166a58d12 [Pipeline] echo 18:35:50 -----------> git rev-list -1 --merges 1e1c9e211e128955c5a9c565b4aed3b166a58d12~1..1e1c9e211e128955c5a9c565b4aed3b166a58d12 1e1c9e211e128955c5a9c565b4aed3b166a58d12 [false] [Pipeline] sh 18:35:51 + git log --format=format:%s -1 1e1c9e211e128955c5a9c565b4aed3b166a58d12 [Pipeline] echo 18:35:51 ========================================================= 18:35:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:35:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:35:51 + git log --format=format:%s -1 1e1c9e211e128955c5a9c565b4aed3b166a58d12 [Pipeline] echo 18:35:51 [semverPrep] GIT_COMMIT: 1e1c9e211e128955c5a9c565b4aed3b166a58d12, Commit Message: docs: Add main branch Warning [Pipeline] echo 18:35:51 [semverPrep] This is not a build commit. [Pipeline] sh 18:35:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:35:51 + grep -v github /etc/ssh/ssh_known_hosts 18:35:51 + [ -e /tmp/ssh_known_hosts ] 18:35:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:35:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:35:51 + sudo tee -a /etc/ssh/ssh_known_hosts 18:35:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:35:52 18:35:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:35:52 0.1.4: Pulling from edgex-devops/py-git-semver 18:35:52 b85a868b505f: Pulling fs layer 18:35:52 e2be974225ed: Pulling fs layer 18:35:52 339a4e72a1f5: Pulling fs layer 18:35:52 988bab9f4d93: Pulling fs layer 18:35:52 1469e6f7b9e6: Pulling fs layer 18:35:52 eaf3925da568: Pulling fs layer 18:35:52 bab4dde63d76: Pulling fs layer 18:35:52 bde34c3a00c8: Pulling fs layer 18:35:52 b352a97aabf1: Pulling fs layer 18:35:52 4872d77fe225: Pulling fs layer 18:35:52 5851b861e8e6: Pulling fs layer 18:35:52 1469e6f7b9e6: Waiting 18:35:52 eaf3925da568: Waiting 18:35:52 bab4dde63d76: Waiting 18:35:52 bde34c3a00c8: Waiting 18:35:52 b352a97aabf1: Waiting 18:35:52 4872d77fe225: Waiting 18:35:52 5851b861e8e6: Waiting 18:35:52 988bab9f4d93: Waiting 18:35:52 e2be974225ed: Download complete 18:35:52 988bab9f4d93: Verifying Checksum 18:35:52 988bab9f4d93: Download complete 18:35:52 1469e6f7b9e6: Verifying Checksum 18:35:52 1469e6f7b9e6: Download complete 18:35:53 eaf3925da568: Verifying Checksum 18:35:53 eaf3925da568: Download complete 18:35:53 339a4e72a1f5: Verifying Checksum 18:35:53 339a4e72a1f5: Download complete 18:35:53 bde34c3a00c8: Download complete 18:35:53 b352a97aabf1: Verifying Checksum 18:35:53 4872d77fe225: Verifying Checksum 18:35:53 4872d77fe225: Download complete 18:35:53 5851b861e8e6: Verifying Checksum 18:35:53 5851b861e8e6: Download complete 18:35:53 b85a868b505f: Verifying Checksum 18:35:53 b85a868b505f: Download complete 18:35:53 bab4dde63d76: Verifying Checksum 18:35:53 bab4dde63d76: Download complete 18:35:54 b85a868b505f: Pull complete 18:35:54 e2be974225ed: Pull complete 18:35:55 339a4e72a1f5: Pull complete 18:35:55 988bab9f4d93: Pull complete 18:35:55 1469e6f7b9e6: Pull complete 18:35:55 eaf3925da568: Pull complete 18:35:57 bab4dde63d76: Pull complete 18:35:57 bde34c3a00c8: Pull complete 18:35:57 b352a97aabf1: Pull complete 18:35:57 4872d77fe225: Pull complete 18:35:57 5851b861e8e6: Pull complete 18:35:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:35:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:35:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:57 prd-ubuntu20.04-docker-8c-8g-14931 does not seem to be running inside a container 18:35:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-561 -v /w/workspace/_app-service-configurable_PR-561:/w/workspace/_app-service-configurable_PR-561:rw,z -v /w/workspace/_app-service-configurable_PR-561@tmp:/w/workspace/_app-service-configurable_PR-561@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-devops/py-git-semver:0.1.4 cat 18:35:58 $ docker top 854039a98a741c1170987b14f36ee36d45d0db35130a78470bd400dc0024f9be -eo pid,comm 18:35:58 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). 18:35:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:35:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:35:59 [ssh-agent] Looking for ssh-agent implementation... 18:35:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:35:59 $ docker exec 854039a98a741c1170987b14f36ee36d45d0db35130a78470bd400dc0024f9be ssh-agent 18:35:59 SSH_AUTH_SOCK=/tmp/ssh-kAd61y6c29WC/agent.33 18:35:59 SSH_AGENT_PID=39 18:35:59 Running ssh-add (command line suppressed) 18:35:59 Identity added: /w/workspace/_app-service-configurable_PR-561@tmp/private_key_8612954235020071164.key (/w/workspace/_app-service-configurable_PR-561@tmp/private_key_8612954235020071164.key) 18:35:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:35:59 + git tag --points-at HEAD [Pipeline] } 18:35:59 $ docker exec --env ******** --env ******** 854039a98a741c1170987b14f36ee36d45d0db35130a78470bd400dc0024f9be ssh-agent -k 18:35:59 unset SSH_AUTH_SOCK; 18:35:59 unset SSH_AGENT_PID; 18:35:59 echo Agent pid 39 killed; 18:35:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:36:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:36:00 [ssh-agent] Looking for ssh-agent implementation... 18:36:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:36:00 $ docker exec 854039a98a741c1170987b14f36ee36d45d0db35130a78470bd400dc0024f9be ssh-agent 18:36:00 SSH_AUTH_SOCK=/tmp/ssh-TzIgm3n4cECV/agent.71 18:36:00 SSH_AGENT_PID=77 18:36:00 Running ssh-add (command line suppressed) 18:36:00 Identity added: /w/workspace/_app-service-configurable_PR-561@tmp/private_key_10999542963633039116.key (/w/workspace/_app-service-configurable_PR-561@tmp/private_key_10999542963633039116.key) 18:36:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:36:00 + git semver init 18:36:01 2023-05-10 18:36:00,980 [run_init] DEBUG init version:0.0.0 force:False 18:36:01 2023-05-10 18:36:00,980 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-561/.semver 18:36:01 2023-05-10 18:36:00,981 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-561/.semver 18:36:01 2023-05-10 18:36:00,981 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-561/.semver'], cwd=/w/workspace/_app-service-configurable_PR-561, universal_newlines=False, shell=None, istream=None) 18:36:01 2023-05-10 18:36:01,726 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-561/.git/info/exclude 18:36:01 2023-05-10 18:36:01,726 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-561/.semver/PR-561 with force:False 18:36:01 2023-05-10 18:36:01,726 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-561/.semver/PR-561 18:36:01 2023-05-10 18:36:01,731 [execute] INFO git cat-file --batch-check 18:36:01 2023-05-10 18:36:01,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-561/.semver, universal_newlines=False, shell=None, istream=) 18:36:01 2023-05-10 18:36:01,738 [execute] INFO git cat-file --batch 18:36:01 2023-05-10 18:36:01,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-561/.semver, universal_newlines=False, shell=None, istream=) 18:36:01 2023-05-10 18:36:01,745 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-561/.semver/PR-561 18:36:01 0.0.0 [Pipeline] } 18:36:01 $ docker exec --env ******** --env ******** 854039a98a741c1170987b14f36ee36d45d0db35130a78470bd400dc0024f9be ssh-agent -k 18:36:02 unset SSH_AUTH_SOCK; 18:36:02 unset SSH_AGENT_PID; 18:36:02 echo Agent pid 77 killed; 18:36:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:36:02 + git semver [Pipeline] } 18:36:02 $ docker stop --time=1 854039a98a741c1170987b14f36ee36d45d0db35130a78470bd400dc0024f9be 18:36:04 $ docker rm -f --volumes 854039a98a741c1170987b14f36ee36d45d0db35130a78470bd400dc0024f9be [Pipeline] // withDockerContainer [Pipeline] sh 18:36:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:36:04 Stashed 1 file(s) [Pipeline] echo 18:36:04 [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 18:36:05 provisioning config files... 18:36:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-561@tmp/config2479343655283695632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:36:05 ---> docker-login.sh 18:36:05 nexus3.edgexfoundry.org:10001 18:36:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:05 Configure a credential helper to remove this warning. See 18:36:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:05 18:36:05 Login Succeeded 18:36:05 nexus3.edgexfoundry.org:10002 18:36:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:05 Configure a credential helper to remove this warning. See 18:36:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:05 18:36:05 Login Succeeded 18:36:05 nexus3.edgexfoundry.org:10003 18:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:06 Configure a credential helper to remove this warning. See 18:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:06 18:36:06 Login Succeeded 18:36:06 nexus3.edgexfoundry.org:10004 18:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:06 Configure a credential helper to remove this warning. See 18:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:06 18:36:06 Login Succeeded 18:36:06 docker.io 18:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:06 Configure a credential helper to remove this warning. See 18:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:06 18:36:06 Login Succeeded 18:36:06 ---> docker-login.sh ends [Pipeline] } 18:36:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:36:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:36:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:36:06 ========================================================= 18:36:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:36:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:36:07 Sending build context to Docker daemon 3.336MB 18:36:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:36:07 Step 2/12 : FROM ${BASE} AS builder 18:36:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:36:07 f56be85fc22e: Pulling fs layer 18:36:07 85791d961cd3: Pulling fs layer 18:36:07 d694b5ae8c79: Pulling fs layer 18:36:07 9f32a84ed3da: Pulling fs layer 18:36:07 4d19c01a9841: Pulling fs layer 18:36:07 9325e15d5711: Pulling fs layer 18:36:07 556b6ee489ea: Pulling fs layer 18:36:07 c5a4b2cf53e6: Pulling fs layer 18:36:07 9f32a84ed3da: Waiting 18:36:07 9325e15d5711: Waiting 18:36:07 4d19c01a9841: Waiting 18:36:07 556b6ee489ea: Waiting 18:36:07 c5a4b2cf53e6: Waiting 18:36:07 85791d961cd3: Download complete 18:36:07 9f32a84ed3da: Verifying Checksum 18:36:07 9f32a84ed3da: Download complete 18:36:07 4d19c01a9841: Verifying Checksum 18:36:07 4d19c01a9841: Download complete 18:36:07 f56be85fc22e: Verifying Checksum 18:36:07 f56be85fc22e: Download complete 18:36:07 9325e15d5711: Verifying Checksum 18:36:07 9325e15d5711: Download complete 18:36:07 f56be85fc22e: Pull complete 18:36:07 85791d961cd3: Pull complete 18:36:07 d694b5ae8c79: Verifying Checksum 18:36:07 d694b5ae8c79: Download complete 18:36:08 c5a4b2cf53e6: Verifying Checksum 18:36:08 c5a4b2cf53e6: Download complete 18:36:08 556b6ee489ea: Verifying Checksum 18:36:08 556b6ee489ea: Download complete 18:36:11 d694b5ae8c79: Pull complete 18:36:11 9f32a84ed3da: Pull complete 18:36:11 4d19c01a9841: Pull complete 18:36:11 9325e15d5711: Pull complete 18:36:14 556b6ee489ea: Pull complete 18:36:15 c5a4b2cf53e6: Pull complete 18:36:15 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:36:15 ---> c4be618373d6 18:36:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:36:17 ---> Running in 74166de401cb 18:36:17 Removing intermediate container 74166de401cb 18:36:17 ---> e68886f348a1 18:36:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:36:17 ---> Running in 7bef55376b5a 18:36:17 Removing intermediate container 7bef55376b5a 18:36:17 ---> 8070e50e7fe2 18:36:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:36:17 ---> Running in 58c7cd44ce6e 18:36:17 Removing intermediate container 58c7cd44ce6e 18:36:17 ---> 0538eeb4594b 18:36:17 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:36:17 ---> Running in 7dde8a8d44c3 18:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:36:17 OK: 265 MiB in 53 packages 18:36:18 Removing intermediate container 7dde8a8d44c3 18:36:18 ---> 28462dec52fb 18:36:18 Step 7/12 : WORKDIR /app 18:36:18 ---> Running in 685b9438aa77 18:36:18 Removing intermediate container 685b9438aa77 18:36:18 ---> 1fbff0f9465f 18:36:18 Step 8/12 : COPY go.mod vendor* ./ 18:36:18 ---> 9ad1807760a4 18:36:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:36:18 ---> Running in 659c6f20580f 18:36:20 Still waiting to schedule task 18:36:20 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:36:40 Removing intermediate container 659c6f20580f 18:36:40 ---> 3c0b5f582fbd 18:36:40 Step 10/12 : COPY . . 18:36:40 ---> acada52c1f17 18:36:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:36:40 ---> Running in cddec7115115 18:36:40 Removing intermediate container cddec7115115 18:36:40 ---> 9d5b4272840d 18:36:40 Step 12/12 : RUN $MAKE 18:36:40 ---> Running in f8547729f7e8 18:36:40 noop 18:36:40 Removing intermediate container f8547729f7e8 18:36:40 ---> af4c0c9c5bc2 18:36:40 Successfully built af4c0c9c5bc2 18:36:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:40 + docker inspect -f . ci-base-image-x86_64 18:36:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:41 prd-ubuntu20.04-docker-8c-8g-14931 does not seem to be running inside a container 18:36:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-561 -v /w/workspace/_app-service-configurable_PR-561:/w/workspace/_app-service-configurable_PR-561:rw,z -v /w/workspace/_app-service-configurable_PR-561@tmp:/w/workspace/_app-service-configurable_PR-561@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:36:41 $ docker top af46ed4c85e985891a9e6036d656df606eb603a7bfae2bcf86d71c99c206c8ac -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:41 + go version 18:36:41 go version go1.20.2 linux/amd64 [Pipeline] } 18:36:41 $ docker stop --time=1 af46ed4c85e985891a9e6036d656df606eb603a7bfae2bcf86d71c99c206c8ac 18:36:43 $ docker rm -f --volumes af46ed4c85e985891a9e6036d656df606eb603a7bfae2bcf86d71c99c206c8ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:43 + docker inspect -f . ci-base-image-x86_64 18:36:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:43 prd-ubuntu20.04-docker-8c-8g-14931 does not seem to be running inside a container 18:36:43 $ 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-561 -v /w/workspace/_app-service-configurable_PR-561:/w/workspace/_app-service-configurable_PR-561:rw,z -v /w/workspace/_app-service-configurable_PR-561@tmp:/w/workspace/_app-service-configurable_PR-561@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:36:44 $ docker top 0086d0f63de1bfb4d08404ff5b0a294322b651164e94c06209b78110bf0ce77f -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:44 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-561 [Pipeline] fileExists [Pipeline] sh 18:36:45 + make test 18:36:45 go test -race -coverprofile=coverage.out ./... 18:37:06 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:37:21 go vet ./... 18:37:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:37:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:37:25 ./bin/test-attribution-txt.sh 18:37:25 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 18:37:25 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 18:37:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:37:25 $ docker stop --time=1 0086d0f63de1bfb4d08404ff5b0a294322b651164e94c06209b78110bf0ce77f 18:37:27 $ docker rm -f --volumes 0086d0f63de1bfb4d08404ff5b0a294322b651164e94c06209b78110bf0ce77f [Pipeline] // withDockerContainer [Pipeline] sh 18:37:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:37:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:37:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:37:29 + ls -al . 18:37:29 total 176 18:37:29 drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:36 . 18:37:29 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:35 .. 18:37:29 -rw-rw-r-- 1 jenkins jenkins 119 May 10 18:35 .dockerignore 18:37:29 drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:36 .git 18:37:29 drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:35 .github 18:37:29 -rw-rw-r-- 1 jenkins jenkins 171 May 10 18:35 .gitignore 18:37:29 -rw-rw-r-- 1 jenkins jenkins 41 May 10 18:35 .golangci.yml 18:37:29 drwxr-xr-x 3 jenkins jenkins 4096 May 10 18:36 .semver 18:37:29 -rw-rw-r-- 1 jenkins jenkins 9088 May 10 18:35 Attribution.txt 18:37:29 -rw-rw-r-- 1 jenkins jenkins 29118 May 10 18:35 CHANGELOG.md 18:37:29 -rw-rw-r-- 1 jenkins jenkins 1898 May 10 18:35 Dockerfile 18:37:29 -rw-rw-r-- 1 jenkins jenkins 677 May 10 18:35 GOVERNANCE.md 18:37:29 -rw-rw-r-- 1 jenkins jenkins 688 May 10 18:35 Jenkinsfile 18:37:29 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 18:35 LICENSE 18:37:29 -rw-rw-r-- 1 jenkins jenkins 618 May 10 18:35 OWNERS.md 18:37:29 -rw-rw-r-- 1 jenkins jenkins 4885 May 10 18:35 README.md 18:37:29 -rw-rw-r-- 1 jenkins jenkins 5 May 10 18:36 VERSION 18:37:29 drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:35 bin 18:37:29 -rw-r--r-- 1 jenkins jenkins 13 May 10 18:36 coverage.out 18:37:29 -rw-rw-r-- 1 jenkins jenkins 3302 May 10 18:35 go.mod 18:37:29 -rw-rw-r-- 1 jenkins jenkins 31421 May 10 18:35 go.sum 18:37:29 -rw-rw-r-- 1 jenkins jenkins 1937 May 10 18:35 main.go 18:37:29 -rw-rw-r-- 1 jenkins jenkins 2569 May 10 18:35 makefile 18:37:29 drwxrwxr-x 9 jenkins jenkins 4096 May 10 18:35 res 18:37:29 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:35 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:29 + 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=1e1c9e211e128955c5a9c565b4aed3b166a58d12 --label arch=amd64 --label version=0.0.0 . 18:37:29 Sending build context to Docker daemon 3.337MB 18:37:29 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:37:29 Step 2/26 : FROM ${BASE} AS builder 18:37:29 ---> af4c0c9c5bc2 18:37:29 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:37:29 ---> Running in 53f0ad26f42d 18:37:29 Removing intermediate container 53f0ad26f42d 18:37:29 ---> c73c7a02ae90 18:37:29 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:37:29 ---> Running in 082d6fcb5f62 18:37:29 Removing intermediate container 082d6fcb5f62 18:37:29 ---> 251ffcb73aa5 18:37:29 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:37:29 ---> Running in 6985c6fc3fa7 18:37:29 Removing intermediate container 6985c6fc3fa7 18:37:29 ---> f4906335a023 18:37:29 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:37:29 ---> Running in ea058df8034c 18:37:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:37:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:37:30 OK: 265 MiB in 53 packages 18:37:30 Removing intermediate container ea058df8034c 18:37:30 ---> ba638d4a7cfa 18:37:30 Step 7/26 : WORKDIR /app 18:37:30 ---> Running in 5c93fe5aeadc 18:37:30 Removing intermediate container 5c93fe5aeadc 18:37:30 ---> 56ba495f00fe 18:37:30 Step 8/26 : COPY go.mod vendor* ./ 18:37:30 ---> 9bcfde7af657 18:37:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:37:30 ---> Running in 6e31a0f0b08d 18:37:31 Removing intermediate container 6e31a0f0b08d 18:37:31 ---> ce78c1e03593 18:37:31 Step 10/26 : COPY . . 18:37:31 ---> ecd4fb93f210 18:37:31 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:37:31 ---> Running in 1c16d81d6577 18:37:32 Removing intermediate container 1c16d81d6577 18:37:32 ---> 3156326f3629 18:37:32 Step 12/26 : RUN $MAKE 18:37:32 ---> Running in 1d7a26e7db23 18:37:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.62 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:37:50 Removing intermediate container 1d7a26e7db23 18:37:50 ---> 695610926a57 18:37:50 Step 13/26 : FROM alpine:3.17 18:37:50 3.17: Pulling from library/alpine 18:37:50 f56be85fc22e: Already exists 18:37:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:37:50 Status: Downloaded newer image for alpine:3.17 18:37:50 ---> 9ed4aefc74f6 18:37:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:37:50 ---> Running in df3787a1c25b 18:37:50 Removing intermediate container df3787a1c25b 18:37:50 ---> 8445aaa663ab 18:37:50 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:37:50 ---> Running in 347a687a26c1 18:37:50 Removing intermediate container 347a687a26c1 18:37:50 ---> 5a80d836e0ca 18:37:50 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:37:50 ---> Running in 8492f337086e 18:37:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:37:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:37:50 (1/2) Installing ca-certificates (20230506-r0) 18:37:50 (2/2) Installing dumb-init (1.2.5-r2) 18:37:50 Executing busybox-1.35.0-r29.trigger 18:37:50 Executing ca-certificates-20230506-r0.trigger 18:37:50 OK: 8 MiB in 17 packages 18:37:50 Removing intermediate container 8492f337086e 18:37:50 ---> 725e6197cf59 18:37:50 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:37:50 ---> 9a9cc41b960d 18:37:50 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:37:50 ---> 12298d1872d2 18:37:50 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:37:50 ---> 64c4f6087d26 18:37:50 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:37:51 ---> ac8ddfa8d8b8 18:37:51 Step 21/26 : EXPOSE 48095 18:37:51 ---> Running in 3ae4565dbeee 18:37:51 Removing intermediate container 3ae4565dbeee 18:37:51 ---> fe62752844c2 18:37:51 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:37:51 ---> Running in 0a2a5c096204 18:37:51 Removing intermediate container 0a2a5c096204 18:37:51 ---> 6d61e9f6095d 18:37:51 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:37:51 ---> Running in 7e13f941630b 18:37:51 Removing intermediate container 7e13f941630b 18:37:51 ---> de76add60ef3 18:37:51 Step 24/26 : LABEL arch=amd64 18:37:51 ---> Running in a88788000b67 18:37:51 Removing intermediate container a88788000b67 18:37:51 ---> 45c5b195aabd 18:37:51 Step 25/26 : LABEL git_sha=1e1c9e211e128955c5a9c565b4aed3b166a58d12 18:37:51 ---> Running in 3b812932b67a 18:37:51 Removing intermediate container 3b812932b67a 18:37:51 ---> eca475afaca2 18:37:51 Step 26/26 : LABEL version=0.0.0 18:37:51 ---> Running in c7275f577283 18:37:51 Removing intermediate container c7275f577283 18:37:51 ---> ffaf238af906 18:37:51 [Warning] One or more build-args [ARCH] were not consumed 18:37:51 Successfully built ffaf238af906 18:37:51 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:52 18:37:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:52 latest: Pulling from edgex-lftools-log-publisher 18:37:52 5eb5b503b376: Pulling fs layer 18:37:52 5c69ac0246d0: Pulling fs layer 18:37:52 ec43610c2a17: Pulling fs layer 18:37:52 3a2ae6a8a46f: Pulling fs layer 18:37:52 33b1e0a273af: Pulling fs layer 18:37:52 5d3b04190fa2: Pulling fs layer 18:37:52 2f39f015ded8: Pulling fs layer 18:37:52 3a2ae6a8a46f: Waiting 18:37:52 33b1e0a273af: Waiting 18:37:52 5d3b04190fa2: Waiting 18:37:52 2f39f015ded8: Waiting 18:37:52 5c69ac0246d0: Download complete 18:37:52 3a2ae6a8a46f: Verifying Checksum 18:37:52 3a2ae6a8a46f: Download complete 18:37:52 ec43610c2a17: Verifying Checksum 18:37:52 ec43610c2a17: Download complete 18:37:52 33b1e0a273af: Verifying Checksum 18:37:52 33b1e0a273af: Download complete 18:37:52 5d3b04190fa2: Download complete 18:37:53 5eb5b503b376: Verifying Checksum 18:37:53 5eb5b503b376: Download complete 18:37:53 2f39f015ded8: Download complete 18:37:53 5eb5b503b376: Pull complete 18:37:54 5c69ac0246d0: Pull complete 18:37:54 ec43610c2a17: Pull complete 18:37:54 3a2ae6a8a46f: Pull complete 18:37:54 33b1e0a273af: Pull complete 18:37:54 5d3b04190fa2: Pull complete 18:37:58 2f39f015ded8: Pull complete 18:37:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:37:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:59 prd-ubuntu20.04-docker-8c-8g-14931 does not seem to be running inside a container 18:37:59 $ 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-561 -v /w/workspace/_app-service-configurable_PR-561:/w/workspace/_app-service-configurable_PR-561:rw,z -v /w/workspace/_app-service-configurable_PR-561@tmp:/w/workspace/_app-service-configurable_PR-561@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:38:00 $ docker top d9090ab8c1296093fb57b1c65b918bb71fac39db6c1982b2621c5ee0e1f34ed9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:01 ---> job-cost.sh 18:38:01 lf-activate-venv: SKIPPING 18:38:01 INFO: No Stack... 18:38:01 INFO: Retrieving Pricing Info for: v3-standard-8 18:38:01 INFO: Archiving Costs [Pipeline] sh 18:38:02 + cat /w/workspace/_app-service-configurable_PR-561/archives/cost.csv 18:38:02 + cut -d, -f6 [Pipeline] lock 18:38:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-561-1-stack-cost] 18:38:02 Resource [jenkins-edgexfoundry-app-service-configurable-PR-561-1-stack-cost] did not exist. Created. 18:38:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-561-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:38:02 + echo total: 0.2199999988079071 [Pipeline] stash 18:38:02 Stashed 1 file(s) [Pipeline] } 18:38:02 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-561-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:38:02 $ docker stop --time=1 d9090ab8c1296093fb57b1c65b918bb71fac39db6c1982b2621c5ee0e1f34ed9 18:38:03 $ docker rm -f --volumes d9090ab8c1296093fb57b1c65b918bb71fac39db6c1982b2621c5ee0e1f34ed9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:40:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14932 in /w/workspace/_app-service-configurable_PR-561 [Pipeline] { [Pipeline] ws 18:40:04 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 18:40:04 Selected Git installation does not exist. Using Default 18:40:04 The recommended git tool is: NONE 18:40:10 using credential edgex-jenkins-ssh 18:40:10 Cloning the remote Git repository 18:40:10 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:40:10 > git init /w/workspace/app-service-configurable/1 # timeout=10 18:40:10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:40:10 > git --version # timeout=10 18:40:10 > git --version # 'git version 2.25.1' 18:40:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:12 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:40:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:13 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:40:13 Merging remotes/origin/main commit 3b18383343c5b08d1506b4a29e5952649ea8a302 into PR head commit 1e1c9e211e128955c5a9c565b4aed3b166a58d12 18:40:14 Merge succeeded, producing 1e1c9e211e128955c5a9c565b4aed3b166a58d12 18:40:14 Checking out Revision 1e1c9e211e128955c5a9c565b4aed3b166a58d12 (PR-561) 18:40:13 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:40:13 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/561/head:refs/remotes/origin/PR-561 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:40:13 > git config core.sparsecheckout # timeout=10 18:40:13 > git checkout -f 1e1c9e211e128955c5a9c565b4aed3b166a58d12 # timeout=10 18:40:14 > git remote # timeout=10 18:40:14 > git config --get remote.origin.url # timeout=10 18:40:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:14 > git merge 3b18383343c5b08d1506b4a29e5952649ea8a302 # timeout=10 18:40:14 > git rev-parse HEAD^{commit} # timeout=10 18:40:14 > git config core.sparsecheckout # timeout=10 18:40:14 > git checkout -f 1e1c9e211e128955c5a9c565b4aed3b166a58d12 # timeout=10 18:40:17 Commit message: "docs: Add main branch Warning" 18:40:17 > git --version # timeout=10 18:40:17 > git --version # 'git version 2.25.1' 18:40:17 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:40:18 % Total % Received % Xferd Average Speed Time Time Time Current 18:40:18 Dload Upload Total Spent Left Speed 18:40:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 18:40:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:40:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:40:20 + sudo tee /etc/docker/daemon.new 18:40:20 { 18:40:20 "registry-mirrors": [ 18:40:20 "https://nexus3.edgexfoundry.org:10001" 18:40:20 ], 18:40:20 "bip": "10.250.0.254/24", 18:40:20 "hosts": [ 18:40:20 "tcp://0.0.0.0:5555", 18:40:20 "unix:///var/run/docker.sock" 18:40:20 ], 18:40:20 "mtu": 1458, 18:40:20 "selinux-enabled": true, 18:40:20 "seccomp-profile": "/etc/docker/seccomp.json" 18:40:20 } [Pipeline] sh 18:40:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:40:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:39 provisioning config files... 18:40:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config8554825158931080212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:39 ---> docker-login.sh 18:40:39 nexus3.edgexfoundry.org:10001 18:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:40 Configure a credential helper to remove this warning. See 18:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:40 18:40:40 Login Succeeded 18:40:40 nexus3.edgexfoundry.org:10002 18:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:40 Configure a credential helper to remove this warning. See 18:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:40 18:40:40 Login Succeeded 18:40:40 nexus3.edgexfoundry.org:10003 18:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:40 Configure a credential helper to remove this warning. See 18:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:40 18:40:40 Login Succeeded 18:40:40 nexus3.edgexfoundry.org:10004 18:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:41 Configure a credential helper to remove this warning. See 18:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:41 18:40:41 Login Succeeded 18:40:41 docker.io 18:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:41 Configure a credential helper to remove this warning. See 18:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:41 18:40:41 Login Succeeded 18:40:41 ---> docker-login.sh ends [Pipeline] } 18:40:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:40:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:42 ========================================================= 18:40:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:40:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:40:42 Sending build context to Docker daemon 168.4kB 18:40:43 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:40:43 Step 2/12 : FROM ${BASE} AS builder 18:40:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:40:43 c41833b44d91: Pulling fs layer 18:40:43 ed15518f5707: Pulling fs layer 18:40:43 feae8fd75edb: Pulling fs layer 18:40:43 242c74f7c9fa: Pulling fs layer 18:40:43 3cdef696dda3: Pulling fs layer 18:40:43 2ced38df9373: Pulling fs layer 18:40:43 58f1dce35555: Pulling fs layer 18:40:43 242c74f7c9fa: Waiting 18:40:43 3cdef696dda3: Waiting 18:40:43 2ced38df9373: Waiting 18:40:43 58f1dce35555: Waiting 18:40:43 ed15518f5707: Verifying Checksum 18:40:43 ed15518f5707: Download complete 18:40:43 242c74f7c9fa: Verifying Checksum 18:40:43 242c74f7c9fa: Download complete 18:40:43 3cdef696dda3: Verifying Checksum 18:40:43 3cdef696dda3: Download complete 18:40:43 c41833b44d91: Verifying Checksum 18:40:43 c41833b44d91: Download complete 18:40:44 c41833b44d91: Pull complete 18:40:44 58f1dce35555: Verifying Checksum 18:40:44 58f1dce35555: Download complete 18:40:45 ed15518f5707: Pull complete 18:40:46 feae8fd75edb: Verifying Checksum 18:40:46 feae8fd75edb: Download complete 18:40:46 2ced38df9373: Verifying Checksum 18:40:46 2ced38df9373: Download complete 18:40:58 feae8fd75edb: Pull complete 18:40:58 242c74f7c9fa: Pull complete 18:40:58 3cdef696dda3: Pull complete 18:41:03 2ced38df9373: Pull complete 18:41:06 58f1dce35555: Pull complete 18:41:06 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:41:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:41:06 ---> fadd8f120f05 18:41:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:41:07 ---> Running in 2b5f7b4afbbb 18:41:08 Removing intermediate container 2b5f7b4afbbb 18:41:08 ---> 9d4173606002 18:41:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:41:08 ---> Running in 7665f4915fa6 18:41:08 Removing intermediate container 7665f4915fa6 18:41:08 ---> a513b8af77be 18:41:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:41:08 ---> Running in f6e7a7c04723 18:41:09 Removing intermediate container f6e7a7c04723 18:41:09 ---> 028ac704a61c 18:41:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:41:09 ---> Running in 818b852b1a9c 18:41:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:41:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:41:12 OK: 263 MiB in 53 packages 18:41:12 Removing intermediate container 818b852b1a9c 18:41:12 ---> 2eccb487fb86 18:41:12 Step 7/12 : WORKDIR /app 18:41:12 ---> Running in 759c1f9d7b5f 18:41:13 Removing intermediate container 759c1f9d7b5f 18:41:13 ---> e2e9847f7601 18:41:13 Step 8/12 : COPY go.mod vendor* ./ 18:41:13 ---> 3ba38b50a53d 18:41:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:41:13 ---> Running in 46fc58455187 18:42:21 Removing intermediate container 46fc58455187 18:42:21 ---> edaf1f235694 18:42:21 Step 10/12 : COPY . . 18:42:21 ---> 460c3e405f5a 18:42:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:42:21 ---> Running in 32fd6f0534c1 18:42:21 Removing intermediate container 32fd6f0534c1 18:42:21 ---> cc8db398765f 18:42:21 Step 12/12 : RUN $MAKE 18:42:21 ---> Running in cd1a744461e7 18:42:21 noop 18:42:21 Removing intermediate container cd1a744461e7 18:42:21 ---> e77109063288 18:42:21 Successfully built e77109063288 18:42:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:22 + docker inspect -f . ci-base-image-arm64 18:42:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:22 prd-ubuntu20.04-docker-arm64-4c-16g-14932 does not seem to be running inside a container 18:42:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:42:24 $ docker top 25f6f918cbd4c966df0dec64766b84b632d522d5c972aa723e5d1a2cd4fe4ec1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:25 + go version 18:42:25 go version go1.20.2 linux/arm64 [Pipeline] } 18:42:25 $ docker stop --time=1 25f6f918cbd4c966df0dec64766b84b632d522d5c972aa723e5d1a2cd4fe4ec1 18:42:26 $ docker rm -f --volumes 25f6f918cbd4c966df0dec64766b84b632d522d5c972aa723e5d1a2cd4fe4ec1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:27 + docker inspect -f . ci-base-image-arm64 18:42:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:27 prd-ubuntu20.04-docker-arm64-4c-16g-14932 does not seem to be running inside a container 18:42:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:42:29 $ docker top 67fcd5f72bb3593becac7c581d12bd7a0926d7444bda4f3130504912cfc7ee79 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:29 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 18:42:30 + make test 18:42:30 go test -race -coverprofile=coverage.out ./... 18:45:07 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:45:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:45:08 go vet ./... 18:47:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:47:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:47:46 ./bin/test-attribution-txt.sh 18:47:46 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 18:47:46 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 18:47:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:47:46 $ docker stop --time=1 67fcd5f72bb3593becac7c581d12bd7a0926d7444bda4f3130504912cfc7ee79 18:47:48 $ docker rm -f --volumes 67fcd5f72bb3593becac7c581d12bd7a0926d7444bda4f3130504912cfc7ee79 [Pipeline] // withDockerContainer [Pipeline] sh 18:47:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:47:50 Warning: overwriting stash ‘coverage-report’ 18:47:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:47:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:47:51 + ls -al . 18:47:51 total 172 18:47:51 drwxrwxr-x 7 jenkins jenkins 4096 May 10 18:42 . 18:47:51 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:40 .. 18:47:51 -rw-rw-r-- 1 jenkins jenkins 119 May 10 18:40 .dockerignore 18:47:51 drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:40 .git 18:47:51 drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:40 .github 18:47:51 -rw-rw-r-- 1 jenkins jenkins 171 May 10 18:40 .gitignore 18:47:51 -rw-rw-r-- 1 jenkins jenkins 41 May 10 18:40 .golangci.yml 18:47:51 -rw-rw-r-- 1 jenkins jenkins 9088 May 10 18:40 Attribution.txt 18:47:51 -rw-rw-r-- 1 jenkins jenkins 29118 May 10 18:40 CHANGELOG.md 18:47:51 -rw-rw-r-- 1 jenkins jenkins 1898 May 10 18:40 Dockerfile 18:47:51 -rw-rw-r-- 1 jenkins jenkins 677 May 10 18:40 GOVERNANCE.md 18:47:51 -rw-rw-r-- 1 jenkins jenkins 688 May 10 18:40 Jenkinsfile 18:47:51 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 18:40 LICENSE 18:47:51 -rw-rw-r-- 1 jenkins jenkins 618 May 10 18:40 OWNERS.md 18:47:51 -rw-rw-r-- 1 jenkins jenkins 4885 May 10 18:40 README.md 18:47:51 -rw-rw-r-- 1 jenkins jenkins 5 May 10 18:36 VERSION 18:47:51 drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:40 bin 18:47:51 -rw-r--r-- 1 jenkins jenkins 13 May 10 18:42 coverage.out 18:47:51 -rw-rw-r-- 1 jenkins jenkins 3302 May 10 18:40 go.mod 18:47:51 -rw-rw-r-- 1 jenkins jenkins 31421 May 10 18:40 go.sum 18:47:51 -rw-rw-r-- 1 jenkins jenkins 1937 May 10 18:40 main.go 18:47:51 -rw-rw-r-- 1 jenkins jenkins 2569 May 10 18:40 makefile 18:47:51 drwxrwxr-x 9 jenkins jenkins 4096 May 10 18:40 res 18:47:51 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:40 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:52 + 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=1e1c9e211e128955c5a9c565b4aed3b166a58d12 --label arch=arm64 --label version=0.0.0 . 18:47:52 Sending build context to Docker daemon 169.5kB 18:47:52 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:47:52 Step 2/26 : FROM ${BASE} AS builder 18:47:52 ---> e77109063288 18:47:52 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:47:52 ---> Running in 340b9672bed5 18:47:53 Removing intermediate container 340b9672bed5 18:47:53 ---> 969c60c8816d 18:47:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:47:53 ---> Running in 5fef171e8a04 18:47:53 Removing intermediate container 5fef171e8a04 18:47:53 ---> 810db06d6fa3 18:47:53 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:47:53 ---> Running in fee61c67c790 18:47:53 Removing intermediate container fee61c67c790 18:47:53 ---> b88cafd529b1 18:47:53 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:47:54 ---> Running in 492b67b63c6a 18:47:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:47:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:47:56 OK: 263 MiB in 53 packages 18:47:57 Removing intermediate container 492b67b63c6a 18:47:57 ---> 8f4f12962455 18:47:57 Step 7/26 : WORKDIR /app 18:47:57 ---> Running in 92db3d1043cc 18:48:00 Removing intermediate container 92db3d1043cc 18:48:00 ---> 8f4e93aeccbc 18:48:00 Step 8/26 : COPY go.mod vendor* ./ 18:48:00 ---> 9e48dc86f68c 18:48:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:00 ---> Running in caff0e2309e8 18:48:03 Removing intermediate container caff0e2309e8 18:48:03 ---> c8cbf02884c6 18:48:03 Step 10/26 : COPY . . 18:48:03 ---> d371308e44fc 18:48:03 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:48:03 ---> Running in 21561e0cfcd6 18:48:04 Removing intermediate container 21561e0cfcd6 18:48:04 ---> 957d01e40bde 18:48:04 Step 12/26 : RUN $MAKE 18:48:04 ---> Running in c22924d87290 18:48:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.62 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:50:42 Removing intermediate container c22924d87290 18:50:42 ---> dacef10682fd 18:50:42 Step 13/26 : FROM alpine:3.17 18:50:42 3.17: Pulling from library/alpine 18:50:42 c41833b44d91: Already exists 18:50:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:50:42 Status: Downloaded newer image for alpine:3.17 18:50:42 ---> 51e60588ff2c 18:50:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:50:42 ---> Running in 24ba437eaa92 18:50:42 Removing intermediate container 24ba437eaa92 18:50:42 ---> e237fd265336 18:50:42 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:50:42 ---> Running in e6ab7b0df0ee 18:50:42 Removing intermediate container e6ab7b0df0ee 18:50:42 ---> 0bfc1c6ac18e 18:50:42 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:50:42 ---> Running in 0731661f53e0 18:50:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:50:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:50:42 (1/2) Installing ca-certificates (20230506-r0) 18:50:42 (2/2) Installing dumb-init (1.2.5-r2) 18:50:42 Executing busybox-1.35.0-r29.trigger 18:50:42 Executing ca-certificates-20230506-r0.trigger 18:50:42 OK: 8 MiB in 17 packages 18:50:43 Removing intermediate container 0731661f53e0 18:50:43 ---> 4b1f9fce64b5 18:50:43 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:50:43 ---> a3ae25a35516 18:50:43 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:50:44 ---> 92d136c52d13 18:50:44 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:50:44 ---> 68efa31e5e18 18:50:44 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:50:46 ---> 65d628872954 18:50:46 Step 21/26 : EXPOSE 48095 18:50:46 ---> Running in 5825af753408 18:50:46 Removing intermediate container 5825af753408 18:50:46 ---> 181a6db9e29c 18:50:46 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:50:46 ---> Running in dcf33780b43f 18:50:47 Removing intermediate container dcf33780b43f 18:50:47 ---> 0b854a02b2a1 18:50:47 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:50:47 ---> Running in a11bb546b2f8 18:50:47 Removing intermediate container a11bb546b2f8 18:50:47 ---> c82760d40ced 18:50:47 Step 24/26 : LABEL arch=arm64 18:50:47 ---> Running in 3debd3823216 18:50:48 Removing intermediate container 3debd3823216 18:50:48 ---> 6808fc7f439b 18:50:48 Step 25/26 : LABEL git_sha=1e1c9e211e128955c5a9c565b4aed3b166a58d12 18:50:48 ---> Running in 7bf04e0b95ac 18:50:48 Removing intermediate container 7bf04e0b95ac 18:50:48 ---> e0fe7c2ebd9f 18:50:48 Step 26/26 : LABEL version=0.0.0 18:50:48 ---> Running in 16fd3f4ee05e 18:50:48 Removing intermediate container 16fd3f4ee05e 18:50:48 ---> 84ee2ee075ab 18:50:48 [Warning] One or more build-args [ARCH] were not consumed 18:50:48 Successfully built 84ee2ee075ab 18:50:48 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 18:50:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:49 18:50:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:50 arm64: Pulling from edgex-lftools-log-publisher 18:50:50 8998bd30e6a1: Pulling fs layer 18:50:50 04944245beec: Pulling fs layer 18:50:50 699f458cf7ca: Pulling fs layer 18:50:50 765212b225bb: Pulling fs layer 18:50:50 f23df028b6ca: Pulling fs layer 18:50:50 d65c8cfc05b1: Pulling fs layer 18:50:50 2437ff75d9bd: Pulling fs layer 18:50:50 765212b225bb: Waiting 18:50:50 f23df028b6ca: Waiting 18:50:50 d65c8cfc05b1: Waiting 18:50:50 2437ff75d9bd: Waiting 18:50:50 04944245beec: Verifying Checksum 18:50:50 04944245beec: Download complete 18:50:50 765212b225bb: Verifying Checksum 18:50:50 765212b225bb: Download complete 18:50:50 f23df028b6ca: Verifying Checksum 18:50:50 f23df028b6ca: Download complete 18:50:50 d65c8cfc05b1: Verifying Checksum 18:50:50 d65c8cfc05b1: Download complete 18:50:50 699f458cf7ca: Verifying Checksum 18:50:50 699f458cf7ca: Download complete 18:50:50 8998bd30e6a1: Verifying Checksum 18:50:50 8998bd30e6a1: Download complete 18:50:53 2437ff75d9bd: Verifying Checksum 18:50:53 2437ff75d9bd: Download complete 18:50:56 8998bd30e6a1: Pull complete 18:50:56 04944245beec: Pull complete 18:50:57 699f458cf7ca: Pull complete 18:50:57 765212b225bb: Pull complete 18:50:58 f23df028b6ca: Pull complete 18:50:58 d65c8cfc05b1: Pull complete 18:51:13 2437ff75d9bd: Pull complete 18:51:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:51:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:14 prd-ubuntu20.04-docker-arm64-4c-16g-14932 does not seem to be running inside a container 18:51:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:51:17 $ docker top 4b6f506bfeef05646777251929a3a460a65d1da84b3ba2b46525eef48a9d9344 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:18 ---> job-cost.sh 18:51:18 lf-activate-venv: SKIPPING 18:51:18 INFO: No Stack... 18:51:18 INFO: Retrieving Pricing Info for: v3-standard-4 18:51:19 INFO: Archiving Costs [Pipeline] sh 18:51:19 + cut -d, -f6 18:51:19 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 18:51:20 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-561-1-stack-cost] 18:51:20 Resource [jenkins-edgexfoundry-app-service-configurable-PR-561-1-stack-cost] did not exist. Created. 18:51:20 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-561-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:51:20 /w/workspace/app-service-configurable/1@tmp/durable-8e82e509/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:51:21 + echo total: 0.10999999940395355 [Pipeline] stash 18:51:21 Warning: overwriting stash ‘stack-cost’ 18:51:21 Stashed 1 file(s) [Pipeline] } 18:51:21 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-561-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:51:21 $ docker stop --time=1 4b6f506bfeef05646777251929a3a460a65d1da84b3ba2b46525eef48a9d9344 18:51:23 $ docker rm -f --volumes 4b6f506bfeef05646777251929a3a460a65d1da84b3ba2b46525eef48a9d9344 [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 18:51:24 provisioning config files... 18:51:24 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-561@tmp/config13476225935041356885tmp [Pipeline] { [Pipeline] sh 18:51:24 + set +x 18:51:24 + curl -s https://codecov.io/bash 18:51:24 + bash -s -- 18:51:24 18:51:24 _____ _ 18:51:24 / ____| | | 18:51:24 | | ___ __| | ___ ___ _____ __ 18:51:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:51:24 | |___| (_) | (_| | __/ (_| (_) \ V / 18:51:24 \_____\___/ \__,_|\___|\___\___/ \_/ 18:51:24 Bash-1.0.6 18:51:24 18:51:24 18:51:24 ==> git version 2.25.1 found 18:51:24 ==> 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 18:51:24 Release-Date: 2020-01-08 18:51:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:51:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:51:24 ==> Jenkins CI detected. 18:51:24 current dir:  /w/workspace/_app-service-configurable_PR-561 18:51:24 project root: . 18:51:24 --> token set from env 18:51:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:51:24 ==> Running gcov in . (disable via -X gcov) 18:51:24 ==> Python coveragepy not found 18:51:24 ==> Searching for coverage reports in: 18:51:24 + . 18:51:24 -> Found 1 reports 18:51:24 ==> Detecting git/mercurial file structure 18:51:24 ==> Reading reports 18:51:24 + ./coverage.out bytes=13 18:51:24 ==> Appending adjustments 18:51:24 https://docs.codecov.io/docs/fixing-reports 18:51:24 + Found adjustments 18:51:24 ==> Gzipping contents 18:51:24 4.0K /tmp/codecov.nLS5RO.gz 18:51:24 ==> Uploading reports 18:51:24 url: https://codecov.io 18:51:24 query: branch=PR-561&commit=1e1c9e211e128955c5a9c565b4aed3b166a58d12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-561%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=561&job=&cmd_args= 18:51:24 -> Pinging Codecov 18:51:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-561&commit=1e1c9e211e128955c5a9c565b4aed3b166a58d12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-561%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=561&job=&cmd_args= 18:51:25 -> Uploading to 18:51:25 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/A97CA9966030D2A3747ED39772930CCE/1e1c9e211e128955c5a9c565b4aed3b166a58d12/b1d0745c-f615-410e-8da0-396b9ed62ca8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T185124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b31e957f2d78f1e963a506e0aeee1d98c9ad7894b2f65cb1e18906d82f8a8c06 18:51:25 % Total % Received % Xferd Average Speed Time Time Time Current 18:51:25 Dload Upload Total Spent Left Speed 18:51:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2306 --:--:-- --:--:-- --:--:-- 2306 18:51:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/1e1c9e211e128955c5a9c565b4aed3b166a58d12 [Pipeline] } 18:51:25 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 18:51:26 + [ -d /w/workspace/_app-service-configurable_PR-561/archives ] 18:51:26 + ls -al /w/workspace/_app-service-configurable_PR-561/archives 18:51:26 total 16 18:51:26 drwxr-xr-x 3 root root 4096 May 10 18:38 . 18:51:26 drwxrwxr-x 9 jenkins jenkins 4096 May 10 18:38 .. 18:51:26 drwxr-xr-x 2 root root 4096 May 10 18:38 cost 18:51:26 -rw-r--r-- 1 root root 96 May 10 18:38 cost.csv 18:51:26 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-561/archives 18:51:26 + ls -al /w/workspace/_app-service-configurable_PR-561/archives 18:51:26 total 16 18:51:26 drwxr-xr-x 3 jenkins jenkins 4096 May 10 18:38 . 18:51:26 drwxrwxr-x 9 jenkins jenkins 4096 May 10 18:38 .. 18:51:26 drwxr-xr-x 2 jenkins jenkins 4096 May 10 18:38 cost 18:51:26 -rw-r--r-- 1 jenkins jenkins 96 May 10 18:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:51:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:51:28 ---> package-listing.sh 18:51:28 ++ facter osfamily 18:51:28 ++ tr '[:upper:]' '[:lower:]' 18:51:28 + OS_FAMILY=debian 18:51:28 + workspace=/w/workspace/_app-service-configurable_PR-561 18:51:28 + START_PACKAGES=/tmp/packages_start.txt 18:51:28 + END_PACKAGES=/tmp/packages_end.txt 18:51:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:51:28 + PACKAGES=/tmp/packages_start.txt 18:51:28 + '[' /w/workspace/_app-service-configurable_PR-561 ']' 18:51:28 + PACKAGES=/tmp/packages_end.txt 18:51:28 + case "${OS_FAMILY}" in 18:51:28 + dpkg -l 18:51:28 + grep '^ii' 18:51:28 + '[' -f /tmp/packages_start.txt ']' 18:51:28 + '[' -f /tmp/packages_end.txt ']' 18:51:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:51:28 + '[' /w/workspace/_app-service-configurable_PR-561 ']' 18:51:28 + mkdir -p /w/workspace/_app-service-configurable_PR-561/archives/ 18:51:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-561/archives/ [Pipeline] echo 18:51:28 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-561/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:51:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:51:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:29 prd-ubuntu20.04-docker-8c-8g-14931 does not seem to be running inside a container 18:51:29 $ 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-561/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-561 -v /w/workspace/_app-service-configurable_PR-561:/w/workspace/_app-service-configurable_PR-561:rw,z -v /w/workspace/_app-service-configurable_PR-561@tmp:/w/workspace/_app-service-configurable_PR-561@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:51:29 $ docker top 01ca5b3c919e322c4c887ac08b91c466fecd47be3707f37c6ce2740c9de60758 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:30 + touch /tmp/pre-build-complete [Pipeline] sh 18:51:30 + mkdir -p /var/log/sysstat [Pipeline] sh 18:51:30 + ls /var/log/sa-host 18:51:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:30 provisioning config files... 18:51:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-561@tmp/config10305319061290964032tmp [Pipeline] { [Pipeline] echo 18:51:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:51:31 ---> create-netrc.sh [Pipeline] } 18:51:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:51:31 ---> python-tools-install.sh [Pipeline] echo 18:51:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:51:32 ---> sudo-logs.sh 18:51:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:51:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:51:32 ---> job-cost.sh 18:51:32 lf-activate-venv: SKIPPING 18:51:32 DEBUG: total: 0.2199999988079071 18:51:32 INFO: Retrieving Stack Cost... 18:51:33 INFO: Retrieving Pricing Info for: v3-standard-8 18:51:33 INFO: Archiving Costs [Pipeline] echo 18:51:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:51:33 ---> logs-deploy.sh 18:51:33 lf-activate-venv: SKIPPING 18:51:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-561/1 18:51:33 INFO: archiving workspace using pattern(s): 18:51:34 Archives upload complete. 18:51:34 INFO: archiving logs to Nexus