Pull request #579 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 cherrycl for edgexfoundry/app-service-configurable Loading trusted files from base branch main at c5f9822de111f2ad008e04cca8702a7116aaeba8 rather than 27f04b8be9641ab55644619a2a9bef97aabf9bd0 Obtained Jenkinsfile from c5f9822de111f2ad008e04cca8702a7116aaeba8 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-ssh16521389855046996092.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9510378195601252802.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-579/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-579/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17685255500800195095.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-579/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16119735952358099082.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh3177906214293276080.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-579/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-579/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11049264621853722428.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2312 in /w/workspace/_app-service-configurable_PR-579 [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-579 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c5f9822de111f2ad008e04cca8702a7116aaeba8 into PR head commit 27f04b8be9641ab55644619a2a9bef97aabf9bd0 Merge succeeded, producing 27f04b8be9641ab55644619a2a9bef97aabf9bd0 Checking out Revision 27f04b8be9641ab55644619a2a9bef97aabf9bd0 (PR-579) > git config core.sparsecheckout # timeout=10 > git checkout -f 27f04b8be9641ab55644619a2a9bef97aabf9bd0 # 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 c5f9822de111f2ad008e04cca8702a7116aaeba8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27f04b8be9641ab55644619a2a9bef97aabf9bd0 # timeout=10 Commit message: "fix: Add InsecureSecrets section to external-mqtt-trigger profile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:37:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:37:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:37:55 ========================================================= 00:37:55 EdgeX Global Pipelines Version Info 00:37:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:37:56 ------------------- 00:37:56 stable info: 00:37:56 ------------------- 00:37:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:37:56 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:37:56 Message: update stable to v1.0.250 00:37:57 ------------------- 00:37:57 experimental info: 00:37:57 ------------------- 00:37:57 Commited By: **** collab-it+edgex@linuxfoundation.org 00:37:57 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:37:57 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-579 [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-579 [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-579 [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27f04b8be9641ab55644619a2a9bef97aabf9bd0 [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27f04b8 [Pipeline] echo 00:37:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:37:58 provisioning config files... 00:37:58 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-579@tmp/config13058598996275025555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:37:59 ---> docker-login.sh 00:37:59 nexus3.edgexfoundry.org:10001 00:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:59 Configure a credential helper to remove this warning. See 00:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:59 00:37:59 Login Succeeded 00:37:59 nexus3.edgexfoundry.org:10002 00:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:59 Configure a credential helper to remove this warning. See 00:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:59 00:37:59 Login Succeeded 00:37:59 nexus3.edgexfoundry.org:10003 00:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:59 Configure a credential helper to remove this warning. See 00:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:59 00:37:59 Login Succeeded 00:37:59 nexus3.edgexfoundry.org:10004 00:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:00 Configure a credential helper to remove this warning. See 00:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:00 00:38:00 Login Succeeded 00:38:00 docker.io 00:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:00 Configure a credential helper to remove this warning. See 00:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:00 00:38:00 Login Succeeded 00:38:00 ---> docker-login.sh ends [Pipeline] } 00:38:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:38:00 + git rev-list -1 --merges 27f04b8be9641ab55644619a2a9bef97aabf9bd0~1..27f04b8be9641ab55644619a2a9bef97aabf9bd0 [Pipeline] echo 00:38:01 -----------> git rev-list -1 --merges 27f04b8be9641ab55644619a2a9bef97aabf9bd0~1..27f04b8be9641ab55644619a2a9bef97aabf9bd0 27f04b8be9641ab55644619a2a9bef97aabf9bd0 [false] [Pipeline] sh 00:38:01 + git log --format=format:%s -1 27f04b8be9641ab55644619a2a9bef97aabf9bd0 [Pipeline] echo 00:38:01 ========================================================= 00:38:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:38:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:38:01 + git log --format=format:%s -1 27f04b8be9641ab55644619a2a9bef97aabf9bd0 [Pipeline] echo 00:38:01 [semverPrep] GIT_COMMIT: 27f04b8be9641ab55644619a2a9bef97aabf9bd0, Commit Message: fix: Add InsecureSecrets section to external-mqtt-trigger profile [Pipeline] echo 00:38:01 [semverPrep] This is not a build commit. [Pipeline] sh 00:38:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:38:02 + grep -v github /etc/ssh/ssh_known_hosts 00:38:02 + [ -e /tmp/ssh_known_hosts ] 00:38:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:38:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:38:02 + sudo tee -a /etc/ssh/ssh_known_hosts 00:38:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:38:02 00:38:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:38:03 0.1.4: Pulling from edgex-devops/py-git-semver 00:38:03 b85a868b505f: Pulling fs layer 00:38:03 e2be974225ed: Pulling fs layer 00:38:03 339a4e72a1f5: Pulling fs layer 00:38:03 988bab9f4d93: Pulling fs layer 00:38:03 1469e6f7b9e6: Pulling fs layer 00:38:03 eaf3925da568: Pulling fs layer 00:38:03 bab4dde63d76: Pulling fs layer 00:38:03 bde34c3a00c8: Pulling fs layer 00:38:03 b352a97aabf1: Pulling fs layer 00:38:03 4872d77fe225: Pulling fs layer 00:38:03 5851b861e8e6: Pulling fs layer 00:38:03 bab4dde63d76: Waiting 00:38:03 bde34c3a00c8: Waiting 00:38:03 4872d77fe225: Waiting 00:38:03 b352a97aabf1: Waiting 00:38:03 1469e6f7b9e6: Waiting 00:38:03 eaf3925da568: Waiting 00:38:03 5851b861e8e6: Waiting 00:38:03 e2be974225ed: Verifying Checksum 00:38:03 e2be974225ed: Download complete 00:38:03 988bab9f4d93: Verifying Checksum 00:38:03 988bab9f4d93: Download complete 00:38:03 1469e6f7b9e6: Verifying Checksum 00:38:03 1469e6f7b9e6: Download complete 00:38:03 eaf3925da568: Verifying Checksum 00:38:03 eaf3925da568: Download complete 00:38:03 339a4e72a1f5: Verifying Checksum 00:38:03 339a4e72a1f5: Download complete 00:38:03 bde34c3a00c8: Verifying Checksum 00:38:03 bde34c3a00c8: Download complete 00:38:03 b352a97aabf1: Download complete 00:38:03 4872d77fe225: Download complete 00:38:03 5851b861e8e6: Verifying Checksum 00:38:03 5851b861e8e6: Download complete 00:38:03 b85a868b505f: Verifying Checksum 00:38:03 bab4dde63d76: Verifying Checksum 00:38:03 bab4dde63d76: Download complete 00:38:04 b85a868b505f: Pull complete 00:38:04 e2be974225ed: Pull complete 00:38:05 339a4e72a1f5: Pull complete 00:38:05 988bab9f4d93: Pull complete 00:38:05 1469e6f7b9e6: Pull complete 00:38:05 eaf3925da568: Pull complete 00:38:07 bab4dde63d76: Pull complete 00:38:07 bde34c3a00c8: Pull complete 00:38:07 b352a97aabf1: Pull complete 00:38:07 4872d77fe225: Pull complete 00:38:07 5851b861e8e6: Pull complete 00:38:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:38:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:38:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:38:07 prd-ubuntu20.04-docker-8c-8g-2312 does not seem to be running inside a container 00:38:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-579 -v /w/workspace/_app-service-configurable_PR-579:/w/workspace/_app-service-configurable_PR-579:rw,z -v /w/workspace/_app-service-configurable_PR-579@tmp:/w/workspace/_app-service-configurable_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:38:10 $ docker top 2c2148008842e5662ea7ca656d2de860d9949692fc4cfa1ef4da76df37944e5a -eo pid,comm 00:38:10 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). 00:38:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:38:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:38:10 [ssh-agent] Looking for ssh-agent implementation... 00:38:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:38:10 $ docker exec 2c2148008842e5662ea7ca656d2de860d9949692fc4cfa1ef4da76df37944e5a ssh-agent 00:38:11 SSH_AUTH_SOCK=/tmp/ssh-SLlHQZj3SzXN/agent.32 00:38:11 SSH_AGENT_PID=39 00:38:11 Running ssh-add (command line suppressed) 00:38:11 Identity added: /w/workspace/_app-service-configurable_PR-579@tmp/private_key_9648515924169193628.key (/w/workspace/_app-service-configurable_PR-579@tmp/private_key_9648515924169193628.key) 00:38:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:38:11 + git tag --points-at HEAD [Pipeline] } 00:38:11 $ docker exec --env ******** --env ******** 2c2148008842e5662ea7ca656d2de860d9949692fc4cfa1ef4da76df37944e5a ssh-agent -k 00:38:11 unset SSH_AUTH_SOCK; 00:38:11 unset SSH_AGENT_PID; 00:38:11 echo Agent pid 39 killed; 00:38:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:38:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:38:11 [ssh-agent] Looking for ssh-agent implementation... 00:38:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:38:11 $ docker exec 2c2148008842e5662ea7ca656d2de860d9949692fc4cfa1ef4da76df37944e5a ssh-agent 00:38:11 SSH_AUTH_SOCK=/tmp/ssh-YDY6VfGaO09X/agent.71 00:38:11 SSH_AGENT_PID=77 00:38:11 Running ssh-add (command line suppressed) 00:38:12 Identity added: /w/workspace/_app-service-configurable_PR-579@tmp/private_key_138286103711616277.key (/w/workspace/_app-service-configurable_PR-579@tmp/private_key_138286103711616277.key) 00:38:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:38:12 + git semver init 00:38:12 2023-07-27 00:38:12,559 [run_init] DEBUG init version:0.0.0 force:False 00:38:12 2023-07-27 00:38:12,559 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-579/.semver 00:38:12 2023-07-27 00:38:12,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-579/.semver 00:38:12 2023-07-27 00:38:12,560 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-579/.semver'], cwd=/w/workspace/_app-service-configurable_PR-579, universal_newlines=False, shell=None, istream=None) 00:38:13 2023-07-27 00:38:13,473 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-579/.git/info/exclude 00:38:13 2023-07-27 00:38:13,474 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-579/.semver/PR-579 with force:False 00:38:13 2023-07-27 00:38:13,474 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-579/.semver/PR-579 00:38:13 2023-07-27 00:38:13,476 [execute] INFO git cat-file --batch-check 00:38:13 2023-07-27 00:38:13,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-579/.semver, universal_newlines=False, shell=None, istream=) 00:38:13 2023-07-27 00:38:13,482 [execute] INFO git cat-file --batch 00:38:13 2023-07-27 00:38:13,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-579/.semver, universal_newlines=False, shell=None, istream=) 00:38:13 2023-07-27 00:38:13,487 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-579/.semver/PR-579 00:38:13 0.0.0 [Pipeline] } 00:38:13 $ docker exec --env ******** --env ******** 2c2148008842e5662ea7ca656d2de860d9949692fc4cfa1ef4da76df37944e5a ssh-agent -k 00:38:13 unset SSH_AUTH_SOCK; 00:38:13 unset SSH_AGENT_PID; 00:38:13 echo Agent pid 77 killed; 00:38:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:38:14 + git semver [Pipeline] } 00:38:14 $ docker stop --time=1 2c2148008842e5662ea7ca656d2de860d9949692fc4cfa1ef4da76df37944e5a 00:38:15 $ docker rm -f --volumes 2c2148008842e5662ea7ca656d2de860d9949692fc4cfa1ef4da76df37944e5a [Pipeline] // withDockerContainer [Pipeline] sh 00:38:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:38:16 Stashed 1 file(s) [Pipeline] echo 00:38:16 [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 00:38:16 provisioning config files... 00:38:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-579@tmp/config10056105702984966736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:38:17 ---> docker-login.sh 00:38:17 nexus3.edgexfoundry.org:10001 00:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:17 Configure a credential helper to remove this warning. See 00:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:17 00:38:17 Login Succeeded 00:38:17 nexus3.edgexfoundry.org:10002 00:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:17 Configure a credential helper to remove this warning. See 00:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:17 00:38:17 Login Succeeded 00:38:17 nexus3.edgexfoundry.org:10003 00:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:17 Configure a credential helper to remove this warning. See 00:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:17 00:38:17 Login Succeeded 00:38:17 nexus3.edgexfoundry.org:10004 00:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:17 Configure a credential helper to remove this warning. See 00:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:17 00:38:17 Login Succeeded 00:38:17 docker.io 00:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:38:17 Configure a credential helper to remove this warning. See 00:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:38:17 00:38:17 Login Succeeded 00:38:17 ---> docker-login.sh ends [Pipeline] } 00:38:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:38:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:38:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:38:18 ========================================================= 00:38:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:38:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:38:18 Sending build context to Docker daemon 3.31MB 00:38:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:38:18 Step 2/12 : FROM ${BASE} AS builder 00:38:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:38:18 4db1b89c0bd1: Pulling fs layer 00:38:18 6911f1a30b25: Pulling fs layer 00:38:18 e194b8c5c2a9: Pulling fs layer 00:38:18 6863d3e3a2b1: Pulling fs layer 00:38:18 ec0bb842ea78: Pulling fs layer 00:38:18 40a00589a448: Pulling fs layer 00:38:18 6c08303d61cc: Pulling fs layer 00:38:18 798269fcf238: Pulling fs layer 00:38:18 6863d3e3a2b1: Waiting 00:38:18 ec0bb842ea78: Waiting 00:38:18 40a00589a448: Waiting 00:38:18 6c08303d61cc: Waiting 00:38:18 798269fcf238: Waiting 00:38:18 6911f1a30b25: Verifying Checksum 00:38:18 6911f1a30b25: Download complete 00:38:18 6863d3e3a2b1: Download complete 00:38:18 ec0bb842ea78: Verifying Checksum 00:38:18 ec0bb842ea78: Download complete 00:38:18 4db1b89c0bd1: Download complete 00:38:18 40a00589a448: Verifying Checksum 00:38:18 40a00589a448: Download complete 00:38:18 4db1b89c0bd1: Pull complete 00:38:18 6911f1a30b25: Pull complete 00:38:19 798269fcf238: Verifying Checksum 00:38:19 798269fcf238: Download complete 00:38:19 e194b8c5c2a9: Verifying Checksum 00:38:19 e194b8c5c2a9: Download complete 00:38:19 6c08303d61cc: Verifying Checksum 00:38:19 6c08303d61cc: Download complete 00:38:23 e194b8c5c2a9: Pull complete 00:38:23 6863d3e3a2b1: Pull complete 00:38:23 ec0bb842ea78: Pull complete 00:38:23 40a00589a448: Pull complete 00:38:25 6c08303d61cc: Pull complete 00:38:26 798269fcf238: Pull complete 00:38:26 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:38:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:38:26 ---> ec979cd7f677 00:38:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:38:31 ---> Running in 31f670eba2a7 00:38:31 Removing intermediate container 31f670eba2a7 00:38:31 ---> 0a3827fdc7ac 00:38:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:38:31 ---> Running in ef08f29901ed 00:38:31 Removing intermediate container ef08f29901ed 00:38:31 ---> 833f1852bb75 00:38:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:38:31 ---> Running in d989bc8cb8a3 00:38:31 Removing intermediate container d989bc8cb8a3 00:38:31 ---> 9bb1e5202f90 00:38:31 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:38:31 ---> Running in 56b95d04006b 00:38:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:38:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:38:31 Still waiting to schedule task 00:38:31 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:38:31 OK: 265 MiB in 53 packages 00:38:31 Removing intermediate container 56b95d04006b 00:38:31 ---> ddbe4789b057 00:38:31 Step 7/12 : WORKDIR /app 00:38:32 ---> Running in 7dc728260846 00:38:32 Removing intermediate container 7dc728260846 00:38:32 ---> 8489bf6ea1e5 00:38:32 Step 8/12 : COPY go.mod vendor* ./ 00:38:32 ---> b9a3b2be2229 00:38:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:38:32 ---> Running in 6b63e5721382 00:39:04 Removing intermediate container 6b63e5721382 00:39:04 ---> 4890700510fb 00:39:04 Step 10/12 : COPY . . 00:39:04 ---> ca1b96ee5d91 00:39:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:39:04 ---> Running in 858b607d3d64 00:39:04 Removing intermediate container 858b607d3d64 00:39:04 ---> afa7f30d6398 00:39:04 Step 12/12 : RUN $MAKE 00:39:04 ---> Running in bd081bd03ce2 00:39:04 noop 00:39:04 Removing intermediate container bd081bd03ce2 00:39:04 ---> b28cd1f31d8e 00:39:04 Successfully built b28cd1f31d8e 00:39:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:04 + docker inspect -f . ci-base-image-x86_64 00:39:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:39:04 prd-ubuntu20.04-docker-8c-8g-2312 does not seem to be running inside a container 00:39:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-579 -v /w/workspace/_app-service-configurable_PR-579:/w/workspace/_app-service-configurable_PR-579:rw,z -v /w/workspace/_app-service-configurable_PR-579@tmp:/w/workspace/_app-service-configurable_PR-579@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 ******** ci-base-image-x86_64 cat 00:39:05 $ docker top aab5b173cdb9ac3eb2bf1118f6630ebaa1d35368b2ac5c5cf123a5e89fee559e -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:05 + go version 00:39:05 go version go1.20.6 linux/amd64 [Pipeline] } 00:39:05 $ docker stop --time=1 aab5b173cdb9ac3eb2bf1118f6630ebaa1d35368b2ac5c5cf123a5e89fee559e 00:39:07 $ docker rm -f --volumes aab5b173cdb9ac3eb2bf1118f6630ebaa1d35368b2ac5c5cf123a5e89fee559e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:07 + docker inspect -f . ci-base-image-x86_64 00:39:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:39:07 prd-ubuntu20.04-docker-8c-8g-2312 does not seem to be running inside a container 00:39:07 $ 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-579 -v /w/workspace/_app-service-configurable_PR-579:/w/workspace/_app-service-configurable_PR-579:rw,z -v /w/workspace/_app-service-configurable_PR-579@tmp:/w/workspace/_app-service-configurable_PR-579@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 ******** ci-base-image-x86_64 cat 00:39:08 $ docker top a6806c204584608f994493581fe42037ec09d7a59f6034a3c73d9d7777ddd8e1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:08 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-579 [Pipeline] fileExists [Pipeline] sh 00:39:09 + make test 00:39:09 go test -race -coverprofile=coverage.out ./... 00:39:27 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:39:45 go vet ./... 00:39:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:39:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:39:47 ./bin/test-attribution-txt.sh [Pipeline] echo 00:39:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:39:47 $ docker stop --time=1 a6806c204584608f994493581fe42037ec09d7a59f6034a3c73d9d7777ddd8e1 00:39:52 $ docker rm -f --volumes a6806c204584608f994493581fe42037ec09d7a59f6034a3c73d9d7777ddd8e1 [Pipeline] // withDockerContainer [Pipeline] sh 00:39:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:39:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:39:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:39:54 + ls -al . 00:39:54 total 180 00:39:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 00:39 . 00:39:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:37 .. 00:39:54 -rw-rw-r-- 1 jenkins jenkins 119 Jul 27 00:37 .dockerignore 00:39:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 00:38 .git 00:39:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:37 .github 00:39:54 -rw-rw-r-- 1 jenkins jenkins 171 Jul 27 00:37 .gitignore 00:39:54 -rw-rw-r-- 1 jenkins jenkins 41 Jul 27 00:37 .golangci.yml 00:39:54 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 00:38 .semver 00:39:54 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 27 00:37 Attribution.txt 00:39:54 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 27 00:37 CHANGELOG.md 00:39:54 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 27 00:37 Dockerfile 00:39:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 00:37 GOVERNANCE.md 00:39:54 -rw-rw-r-- 1 jenkins jenkins 688 Jul 27 00:37 Jenkinsfile 00:39:54 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 27 00:37 LICENSE 00:39:54 -rw-rw-r-- 1 jenkins jenkins 618 Jul 27 00:37 OWNERS.md 00:39:54 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 27 00:37 README.md 00:39:54 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 00:38 VERSION 00:39:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:37 bin 00:39:54 -rw-r--r-- 1 jenkins jenkins 13 Jul 27 00:39 coverage.out 00:39:54 -rw-rw-r-- 1 jenkins jenkins 3469 Jul 27 00:37 go.mod 00:39:54 -rw-rw-r-- 1 jenkins jenkins 32452 Jul 27 00:37 go.sum 00:39:54 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 27 00:37 main.go 00:39:54 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 27 00:37 makefile 00:39:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 00:37 res 00:39:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:37 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:54 + 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=27f04b8be9641ab55644619a2a9bef97aabf9bd0 --label arch=amd64 --label version=0.0.0 . 00:39:54 Sending build context to Docker daemon 3.311MB 00:39:54 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:39:54 Step 2/26 : FROM ${BASE} AS builder 00:39:54 ---> b28cd1f31d8e 00:39:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:39:55 ---> Running in 463cee61d875 00:39:55 Removing intermediate container 463cee61d875 00:39:55 ---> 725777806542 00:39:55 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:39:55 ---> Running in 8668a44c075e 00:39:55 Removing intermediate container 8668a44c075e 00:39:55 ---> b3daf2886552 00:39:55 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:39:55 ---> Running in c1c8eb591b00 00:39:55 Removing intermediate container c1c8eb591b00 00:39:55 ---> 16df36da7c99 00:39:55 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:39:55 ---> Running in 2ad1882f5713 00:39:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:39:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:39:56 OK: 265 MiB in 53 packages 00:39:56 Removing intermediate container 2ad1882f5713 00:39:56 ---> 814925104250 00:39:56 Step 7/26 : WORKDIR /app 00:39:56 ---> Running in 03622a171b8e 00:39:56 Removing intermediate container 03622a171b8e 00:39:56 ---> 2834a6693023 00:39:56 Step 8/26 : COPY go.mod vendor* ./ 00:39:56 ---> 8cc785c0a681 00:39:56 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:39:56 ---> Running in c1d9f9ad1c14 00:39:57 Removing intermediate container c1d9f9ad1c14 00:39:57 ---> 56a5a36defb9 00:39:57 Step 10/26 : COPY . . 00:39:57 ---> d881a039fea7 00:39:57 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:39:57 ---> Running in 2be9fb4fa2fc 00:39:57 Removing intermediate container 2be9fb4fa2fc 00:39:57 ---> 2190272e94db 00:39:57 Step 12/26 : RUN $MAKE 00:39:57 ---> Running in 24a2842b3fd8 00:39:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 00:40:20 Removing intermediate container 24a2842b3fd8 00:40:20 ---> 2281dc9154dc 00:40:20 Step 13/26 : FROM alpine:3.17 00:40:20 3.17: Pulling from library/alpine 00:40:20 4db1b89c0bd1: Already exists 00:40:20 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:40:20 Status: Downloaded newer image for alpine:3.17 00:40:20 ---> 1f73a9d63274 00:40:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:40:20 ---> Running in 6bb61651e476 00:40:20 Removing intermediate container 6bb61651e476 00:40:20 ---> 1bdbe926b202 00:40:20 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:40:20 ---> Running in 4d974c9ca408 00:40:20 Removing intermediate container 4d974c9ca408 00:40:20 ---> 48644e47c257 00:40:20 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:40:20 ---> Running in 183747cf27b8 00:40:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:40:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:40:20 (1/2) Installing ca-certificates (20230506-r0) 00:40:20 (2/2) Installing dumb-init (1.2.5-r2) 00:40:20 Executing busybox-1.35.0-r29.trigger 00:40:20 Executing ca-certificates-20230506-r0.trigger 00:40:20 OK: 8 MiB in 17 packages 00:40:20 Removing intermediate container 183747cf27b8 00:40:20 ---> ff6870fc7300 00:40:20 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:40:20 ---> c65219ce8f8d 00:40:20 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:40:20 ---> c72c202c9302 00:40:20 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:40:20 ---> 51697e1e5fd0 00:40:20 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:40:20 ---> ab5dc72d3562 00:40:20 Step 21/26 : EXPOSE 48095 00:40:20 ---> Running in a1636efc080f 00:40:20 Removing intermediate container a1636efc080f 00:40:20 ---> d474cd78b9b0 00:40:20 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 00:40:20 ---> Running in 823bf3dd2523 00:40:20 Removing intermediate container 823bf3dd2523 00:40:20 ---> 7820a736f1f8 00:40:20 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:40:20 ---> Running in 5e808b0c1b41 00:40:20 Removing intermediate container 5e808b0c1b41 00:40:20 ---> 447dae62e217 00:40:20 Step 24/26 : LABEL arch=amd64 00:40:21 ---> Running in 6c0eb746e202 00:40:21 Removing intermediate container 6c0eb746e202 00:40:21 ---> 8ae53f365851 00:40:21 Step 25/26 : LABEL git_sha=27f04b8be9641ab55644619a2a9bef97aabf9bd0 00:40:21 ---> Running in 753baee51aa0 00:40:21 Removing intermediate container 753baee51aa0 00:40:21 ---> 9982887632a3 00:40:21 Step 26/26 : LABEL version=0.0.0 00:40:21 ---> Running in 8f6f55043c30 00:40:21 Removing intermediate container 8f6f55043c30 00:40:21 ---> 45836b77a338 00:40:21 [Warning] One or more build-args [ARCH] were not consumed 00:40:21 Successfully built 45836b77a338 00:40:21 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 00:40:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:22 00:40:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:22 latest: Pulling from edgex-lftools-log-publisher 00:40:22 5eb5b503b376: Pulling fs layer 00:40:22 5c69ac0246d0: Pulling fs layer 00:40:22 ec43610c2a17: Pulling fs layer 00:40:22 3a2ae6a8a46f: Pulling fs layer 00:40:22 33b1e0a273af: Pulling fs layer 00:40:22 5d3b04190fa2: Pulling fs layer 00:40:22 2f39f015ded8: Pulling fs layer 00:40:22 5d3b04190fa2: Waiting 00:40:22 3a2ae6a8a46f: Waiting 00:40:22 33b1e0a273af: Waiting 00:40:22 2f39f015ded8: Waiting 00:40:22 5c69ac0246d0: Download complete 00:40:22 3a2ae6a8a46f: Verifying Checksum 00:40:22 3a2ae6a8a46f: Download complete 00:40:22 33b1e0a273af: Verifying Checksum 00:40:22 33b1e0a273af: Download complete 00:40:22 ec43610c2a17: Verifying Checksum 00:40:22 ec43610c2a17: Download complete 00:40:22 5d3b04190fa2: Verifying Checksum 00:40:22 5d3b04190fa2: Download complete 00:40:22 5eb5b503b376: Download complete 00:40:23 2f39f015ded8: Download complete 00:40:24 5eb5b503b376: Pull complete 00:40:24 5c69ac0246d0: Pull complete 00:40:24 ec43610c2a17: Pull complete 00:40:24 3a2ae6a8a46f: Pull complete 00:40:24 33b1e0a273af: Pull complete 00:40:24 5d3b04190fa2: Pull complete 00:40:29 2f39f015ded8: Pull complete 00:40:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:40:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:40:29 prd-ubuntu20.04-docker-8c-8g-2312 does not seem to be running inside a container 00:40:29 $ 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-579 -v /w/workspace/_app-service-configurable_PR-579:/w/workspace/_app-service-configurable_PR-579:rw,z -v /w/workspace/_app-service-configurable_PR-579@tmp:/w/workspace/_app-service-configurable_PR-579@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 00:40:32 $ docker top 036f9241526c0c84e9b2d98d3e0108662d38303292d2daabc8bd96648600e956 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:40:33 ---> job-cost.sh 00:40:33 lf-activate-venv: SKIPPING 00:40:33 INFO: No Stack... 00:40:33 INFO: Retrieving Pricing Info for: v3-standard-8 00:40:34 INFO: Archiving Costs [Pipeline] sh 00:40:34 + cat /w/workspace/_app-service-configurable_PR-579/archives/cost.csv 00:40:34 + cut -d, -f6 [Pipeline] lock 00:40:34 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-579-1-stack-cost] 00:40:34 Resource [jenkins-edgexfoundry-app-service-configurable-PR-579-1-stack-cost] did not exist. Created. 00:40:34 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-579-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:40:34 + echo total: 0.2199999988079071 [Pipeline] stash 00:40:34 Stashed 1 file(s) [Pipeline] } 00:40:34 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-579-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:40:35 $ docker stop --time=1 036f9241526c0c84e9b2d98d3e0108662d38303292d2daabc8bd96648600e956 00:40:36 $ docker rm -f --volumes 036f9241526c0c84e9b2d98d3e0108662d38303292d2daabc8bd96648600e956 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:42:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2313 in /w/workspace/_app-service-configurable_PR-579 [Pipeline] { [Pipeline] ws 00:42:39 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 00:42:39 Selected Git installation does not exist. Using Default 00:42:39 The recommended git tool is: NONE 00:42:44 using credential edgex-jenkins-ssh 00:42:44 Cloning the remote Git repository 00:42:44 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 00:42:44 > git init /w/workspace/app-service-configurable/1 # timeout=10 00:42:44 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:42:44 > git --version # timeout=10 00:42:44 > git --version # 'git version 2.25.1' 00:42:44 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:42:46 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:42:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:42:47 Merging remotes/origin/main commit c5f9822de111f2ad008e04cca8702a7116aaeba8 into PR head commit 27f04b8be9641ab55644619a2a9bef97aabf9bd0 00:42:48 Merge succeeded, producing 27f04b8be9641ab55644619a2a9bef97aabf9bd0 00:42:48 Checking out Revision 27f04b8be9641ab55644619a2a9bef97aabf9bd0 (PR-579) 00:42:47 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:42:47 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:42:47 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:42:47 > git config core.sparsecheckout # timeout=10 00:42:47 > git checkout -f 27f04b8be9641ab55644619a2a9bef97aabf9bd0 # timeout=10 00:42:47 > git remote # timeout=10 00:42:47 > git config --get remote.origin.url # timeout=10 00:42:47 using GIT_SSH to set credentials SSH Credentials for GitHub 00:42:47 > git merge c5f9822de111f2ad008e04cca8702a7116aaeba8 # timeout=10 00:42:47 > git rev-parse HEAD^{commit} # timeout=10 00:42:48 > git config core.sparsecheckout # timeout=10 00:42:48 > git checkout -f 27f04b8be9641ab55644619a2a9bef97aabf9bd0 # timeout=10 00:42:51 Commit message: "fix: Add InsecureSecrets section to external-mqtt-trigger profile" 00:42:51 > git --version # timeout=10 00:42:51 > git --version # 'git version 2.25.1' 00:42:51 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:42:52 % Total % Received % Xferd Average Speed Time Time Time Current 00:42:52 Dload Upload Total Spent Left Speed 00:42:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 97335 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 00:42:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:42:53 + sudo tee /etc/docker/daemon.new 00:42:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:42:53 { 00:42:53 "registry-mirrors": [ 00:42:53 "https://nexus3.edgexfoundry.org:10001" 00:42:53 ], 00:42:53 "bip": "10.250.0.254/24", 00:42:53 "hosts": [ 00:42:53 "tcp://0.0.0.0:5555", 00:42:53 "unix:///var/run/docker.sock" 00:42:53 ], 00:42:53 "mtu": 1458, 00:42:53 "selinux-enabled": true, 00:42:53 "seccomp-profile": "/etc/docker/seccomp.json" 00:42:53 } [Pipeline] sh 00:42:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:42:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:12 provisioning config files... 00:43:12 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config15259510795669876272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:13 ---> docker-login.sh 00:43:13 nexus3.edgexfoundry.org:10001 00:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:13 Configure a credential helper to remove this warning. See 00:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:13 00:43:13 Login Succeeded 00:43:13 nexus3.edgexfoundry.org:10002 00:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:14 Configure a credential helper to remove this warning. See 00:43:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:14 00:43:14 Login Succeeded 00:43:14 nexus3.edgexfoundry.org:10003 00:43:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:14 Configure a credential helper to remove this warning. See 00:43:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:14 00:43:14 Login Succeeded 00:43:14 nexus3.edgexfoundry.org:10004 00:43:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:14 Configure a credential helper to remove this warning. See 00:43:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:14 00:43:14 Login Succeeded 00:43:14 docker.io 00:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:15 Configure a credential helper to remove this warning. See 00:43:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:15 00:43:15 Login Succeeded 00:43:15 ---> docker-login.sh ends [Pipeline] } 00:43:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:15 ========================================================= 00:43:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:43:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:43:16 Sending build context to Docker daemon 176.1kB 00:43:16 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:43:16 Step 2/12 : FROM ${BASE} AS builder 00:43:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:43:16 edb6bdbacee9: Pulling fs layer 00:43:16 5f9638ab2659: Pulling fs layer 00:43:16 8d51d6327a98: Pulling fs layer 00:43:16 8b374f2dd631: Pulling fs layer 00:43:16 ec14aa9079de: Pulling fs layer 00:43:16 2f466654f4bb: Pulling fs layer 00:43:16 554e91adad29: Pulling fs layer 00:43:16 8b374f2dd631: Waiting 00:43:16 2f466654f4bb: Waiting 00:43:16 554e91adad29: Waiting 00:43:16 ec14aa9079de: Waiting 00:43:16 5f9638ab2659: Download complete 00:43:16 8b374f2dd631: Verifying Checksum 00:43:16 8b374f2dd631: Download complete 00:43:16 ec14aa9079de: Verifying Checksum 00:43:16 ec14aa9079de: Download complete 00:43:16 edb6bdbacee9: Verifying Checksum 00:43:16 edb6bdbacee9: Download complete 00:43:17 edb6bdbacee9: Pull complete 00:43:18 554e91adad29: Verifying Checksum 00:43:18 554e91adad29: Download complete 00:43:18 5f9638ab2659: Pull complete 00:43:19 8d51d6327a98: Verifying Checksum 00:43:19 8d51d6327a98: Download complete 00:43:19 2f466654f4bb: Verifying Checksum 00:43:19 2f466654f4bb: Download complete 00:43:31 8d51d6327a98: Pull complete 00:43:31 8b374f2dd631: Pull complete 00:43:31 ec14aa9079de: Pull complete 00:43:37 2f466654f4bb: Pull complete 00:43:38 554e91adad29: Pull complete 00:43:38 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:43:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:43:38 ---> 1e15ea492957 00:43:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:43:40 ---> Running in fdea0d79ad0f 00:43:40 Removing intermediate container fdea0d79ad0f 00:43:40 ---> 194ebd7a8743 00:43:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:43:40 ---> Running in 48b9d6df2243 00:43:41 Removing intermediate container 48b9d6df2243 00:43:41 ---> 872e71469ef6 00:43:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:43:41 ---> Running in 0095f717dec7 00:43:41 Removing intermediate container 0095f717dec7 00:43:41 ---> 810046416887 00:43:41 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:41 ---> Running in 8731cb4d7eff 00:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:43:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:43:44 OK: 263 MiB in 53 packages 00:43:45 Removing intermediate container 8731cb4d7eff 00:43:45 ---> 7a8da03b816b 00:43:45 Step 7/12 : WORKDIR /app 00:43:45 ---> Running in 5a046e78aa60 00:43:45 Removing intermediate container 5a046e78aa60 00:43:45 ---> 6b3844e08ded 00:43:45 Step 8/12 : COPY go.mod vendor* ./ 00:43:46 ---> 3acc4dbda10e 00:43:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:46 ---> Running in 8381a0ac2312 00:44:53 Removing intermediate container 8381a0ac2312 00:44:53 ---> b74be00c17b9 00:44:53 Step 10/12 : COPY . . 00:44:53 ---> 1021c5492ce8 00:44:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:44:53 ---> Running in eb1d8e060ca5 00:44:53 Removing intermediate container eb1d8e060ca5 00:44:53 ---> 282a68b16e42 00:44:53 Step 12/12 : RUN $MAKE 00:44:53 ---> Running in d569244b775d 00:44:53 noop 00:44:53 Removing intermediate container d569244b775d 00:44:53 ---> 9391dc19477d 00:44:53 Successfully built 9391dc19477d 00:44:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:54 + docker inspect -f . ci-base-image-arm64 00:44:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:54 prd-ubuntu20.04-docker-arm64-4c-16g-2313 does not seem to be running inside a container 00:44:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:44:55 $ docker top c7021be10c6cd20981be7395cac947d78cd9c54a80a68a305f8ecc7819e7a20d -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:56 + go version 00:44:56 go version go1.20.6 linux/arm64 [Pipeline] } 00:44:56 $ docker stop --time=1 c7021be10c6cd20981be7395cac947d78cd9c54a80a68a305f8ecc7819e7a20d 00:44:58 $ docker rm -f --volumes c7021be10c6cd20981be7395cac947d78cd9c54a80a68a305f8ecc7819e7a20d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:59 + docker inspect -f . ci-base-image-arm64 00:44:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:59 prd-ubuntu20.04-docker-arm64-4c-16g-2313 does not seem to be running inside a container 00:44:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:45:00 $ docker top 5550565ba8cfa67d97692bd5a8165ece603287cce792b700706e6f927ddf2008 -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:01 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 00:45:02 + make test 00:45:02 go test -race -coverprofile=coverage.out ./... 00:48:08 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:48:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:48:08 go vet ./... 00:50:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:50:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:50:15 ./bin/test-attribution-txt.sh [Pipeline] echo 00:50:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:50:15 $ docker stop --time=1 5550565ba8cfa67d97692bd5a8165ece603287cce792b700706e6f927ddf2008 00:50:17 $ docker rm -f --volumes 5550565ba8cfa67d97692bd5a8165ece603287cce792b700706e6f927ddf2008 [Pipeline] // withDockerContainer [Pipeline] sh 00:50:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:50:19 Warning: overwriting stash ‘coverage-report’ 00:50:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:50:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:50:20 + ls -al . 00:50:20 total 176 00:50:20 drwxrwxr-x 7 jenkins jenkins 4096 Jul 27 00:45 . 00:50:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:42 .. 00:50:20 -rw-rw-r-- 1 jenkins jenkins 119 Jul 27 00:42 .dockerignore 00:50:20 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 00:42 .git 00:50:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 00:42 .github 00:50:20 -rw-rw-r-- 1 jenkins jenkins 171 Jul 27 00:42 .gitignore 00:50:20 -rw-rw-r-- 1 jenkins jenkins 41 Jul 27 00:42 .golangci.yml 00:50:20 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 27 00:42 Attribution.txt 00:50:20 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 27 00:42 CHANGELOG.md 00:50:20 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 27 00:42 Dockerfile 00:50:20 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 00:42 GOVERNANCE.md 00:50:20 -rw-rw-r-- 1 jenkins jenkins 688 Jul 27 00:42 Jenkinsfile 00:50:20 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 27 00:42 LICENSE 00:50:20 -rw-rw-r-- 1 jenkins jenkins 618 Jul 27 00:42 OWNERS.md 00:50:20 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 27 00:42 README.md 00:50:20 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 00:38 VERSION 00:50:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 00:42 bin 00:50:20 -rw-r--r-- 1 jenkins jenkins 13 Jul 27 00:45 coverage.out 00:50:20 -rw-rw-r-- 1 jenkins jenkins 3469 Jul 27 00:42 go.mod 00:50:20 -rw-rw-r-- 1 jenkins jenkins 32452 Jul 27 00:42 go.sum 00:50:20 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 27 00:42 main.go 00:50:20 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 27 00:42 makefile 00:50:20 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 00:42 res 00:50:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 00:42 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:21 + 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=27f04b8be9641ab55644619a2a9bef97aabf9bd0 --label arch=arm64 --label version=0.0.0 . 00:50:21 Sending build context to Docker daemon 177.2kB 00:50:21 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:50:21 Step 2/26 : FROM ${BASE} AS builder 00:50:21 ---> 9391dc19477d 00:50:21 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:50:21 ---> Running in eba73e6c69ae 00:50:21 Removing intermediate container eba73e6c69ae 00:50:21 ---> 997bbaefa976 00:50:21 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:50:21 ---> Running in ae6895466189 00:50:21 Removing intermediate container ae6895466189 00:50:21 ---> 6b9e16fe0fa0 00:50:21 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:50:22 ---> Running in 1c3e6ddc96ce 00:50:22 Removing intermediate container 1c3e6ddc96ce 00:50:22 ---> 76b36472e168 00:50:22 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:50:22 ---> Running in 50b4605e19f2 00:50:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:50:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:50:25 OK: 263 MiB in 53 packages 00:50:26 Removing intermediate container 50b4605e19f2 00:50:26 ---> dae97183d0a8 00:50:26 Step 7/26 : WORKDIR /app 00:50:26 ---> Running in 92dcafd47958 00:50:26 Removing intermediate container 92dcafd47958 00:50:26 ---> fbad2e93a4ed 00:50:26 Step 8/26 : COPY go.mod vendor* ./ 00:50:26 ---> c9f7a024480c 00:50:26 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:50:26 ---> Running in 97c8832bd822 00:50:29 Removing intermediate container 97c8832bd822 00:50:29 ---> d4ca64f989e0 00:50:29 Step 10/26 : COPY . . 00:50:29 ---> 5beb7d7e4c7c 00:50:29 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:50:30 ---> Running in f73319cfa90e 00:50:30 Removing intermediate container f73319cfa90e 00:50:30 ---> a5f27e934879 00:50:30 Step 12/26 : RUN $MAKE 00:50:30 ---> Running in b7b0d6938a78 00:50:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 00:52:52 Removing intermediate container b7b0d6938a78 00:52:52 ---> 82447e67fd95 00:52:52 Step 13/26 : FROM alpine:3.17 00:52:52 3.17: Pulling from library/alpine 00:52:52 edb6bdbacee9: Already exists 00:52:52 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:52:52 Status: Downloaded newer image for alpine:3.17 00:52:52 ---> 779605e5fbc0 00:52:52 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:52:52 ---> Running in 038ff6c42c6d 00:52:52 Removing intermediate container 038ff6c42c6d 00:52:52 ---> 7ced846d740c 00:52:52 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:52:52 ---> Running in fcad72fcaaf6 00:52:52 Removing intermediate container fcad72fcaaf6 00:52:52 ---> 7fb8aa37c5ba 00:52:52 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:52:52 ---> Running in f945ea5d5516 00:52:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:52:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:52:52 (1/2) Installing ca-certificates (20230506-r0) 00:52:52 (2/2) Installing dumb-init (1.2.5-r2) 00:52:52 Executing busybox-1.35.0-r29.trigger 00:52:52 Executing ca-certificates-20230506-r0.trigger 00:52:52 OK: 8 MiB in 17 packages 00:52:52 Removing intermediate container f945ea5d5516 00:52:52 ---> 16336cbbdd6f 00:52:52 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:52:52 ---> a6f4c412aec9 00:52:52 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:52:52 ---> 7f96258d5e15 00:52:52 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:52:52 ---> b655fb5638e9 00:52:52 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:52:53 ---> c77c4e2469f6 00:52:53 Step 21/26 : EXPOSE 48095 00:52:53 ---> Running in 3df9f02917e4 00:52:54 Removing intermediate container 3df9f02917e4 00:52:54 ---> 78fa45288a12 00:52:54 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 00:52:54 ---> Running in c3f505af9a46 00:52:54 Removing intermediate container c3f505af9a46 00:52:54 ---> 06aedbdfc933 00:52:54 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:52:54 ---> Running in 12a69f61b4ed 00:52:54 Removing intermediate container 12a69f61b4ed 00:52:54 ---> b1eb0a6faf15 00:52:54 Step 24/26 : LABEL arch=arm64 00:52:54 ---> Running in 47ce739bff15 00:52:54 Removing intermediate container 47ce739bff15 00:52:54 ---> 10350849b3b1 00:52:54 Step 25/26 : LABEL git_sha=27f04b8be9641ab55644619a2a9bef97aabf9bd0 00:52:55 ---> Running in 31de8a15624a 00:52:55 Removing intermediate container 31de8a15624a 00:52:55 ---> 65baaf7cfc73 00:52:55 Step 26/26 : LABEL version=0.0.0 00:52:55 ---> Running in da39715bee3d 00:52:55 Removing intermediate container da39715bee3d 00:52:55 ---> 2aa626ab325a 00:52:55 [Warning] One or more build-args [ARCH] were not consumed 00:52:55 Successfully built 2aa626ab325a 00:52:55 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 00:52:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:56 00:52:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:52:57 arm64: Pulling from edgex-lftools-log-publisher 00:52:57 8998bd30e6a1: Pulling fs layer 00:52:57 04944245beec: Pulling fs layer 00:52:57 699f458cf7ca: Pulling fs layer 00:52:57 765212b225bb: Pulling fs layer 00:52:57 f23df028b6ca: Pulling fs layer 00:52:57 d65c8cfc05b1: Pulling fs layer 00:52:57 2437ff75d9bd: Pulling fs layer 00:52:57 f23df028b6ca: Waiting 00:52:57 d65c8cfc05b1: Waiting 00:52:57 2437ff75d9bd: Waiting 00:52:57 765212b225bb: Waiting 00:52:57 04944245beec: Verifying Checksum 00:52:57 04944245beec: Download complete 00:52:57 765212b225bb: Verifying Checksum 00:52:57 765212b225bb: Download complete 00:52:57 f23df028b6ca: Download complete 00:52:57 d65c8cfc05b1: Verifying Checksum 00:52:57 d65c8cfc05b1: Download complete 00:52:57 699f458cf7ca: Verifying Checksum 00:52:57 699f458cf7ca: Download complete 00:52:57 8998bd30e6a1: Verifying Checksum 00:52:57 8998bd30e6a1: Download complete 00:53:00 2437ff75d9bd: Verifying Checksum 00:53:00 2437ff75d9bd: Download complete 00:53:01 8998bd30e6a1: Pull complete 00:53:02 04944245beec: Pull complete 00:53:03 699f458cf7ca: Pull complete 00:53:03 765212b225bb: Pull complete 00:53:04 f23df028b6ca: Pull complete 00:53:04 d65c8cfc05b1: Pull complete 00:53:19 2437ff75d9bd: Pull complete 00:53:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:53:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:53:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:20 prd-ubuntu20.04-docker-arm64-4c-16g-2313 does not seem to be running inside a container 00:53:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:53:22 $ docker top 3683b7300a061faee08b6b894e2b7142ec9f7d5ec260620a06e75aa3fbac71a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:23 ---> job-cost.sh 00:53:23 lf-activate-venv: SKIPPING 00:53:23 INFO: No Stack... 00:53:24 INFO: Retrieving Pricing Info for: v3-standard-4 00:53:25 INFO: Archiving Costs [Pipeline] sh 00:53:25 + cut -d, -f6 00:53:25 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 00:53:25 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-579-1-stack-cost] 00:53:25 Resource [jenkins-edgexfoundry-app-service-configurable-PR-579-1-stack-cost] did not exist. Created. 00:53:25 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-579-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:53:26 /w/workspace/app-service-configurable/1@tmp/durable-66fadbcb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:53:26 + echo total: 0.10999999940395355 [Pipeline] stash 00:53:26 Warning: overwriting stash ‘stack-cost’ 00:53:26 Stashed 1 file(s) [Pipeline] } 00:53:26 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-579-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:53:27 $ docker stop --time=1 3683b7300a061faee08b6b894e2b7142ec9f7d5ec260620a06e75aa3fbac71a4 00:53:32 $ docker rm -f --volumes 3683b7300a061faee08b6b894e2b7142ec9f7d5ec260620a06e75aa3fbac71a4 [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 00:53:33 provisioning config files... 00:53:33 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-579@tmp/config7762787755235889176tmp [Pipeline] { [Pipeline] sh 00:53:33 + set +x 00:53:33 + curl -s https://codecov.io/bash 00:53:33 + bash -s -- 00:53:33 00:53:33 _____ _ 00:53:33 / ____| | | 00:53:33 | | ___ __| | ___ ___ _____ __ 00:53:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:53:33 | |___| (_) | (_| | __/ (_| (_) \ V / 00:53:33 \_____\___/ \__,_|\___|\___\___/ \_/ 00:53:33 Bash-1.0.6 00:53:33 00:53:33 00:53:33 ==> git version 2.25.1 found 00:53:33 ==> 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 00:53:33 Release-Date: 2020-01-08 00:53:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:53:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:53:33 ==> Jenkins CI detected. 00:53:33 current dir:  /w/workspace/_app-service-configurable_PR-579 00:53:33 project root: . 00:53:33 --> token set from env 00:53:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:53:33 ==> Running gcov in . (disable via -X gcov) 00:53:33 ==> Python coveragepy not found 00:53:33 ==> Searching for coverage reports in: 00:53:33 + . 00:53:33 -> Found 1 reports 00:53:33 ==> Detecting git/mercurial file structure 00:53:33 ==> Reading reports 00:53:33 + ./coverage.out bytes=13 00:53:33 ==> Appending adjustments 00:53:33 https://docs.codecov.io/docs/fixing-reports 00:53:34 + Found adjustments 00:53:34 ==> Gzipping contents 00:53:34 4.0K /tmp/codecov.D0OJaR.gz 00:53:34 ==> Uploading reports 00:53:34 url: https://codecov.io 00:53:34 query: branch=PR-579&commit=27f04b8be9641ab55644619a2a9bef97aabf9bd0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-579%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=579&job=&cmd_args= 00:53:34 -> Pinging Codecov 00:53: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-579&commit=27f04b8be9641ab55644619a2a9bef97aabf9bd0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-579%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=579&job=&cmd_args= 00:53:34 -> Uploading to 00:53:34 https://storage.googleapis.com/codecov/v4/raw/2023-07-27/A97CA9966030D2A3747ED39772930CCE/27f04b8be9641ab55644619a2a9bef97aabf9bd0/3b366bba-c820-46b6-b2b6-2e2c36d45006.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230727T005334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57e30b0b80fdc07742b423621ff25a3e3e3a6987c43276d31aff2f765fce8ff2 00:53:34 % Total % Received % Xferd Average Speed Time Time Time Current 00:53:34 Dload Upload Total Spent Left Speed 00:53:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2014 --:--:-- --:--:-- --:--:-- 2014 00:53:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/27f04b8be9641ab55644619a2a9bef97aabf9bd0 [Pipeline] } 00:53: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 00:53:36 + [ -d /w/workspace/_app-service-configurable_PR-579/archives ] 00:53:36 + ls -al /w/workspace/_app-service-configurable_PR-579/archives 00:53:36 total 16 00:53:36 drwxr-xr-x 3 root root 4096 Jul 27 00:40 . 00:53:36 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 00:40 .. 00:53:36 drwxr-xr-x 2 root root 4096 Jul 27 00:40 cost 00:53:36 -rw-r--r-- 1 root root 96 Jul 27 00:40 cost.csv 00:53:36 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-579/archives 00:53:36 + ls -al /w/workspace/_app-service-configurable_PR-579/archives 00:53:36 total 16 00:53:36 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 00:40 . 00:53:36 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 00:40 .. 00:53:36 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 00:40 cost 00:53:36 -rw-r--r-- 1 jenkins jenkins 96 Jul 27 00:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:53:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:53:37 ---> package-listing.sh 00:53:37 ++ facter osfamily 00:53:37 ++ tr '[:upper:]' '[:lower:]' 00:53:37 + OS_FAMILY=debian 00:53:37 + workspace=/w/workspace/_app-service-configurable_PR-579 00:53:37 + START_PACKAGES=/tmp/packages_start.txt 00:53:37 + END_PACKAGES=/tmp/packages_end.txt 00:53:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:53:37 + PACKAGES=/tmp/packages_start.txt 00:53:37 + '[' /w/workspace/_app-service-configurable_PR-579 ']' 00:53:37 + PACKAGES=/tmp/packages_end.txt 00:53:37 + case "${OS_FAMILY}" in 00:53:37 + grep '^ii' 00:53:37 + dpkg -l 00:53:37 + '[' -f /tmp/packages_start.txt ']' 00:53:37 + '[' -f /tmp/packages_end.txt ']' 00:53:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:53:37 + '[' /w/workspace/_app-service-configurable_PR-579 ']' 00:53:37 + mkdir -p /w/workspace/_app-service-configurable_PR-579/archives/ 00:53:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-579/archives/ [Pipeline] echo 00:53:37 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-579/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:53:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:53:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:38 prd-ubuntu20.04-docker-8c-8g-2312 does not seem to be running inside a container 00:53:38 $ 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-579/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-579 -v /w/workspace/_app-service-configurable_PR-579:/w/workspace/_app-service-configurable_PR-579:rw,z -v /w/workspace/_app-service-configurable_PR-579@tmp:/w/workspace/_app-service-configurable_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:53:39 $ docker top 1ee15b1a9c2e3c634f6e5a1c4b15e0c6185185f4737218da68ae733ed7b3195d -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:39 + touch /tmp/pre-build-complete [Pipeline] sh 00:53:39 + mkdir -p /var/log/sysstat [Pipeline] sh 00:53:40 + ls /var/log/sa-host 00:53:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:40 provisioning config files... 00:53:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-579@tmp/config1064124926722582507tmp [Pipeline] { [Pipeline] echo 00:53:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:53:40 ---> create-netrc.sh [Pipeline] } 00:53:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:53:41 ---> python-tools-install.sh [Pipeline] echo 00:53:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:53:41 ---> sudo-logs.sh 00:53:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:53:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:53:41 ---> job-cost.sh 00:53:41 lf-activate-venv: SKIPPING 00:53:41 DEBUG: total: 0.2199999988079071 00:53:41 INFO: Retrieving Stack Cost... 00:53:42 INFO: Retrieving Pricing Info for: v3-standard-8 00:53:42 INFO: Archiving Costs [Pipeline] echo 00:53:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:53:42 ---> logs-deploy.sh 00:53:42 lf-activate-venv: SKIPPING 00:53:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-579/1 00:53:42 INFO: archiving workspace using pattern(s): 00:53:43 Archives upload complete. 00:53:43 INFO: archiving logs to Nexus