Pull request #554 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 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a+88afdcb8762b84e46f57e9523a8eb819b7ad2bfb (b4693599b05d282630e6985891995ff8354b7797) 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-ssh18043980505501015203.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6805988311421055196.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-554/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-554/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10427020376534304963.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-554/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17571763222108533399.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6793040477038830141.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-554/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-554/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18231877918386568921.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12220 in /w/workspace/_app-service-configurable_PR-554 [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-554 # 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 88afdcb8762b84e46f57e9523a8eb819b7ad2bfb into PR head commit 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a > 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/554/head:refs/remotes/origin/PR-554 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a Checking out Revision 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a (PR-554) > git merge 88afdcb8762b84e46f57e9523a8eb819b7ad2bfb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a # timeout=10 Commit message: "refactor: Remove obsolete commented out Host settings" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:38:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:38:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:38:34 ========================================================= 18:38:34 EdgeX Global Pipelines Version Info 18:38:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:38:35 ------------------- 18:38:35 stable info: 18:38:35 ------------------- 18:38:35 Commited By: Bill Mahoney bill.mahoney@intel.com 18:38:35 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 18:38:35 Message: update stable to v1.0.248 18:38:36 ------------------- 18:38:36 experimental info: 18:38:36 ------------------- 18:38:36 Commited By: **** collab-it+edgex@linuxfoundation.org 18:38:36 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:38:36 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-554 [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-554 [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-554 [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ea11a3 [Pipeline] echo 18:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:38:37 provisioning config files... 18:38:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-554@tmp/config11504514873253613593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:38 ---> docker-login.sh 18:38:38 nexus3.edgexfoundry.org:10001 18:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:38 Configure a credential helper to remove this warning. See 18:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:38 18:38:38 Login Succeeded 18:38:38 nexus3.edgexfoundry.org:10002 18:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:38 Configure a credential helper to remove this warning. See 18:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:38 18:38:38 Login Succeeded 18:38:38 nexus3.edgexfoundry.org:10003 18:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:38 Configure a credential helper to remove this warning. See 18:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:38 18:38:38 Login Succeeded 18:38:38 nexus3.edgexfoundry.org:10004 18:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:39 Configure a credential helper to remove this warning. See 18:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:39 18:38:39 Login Succeeded 18:38:39 docker.io 18:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:39 Configure a credential helper to remove this warning. See 18:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:39 18:38:39 Login Succeeded 18:38:39 ---> docker-login.sh ends [Pipeline] } 18:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:38:40 + git rev-list -1 --merges 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a~1..7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a [Pipeline] echo 18:38:40 -----------> git rev-list -1 --merges 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a~1..7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a [false] [Pipeline] sh 18:38:40 + git log --format=format:%s -1 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a [Pipeline] echo 18:38:40 ========================================================= 18:38:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:38:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:38:40 + git log --format=format:%s -1 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a [Pipeline] echo 18:38:40 [semverPrep] GIT_COMMIT: 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a, Commit Message: refactor: Remove obsolete commented out Host settings [Pipeline] echo 18:38:40 [semverPrep] This is not a build commit. [Pipeline] sh 18:38:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:38:41 + grep -v github /etc/ssh/ssh_known_hosts 18:38:41 + [ -e /tmp/ssh_known_hosts ] 18:38:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:38:41 + sudo tee -a /etc/ssh/ssh_known_hosts 18:38:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:38:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:41 18:38:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:42 0.1.4: Pulling from edgex-devops/py-git-semver 18:38:42 b85a868b505f: Pulling fs layer 18:38:42 e2be974225ed: Pulling fs layer 18:38:42 339a4e72a1f5: Pulling fs layer 18:38:42 988bab9f4d93: Pulling fs layer 18:38:42 1469e6f7b9e6: Pulling fs layer 18:38:42 eaf3925da568: Pulling fs layer 18:38:42 bab4dde63d76: Pulling fs layer 18:38:42 bde34c3a00c8: Pulling fs layer 18:38:42 b352a97aabf1: Pulling fs layer 18:38:42 4872d77fe225: Pulling fs layer 18:38:42 5851b861e8e6: Pulling fs layer 18:38:42 1469e6f7b9e6: Waiting 18:38:42 eaf3925da568: Waiting 18:38:42 bab4dde63d76: Waiting 18:38:42 5851b861e8e6: Waiting 18:38:42 4872d77fe225: Waiting 18:38:42 bde34c3a00c8: Waiting 18:38:42 b352a97aabf1: Waiting 18:38:42 988bab9f4d93: Waiting 18:38:42 e2be974225ed: Verifying Checksum 18:38:42 e2be974225ed: Download complete 18:38:42 988bab9f4d93: Download complete 18:38:42 1469e6f7b9e6: Verifying Checksum 18:38:42 1469e6f7b9e6: Download complete 18:38:42 339a4e72a1f5: Verifying Checksum 18:38:42 339a4e72a1f5: Download complete 18:38:42 eaf3925da568: Download complete 18:38:42 bde34c3a00c8: Download complete 18:38:42 b352a97aabf1: Download complete 18:38:42 4872d77fe225: Verifying Checksum 18:38:42 4872d77fe225: Download complete 18:38:42 5851b861e8e6: Download complete 18:38:42 b85a868b505f: Download complete 18:38:42 bab4dde63d76: Verifying Checksum 18:38:42 bab4dde63d76: Download complete 18:38:43 b85a868b505f: Pull complete 18:38:43 e2be974225ed: Pull complete 18:38:44 339a4e72a1f5: Pull complete 18:38:44 988bab9f4d93: Pull complete 18:38:44 1469e6f7b9e6: Pull complete 18:38:44 eaf3925da568: Pull complete 18:38:46 bab4dde63d76: Pull complete 18:38:46 bde34c3a00c8: Pull complete 18:38:46 b352a97aabf1: Pull complete 18:38:46 4872d77fe225: Pull complete 18:38:46 5851b861e8e6: Pull complete 18:38:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:38:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:46 prd-ubuntu20.04-docker-8c-8g-12220 does not seem to be running inside a container 18:38:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-554 -v /w/workspace/_app-service-configurable_PR-554:/w/workspace/_app-service-configurable_PR-554:rw,z -v /w/workspace/_app-service-configurable_PR-554@tmp:/w/workspace/_app-service-configurable_PR-554@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:38:48 $ docker top 802fe581883297873666c2fee718008599e7f843015ea3521beeb66b93357729 -eo pid,comm 18:38:49 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:38:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:38:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:38:49 [ssh-agent] Looking for ssh-agent implementation... 18:38:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:38:49 $ docker exec 802fe581883297873666c2fee718008599e7f843015ea3521beeb66b93357729 ssh-agent 18:38:49 SSH_AUTH_SOCK=/tmp/ssh-EaSiD24ZDhR3/agent.32 18:38:49 SSH_AGENT_PID=38 18:38:49 Running ssh-add (command line suppressed) 18:38:49 Identity added: /w/workspace/_app-service-configurable_PR-554@tmp/private_key_13043913879825813544.key (/w/workspace/_app-service-configurable_PR-554@tmp/private_key_13043913879825813544.key) 18:38:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:38:49 + git tag --points-at HEAD [Pipeline] } 18:38:49 $ docker exec --env ******** --env ******** 802fe581883297873666c2fee718008599e7f843015ea3521beeb66b93357729 ssh-agent -k 18:38:49 unset SSH_AUTH_SOCK; 18:38:49 unset SSH_AGENT_PID; 18:38:49 echo Agent pid 38 killed; 18:38:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:38:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:38:50 [ssh-agent] Looking for ssh-agent implementation... 18:38:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:38:50 $ docker exec 802fe581883297873666c2fee718008599e7f843015ea3521beeb66b93357729 ssh-agent 18:38:50 SSH_AUTH_SOCK=/tmp/ssh-0FWIT5XCUmxX/agent.71 18:38:50 SSH_AGENT_PID=77 18:38:50 Running ssh-add (command line suppressed) 18:38:50 Identity added: /w/workspace/_app-service-configurable_PR-554@tmp/private_key_7475097772847196317.key (/w/workspace/_app-service-configurable_PR-554@tmp/private_key_7475097772847196317.key) 18:38:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:38:50 + git semver init 18:38:51 2023-05-01 18:38:50,923 [run_init] DEBUG init version:0.0.0 force:False 18:38:51 2023-05-01 18:38:50,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-554/.semver 18:38:51 2023-05-01 18:38:50,924 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-554/.semver 18:38:51 2023-05-01 18:38:50,924 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-554/.semver'], cwd=/w/workspace/_app-service-configurable_PR-554, universal_newlines=False, shell=None, istream=None) 18:38:51 2023-05-01 18:38:51,695 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-554/.git/info/exclude 18:38:51 2023-05-01 18:38:51,696 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-554/.semver/PR-554 with force:False 18:38:51 2023-05-01 18:38:51,696 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-554/.semver/PR-554 18:38:51 2023-05-01 18:38:51,700 [execute] INFO git cat-file --batch-check 18:38:51 2023-05-01 18:38:51,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-554/.semver, universal_newlines=False, shell=None, istream=) 18:38:51 2023-05-01 18:38:51,705 [execute] INFO git cat-file --batch 18:38:51 2023-05-01 18:38:51,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-554/.semver, universal_newlines=False, shell=None, istream=) 18:38:51 2023-05-01 18:38:51,711 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-554/.semver/PR-554 18:38:51 0.0.0 [Pipeline] } 18:38:51 $ docker exec --env ******** --env ******** 802fe581883297873666c2fee718008599e7f843015ea3521beeb66b93357729 ssh-agent -k 18:38:52 unset SSH_AUTH_SOCK; 18:38:52 unset SSH_AGENT_PID; 18:38:52 echo Agent pid 77 killed; 18:38:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:38:52 + git semver [Pipeline] } 18:38:52 $ docker stop --time=1 802fe581883297873666c2fee718008599e7f843015ea3521beeb66b93357729 18:38:54 $ docker rm -f --volumes 802fe581883297873666c2fee718008599e7f843015ea3521beeb66b93357729 [Pipeline] // withDockerContainer [Pipeline] sh 18:38:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:38:54 Stashed 1 file(s) [Pipeline] echo 18:38:54 [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:38:55 provisioning config files... 18:38:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-554@tmp/config1939277575103658919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:55 ---> docker-login.sh 18:38:55 nexus3.edgexfoundry.org:10001 18:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:55 Configure a credential helper to remove this warning. See 18:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:55 18:38:55 Login Succeeded 18:38:55 nexus3.edgexfoundry.org:10002 18:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:55 Configure a credential helper to remove this warning. See 18:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:55 18:38:55 Login Succeeded 18:38:55 nexus3.edgexfoundry.org:10003 18:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:55 Configure a credential helper to remove this warning. See 18:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:55 18:38:55 Login Succeeded 18:38:55 nexus3.edgexfoundry.org:10004 18:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:55 Configure a credential helper to remove this warning. See 18:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:55 18:38:55 Login Succeeded 18:38:55 docker.io 18:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:56 Configure a credential helper to remove this warning. See 18:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:56 18:38:56 Login Succeeded 18:38:56 ---> docker-login.sh ends [Pipeline] } 18:38:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:38:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:38:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:38:56 ========================================================= 18:38:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:38:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:38:56 Sending build context to Docker daemon 3.299MB 18:38:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:38:56 Step 2/12 : FROM ${BASE} AS builder 18:38:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:38:56 f56be85fc22e: Pulling fs layer 18:38:56 85791d961cd3: Pulling fs layer 18:38:56 d694b5ae8c79: Pulling fs layer 18:38:56 9f32a84ed3da: Pulling fs layer 18:38:56 4d19c01a9841: Pulling fs layer 18:38:56 9325e15d5711: Pulling fs layer 18:38:56 556b6ee489ea: Pulling fs layer 18:38:56 c5a4b2cf53e6: Pulling fs layer 18:38:56 9f32a84ed3da: Waiting 18:38:56 4d19c01a9841: Waiting 18:38:56 9325e15d5711: Waiting 18:38:56 556b6ee489ea: Waiting 18:38:56 c5a4b2cf53e6: Waiting 18:38:56 85791d961cd3: Verifying Checksum 18:38:56 85791d961cd3: Download complete 18:38:56 9f32a84ed3da: Verifying Checksum 18:38:56 9f32a84ed3da: Download complete 18:38:56 4d19c01a9841: Download complete 18:38:56 f56be85fc22e: Verifying Checksum 18:38:56 f56be85fc22e: Download complete 18:38:57 9325e15d5711: Verifying Checksum 18:38:57 9325e15d5711: Download complete 18:38:57 f56be85fc22e: Pull complete 18:38:57 85791d961cd3: Pull complete 18:38:57 c5a4b2cf53e6: Verifying Checksum 18:38:57 c5a4b2cf53e6: Download complete 18:38:57 d694b5ae8c79: Verifying Checksum 18:38:57 d694b5ae8c79: Download complete 18:38:57 556b6ee489ea: Verifying Checksum 18:38:57 556b6ee489ea: Download complete 18:39:01 d694b5ae8c79: Pull complete 18:39:01 9f32a84ed3da: Pull complete 18:39:01 4d19c01a9841: Pull complete 18:39:01 9325e15d5711: Pull complete 18:39:03 556b6ee489ea: Pull complete 18:39:04 c5a4b2cf53e6: Pull complete 18:39:04 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:39:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:39:04 ---> c4be618373d6 18:39:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:39:07 ---> Running in 3d379e53114e 18:39:07 Removing intermediate container 3d379e53114e 18:39:07 ---> 35f18531c51a 18:39:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:39:07 ---> Running in 5223b27784b3 18:39:07 Removing intermediate container 5223b27784b3 18:39:07 ---> 0bd5435c3074 18:39:07 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:39:07 ---> Running in da4f0fa623e8 18:39:08 Removing intermediate container da4f0fa623e8 18:39:08 ---> 30a993384b5d 18:39:08 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:08 ---> Running in fcc4f9fcb4cd 18:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:39:08 OK: 265 MiB in 53 packages 18:39:09 Removing intermediate container fcc4f9fcb4cd 18:39:09 ---> c70b792401ac 18:39:09 Step 7/12 : WORKDIR /app 18:39:09 ---> Running in 47fd4d1ff068 18:39:09 Removing intermediate container 47fd4d1ff068 18:39:09 ---> 3893b6b8cee7 18:39:09 Step 8/12 : COPY go.mod vendor* ./ 18:39:09 ---> dbf113b9e658 18:39:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:09 ---> Running in ea0e038ef969 18:39:10 Still waiting to schedule task 18:39:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:39:35 Removing intermediate container ea0e038ef969 18:39:35 ---> 8a94efd34218 18:39:35 Step 10/12 : COPY . . 18:39:35 ---> 75ff1d21d701 18:39:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:39:35 ---> Running in 2ece81f01502 18:39:35 Removing intermediate container 2ece81f01502 18:39:35 ---> 4889346727e2 18:39:35 Step 12/12 : RUN $MAKE 18:39:35 ---> Running in f5edadd4a612 18:39:35 noop 18:39:35 Removing intermediate container f5edadd4a612 18:39:35 ---> 51252f6998ed 18:39:35 Successfully built 51252f6998ed 18:39:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:36 + docker inspect -f . ci-base-image-x86_64 18:39:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:36 prd-ubuntu20.04-docker-8c-8g-12220 does not seem to be running inside a container 18:39:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-554 -v /w/workspace/_app-service-configurable_PR-554:/w/workspace/_app-service-configurable_PR-554:rw,z -v /w/workspace/_app-service-configurable_PR-554@tmp:/w/workspace/_app-service-configurable_PR-554@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:39:36 $ docker top a548a219d560fe2fb61f8402daf7eb86e069b928a80c5c9389b3bc3aa8b4957d -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:37 + go version 18:39:37 go version go1.20.2 linux/amd64 [Pipeline] } 18:39:37 $ docker stop --time=1 a548a219d560fe2fb61f8402daf7eb86e069b928a80c5c9389b3bc3aa8b4957d 18:39:38 $ docker rm -f --volumes a548a219d560fe2fb61f8402daf7eb86e069b928a80c5c9389b3bc3aa8b4957d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:39 + docker inspect -f . ci-base-image-x86_64 18:39:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:39 prd-ubuntu20.04-docker-8c-8g-12220 does not seem to be running inside a container 18:39:39 $ 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-554 -v /w/workspace/_app-service-configurable_PR-554:/w/workspace/_app-service-configurable_PR-554:rw,z -v /w/workspace/_app-service-configurable_PR-554@tmp:/w/workspace/_app-service-configurable_PR-554@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:39:39 $ docker top 3141d6fe576b82e6d45120aecac529228c71bd8f78c8d36b8108379b99f9e8fa -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:40 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-554 [Pipeline] fileExists [Pipeline] sh 18:39:40 + make test 18:39:40 go test -race -coverprofile=coverage.out ./... 18:40:02 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:40:17 go vet ./... 18:40:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:40:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:40:20 ./bin/test-attribution-txt.sh 18:40:20 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 18:40:20 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 18:40:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:40:20 $ docker stop --time=1 3141d6fe576b82e6d45120aecac529228c71bd8f78c8d36b8108379b99f9e8fa 18:40:23 $ docker rm -f --volumes 3141d6fe576b82e6d45120aecac529228c71bd8f78c8d36b8108379b99f9e8fa [Pipeline] // withDockerContainer [Pipeline] sh 18:40:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:40:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:40:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:40:25 + ls -al . 18:40:25 total 176 18:40:25 drwxrwxr-x 8 jenkins jenkins 4096 May 1 18:39 . 18:40:25 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:38 .. 18:40:25 -rw-rw-r-- 1 jenkins jenkins 119 May 1 18:38 .dockerignore 18:40:25 drwxrwxr-x 8 jenkins jenkins 4096 May 1 18:38 .git 18:40:25 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:38 .github 18:40:25 -rw-rw-r-- 1 jenkins jenkins 171 May 1 18:38 .gitignore 18:40:25 -rw-rw-r-- 1 jenkins jenkins 41 May 1 18:38 .golangci.yml 18:40:25 drwxr-xr-x 3 jenkins jenkins 4096 May 1 18:38 .semver 18:40:25 -rw-rw-r-- 1 jenkins jenkins 9088 May 1 18:38 Attribution.txt 18:40:25 -rw-rw-r-- 1 jenkins jenkins 29118 May 1 18:38 CHANGELOG.md 18:40:25 -rw-rw-r-- 1 jenkins jenkins 1898 May 1 18:38 Dockerfile 18:40:25 -rw-rw-r-- 1 jenkins jenkins 677 May 1 18:38 GOVERNANCE.md 18:40:25 -rw-rw-r-- 1 jenkins jenkins 688 May 1 18:38 Jenkinsfile 18:40:25 -rw-rw-r-- 1 jenkins jenkins 10174 May 1 18:38 LICENSE 18:40:25 -rw-rw-r-- 1 jenkins jenkins 618 May 1 18:38 OWNERS.md 18:40:25 -rw-rw-r-- 1 jenkins jenkins 4369 May 1 18:38 README.md 18:40:25 -rw-rw-r-- 1 jenkins jenkins 5 May 1 18:38 VERSION 18:40:25 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:38 bin 18:40:25 -rw-r--r-- 1 jenkins jenkins 13 May 1 18:39 coverage.out 18:40:25 -rw-rw-r-- 1 jenkins jenkins 3302 May 1 18:38 go.mod 18:40:25 -rw-rw-r-- 1 jenkins jenkins 31536 May 1 18:38 go.sum 18:40:25 -rw-rw-r-- 1 jenkins jenkins 1949 May 1 18:38 main.go 18:40:25 -rw-rw-r-- 1 jenkins jenkins 2569 May 1 18:38 makefile 18:40:25 drwxrwxr-x 9 jenkins jenkins 4096 May 1 18:38 res 18:40:25 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:38 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:25 + 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=7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a --label arch=amd64 --label version=0.0.0 . 18:40:25 Sending build context to Docker daemon 3.3MB 18:40:25 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:40:25 Step 2/26 : FROM ${BASE} AS builder 18:40:25 ---> 51252f6998ed 18:40:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:40:25 ---> Running in c91b217939ce 18:40:26 Removing intermediate container c91b217939ce 18:40:26 ---> da37be3e56ee 18:40:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:40:26 ---> Running in 64303b40d53f 18:40:26 Removing intermediate container 64303b40d53f 18:40:26 ---> b42e202a8660 18:40:26 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:40:26 ---> Running in 36161ebd7aaa 18:40:26 Removing intermediate container 36161ebd7aaa 18:40:26 ---> 1af222da3c44 18:40:26 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:40:26 ---> Running in 292861f9a3b4 18:40:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:40:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:40:27 OK: 265 MiB in 53 packages 18:40:27 Removing intermediate container 292861f9a3b4 18:40:27 ---> 2c6b5cca50e9 18:40:27 Step 7/26 : WORKDIR /app 18:40:27 ---> Running in 5bb47bb6e782 18:40:27 Removing intermediate container 5bb47bb6e782 18:40:27 ---> 1b7547372f79 18:40:27 Step 8/26 : COPY go.mod vendor* ./ 18:40:27 ---> 60e031e163d5 18:40:27 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:27 ---> Running in 6a4c89857a05 18:40:28 Removing intermediate container 6a4c89857a05 18:40:28 ---> a92311a5d63c 18:40:28 Step 10/26 : COPY . . 18:40:28 ---> fbf3d64fee5b 18:40:28 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:40:28 ---> Running in 8bf4d7055695 18:40:28 Removing intermediate container 8bf4d7055695 18:40:28 ---> 54b8f6a5e307 18:40:28 Step 12/26 : RUN $MAKE 18:40:28 ---> Running in cb8980490eac 18:40:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.55 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:40:50 Removing intermediate container cb8980490eac 18:40:50 ---> 224fdde644d5 18:40:50 Step 13/26 : FROM alpine:3.17 18:40:50 3.17: Pulling from library/alpine 18:40:50 f56be85fc22e: Already exists 18:40:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:40:50 Status: Downloaded newer image for alpine:3.17 18:40:50 ---> 9ed4aefc74f6 18:40:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:40:50 ---> Running in dd6d444e6022 18:40:50 Removing intermediate container dd6d444e6022 18:40:50 ---> 6b056244e4ef 18:40:50 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:40:50 ---> Running in e3c14a2c1d7d 18:40:50 Removing intermediate container e3c14a2c1d7d 18:40:50 ---> 2fae338549d0 18:40:50 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:40:50 ---> Running in 2cfa822e7c09 18:40:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:40:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:40:50 (1/2) Installing ca-certificates (20220614-r4) 18:40:50 (2/2) Installing dumb-init (1.2.5-r2) 18:40:50 Executing busybox-1.35.0-r29.trigger 18:40:50 Executing ca-certificates-20220614-r4.trigger 18:40:50 OK: 8 MiB in 17 packages 18:40:50 Removing intermediate container 2cfa822e7c09 18:40:50 ---> 2287833f756c 18:40:50 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:40:50 ---> 87646df9b9e9 18:40:50 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:40:50 ---> 6e72ea886edf 18:40:50 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:40:50 ---> 4c8132b387ee 18:40:50 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:40:50 ---> e6e4e5708bf3 18:40:50 Step 21/26 : EXPOSE 48095 18:40:50 ---> Running in e3fd3a5b2581 18:40:50 Removing intermediate container e3fd3a5b2581 18:40:50 ---> 9bfa53a945a4 18:40:50 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:40:50 ---> Running in c368087e5545 18:40:50 Removing intermediate container c368087e5545 18:40:50 ---> 8d12fd98d50c 18:40:50 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:40:50 ---> Running in 751484181c79 18:40:50 Removing intermediate container 751484181c79 18:40:50 ---> 325b560db8d2 18:40:50 Step 24/26 : LABEL arch=amd64 18:40:50 ---> Running in 6fd678bddbce 18:40:50 Removing intermediate container 6fd678bddbce 18:40:50 ---> d9384b19faab 18:40:50 Step 25/26 : LABEL git_sha=7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a 18:40:50 ---> Running in 3399b3155019 18:40:50 Removing intermediate container 3399b3155019 18:40:50 ---> dc3996adcbe4 18:40:50 Step 26/26 : LABEL version=0.0.0 18:40:50 ---> Running in 76f399ac7e5a 18:40:50 Removing intermediate container 76f399ac7e5a 18:40:50 ---> 4272dfbb75af 18:40:50 [Warning] One or more build-args [ARCH] were not consumed 18:40:50 Successfully built 4272dfbb75af 18:40:50 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:40:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:51 18:40:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:52 latest: Pulling from edgex-lftools-log-publisher 18:40:52 5eb5b503b376: Pulling fs layer 18:40:52 5c69ac0246d0: Pulling fs layer 18:40:52 ec43610c2a17: Pulling fs layer 18:40:52 3a2ae6a8a46f: Pulling fs layer 18:40:52 33b1e0a273af: Pulling fs layer 18:40:52 5d3b04190fa2: Pulling fs layer 18:40:52 2f39f015ded8: Pulling fs layer 18:40:52 3a2ae6a8a46f: Waiting 18:40:52 33b1e0a273af: Waiting 18:40:52 5d3b04190fa2: Waiting 18:40:52 2f39f015ded8: Waiting 18:40:52 5c69ac0246d0: Download complete 18:40:52 3a2ae6a8a46f: Download complete 18:40:52 33b1e0a273af: Verifying Checksum 18:40:52 33b1e0a273af: Download complete 18:40:52 5d3b04190fa2: Verifying Checksum 18:40:52 5d3b04190fa2: Download complete 18:40:52 ec43610c2a17: Verifying Checksum 18:40:52 ec43610c2a17: Download complete 18:40:52 5eb5b503b376: Verifying Checksum 18:40:52 5eb5b503b376: Download complete 18:40:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12222 in /w/workspace/_app-service-configurable_PR-554 [Pipeline] { [Pipeline] ws 18:40:52 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 18:40:52 Selected Git installation does not exist. Using Default 18:40:52 The recommended git tool is: NONE 18:40:53 2f39f015ded8: Download complete 18:40:53 5eb5b503b376: Pull complete 18:40:53 5c69ac0246d0: Pull complete 18:40:54 ec43610c2a17: Pull complete 18:40:54 3a2ae6a8a46f: Pull complete 18:40:54 33b1e0a273af: Pull complete 18:40:54 5d3b04190fa2: Pull complete 18:40:57 using credential edgex-jenkins-ssh 18:40:57 Cloning the remote Git repository 18:40:58 2f39f015ded8: Pull complete 18:40:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:40:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:57 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:40:57 > git init /w/workspace/app-service-configurable/1 # timeout=10 18:40:57 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:40:57 > git --version # timeout=10 18:40:57 > git --version # 'git version 2.25.1' 18:40:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:58 prd-ubuntu20.04-docker-8c-8g-12220 does not seem to be running inside a container 18:40:58 $ 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-554 -v /w/workspace/_app-service-configurable_PR-554:/w/workspace/_app-service-configurable_PR-554:rw,z -v /w/workspace/_app-service-configurable_PR-554@tmp:/w/workspace/_app-service-configurable_PR-554@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:40:59 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:40:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:59 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:40:59 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:40:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/554/head:refs/remotes/origin/PR-554 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:41:00 Merging remotes/origin/main commit 88afdcb8762b84e46f57e9523a8eb819b7ad2bfb into PR head commit 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a 18:41:00 Merge succeeded, producing 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a 18:41:00 Checking out Revision 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a (PR-554) 18:41:01 $ docker top 7466770d8e3dbf1c49ca39030a28177e3a77dc71a426dde8207e7a735ac33175 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:00 > git config core.sparsecheckout # timeout=10 18:41:00 > git checkout -f 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a # timeout=10 18:41:00 > git remote # timeout=10 18:41:00 > git config --get remote.origin.url # timeout=10 18:41:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:00 > git merge 88afdcb8762b84e46f57e9523a8eb819b7ad2bfb # timeout=10 18:41:00 > git rev-parse HEAD^{commit} # timeout=10 18:41:00 > git config core.sparsecheckout # timeout=10 18:41:00 > git checkout -f 7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a # timeout=10 18:41:01 ---> job-cost.sh 18:41:01 lf-activate-venv: SKIPPING 18:41:01 INFO: No Stack... 18:41:01 INFO: Retrieving Pricing Info for: v3-standard-8 18:41:02 INFO: Archiving Costs [Pipeline] sh 18:41:02 + cat /w/workspace/_app-service-configurable_PR-554/archives/cost.csv 18:41:02 + cut -d, -f6 [Pipeline] lock 18:41:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-554-1-stack-cost] 18:41:02 Resource [jenkins-edgexfoundry-app-service-configurable-PR-554-1-stack-cost] did not exist. Created. 18:41:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-554-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:41:03 + echo total: 0.2199999988079071 [Pipeline] stash 18:41:03 Stashed 1 file(s) [Pipeline] } 18:41:03 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-554-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:41:03 $ docker stop --time=1 7466770d8e3dbf1c49ca39030a28177e3a77dc71a426dde8207e7a735ac33175 18:41:04 Commit message: "refactor: Remove obsolete commented out Host settings" 18:41:04 > git --version # timeout=10 18:41:04 > git --version # 'git version 2.25.1' 18:41:04 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 18:41:04 $ docker rm -f --volumes 7466770d8e3dbf1c49ca39030a28177e3a77dc71a426dde8207e7a735ac33175 [Pipeline] // withDockerContainer [Pipeline] } 18:41:04 18:41:04 GitHub has been notified of this commit’s build result 18:41:04 [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:41:05 % Total % Received % Xferd Average Speed Time Time Time Current 18:41:05 Dload Upload Total Spent Left Speed 18:41:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 18:41:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:41:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:41:06 + sudo tee /etc/docker/daemon.new 18:41:06 { 18:41:06 "registry-mirrors": [ 18:41:06 "https://nexus3.edgexfoundry.org:10001" 18:41:06 ], 18:41:06 "bip": "10.250.0.254/24", 18:41:06 "hosts": [ 18:41:06 "tcp://0.0.0.0:5555", 18:41:06 "unix:///var/run/docker.sock" 18:41:06 ], 18:41:06 "mtu": 1458, 18:41:06 "selinux-enabled": true, 18:41:06 "seccomp-profile": "/etc/docker/seccomp.json" 18:41:06 } [Pipeline] sh 18:41:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:41:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:25 provisioning config files... 18:41:25 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config14389895290026105991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:26 ---> docker-login.sh 18:41:26 nexus3.edgexfoundry.org:10001 18:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:26 Configure a credential helper to remove this warning. See 18:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:26 18:41:26 Login Succeeded 18:41:26 nexus3.edgexfoundry.org:10002 18:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:26 Configure a credential helper to remove this warning. See 18:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:26 18:41:26 Login Succeeded 18:41:26 nexus3.edgexfoundry.org:10003 18:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:27 Configure a credential helper to remove this warning. See 18:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:27 18:41:27 Login Succeeded 18:41:27 nexus3.edgexfoundry.org:10004 18:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:27 Configure a credential helper to remove this warning. See 18:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:27 18:41:27 Login Succeeded 18:41:27 docker.io 18:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:28 Configure a credential helper to remove this warning. See 18:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:28 18:41:28 Login Succeeded 18:41:28 ---> docker-login.sh ends [Pipeline] } 18:41:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:41:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:28 ========================================================= 18:41:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:41:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:29 + 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:41:29 Sending build context to Docker daemon 168.4kB 18:41:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:41:29 Step 2/12 : FROM ${BASE} AS builder 18:41:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:41:29 c41833b44d91: Pulling fs layer 18:41:29 ed15518f5707: Pulling fs layer 18:41:29 feae8fd75edb: Pulling fs layer 18:41:29 242c74f7c9fa: Pulling fs layer 18:41:29 3cdef696dda3: Pulling fs layer 18:41:29 2ced38df9373: Pulling fs layer 18:41:29 58f1dce35555: Pulling fs layer 18:41:29 3cdef696dda3: Waiting 18:41:29 2ced38df9373: Waiting 18:41:29 242c74f7c9fa: Waiting 18:41:29 58f1dce35555: Waiting 18:41:29 ed15518f5707: Verifying Checksum 18:41:29 242c74f7c9fa: Verifying Checksum 18:41:29 242c74f7c9fa: Download complete 18:41:29 3cdef696dda3: Verifying Checksum 18:41:29 3cdef696dda3: Download complete 18:41:29 c41833b44d91: Verifying Checksum 18:41:31 58f1dce35555: Download complete 18:41:32 feae8fd75edb: Verifying Checksum 18:41:32 feae8fd75edb: Download complete 18:41:32 2ced38df9373: Verifying Checksum 18:41:32 2ced38df9373: Download complete 18:41:34 c41833b44d91: Pull complete 18:41:34 ed15518f5707: Pull complete 18:41:46 feae8fd75edb: Pull complete 18:41:46 242c74f7c9fa: Pull complete 18:41:46 3cdef696dda3: Pull complete 18:41:52 2ced38df9373: Pull complete 18:41:54 58f1dce35555: Pull complete 18:41:54 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:41:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:41:54 ---> fadd8f120f05 18:41:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:41:55 ---> Running in 758fd5a7f1e2 18:41:55 Removing intermediate container 758fd5a7f1e2 18:41:55 ---> 1100cc9c21d0 18:41:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:41:55 ---> Running in 1a9309531da2 18:41:56 Removing intermediate container 1a9309531da2 18:41:56 ---> 959586e53437 18:41:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:41:56 ---> Running in 9c49ba3ef739 18:41:56 Removing intermediate container 9c49ba3ef739 18:41:56 ---> 7d6f32ef65f8 18:41:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:41:56 ---> Running in 932e9d1407df 18:41:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:41:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:41:59 OK: 263 MiB in 53 packages 18:42:00 Removing intermediate container 932e9d1407df 18:42:00 ---> 12ce40e5da67 18:42:00 Step 7/12 : WORKDIR /app 18:42:00 ---> Running in 0aadf54bcb3c 18:42:00 Removing intermediate container 0aadf54bcb3c 18:42:00 ---> b21b39cf01e0 18:42:00 Step 8/12 : COPY go.mod vendor* ./ 18:42:01 ---> d558d362204c 18:42:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:01 ---> Running in c95366ce8788 18:42:57 Removing intermediate container c95366ce8788 18:42:57 ---> 7f05f03375f5 18:42:57 Step 10/12 : COPY . . 18:42:57 ---> 401643c20ca1 18:42:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:42:57 ---> Running in 7287d4d340b6 18:42:57 Removing intermediate container 7287d4d340b6 18:42:57 ---> 8f5c46ad46a0 18:42:57 Step 12/12 : RUN $MAKE 18:42:57 ---> Running in cfa2f8e3771e 18:42:57 noop 18:42:58 Removing intermediate container cfa2f8e3771e 18:42:58 ---> e63e4633d1a4 18:42:58 Successfully built e63e4633d1a4 18:42:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:59 + docker inspect -f . ci-base-image-arm64 18:42:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:59 prd-ubuntu20.04-docker-arm64-4c-16g-12222 does not seem to be running inside a container 18:42:59 $ 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 ******** ci-base-image-arm64 cat 18:43:00 $ docker top 931cd60d1382a41c21bc8f375ffec5a74eaff6ab0e420d84114924be8315ce5a -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:01 + go version 18:43:01 go version go1.20.2 linux/arm64 [Pipeline] } 18:43:01 $ docker stop --time=1 931cd60d1382a41c21bc8f375ffec5a74eaff6ab0e420d84114924be8315ce5a 18:43:03 $ docker rm -f --volumes 931cd60d1382a41c21bc8f375ffec5a74eaff6ab0e420d84114924be8315ce5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:04 + docker inspect -f . ci-base-image-arm64 18:43:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:04 prd-ubuntu20.04-docker-arm64-4c-16g-12222 does not seem to be running inside a container 18:43:04 $ 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 ******** ci-base-image-arm64 cat 18:43:05 $ docker top fc1f61a81242cda59748aa21ef6c0d23bb30e3da6bc9868164b105e9e9978089 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:06 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 18:43:07 + make test 18:43:07 go test -race -coverprofile=coverage.out ./... 18:45:43 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:45:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:45:43 go vet ./... 18:47:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:47:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:47:50 ./bin/test-attribution-txt.sh 18:47:50 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 18:47:50 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 18:47:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:47:50 $ docker stop --time=1 fc1f61a81242cda59748aa21ef6c0d23bb30e3da6bc9868164b105e9e9978089 18:47:52 $ docker rm -f --volumes fc1f61a81242cda59748aa21ef6c0d23bb30e3da6bc9868164b105e9e9978089 [Pipeline] // withDockerContainer [Pipeline] sh 18:47:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:47:54 Warning: overwriting stash ‘coverage-report’ 18:47:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:47:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:47:55 + ls -al . 18:47:55 total 172 18:47:55 drwxrwxr-x 7 jenkins jenkins 4096 May 1 18:43 . 18:47:55 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:40 .. 18:47:55 -rw-rw-r-- 1 jenkins jenkins 119 May 1 18:41 .dockerignore 18:47:55 drwxrwxr-x 8 jenkins jenkins 4096 May 1 18:41 .git 18:47:55 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:41 .github 18:47:55 -rw-rw-r-- 1 jenkins jenkins 171 May 1 18:41 .gitignore 18:47:55 -rw-rw-r-- 1 jenkins jenkins 41 May 1 18:41 .golangci.yml 18:47:55 -rw-rw-r-- 1 jenkins jenkins 9088 May 1 18:41 Attribution.txt 18:47:55 -rw-rw-r-- 1 jenkins jenkins 29118 May 1 18:41 CHANGELOG.md 18:47:55 -rw-rw-r-- 1 jenkins jenkins 1898 May 1 18:41 Dockerfile 18:47:55 -rw-rw-r-- 1 jenkins jenkins 677 May 1 18:41 GOVERNANCE.md 18:47:55 -rw-rw-r-- 1 jenkins jenkins 688 May 1 18:41 Jenkinsfile 18:47:55 -rw-rw-r-- 1 jenkins jenkins 10174 May 1 18:41 LICENSE 18:47:55 -rw-rw-r-- 1 jenkins jenkins 618 May 1 18:41 OWNERS.md 18:47:55 -rw-rw-r-- 1 jenkins jenkins 4369 May 1 18:41 README.md 18:47:55 -rw-rw-r-- 1 jenkins jenkins 5 May 1 18:38 VERSION 18:47:55 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:41 bin 18:47:55 -rw-r--r-- 1 jenkins jenkins 13 May 1 18:43 coverage.out 18:47:55 -rw-rw-r-- 1 jenkins jenkins 3302 May 1 18:41 go.mod 18:47:55 -rw-rw-r-- 1 jenkins jenkins 31536 May 1 18:41 go.sum 18:47:55 -rw-rw-r-- 1 jenkins jenkins 1949 May 1 18:41 main.go 18:47:55 -rw-rw-r-- 1 jenkins jenkins 2569 May 1 18:41 makefile 18:47:55 drwxrwxr-x 9 jenkins jenkins 4096 May 1 18:41 res 18:47:55 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:41 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:55 + 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=7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a --label arch=arm64 --label version=0.0.0 . 18:47:55 Sending build context to Docker daemon 169.5kB 18:47:56 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:47:56 Step 2/26 : FROM ${BASE} AS builder 18:47:56 ---> e63e4633d1a4 18:47:56 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:47:56 ---> Running in 8d40cff41f76 18:47:56 Removing intermediate container 8d40cff41f76 18:47:56 ---> aa4e556dda0f 18:47:56 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:47:56 ---> Running in 27f24f8d91fc 18:47:57 Removing intermediate container 27f24f8d91fc 18:47:57 ---> 1ce7fb520d46 18:47:57 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:47:57 ---> Running in be9e1add1042 18:47:57 Removing intermediate container be9e1add1042 18:47:57 ---> 4a7a745565ad 18:47:57 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:47:57 ---> Running in a0a39e78c7be 18:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:48:00 OK: 263 MiB in 53 packages 18:48:00 Removing intermediate container a0a39e78c7be 18:48:00 ---> 6bf035920369 18:48:00 Step 7/26 : WORKDIR /app 18:48:00 ---> Running in bd605d3ed31b 18:48:01 Removing intermediate container bd605d3ed31b 18:48:01 ---> 651b8ef45f27 18:48:01 Step 8/26 : COPY go.mod vendor* ./ 18:48:04 ---> e3cacd3946cc 18:48:04 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:04 ---> Running in 98f1d04677cd 18:48:07 Removing intermediate container 98f1d04677cd 18:48:07 ---> af438da64a7c 18:48:07 Step 10/26 : COPY . . 18:48:07 ---> 99ebda167c16 18:48:07 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:48:07 ---> Running in d647025013a1 18:48:07 Removing intermediate container d647025013a1 18:48:07 ---> 0fcc8ae0bac2 18:48:07 Step 12/26 : RUN $MAKE 18:48:07 ---> Running in 147edceba9e1 18:48:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.55 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:50:15 Removing intermediate container 147edceba9e1 18:50:15 ---> 1b394001d284 18:50:15 Step 13/26 : FROM alpine:3.17 18:50:15 3.17: Pulling from library/alpine 18:50:15 c41833b44d91: Already exists 18:50:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:50:15 Status: Downloaded newer image for alpine:3.17 18:50:15 ---> 51e60588ff2c 18:50:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:50:15 ---> Running in 6e4d013a03a3 18:50:15 Removing intermediate container 6e4d013a03a3 18:50:15 ---> aae158c60378 18:50:15 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:50:15 ---> Running in 99b436fdd6f7 18:50:15 Removing intermediate container 99b436fdd6f7 18:50:15 ---> 6b743621549d 18:50:15 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:50:15 ---> Running in 73ab38de6b42 18:50:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:50:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:50:15 (1/2) Installing ca-certificates (20220614-r4) 18:50:15 (2/2) Installing dumb-init (1.2.5-r2) 18:50:15 Executing busybox-1.35.0-r29.trigger 18:50:15 Executing ca-certificates-20220614-r4.trigger 18:50:15 OK: 8 MiB in 17 packages 18:50:15 Removing intermediate container 73ab38de6b42 18:50:15 ---> 8b2b875d83c4 18:50:15 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:50:15 ---> c2a07f9b7963 18:50:15 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:50:15 ---> 584ea518c332 18:50:15 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:50:16 ---> d076a9abb7a7 18:50:16 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:50:17 ---> daca5d407235 18:50:17 Step 21/26 : EXPOSE 48095 18:50:17 ---> Running in 1dcd1492cbd2 18:50:18 Removing intermediate container 1dcd1492cbd2 18:50:18 ---> 88543a8fef37 18:50:18 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:50:18 ---> Running in 1e5d22f6ae3c 18:50:18 Removing intermediate container 1e5d22f6ae3c 18:50:18 ---> 7fcec3004be1 18:50:18 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:50:18 ---> Running in f9085126e86a 18:50:18 Removing intermediate container f9085126e86a 18:50:18 ---> a9910174186f 18:50:18 Step 24/26 : LABEL arch=arm64 18:50:18 ---> Running in 8b26a4727ea8 18:50:19 Removing intermediate container 8b26a4727ea8 18:50:19 ---> bb9710d9f8a9 18:50:19 Step 25/26 : LABEL git_sha=7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a 18:50:19 ---> Running in 957ed6409db0 18:50:19 Removing intermediate container 957ed6409db0 18:50:19 ---> 314cb71baa62 18:50:19 Step 26/26 : LABEL version=0.0.0 18:50:19 ---> Running in 4d595cdedac9 18:50:19 Removing intermediate container 4d595cdedac9 18:50:19 ---> be9fd5941998 18:50:19 [Warning] One or more build-args [ARCH] were not consumed 18:50:19 Successfully built be9fd5941998 18:50:19 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:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:20 18:50:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:21 arm64: Pulling from edgex-lftools-log-publisher 18:50:21 8998bd30e6a1: Pulling fs layer 18:50:21 04944245beec: Pulling fs layer 18:50:21 699f458cf7ca: Pulling fs layer 18:50:21 765212b225bb: Pulling fs layer 18:50:21 f23df028b6ca: Pulling fs layer 18:50:21 d65c8cfc05b1: Pulling fs layer 18:50:21 2437ff75d9bd: Pulling fs layer 18:50:21 765212b225bb: Waiting 18:50:21 2437ff75d9bd: Waiting 18:50:21 d65c8cfc05b1: Waiting 18:50:21 f23df028b6ca: Waiting 18:50:21 04944245beec: Verifying Checksum 18:50:21 04944245beec: Download complete 18:50:21 765212b225bb: Verifying Checksum 18:50:21 765212b225bb: Download complete 18:50:21 f23df028b6ca: Download complete 18:50:21 d65c8cfc05b1: Verifying Checksum 18:50:21 d65c8cfc05b1: Download complete 18:50:21 699f458cf7ca: Verifying Checksum 18:50:21 699f458cf7ca: Download complete 18:50:22 8998bd30e6a1: Verifying Checksum 18:50:22 8998bd30e6a1: Download complete 18:50:24 2437ff75d9bd: Verifying Checksum 18:50:24 2437ff75d9bd: Download complete 18:50:26 8998bd30e6a1: Pull complete 18:50:26 04944245beec: Pull complete 18:50:28 699f458cf7ca: Pull complete 18:50:28 765212b225bb: Pull complete 18:50:29 f23df028b6ca: Pull complete 18:50:29 d65c8cfc05b1: Pull complete 18:50:44 2437ff75d9bd: Pull complete 18:50:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:50:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:44 prd-ubuntu20.04-docker-arm64-4c-16g-12222 does not seem to be running inside a container 18:50:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:50:47 $ docker top ff1cb9c9f8b245c1c7e07dc01956f97937de204832b76577f0276a584f22c7b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:48 ---> job-cost.sh 18:50:48 lf-activate-venv: SKIPPING 18:50:48 INFO: No Stack... 18:50:48 INFO: Retrieving Pricing Info for: v3-standard-4 18:50:49 INFO: Archiving Costs [Pipeline] sh 18:50:49 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 18:50:49 + cut -d, -f6 [Pipeline] lock 18:50:50 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-554-1-stack-cost] 18:50:50 Resource [jenkins-edgexfoundry-app-service-configurable-PR-554-1-stack-cost] did not exist. Created. 18:50:50 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-554-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:50:50 /w/workspace/app-service-configurable/1@tmp/durable-950b5baa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:50:51 + echo total: 0.10999999940395355 [Pipeline] stash 18:50:51 Warning: overwriting stash ‘stack-cost’ 18:50:51 Stashed 1 file(s) [Pipeline] } 18:50:51 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-554-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:50:51 $ docker stop --time=1 ff1cb9c9f8b245c1c7e07dc01956f97937de204832b76577f0276a584f22c7b2 18:50:53 $ docker rm -f --volumes ff1cb9c9f8b245c1c7e07dc01956f97937de204832b76577f0276a584f22c7b2 [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:50:54 provisioning config files... 18:50:54 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-554@tmp/config6481496604139056770tmp [Pipeline] { [Pipeline] sh 18:50:54 + set +x 18:50:54 + curl -s https://codecov.io/bash 18:50:54 + bash -s -- 18:50:54 18:50:54 _____ _ 18:50:54 / ____| | | 18:50:54 | | ___ __| | ___ ___ _____ __ 18:50:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:50:54 | |___| (_) | (_| | __/ (_| (_) \ V / 18:50:54 \_____\___/ \__,_|\___|\___\___/ \_/ 18:50:54 Bash-1.0.6 18:50:54 18:50:54 18:50:54 ==> git version 2.25.1 found 18:50:54 ==> 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:50:54 Release-Date: 2020-01-08 18:50:54 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:50:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:50:54 ==> Jenkins CI detected. 18:50:54 current dir:  /w/workspace/_app-service-configurable_PR-554 18:50:54 project root: . 18:50:54 --> token set from env 18:50:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:50:54 ==> Running gcov in . (disable via -X gcov) 18:50:54 ==> Python coveragepy not found 18:50:54 ==> Searching for coverage reports in: 18:50:54 + . 18:50:54 -> Found 1 reports 18:50:54 ==> Detecting git/mercurial file structure 18:50:54 ==> Reading reports 18:50:54 + ./coverage.out bytes=13 18:50:54 ==> Appending adjustments 18:50:54 https://docs.codecov.io/docs/fixing-reports 18:50:54 + Found adjustments 18:50:54 ==> Gzipping contents 18:50:54 4.0K /tmp/codecov.tGVlor.gz 18:50:54 ==> Uploading reports 18:50:54 url: https://codecov.io 18:50:54 query: branch=PR-554&commit=7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-554%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=554&job=&cmd_args= 18:50:54 -> Pinging Codecov 18:50:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-554&commit=7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-554%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=554&job=&cmd_args= 18:50:54 -> Uploading to 18:50:54 https://storage.googleapis.com/codecov/v4/raw/2023-05-01/A97CA9966030D2A3747ED39772930CCE/7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a/1d17d9b3-487c-4bf8-b89e-f21a53258078.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T185054Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14d0b01a1aa1a2db4265be7d06010e66f56d90cd826fa086d4e77eb7160bfcb4 18:50:54 % Total % Received % Xferd Average Speed Time Time Time Current 18:50:54 Dload Upload Total Spent Left Speed 18:50:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2004 --:--:-- --:--:-- --:--:-- 2004 18:50:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/7ea11a3c0b7185324d0446bfd1d7ae22ef1aff6a [Pipeline] } 18:50:55 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:50:56 + [ -d /w/workspace/_app-service-configurable_PR-554/archives ] 18:50:56 + ls -al /w/workspace/_app-service-configurable_PR-554/archives 18:50:56 total 16 18:50:56 drwxr-xr-x 3 root root 4096 May 1 18:41 . 18:50:56 drwxrwxr-x 9 jenkins jenkins 4096 May 1 18:41 .. 18:50:56 drwxr-xr-x 2 root root 4096 May 1 18:41 cost 18:50:56 -rw-r--r-- 1 root root 96 May 1 18:41 cost.csv 18:50:56 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-554/archives 18:50:56 + ls -al /w/workspace/_app-service-configurable_PR-554/archives 18:50:56 total 16 18:50:56 drwxr-xr-x 3 jenkins jenkins 4096 May 1 18:41 . 18:50:56 drwxrwxr-x 9 jenkins jenkins 4096 May 1 18:41 .. 18:50:56 drwxr-xr-x 2 jenkins jenkins 4096 May 1 18:41 cost 18:50:56 -rw-r--r-- 1 jenkins jenkins 96 May 1 18:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:50:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:50:58 ---> package-listing.sh 18:50:58 ++ facter osfamily 18:50:58 ++ tr '[:upper:]' '[:lower:]' 18:50:58 + OS_FAMILY=debian 18:50:58 + workspace=/w/workspace/_app-service-configurable_PR-554 18:50:58 + START_PACKAGES=/tmp/packages_start.txt 18:50:58 + END_PACKAGES=/tmp/packages_end.txt 18:50:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:50:58 + PACKAGES=/tmp/packages_start.txt 18:50:58 + '[' /w/workspace/_app-service-configurable_PR-554 ']' 18:50:58 + PACKAGES=/tmp/packages_end.txt 18:50:58 + case "${OS_FAMILY}" in 18:50:58 + dpkg -l 18:50:58 + grep '^ii' 18:50:58 + '[' -f /tmp/packages_start.txt ']' 18:50:58 + '[' -f /tmp/packages_end.txt ']' 18:50:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:50:58 + '[' /w/workspace/_app-service-configurable_PR-554 ']' 18:50:58 + mkdir -p /w/workspace/_app-service-configurable_PR-554/archives/ 18:50:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-554/archives/ [Pipeline] echo 18:50:58 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-554/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:50:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:59 prd-ubuntu20.04-docker-8c-8g-12220 does not seem to be running inside a container 18:50:59 $ 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-554/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-554 -v /w/workspace/_app-service-configurable_PR-554:/w/workspace/_app-service-configurable_PR-554:rw,z -v /w/workspace/_app-service-configurable_PR-554@tmp:/w/workspace/_app-service-configurable_PR-554@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:50:59 $ docker top 8671de8d34cae24b1ccfd543923aff2d30e50975ff830f158b1ac79a3f8ff6b3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:59 + touch /tmp/pre-build-complete [Pipeline] sh 18:51:00 + mkdir -p /var/log/sysstat [Pipeline] sh 18:51:00 + ls /var/log/sa-host 18:51:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:00 provisioning config files... 18:51:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-554@tmp/config17106641472937542816tmp [Pipeline] { [Pipeline] echo 18:51:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:51:01 ---> create-netrc.sh [Pipeline] } 18:51:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:51:01 ---> python-tools-install.sh [Pipeline] echo 18:51:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:51:01 ---> sudo-logs.sh 18:51:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:51:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:51:02 ---> job-cost.sh 18:51:02 lf-activate-venv: SKIPPING 18:51:02 DEBUG: total: 0.2199999988079071 18:51:02 INFO: Retrieving Stack Cost... 18:51:02 INFO: Retrieving Pricing Info for: v3-standard-8 18:51:03 INFO: Archiving Costs [Pipeline] echo 18:51:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:51:03 ---> logs-deploy.sh 18:51:03 lf-activate-venv: SKIPPING 18:51:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-554/1 18:51:03 INFO: archiving workspace using pattern(s): 18:51:04 Archives upload complete. 18:51:04 INFO: archiving logs to Nexus