Pull request #511 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c+836f87500d0ab86c5b89a87899a5c272f5f4162e (b8f11e0cfa71145a20069e74aa3193706e0c581c) 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-ssh16669246291246349667.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12104227591411080904.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-511/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-511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1550036069667498723.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-511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16641062915877924705.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14690467198203280522.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-511/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-511/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2763419681891919101.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4973’ Running on prd-ubuntu20.04-docker-8c-8g-4977 in /w/workspace/_app-service-configurable_PR-511 [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-511 # 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/511/head:refs/remotes/origin/PR-511 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 836f87500d0ab86c5b89a87899a5c272f5f4162e into PR head commit 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c Merge succeeded, producing 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c Checking out Revision 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c (PR-511) > git config core.sparsecheckout # timeout=10 > git checkout -f 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c # 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 836f87500d0ab86c5b89a87899a5c272f5f4162e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c # timeout=10 Commit message: "feat!: Use latest SDK for MessageBus Request API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:00:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:00:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:00:47 ========================================================= 21:00:47 EdgeX Global Pipelines Version Info 21:00:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:00:48 ------------------- 21:00:48 stable info: 21:00:48 ------------------- 21:00:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:00:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:00:48 Message: update stable to v1.0.244 21:00:49 ------------------- 21:00:49 experimental info: 21:00:49 ------------------- 21:00:49 Commited By: **** collab-it+edgex@linuxfoundation.org 21:00:49 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:00:49 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:00:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-511 [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-511 [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-511 [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ab8e8a [Pipeline] echo 21:00:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:50 provisioning config files... 21:00:50 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-511@tmp/config13516912202560489779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:51 ---> docker-login.sh 21:00:51 nexus3.edgexfoundry.org:10001 21:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:51 Configure a credential helper to remove this warning. See 21:00:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:51 21:00:51 Login Succeeded 21:00:51 nexus3.edgexfoundry.org:10002 21:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:51 Configure a credential helper to remove this warning. See 21:00:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:51 21:00:51 Login Succeeded 21:00:51 nexus3.edgexfoundry.org:10003 21:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:51 Configure a credential helper to remove this warning. See 21:00:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:51 21:00:51 Login Succeeded 21:00:51 nexus3.edgexfoundry.org:10004 21:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:52 Configure a credential helper to remove this warning. See 21:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:52 21:00:52 Login Succeeded 21:00:52 docker.io 21:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:52 Configure a credential helper to remove this warning. See 21:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:52 21:00:52 Login Succeeded 21:00:52 ---> docker-login.sh ends [Pipeline] } 21:00:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:00:53 + git rev-list -1 --merges 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c~1..6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c [Pipeline] echo 21:00:53 -----------> git rev-list -1 --merges 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c~1..6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c [false] [Pipeline] sh 21:00:53 + git log --format=format:%s -1 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c [Pipeline] echo 21:00:53 ========================================================= 21:00:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:00:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:53 + git log --format=format:%s -1 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c [Pipeline] echo 21:00:53 [semverPrep] GIT_COMMIT: 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c, Commit Message: feat!: Use latest SDK for MessageBus Request API [Pipeline] echo 21:00:54 [semverPrep] This is not a build commit. [Pipeline] sh 21:00:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:00:54 + grep -v github /etc/ssh/ssh_known_hosts 21:00:54 + [ -e /tmp/ssh_known_hosts ] 21:00:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:00:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:00:54 + sudo tee -a /etc/ssh/ssh_known_hosts 21:00:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:54 21:00:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:55 0.1.4: Pulling from edgex-devops/py-git-semver 21:00:55 b85a868b505f: Pulling fs layer 21:00:55 e2be974225ed: Pulling fs layer 21:00:55 339a4e72a1f5: Pulling fs layer 21:00:55 988bab9f4d93: Pulling fs layer 21:00:55 1469e6f7b9e6: Pulling fs layer 21:00:55 eaf3925da568: Pulling fs layer 21:00:55 bab4dde63d76: Pulling fs layer 21:00:55 bde34c3a00c8: Pulling fs layer 21:00:55 b352a97aabf1: Pulling fs layer 21:00:55 4872d77fe225: Pulling fs layer 21:00:55 5851b861e8e6: Pulling fs layer 21:00:55 eaf3925da568: Waiting 21:00:55 bab4dde63d76: Waiting 21:00:55 988bab9f4d93: Waiting 21:00:55 bde34c3a00c8: Waiting 21:00:55 b352a97aabf1: Waiting 21:00:55 1469e6f7b9e6: Waiting 21:00:55 4872d77fe225: Waiting 21:00:55 5851b861e8e6: Waiting 21:00:55 e2be974225ed: Verifying Checksum 21:00:55 e2be974225ed: Download complete 21:00:55 988bab9f4d93: Verifying Checksum 21:00:55 988bab9f4d93: Download complete 21:00:55 1469e6f7b9e6: Verifying Checksum 21:00:55 1469e6f7b9e6: Download complete 21:00:55 eaf3925da568: Verifying Checksum 21:00:55 eaf3925da568: Download complete 21:00:55 339a4e72a1f5: Verifying Checksum 21:00:55 339a4e72a1f5: Download complete 21:00:55 bde34c3a00c8: Verifying Checksum 21:00:55 bde34c3a00c8: Download complete 21:00:55 b352a97aabf1: Download complete 21:00:55 4872d77fe225: Download complete 21:00:55 5851b861e8e6: Verifying Checksum 21:00:55 5851b861e8e6: Download complete 21:00:55 b85a868b505f: Verifying Checksum 21:00:55 b85a868b505f: Download complete 21:00:56 bab4dde63d76: Download complete 21:00:56 b85a868b505f: Pull complete 21:00:56 e2be974225ed: Pull complete 21:00:57 339a4e72a1f5: Pull complete 21:00:57 988bab9f4d93: Pull complete 21:00:57 1469e6f7b9e6: Pull complete 21:00:58 eaf3925da568: Pull complete 21:00:59 bab4dde63d76: Pull complete 21:00:59 bde34c3a00c8: Pull complete 21:00:59 b352a97aabf1: Pull complete 21:00:59 4872d77fe225: Pull complete 21:00:59 5851b861e8e6: Pull complete 21:00:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:00:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:00 prd-ubuntu20.04-docker-8c-8g-4977 does not seem to be running inside a container 21:01:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-511 -v /w/workspace/_app-service-configurable_PR-511:/w/workspace/_app-service-configurable_PR-511:rw,z -v /w/workspace/_app-service-configurable_PR-511@tmp:/w/workspace/_app-service-configurable_PR-511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:01:03 $ docker top a568f6d491e5abaf4b91a959d988008f2d0f5776306df8baa376ba68bc451d63 -eo pid,comm 21:01:03 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). 21:01:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:01:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:01:04 [ssh-agent] Looking for ssh-agent implementation... 21:01:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:01:04 $ docker exec a568f6d491e5abaf4b91a959d988008f2d0f5776306df8baa376ba68bc451d63 ssh-agent 21:01:04 SSH_AUTH_SOCK=/tmp/ssh-FmbhwHpT4Jv7/agent.32 21:01:04 SSH_AGENT_PID=38 21:01:04 Running ssh-add (command line suppressed) 21:01:04 Identity added: /w/workspace/_app-service-configurable_PR-511@tmp/private_key_15868577214978403327.key (/w/workspace/_app-service-configurable_PR-511@tmp/private_key_15868577214978403327.key) 21:01:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:01:04 + git tag --points-at HEAD [Pipeline] } 21:01:04 $ docker exec --env ******** --env ******** a568f6d491e5abaf4b91a959d988008f2d0f5776306df8baa376ba68bc451d63 ssh-agent -k 21:01:04 unset SSH_AUTH_SOCK; 21:01:04 unset SSH_AGENT_PID; 21:01:04 echo Agent pid 38 killed; 21:01:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:01:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:01:04 [ssh-agent] Looking for ssh-agent implementation... 21:01:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:01:05 $ docker exec a568f6d491e5abaf4b91a959d988008f2d0f5776306df8baa376ba68bc451d63 ssh-agent 21:01:05 SSH_AUTH_SOCK=/tmp/ssh-es7QGONCC8NO/agent.69 21:01:05 SSH_AGENT_PID=75 21:01:05 Running ssh-add (command line suppressed) 21:01:05 Identity added: /w/workspace/_app-service-configurable_PR-511@tmp/private_key_7979750306693235739.key (/w/workspace/_app-service-configurable_PR-511@tmp/private_key_7979750306693235739.key) 21:01:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:01:05 + git semver init 21:01:05 2023-02-07 21:01:05,820 [run_init] DEBUG init version:0.0.0 force:False 21:01:05 2023-02-07 21:01:05,821 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-511/.semver 21:01:05 2023-02-07 21:01:05,822 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-511/.semver 21:01:05 2023-02-07 21:01:05,822 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-511/.semver'], cwd=/w/workspace/_app-service-configurable_PR-511, universal_newlines=False, shell=None, istream=None) 21:01:06 2023-02-07 21:01:06,759 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-511/.git/info/exclude 21:01:06 2023-02-07 21:01:06,760 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-511/.semver/PR-511 with force:False 21:01:06 2023-02-07 21:01:06,760 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-511/.semver/PR-511 21:01:06 2023-02-07 21:01:06,764 [execute] INFO git cat-file --batch-check 21:01:06 2023-02-07 21:01:06,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-511/.semver, universal_newlines=False, shell=None, istream=) 21:01:06 2023-02-07 21:01:06,771 [execute] INFO git cat-file --batch 21:01:06 2023-02-07 21:01:06,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-511/.semver, universal_newlines=False, shell=None, istream=) 21:01:06 2023-02-07 21:01:06,776 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-511/.semver/PR-511 21:01:06 0.0.0 [Pipeline] } 21:01:06 $ docker exec --env ******** --env ******** a568f6d491e5abaf4b91a959d988008f2d0f5776306df8baa376ba68bc451d63 ssh-agent -k 21:01:07 unset SSH_AUTH_SOCK; 21:01:07 unset SSH_AGENT_PID; 21:01:07 echo Agent pid 75 killed; 21:01:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:01:07 + git semver [Pipeline] } 21:01:07 $ docker stop --time=1 a568f6d491e5abaf4b91a959d988008f2d0f5776306df8baa376ba68bc451d63 21:01:09 $ docker rm -f --volumes a568f6d491e5abaf4b91a959d988008f2d0f5776306df8baa376ba68bc451d63 [Pipeline] // withDockerContainer [Pipeline] sh 21:01:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:01:09 Stashed 1 file(s) [Pipeline] echo 21:01:09 [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 21:01:10 provisioning config files... 21:01:10 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-511@tmp/config17100946145175055807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:10 ---> docker-login.sh 21:01:10 nexus3.edgexfoundry.org:10001 21:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:10 Configure a credential helper to remove this warning. See 21:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:10 21:01:10 Login Succeeded 21:01:10 nexus3.edgexfoundry.org:10002 21:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:10 Configure a credential helper to remove this warning. See 21:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:10 21:01:10 Login Succeeded 21:01:10 nexus3.edgexfoundry.org:10003 21:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:10 Configure a credential helper to remove this warning. See 21:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:10 21:01:10 Login Succeeded 21:01:10 nexus3.edgexfoundry.org:10004 21:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:10 Configure a credential helper to remove this warning. See 21:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:10 21:01:10 Login Succeeded 21:01:10 docker.io 21:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:11 Configure a credential helper to remove this warning. See 21:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:11 21:01:11 Login Succeeded 21:01:11 ---> docker-login.sh ends [Pipeline] } 21:01:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:11 ========================================================= 21:01:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:01:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:01:11 Sending build context to Docker daemon 3.225MB 21:01:11 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:01:11 Step 2/12 : FROM ${BASE} AS builder 21:01:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:01:11 213ec9aee27d: Pulling fs layer 21:01:11 4583459ba037: Pulling fs layer 21:01:11 93c1e223e6f2: Pulling fs layer 21:01:11 53926ce57604: Pulling fs layer 21:01:11 21b2b0c7a3f4: Pulling fs layer 21:01:11 22ff95d597cd: Pulling fs layer 21:01:11 12d6caf4c0d1: Pulling fs layer 21:01:11 96b7cbca73a9: Pulling fs layer 21:01:11 a7acece74701: Pulling fs layer 21:01:11 21b2b0c7a3f4: Waiting 21:01:11 22ff95d597cd: Waiting 21:01:11 12d6caf4c0d1: Waiting 21:01:11 96b7cbca73a9: Waiting 21:01:11 53926ce57604: Waiting 21:01:11 93c1e223e6f2: Download complete 21:01:11 4583459ba037: Download complete 21:01:11 21b2b0c7a3f4: Download complete 21:01:11 22ff95d597cd: Verifying Checksum 21:01:11 22ff95d597cd: Download complete 21:01:12 213ec9aee27d: Verifying Checksum 21:01:12 213ec9aee27d: Download complete 21:01:12 12d6caf4c0d1: Verifying Checksum 21:01:12 12d6caf4c0d1: Download complete 21:01:12 213ec9aee27d: Pull complete 21:01:12 4583459ba037: Pull complete 21:01:12 93c1e223e6f2: Pull complete 21:01:13 a7acece74701: Download complete 21:01:13 53926ce57604: Verifying Checksum 21:01:13 53926ce57604: Download complete 21:01:13 96b7cbca73a9: Verifying Checksum 21:01:17 53926ce57604: Pull complete 21:01:17 21b2b0c7a3f4: Pull complete 21:01:17 22ff95d597cd: Pull complete 21:01:17 12d6caf4c0d1: Pull complete 21:01:18 96b7cbca73a9: Pull complete 21:01:19 a7acece74701: Pull complete 21:01:19 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:01:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:01:19 ---> db6d94c90886 21:01:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:01:25 ---> Running in b09f24f20ca6 21:01:25 Removing intermediate container b09f24f20ca6 21:01:25 ---> af933c133298 21:01:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:01:25 Still waiting to schedule task 21:01:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4976’ 21:01:25 ---> Running in 57850a4bc002 21:01:25 Removing intermediate container 57850a4bc002 21:01:25 ---> 05fb15ca74dc 21:01:25 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:01:25 ---> Running in 5bc112a552af 21:01:25 Removing intermediate container 5bc112a552af 21:01:25 ---> 433c98287326 21:01:25 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:25 ---> Running in d69cf6f8d502 21:01:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:01:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:01:26 OK: 211 MiB in 51 packages 21:01:26 Removing intermediate container d69cf6f8d502 21:01:26 ---> a3dc31c22b7d 21:01:26 Step 7/12 : WORKDIR /app 21:01:27 ---> Running in 50db248cbf06 21:01:27 Removing intermediate container 50db248cbf06 21:01:27 ---> d76e73b2ca58 21:01:27 Step 8/12 : COPY go.mod vendor* ./ 21:01:27 ---> 8ef27a396362 21:01:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:27 ---> Running in c060e294a2e9 21:02:05 Removing intermediate container c060e294a2e9 21:02:05 ---> a37066ed8677 21:02:05 Step 10/12 : COPY . . 21:02:06 ---> ac4426b2a53a 21:02:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:06 ---> Running in 88d5f7b8cd7c 21:02:06 Removing intermediate container 88d5f7b8cd7c 21:02:06 ---> 91fe131fa7eb 21:02:06 Step 12/12 : RUN $MAKE 21:02:06 ---> Running in f9f55beea30f 21:02:06 noop 21:02:07 Removing intermediate container f9f55beea30f 21:02:07 ---> 9d7920d30340 21:02:07 Successfully built 9d7920d30340 21:02:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:07 + docker inspect -f . ci-base-image-x86_64 21:02:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:07 prd-ubuntu20.04-docker-8c-8g-4977 does not seem to be running inside a container 21:02:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-511 -v /w/workspace/_app-service-configurable_PR-511:/w/workspace/_app-service-configurable_PR-511:rw,z -v /w/workspace/_app-service-configurable_PR-511@tmp:/w/workspace/_app-service-configurable_PR-511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:02:08 $ docker top b7c66753505ccc7241297752a06850363987dc6a6097a035f59644bea1d5ba5a -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:08 + go version 21:02:08 go version go1.18.7 linux/amd64 [Pipeline] } 21:02:08 $ docker stop --time=1 b7c66753505ccc7241297752a06850363987dc6a6097a035f59644bea1d5ba5a 21:02:10 $ docker rm -f --volumes b7c66753505ccc7241297752a06850363987dc6a6097a035f59644bea1d5ba5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:10 + docker inspect -f . ci-base-image-x86_64 21:02:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:10 prd-ubuntu20.04-docker-8c-8g-4977 does not seem to be running inside a container 21:02:10 $ 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-511 -v /w/workspace/_app-service-configurable_PR-511:/w/workspace/_app-service-configurable_PR-511:rw,z -v /w/workspace/_app-service-configurable_PR-511@tmp:/w/workspace/_app-service-configurable_PR-511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:02:11 $ docker top 5cdadd10e783a040226f5f3bbb96399b2773be68bf8fc9b6e54f1ea2a7acc438 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:11 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-511 [Pipeline] fileExists [Pipeline] sh 21:02:12 + make test 21:02:12 go test -race -coverprofile=coverage.out ./... 21:02:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:02:30 go vet ./... 21:02:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:02:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:02:38 ./bin/test-attribution-txt.sh 21:02:38 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:02:38 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:02:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:02:38 $ docker stop --time=1 5cdadd10e783a040226f5f3bbb96399b2773be68bf8fc9b6e54f1ea2a7acc438 21:02:46 $ docker rm -f --volumes 5cdadd10e783a040226f5f3bbb96399b2773be68bf8fc9b6e54f1ea2a7acc438 [Pipeline] // withDockerContainer [Pipeline] sh 21:02:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:02:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:02:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:02:47 + ls -al . 21:02:47 total 172 21:02:47 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 21:02 . 21:02:47 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 21:00 .. 21:02:47 -rw-rw-r-- 1 jenkins jenkins 119 Feb 7 21:00 .dockerignore 21:02:47 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 21:01 .git 21:02:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 21:00 .github 21:02:47 -rw-rw-r-- 1 jenkins jenkins 171 Feb 7 21:00 .gitignore 21:02:47 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 21:01 .semver 21:02:47 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 7 21:00 Attribution.txt 21:02:47 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 7 21:00 CHANGELOG.md 21:02:47 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 7 21:00 Dockerfile 21:02:47 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 21:00 GOVERNANCE.md 21:02:47 -rw-rw-r-- 1 jenkins jenkins 688 Feb 7 21:00 Jenkinsfile 21:02:47 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 21:00 LICENSE 21:02:47 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 21:00 OWNERS.md 21:02:47 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 7 21:00 README.md 21:02:47 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 21:01 VERSION 21:02:47 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 21:00 bin 21:02:47 -rw-r--r-- 1 jenkins jenkins 13 Feb 7 21:02 coverage.out 21:02:47 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 7 21:00 go.mod 21:02:47 -rw-rw-r-- 1 jenkins jenkins 32404 Feb 7 21:00 go.sum 21:02:47 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 7 21:00 main.go 21:02:47 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 7 21:00 makefile 21:02:47 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 21:00 res 21:02:47 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 21:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:48 + 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=6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c --label arch=amd64 --label version=0.0.0 . 21:02:48 Sending build context to Docker daemon 3.226MB 21:02:48 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:02:48 Step 2/26 : FROM ${BASE} AS builder 21:02:48 ---> 9d7920d30340 21:02:48 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:02:48 ---> Running in 425b0f41c5cf 21:02:48 Removing intermediate container 425b0f41c5cf 21:02:48 ---> cf3ee001b75b 21:02:48 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:02:48 ---> Running in 3a75d89efbc7 21:02:48 Removing intermediate container 3a75d89efbc7 21:02:48 ---> 657e592fe90c 21:02:48 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:02:48 ---> Running in b8fb5c8916e0 21:02:48 Removing intermediate container b8fb5c8916e0 21:02:48 ---> e715f6eb10b6 21:02:48 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:48 ---> Running in 3df154095741 21:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:02:49 OK: 211 MiB in 51 packages 21:02:49 Removing intermediate container 3df154095741 21:02:49 ---> 3fa70bb76d42 21:02:49 Step 7/26 : WORKDIR /app 21:02:49 ---> Running in 2e41225dfa8e 21:02:50 Removing intermediate container 2e41225dfa8e 21:02:50 ---> d7d3750396d1 21:02:50 Step 8/26 : COPY go.mod vendor* ./ 21:02:50 ---> 358be70fd867 21:02:50 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:50 ---> Running in d8cf0f49815f 21:02:51 Removing intermediate container d8cf0f49815f 21:02:51 ---> 9243fb23a760 21:02:51 Step 10/26 : COPY . . 21:02:51 ---> 532f00dba27f 21:02:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:51 ---> Running in 8a3fc823fd02 21:02:51 Removing intermediate container 8a3fc823fd02 21:02:51 ---> f01d02a6da5c 21:02:51 Step 12/26 : RUN $MAKE 21:02:51 ---> Running in c04bf35c8dc2 21:02:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.27 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 21:03:14 Removing intermediate container c04bf35c8dc2 21:03:14 ---> 8c6334e08d60 21:03:14 Step 13/26 : FROM alpine:3.16 21:03:14 3.16: Pulling from library/alpine 21:03:14 ca7dd9ec2225: Pulling fs layer 21:03:14 ca7dd9ec2225: Download complete 21:03:14 ca7dd9ec2225: Pull complete 21:03:14 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:03:14 Status: Downloaded newer image for alpine:3.16 21:03:14 ---> bfe296a52501 21:03:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:03:14 ---> Running in e5cce85fd67b 21:03:14 Removing intermediate container e5cce85fd67b 21:03:14 ---> a05b445935f5 21:03:14 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 21:03:14 ---> Running in c90b47aa4306 21:03:14 Removing intermediate container c90b47aa4306 21:03:14 ---> 7b778ec28a32 21:03:14 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:03:14 ---> Running in 441196f7a90b 21:03:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:03:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:03:14 (1/2) Installing ca-certificates (20220614-r0) 21:03:14 (2/2) Installing dumb-init (1.2.5-r1) 21:03:14 Executing busybox-1.35.0-r17.trigger 21:03:14 Executing ca-certificates-20220614-r0.trigger 21:03:14 OK: 6 MiB in 16 packages 21:03:14 Removing intermediate container 441196f7a90b 21:03:14 ---> 22d035399a63 21:03:14 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:03:14 ---> 2ebb62762275 21:03:14 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:03:14 ---> 3586b860bc11 21:03:14 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:03:14 ---> 48c29da52057 21:03:14 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 21:03:15 ---> 76544f77fe49 21:03:15 Step 21/26 : EXPOSE 48095 21:03:15 ---> Running in fd5f56cacc0c 21:03:15 Removing intermediate container fd5f56cacc0c 21:03:15 ---> 01845498771b 21:03:15 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 21:03:15 ---> Running in 794afbca8bf7 21:03:15 Removing intermediate container 794afbca8bf7 21:03:15 ---> 4be1d2ec5a37 21:03:15 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:03:15 ---> Running in 2fb894dc567f 21:03:15 Removing intermediate container 2fb894dc567f 21:03:15 ---> a85ab9dd7865 21:03:15 Step 24/26 : LABEL arch=amd64 21:03:15 ---> Running in 2b33ba430a8d 21:03:15 Removing intermediate container 2b33ba430a8d 21:03:15 ---> 74ca7fe842d9 21:03:15 Step 25/26 : LABEL git_sha=6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c 21:03:15 ---> Running in e352ee0b8da5 21:03:15 Removing intermediate container e352ee0b8da5 21:03:15 ---> e879f028f8c2 21:03:15 Step 26/26 : LABEL version=0.0.0 21:03:15 ---> Running in 5a43b63a80d8 21:03:15 Removing intermediate container 5a43b63a80d8 21:03:15 ---> 3be71b37ee7e 21:03:15 [Warning] One or more build-args [ARCH] were not consumed 21:03:15 Successfully built 3be71b37ee7e 21:03:15 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 21:03:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:16 21:03:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:16 latest: Pulling from edgex-lftools-log-publisher 21:03:16 5eb5b503b376: Pulling fs layer 21:03:16 5c69ac0246d0: Pulling fs layer 21:03:16 ec43610c2a17: Pulling fs layer 21:03:16 3a2ae6a8a46f: Pulling fs layer 21:03:16 33b1e0a273af: Pulling fs layer 21:03:16 5d3b04190fa2: Pulling fs layer 21:03:16 2f39f015ded8: Pulling fs layer 21:03:16 3a2ae6a8a46f: Waiting 21:03:16 33b1e0a273af: Waiting 21:03:16 5d3b04190fa2: Waiting 21:03:16 2f39f015ded8: Waiting 21:03:16 5c69ac0246d0: Download complete 21:03:16 3a2ae6a8a46f: Verifying Checksum 21:03:16 3a2ae6a8a46f: Download complete 21:03:17 33b1e0a273af: Verifying Checksum 21:03:17 33b1e0a273af: Download complete 21:03:17 5d3b04190fa2: Verifying Checksum 21:03:17 5d3b04190fa2: Download complete 21:03:17 ec43610c2a17: Verifying Checksum 21:03:17 ec43610c2a17: Download complete 21:03:17 5eb5b503b376: Verifying Checksum 21:03:17 5eb5b503b376: Download complete 21:03:18 5eb5b503b376: Pull complete 21:03:18 5c69ac0246d0: Pull complete 21:03:19 ec43610c2a17: Pull complete 21:03:19 3a2ae6a8a46f: Pull complete 21:03:19 33b1e0a273af: Pull complete 21:03:19 5d3b04190fa2: Pull complete 21:03:23 2f39f015ded8: Pull complete 21:03:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:03:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:24 prd-ubuntu20.04-docker-8c-8g-4977 does not seem to be running inside a container 21:03:24 $ 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-511 -v /w/workspace/_app-service-configurable_PR-511:/w/workspace/_app-service-configurable_PR-511:rw,z -v /w/workspace/_app-service-configurable_PR-511@tmp:/w/workspace/_app-service-configurable_PR-511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:03:32 $ docker top 87214e0cb40d3faa587782408704359b3f430a9ed3f796a2ad6c771ced90bbaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:33 ---> job-cost.sh 21:03:33 lf-activate-venv: SKIPPING 21:03:33 INFO: No Stack... 21:03:33 INFO: Retrieving Pricing Info for: v3-standard-8 21:03:33 INFO: Archiving Costs [Pipeline] sh 21:03:34 + cat /w/workspace/_app-service-configurable_PR-511/archives/cost.csv 21:03:34 + cut -d, -f6 [Pipeline] lock 21:03:34 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-511-1-stack-cost] 21:03:34 Resource [jenkins-edgexfoundry-app-service-configurable-PR-511-1-stack-cost] did not exist. Created. 21:03:34 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-511-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:03:34 + echo total: 0.2199999988079071 [Pipeline] stash 21:03:34 Stashed 1 file(s) [Pipeline] } 21:03:34 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-511-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:03:34 $ docker stop --time=1 87214e0cb40d3faa587782408704359b3f430a9ed3f796a2ad6c771ced90bbaa 21:03:35 $ docker rm -f --volumes 87214e0cb40d3faa587782408704359b3f430a9ed3f796a2ad6c771ced90bbaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:05:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4979 in /w/workspace/_app-service-configurable_PR-511 [Pipeline] { [Pipeline] ws 21:05:02 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 21:05:02 Selected Git installation does not exist. Using Default 21:05:02 The recommended git tool is: NONE 21:05:07 using credential edgex-jenkins-ssh 21:05:07 Cloning the remote Git repository 21:05:07 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 21:05:07 > git init /w/workspace/app-service-configurable/1 # timeout=10 21:05:07 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:05:07 > git --version # timeout=10 21:05:07 > git --version # 'git version 2.25.1' 21:05:07 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:08 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:05:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:10 Merging remotes/origin/main commit 836f87500d0ab86c5b89a87899a5c272f5f4162e into PR head commit 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c 21:05:10 Merge succeeded, producing 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c 21:05:10 Checking out Revision 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c (PR-511) 21:05:09 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:05:09 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:05:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/511/head:refs/remotes/origin/PR-511 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:05:10 > git config core.sparsecheckout # timeout=10 21:05:10 > git checkout -f 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c # timeout=10 21:05:10 > git remote # timeout=10 21:05:10 > git config --get remote.origin.url # timeout=10 21:05:10 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:10 > git merge 836f87500d0ab86c5b89a87899a5c272f5f4162e # timeout=10 21:05:10 > git rev-parse HEAD^{commit} # timeout=10 21:05:10 > git config core.sparsecheckout # timeout=10 21:05:10 > git checkout -f 6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c # timeout=10 21:05:14 Commit message: "feat!: Use latest SDK for MessageBus Request API" 21:05:14 > git --version # timeout=10 21:05:14 > git --version # 'git version 2.25.1' 21:05:14 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:05:15 % Total % Received % Xferd Average Speed Time Time Time Current 21:05:15 Dload Upload Total Spent Left Speed 21:05:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 21:05:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:05:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:05:16 + sudo tee /etc/docker/daemon.new 21:05:16 { 21:05:16 "registry-mirrors": [ 21:05:16 "https://nexus3.edgexfoundry.org:10001" 21:05:16 ], 21:05:16 "bip": "10.250.0.254/24", 21:05:16 "hosts": [ 21:05:16 "tcp://0.0.0.0:5555", 21:05:16 "unix:///var/run/docker.sock" 21:05:16 ], 21:05:16 "mtu": 1458, 21:05:16 "selinux-enabled": true, 21:05:16 "seccomp-profile": "/etc/docker/seccomp.json" 21:05:16 } [Pipeline] sh 21:05:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:05:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:35 provisioning config files... 21:05:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config16004661773102902912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:36 ---> docker-login.sh 21:05:36 nexus3.edgexfoundry.org:10001 21:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:36 Configure a credential helper to remove this warning. See 21:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:36 21:05:36 Login Succeeded 21:05:36 nexus3.edgexfoundry.org:10002 21:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:37 Configure a credential helper to remove this warning. See 21:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:37 21:05:37 Login Succeeded 21:05:37 nexus3.edgexfoundry.org:10003 21:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:37 Configure a credential helper to remove this warning. See 21:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:37 21:05:37 Login Succeeded 21:05:37 nexus3.edgexfoundry.org:10004 21:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:37 Configure a credential helper to remove this warning. See 21:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:37 21:05:37 Login Succeeded 21:05:37 docker.io 21:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:38 Configure a credential helper to remove this warning. See 21:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:38 21:05:38 Login Succeeded 21:05:38 ---> docker-login.sh ends [Pipeline] } 21:05:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:05:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:38 ========================================================= 21:05:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:05:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:39 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:05:39 Sending build context to Docker daemon 204.3kB 21:05:39 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:05:39 Step 2/12 : FROM ${BASE} AS builder 21:05:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:05:39 9b18e9b68314: Pulling fs layer 21:05:39 35d82f9e3411: Pulling fs layer 21:05:39 e16973657156: Pulling fs layer 21:05:39 fc693d55d65f: Pulling fs layer 21:05:39 7e9fc2657dce: Pulling fs layer 21:05:39 dda99020689f: Pulling fs layer 21:05:39 db1c61fa0a46: Pulling fs layer 21:05:39 891c053d2c06: Pulling fs layer 21:05:39 fc693d55d65f: Waiting 21:05:39 7e9fc2657dce: Waiting 21:05:39 dda99020689f: Waiting 21:05:39 db1c61fa0a46: Waiting 21:05:39 891c053d2c06: Waiting 21:05:39 e16973657156: Verifying Checksum 21:05:39 e16973657156: Download complete 21:05:39 35d82f9e3411: Verifying Checksum 21:05:39 35d82f9e3411: Download complete 21:05:39 7e9fc2657dce: Verifying Checksum 21:05:39 7e9fc2657dce: Download complete 21:05:39 dda99020689f: Download complete 21:05:39 9b18e9b68314: Download complete 21:05:40 9b18e9b68314: Pull complete 21:05:40 891c053d2c06: Verifying Checksum 21:05:40 891c053d2c06: Download complete 21:05:41 35d82f9e3411: Pull complete 21:05:41 e16973657156: Pull complete 21:05:42 db1c61fa0a46: Verifying Checksum 21:05:42 db1c61fa0a46: Download complete 21:05:42 fc693d55d65f: Verifying Checksum 21:05:42 fc693d55d65f: Download complete 21:05:54 fc693d55d65f: Pull complete 21:05:54 7e9fc2657dce: Pull complete 21:05:54 dda99020689f: Pull complete 21:05:58 db1c61fa0a46: Pull complete 21:06:00 891c053d2c06: Pull complete 21:06:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:06:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:06:00 ---> f96f9c87975a 21:06:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:06:02 ---> Running in a56434afb6f5 21:06:02 Removing intermediate container a56434afb6f5 21:06:02 ---> 6f7d9731814c 21:06:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:06:02 ---> Running in e2f48cd0c295 21:06:03 Removing intermediate container e2f48cd0c295 21:06:03 ---> dc137fd8e5fd 21:06:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:06:03 ---> Running in af59bc65a87c 21:06:03 Removing intermediate container af59bc65a87c 21:06:03 ---> a7fc8a62e897 21:06:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:03 ---> Running in c9f6a809a8f9 21:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:06:06 OK: 221 MiB in 51 packages 21:06:07 Removing intermediate container c9f6a809a8f9 21:06:07 ---> 0e9a2d216acc 21:06:07 Step 7/12 : WORKDIR /app 21:06:07 ---> Running in 39b05b003e7f 21:06:07 Removing intermediate container 39b05b003e7f 21:06:07 ---> 33266c8d4c9a 21:06:07 Step 8/12 : COPY go.mod vendor* ./ 21:06:08 ---> 625d5e6f9124 21:06:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:08 ---> Running in 655249ffb3a7 21:07:30 Removing intermediate container 655249ffb3a7 21:07:30 ---> 932233a075e2 21:07:30 Step 10/12 : COPY . . 21:07:30 ---> d83f81027541 21:07:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:30 ---> Running in da54e3eab78a 21:07:30 Removing intermediate container da54e3eab78a 21:07:30 ---> a5c7e1e1f481 21:07:30 Step 12/12 : RUN $MAKE 21:07:30 ---> Running in 5d5829325f40 21:07:30 noop 21:07:30 Removing intermediate container 5d5829325f40 21:07:30 ---> 9ead10c8aa52 21:07:30 Successfully built 9ead10c8aa52 21:07:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:30 + docker inspect -f . ci-base-image-arm64 21:07:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:30 prd-ubuntu20.04-docker-arm64-4c-16g-4979 does not seem to be running inside a container 21:07:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:07:32 $ docker top 62afc6457ad6795a7233181d544a6467d25b55b37c594c39cd15f2b468ea7406 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:32 + go version 21:07:32 go version go1.18.7 linux/arm64 [Pipeline] } 21:07:32 $ docker stop --time=1 62afc6457ad6795a7233181d544a6467d25b55b37c594c39cd15f2b468ea7406 21:07:34 $ docker rm -f --volumes 62afc6457ad6795a7233181d544a6467d25b55b37c594c39cd15f2b468ea7406 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:35 + docker inspect -f . ci-base-image-arm64 21:07:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:35 prd-ubuntu20.04-docker-arm64-4c-16g-4979 does not seem to be running inside a container 21:07:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:07:36 $ docker top 90cb2251d72ab69730a0a32cf4fac7d7eddcdd3f6ba4a92b552e832d207334cc -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:37 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 21:07:37 + make test 21:07:37 go test -race -coverprofile=coverage.out ./... 21:10:14 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:10:14 go vet ./... 21:11:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:11:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:11:36 ./bin/test-attribution-txt.sh 21:11:36 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:11:36 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:11:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:11:36 $ docker stop --time=1 90cb2251d72ab69730a0a32cf4fac7d7eddcdd3f6ba4a92b552e832d207334cc 21:11:38 $ docker rm -f --volumes 90cb2251d72ab69730a0a32cf4fac7d7eddcdd3f6ba4a92b552e832d207334cc [Pipeline] // withDockerContainer [Pipeline] sh 21:11:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:11:39 Warning: overwriting stash ‘coverage-report’ 21:11:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:11:41 + ls -al . 21:11:41 total 168 21:11:41 drwxrwxr-x 7 jenkins jenkins 4096 Feb 7 21:07 . 21:11:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 21:05 .. 21:11:41 -rw-rw-r-- 1 jenkins jenkins 119 Feb 7 21:05 .dockerignore 21:11:41 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 21:05 .git 21:11:41 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 21:05 .github 21:11:41 -rw-rw-r-- 1 jenkins jenkins 171 Feb 7 21:05 .gitignore 21:11:41 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 7 21:05 Attribution.txt 21:11:41 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 7 21:05 CHANGELOG.md 21:11:41 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 7 21:05 Dockerfile 21:11:41 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 21:05 GOVERNANCE.md 21:11:41 -rw-rw-r-- 1 jenkins jenkins 688 Feb 7 21:05 Jenkinsfile 21:11:41 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 21:05 LICENSE 21:11:41 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 21:05 OWNERS.md 21:11:41 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 7 21:05 README.md 21:11:41 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 21:01 VERSION 21:11:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 21:05 bin 21:11:41 -rw-r--r-- 1 jenkins jenkins 13 Feb 7 21:07 coverage.out 21:11:41 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 7 21:05 go.mod 21:11:41 -rw-rw-r-- 1 jenkins jenkins 32404 Feb 7 21:05 go.sum 21:11:41 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 7 21:05 main.go 21:11:41 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 7 21:05 makefile 21:11:41 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 21:05 res 21:11:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 21:05 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:41 + 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=6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c --label arch=arm64 --label version=0.0.0 . 21:11:42 Sending build context to Docker daemon 205.3kB 21:11:43 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:11:43 Step 2/26 : FROM ${BASE} AS builder 21:11:43 ---> 9ead10c8aa52 21:11:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:11:43 ---> Running in 63d08c809f7a 21:11:43 Removing intermediate container 63d08c809f7a 21:11:43 ---> 20ceda30ee0c 21:11:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:11:44 ---> Running in 20313906362b 21:11:44 Removing intermediate container 20313906362b 21:11:44 ---> fc257b9cada3 21:11:44 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:11:44 ---> Running in e839a1200c4a 21:11:45 Removing intermediate container e839a1200c4a 21:11:45 ---> 62bc2225d156 21:11:45 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:45 ---> Running in 3ee48b19dba8 21:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:11:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:11:48 OK: 221 MiB in 51 packages 21:11:49 Removing intermediate container 3ee48b19dba8 21:11:49 ---> 20b7c9db8096 21:11:49 Step 7/26 : WORKDIR /app 21:11:49 ---> Running in e5a93a71f29e 21:11:50 Removing intermediate container e5a93a71f29e 21:11:50 ---> bda85f01ed10 21:11:50 Step 8/26 : COPY go.mod vendor* ./ 21:11:52 ---> 3783fb691226 21:11:52 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:52 ---> Running in d4a76caafca9 21:11:56 Removing intermediate container d4a76caafca9 21:11:56 ---> 4b0cd7d14184 21:11:56 Step 10/26 : COPY . . 21:11:58 ---> a8b4cc936638 21:11:58 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:58 ---> Running in b2616a87b8f2 21:11:58 Removing intermediate container b2616a87b8f2 21:11:58 ---> e13d6f1b8b11 21:11:58 Step 12/26 : RUN $MAKE 21:11:58 ---> Running in 71d27d83bfc4 21:11:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.27 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 21:14:06 Removing intermediate container 71d27d83bfc4 21:14:06 ---> 9e8ff9a640b2 21:14:06 Step 13/26 : FROM alpine:3.16 21:14:06 3.16: Pulling from library/alpine 21:14:06 6875df1f5354: Pulling fs layer 21:14:06 6875df1f5354: Verifying Checksum 21:14:06 6875df1f5354: Download complete 21:14:06 6875df1f5354: Pull complete 21:14:06 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:14:06 Status: Downloaded newer image for alpine:3.16 21:14:06 ---> 2b4661558fb8 21:14:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:14:06 ---> Running in 25046324dc33 21:14:06 Removing intermediate container 25046324dc33 21:14:06 ---> dcefb786f593 21:14:06 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 21:14:06 ---> Running in 90817f04bf31 21:14:06 Removing intermediate container 90817f04bf31 21:14:06 ---> 1cc2fd3dccc9 21:14:06 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:14:06 ---> Running in cee4891ac7ef 21:14:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:14:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:14:06 (1/2) Installing ca-certificates (20220614-r0) 21:14:06 (2/2) Installing dumb-init (1.2.5-r1) 21:14:06 Executing busybox-1.35.0-r17.trigger 21:14:06 Executing ca-certificates-20220614-r0.trigger 21:14:06 OK: 6 MiB in 16 packages 21:14:07 Removing intermediate container cee4891ac7ef 21:14:07 ---> 61c6fb6f6024 21:14:07 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:14:07 ---> f0f0959898ff 21:14:07 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:14:08 ---> 13ca9a8d3507 21:14:08 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:14:08 ---> 1aaeba0b103c 21:14:08 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 21:14:10 ---> a005103184d5 21:14:10 Step 21/26 : EXPOSE 48095 21:14:10 ---> Running in bcc856e5db8f 21:14:10 Removing intermediate container bcc856e5db8f 21:14:10 ---> e4f0104d708a 21:14:10 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 21:14:10 ---> Running in e8fa73992aa8 21:14:10 Removing intermediate container e8fa73992aa8 21:14:10 ---> 7bc92415abf7 21:14:10 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:14:10 ---> Running in 4c7554f4db70 21:14:11 Removing intermediate container 4c7554f4db70 21:14:11 ---> 1bdb3f3c2857 21:14:11 Step 24/26 : LABEL arch=arm64 21:14:11 ---> Running in f94fc7274e15 21:14:11 Removing intermediate container f94fc7274e15 21:14:11 ---> d7f6ec0ab0ce 21:14:11 Step 25/26 : LABEL git_sha=6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c 21:14:11 ---> Running in ca0c33f06eb7 21:14:11 Removing intermediate container ca0c33f06eb7 21:14:11 ---> 082f9a138b7d 21:14:11 Step 26/26 : LABEL version=0.0.0 21:14:11 ---> Running in 5d9ac84586d7 21:14:12 Removing intermediate container 5d9ac84586d7 21:14:12 ---> cff6061519c3 21:14:12 [Warning] One or more build-args [ARCH] were not consumed 21:14:12 Successfully built cff6061519c3 21:14:12 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 21:14:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:13 21:14:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:13 arm64: Pulling from edgex-lftools-log-publisher 21:14:13 8998bd30e6a1: Pulling fs layer 21:14:13 04944245beec: Pulling fs layer 21:14:13 699f458cf7ca: Pulling fs layer 21:14:13 765212b225bb: Pulling fs layer 21:14:13 f23df028b6ca: Pulling fs layer 21:14:13 d65c8cfc05b1: Pulling fs layer 21:14:13 2437ff75d9bd: Pulling fs layer 21:14:13 f23df028b6ca: Waiting 21:14:13 d65c8cfc05b1: Waiting 21:14:13 2437ff75d9bd: Waiting 21:14:13 765212b225bb: Waiting 21:14:13 04944245beec: Verifying Checksum 21:14:13 04944245beec: Download complete 21:14:13 765212b225bb: Verifying Checksum 21:14:13 765212b225bb: Download complete 21:14:13 f23df028b6ca: Verifying Checksum 21:14:13 f23df028b6ca: Download complete 21:14:13 d65c8cfc05b1: Verifying Checksum 21:14:13 d65c8cfc05b1: Download complete 21:14:13 699f458cf7ca: Verifying Checksum 21:14:13 699f458cf7ca: Download complete 21:14:14 8998bd30e6a1: Verifying Checksum 21:14:14 8998bd30e6a1: Download complete 21:14:16 2437ff75d9bd: Verifying Checksum 21:14:16 2437ff75d9bd: Download complete 21:14:18 8998bd30e6a1: Pull complete 21:14:18 04944245beec: Pull complete 21:14:19 699f458cf7ca: Pull complete 21:14:19 765212b225bb: Pull complete 21:14:20 f23df028b6ca: Pull complete 21:14:20 d65c8cfc05b1: Pull complete 21:14:33 2437ff75d9bd: Pull complete 21:14:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:33 prd-ubuntu20.04-docker-arm64-4c-16g-4979 does not seem to be running inside a container 21:14:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:14:36 $ docker top 1ad620264e61a6661a987a0e8aa36978166971c2e899c70ead0cd323501a05dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:37 ---> job-cost.sh 21:14:37 lf-activate-venv: SKIPPING 21:14:37 INFO: No Stack... 21:14:37 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:38 INFO: Archiving Costs [Pipeline] sh 21:14:38 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 21:14:38 + cut -d, -f6 [Pipeline] lock 21:14:39 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-511-1-stack-cost] 21:14:39 Resource [jenkins-edgexfoundry-app-service-configurable-PR-511-1-stack-cost] did not exist. Created. 21:14:39 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-511-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:39 /w/workspace/app-service-configurable/1@tmp/durable-0748d62c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:40 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:40 Warning: overwriting stash ‘stack-cost’ 21:14:40 Stashed 1 file(s) [Pipeline] } 21:14:40 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-511-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:40 $ docker stop --time=1 1ad620264e61a6661a987a0e8aa36978166971c2e899c70ead0cd323501a05dc 21:14:42 $ docker rm -f --volumes 1ad620264e61a6661a987a0e8aa36978166971c2e899c70ead0cd323501a05dc [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 21:14:43 provisioning config files... 21:14:43 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-511@tmp/config1633729987813594624tmp [Pipeline] { [Pipeline] sh 21:14:43 + set +x 21:14:43 + bash -s -- 21:14:43 + curl -s https://codecov.io/bash 21:14:43 21:14:43 _____ _ 21:14:43 / ____| | | 21:14:43 | | ___ __| | ___ ___ _____ __ 21:14:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:43 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:43 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:43 Bash-1.0.6 21:14:43 21:14:43 21:14:43 ==> git version 2.25.1 found 21:14:43 ==> 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 21:14:43 Release-Date: 2020-01-08 21:14:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:14:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:43 ==> Jenkins CI detected. 21:14:43 current dir:  /w/workspace/_app-service-configurable_PR-511 21:14:43 project root: . 21:14:43 --> token set from env 21:14:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:43 ==> Running gcov in . (disable via -X gcov) 21:14:43 ==> Python coveragepy not found 21:14:43 ==> Searching for coverage reports in: 21:14:43 + . 21:14:43 -> Found 1 reports 21:14:43 ==> Detecting git/mercurial file structure 21:14:43 ==> Reading reports 21:14:43 + ./coverage.out bytes=13 21:14:43 ==> Appending adjustments 21:14:43 https://docs.codecov.io/docs/fixing-reports 21:14:43 + Found adjustments 21:14:43 ==> Gzipping contents 21:14:43 4.0K /tmp/codecov.02NNh8.gz 21:14:43 ==> Uploading reports 21:14:43 url: https://codecov.io 21:14:43 query: branch=PR-511&commit=6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-511%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=511&job=&cmd_args= 21:14:43 -> Pinging Codecov 21:14:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-511&commit=6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-511%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=511&job=&cmd_args= 21:14:44 -> Uploading to 21:14:44 https://storage.googleapis.com/codecov/v4/raw/2023-02-07/A97CA9966030D2A3747ED39772930CCE/6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c/6d32fb0a-922f-4bbe-a4e3-1d18faf6fc25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T211444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f7b792962d56866052d25fe1788647d83dde676189a2b3c3499d13afb14784c2 21:14:44 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:44 Dload Upload Total Spent Left Speed 21:14:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 1992 --:--:-- --:--:-- --:--:-- 1992 21:14:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/6ab8e8af4a2c25ab0543b3c6b9a2d065cf41c39c [Pipeline] } 21:14:44 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 21:14:46 + [ -d /w/workspace/_app-service-configurable_PR-511/archives ] 21:14:46 + ls -al /w/workspace/_app-service-configurable_PR-511/archives 21:14:46 total 16 21:14:46 drwxr-xr-x 3 root root 4096 Feb 7 21:03 . 21:14:46 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 21:03 .. 21:14:46 drwxr-xr-x 2 root root 4096 Feb 7 21:03 cost 21:14:46 -rw-r--r-- 1 root root 96 Feb 7 21:03 cost.csv 21:14:46 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-511/archives 21:14:46 + ls -al /w/workspace/_app-service-configurable_PR-511/archives 21:14:46 total 16 21:14:46 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 21:03 . 21:14:46 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 21:03 .. 21:14:46 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 21:03 cost 21:14:46 -rw-r--r-- 1 jenkins jenkins 96 Feb 7 21:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:14:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:14:47 ---> package-listing.sh 21:14:47 ++ facter osfamily 21:14:47 ++ tr '[:upper:]' '[:lower:]' 21:14:47 + OS_FAMILY=debian 21:14:47 + workspace=/w/workspace/_app-service-configurable_PR-511 21:14:47 + START_PACKAGES=/tmp/packages_start.txt 21:14:47 + END_PACKAGES=/tmp/packages_end.txt 21:14:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:14:47 + PACKAGES=/tmp/packages_start.txt 21:14:47 + '[' /w/workspace/_app-service-configurable_PR-511 ']' 21:14:47 + PACKAGES=/tmp/packages_end.txt 21:14:47 + case "${OS_FAMILY}" in 21:14:47 + dpkg -l 21:14:47 + grep '^ii' 21:14:47 + '[' -f /tmp/packages_start.txt ']' 21:14:47 + '[' -f /tmp/packages_end.txt ']' 21:14:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:14:47 + '[' /w/workspace/_app-service-configurable_PR-511 ']' 21:14:47 + mkdir -p /w/workspace/_app-service-configurable_PR-511/archives/ 21:14:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-511/archives/ [Pipeline] echo 21:14:47 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-511/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:14:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:49 prd-ubuntu20.04-docker-8c-8g-4977 does not seem to be running inside a container 21:14:49 $ 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-511/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-511 -v /w/workspace/_app-service-configurable_PR-511:/w/workspace/_app-service-configurable_PR-511:rw,z -v /w/workspace/_app-service-configurable_PR-511@tmp:/w/workspace/_app-service-configurable_PR-511@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 21:14:49 $ docker top 9b8cf6252ef628be1e796b8460776006555956d6d7cba784727ceb22004db8ac -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:49 + touch /tmp/pre-build-complete [Pipeline] sh 21:14:49 + mkdir -p /var/log/sysstat [Pipeline] sh 21:14:50 + ls /var/log/sa-host 21:14:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:50 provisioning config files... 21:14:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-511@tmp/config12753809437054807618tmp [Pipeline] { [Pipeline] echo 21:14:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:14:50 ---> create-netrc.sh [Pipeline] } 21:14:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:14:51 ---> python-tools-install.sh [Pipeline] echo 21:14:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:14:51 ---> sudo-logs.sh 21:14:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:14:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:14:52 ---> job-cost.sh 21:14:52 lf-activate-venv: SKIPPING 21:14:52 DEBUG: total: 0.2199999988079071 21:14:52 INFO: Retrieving Stack Cost... 21:14:52 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:53 INFO: Archiving Costs [Pipeline] echo 21:14:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:14:53 ---> logs-deploy.sh 21:14:53 lf-activate-venv: SKIPPING 21:14:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-511/1 21:14:53 INFO: archiving workspace using pattern(s): 21:14:54 Archives upload complete. 21:14:54 INFO: archiving logs to Nexus