Pull request #534 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8af4f87585ca7a4dc592e77647aaaee3036be64a+11af183f2194c3fd12bdcc9d8b6be264b57aff6c (a149c9c262a43a825af2831b9757012fc04308ec) 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-ssh15403577413892676415.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6518643242216325320.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-534/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-534/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13143257462387337894.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-534/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14635967996797383586.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10928196219113728556.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-534/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-534/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1813296512533999644.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5180 in /w/workspace/_app-service-configurable_PR-534 [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-534 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/534/head:refs/remotes/origin/PR-534 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit 8af4f87585ca7a4dc592e77647aaaee3036be64a Merge succeeded, producing 8af4f87585ca7a4dc592e77647aaaee3036be64a Checking out Revision 8af4f87585ca7a4dc592e77647aaaee3036be64a (PR-534) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:58:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git config core.sparsecheckout # timeout=10 > git checkout -f 8af4f87585ca7a4dc592e77647aaaee3036be64a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8af4f87585ca7a4dc592e77647aaaee3036be64a # timeout=10 [Pipeline] { [Pipeline] withCredentials 12:58:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:35 ========================================================= 12:58:35 EdgeX Global Pipelines Version Info 12:58:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:58:35 ------------------- 12:58:35 stable info: 12:58:35 ------------------- 12:58:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:58:35 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 12:58:35 Message: update stable to v1.0.245 12:58:36 ------------------- 12:58:36 experimental info: 12:58:36 ------------------- 12:58:36 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:36 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 12:58:36 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-534 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-534 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-534 [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8af4f87585ca7a4dc592e77647aaaee3036be64a [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8af4f87 [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:38 provisioning config files... 12:58:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-534@tmp/config13662860815477233809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:38 ---> docker-login.sh 12:58:38 nexus3.edgexfoundry.org:10001 12:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:38 Configure a credential helper to remove this warning. See 12:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:38 12:58:38 Login Succeeded 12:58:38 nexus3.edgexfoundry.org:10002 12:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:39 Configure a credential helper to remove this warning. See 12:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:39 12:58:39 Login Succeeded 12:58:39 nexus3.edgexfoundry.org:10003 12:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:39 Configure a credential helper to remove this warning. See 12:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:39 12:58:39 Login Succeeded 12:58:39 nexus3.edgexfoundry.org:10004 12:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:39 Configure a credential helper to remove this warning. See 12:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:39 12:58:39 Login Succeeded 12:58:39 docker.io 12:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:39 Configure a credential helper to remove this warning. See 12:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:39 12:58:39 Login Succeeded 12:58:39 ---> docker-login.sh ends [Pipeline] } 12:58:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:40 + git rev-list -1 --merges 8af4f87585ca7a4dc592e77647aaaee3036be64a~1..8af4f87585ca7a4dc592e77647aaaee3036be64a [Pipeline] echo 12:58:40 -----------> git rev-list -1 --merges 8af4f87585ca7a4dc592e77647aaaee3036be64a~1..8af4f87585ca7a4dc592e77647aaaee3036be64a 8af4f87585ca7a4dc592e77647aaaee3036be64a [false] [Pipeline] sh 12:58:40 + git log --format=format:%s -1 8af4f87585ca7a4dc592e77647aaaee3036be64a [Pipeline] echo 12:58:40 ========================================================= 12:58:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:41 + git log --format=format:%s -1 8af4f87585ca7a4dc592e77647aaaee3036be64a [Pipeline] echo 12:58:41 [semverPrep] GIT_COMMIT: 8af4f87585ca7a4dc592e77647aaaee3036be64a, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:58:41 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:41 + grep -v github /etc/ssh/ssh_known_hosts 12:58:41 + [ -e /tmp/ssh_known_hosts ] 12:58:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:41 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:42 12:58:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:42 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:42 b85a868b505f: Pulling fs layer 12:58:42 e2be974225ed: Pulling fs layer 12:58:42 339a4e72a1f5: Pulling fs layer 12:58:42 988bab9f4d93: Pulling fs layer 12:58:42 1469e6f7b9e6: Pulling fs layer 12:58:42 eaf3925da568: Pulling fs layer 12:58:42 bab4dde63d76: Pulling fs layer 12:58:42 bde34c3a00c8: Pulling fs layer 12:58:42 b352a97aabf1: Pulling fs layer 12:58:42 4872d77fe225: Pulling fs layer 12:58:42 5851b861e8e6: Pulling fs layer 12:58:42 988bab9f4d93: Waiting 12:58:42 1469e6f7b9e6: Waiting 12:58:42 eaf3925da568: Waiting 12:58:42 bab4dde63d76: Waiting 12:58:42 bde34c3a00c8: Waiting 12:58:42 b352a97aabf1: Waiting 12:58:42 4872d77fe225: Waiting 12:58:42 5851b861e8e6: Waiting 12:58:42 e2be974225ed: Verifying Checksum 12:58:42 e2be974225ed: Download complete 12:58:42 988bab9f4d93: Verifying Checksum 12:58:42 988bab9f4d93: Download complete 12:58:42 1469e6f7b9e6: Verifying Checksum 12:58:42 1469e6f7b9e6: Download complete 12:58:42 339a4e72a1f5: Verifying Checksum 12:58:42 339a4e72a1f5: Download complete 12:58:42 eaf3925da568: Verifying Checksum 12:58:42 eaf3925da568: Download complete 12:58:42 bde34c3a00c8: Verifying Checksum 12:58:42 bde34c3a00c8: Download complete 12:58:42 b352a97aabf1: Verifying Checksum 12:58:42 b352a97aabf1: Download complete 12:58:42 4872d77fe225: Download complete 12:58:42 5851b861e8e6: Verifying Checksum 12:58:42 5851b861e8e6: Download complete 12:58:43 b85a868b505f: Verifying Checksum 12:58:43 b85a868b505f: Download complete 12:58:43 bab4dde63d76: Verifying Checksum 12:58:43 bab4dde63d76: Download complete 12:58:44 b85a868b505f: Pull complete 12:58:44 e2be974225ed: Pull complete 12:58:44 339a4e72a1f5: Pull complete 12:58:44 988bab9f4d93: Pull complete 12:58:45 1469e6f7b9e6: Pull complete 12:58:45 eaf3925da568: Pull complete 12:58:46 bab4dde63d76: Pull complete 12:58:46 bde34c3a00c8: Pull complete 12:58:46 b352a97aabf1: Pull complete 12:58:46 4872d77fe225: Pull complete 12:58:46 5851b861e8e6: Pull complete 12:58:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:58:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:47 prd-ubuntu20.04-docker-8c-8g-5180 does not seem to be running inside a container 12:58:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-534 -v /w/workspace/_app-service-configurable_PR-534:/w/workspace/_app-service-configurable_PR-534:rw,z -v /w/workspace/_app-service-configurable_PR-534@tmp:/w/workspace/_app-service-configurable_PR-534@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:58:48 $ docker top 9fd5e4aa397a0d4430d32ff42e315cb2f79120ef0c77dd5be7ff1c1749276222 -eo pid,comm 12:58:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:58:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:49 [ssh-agent] Looking for ssh-agent implementation... 12:58:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:49 $ docker exec 9fd5e4aa397a0d4430d32ff42e315cb2f79120ef0c77dd5be7ff1c1749276222 ssh-agent 12:58:49 SSH_AUTH_SOCK=/tmp/ssh-VjjgRaywfq60/agent.32 12:58:49 SSH_AGENT_PID=38 12:58:49 Running ssh-add (command line suppressed) 12:58:49 Identity added: /w/workspace/_app-service-configurable_PR-534@tmp/private_key_7442755312568459640.key (/w/workspace/_app-service-configurable_PR-534@tmp/private_key_7442755312568459640.key) 12:58:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:49 + git tag --points-at HEAD [Pipeline] } 12:58:49 $ docker exec --env ******** --env ******** 9fd5e4aa397a0d4430d32ff42e315cb2f79120ef0c77dd5be7ff1c1749276222 ssh-agent -k 12:58:49 unset SSH_AUTH_SOCK; 12:58:49 unset SSH_AGENT_PID; 12:58:49 echo Agent pid 38 killed; 12:58:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:49 [ssh-agent] Looking for ssh-agent implementation... 12:58:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:50 $ docker exec 9fd5e4aa397a0d4430d32ff42e315cb2f79120ef0c77dd5be7ff1c1749276222 ssh-agent 12:58:50 SSH_AUTH_SOCK=/tmp/ssh-9vu27M1w4Ds0/agent.70 12:58:50 SSH_AGENT_PID=76 12:58:50 Running ssh-add (command line suppressed) 12:58:50 Identity added: /w/workspace/_app-service-configurable_PR-534@tmp/private_key_10508026685690771659.key (/w/workspace/_app-service-configurable_PR-534@tmp/private_key_10508026685690771659.key) 12:58:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:50 + git semver init 12:58:50 2023-03-22 12:58:50,800 [run_init] DEBUG init version:0.0.0 force:False 12:58:50 2023-03-22 12:58:50,800 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-534/.semver 12:58:50 2023-03-22 12:58:50,801 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-534/.semver 12:58:50 2023-03-22 12:58:50,801 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-534/.semver'], cwd=/w/workspace/_app-service-configurable_PR-534, universal_newlines=False, shell=None, istream=None) 12:58:51 2023-03-22 12:58:51,566 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-534/.git/info/exclude 12:58:51 2023-03-22 12:58:51,567 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-534/.semver/PR-534 with force:False 12:58:51 2023-03-22 12:58:51,567 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-534/.semver/PR-534 12:58:51 2023-03-22 12:58:51,571 [execute] INFO git cat-file --batch-check 12:58:51 2023-03-22 12:58:51,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-534/.semver, universal_newlines=False, shell=None, istream=) 12:58:51 2023-03-22 12:58:51,579 [execute] INFO git cat-file --batch 12:58:51 2023-03-22 12:58:51,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-534/.semver, universal_newlines=False, shell=None, istream=) 12:58:51 2023-03-22 12:58:51,584 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-534/.semver/PR-534 12:58:51 0.0.0 [Pipeline] } 12:58:51 $ docker exec --env ******** --env ******** 9fd5e4aa397a0d4430d32ff42e315cb2f79120ef0c77dd5be7ff1c1749276222 ssh-agent -k 12:58:51 unset SSH_AUTH_SOCK; 12:58:51 unset SSH_AGENT_PID; 12:58:51 echo Agent pid 76 killed; 12:58:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:52 + git semver [Pipeline] } 12:58:52 $ docker stop --time=1 9fd5e4aa397a0d4430d32ff42e315cb2f79120ef0c77dd5be7ff1c1749276222 12:58:53 $ docker rm -f --volumes 9fd5e4aa397a0d4430d32ff42e315cb2f79120ef0c77dd5be7ff1c1749276222 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:54 Stashed 1 file(s) [Pipeline] echo 12:58: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 12:58:55 provisioning config files... 12:58:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-534@tmp/config1439423166099941607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:55 ---> docker-login.sh 12:58:55 nexus3.edgexfoundry.org:10001 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 nexus3.edgexfoundry.org:10002 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 nexus3.edgexfoundry.org:10003 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 nexus3.edgexfoundry.org:10004 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 docker.io 12:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:56 Configure a credential helper to remove this warning. See 12:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:56 12:58:56 Login Succeeded 12:58:56 ---> docker-login.sh ends [Pipeline] } 12:58:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:56 ========================================================= 12:58:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:58:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:58:56 Sending build context to Docker daemon 3.244MB 12:58:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:58:56 Step 2/12 : FROM ${BASE} AS builder 12:58:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:58:56 63b65145d645: Pulling fs layer 12:58:56 a2d21d5440eb: Pulling fs layer 12:58:56 935e6c44a52c: Pulling fs layer 12:58:56 94cc34f8dd06: Pulling fs layer 12:58:56 30dea6a524f1: Pulling fs layer 12:58:56 a2aff8979fd8: Pulling fs layer 12:58:56 6808be2612f2: Pulling fs layer 12:58:56 f25807f1079a: Pulling fs layer 12:58:56 a2aff8979fd8: Waiting 12:58:56 6808be2612f2: Waiting 12:58:56 f25807f1079a: Waiting 12:58:56 94cc34f8dd06: Waiting 12:58:56 30dea6a524f1: Waiting 12:58:56 a2d21d5440eb: Verifying Checksum 12:58:56 94cc34f8dd06: Verifying Checksum 12:58:56 94cc34f8dd06: Download complete 12:58:56 30dea6a524f1: Verifying Checksum 12:58:56 30dea6a524f1: Download complete 12:58:57 63b65145d645: Verifying Checksum 12:58:57 63b65145d645: Download complete 12:58:57 a2aff8979fd8: Verifying Checksum 12:58:57 a2aff8979fd8: Download complete 12:58:57 63b65145d645: Pull complete 12:58:57 a2d21d5440eb: Pull complete 12:58:57 f25807f1079a: Verifying Checksum 12:58:57 f25807f1079a: Download complete 12:58:57 935e6c44a52c: Verifying Checksum 12:58:57 935e6c44a52c: Download complete 12:58:58 6808be2612f2: Verifying Checksum 12:58:58 6808be2612f2: Download complete 12:59:01 935e6c44a52c: Pull complete 12:59:01 94cc34f8dd06: Pull complete 12:59:01 30dea6a524f1: Pull complete 12:59:01 a2aff8979fd8: Pull complete 12:59:04 6808be2612f2: Pull complete 12:59:04 f25807f1079a: Pull complete 12:59:04 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 12:59:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:59:04 ---> 3b553350e43f 12:59:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:59:06 ---> Running in d8dc23ee78bb 12:59:06 Removing intermediate container d8dc23ee78bb 12:59:06 ---> e4e210337da6 12:59:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:06 ---> Running in 2d7688b5da75 12:59:06 Removing intermediate container 2d7688b5da75 12:59:06 ---> 69d50f0490b5 12:59:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:06 ---> Running in 4a333a5183ce 12:59:06 Removing intermediate container 4a333a5183ce 12:59:06 ---> efa77436de15 12:59:06 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:06 ---> Running in 8312f5b7daeb 12:59:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:59:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:59:07 OK: 265 MiB in 53 packages 12:59:07 Removing intermediate container 8312f5b7daeb 12:59:07 ---> 9b36af2c4359 12:59:07 Step 7/12 : WORKDIR /app 12:59:07 ---> Running in d87a403f69cc 12:59:07 Removing intermediate container d87a403f69cc 12:59:07 ---> c4776e4ecfe5 12:59:07 Step 8/12 : COPY go.mod vendor* ./ 12:59:07 ---> 10d662c36304 12:59:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:08 ---> Running in 43c6d81029bb 12:59:10 Still waiting to schedule task 12:59:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:59:34 Removing intermediate container 43c6d81029bb 12:59:34 ---> 1997e33862a7 12:59:34 Step 10/12 : COPY . . 12:59:34 ---> 9a56a46307ac 12:59:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:34 ---> Running in 0ef16f9bbc38 12:59:34 Removing intermediate container 0ef16f9bbc38 12:59:34 ---> 8dae0cfaabbc 12:59:34 Step 12/12 : RUN $MAKE 12:59:34 ---> Running in ef72a14e6129 12:59:35 noop 12:59:35 Removing intermediate container ef72a14e6129 12:59:35 ---> 5c6fb54ddf31 12:59:35 Successfully built 5c6fb54ddf31 12:59:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:35 + docker inspect -f . ci-base-image-x86_64 12:59:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:36 prd-ubuntu20.04-docker-8c-8g-5180 does not seem to be running inside a container 12:59:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-534 -v /w/workspace/_app-service-configurable_PR-534:/w/workspace/_app-service-configurable_PR-534:rw,z -v /w/workspace/_app-service-configurable_PR-534@tmp:/w/workspace/_app-service-configurable_PR-534@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 ******** ci-base-image-x86_64 cat 12:59:36 $ docker top 4055a835878dcf9dce056353e8db3c13d1076e044557a055e04a6e0deda586a7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:36 + go version 12:59:36 go version go1.20.2 linux/amd64 [Pipeline] } 12:59:36 $ docker stop --time=1 4055a835878dcf9dce056353e8db3c13d1076e044557a055e04a6e0deda586a7 12:59:38 $ docker rm -f --volumes 4055a835878dcf9dce056353e8db3c13d1076e044557a055e04a6e0deda586a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:38 + docker inspect -f . ci-base-image-x86_64 12:59:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:39 prd-ubuntu20.04-docker-8c-8g-5180 does not seem to be running inside a container 12:59: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-534 -v /w/workspace/_app-service-configurable_PR-534:/w/workspace/_app-service-configurable_PR-534:rw,z -v /w/workspace/_app-service-configurable_PR-534@tmp:/w/workspace/_app-service-configurable_PR-534@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 ******** ci-base-image-x86_64 cat 12:59:39 $ docker top aa5f28ae0b68a70c5004af07cda9a3971391bcd8de2fb572784bffe1ef50f2b4 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:39 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-534 [Pipeline] fileExists [Pipeline] sh 12:59:40 + make test 12:59:40 go test -race -coverprofile=coverage.out ./... 12:59:58 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:16 go vet ./... 13:00:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:19 ./bin/test-attribution-txt.sh 13:00:19 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:00:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:19 $ docker stop --time=1 aa5f28ae0b68a70c5004af07cda9a3971391bcd8de2fb572784bffe1ef50f2b4 13:00:21 $ docker rm -f --volumes aa5f28ae0b68a70c5004af07cda9a3971391bcd8de2fb572784bffe1ef50f2b4 [Pipeline] // withDockerContainer [Pipeline] sh 13:00:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:23 + ls -al . 13:00:23 total 176 13:00:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 12:59 . 13:00:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 12:58 .. 13:00:23 -rw-rw-r-- 1 jenkins jenkins 119 Mar 22 12:58 .dockerignore 13:00:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 12:58 .git 13:00:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 12:58 .github 13:00:23 -rw-rw-r-- 1 jenkins jenkins 171 Mar 22 12:58 .gitignore 13:00:23 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 12:58 .golangci.yml 13:00:23 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 12:58 .semver 13:00:23 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 22 12:58 Attribution.txt 13:00:23 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 22 12:58 CHANGELOG.md 13:00:23 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 22 12:58 Dockerfile 13:00:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 12:58 GOVERNANCE.md 13:00:23 -rw-rw-r-- 1 jenkins jenkins 688 Mar 22 12:58 Jenkinsfile 13:00:23 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 22 12:58 LICENSE 13:00:23 -rw-rw-r-- 1 jenkins jenkins 618 Mar 22 12:58 OWNERS.md 13:00:23 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 22 12:58 README.md 13:00:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 12:58 VERSION 13:00:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 12:58 bin 13:00:23 -rw-r--r-- 1 jenkins jenkins 13 Mar 22 12:59 coverage.out 13:00:23 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 22 12:58 go.mod 13:00:23 -rw-rw-r-- 1 jenkins jenkins 31037 Mar 22 12:58 go.sum 13:00:23 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 22 12:58 main.go 13:00:23 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 22 12:58 makefile 13:00:23 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 12:58 res 13:00:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 12:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:24 + 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=8af4f87585ca7a4dc592e77647aaaee3036be64a --label arch=amd64 --label version=0.0.0 . 13:00:24 Sending build context to Docker daemon 3.245MB 13:00:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:00:24 Step 2/26 : FROM ${BASE} AS builder 13:00:24 ---> 5c6fb54ddf31 13:00:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:24 ---> Running in b420f583b0c7 13:00:24 Removing intermediate container b420f583b0c7 13:00:24 ---> 377e0e873940 13:00:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:24 ---> Running in 01521d621a03 13:00:24 Removing intermediate container 01521d621a03 13:00:24 ---> 7c271cf057c6 13:00:24 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:24 ---> Running in 88a8f4957e55 13:00:24 Removing intermediate container 88a8f4957e55 13:00:24 ---> a85aa50bb57a 13:00:24 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:24 ---> Running in 0d6ed4e82145 13:00:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:25 OK: 265 MiB in 53 packages 13:00:25 Removing intermediate container 0d6ed4e82145 13:00:25 ---> 61a1d928c0d6 13:00:25 Step 7/26 : WORKDIR /app 13:00:25 ---> Running in ec5cf630c789 13:00:25 Removing intermediate container ec5cf630c789 13:00:25 ---> f28fc84ed689 13:00:25 Step 8/26 : COPY go.mod vendor* ./ 13:00:25 ---> 031515711deb 13:00:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:25 ---> Running in 69e58908da48 13:00:26 Removing intermediate container 69e58908da48 13:00:26 ---> 72d5be73bb6e 13:00:26 Step 10/26 : COPY . . 13:00:26 ---> 9ad976670709 13:00:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:26 ---> Running in 49476c7b5161 13:00:26 Removing intermediate container 49476c7b5161 13:00:26 ---> 12aa484ac037 13:00:26 Step 12/26 : RUN $MAKE 13:00:26 ---> Running in 8c833577fac3 13:00:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.44 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:00:45 Removing intermediate container 8c833577fac3 13:00:45 ---> d4a9b658b4a3 13:00:45 Step 13/26 : FROM alpine:3.17 13:00:45 3.17: Pulling from library/alpine 13:00:45 63b65145d645: Already exists 13:00:45 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:00:45 Status: Downloaded newer image for alpine:3.17 13:00:45 ---> b2aa39c304c2 13:00:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:00:45 ---> Running in 5a672b938203 13:00:45 Removing intermediate container 5a672b938203 13:00:45 ---> 7e264437697d 13:00:45 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:00:45 ---> Running in 4ed55a2a76ab 13:00:45 Removing intermediate container 4ed55a2a76ab 13:00:45 ---> be82f344b0f2 13:00:45 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:00:45 ---> Running in 78fdf8f7d7b9 13:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:45 (1/2) Installing ca-certificates (20220614-r4) 13:00:45 (2/2) Installing dumb-init (1.2.5-r2) 13:00:45 Executing busybox-1.35.0-r29.trigger 13:00:45 Executing ca-certificates-20220614-r4.trigger 13:00:45 OK: 8 MiB in 17 packages 13:00:45 Removing intermediate container 78fdf8f7d7b9 13:00:45 ---> 4ebcb51e3c99 13:00:45 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:00:45 ---> 959f75cd45c2 13:00:45 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:00:45 ---> b12780882fd8 13:00:45 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:00:46 ---> 19099ff77159 13:00:46 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:00:46 ---> 8629f59ecae9 13:00:46 Step 21/26 : EXPOSE 48095 13:00:46 ---> Running in bc217c5fcac5 13:00:46 Removing intermediate container bc217c5fcac5 13:00:46 ---> 7bee50e6850d 13:00:46 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:00:47 ---> Running in a5824129a3d5 13:00:47 Removing intermediate container a5824129a3d5 13:00:47 ---> 7e22dd14386c 13:00:47 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:00:47 ---> Running in f74be5efa790 13:00:47 Removing intermediate container f74be5efa790 13:00:47 ---> 12dd66e28bdf 13:00:47 Step 24/26 : LABEL arch=amd64 13:00:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5181 in /w/workspace/_app-service-configurable_PR-534 [Pipeline] { [Pipeline] ws 13:00:47 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:47 Selected Git installation does not exist. Using Default 13:00:47 The recommended git tool is: NONE 13:00:47 ---> Running in 437f67fa1e79 13:00:47 Removing intermediate container 437f67fa1e79 13:00:47 ---> 94769596e218 13:00:47 Step 25/26 : LABEL git_sha=8af4f87585ca7a4dc592e77647aaaee3036be64a 13:00:47 ---> Running in 2f36d11baab1 13:00:47 Removing intermediate container 2f36d11baab1 13:00:47 ---> 386f492c1c35 13:00:47 Step 26/26 : LABEL version=0.0.0 13:00:47 ---> Running in f791286311ad 13:00:47 Removing intermediate container f791286311ad 13:00:47 ---> 4b7d8a1583d8 13:00:47 [Warning] One or more build-args [ARCH] were not consumed 13:00:47 Successfully built 4b7d8a1583d8 13:00:47 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:48 13:00:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:48 latest: Pulling from edgex-lftools-log-publisher 13:00:48 5eb5b503b376: Pulling fs layer 13:00:48 5c69ac0246d0: Pulling fs layer 13:00:48 ec43610c2a17: Pulling fs layer 13:00:48 3a2ae6a8a46f: Pulling fs layer 13:00:48 33b1e0a273af: Pulling fs layer 13:00:48 5d3b04190fa2: Pulling fs layer 13:00:48 2f39f015ded8: Pulling fs layer 13:00:48 33b1e0a273af: Waiting 13:00:48 5d3b04190fa2: Waiting 13:00:48 3a2ae6a8a46f: Waiting 13:00:48 2f39f015ded8: Waiting 13:00:48 5c69ac0246d0: Verifying Checksum 13:00:48 5c69ac0246d0: Download complete 13:00:48 3a2ae6a8a46f: Download complete 13:00:49 33b1e0a273af: Verifying Checksum 13:00:49 33b1e0a273af: Download complete 13:00:49 ec43610c2a17: Verifying Checksum 13:00:49 ec43610c2a17: Download complete 13:00:49 5d3b04190fa2: Download complete 13:00:49 5eb5b503b376: Verifying Checksum 13:00:49 5eb5b503b376: Download complete 13:00:49 2f39f015ded8: Download complete 13:00:50 5eb5b503b376: Pull complete 13:00:50 5c69ac0246d0: Pull complete 13:00:50 ec43610c2a17: Pull complete 13:00:50 3a2ae6a8a46f: Pull complete 13:00:50 33b1e0a273af: Pull complete 13:00:50 5d3b04190fa2: Pull complete 13:00:52 using credential edgex-jenkins-ssh 13:00:52 Cloning the remote Git repository 13:00:52 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:00:52 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:00:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:52 > git --version # timeout=10 13:00:52 > git --version # 'git version 2.25.1' 13:00:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:53 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:55 2f39f015ded8: Pull complete 13:00:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:00:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:55 prd-ubuntu20.04-docker-8c-8g-5180 does not seem to be running inside a container 13:00:55 $ 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-534 -v /w/workspace/_app-service-configurable_PR-534:/w/workspace/_app-service-configurable_PR-534:rw,z -v /w/workspace/_app-service-configurable_PR-534@tmp:/w/workspace/_app-service-configurable_PR-534@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:00:55 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit 8af4f87585ca7a4dc592e77647aaaee3036be64a 13:00:55 Merge succeeded, producing 8af4f87585ca7a4dc592e77647aaaee3036be64a 13:00:55 Checking out Revision 8af4f87585ca7a4dc592e77647aaaee3036be64a (PR-534) 13:00:54 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:54 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:54 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/534/head:refs/remotes/origin/PR-534 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:55 > git config core.sparsecheckout # timeout=10 13:00:55 > git checkout -f 8af4f87585ca7a4dc592e77647aaaee3036be64a # timeout=10 13:00:55 > git remote # timeout=10 13:00:55 > git config --get remote.origin.url # timeout=10 13:00:55 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:55 > git merge 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 13:00:55 > git rev-parse HEAD^{commit} # timeout=10 13:00:55 > git config core.sparsecheckout # timeout=10 13:00:55 > git checkout -f 8af4f87585ca7a4dc592e77647aaaee3036be64a # timeout=10 13:00:56 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:00:56 > git --version # timeout=10 13:00:56 > git --version # 'git version 2.25.1' 13:00:56 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 13:00:57 $ docker top f3ca7232d798ceb5a6f6a4d8128c11a349d53bb4c7d22990834ed2244c87e382 -eo pid,comm [Pipeline] { [Pipeline] libraryResource 13:00:57 13:00:57 GitHub has been notified of this commit’s build result 13:00:57 [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 13:00:57 ---> job-cost.sh 13:00:57 lf-activate-venv: SKIPPING 13:00:57 INFO: No Stack... [Pipeline] sh 13:00:57 INFO: Retrieving Pricing Info for: v3-standard-8 13:00:58 INFO: Archiving Costs [Pipeline] sh 13:00:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:00:58 % Total % Received % Xferd Average Speed Time Time Time Current 13:00:58 Dload Upload Total Spent Left Speed 13:00:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 13:00:58 + cat /w/workspace/_app-service-configurable_PR-534/archives/cost.csv 13:00:58 + cut -d, -f6 [Pipeline] lock 13:00:58 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-534-1-stack-cost] 13:00:58 Resource [jenkins-edgexfoundry-app-service-configurable-PR-534-1-stack-cost] did not exist. Created. 13:00:58 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-534-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh 13:00:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:00:59 + echo total: 0.2199999988079071 [Pipeline] stash 13:00:59 Stashed 1 file(s) [Pipeline] } 13:00:59 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-534-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:00:59 $ docker stop --time=1 f3ca7232d798ceb5a6f6a4d8128c11a349d53bb4c7d22990834ed2244c87e382 13:00:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:00:59 + sudo tee /etc/docker/daemon.new 13:01:00 $ docker rm -f --volumes f3ca7232d798ceb5a6f6a4d8128c11a349d53bb4c7d22990834ed2244c87e382 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 13:01:00 { 13:01:00 "registry-mirrors": [ 13:01:00 "https://nexus3.edgexfoundry.org:10001" 13:01:00 ], 13:01:00 "bip": "10.250.0.254/24", 13:01:00 "hosts": [ 13:01:00 "tcp://0.0.0.0:5555", 13:01:00 "unix:///var/run/docker.sock" 13:01:00 ], 13:01:00 "mtu": 1458, 13:01:00 "selinux-enabled": true, 13:01:00 "seccomp-profile": "/etc/docker/seccomp.json" 13:01:00 } [Pipeline] // stage [Pipeline] } [Pipeline] sh 13:01:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:01:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:19 provisioning config files... 13:01:19 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config10432609382091477902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:20 ---> docker-login.sh 13:01:20 nexus3.edgexfoundry.org:10001 13:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:20 Configure a credential helper to remove this warning. See 13:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:20 13:01:20 Login Succeeded 13:01:20 nexus3.edgexfoundry.org:10002 13:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:21 Configure a credential helper to remove this warning. See 13:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:21 13:01:21 Login Succeeded 13:01:21 nexus3.edgexfoundry.org:10003 13:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:21 Configure a credential helper to remove this warning. See 13:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:21 13:01:21 Login Succeeded 13:01:21 nexus3.edgexfoundry.org:10004 13:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:22 Configure a credential helper to remove this warning. See 13:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:22 13:01:22 Login Succeeded 13:01:22 docker.io 13:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:22 Configure a credential helper to remove this warning. See 13:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:22 13:01:22 Login Succeeded 13:01:22 ---> docker-login.sh ends [Pipeline] } 13:01:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:01:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:23 ========================================================= 13:01:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:01:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:01:23 Sending build context to Docker daemon 173.6kB 13:01:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:01:23 Step 2/12 : FROM ${BASE} AS builder 13:01:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:01:24 af6eaf76a39c: Pulling fs layer 13:01:24 55522c791124: Pulling fs layer 13:01:24 ce5c4a1c91eb: Pulling fs layer 13:01:24 169dfbe0d373: Pulling fs layer 13:01:24 e1ff8fa3b103: Pulling fs layer 13:01:24 52ebb69f0ebf: Pulling fs layer 13:01:24 5abe8eddf0d5: Pulling fs layer 13:01:24 52ebb69f0ebf: Waiting 13:01:24 5abe8eddf0d5: Waiting 13:01:24 e1ff8fa3b103: Waiting 13:01:24 169dfbe0d373: Waiting 13:01:24 55522c791124: Download complete 13:01:24 169dfbe0d373: Download complete 13:01:24 e1ff8fa3b103: Verifying Checksum 13:01:24 e1ff8fa3b103: Download complete 13:01:24 af6eaf76a39c: Download complete 13:01:25 af6eaf76a39c: Pull complete 13:01:25 5abe8eddf0d5: Verifying Checksum 13:01:25 5abe8eddf0d5: Download complete 13:01:25 55522c791124: Pull complete 13:01:26 52ebb69f0ebf: Verifying Checksum 13:01:26 52ebb69f0ebf: Download complete 13:01:26 ce5c4a1c91eb: Verifying Checksum 13:01:26 ce5c4a1c91eb: Download complete 13:01:39 ce5c4a1c91eb: Pull complete 13:01:39 169dfbe0d373: Pull complete 13:01:39 e1ff8fa3b103: Pull complete 13:01:45 52ebb69f0ebf: Pull complete 13:01:46 5abe8eddf0d5: Pull complete 13:01:46 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:01:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:01:46 ---> 6cb57ee374ae 13:01:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:48 ---> Running in f871b0694bec 13:01:49 Removing intermediate container f871b0694bec 13:01:49 ---> 1e18643b080e 13:01:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:49 ---> Running in 7649b029e43e 13:01:49 Removing intermediate container 7649b029e43e 13:01:49 ---> e9c880dc7cb6 13:01:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:49 ---> Running in 92d4503cc58c 13:01:50 Removing intermediate container 92d4503cc58c 13:01:50 ---> 68675f272afd 13:01:50 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:50 ---> Running in b79f8bf5c675 13:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:01:53 OK: 263 MiB in 53 packages 13:01:53 Removing intermediate container b79f8bf5c675 13:01:53 ---> a3305cfc9e43 13:01:53 Step 7/12 : WORKDIR /app 13:01:54 ---> Running in 41f5a4d3ae4d 13:01:54 Removing intermediate container 41f5a4d3ae4d 13:01:54 ---> 88318d5895f6 13:01:54 Step 8/12 : COPY go.mod vendor* ./ 13:01:55 ---> 3b4bbb09dccc 13:01:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:55 ---> Running in 3d8c4fa3afa9 13:03:02 Removing intermediate container 3d8c4fa3afa9 13:03:02 ---> 412b579fefe3 13:03:02 Step 10/12 : COPY . . 13:03:02 ---> 64ebadd0cee6 13:03:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:02 ---> Running in d5ae42dec5c1 13:03:02 Removing intermediate container d5ae42dec5c1 13:03:02 ---> 76896a20e74d 13:03:02 Step 12/12 : RUN $MAKE 13:03:02 ---> Running in 7ea328d4987a 13:03:02 noop 13:03:02 Removing intermediate container 7ea328d4987a 13:03:02 ---> 85ff1abd15ba 13:03:02 Successfully built 85ff1abd15ba 13:03:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:03 + docker inspect -f . ci-base-image-arm64 13:03:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:03 prd-ubuntu20.04-docker-arm64-4c-16g-5181 does not seem to be running inside a container 13:03:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:03:04 $ docker top 2e0ef36c1ce8ca2557c81932bd1e5566939aca1f519262ee50ca2260237815e7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:05 + go version 13:03:05 go version go1.20.2 linux/arm64 [Pipeline] } 13:03:05 $ docker stop --time=1 2e0ef36c1ce8ca2557c81932bd1e5566939aca1f519262ee50ca2260237815e7 13:03:07 $ docker rm -f --volumes 2e0ef36c1ce8ca2557c81932bd1e5566939aca1f519262ee50ca2260237815e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:08 + docker inspect -f . ci-base-image-arm64 13:03:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:08 prd-ubuntu20.04-docker-arm64-4c-16g-5181 does not seem to be running inside a container 13:03:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:03:11 $ docker top 52bf05cfaa787ff0cc287070302a640c74e92d7920435070bdb2bbf9c32c00aa -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:12 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:03:12 + make test 13:03:12 go test -race -coverprofile=coverage.out ./... 13:05:49 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:05:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:05:49 go vet ./... 13:08:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:08:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:08:10 ./bin/test-attribution-txt.sh 13:08:10 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:08:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:08:11 $ docker stop --time=1 52bf05cfaa787ff0cc287070302a640c74e92d7920435070bdb2bbf9c32c00aa 13:08:13 $ docker rm -f --volumes 52bf05cfaa787ff0cc287070302a640c74e92d7920435070bdb2bbf9c32c00aa [Pipeline] // withDockerContainer [Pipeline] sh 13:08:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:08:15 Warning: overwriting stash ‘coverage-report’ 13:08:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:08:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:08:16 + ls -al . 13:08:16 total 172 13:08:16 drwxrwxr-x 7 jenkins jenkins 4096 Mar 22 13:03 . 13:08:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 13:00 .. 13:08:16 -rw-rw-r-- 1 jenkins jenkins 119 Mar 22 13:00 .dockerignore 13:08:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 13:00 .git 13:08:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 13:00 .github 13:08:16 -rw-rw-r-- 1 jenkins jenkins 171 Mar 22 13:00 .gitignore 13:08:16 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 13:00 .golangci.yml 13:08:16 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 22 13:00 Attribution.txt 13:08:16 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 22 13:00 CHANGELOG.md 13:08:16 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 22 13:00 Dockerfile 13:08:16 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 13:00 GOVERNANCE.md 13:08:16 -rw-rw-r-- 1 jenkins jenkins 688 Mar 22 13:00 Jenkinsfile 13:08:16 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 22 13:00 LICENSE 13:08:16 -rw-rw-r-- 1 jenkins jenkins 618 Mar 22 13:00 OWNERS.md 13:08:16 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 22 13:00 README.md 13:08:16 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 12:58 VERSION 13:08:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 13:00 bin 13:08:16 -rw-r--r-- 1 jenkins jenkins 13 Mar 22 13:03 coverage.out 13:08:16 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 22 13:00 go.mod 13:08:16 -rw-rw-r-- 1 jenkins jenkins 31037 Mar 22 13:00 go.sum 13:08:16 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 22 13:00 main.go 13:08:16 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 22 13:00 makefile 13:08:16 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 13:00 res 13:08:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:16 + 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=8af4f87585ca7a4dc592e77647aaaee3036be64a --label arch=arm64 --label version=0.0.0 . 13:08:16 Sending build context to Docker daemon 174.6kB 13:08:17 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:08:17 Step 2/26 : FROM ${BASE} AS builder 13:08:17 ---> 85ff1abd15ba 13:08:17 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:08:17 ---> Running in 12b290f93316 13:08:17 Removing intermediate container 12b290f93316 13:08:17 ---> 5a3ee26e1ea8 13:08:17 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:08:17 ---> Running in 6adc99942a5a 13:08:17 Removing intermediate container 6adc99942a5a 13:08:17 ---> 16597fb96c0e 13:08:17 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:08:17 ---> Running in 485dd485ca88 13:08:18 Removing intermediate container 485dd485ca88 13:08:18 ---> 34d06e8d9f1f 13:08:18 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:08:18 ---> Running in d480b6c2c4c9 13:08:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:08:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:08:21 OK: 263 MiB in 53 packages 13:08:21 Removing intermediate container d480b6c2c4c9 13:08:21 ---> aa4567beed6e 13:08:21 Step 7/26 : WORKDIR /app 13:08:21 ---> Running in 557894c41019 13:08:22 Removing intermediate container 557894c41019 13:08:22 ---> d7317835e6e8 13:08:22 Step 8/26 : COPY go.mod vendor* ./ 13:08:25 ---> 53f9623cc1c1 13:08:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:08:25 ---> Running in d5bcb3505f6c 13:08:28 Removing intermediate container d5bcb3505f6c 13:08:28 ---> 4326d0f567d9 13:08:28 Step 10/26 : COPY . . 13:08:28 ---> 5cab1857f5d8 13:08:28 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:08:28 ---> Running in 00d583c467de 13:08:29 Removing intermediate container 00d583c467de 13:08:29 ---> 8984d9264b17 13:08:29 Step 12/26 : RUN $MAKE 13:08:29 ---> Running in fb6a54a732a4 13:08:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.44 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:10:36 Removing intermediate container fb6a54a732a4 13:10:36 ---> 8721dafab643 13:10:36 Step 13/26 : FROM alpine:3.17 13:10:36 3.17: Pulling from library/alpine 13:10:36 af6eaf76a39c: Already exists 13:10:36 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:10:36 Status: Downloaded newer image for alpine:3.17 13:10:36 ---> d74e625d9115 13:10:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:10:36 ---> Running in 21638a1c1359 13:10:36 Removing intermediate container 21638a1c1359 13:10:36 ---> 7302c0becf58 13:10:36 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:10:36 ---> Running in 821d34dc9583 13:10:37 Removing intermediate container 821d34dc9583 13:10:37 ---> f61bfc41644c 13:10:37 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:10:37 ---> Running in 1afc5459ff88 13:10:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:10:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:10:40 (1/2) Installing ca-certificates (20220614-r4) 13:10:40 (2/2) Installing dumb-init (1.2.5-r2) 13:10:40 Executing busybox-1.35.0-r29.trigger 13:10:40 Executing ca-certificates-20220614-r4.trigger 13:10:40 OK: 8 MiB in 17 packages 13:10:41 Removing intermediate container 1afc5459ff88 13:10:41 ---> 928722562509 13:10:41 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:10:41 ---> 3a077a43d0e9 13:10:41 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:10:42 ---> a75ffe847322 13:10:42 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:10:43 ---> b06d79501031 13:10:43 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:10:44 ---> 1560a66903a9 13:10:44 Step 21/26 : EXPOSE 48095 13:10:44 ---> Running in fe61896b2654 13:10:44 Removing intermediate container fe61896b2654 13:10:44 ---> d523189188a0 13:10:44 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:10:44 ---> Running in 4f7954410cc5 13:10:45 Removing intermediate container 4f7954410cc5 13:10:45 ---> 49b7f2207cf6 13:10:45 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:10:45 ---> Running in 6d2d80affde8 13:10:45 Removing intermediate container 6d2d80affde8 13:10:45 ---> 682de432034a 13:10:45 Step 24/26 : LABEL arch=arm64 13:10:45 ---> Running in ef4b48af7d88 13:10:45 Removing intermediate container ef4b48af7d88 13:10:45 ---> d6bfed48aaf8 13:10:45 Step 25/26 : LABEL git_sha=8af4f87585ca7a4dc592e77647aaaee3036be64a 13:10:45 ---> Running in 00cffc3a622c 13:10:46 Removing intermediate container 00cffc3a622c 13:10:46 ---> e02e5744e875 13:10:46 Step 26/26 : LABEL version=0.0.0 13:10:46 ---> Running in d389205c2011 13:10:46 Removing intermediate container d389205c2011 13:10:46 ---> 2ba67118a573 13:10:46 [Warning] One or more build-args [ARCH] were not consumed 13:10:46 Successfully built 2ba67118a573 13:10:46 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:47 13:10:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:47 arm64: Pulling from edgex-lftools-log-publisher 13:10:47 8998bd30e6a1: Pulling fs layer 13:10:47 04944245beec: Pulling fs layer 13:10:47 699f458cf7ca: Pulling fs layer 13:10:47 765212b225bb: Pulling fs layer 13:10:47 f23df028b6ca: Pulling fs layer 13:10:47 d65c8cfc05b1: Pulling fs layer 13:10:47 2437ff75d9bd: Pulling fs layer 13:10:47 765212b225bb: Waiting 13:10:47 f23df028b6ca: Waiting 13:10:47 2437ff75d9bd: Waiting 13:10:47 d65c8cfc05b1: Waiting 13:10:47 04944245beec: Verifying Checksum 13:10:47 04944245beec: Download complete 13:10:47 765212b225bb: Verifying Checksum 13:10:47 765212b225bb: Download complete 13:10:47 f23df028b6ca: Download complete 13:10:47 d65c8cfc05b1: Verifying Checksum 13:10:47 d65c8cfc05b1: Download complete 13:10:48 699f458cf7ca: Verifying Checksum 13:10:48 699f458cf7ca: Download complete 13:10:48 8998bd30e6a1: Verifying Checksum 13:10:48 8998bd30e6a1: Download complete 13:10:50 2437ff75d9bd: Verifying Checksum 13:10:50 2437ff75d9bd: Download complete 13:10:52 8998bd30e6a1: Pull complete 13:10:53 04944245beec: Pull complete 13:10:54 699f458cf7ca: Pull complete 13:10:54 765212b225bb: Pull complete 13:10:55 f23df028b6ca: Pull complete 13:10:55 d65c8cfc05b1: Pull complete 13:11:10 2437ff75d9bd: Pull complete 13:11:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:11:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:11 prd-ubuntu20.04-docker-arm64-4c-16g-5181 does not seem to be running inside a container 13:11:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:11:13 $ docker top e915f32fa5fe436f9ea9b1093bd3295fb0a1baa3d87a4b2dc24801a23fb3d276 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:14 ---> job-cost.sh 13:11:14 lf-activate-venv: SKIPPING 13:11:14 INFO: No Stack... 13:11:15 INFO: Retrieving Pricing Info for: v3-standard-4 13:11:15 INFO: Archiving Costs [Pipeline] sh 13:11:16 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:11:16 + cut -d, -f6 [Pipeline] lock 13:11:16 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-534-1-stack-cost] 13:11:16 Resource [jenkins-edgexfoundry-app-service-configurable-PR-534-1-stack-cost] did not exist. Created. 13:11:16 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-534-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:17 /w/workspace/app-service-configurable/1@tmp/durable-e16a0276/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:11:18 + echo total: 0.10999999940395355 [Pipeline] stash 13:11:18 Warning: overwriting stash ‘stack-cost’ 13:11:18 Stashed 1 file(s) [Pipeline] } 13:11:18 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-534-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:18 $ docker stop --time=1 e915f32fa5fe436f9ea9b1093bd3295fb0a1baa3d87a4b2dc24801a23fb3d276 13:11:19 $ docker rm -f --volumes e915f32fa5fe436f9ea9b1093bd3295fb0a1baa3d87a4b2dc24801a23fb3d276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:11:20 provisioning config files... 13:11:20 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-534@tmp/config2085551475170661040tmp [Pipeline] { [Pipeline] sh 13:11:21 + set +x 13:11:21 + bash -s -- 13:11:21 + curl -s https://codecov.io/bash 13:11:21 13:11:21 _____ _ 13:11:21 / ____| | | 13:11:21 | | ___ __| | ___ ___ _____ __ 13:11:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:11:21 | |___| (_) | (_| | __/ (_| (_) \ V / 13:11:21 \_____\___/ \__,_|\___|\___\___/ \_/ 13:11:21 Bash-1.0.6 13:11:21 13:11:21 13:11:21 ==> git version 2.25.1 found 13:11:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:11:21 Release-Date: 2020-01-08 13:11:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:11:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:11:21 ==> Jenkins CI detected. 13:11:21 current dir:  /w/workspace/_app-service-configurable_PR-534 13:11:21 project root: . 13:11:21 --> token set from env 13:11:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:11:21 ==> Running gcov in . (disable via -X gcov) 13:11:21 ==> Python coveragepy not found 13:11:21 ==> Searching for coverage reports in: 13:11:21 + . 13:11:21 -> Found 1 reports 13:11:21 ==> Detecting git/mercurial file structure 13:11:21 ==> Reading reports 13:11:21 + ./coverage.out bytes=13 13:11:21 ==> Appending adjustments 13:11:21 https://docs.codecov.io/docs/fixing-reports 13:11:21 + Found adjustments 13:11:21 ==> Gzipping contents 13:11:21 4.0K /tmp/codecov.KOIvsV.gz 13:11:21 ==> Uploading reports 13:11:21 url: https://codecov.io 13:11:21 query: branch=PR-534&commit=8af4f87585ca7a4dc592e77647aaaee3036be64a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-534%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=534&job=&cmd_args= 13:11:21 -> Pinging Codecov 13:11:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-534&commit=8af4f87585ca7a4dc592e77647aaaee3036be64a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-534%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=534&job=&cmd_args= 13:11:21 -> Uploading to 13:11:21 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/A97CA9966030D2A3747ED39772930CCE/8af4f87585ca7a4dc592e77647aaaee3036be64a/93ef7114-c671-40c2-906c-dcabda9dba87.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T131121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da5eab5b87ea787dae71df7d9e86cd5c7e05ddfc4783d530175d39983580d485 13:11:21 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:21 Dload Upload Total Spent Left Speed 13:11:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 509 0 0 100 509 0 1696 --:--:-- --:--:-- --:--:-- 1696 13:11:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/8af4f87585ca7a4dc592e77647aaaee3036be64a [Pipeline] } 13:11:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:11:23 + [ -d /w/workspace/_app-service-configurable_PR-534/archives ] 13:11:23 + ls -al /w/workspace/_app-service-configurable_PR-534/archives 13:11:23 total 16 13:11:23 drwxr-xr-x 3 root root 4096 Mar 22 13:00 . 13:11:23 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 13:00 .. 13:11:23 drwxr-xr-x 2 root root 4096 Mar 22 13:00 cost 13:11:23 -rw-r--r-- 1 root root 96 Mar 22 13:00 cost.csv 13:11:23 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-534/archives 13:11:23 + ls -al /w/workspace/_app-service-configurable_PR-534/archives 13:11:23 total 16 13:11:23 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 13:00 . 13:11:23 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 13:00 .. 13:11:23 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 13:00 cost 13:11:23 -rw-r--r-- 1 jenkins jenkins 96 Mar 22 13:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:11:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:11:24 ---> package-listing.sh 13:11:24 ++ tr '[:upper:]' '[:lower:]' 13:11:24 ++ facter osfamily 13:11:25 + OS_FAMILY=debian 13:11:25 + workspace=/w/workspace/_app-service-configurable_PR-534 13:11:25 + START_PACKAGES=/tmp/packages_start.txt 13:11:25 + END_PACKAGES=/tmp/packages_end.txt 13:11:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:11:25 + PACKAGES=/tmp/packages_start.txt 13:11:25 + '[' /w/workspace/_app-service-configurable_PR-534 ']' 13:11:25 + PACKAGES=/tmp/packages_end.txt 13:11:25 + case "${OS_FAMILY}" in 13:11:25 + dpkg -l 13:11:25 + grep '^ii' 13:11:25 + '[' -f /tmp/packages_start.txt ']' 13:11:25 + '[' -f /tmp/packages_end.txt ']' 13:11:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:11:25 + '[' /w/workspace/_app-service-configurable_PR-534 ']' 13:11:25 + mkdir -p /w/workspace/_app-service-configurable_PR-534/archives/ 13:11:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-534/archives/ [Pipeline] echo 13:11:25 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-534/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:11:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:26 prd-ubuntu20.04-docker-8c-8g-5180 does not seem to be running inside a container 13:11:26 $ 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-534/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-534 -v /w/workspace/_app-service-configurable_PR-534:/w/workspace/_app-service-configurable_PR-534:rw,z -v /w/workspace/_app-service-configurable_PR-534@tmp:/w/workspace/_app-service-configurable_PR-534@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:11:26 $ docker top 32f1f616ebbf3933978fdcf23564b4568aaeef9e344dd797e0ab9f1af05684ea -eo pid,comm [Pipeline] { [Pipeline] sh 13:11:26 + touch /tmp/pre-build-complete [Pipeline] sh 13:11:27 + mkdir -p /var/log/sysstat [Pipeline] sh 13:11:27 + ls /var/log/sa-host 13:11:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:27 provisioning config files... 13:11:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-534@tmp/config9799118321070736336tmp [Pipeline] { [Pipeline] echo 13:11:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:11:28 ---> create-netrc.sh [Pipeline] } 13:11:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:11:28 ---> python-tools-install.sh [Pipeline] echo 13:11:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:11:28 ---> sudo-logs.sh 13:11:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:11:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:11:29 ---> job-cost.sh 13:11:29 lf-activate-venv: SKIPPING 13:11:29 DEBUG: total: 0.2199999988079071 13:11:29 INFO: Retrieving Stack Cost... 13:11:29 INFO: Retrieving Pricing Info for: v3-standard-8 13:11:30 INFO: Archiving Costs [Pipeline] echo 13:11:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:11:30 ---> logs-deploy.sh 13:11:30 lf-activate-venv: SKIPPING 13:11:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-534/1 13:11:30 INFO: archiving workspace using pattern(s): 13:11:31 Archives upload complete. 13:11:31 INFO: archiving logs to Nexus