Pull request #494 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 9a1344e94c0b71b78ab19b4307347d2938ad1366+4955b72e7e2333f21a3dea3e923d2a5036ff361a (679528348468365bd4a82deabfe17e42d7181aef) 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-ssh1692192717753495518.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5056051794876515165.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-494/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-494/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1076776149462527952.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-494/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15075879481823108145.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12631458494514881975.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-494/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-494/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14077225405263898557.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 Running on prd-ubuntu20.04-docker-8c-8g-975 in /w/workspace/_app-service-configurable_PR-494 [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-494 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4955b72e7e2333f21a3dea3e923d2a5036ff361a into PR head commit 9a1344e94c0b71b78ab19b4307347d2938ad1366 > 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/494/head:refs/remotes/origin/PR-494 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a1344e94c0b71b78ab19b4307347d2938ad1366 # 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 4955b72e7e2333f21a3dea3e923d2a5036ff361a # timeout=10 Merge succeeded, producing 9a1344e94c0b71b78ab19b4307347d2938ad1366 Checking out Revision 9a1344e94c0b71b78ab19b4307347d2938ad1366 (PR-494) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a1344e94c0b71b78ab19b4307347d2938ad1366 # timeout=10 Commit message: "build: Disable CGO for all docker builds so always work" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:31:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:31:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:31:46 ========================================================= 22:31:46 EdgeX Global Pipelines Version Info 22:31:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:31:46 ------------------- 22:31:46 stable info: 22:31:46 ------------------- 22:31:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:31:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:31:46 Message: update stable to v1.0.244 22:31:47 ------------------- 22:31:47 experimental info: 22:31:47 ------------------- 22:31:47 Commited By: **** collab-it+edgex@linuxfoundation.org 22:31:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:31:47 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:31:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 22:31:47 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 22:31:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:31:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:31:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:31:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:31:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:31:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-494 [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-494 [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-494 [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a1344e94c0b71b78ab19b4307347d2938ad1366 [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a1344e [Pipeline] echo 22:31:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:31:49 provisioning config files... 22:31:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-494@tmp/config443757489180051943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:49 ---> docker-login.sh 22:31:49 nexus3.edgexfoundry.org:10001 22:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:49 Configure a credential helper to remove this warning. See 22:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:49 22:31:49 Login Succeeded 22:31:49 nexus3.edgexfoundry.org:10002 22:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:49 Configure a credential helper to remove this warning. See 22:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:49 22:31:49 Login Succeeded 22:31:49 nexus3.edgexfoundry.org:10003 22:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:49 Configure a credential helper to remove this warning. See 22:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:49 22:31:49 Login Succeeded 22:31:49 nexus3.edgexfoundry.org:10004 22:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:49 Configure a credential helper to remove this warning. See 22:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:49 22:31:49 Login Succeeded 22:31:49 docker.io 22:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:50 Configure a credential helper to remove this warning. See 22:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:50 22:31:50 Login Succeeded 22:31:50 ---> docker-login.sh ends [Pipeline] } 22:31:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:31:50 + git rev-list -1 --merges 9a1344e94c0b71b78ab19b4307347d2938ad1366~1..9a1344e94c0b71b78ab19b4307347d2938ad1366 [Pipeline] echo 22:31:50 -----------> git rev-list -1 --merges 9a1344e94c0b71b78ab19b4307347d2938ad1366~1..9a1344e94c0b71b78ab19b4307347d2938ad1366 9a1344e94c0b71b78ab19b4307347d2938ad1366 [false] [Pipeline] sh 22:31:51 + git log --format=format:%s -1 9a1344e94c0b71b78ab19b4307347d2938ad1366 [Pipeline] echo 22:31:51 ========================================================= 22:31:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:31:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:31:51 + git log --format=format:%s -1 9a1344e94c0b71b78ab19b4307347d2938ad1366 [Pipeline] echo 22:31:51 [semverPrep] GIT_COMMIT: 9a1344e94c0b71b78ab19b4307347d2938ad1366, Commit Message: build: Disable CGO for all docker builds so always work [Pipeline] echo 22:31:51 [semverPrep] This is not a build commit. [Pipeline] sh 22:31:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:31:52 + grep -v github /etc/ssh/ssh_known_hosts 22:31:52 + [ -e /tmp/ssh_known_hosts ] 22:31:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:31:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:31:52 + sudo tee -a /etc/ssh/ssh_known_hosts 22:31:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:31:52 22:31:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:31:52 0.1.4: Pulling from edgex-devops/py-git-semver 22:31:52 b85a868b505f: Pulling fs layer 22:31:52 e2be974225ed: Pulling fs layer 22:31:52 339a4e72a1f5: Pulling fs layer 22:31:52 988bab9f4d93: Pulling fs layer 22:31:52 1469e6f7b9e6: Pulling fs layer 22:31:52 eaf3925da568: Pulling fs layer 22:31:52 bab4dde63d76: Pulling fs layer 22:31:52 988bab9f4d93: Waiting 22:31:52 bde34c3a00c8: Pulling fs layer 22:31:52 1469e6f7b9e6: Waiting 22:31:52 b352a97aabf1: Pulling fs layer 22:31:52 bab4dde63d76: Waiting 22:31:52 bde34c3a00c8: Waiting 22:31:52 b352a97aabf1: Waiting 22:31:52 4872d77fe225: Pulling fs layer 22:31:52 5851b861e8e6: Pulling fs layer 22:31:52 4872d77fe225: Waiting 22:31:52 5851b861e8e6: Waiting 22:31:53 e2be974225ed: Download complete 22:31:53 988bab9f4d93: Download complete 22:31:53 1469e6f7b9e6: Download complete 22:31:53 339a4e72a1f5: Verifying Checksum 22:31:53 339a4e72a1f5: Download complete 22:31:53 eaf3925da568: Verifying Checksum 22:31:53 eaf3925da568: Download complete 22:31:53 bde34c3a00c8: Download complete 22:31:53 b352a97aabf1: Verifying Checksum 22:31:53 b352a97aabf1: Download complete 22:31:53 4872d77fe225: Verifying Checksum 22:31:53 4872d77fe225: Download complete 22:31:53 5851b861e8e6: Verifying Checksum 22:31:53 5851b861e8e6: Download complete 22:31:53 b85a868b505f: Verifying Checksum 22:31:53 b85a868b505f: Download complete 22:31:53 bab4dde63d76: Verifying Checksum 22:31:53 bab4dde63d76: Download complete 22:31:54 b85a868b505f: Pull complete 22:31:54 e2be974225ed: Pull complete 22:31:55 339a4e72a1f5: Pull complete 22:31:55 988bab9f4d93: Pull complete 22:31:55 1469e6f7b9e6: Pull complete 22:31:55 eaf3925da568: Pull complete 22:31:57 bab4dde63d76: Pull complete 22:31:57 bde34c3a00c8: Pull complete 22:31:57 b352a97aabf1: Pull complete 22:31:57 4872d77fe225: Pull complete 22:31:57 5851b861e8e6: Pull complete 22:31:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:31:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:31:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:57 prd-ubuntu20.04-docker-8c-8g-975 does not seem to be running inside a container 22:31:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-494 -v /w/workspace/_app-service-configurable_PR-494:/w/workspace/_app-service-configurable_PR-494:rw,z -v /w/workspace/_app-service-configurable_PR-494@tmp:/w/workspace/_app-service-configurable_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:32:01 $ docker top 71d5df4dacb74eb74e0945aaf8e159a22846a924c6212785b4eeaa2328a72c75 -eo pid,comm 22:32:02 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). 22:32:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:32:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:02 [ssh-agent] Looking for ssh-agent implementation... 22:32:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:02 $ docker exec 71d5df4dacb74eb74e0945aaf8e159a22846a924c6212785b4eeaa2328a72c75 ssh-agent 22:32:02 SSH_AUTH_SOCK=/tmp/ssh-l2Rd1uaibV3m/agent.32 22:32:02 SSH_AGENT_PID=38 22:32:02 Running ssh-add (command line suppressed) 22:32:02 Identity added: /w/workspace/_app-service-configurable_PR-494@tmp/private_key_6232444301307453528.key (/w/workspace/_app-service-configurable_PR-494@tmp/private_key_6232444301307453528.key) 22:32:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:02 + git tag --points-at HEAD [Pipeline] } 22:32:02 $ docker exec --env ******** --env ******** 71d5df4dacb74eb74e0945aaf8e159a22846a924c6212785b4eeaa2328a72c75 ssh-agent -k 22:32:02 unset SSH_AUTH_SOCK; 22:32:02 unset SSH_AGENT_PID; 22:32:02 echo Agent pid 38 killed; 22:32:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:32:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:03 [ssh-agent] Looking for ssh-agent implementation... 22:32:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:03 $ docker exec 71d5df4dacb74eb74e0945aaf8e159a22846a924c6212785b4eeaa2328a72c75 ssh-agent 22:32:03 SSH_AUTH_SOCK=/tmp/ssh-B1CXiBXPUP1M/agent.69 22:32:03 SSH_AGENT_PID=75 22:32:03 Running ssh-add (command line suppressed) 22:32:03 Identity added: /w/workspace/_app-service-configurable_PR-494@tmp/private_key_9809510924339976199.key (/w/workspace/_app-service-configurable_PR-494@tmp/private_key_9809510924339976199.key) 22:32:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:03 + git semver init 22:32:04 2023-01-03 22:32:03,908 [run_init] DEBUG init version:0.0.0 force:False 22:32:04 2023-01-03 22:32:03,909 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-494/.semver 22:32:04 2023-01-03 22:32:03,909 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-494/.semver 22:32:04 2023-01-03 22:32:03,909 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-494/.semver'], cwd=/w/workspace/_app-service-configurable_PR-494, universal_newlines=False, shell=None, istream=None) 22:32:04 2023-01-03 22:32:04,817 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-494/.git/info/exclude 22:32:04 2023-01-03 22:32:04,818 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-494/.semver/PR-494 with force:False 22:32:04 2023-01-03 22:32:04,818 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-494/.semver/PR-494 22:32:04 2023-01-03 22:32:04,822 [execute] INFO git cat-file --batch-check 22:32:04 2023-01-03 22:32:04,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-494/.semver, universal_newlines=False, shell=None, istream=) 22:32:04 2023-01-03 22:32:04,826 [execute] INFO git cat-file --batch 22:32:04 2023-01-03 22:32:04,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-494/.semver, universal_newlines=False, shell=None, istream=) 22:32:04 2023-01-03 22:32:04,831 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-494/.semver/PR-494 22:32:04 0.0.0 [Pipeline] } 22:32:04 $ docker exec --env ******** --env ******** 71d5df4dacb74eb74e0945aaf8e159a22846a924c6212785b4eeaa2328a72c75 ssh-agent -k 22:32:05 unset SSH_AUTH_SOCK; 22:32:05 unset SSH_AGENT_PID; 22:32:05 echo Agent pid 75 killed; 22:32:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:05 + git semver [Pipeline] } 22:32:05 $ docker stop --time=1 71d5df4dacb74eb74e0945aaf8e159a22846a924c6212785b4eeaa2328a72c75 22:32:07 $ docker rm -f --volumes 71d5df4dacb74eb74e0945aaf8e159a22846a924c6212785b4eeaa2328a72c75 [Pipeline] // withDockerContainer [Pipeline] sh 22:32:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:32:07 Stashed 1 file(s) [Pipeline] echo 22:32:07 [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 22:32:08 provisioning config files... 22:32:08 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-494@tmp/config17460031401317629235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:32:08 ---> docker-login.sh 22:32:08 nexus3.edgexfoundry.org:10001 22:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:08 Configure a credential helper to remove this warning. See 22:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:08 22:32:08 Login Succeeded 22:32:08 nexus3.edgexfoundry.org:10002 22:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:08 Configure a credential helper to remove this warning. See 22:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:08 22:32:08 Login Succeeded 22:32:08 nexus3.edgexfoundry.org:10003 22:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:08 Configure a credential helper to remove this warning. See 22:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:08 22:32:08 Login Succeeded 22:32:08 nexus3.edgexfoundry.org:10004 22:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:08 Configure a credential helper to remove this warning. See 22:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:08 22:32:08 Login Succeeded 22:32:08 docker.io 22:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:09 Configure a credential helper to remove this warning. See 22:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:09 22:32:09 Login Succeeded 22:32:09 ---> docker-login.sh ends [Pipeline] } 22:32:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:32:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:32:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:32:09 ========================================================= 22:32:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:32:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:32:09 Sending build context to Docker daemon 3.206MB 22:32:09 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:32:09 Step 2/13 : FROM ${BASE} AS builder 22:32:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:32:09 213ec9aee27d: Pulling fs layer 22:32:09 4583459ba037: Pulling fs layer 22:32:09 93c1e223e6f2: Pulling fs layer 22:32:09 53926ce57604: Pulling fs layer 22:32:09 21b2b0c7a3f4: Pulling fs layer 22:32:09 22ff95d597cd: Pulling fs layer 22:32:09 12d6caf4c0d1: Pulling fs layer 22:32:09 96b7cbca73a9: Pulling fs layer 22:32:09 a7acece74701: Pulling fs layer 22:32:09 22ff95d597cd: Waiting 22:32:09 12d6caf4c0d1: Waiting 22:32:09 96b7cbca73a9: Waiting 22:32:09 a7acece74701: Waiting 22:32:09 53926ce57604: Waiting 22:32:09 21b2b0c7a3f4: Waiting 22:32:09 93c1e223e6f2: Verifying Checksum 22:32:09 93c1e223e6f2: Download complete 22:32:09 4583459ba037: Download complete 22:32:09 21b2b0c7a3f4: Verifying Checksum 22:32:09 21b2b0c7a3f4: Download complete 22:32:09 22ff95d597cd: Download complete 22:32:09 213ec9aee27d: Verifying Checksum 22:32:09 213ec9aee27d: Download complete 22:32:10 12d6caf4c0d1: Download complete 22:32:10 213ec9aee27d: Pull complete 22:32:10 4583459ba037: Pull complete 22:32:10 93c1e223e6f2: Pull complete 22:32:10 a7acece74701: Verifying Checksum 22:32:10 a7acece74701: Download complete 22:32:10 96b7cbca73a9: Verifying Checksum 22:32:10 96b7cbca73a9: Download complete 22:32:11 53926ce57604: Verifying Checksum 22:32:11 53926ce57604: Download complete 22:32:15 53926ce57604: Pull complete 22:32:15 21b2b0c7a3f4: Pull complete 22:32:15 22ff95d597cd: Pull complete 22:32:15 12d6caf4c0d1: Pull complete 22:32:17 96b7cbca73a9: Pull complete 22:32:17 a7acece74701: Pull complete 22:32:17 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:32:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:32:17 ---> db6d94c90886 22:32:17 Step 3/13 : ARG ALPINE_PKG_BASE="make git" 22:32:21 ---> Running in c63f83ca5b2a 22:32:21 Removing intermediate container c63f83ca5b2a 22:32:21 ---> af964b6e97b1 22:32:21 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:32:21 ---> Running in 9c3b9fd844d0 22:32:21 Removing intermediate container 9c3b9fd844d0 22:32:21 ---> 302de85311ba 22:32:21 Step 5/13 : ARG ADD_BUILD_TAGS="" 22:32:21 ---> Running in f6990a5aa3ae 22:32:21 Removing intermediate container f6990a5aa3ae 22:32:21 ---> 1302fd0d7320 22:32:21 Step 6/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:32:21 ---> Running in e7d86cbd5fd5 22:32:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:32:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:32:22 OK: 211 MiB in 51 packages 22:32:22 Removing intermediate container e7d86cbd5fd5 22:32:22 ---> b369ab1524f9 22:32:22 Step 7/13 : WORKDIR /app 22:32:22 ---> Running in 2620fe20d9a6 22:32:22 Removing intermediate container 2620fe20d9a6 22:32:22 ---> 758cc7465168 22:32:22 Step 8/13 : COPY go.mod vendor* ./ 22:32:23 ---> 635032fcffef 22:32:23 Step 9/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:32:23 ---> Running in 9cb05dccd68a 22:32:23 Still waiting to schedule task 22:32:23 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-976’ 22:32:49 Removing intermediate container 9cb05dccd68a 22:32:49 ---> 262a06f688c3 22:32:49 Step 10/13 : COPY . . 22:32:49 ---> 7f77c57bbb48 22:32:49 Step 11/13 : ENV CGO_ENABLED=0 22:32:49 ---> Running in 41ef07c31feb 22:32:49 Removing intermediate container 41ef07c31feb 22:32:49 ---> 2e6c0bda38ab 22:32:49 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:32:49 ---> Running in 4680bceb05f9 22:32:49 Removing intermediate container 4680bceb05f9 22:32:49 ---> 031664704e30 22:32:49 Step 13/13 : RUN $MAKE 22:32:49 ---> Running in 687a699650fa 22:32:49 noop 22:32:49 Removing intermediate container 687a699650fa 22:32:49 ---> cfe6f699c42f 22:32:49 Successfully built cfe6f699c42f 22:32:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:50 + docker inspect -f . ci-base-image-x86_64 22:32:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:50 prd-ubuntu20.04-docker-8c-8g-975 does not seem to be running inside a container 22:32:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-494 -v /w/workspace/_app-service-configurable_PR-494:/w/workspace/_app-service-configurable_PR-494:rw,z -v /w/workspace/_app-service-configurable_PR-494@tmp:/w/workspace/_app-service-configurable_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:32:50 $ docker top 0ada4110297f7f9e083e3e1739d25e5a24fa5d932bc7433cfe55499048844ac9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:51 + go version 22:32:51 go version go1.18.7 linux/amd64 [Pipeline] } 22:32:51 $ docker stop --time=1 0ada4110297f7f9e083e3e1739d25e5a24fa5d932bc7433cfe55499048844ac9 22:32:52 $ docker rm -f --volumes 0ada4110297f7f9e083e3e1739d25e5a24fa5d932bc7433cfe55499048844ac9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:53 + docker inspect -f . ci-base-image-x86_64 22:32:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:53 prd-ubuntu20.04-docker-8c-8g-975 does not seem to be running inside a container 22:32:53 $ 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-494 -v /w/workspace/_app-service-configurable_PR-494:/w/workspace/_app-service-configurable_PR-494:rw,z -v /w/workspace/_app-service-configurable_PR-494@tmp:/w/workspace/_app-service-configurable_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:32:53 $ docker top eb8fabf29237a6c9db216c02a8d5ebeab37826d7357995be88bf9a42806e3006 -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:54 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-494 [Pipeline] fileExists [Pipeline] sh 22:32:54 + make test 22:32:54 go test -coverprofile=coverage.out ./... 22:33:04 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:33:04 go vet ./... 22:33:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:33:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:33:07 ./bin/test-attribution-txt.sh [Pipeline] echo 22:33:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:33:07 $ docker stop --time=1 eb8fabf29237a6c9db216c02a8d5ebeab37826d7357995be88bf9a42806e3006 22:33:09 $ docker rm -f --volumes eb8fabf29237a6c9db216c02a8d5ebeab37826d7357995be88bf9a42806e3006 [Pipeline] // withDockerContainer [Pipeline] sh 22:33:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:33:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:33:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:33:11 + ls -al . 22:33:11 total 184 22:33:11 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:32 . 22:33:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:31 .. 22:33:11 -rw-rw-r-- 1 jenkins jenkins 119 Jan 3 22:31 .dockerignore 22:33:11 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:32 .git 22:33:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:31 .github 22:33:11 -rw-rw-r-- 1 jenkins jenkins 171 Jan 3 22:31 .gitignore 22:33:11 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 22:32 .semver 22:33:11 -rw-rw-r-- 1 jenkins jenkins 9207 Jan 3 22:31 Attribution.txt 22:33:11 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 3 22:31 CHANGELOG.md 22:33:11 -rw-rw-r-- 1 jenkins jenkins 1916 Jan 3 22:31 Dockerfile 22:33:11 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 22:31 GOVERNANCE.md 22:33:11 -rw-rw-r-- 1 jenkins jenkins 688 Jan 3 22:31 Jenkinsfile 22:33:11 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 3 22:31 LICENSE 22:33:11 -rw-rw-r-- 1 jenkins jenkins 618 Jan 3 22:31 OWNERS.md 22:33:11 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 3 22:31 README.md 22:33:11 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 22:32 VERSION 22:33:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:31 bin 22:33:11 -rw-r--r-- 1 jenkins jenkins 10 Jan 3 22:32 coverage.out 22:33:11 -rw-rw-r-- 1 jenkins jenkins 3396 Jan 3 22:31 go.mod 22:33:11 -rw-rw-r-- 1 jenkins jenkins 44230 Jan 3 22:31 go.sum 22:33:11 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 3 22:31 main.go 22:33:11 -rw-rw-r-- 1 jenkins jenkins 1892 Jan 3 22:31 makefile 22:33:11 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 22:31 res 22:33:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:31 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:11 + 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=9a1344e94c0b71b78ab19b4307347d2938ad1366 --label arch=amd64 --label version=0.0.0 . 22:33:11 Sending build context to Docker daemon 3.207MB 22:33:11 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 22:33:11 Step 2/27 : FROM ${BASE} AS builder 22:33:11 ---> cfe6f699c42f 22:33:11 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 22:33:11 ---> Running in d170176657e6 22:33:11 Removing intermediate container d170176657e6 22:33:11 ---> 9517f3f1c4a6 22:33:11 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:33:11 ---> Running in 860ae871f49e 22:33:11 Removing intermediate container 860ae871f49e 22:33:11 ---> 42ae10c6f298 22:33:11 Step 5/27 : ARG ADD_BUILD_TAGS="" 22:33:11 ---> Running in 9459f82091dd 22:33:11 Removing intermediate container 9459f82091dd 22:33:11 ---> f9c3db455206 22:33:11 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:33:11 ---> Running in b8d3d5f16507 22:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:33:12 OK: 211 MiB in 51 packages 22:33:12 Removing intermediate container b8d3d5f16507 22:33:12 ---> 268d5ebeb2d9 22:33:12 Step 7/27 : WORKDIR /app 22:33:13 ---> Running in 4cbe0981c5c9 22:33:13 Removing intermediate container 4cbe0981c5c9 22:33:13 ---> 0bbf9f3e8072 22:33:13 Step 8/27 : COPY go.mod vendor* ./ 22:33:13 ---> 29ac1c432bd8 22:33:13 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:33:13 ---> Running in e07bf5101482 22:33:13 Removing intermediate container e07bf5101482 22:33:13 ---> 295fb4907598 22:33:13 Step 10/27 : COPY . . 22:33:13 ---> c99da6d6cf8c 22:33:13 Step 11/27 : ENV CGO_ENABLED=0 22:33:13 ---> Running in 74df2a44fb0c 22:33:14 Removing intermediate container 74df2a44fb0c 22:33:14 ---> 904c5ced2827 22:33:14 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:33:14 ---> Running in 89065c742d75 22:33:14 Removing intermediate container 89065c742d75 22:33:14 ---> 5cdef7f8f22f 22:33:14 Step 13/27 : RUN $MAKE 22:33:14 ---> Running in 6a72d0e58dbd 22:33:14 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 22:33:36 Removing intermediate container 6a72d0e58dbd 22:33:36 ---> 8b18ec2a87cc 22:33:36 Step 14/27 : FROM alpine:3.16 22:33:36 3.16: Pulling from library/alpine 22:33:36 ca7dd9ec2225: Pulling fs layer 22:33:36 ca7dd9ec2225: Verifying Checksum 22:33:36 ca7dd9ec2225: Download complete 22:33:36 ca7dd9ec2225: Pull complete 22:33:36 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:33:36 Status: Downloaded newer image for alpine:3.16 22:33:36 ---> bfe296a52501 22:33:36 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:33:36 ---> Running in bcd7f1352107 22:33:36 Removing intermediate container bcd7f1352107 22:33:36 ---> 4fbb7c546bc3 22:33:36 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 22:33:36 ---> Running in e26aafd4c688 22:33:36 Removing intermediate container e26aafd4c688 22:33:36 ---> e0f5ff222f94 22:33:36 Step 17/27 : RUN apk add --update --no-cache ca-certificates dumb-init 22:33:36 ---> Running in 5fcad1a3fc81 22:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:33:36 (1/2) Installing ca-certificates (20220614-r0) 22:33:36 (2/2) Installing dumb-init (1.2.5-r1) 22:33:36 Executing busybox-1.35.0-r17.trigger 22:33:36 Executing ca-certificates-20220614-r0.trigger 22:33:36 OK: 6 MiB in 16 packages 22:33:36 Removing intermediate container 5fcad1a3fc81 22:33:36 ---> 512c68e34472 22:33:36 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:33:36 ---> ebddffa4f0f5 22:33:36 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 22:33:36 ---> b8ea37d4dcac 22:33:36 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:33:36 ---> dc67a42cfdee 22:33:36 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:33:37 ---> d432046a62c2 22:33:37 Step 22/27 : EXPOSE 48095 22:33:37 ---> Running in 042aab8967ac 22:33:37 Removing intermediate container 042aab8967ac 22:33:37 ---> 8af40a1e3bc4 22:33:37 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 22:33:37 ---> Running in dbdc4157b7ba 22:33:37 Removing intermediate container dbdc4157b7ba 22:33:37 ---> 349ab05d2f4a 22:33:37 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:33:37 ---> Running in 5e6d83bb85ef 22:33:37 Removing intermediate container 5e6d83bb85ef 22:33:37 ---> 6213a331f1dc 22:33:37 Step 25/27 : LABEL arch=amd64 22:33:37 ---> Running in 079f288cb477 22:33:37 Removing intermediate container 079f288cb477 22:33:37 ---> 413128837c62 22:33:37 Step 26/27 : LABEL git_sha=9a1344e94c0b71b78ab19b4307347d2938ad1366 22:33:37 ---> Running in 2aa2da2e079c 22:33:37 Removing intermediate container 2aa2da2e079c 22:33:37 ---> c05e896db62d 22:33:37 Step 27/27 : LABEL version=0.0.0 22:33:37 ---> Running in a836767cc379 22:33:37 Removing intermediate container a836767cc379 22:33:37 ---> 151cae0dbfdc 22:33:37 [Warning] One or more build-args [ARCH] were not consumed 22:33:37 Successfully built 151cae0dbfdc 22:33:37 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 22:33:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:33:38 22:33:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:33:39 latest: Pulling from edgex-lftools-log-publisher 22:33:39 5eb5b503b376: Pulling fs layer 22:33:39 5c69ac0246d0: Pulling fs layer 22:33:39 ec43610c2a17: Pulling fs layer 22:33:39 3a2ae6a8a46f: Pulling fs layer 22:33:39 33b1e0a273af: Pulling fs layer 22:33:39 5d3b04190fa2: Pulling fs layer 22:33:39 2f39f015ded8: Pulling fs layer 22:33:39 33b1e0a273af: Waiting 22:33:39 3a2ae6a8a46f: Waiting 22:33:39 5d3b04190fa2: Waiting 22:33:39 2f39f015ded8: Waiting 22:33:39 5c69ac0246d0: Verifying Checksum 22:33:39 5c69ac0246d0: Download complete 22:33:39 3a2ae6a8a46f: Verifying Checksum 22:33:39 3a2ae6a8a46f: Download complete 22:33:39 33b1e0a273af: Verifying Checksum 22:33:39 33b1e0a273af: Download complete 22:33:39 5d3b04190fa2: Verifying Checksum 22:33:39 5d3b04190fa2: Download complete 22:33:39 ec43610c2a17: Verifying Checksum 22:33:39 ec43610c2a17: Download complete 22:33:39 5eb5b503b376: Verifying Checksum 22:33:39 5eb5b503b376: Download complete 22:33:39 2f39f015ded8: Download complete 22:33:40 5eb5b503b376: Pull complete 22:33:40 5c69ac0246d0: Pull complete 22:33:41 ec43610c2a17: Pull complete 22:33:41 3a2ae6a8a46f: Pull complete 22:33:41 33b1e0a273af: Pull complete 22:33:41 5d3b04190fa2: Pull complete 22:33:45 2f39f015ded8: Pull complete 22:33:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:33:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:33:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:46 prd-ubuntu20.04-docker-8c-8g-975 does not seem to be running inside a container 22:33:46 $ 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-494 -v /w/workspace/_app-service-configurable_PR-494:/w/workspace/_app-service-configurable_PR-494:rw,z -v /w/workspace/_app-service-configurable_PR-494@tmp:/w/workspace/_app-service-configurable_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:33:49 $ docker top 3c6c82e2efddebea7e066d5ad6d866e73ff31331c63f5545770783c3a3d05e7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:50 ---> job-cost.sh 22:33:50 lf-activate-venv: SKIPPING 22:33:50 INFO: No Stack... 22:33:50 INFO: Retrieving Pricing Info for: v3-standard-8 22:33:51 INFO: Archiving Costs [Pipeline] sh 22:33:51 + cat /w/workspace/_app-service-configurable_PR-494/archives/cost.csv 22:33:51 + cut -d, -f6 [Pipeline] lock 22:33:51 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-494-1-stack-cost] 22:33:51 Resource [jenkins-edgexfoundry-app-service-configurable-PR-494-1-stack-cost] did not exist. Created. 22:33:51 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-494-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:33:51 + echo total: 0.2199999988079071 [Pipeline] stash 22:33:51 Stashed 1 file(s) [Pipeline] } 22:33:51 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-494-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:33:51 $ docker stop --time=1 3c6c82e2efddebea7e066d5ad6d866e73ff31331c63f5545770783c3a3d05e7a 22:33:53 $ docker rm -f --volumes 3c6c82e2efddebea7e066d5ad6d866e73ff31331c63f5545770783c3a3d05e7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:35:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-977 in /w/workspace/_app-service-configurable_PR-494 [Pipeline] { [Pipeline] ws 22:35:20 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 22:35:20 Selected Git installation does not exist. Using Default 22:35:20 The recommended git tool is: NONE 22:35:26 using credential edgex-jenkins-ssh 22:35:26 Cloning the remote Git repository 22:35:26 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:35:26 > git init /w/workspace/app-service-configurable/1 # timeout=10 22:35:26 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:35:26 > git --version # timeout=10 22:35:26 > git --version # 'git version 2.25.1' 22:35:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:28 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:35:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:29 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:35:29 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:35:29 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/494/head:refs/remotes/origin/PR-494 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:35:29 Merging remotes/origin/main commit 4955b72e7e2333f21a3dea3e923d2a5036ff361a into PR head commit 9a1344e94c0b71b78ab19b4307347d2938ad1366 22:35:30 Merge succeeded, producing 9a1344e94c0b71b78ab19b4307347d2938ad1366 22:35:30 Checking out Revision 9a1344e94c0b71b78ab19b4307347d2938ad1366 (PR-494) 22:35:29 > git config core.sparsecheckout # timeout=10 22:35:29 > git checkout -f 9a1344e94c0b71b78ab19b4307347d2938ad1366 # timeout=10 22:35:30 > git remote # timeout=10 22:35:30 > git config --get remote.origin.url # timeout=10 22:35:30 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:30 > git merge 4955b72e7e2333f21a3dea3e923d2a5036ff361a # timeout=10 22:35:30 > git rev-parse HEAD^{commit} # timeout=10 22:35:30 > git config core.sparsecheckout # timeout=10 22:35:30 > git checkout -f 9a1344e94c0b71b78ab19b4307347d2938ad1366 # timeout=10 22:35:33 Commit message: "build: Disable CGO for all docker builds so always work" 22:35:33 > git --version # timeout=10 22:35:33 > git --version # 'git version 2.25.1' 22:35:33 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:35:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:35:34 Dload Upload Total Spent Left Speed 22:35:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 22:35:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:35:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:35:35 + sudo tee /etc/docker/daemon.new 22:35:35 { 22:35:35 "registry-mirrors": [ 22:35:35 "https://nexus3.edgexfoundry.org:10001" 22:35:35 ], 22:35:35 "bip": "10.250.0.254/24", 22:35:35 "hosts": [ 22:35:35 "tcp://0.0.0.0:5555", 22:35:35 "unix:///var/run/docker.sock" 22:35:35 ], 22:35:35 "mtu": 1458, 22:35:35 "selinux-enabled": true, 22:35:35 "seccomp-profile": "/etc/docker/seccomp.json" 22:35:35 } [Pipeline] sh 22:35:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:35:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:35:54 provisioning config files... 22:35:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3580466025639843914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:35:55 ---> docker-login.sh 22:35:55 nexus3.edgexfoundry.org:10001 22:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:56 Configure a credential helper to remove this warning. See 22:35:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:56 22:35:56 Login Succeeded 22:35:56 nexus3.edgexfoundry.org:10002 22:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:56 Configure a credential helper to remove this warning. See 22:35:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:56 22:35:56 Login Succeeded 22:35:56 nexus3.edgexfoundry.org:10003 22:35:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:56 Configure a credential helper to remove this warning. See 22:35:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:56 22:35:56 Login Succeeded 22:35:56 nexus3.edgexfoundry.org:10004 22:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:57 Configure a credential helper to remove this warning. See 22:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:57 22:35:57 Login Succeeded 22:35:57 docker.io 22:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:57 Configure a credential helper to remove this warning. See 22:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:57 22:35:57 Login Succeeded 22:35:57 ---> docker-login.sh ends [Pipeline] } 22:35:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:35:58 ========================================================= 22:35:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:35:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:35:58 Sending build context to Docker daemon 216.6kB 22:35:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:35:59 Step 2/13 : FROM ${BASE} AS builder 22:35:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:35:59 9b18e9b68314: Pulling fs layer 22:35:59 35d82f9e3411: Pulling fs layer 22:35:59 e16973657156: Pulling fs layer 22:35:59 fc693d55d65f: Pulling fs layer 22:35:59 7e9fc2657dce: Pulling fs layer 22:35:59 dda99020689f: Pulling fs layer 22:35:59 db1c61fa0a46: Pulling fs layer 22:35:59 891c053d2c06: Pulling fs layer 22:35:59 fc693d55d65f: Waiting 22:35:59 7e9fc2657dce: Waiting 22:35:59 dda99020689f: Waiting 22:35:59 891c053d2c06: Waiting 22:35:59 db1c61fa0a46: Waiting 22:35:59 35d82f9e3411: Verifying Checksum 22:35:59 35d82f9e3411: Download complete 22:35:59 e16973657156: Verifying Checksum 22:35:59 e16973657156: Download complete 22:35:59 7e9fc2657dce: Verifying Checksum 22:35:59 7e9fc2657dce: Download complete 22:35:59 dda99020689f: Verifying Checksum 22:35:59 dda99020689f: Download complete 22:35:59 9b18e9b68314: Verifying Checksum 22:35:59 9b18e9b68314: Download complete 22:36:00 9b18e9b68314: Pull complete 22:36:00 891c053d2c06: Verifying Checksum 22:36:00 891c053d2c06: Download complete 22:36:00 35d82f9e3411: Pull complete 22:36:01 e16973657156: Pull complete 22:36:01 db1c61fa0a46: Verifying Checksum 22:36:01 db1c61fa0a46: Download complete 22:36:02 fc693d55d65f: Verifying Checksum 22:36:02 fc693d55d65f: Download complete 22:36:14 fc693d55d65f: Pull complete 22:36:14 7e9fc2657dce: Pull complete 22:36:14 dda99020689f: Pull complete 22:36:21 db1c61fa0a46: Pull complete 22:36:22 891c053d2c06: Pull complete 22:36:22 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:36:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:36:22 ---> f96f9c87975a 22:36:22 Step 3/13 : ARG ALPINE_PKG_BASE="make git" 22:36:24 ---> Running in 905501569bf7 22:36:24 Removing intermediate container 905501569bf7 22:36:24 ---> 154cd731e157 22:36:24 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:36:24 ---> Running in 78dbccc363ea 22:36:25 Removing intermediate container 78dbccc363ea 22:36:25 ---> 4e7ba2227aa0 22:36:25 Step 5/13 : ARG ADD_BUILD_TAGS="" 22:36:25 ---> Running in 8ff37e778750 22:36:25 Removing intermediate container 8ff37e778750 22:36:25 ---> 279f4c9c93d3 22:36:25 Step 6/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:36:25 ---> Running in dcf825a1f097 22:36:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:36:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:36:28 OK: 221 MiB in 51 packages 22:36:30 Removing intermediate container dcf825a1f097 22:36:30 ---> 251b959ecee1 22:36:30 Step 7/13 : WORKDIR /app 22:36:30 ---> Running in c6ef591bc2f0 22:36:30 Removing intermediate container c6ef591bc2f0 22:36:30 ---> 8ff5ea5878ce 22:36:30 Step 8/13 : COPY go.mod vendor* ./ 22:36:31 ---> 4a2886ae8b48 22:36:31 Step 9/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:36:31 ---> Running in 96163bd33284 22:37:27 Removing intermediate container 96163bd33284 22:37:27 ---> a0a398bc141a 22:37:27 Step 10/13 : COPY . . 22:37:27 ---> d8e5449bf9e0 22:37:27 Step 11/13 : ENV CGO_ENABLED=0 22:37:27 ---> Running in c7d25e77ec0a 22:37:27 Removing intermediate container c7d25e77ec0a 22:37:27 ---> f9c5f488c021 22:37:27 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:37:27 ---> Running in 6a0e120303eb 22:37:27 Removing intermediate container 6a0e120303eb 22:37:27 ---> a93a99cb143c 22:37:27 Step 13/13 : RUN $MAKE 22:37:27 ---> Running in 4752cc0fe3c8 22:37:28 noop 22:37:28 Removing intermediate container 4752cc0fe3c8 22:37:28 ---> 4c233f958182 22:37:28 Successfully built 4c233f958182 22:37:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:29 + docker inspect -f . ci-base-image-arm64 22:37:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:37:29 prd-ubuntu20.04-docker-arm64-4c-16g-977 does not seem to be running inside a container 22:37:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:37:32 $ docker top c7cae732d1da8a6429ff8bf0f2d8b5f67c3d069734eb141f84bdd4d606680ca3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:37:33 + go version 22:37:33 go version go1.18.7 linux/arm64 [Pipeline] } 22:37:33 $ docker stop --time=1 c7cae732d1da8a6429ff8bf0f2d8b5f67c3d069734eb141f84bdd4d606680ca3 22:37:35 $ docker rm -f --volumes c7cae732d1da8a6429ff8bf0f2d8b5f67c3d069734eb141f84bdd4d606680ca3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:36 + docker inspect -f . ci-base-image-arm64 22:37:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:37:36 prd-ubuntu20.04-docker-arm64-4c-16g-977 does not seem to be running inside a container 22:37:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:37:37 $ docker top 3c158e79fe546576845f0e474dfaca55ad0bffd58798701471074c58aa6952c8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:37:38 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 22:37:38 + make test 22:37:38 go test -coverprofile=coverage.out ./... 22:39:15 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:39:15 go vet ./... 22:39:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:39:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:39:27 ./bin/test-attribution-txt.sh [Pipeline] echo 22:39:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:39:27 $ docker stop --time=1 3c158e79fe546576845f0e474dfaca55ad0bffd58798701471074c58aa6952c8 22:39:29 $ docker rm -f --volumes 3c158e79fe546576845f0e474dfaca55ad0bffd58798701471074c58aa6952c8 [Pipeline] // withDockerContainer [Pipeline] sh 22:39:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:39:30 Warning: overwriting stash ‘coverage-report’ 22:39:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:39:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:39:32 + ls -al . 22:39:32 total 180 22:39:32 drwxrwxr-x 7 jenkins jenkins 4096 Jan 3 22:37 . 22:39:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:35 .. 22:39:32 -rw-rw-r-- 1 jenkins jenkins 119 Jan 3 22:35 .dockerignore 22:39:32 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:35 .git 22:39:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:35 .github 22:39:32 -rw-rw-r-- 1 jenkins jenkins 171 Jan 3 22:35 .gitignore 22:39:32 -rw-rw-r-- 1 jenkins jenkins 9207 Jan 3 22:35 Attribution.txt 22:39:32 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 3 22:35 CHANGELOG.md 22:39:32 -rw-rw-r-- 1 jenkins jenkins 1916 Jan 3 22:35 Dockerfile 22:39:32 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 22:35 GOVERNANCE.md 22:39:32 -rw-rw-r-- 1 jenkins jenkins 688 Jan 3 22:35 Jenkinsfile 22:39:32 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 3 22:35 LICENSE 22:39:32 -rw-rw-r-- 1 jenkins jenkins 618 Jan 3 22:35 OWNERS.md 22:39:32 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 3 22:35 README.md 22:39:32 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 22:32 VERSION 22:39:32 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:35 bin 22:39:32 -rw-r--r-- 1 jenkins jenkins 10 Jan 3 22:37 coverage.out 22:39:32 -rw-rw-r-- 1 jenkins jenkins 3396 Jan 3 22:35 go.mod 22:39:32 -rw-rw-r-- 1 jenkins jenkins 44230 Jan 3 22:35 go.sum 22:39:32 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 3 22:35 main.go 22:39:32 -rw-rw-r-- 1 jenkins jenkins 1892 Jan 3 22:35 makefile 22:39:32 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 22:35 res 22:39:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:35 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:32 + 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=9a1344e94c0b71b78ab19b4307347d2938ad1366 --label arch=arm64 --label version=0.0.0 . 22:39:32 Sending build context to Docker daemon 217.6kB 22:39:32 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 22:39:32 Step 2/27 : FROM ${BASE} AS builder 22:39:32 ---> 4c233f958182 22:39:32 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 22:39:32 ---> Running in 63d173f86d75 22:39:32 Removing intermediate container 63d173f86d75 22:39:32 ---> 173a7787a43c 22:39:32 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:39:33 ---> Running in 1e58196ed1ff 22:39:33 Removing intermediate container 1e58196ed1ff 22:39:33 ---> a400f62f395b 22:39:33 Step 5/27 : ARG ADD_BUILD_TAGS="" 22:39:33 ---> Running in 3bf9ae899391 22:39:33 Removing intermediate container 3bf9ae899391 22:39:33 ---> f7ea43b61e8c 22:39:33 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:39:34 ---> Running in 00681ea66e7f 22:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:39:36 OK: 221 MiB in 51 packages 22:39:38 Removing intermediate container 00681ea66e7f 22:39:38 ---> c8141baf9bba 22:39:38 Step 7/27 : WORKDIR /app 22:39:38 ---> Running in 41599505445b 22:39:38 Removing intermediate container 41599505445b 22:39:38 ---> c90b497aef41 22:39:38 Step 8/27 : COPY go.mod vendor* ./ 22:39:39 ---> 0b1e3b9af774 22:39:39 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:39:39 ---> Running in 2caab1ea4980 22:39:41 Removing intermediate container 2caab1ea4980 22:39:41 ---> 1857405eabbb 22:39:41 Step 10/27 : COPY . . 22:39:41 ---> f31a2e292a84 22:39:41 Step 11/27 : ENV CGO_ENABLED=0 22:39:41 ---> Running in b7996389c03d 22:39:41 Removing intermediate container b7996389c03d 22:39:41 ---> 1776d4cf36cb 22:39:41 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:39:42 ---> Running in d0e04f1f0bb2 22:39:42 Removing intermediate container d0e04f1f0bb2 22:39:42 ---> e31db2cbc0e3 22:39:42 Step 13/27 : RUN $MAKE 22:39:42 ---> Running in d93e5eb04f23 22:39:43 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 22:41:50 Removing intermediate container d93e5eb04f23 22:41:50 ---> 9aadcfbb1970 22:41:50 Step 14/27 : FROM alpine:3.16 22:41:50 3.16: Pulling from library/alpine 22:41:50 6875df1f5354: Pulling fs layer 22:41:50 6875df1f5354: Verifying Checksum 22:41:51 6875df1f5354: Pull complete 22:41:51 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:41:51 Status: Downloaded newer image for alpine:3.16 22:41:51 ---> 2b4661558fb8 22:41:51 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:41:51 ---> Running in 3e986123cc05 22:41:51 Removing intermediate container 3e986123cc05 22:41:51 ---> 4adf1759fc4c 22:41:51 Step 16/27 : LABEL Name=app-service-configurable Version=${VERSION} 22:41:51 ---> Running in 1940dfdcc081 22:41:52 Removing intermediate container 1940dfdcc081 22:41:52 ---> 79f9f79feb1b 22:41:52 Step 17/27 : RUN apk add --update --no-cache ca-certificates dumb-init 22:41:52 ---> Running in 292169ab8f67 22:41:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:41:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:41:54 (1/2) Installing ca-certificates (20220614-r0) 22:41:54 (2/2) Installing dumb-init (1.2.5-r1) 22:41:54 Executing busybox-1.35.0-r17.trigger 22:41:54 Executing ca-certificates-20220614-r0.trigger 22:41:54 OK: 6 MiB in 16 packages 22:41:57 Removing intermediate container 292169ab8f67 22:41:57 ---> 193edeb14ab7 22:41:57 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:41:58 ---> e7f27cf6f66a 22:41:58 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 22:41:58 ---> aca40685929e 22:41:58 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:41:59 ---> 0155df764859 22:41:59 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:42:00 ---> a484cead2300 22:42:00 Step 22/27 : EXPOSE 48095 22:42:00 ---> Running in 1e46ae0b7fc6 22:42:00 Removing intermediate container 1e46ae0b7fc6 22:42:00 ---> 843bb113bccb 22:42:00 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 22:42:00 ---> Running in fc1ae3582e1a 22:42:01 Removing intermediate container fc1ae3582e1a 22:42:01 ---> 69843901a6bd 22:42:01 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:42:01 ---> Running in 5d3d3872398f 22:42:01 Removing intermediate container 5d3d3872398f 22:42:01 ---> 46490988ca9a 22:42:01 Step 25/27 : LABEL arch=arm64 22:42:01 ---> Running in 2f7fcd94fe49 22:42:01 Removing intermediate container 2f7fcd94fe49 22:42:01 ---> 77cb0e1eac1d 22:42:01 Step 26/27 : LABEL git_sha=9a1344e94c0b71b78ab19b4307347d2938ad1366 22:42:01 ---> Running in 8b6f009f571c 22:42:01 Removing intermediate container 8b6f009f571c 22:42:01 ---> 7610f2d68b0b 22:42:01 Step 27/27 : LABEL version=0.0.0 22:42:01 ---> Running in ed17b4b178d5 22:42:02 Removing intermediate container ed17b4b178d5 22:42:02 ---> 4847a614cb84 22:42:02 [Warning] One or more build-args [ARCH] were not consumed 22:42:02 Successfully built 4847a614cb84 22:42:02 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 22:42:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:42:03 22:42:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:42:03 arm64: Pulling from edgex-lftools-log-publisher 22:42:03 8998bd30e6a1: Pulling fs layer 22:42:03 04944245beec: Pulling fs layer 22:42:03 699f458cf7ca: Pulling fs layer 22:42:03 765212b225bb: Pulling fs layer 22:42:03 f23df028b6ca: Pulling fs layer 22:42:03 d65c8cfc05b1: Pulling fs layer 22:42:03 2437ff75d9bd: Pulling fs layer 22:42:03 f23df028b6ca: Waiting 22:42:03 d65c8cfc05b1: Waiting 22:42:03 2437ff75d9bd: Waiting 22:42:03 765212b225bb: Waiting 22:42:03 04944245beec: Verifying Checksum 22:42:03 04944245beec: Download complete 22:42:03 765212b225bb: Verifying Checksum 22:42:03 765212b225bb: Download complete 22:42:03 f23df028b6ca: Verifying Checksum 22:42:03 f23df028b6ca: Download complete 22:42:03 d65c8cfc05b1: Verifying Checksum 22:42:03 d65c8cfc05b1: Download complete 22:42:03 699f458cf7ca: Verifying Checksum 22:42:03 699f458cf7ca: Download complete 22:42:04 8998bd30e6a1: Verifying Checksum 22:42:04 8998bd30e6a1: Download complete 22:42:06 2437ff75d9bd: Verifying Checksum 22:42:06 2437ff75d9bd: Download complete 22:42:07 8998bd30e6a1: Pull complete 22:42:07 04944245beec: Pull complete 22:42:09 699f458cf7ca: Pull complete 22:42:09 765212b225bb: Pull complete 22:42:09 f23df028b6ca: Pull complete 22:42:10 d65c8cfc05b1: Pull complete 22:42:25 2437ff75d9bd: Pull complete 22:42:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:42:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:42:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:25 prd-ubuntu20.04-docker-arm64-4c-16g-977 does not seem to be running inside a container 22:42: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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:42:27 $ docker top 1d6a9b54c4a3c85e12dc5e01560ff48dddab3bfef6f90ca66366784f71712b18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:28 ---> job-cost.sh 22:42:28 lf-activate-venv: SKIPPING 22:42:28 INFO: No Stack... 22:42:29 INFO: Retrieving Pricing Info for: v3-standard-4 22:42:29 INFO: Archiving Costs [Pipeline] sh 22:42:30 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 22:42:30 + cut -d, -f6 [Pipeline] lock 22:42:30 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-494-1-stack-cost] 22:42:30 Resource [jenkins-edgexfoundry-app-service-configurable-PR-494-1-stack-cost] did not exist. Created. 22:42:30 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-494-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:30 /w/workspace/app-service-configurable/1@tmp/durable-7efbf5fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:42:31 + echo total: 0.10999999940395355 [Pipeline] stash 22:42:31 Warning: overwriting stash ‘stack-cost’ 22:42:31 Stashed 1 file(s) [Pipeline] } 22:42:31 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-494-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:31 $ docker stop --time=1 1d6a9b54c4a3c85e12dc5e01560ff48dddab3bfef6f90ca66366784f71712b18 22:42:32 $ docker rm -f --volumes 1d6a9b54c4a3c85e12dc5e01560ff48dddab3bfef6f90ca66366784f71712b18 [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 22:42:33 provisioning config files... 22:42:33 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-494@tmp/config4051839836817688907tmp [Pipeline] { [Pipeline] sh 22:42:34 + set +x 22:42:34 + bash -s -- 22:42:34 + curl -s https://codecov.io/bash 22:42:34 22:42:34 _____ _ 22:42:34 / ____| | | 22:42:34 | | ___ __| | ___ ___ _____ __ 22:42:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:42:34 | |___| (_) | (_| | __/ (_| (_) \ V / 22:42:34 \_____\___/ \__,_|\___|\___\___/ \_/ 22:42:34 Bash-1.0.6 22:42:34 22:42:34 22:42:34 ==> git version 2.25.1 found 22:42:34 ==> 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 22:42:34 Release-Date: 2020-01-08 22:42:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:42:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:42:34 ==> Jenkins CI detected. 22:42:34 current dir:  /w/workspace/_app-service-configurable_PR-494 22:42:34 project root: . 22:42:34 --> token set from env 22:42:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:42:34 ==> Running gcov in . (disable via -X gcov) 22:42:34 ==> Python coveragepy not found 22:42:34 ==> Searching for coverage reports in: 22:42:34 + . 22:42:34 -> Found 1 reports 22:42:34 ==> Detecting git/mercurial file structure 22:42:34 ==> Reading reports 22:42:34 + ./coverage.out bytes=10 22:42:34 ==> Appending adjustments 22:42:34 https://docs.codecov.io/docs/fixing-reports 22:42:34 + Found adjustments 22:42:34 ==> Gzipping contents 22:42:34 4.0K /tmp/codecov.QhvYOO.gz 22:42:34 ==> Uploading reports 22:42:34 url: https://codecov.io 22:42:34 query: branch=PR-494&commit=9a1344e94c0b71b78ab19b4307347d2938ad1366&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-494%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=494&job=&cmd_args= 22:42:34 -> Pinging Codecov 22:42:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-494&commit=9a1344e94c0b71b78ab19b4307347d2938ad1366&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-494%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=494&job=&cmd_args= 22:42:34 -> Uploading to 22:42:34 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/A97CA9966030D2A3747ED39772930CCE/9a1344e94c0b71b78ab19b4307347d2938ad1366/634f94ee-1e63-4cd8-a86d-f4a4a971ced0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T224234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b325582b3c73662256d17599d299205a9ed4b1c1388d29bbe8d96be6150f066 22:42:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:42:34 Dload Upload Total Spent Left Speed 22:42:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 527 0 0 100 527 0 2242 --:--:-- --:--:-- --:--:-- 2242 22:42:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/9a1344e94c0b71b78ab19b4307347d2938ad1366 [Pipeline] } 22:42:34 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 22:42:36 + [ -d /w/workspace/_app-service-configurable_PR-494/archives ] 22:42:36 + ls -al /w/workspace/_app-service-configurable_PR-494/archives 22:42:36 total 16 22:42:36 drwxr-xr-x 3 root root 4096 Jan 3 22:33 . 22:42:36 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 22:33 .. 22:42:36 drwxr-xr-x 2 root root 4096 Jan 3 22:33 cost 22:42:36 -rw-r--r-- 1 root root 96 Jan 3 22:33 cost.csv 22:42:36 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-494/archives 22:42:36 + ls -al /w/workspace/_app-service-configurable_PR-494/archives 22:42:36 total 16 22:42:36 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 22:33 . 22:42:36 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 22:33 .. 22:42:36 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 22:33 cost 22:42:36 -rw-r--r-- 1 jenkins jenkins 96 Jan 3 22:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:42:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:42:37 ---> package-listing.sh 22:42:37 ++ facter osfamily 22:42:37 ++ tr '[:upper:]' '[:lower:]' 22:42:38 + OS_FAMILY=debian 22:42:38 + workspace=/w/workspace/_app-service-configurable_PR-494 22:42:38 + START_PACKAGES=/tmp/packages_start.txt 22:42:38 + END_PACKAGES=/tmp/packages_end.txt 22:42:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:42:38 + PACKAGES=/tmp/packages_start.txt 22:42:38 + '[' /w/workspace/_app-service-configurable_PR-494 ']' 22:42:38 + PACKAGES=/tmp/packages_end.txt 22:42:38 + case "${OS_FAMILY}" in 22:42:38 + dpkg -l 22:42:38 + grep '^ii' 22:42:38 + '[' -f /tmp/packages_start.txt ']' 22:42:38 + '[' -f /tmp/packages_end.txt ']' 22:42:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:42:38 + '[' /w/workspace/_app-service-configurable_PR-494 ']' 22:42:38 + mkdir -p /w/workspace/_app-service-configurable_PR-494/archives/ 22:42:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-494/archives/ [Pipeline] echo 22:42:38 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-494/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:42:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:39 prd-ubuntu20.04-docker-8c-8g-975 does not seem to be running inside a container 22:42:39 $ 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-494/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-494 -v /w/workspace/_app-service-configurable_PR-494:/w/workspace/_app-service-configurable_PR-494:rw,z -v /w/workspace/_app-service-configurable_PR-494@tmp:/w/workspace/_app-service-configurable_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:42:39 $ docker top 8d09c126700d450465ce72b06b9442be1d349c7a76141aa8e72c188a0bc2dfb1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:39 + touch /tmp/pre-build-complete [Pipeline] sh 22:42:40 + mkdir -p /var/log/sysstat [Pipeline] sh 22:42:40 + ls /var/log/sa-host 22:42:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:40 provisioning config files... 22:42:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-494@tmp/config12037605557843871484tmp [Pipeline] { [Pipeline] echo 22:42:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:42:41 ---> create-netrc.sh [Pipeline] } 22:42:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:42:41 ---> python-tools-install.sh [Pipeline] echo 22:42:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:42:41 ---> sudo-logs.sh 22:42:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:42:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:42:42 ---> job-cost.sh 22:42:42 lf-activate-venv: SKIPPING 22:42:42 DEBUG: total: 0.2199999988079071 22:42:42 INFO: Retrieving Stack Cost... 22:42:42 INFO: Retrieving Pricing Info for: v3-standard-8 22:42:43 INFO: Archiving Costs [Pipeline] echo 22:42:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:42:43 ---> logs-deploy.sh 22:42:43 lf-activate-venv: SKIPPING 22:42:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-494/1 22:42:43 INFO: archiving workspace using pattern(s): 22:42:44 Archives upload complete. 22:42:44 INFO: archiving logs to Nexus