Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 6ea7de7037f69387958e609f1deec0c61dae2d1a rather than 8293920925f4f079b61c282a3a61d6ca55e2fbfb Obtained Jenkinsfile from 6ea7de7037f69387958e609f1deec0c61dae2d1a Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6017290614804730231.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-ssh417789464778243511.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8761017191437454096.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9447918465316440471.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15387547346407007554.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5838 in /w/workspace/_app-service-configurable_PR-535 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-535 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ea7de7037f69387958e609f1deec0c61dae2d1a into PR head commit 8293920925f4f079b61c282a3a61d6ca55e2fbfb Merge succeeded, producing 7020eec2b229be1b577433def7b28fc6aafb3182 Checking out Revision 7020eec2b229be1b577433def7b28fc6aafb3182 (PR-535) > git config core.sparsecheckout # timeout=10 > git checkout -f 8293920925f4f079b61c282a3a61d6ca55e2fbfb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6ea7de7037f69387958e609f1deec0c61dae2d1a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7020eec2b229be1b577433def7b28fc6aafb3182 # timeout=10 Commit message: "Merge commit '6ea7de7037f69387958e609f1deec0c61dae2d1a' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk d6130458692c7342a0b914e865cf1e41a2b5e0cd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:52:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:52:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:52:24 ========================================================= 04:52:24 EdgeX Global Pipelines Version Info 04:52:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:52:24 ------------------- 04:52:24 stable info: 04:52:24 ------------------- 04:52:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:52:24 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 04:52:24 Message: update stable to v1.0.245 04:52:25 ------------------- 04:52:25 experimental info: 04:52:25 ------------------- 04:52:25 Commited By: **** collab-it+edgex@linuxfoundation.org 04:52:25 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 04:52:25 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo 04:52:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7020eec2b229be1b577433def7b28fc6aafb3182 [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7020eec [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:26 provisioning config files... 04:52:26 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config12617310665395033179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:26 ---> docker-login.sh 04:52:26 nexus3.edgexfoundry.org:10001 04:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:26 Configure a credential helper to remove this warning. See 04:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:26 04:52:26 Login Succeeded 04:52:26 nexus3.edgexfoundry.org:10002 04:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:26 Configure a credential helper to remove this warning. See 04:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:26 04:52:26 Login Succeeded 04:52:26 nexus3.edgexfoundry.org:10003 04:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:26 Configure a credential helper to remove this warning. See 04:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:26 04:52:26 Login Succeeded 04:52:26 nexus3.edgexfoundry.org:10004 04:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:27 Configure a credential helper to remove this warning. See 04:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:27 04:52:27 Login Succeeded 04:52:27 docker.io 04:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:27 Configure a credential helper to remove this warning. See 04:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:27 04:52:27 Login Succeeded 04:52:27 ---> docker-login.sh ends [Pipeline] } 04:52:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:52:27 + git rev-list -1 --merges 7020eec2b229be1b577433def7b28fc6aafb3182~1..7020eec2b229be1b577433def7b28fc6aafb3182 [Pipeline] echo 04:52:27 -----------> git rev-list -1 --merges 7020eec2b229be1b577433def7b28fc6aafb3182~1..7020eec2b229be1b577433def7b28fc6aafb3182 7020eec2b229be1b577433def7b28fc6aafb3182 04:52:27 7020eec2b229be1b577433def7b28fc6aafb3182 [false] [Pipeline] sh 04:52:28 + git log --format=format:%s -1 7020eec2b229be1b577433def7b28fc6aafb3182 [Pipeline] echo 04:52:28 ========================================================= 04:52:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:52:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:28 + git log --format=format:%s -1 7020eec2b229be1b577433def7b28fc6aafb3182 [Pipeline] echo 04:52:28 [semverPrep] GIT_COMMIT: 7020eec2b229be1b577433def7b28fc6aafb3182, Commit Message: Merge commit '6ea7de7037f69387958e609f1deec0c61dae2d1a' into HEAD [Pipeline] echo 04:52:28 [semverPrep] This is not a build commit. [Pipeline] sh 04:52:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:28 + grep -v github /etc/ssh/ssh_known_hosts 04:52:28 + [ -e /tmp/ssh_known_hosts ] 04:52:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:52:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:52:28 + sudo tee -a /etc/ssh/ssh_known_hosts 04:52:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:29 04:52:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:29 0.1.4: Pulling from edgex-devops/py-git-semver 04:52:29 b85a868b505f: Pulling fs layer 04:52:29 e2be974225ed: Pulling fs layer 04:52:29 339a4e72a1f5: Pulling fs layer 04:52:29 988bab9f4d93: Pulling fs layer 04:52:29 1469e6f7b9e6: Pulling fs layer 04:52:29 eaf3925da568: Pulling fs layer 04:52:29 988bab9f4d93: Waiting 04:52:29 bab4dde63d76: Pulling fs layer 04:52:29 1469e6f7b9e6: Waiting 04:52:29 bde34c3a00c8: Pulling fs layer 04:52:29 eaf3925da568: Waiting 04:52:29 bab4dde63d76: Waiting 04:52:29 b352a97aabf1: Pulling fs layer 04:52:29 bde34c3a00c8: Waiting 04:52:29 4872d77fe225: Pulling fs layer 04:52:29 5851b861e8e6: Pulling fs layer 04:52:29 4872d77fe225: Waiting 04:52:29 b352a97aabf1: Waiting 04:52:29 5851b861e8e6: Waiting 04:52:29 e2be974225ed: Download complete 04:52:29 988bab9f4d93: Download complete 04:52:29 1469e6f7b9e6: Verifying Checksum 04:52:29 1469e6f7b9e6: Download complete 04:52:29 eaf3925da568: Verifying Checksum 04:52:29 eaf3925da568: Download complete 04:52:29 339a4e72a1f5: Verifying Checksum 04:52:29 339a4e72a1f5: Download complete 04:52:29 bde34c3a00c8: Download complete 04:52:29 b352a97aabf1: Download complete 04:52:29 4872d77fe225: Download complete 04:52:29 5851b861e8e6: Verifying Checksum 04:52:29 5851b861e8e6: Download complete 04:52:29 b85a868b505f: Verifying Checksum 04:52:29 b85a868b505f: Download complete 04:52:30 bab4dde63d76: Verifying Checksum 04:52:30 bab4dde63d76: Download complete 04:52:31 b85a868b505f: Pull complete 04:52:31 e2be974225ed: Pull complete 04:52:31 339a4e72a1f5: Pull complete 04:52:31 988bab9f4d93: Pull complete 04:52:32 1469e6f7b9e6: Pull complete 04:52:32 eaf3925da568: Pull complete 04:52:34 bab4dde63d76: Pull complete 04:52:34 bde34c3a00c8: Pull complete 04:52:34 b352a97aabf1: Pull complete 04:52:34 4872d77fe225: Pull complete 04:52:34 5851b861e8e6: Pull complete 04:52:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:52:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:34 prd-ubuntu20.04-docker-8c-8g-5838 does not seem to be running inside a container 04:52:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:52:35 $ docker top 58adb8527a20fcea5f6c21475db815185b02377db24c85aac2d65d8f8348d4f1 -eo pid,comm 04:52:35 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). 04:52:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:36 [ssh-agent] Looking for ssh-agent implementation... 04:52:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:36 $ docker exec 58adb8527a20fcea5f6c21475db815185b02377db24c85aac2d65d8f8348d4f1 ssh-agent 04:52:36 SSH_AUTH_SOCK=/tmp/ssh-oT4bWgW0QSj2/agent.32 04:52:36 SSH_AGENT_PID=38 04:52:36 Running ssh-add (command line suppressed) 04:52:36 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_4928858124217757584.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_4928858124217757584.key) 04:52:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:36 + git tag --points-at HEAD [Pipeline] } 04:52:36 $ docker exec --env ******** --env ******** 58adb8527a20fcea5f6c21475db815185b02377db24c85aac2d65d8f8348d4f1 ssh-agent -k 04:52:36 unset SSH_AUTH_SOCK; 04:52:36 unset SSH_AGENT_PID; 04:52:36 echo Agent pid 38 killed; 04:52:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:52:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:36 [ssh-agent] Looking for ssh-agent implementation... 04:52:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:36 $ docker exec 58adb8527a20fcea5f6c21475db815185b02377db24c85aac2d65d8f8348d4f1 ssh-agent 04:52:37 SSH_AUTH_SOCK=/tmp/ssh-aKxdNqc7A0Dw/agent.71 04:52:37 SSH_AGENT_PID=77 04:52:37 Running ssh-add (command line suppressed) 04:52:37 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_17459051575733193134.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_17459051575733193134.key) 04:52:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:37 + git semver init 04:52:37 2023-03-26 04:52:37,676 [run_init] DEBUG init version:0.0.0 force:False 04:52:37 2023-03-26 04:52:37,676 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-535/.semver 04:52:37 2023-03-26 04:52:37,677 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-535/.semver 04:52:37 2023-03-26 04:52:37,677 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-535/.semver'], cwd=/w/workspace/_app-service-configurable_PR-535, universal_newlines=False, shell=None, istream=None) 04:52:38 2023-03-26 04:52:38,439 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-535/.git/info/exclude 04:52:38 2023-03-26 04:52:38,439 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 with force:False 04:52:38 2023-03-26 04:52:38,440 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 04:52:38 2023-03-26 04:52:38,444 [execute] INFO git cat-file --batch-check 04:52:38 2023-03-26 04:52:38,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 04:52:38 2023-03-26 04:52:38,451 [execute] INFO git cat-file --batch 04:52:38 2023-03-26 04:52:38,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 04:52:38 2023-03-26 04:52:38,458 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-535/.semver/PR-535 04:52:38 0.0.0 [Pipeline] } 04:52:38 $ docker exec --env ******** --env ******** 58adb8527a20fcea5f6c21475db815185b02377db24c85aac2d65d8f8348d4f1 ssh-agent -k 04:52:38 unset SSH_AUTH_SOCK; 04:52:38 unset SSH_AGENT_PID; 04:52:38 echo Agent pid 77 killed; 04:52:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:39 + git semver [Pipeline] } 04:52:39 $ docker stop --time=1 58adb8527a20fcea5f6c21475db815185b02377db24c85aac2d65d8f8348d4f1 04:52:40 $ docker rm -f --volumes 58adb8527a20fcea5f6c21475db815185b02377db24c85aac2d65d8f8348d4f1 [Pipeline] // withDockerContainer [Pipeline] sh 04:52:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:52:41 Stashed 1 file(s) [Pipeline] echo 04:52:41 [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 04:52:41 provisioning config files... 04:52:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config15896276125366634589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:41 ---> docker-login.sh 04:52:41 nexus3.edgexfoundry.org:10001 04:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:41 Configure a credential helper to remove this warning. See 04:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:41 04:52:41 Login Succeeded 04:52:41 nexus3.edgexfoundry.org:10002 04:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:41 Configure a credential helper to remove this warning. See 04:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:41 04:52:41 Login Succeeded 04:52:41 nexus3.edgexfoundry.org:10003 04:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 nexus3.edgexfoundry.org:10004 04:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 docker.io 04:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 ---> docker-login.sh ends [Pipeline] } 04:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:52:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:42 ========================================================= 04:52:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:52:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:42 + 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 . 04:52:42 Sending build context to Docker daemon 3.24MB 04:52:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:52:42 Step 2/12 : FROM ${BASE} AS builder 04:52:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:52:42 63b65145d645: Pulling fs layer 04:52:42 a2d21d5440eb: Pulling fs layer 04:52:42 935e6c44a52c: Pulling fs layer 04:52:42 94cc34f8dd06: Pulling fs layer 04:52:42 30dea6a524f1: Pulling fs layer 04:52:42 a2aff8979fd8: Pulling fs layer 04:52:42 6808be2612f2: Pulling fs layer 04:52:42 f25807f1079a: Pulling fs layer 04:52:42 94cc34f8dd06: Waiting 04:52:42 30dea6a524f1: Waiting 04:52:42 a2aff8979fd8: Waiting 04:52:42 6808be2612f2: Waiting 04:52:42 f25807f1079a: Waiting 04:52:42 a2d21d5440eb: Verifying Checksum 04:52:42 a2d21d5440eb: Download complete 04:52:42 94cc34f8dd06: Verifying Checksum 04:52:42 94cc34f8dd06: Download complete 04:52:42 30dea6a524f1: Download complete 04:52:42 63b65145d645: Verifying Checksum 04:52:42 63b65145d645: Download complete 04:52:42 a2aff8979fd8: Verifying Checksum 04:52:42 a2aff8979fd8: Download complete 04:52:42 63b65145d645: Pull complete 04:52:43 a2d21d5440eb: Pull complete 04:52:43 f25807f1079a: Verifying Checksum 04:52:43 f25807f1079a: Download complete 04:52:43 935e6c44a52c: Verifying Checksum 04:52:43 935e6c44a52c: Download complete 04:52:43 6808be2612f2: Verifying Checksum 04:52:43 6808be2612f2: Download complete 04:52:46 935e6c44a52c: Pull complete 04:52:46 94cc34f8dd06: Pull complete 04:52:47 30dea6a524f1: Pull complete 04:52:47 a2aff8979fd8: Pull complete 04:52:49 6808be2612f2: Pull complete 04:52:50 f25807f1079a: Pull complete 04:52:50 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:52:50 ---> 3b553350e43f 04:52:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:52:52 ---> Running in c87f192b010d 04:52:52 Removing intermediate container c87f192b010d 04:52:52 ---> 93e154f8f1ed 04:52:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:52:52 ---> Running in bbb2972b754f 04:52:52 Removing intermediate container bbb2972b754f 04:52:52 ---> 9070eac03686 04:52:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:52:52 ---> Running in cf07ecea195d 04:52:52 Removing intermediate container cf07ecea195d 04:52:52 ---> 72c2a7b87f21 04:52:52 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:52:52 ---> Running in 348bf4d53fc9 04:52:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:52:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:52:53 OK: 265 MiB in 53 packages 04:52:53 Removing intermediate container 348bf4d53fc9 04:52:53 ---> 3ba329be97ce 04:52:53 Step 7/12 : WORKDIR /app 04:52:53 ---> Running in 24ed05560059 04:52:53 Removing intermediate container 24ed05560059 04:52:53 ---> 900913eeecf7 04:52:53 Step 8/12 : COPY go.mod vendor* ./ 04:52:53 ---> ba48a2160998 04:52:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:53 ---> Running in 16806a8c4364 04:52:56 Still waiting to schedule task 04:52:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:54:01 Removing intermediate container 16806a8c4364 04:54:01 ---> 92bb19e9c92b 04:54:01 Step 10/12 : COPY . . 04:54:01 ---> d7fc735cd3bc 04:54:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:54:01 ---> Running in f2db0c2731ac 04:54:01 Removing intermediate container f2db0c2731ac 04:54:01 ---> 7cc75a1d7d07 04:54:01 Step 12/12 : RUN $MAKE 04:54:01 ---> Running in 31f9619510c1 04:54:01 noop 04:54:01 Removing intermediate container 31f9619510c1 04:54:01 ---> 1d8133089714 04:54:01 Successfully built 1d8133089714 04:54:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:01 + docker inspect -f . ci-base-image-x86_64 04:54:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:02 prd-ubuntu20.04-docker-8c-8g-5838 does not seem to be running inside a container 04:54:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:54:02 $ docker top f16e1c9140d4bb9759df2e392ec9cf2e17e34955c572bf6745d3767376233f75 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:02 + go version 04:54:02 go version go1.20.2 linux/amd64 [Pipeline] } 04:54:02 $ docker stop --time=1 f16e1c9140d4bb9759df2e392ec9cf2e17e34955c572bf6745d3767376233f75 04:54:04 $ docker rm -f --volumes f16e1c9140d4bb9759df2e392ec9cf2e17e34955c572bf6745d3767376233f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:04 + docker inspect -f . ci-base-image-x86_64 04:54:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:04 prd-ubuntu20.04-docker-8c-8g-5838 does not seem to be running inside a container 04:54:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:54:05 $ docker top a84d139eb6ce9474b4721352ea0094378c1353be84b354f9979c5f29c0dd0fb0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:05 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-535 [Pipeline] fileExists [Pipeline] sh 04:54:05 + make test 04:54:05 go test -race -coverprofile=coverage.out ./... 04:54:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5839 in /w/workspace/_app-service-configurable_PR-535 [Pipeline] { [Pipeline] ws 04:54:27 Running in /w/workspace/app-service-configurable/11 [Pipeline] { [Pipeline] checkout 04:54:27 Selected Git installation does not exist. Using Default 04:54:27 The recommended git tool is: NONE 04:54:27 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:54:32 using credential edgex-jenkins-ssh 04:54:32 Cloning the remote Git repository 04:54:32 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:54:32 > git init /w/workspace/app-service-configurable/11 # timeout=10 04:54:32 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:32 > git --version # timeout=10 04:54:32 > git --version # 'git version 2.25.1' 04:54:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:34 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:35 Merging remotes/origin/main commit 6ea7de7037f69387958e609f1deec0c61dae2d1a into PR head commit 8293920925f4f079b61c282a3a61d6ca55e2fbfb 04:54:36 Merge succeeded, producing 2cc2fdc1845ba68bfb275b9d02fb6321c6325825 04:54:36 Checking out Revision 2cc2fdc1845ba68bfb275b9d02fb6321c6325825 (PR-535) 04:54:35 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:35 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:54:35 > git config core.sparsecheckout # timeout=10 04:54:35 > git checkout -f 8293920925f4f079b61c282a3a61d6ca55e2fbfb # timeout=10 04:54:35 > git remote # timeout=10 04:54:35 > git config --get remote.origin.url # timeout=10 04:54:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:35 > git merge 6ea7de7037f69387958e609f1deec0c61dae2d1a # timeout=10 04:54:36 > git rev-parse HEAD^{commit} # timeout=10 04:54:36 > git config core.sparsecheckout # timeout=10 04:54:36 > git checkout -f 2cc2fdc1845ba68bfb275b9d02fb6321c6325825 # timeout=10 04:54:39 Commit message: "Merge commit '6ea7de7037f69387958e609f1deec0c61dae2d1a' into HEAD" 04:54:39 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:54:40 % Total % Received % Xferd Average Speed Time Time Time Current 04:54:40 Dload Upload Total Spent Left Speed 04:54:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 04:54:39 > git rev-list --no-walk d6130458692c7342a0b914e865cf1e41a2b5e0cd # timeout=10 04:54:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:54:41 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 04:54:41 /etc/docker/daemon.json 04:54:41 { 04:54:41 "registry-mirrors": [ 04:54:41 "https://nexus3.edgexfoundry.org:10001" 04:54:41 ], 04:54:41 "bip": "10.250.0.254/24", 04:54:41 "hosts": [ 04:54:41 "tcp://0.0.0.0:5555", 04:54:41 "unix:///var/run/docker.sock" 04:54:41 ], 04:54:41 "mtu": 1458, 04:54:41 "selinux-enabled": true, 04:54:41 "seccomp-profile": "/etc/docker/seccomp.json" 04:54:41 } [Pipeline] sh 04:54:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:54:42 + sudo service docker restart 04:54:45 go vet ./... 04:54:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:49 ./bin/test-attribution-txt.sh 04:54:49 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 04:54:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:54:49 $ docker stop --time=1 a84d139eb6ce9474b4721352ea0094378c1353be84b354f9979c5f29c0dd0fb0 04:54:51 $ docker rm -f --volumes a84d139eb6ce9474b4721352ea0094378c1353be84b354f9979c5f29c0dd0fb0 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:54:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:52 + ls -al . 04:54:52 total 176 04:54:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 04:54 . 04:54:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 04:52 .. 04:54:52 -rw-rw-r-- 1 jenkins jenkins 119 Mar 26 04:52 .dockerignore 04:54:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 04:52 .git 04:54:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 04:52 .github 04:54:52 -rw-rw-r-- 1 jenkins jenkins 171 Mar 26 04:52 .gitignore 04:54:52 -rw-rw-r-- 1 jenkins jenkins 41 Mar 26 04:52 .golangci.yml 04:54:52 drwxr-xr-x 3 jenkins jenkins 4096 Mar 26 04:52 .semver 04:54:52 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 26 04:52 Attribution.txt 04:54:52 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 26 04:52 CHANGELOG.md 04:54:52 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 26 04:52 Dockerfile 04:54:52 -rw-rw-r-- 1 jenkins jenkins 677 Mar 26 04:52 GOVERNANCE.md 04:54:52 -rw-rw-r-- 1 jenkins jenkins 688 Mar 26 04:52 Jenkinsfile 04:54:52 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 26 04:52 LICENSE 04:54:52 -rw-rw-r-- 1 jenkins jenkins 618 Mar 26 04:52 OWNERS.md 04:54:52 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 26 04:52 README.md 04:54:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 26 04:52 VERSION 04:54:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 04:52 bin 04:54:52 -rw-r--r-- 1 jenkins jenkins 13 Mar 26 04:54 coverage.out 04:54:52 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 26 04:52 go.mod 04:54:52 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 26 04:52 go.sum 04:54:52 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 26 04:52 main.go 04:54:52 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 26 04:52 makefile 04:54:52 drwxrwxr-x 9 jenkins jenkins 4096 Mar 26 04:52 res 04:54:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 04:52 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:53 + 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=7020eec2b229be1b577433def7b28fc6aafb3182 --label arch=amd64 --label version=0.0.0 . 04:54:53 Sending build context to Docker daemon 3.241MB 04:54:53 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:54:53 Step 2/26 : FROM ${BASE} AS builder 04:54:53 ---> 1d8133089714 04:54:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:54:53 ---> Running in 54d937bf97fb 04:54:53 Removing intermediate container 54d937bf97fb 04:54:53 ---> ff23e9a87f09 04:54:53 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:54:53 ---> Running in a02459cb6055 04:54:53 Removing intermediate container a02459cb6055 04:54:53 ---> 979a01865f03 04:54:53 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:54:53 ---> Running in 9fc02cea1ce1 04:54:53 Removing intermediate container 9fc02cea1ce1 04:54:53 ---> a2e4ac640a31 04:54:53 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:53 ---> Running in 96bbfd30a637 04:54:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:54:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:54:54 OK: 265 MiB in 53 packages 04:54:54 Removing intermediate container 96bbfd30a637 04:54:54 ---> b6db92b2a3a5 04:54:54 Step 7/26 : WORKDIR /app 04:54:54 ---> Running in 21ca51b11914 04:54:54 Removing intermediate container 21ca51b11914 04:54:54 ---> 6e3827fdecee 04:54:54 Step 8/26 : COPY go.mod vendor* ./ 04:54:54 ---> 89416e0762de 04:54:54 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:54 ---> Running in 60657692bc3b 04:54:55 Removing intermediate container 60657692bc3b 04:54:55 ---> f4b0a2ae274d 04:54:55 Step 10/26 : COPY . . 04:54:55 ---> ae01a571de98 04:54:55 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:54:56 ---> Running in 058acc41ff44 04:54:56 Removing intermediate container 058acc41ff44 04:54:56 ---> fa116880b282 04:54:56 Step 12/26 : RUN $MAKE 04:54:56 ---> Running in d628e5bfd69a 04:54:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:00 provisioning config files... 04:55:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/11@tmp/config10060533195512112879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:00 ---> docker-login.sh 04:55:00 nexus3.edgexfoundry.org:10001 04:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:01 Configure a credential helper to remove this warning. See 04:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:01 04:55:01 Login Succeeded 04:55:01 nexus3.edgexfoundry.org:10002 04:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:01 Configure a credential helper to remove this warning. See 04:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:01 04:55:01 Login Succeeded 04:55:01 nexus3.edgexfoundry.org:10003 04:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:02 Configure a credential helper to remove this warning. See 04:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:02 04:55:02 Login Succeeded 04:55:02 nexus3.edgexfoundry.org:10004 04:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:02 Configure a credential helper to remove this warning. See 04:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:02 04:55:02 Login Succeeded 04:55:02 docker.io 04:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:02 Configure a credential helper to remove this warning. See 04:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:02 04:55:02 Login Succeeded 04:55:02 ---> docker-login.sh ends [Pipeline] } 04:55:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:03 ========================================================= 04:55:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:55:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:03 + 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 . 04:55:03 Sending build context to Docker daemon 170kB 04:55:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:55:03 Step 2/12 : FROM ${BASE} AS builder 04:55:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:55:07 af6eaf76a39c: Pulling fs layer 04:55:07 55522c791124: Pulling fs layer 04:55:07 ce5c4a1c91eb: Pulling fs layer 04:55:07 169dfbe0d373: Pulling fs layer 04:55:07 e1ff8fa3b103: Pulling fs layer 04:55:07 52ebb69f0ebf: Pulling fs layer 04:55:07 5abe8eddf0d5: Pulling fs layer 04:55:07 e1ff8fa3b103: Waiting 04:55:07 52ebb69f0ebf: Waiting 04:55:07 5abe8eddf0d5: Waiting 04:55:07 169dfbe0d373: Waiting 04:55:07 55522c791124: Verifying Checksum 04:55:07 55522c791124: Download complete 04:55:07 169dfbe0d373: Verifying Checksum 04:55:07 169dfbe0d373: Download complete 04:55:07 e1ff8fa3b103: Verifying Checksum 04:55:07 e1ff8fa3b103: Download complete 04:55:07 af6eaf76a39c: Verifying Checksum 04:55:07 af6eaf76a39c: Download complete 04:55:07 5abe8eddf0d5: Verifying Checksum 04:55:07 5abe8eddf0d5: Download complete 04:55:07 af6eaf76a39c: Pull complete 04:55:08 55522c791124: Pull complete 04:55:09 52ebb69f0ebf: Download complete 04:55:09 ce5c4a1c91eb: Verifying Checksum 04:55:09 ce5c4a1c91eb: Download complete 04:55:14 Removing intermediate container d628e5bfd69a 04:55:14 ---> 7d9db275567c 04:55:14 Step 13/26 : FROM alpine:3.17 04:55:14 3.17: Pulling from library/alpine 04:55:14 63b65145d645: Already exists 04:55:14 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 04:55:14 Status: Downloaded newer image for alpine:3.17 04:55:14 ---> b2aa39c304c2 04:55:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:55:14 ---> Running in 1849135f085b 04:55:14 Removing intermediate container 1849135f085b 04:55:14 ---> 5cb8516ca2e6 04:55:14 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 04:55:14 ---> Running in 17b619802ad7 04:55:14 Removing intermediate container 17b619802ad7 04:55:14 ---> 5534c74ab645 04:55:14 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:55:14 ---> Running in 4dc60e3f943c 04:55:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:55:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:55:15 (1/2) Installing ca-certificates (20220614-r4) 04:55:15 (2/2) Installing dumb-init (1.2.5-r2) 04:55:15 Executing busybox-1.35.0-r29.trigger 04:55:15 Executing ca-certificates-20220614-r4.trigger 04:55:15 OK: 8 MiB in 17 packages 04:55:15 Removing intermediate container 4dc60e3f943c 04:55:15 ---> a5037d9caa62 04:55:15 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:55:16 ---> eceb36876aea 04:55:16 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:55:16 ---> a7f74ef0bbf6 04:55:16 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:55:16 ---> d9818ec66e2d 04:55:16 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:55:16 ---> 665195c98e68 04:55:16 Step 21/26 : EXPOSE 48095 04:55:16 ---> Running in 25f9b4e46d65 04:55:17 Removing intermediate container 25f9b4e46d65 04:55:17 ---> da4eb8859772 04:55:17 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 04:55:17 ---> Running in 032571f23226 04:55:17 Removing intermediate container 032571f23226 04:55:17 ---> 98d2503616dd 04:55:17 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:55:17 ---> Running in 9128ef70a993 04:55:17 Removing intermediate container 9128ef70a993 04:55:17 ---> 507fba3651f0 04:55:17 Step 24/26 : LABEL arch=amd64 04:55:17 ---> Running in c4f26810163d 04:55:17 Removing intermediate container c4f26810163d 04:55:17 ---> 0e02c15a8aa7 04:55:17 Step 25/26 : LABEL git_sha=7020eec2b229be1b577433def7b28fc6aafb3182 04:55:17 ---> Running in 0bbfa48003ab 04:55:17 Removing intermediate container 0bbfa48003ab 04:55:17 ---> 3c7006fa8def 04:55:17 Step 26/26 : LABEL version=0.0.0 04:55:17 ---> Running in 1122a07c09da 04:55:17 Removing intermediate container 1122a07c09da 04:55:17 ---> 2a1362a5c2ff 04:55:17 [Warning] One or more build-args [ARCH] were not consumed 04:55:17 Successfully built 2a1362a5c2ff 04:55:17 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 04:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:18 04:55:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:18 latest: Pulling from edgex-lftools-log-publisher 04:55:18 5eb5b503b376: Pulling fs layer 04:55:18 5c69ac0246d0: Pulling fs layer 04:55:18 ec43610c2a17: Pulling fs layer 04:55:18 3a2ae6a8a46f: Pulling fs layer 04:55:18 33b1e0a273af: Pulling fs layer 04:55:18 5d3b04190fa2: Pulling fs layer 04:55:18 3a2ae6a8a46f: Waiting 04:55:18 33b1e0a273af: Waiting 04:55:18 2f39f015ded8: Pulling fs layer 04:55:18 5d3b04190fa2: Waiting 04:55:18 2f39f015ded8: Waiting 04:55:18 5c69ac0246d0: Verifying Checksum 04:55:18 5c69ac0246d0: Download complete 04:55:18 3a2ae6a8a46f: Verifying Checksum 04:55:18 3a2ae6a8a46f: Download complete 04:55:18 33b1e0a273af: Verifying Checksum 04:55:18 33b1e0a273af: Download complete 04:55:18 5d3b04190fa2: Verifying Checksum 04:55:18 5d3b04190fa2: Download complete 04:55:18 ec43610c2a17: Verifying Checksum 04:55:18 ec43610c2a17: Download complete 04:55:18 5eb5b503b376: Verifying Checksum 04:55:18 5eb5b503b376: Download complete 04:55:19 2f39f015ded8: Download complete 04:55:19 5eb5b503b376: Pull complete 04:55:20 5c69ac0246d0: Pull complete 04:55:20 ec43610c2a17: Pull complete 04:55:20 3a2ae6a8a46f: Pull complete 04:55:20 33b1e0a273af: Pull complete 04:55:20 5d3b04190fa2: Pull complete 04:55:21 ce5c4a1c91eb: Pull complete 04:55:21 169dfbe0d373: Pull complete 04:55:21 e1ff8fa3b103: Pull complete 04:55:25 2f39f015ded8: Pull complete 04:55:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:55:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:25 prd-ubuntu20.04-docker-8c-8g-5838 does not seem to be running inside a container 04:55:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:55:27 $ docker top 1ff0b30d2eccd4e603b9430b89e37bae9ee307d97f5a1c7c401f7f259e3fa564 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:27 ---> job-cost.sh 04:55:27 lf-activate-venv: SKIPPING 04:55:27 INFO: No Stack... 04:55:28 INFO: Retrieving Pricing Info for: v3-standard-8 04:55:28 INFO: Archiving Costs [Pipeline] sh 04:55:28 52ebb69f0ebf: Pull complete 04:55:28 + + cat /w/workspace/_app-service-configurable_PR-535/archives/cost.csv 04:55:28 cut -d, -f6 [Pipeline] lock 04:55:28 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-11-stack-cost] 04:55:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-11-stack-cost] did not exist. Created. 04:55:28 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:55:28 + echo total: 0.2199999988079071 [Pipeline] stash 04:55:28 Stashed 1 file(s) [Pipeline] } 04:55:28 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-11-stack-cost] [Pipeline] // lock [Pipeline] } 04:55:28 $ docker stop --time=1 1ff0b30d2eccd4e603b9430b89e37bae9ee307d97f5a1c7c401f7f259e3fa564 04:55:29 5abe8eddf0d5: Pull complete 04:55:29 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:55:29 ---> 6cb57ee374ae 04:55:29 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:55:30 $ docker rm -f --volumes 1ff0b30d2eccd4e603b9430b89e37bae9ee307d97f5a1c7c401f7f259e3fa564 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:55:31 ---> Running in fc75311c6495 04:55:31 Removing intermediate container fc75311c6495 04:55:31 ---> 976e2cc419ef 04:55:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:55:31 ---> Running in 1ee60fdca88f 04:55:32 Removing intermediate container 1ee60fdca88f 04:55:32 ---> 909430e2124e 04:55:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:55:32 ---> Running in d3e2a223bfe3 04:55:32 Removing intermediate container d3e2a223bfe3 04:55:32 ---> 5e23d5bd480d 04:55:32 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:32 ---> Running in 23e2785eac83 04:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:55:35 OK: 263 MiB in 53 packages 04:55:36 Removing intermediate container 23e2785eac83 04:55:36 ---> 7520adb40dcd 04:55:36 Step 7/12 : WORKDIR /app 04:55:36 ---> Running in 3635570c289c 04:55:36 Removing intermediate container 3635570c289c 04:55:36 ---> 0f84de3f7604 04:55:36 Step 8/12 : COPY go.mod vendor* ./ 04:55:37 ---> f5908b5bb218 04:55:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:37 ---> Running in b875a96494e9 04:56:45 Removing intermediate container b875a96494e9 04:56:45 ---> c9f04bc1ced4 04:56:45 Step 10/12 : COPY . . 04:56:45 ---> ec37c5a7d73d 04:56:45 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:56:45 ---> Running in 28ac76507971 04:56:45 Removing intermediate container 28ac76507971 04:56:45 ---> 27a837084fda 04:56:45 Step 12/12 : RUN $MAKE 04:56:45 ---> Running in 5dbaf9338d92 04:56:45 noop 04:56:45 Removing intermediate container 5dbaf9338d92 04:56:45 ---> 3edd0555b96d 04:56:45 Successfully built 3edd0555b96d 04:56:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:45 + docker inspect -f . ci-base-image-arm64 04:56:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:45 prd-ubuntu20.04-docker-arm64-4c-16g-5839 does not seem to be running inside a container 04:56:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/11 -v /w/workspace/app-service-configurable/11:/w/workspace/app-service-configurable/11:rw,z -v /w/workspace/app-service-configurable/11@tmp:/w/workspace/app-service-configurable/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:56:46 $ docker top 80fa8e3d5e5ab7dd2a0b8b0543d42ab15635f7b8041d3dabadc40223290ad441 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:47 + go version 04:56:47 go version go1.20.2 linux/arm64 [Pipeline] } 04:56:47 $ docker stop --time=1 80fa8e3d5e5ab7dd2a0b8b0543d42ab15635f7b8041d3dabadc40223290ad441 04:56:49 $ docker rm -f --volumes 80fa8e3d5e5ab7dd2a0b8b0543d42ab15635f7b8041d3dabadc40223290ad441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:49 + docker inspect -f . ci-base-image-arm64 04:56:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:49 prd-ubuntu20.04-docker-arm64-4c-16g-5839 does not seem to be running inside a container 04:56:49 $ 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/11 -v /w/workspace/app-service-configurable/11:/w/workspace/app-service-configurable/11:rw,z -v /w/workspace/app-service-configurable/11@tmp:/w/workspace/app-service-configurable/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:56:51 $ docker top 2e34dd96da3c9d232115295f0b6909004a9e2752b0a3cf4c60c2c061a669c908 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:51 + git config --global --add safe.directory /w/workspace/app-service-configurable/11 [Pipeline] fileExists [Pipeline] sh 04:56:52 + make test 04:56:52 go test -race -coverprofile=coverage.out ./... 04:59:28 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:59:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:59:28 go vet ./... 05:01:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:01:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:01:50 ./bin/test-attribution-txt.sh 05:01:50 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 05:01:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:01:50 $ docker stop --time=1 2e34dd96da3c9d232115295f0b6909004a9e2752b0a3cf4c60c2c061a669c908 05:01:52 $ docker rm -f --volumes 2e34dd96da3c9d232115295f0b6909004a9e2752b0a3cf4c60c2c061a669c908 [Pipeline] // withDockerContainer [Pipeline] sh 05:01:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:01:53 Warning: overwriting stash ‘coverage-report’ 05:01:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:01:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:01:54 + ls -al . 05:01:54 total 172 05:01:54 drwxrwxr-x 7 jenkins jenkins 4096 Mar 26 04:56 . 05:01:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 04:54 .. 05:01:54 -rw-rw-r-- 1 jenkins jenkins 119 Mar 26 04:54 .dockerignore 05:01:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 04:54 .git 05:01:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 04:54 .github 05:01:54 -rw-rw-r-- 1 jenkins jenkins 171 Mar 26 04:54 .gitignore 05:01:54 -rw-rw-r-- 1 jenkins jenkins 41 Mar 26 04:54 .golangci.yml 05:01:54 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 26 04:54 Attribution.txt 05:01:54 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 26 04:54 CHANGELOG.md 05:01:54 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 26 04:54 Dockerfile 05:01:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 26 04:54 GOVERNANCE.md 05:01:54 -rw-rw-r-- 1 jenkins jenkins 688 Mar 26 04:54 Jenkinsfile 05:01:54 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 26 04:54 LICENSE 05:01:54 -rw-rw-r-- 1 jenkins jenkins 618 Mar 26 04:54 OWNERS.md 05:01:54 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 26 04:54 README.md 05:01:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 26 04:52 VERSION 05:01:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 04:54 bin 05:01:54 -rw-r--r-- 1 jenkins jenkins 13 Mar 26 04:56 coverage.out 05:01:54 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 26 04:54 go.mod 05:01:54 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 26 04:54 go.sum 05:01:54 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 26 04:54 main.go 05:01:54 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 26 04:54 makefile 05:01:54 drwxrwxr-x 9 jenkins jenkins 4096 Mar 26 04:54 res 05:01:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 04:54 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:55 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2cc2fdc1845ba68bfb275b9d02fb6321c6325825 --label arch=arm64 --label version=0.0.0 . 05:01:55 Sending build context to Docker daemon 171kB 05:01:55 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 05:01:55 Step 2/26 : FROM ${BASE} AS builder 05:01:55 ---> 3edd0555b96d 05:01:55 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 05:01:55 ---> Running in bed092854d89 05:01:55 Removing intermediate container bed092854d89 05:01:55 ---> dfd512a654db 05:01:55 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:01:55 ---> Running in 32d6ec085e11 05:01:56 Removing intermediate container 32d6ec085e11 05:01:56 ---> 59ce088b1c48 05:01:56 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:01:56 ---> Running in 25f22f2cb77e 05:01:56 Removing intermediate container 25f22f2cb77e 05:01:56 ---> ccf86ec3db5e 05:01:56 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:01:56 ---> Running in c2a769a66de4 05:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:01:58 OK: 263 MiB in 53 packages 05:01:59 Removing intermediate container c2a769a66de4 05:01:59 ---> 72ea0f79540d 05:01:59 Step 7/26 : WORKDIR /app 05:01:59 ---> Running in fffc57ea8d1e 05:02:00 Removing intermediate container fffc57ea8d1e 05:02:00 ---> 25788411a049 05:02:00 Step 8/26 : COPY go.mod vendor* ./ 05:02:00 ---> 51351cfd0b20 05:02:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:00 ---> Running in c20f715317ea 05:02:03 Removing intermediate container c20f715317ea 05:02:03 ---> ce5d02baa38e 05:02:03 Step 10/26 : COPY . . 05:02:03 ---> fe7ebf76d609 05:02:03 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:02:03 ---> Running in dfed7aee474d 05:02:03 Removing intermediate container dfed7aee474d 05:02:03 ---> 40b1ddb3e4b5 05:02:03 Step 12/26 : RUN $MAKE 05:02:03 ---> Running in 42a9df49553a 05:02:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:04:11 Removing intermediate container 42a9df49553a 05:04:11 ---> fb212fcc44ce 05:04:11 Step 13/26 : FROM alpine:3.17 05:04:11 3.17: Pulling from library/alpine 05:04:11 af6eaf76a39c: Already exists 05:04:11 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 05:04:11 Status: Downloaded newer image for alpine:3.17 05:04:11 ---> d74e625d9115 05:04:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:04:11 ---> Running in bf83dec903f2 05:04:11 Removing intermediate container bf83dec903f2 05:04:11 ---> 5e1097c5abf3 05:04:11 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 05:04:11 ---> Running in 93cbea4724f8 05:04:11 Removing intermediate container 93cbea4724f8 05:04:11 ---> 9195a6a2fec7 05:04:11 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 05:04:11 ---> Running in 22f2a2b12479 05:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:04:11 (1/2) Installing ca-certificates (20220614-r4) 05:04:11 (2/2) Installing dumb-init (1.2.5-r2) 05:04:11 Executing busybox-1.35.0-r29.trigger 05:04:11 Executing ca-certificates-20220614-r4.trigger 05:04:11 OK: 8 MiB in 17 packages 05:04:13 Removing intermediate container 22f2a2b12479 05:04:13 ---> 2cb38720631b 05:04:13 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:04:13 ---> 8fd7d96136d4 05:04:13 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 05:04:14 ---> 0181534a2fd7 05:04:14 Step 19/26 : COPY --from=builder /app/res/ /res/ 05:04:14 ---> e4c11b7d0373 05:04:14 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:04:15 ---> a13f50ad646b 05:04:15 Step 21/26 : EXPOSE 48095 05:04:15 ---> Running in 864d6f7a966f 05:04:16 Removing intermediate container 864d6f7a966f 05:04:16 ---> 9159248d77fd 05:04:16 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 05:04:16 ---> Running in abab7b684e10 05:04:16 Removing intermediate container abab7b684e10 05:04:16 ---> 75685bf7affc 05:04:16 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:04:16 ---> Running in 72f791a85156 05:04:16 Removing intermediate container 72f791a85156 05:04:16 ---> a3ad55095acc 05:04:16 Step 24/26 : LABEL arch=arm64 05:04:16 ---> Running in a8d8759dd3e2 05:04:17 Removing intermediate container a8d8759dd3e2 05:04:17 ---> 57bd67c13a7c 05:04:17 Step 25/26 : LABEL git_sha=2cc2fdc1845ba68bfb275b9d02fb6321c6325825 05:04:17 ---> Running in adcb7e3fbac0 05:04:17 Removing intermediate container adcb7e3fbac0 05:04:17 ---> 2757bb160232 05:04:17 Step 26/26 : LABEL version=0.0.0 05:04:17 ---> Running in 21fc73b05cde 05:04:17 Removing intermediate container 21fc73b05cde 05:04:17 ---> 935d634c59f4 05:04:17 [Warning] One or more build-args [ARCH] were not consumed 05:04:17 Successfully built 935d634c59f4 05:04:17 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 05:04:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:18 05:04:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:18 arm64: Pulling from edgex-lftools-log-publisher 05:04:18 8998bd30e6a1: Pulling fs layer 05:04:18 04944245beec: Pulling fs layer 05:04:18 699f458cf7ca: Pulling fs layer 05:04:18 765212b225bb: Pulling fs layer 05:04:18 f23df028b6ca: Pulling fs layer 05:04:18 d65c8cfc05b1: Pulling fs layer 05:04:18 2437ff75d9bd: Pulling fs layer 05:04:18 f23df028b6ca: Waiting 05:04:18 d65c8cfc05b1: Waiting 05:04:18 2437ff75d9bd: Waiting 05:04:18 765212b225bb: Waiting 05:04:18 04944245beec: Verifying Checksum 05:04:18 04944245beec: Download complete 05:04:18 765212b225bb: Verifying Checksum 05:04:18 765212b225bb: Download complete 05:04:18 f23df028b6ca: Verifying Checksum 05:04:18 f23df028b6ca: Download complete 05:04:18 d65c8cfc05b1: Verifying Checksum 05:04:18 d65c8cfc05b1: Download complete 05:04:18 699f458cf7ca: Verifying Checksum 05:04:18 699f458cf7ca: Download complete 05:04:19 8998bd30e6a1: Verifying Checksum 05:04:19 8998bd30e6a1: Download complete 05:04:21 2437ff75d9bd: Verifying Checksum 05:04:21 2437ff75d9bd: Download complete 05:04:23 8998bd30e6a1: Pull complete 05:04:23 04944245beec: Pull complete 05:04:24 699f458cf7ca: Pull complete 05:04:25 765212b225bb: Pull complete 05:04:25 f23df028b6ca: Pull complete 05:04:26 d65c8cfc05b1: Pull complete 05:04:40 2437ff75d9bd: Pull complete 05:04:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:41 prd-ubuntu20.04-docker-arm64-4c-16g-5839 does not seem to be running inside a container 05:04:41 $ 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/11 -v /w/workspace/app-service-configurable/11:/w/workspace/app-service-configurable/11:rw,z -v /w/workspace/app-service-configurable/11@tmp:/w/workspace/app-service-configurable/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:04:43 $ docker top 143b45f84ea176df0e862514de1d8db402d1afc2b359ffd6f718a1f830f8ee74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:44 ---> job-cost.sh 05:04:44 lf-activate-venv: SKIPPING 05:04:44 INFO: No Stack... 05:04:45 INFO: Retrieving Pricing Info for: v3-standard-4 05:04:45 INFO: Archiving Costs [Pipeline] sh 05:04:46 + cat /w/workspace/app-service-configurable/11/archives/cost.csv 05:04:46 + cut -d, -f6 [Pipeline] lock 05:04:46 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-11-stack-cost] 05:04:46 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-11-stack-cost] did not exist. Created. 05:04:46 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:47 /w/workspace/app-service-configurable/11@tmp/durable-662ae42a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:04:47 + echo total: 0.10999999940395355 [Pipeline] stash 05:04:47 Warning: overwriting stash ‘stack-cost’ 05:04:47 Stashed 1 file(s) [Pipeline] } 05:04:48 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-11-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:48 $ docker stop --time=1 143b45f84ea176df0e862514de1d8db402d1afc2b359ffd6f718a1f830f8ee74 05:04:49 $ docker rm -f --volumes 143b45f84ea176df0e862514de1d8db402d1afc2b359ffd6f718a1f830f8ee74 [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 05:04:49 provisioning config files... 05:04:49 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config8763592311402802727tmp [Pipeline] { [Pipeline] sh 05:04:50 + set +x 05:04:50 + curl -s https://codecov.io/bash 05:04:50 + bash -s -- 05:04:50 05:04:50 _____ _ 05:04:50 / ____| | | 05:04:50 | | ___ __| | ___ ___ _____ __ 05:04:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:04:50 | |___| (_) | (_| | __/ (_| (_) \ V / 05:04:50 \_____\___/ \__,_|\___|\___\___/ \_/ 05:04:50 Bash-1.0.6 05:04:50 05:04:50 05:04:50 ==> git version 2.25.1 found 05:04:50 ==> 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 05:04:50 Release-Date: 2020-01-08 05:04:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:04:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:04:50 ==> Jenkins CI detected. 05:04:50 current dir:  /w/workspace/_app-service-configurable_PR-535 05:04:50 project root: . 05:04:50 --> token set from env 05:04:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:04:50 ==> Running gcov in . (disable via -X gcov) 05:04:50 ==> Python coveragepy not found 05:04:50 ==> Searching for coverage reports in: 05:04:50 + . 05:04:50 -> Found 1 reports 05:04:50 ==> Detecting git/mercurial file structure 05:04:50 ==> Reading reports 05:04:50 + ./coverage.out bytes=13 05:04:50 ==> Appending adjustments 05:04:50 https://docs.codecov.io/docs/fixing-reports 05:04:50 + Found adjustments 05:04:50 ==> Gzipping contents 05:04:50 4.0K /tmp/codecov.p9JikC.gz 05:04:50 ==> Uploading reports 05:04:50 url: https://codecov.io 05:04:50 query: branch=PR-535&commit=7020eec2b229be1b577433def7b28fc6aafb3182&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F11%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 05:04:50 -> Pinging Codecov 05:04:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-535&commit=7020eec2b229be1b577433def7b28fc6aafb3182&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F11%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 05:04:50 -> Uploading to 05:04:50 https://storage.googleapis.com/codecov/v4/raw/2023-03-26/A97CA9966030D2A3747ED39772930CCE/7020eec2b229be1b577433def7b28fc6aafb3182/8ca4ca8f-f7f0-429d-a784-3f4e106b9959.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230326%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230326T050450Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b548fed6b1dcd57335bb378a9de68630c4be3ecdd5a0f849253c92ba04e5858 05:04:50 % Total % Received % Xferd Average Speed Time Time Time Current 05:04:50 Dload Upload Total Spent Left Speed 05:04:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1577 --:--:-- --:--:-- --:--:-- 1571 05:04:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/7020eec2b229be1b577433def7b28fc6aafb3182 [Pipeline] } 05:04:51 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 05:04:51 + [ -d /w/workspace/_app-service-configurable_PR-535/archives ] 05:04:51 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 05:04:51 total 16 05:04:51 drwxr-xr-x 3 root root 4096 Mar 26 04:55 . 05:04:51 drwxrwxr-x 9 jenkins jenkins 4096 Mar 26 04:55 .. 05:04:51 drwxr-xr-x 2 root root 4096 Mar 26 04:55 cost 05:04:51 -rw-r--r-- 1 root root 97 Mar 26 04:55 cost.csv 05:04:51 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-535/archives 05:04:51 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 05:04:51 total 16 05:04:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 26 04:55 . 05:04:51 drwxrwxr-x 9 jenkins jenkins 4096 Mar 26 04:55 .. 05:04:51 drwxr-xr-x 2 jenkins jenkins 4096 Mar 26 04:55 cost 05:04:51 -rw-r--r-- 1 jenkins jenkins 97 Mar 26 04:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:04:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:04:52 ---> package-listing.sh 05:04:52 ++ facter osfamily 05:04:52 ++ tr '[:upper:]' '[:lower:]' 05:04:53 + OS_FAMILY=debian 05:04:53 + workspace=/w/workspace/_app-service-configurable_PR-535 05:04:53 + START_PACKAGES=/tmp/packages_start.txt 05:04:53 + END_PACKAGES=/tmp/packages_end.txt 05:04:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:04:53 + PACKAGES=/tmp/packages_start.txt 05:04:53 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 05:04:53 + PACKAGES=/tmp/packages_end.txt 05:04:53 + case "${OS_FAMILY}" in 05:04:53 + dpkg -l 05:04:53 + grep '^ii' 05:04:53 + '[' -f /tmp/packages_start.txt ']' 05:04:53 + '[' -f /tmp/packages_end.txt ']' 05:04:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:04:53 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 05:04:53 + mkdir -p /w/workspace/_app-service-configurable_PR-535/archives/ 05:04:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-535/archives/ [Pipeline] echo 05:04:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:04:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:54 prd-ubuntu20.04-docker-8c-8g-5838 does not seem to be running inside a container 05:04:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:04:54 $ docker top a17d744e2d1cac87fa0a6aa39b3ef68d0931388315ad3a69b6b77248784f276a -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:54 + touch /tmp/pre-build-complete [Pipeline] sh 05:04:54 + mkdir -p /var/log/sysstat [Pipeline] sh 05:04:55 + ls /var/log/sa-host 05:04:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:55 provisioning config files... 05:04:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config16610336248554751794tmp [Pipeline] { [Pipeline] echo 05:04:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:04:55 ---> create-netrc.sh [Pipeline] } 05:04:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:04:55 ---> python-tools-install.sh [Pipeline] echo 05:04:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:04:56 ---> sudo-logs.sh 05:04:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:04:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:04:56 ---> job-cost.sh 05:04:56 lf-activate-venv: SKIPPING 05:04:56 DEBUG: total: 0.2199999988079071 05:04:56 INFO: Retrieving Stack Cost... 05:04:56 INFO: Retrieving Pricing Info for: v3-standard-8 05:04:57 INFO: Archiving Costs [Pipeline] echo 05:04:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:04:57 ---> logs-deploy.sh 05:04:57 lf-activate-venv: SKIPPING 05:04:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-535/11 05:04:57 INFO: archiving workspace using pattern(s): 05:04:58 Archives upload complete. 05:04:58 INFO: archiving logs to Nexus