Pull request #502 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 farshidtz for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 63086056ade3822e4e3603e1e7f0d57235314c72+98ba4b579a71d8df1e8645a2b00f90d0d7fafb5d (bf2c31de39960628a108c6ca584f47426fb778d0) 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-ssh1515285013770005142.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-ssh2418601674326892101.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-502/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-502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6590466905500932655.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-502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6404682499686901231.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-ssh14696974967613284892.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-502/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-502/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13345096472741109538.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-2910’ Running on prd-ubuntu20.04-docker-8c-8g-2912 in /w/workspace/_app-service-configurable_PR-502 [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-502 # 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/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 98ba4b579a71d8df1e8645a2b00f90d0d7fafb5d into PR head commit 63086056ade3822e4e3603e1e7f0d57235314c72 Merge succeeded, producing 63086056ade3822e4e3603e1e7f0d57235314c72 Checking out Revision 63086056ade3822e4e3603e1e7f0d57235314c72 (PR-502) > git config core.sparsecheckout # timeout=10 > git checkout -f 63086056ade3822e4e3603e1e7f0d57235314c72 # 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 98ba4b579a71d8df1e8645a2b00f90d0d7fafb5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63086056ade3822e4e3603e1e7f0d57235314c72 # timeout=10 Commit message: "refactor(snap)!: Remove support for legacy env options BREAKING CHANGE: Drop the support for deprecated snap options starting with `env.`" 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 10:41:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:41:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:41:03 ========================================================= 10:41:03 EdgeX Global Pipelines Version Info 10:41:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:41:04 ------------------- 10:41:04 stable info: 10:41:04 ------------------- 10:41:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:41:04 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:41:04 Message: update stable to v1.0.244 10:41:05 ------------------- 10:41:05 experimental info: 10:41:05 ------------------- 10:41:05 Commited By: **** collab-it+edgex@linuxfoundation.org 10:41:05 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:41:05 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:41:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-502 [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-502 [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-502 [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63086056ade3822e4e3603e1e7f0d57235314c72 [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6308605 [Pipeline] echo 10:41:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:41:06 provisioning config files... 10:41:06 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-502@tmp/config7462403515816296317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:07 ---> docker-login.sh 10:41:07 nexus3.edgexfoundry.org:10001 10:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:07 Configure a credential helper to remove this warning. See 10:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:07 10:41:07 Login Succeeded 10:41:07 nexus3.edgexfoundry.org:10002 10:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:07 Configure a credential helper to remove this warning. See 10:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:07 10:41:07 Login Succeeded 10:41:07 nexus3.edgexfoundry.org:10003 10:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:07 Configure a credential helper to remove this warning. See 10:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:07 10:41:07 Login Succeeded 10:41:07 nexus3.edgexfoundry.org:10004 10:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:07 Configure a credential helper to remove this warning. See 10:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:07 10:41:07 Login Succeeded 10:41:07 docker.io 10:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:08 Configure a credential helper to remove this warning. See 10:41:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:08 10:41:08 Login Succeeded 10:41:08 ---> docker-login.sh ends [Pipeline] } 10:41:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:41:08 + git rev-list -1 --merges 63086056ade3822e4e3603e1e7f0d57235314c72~1..63086056ade3822e4e3603e1e7f0d57235314c72 [Pipeline] echo 10:41:08 -----------> git rev-list -1 --merges 63086056ade3822e4e3603e1e7f0d57235314c72~1..63086056ade3822e4e3603e1e7f0d57235314c72 63086056ade3822e4e3603e1e7f0d57235314c72 [false] [Pipeline] sh 10:41:09 + git log --format=format:%s -1 63086056ade3822e4e3603e1e7f0d57235314c72 [Pipeline] echo 10:41:09 ========================================================= 10:41:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:41:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:41:09 + git log --format=format:%s -1 63086056ade3822e4e3603e1e7f0d57235314c72 [Pipeline] echo 10:41:09 [semverPrep] GIT_COMMIT: 63086056ade3822e4e3603e1e7f0d57235314c72, Commit Message: refactor(snap)!: Remove support for legacy env options BREAKING CHANGE: Drop the support for deprecated snap options starting with `env.` [Pipeline] echo 10:41:09 [semverPrep] This is not a build commit. [Pipeline] sh 10:41:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:41:10 + grep -v github /etc/ssh/ssh_known_hosts 10:41:10 + [ -e /tmp/ssh_known_hosts ] 10:41:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:41:10 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:41:10 sudo tee -a /etc/ssh/ssh_known_hosts 10:41:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:41:10 10:41:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:41:11 0.1.4: Pulling from edgex-devops/py-git-semver 10:41:11 b85a868b505f: Pulling fs layer 10:41:11 e2be974225ed: Pulling fs layer 10:41:11 339a4e72a1f5: Pulling fs layer 10:41:11 988bab9f4d93: Pulling fs layer 10:41:11 1469e6f7b9e6: Pulling fs layer 10:41:11 eaf3925da568: Pulling fs layer 10:41:11 988bab9f4d93: Waiting 10:41:11 1469e6f7b9e6: Waiting 10:41:11 bab4dde63d76: Pulling fs layer 10:41:11 bde34c3a00c8: Pulling fs layer 10:41:11 b352a97aabf1: Pulling fs layer 10:41:11 bab4dde63d76: Waiting 10:41:11 4872d77fe225: Pulling fs layer 10:41:11 5851b861e8e6: Pulling fs layer 10:41:11 b352a97aabf1: Waiting 10:41:11 4872d77fe225: Waiting 10:41:11 eaf3925da568: Waiting 10:41:11 bde34c3a00c8: Waiting 10:41:11 5851b861e8e6: Waiting 10:41:11 e2be974225ed: Verifying Checksum 10:41:11 e2be974225ed: Download complete 10:41:11 988bab9f4d93: Verifying Checksum 10:41:11 988bab9f4d93: Download complete 10:41:11 1469e6f7b9e6: Verifying Checksum 10:41:11 1469e6f7b9e6: Download complete 10:41:11 eaf3925da568: Verifying Checksum 10:41:11 eaf3925da568: Download complete 10:41:11 339a4e72a1f5: Verifying Checksum 10:41:11 339a4e72a1f5: Download complete 10:41:11 bde34c3a00c8: Verifying Checksum 10:41:11 bde34c3a00c8: Download complete 10:41:11 b352a97aabf1: Verifying Checksum 10:41:11 b352a97aabf1: Download complete 10:41:11 4872d77fe225: Verifying Checksum 10:41:11 4872d77fe225: Download complete 10:41:11 5851b861e8e6: Verifying Checksum 10:41:11 5851b861e8e6: Download complete 10:41:11 b85a868b505f: Download complete 10:41:11 bab4dde63d76: Verifying Checksum 10:41:11 bab4dde63d76: Download complete 10:41:12 b85a868b505f: Pull complete 10:41:12 e2be974225ed: Pull complete 10:41:13 339a4e72a1f5: Pull complete 10:41:13 988bab9f4d93: Pull complete 10:41:13 1469e6f7b9e6: Pull complete 10:41:14 eaf3925da568: Pull complete 10:41:15 bab4dde63d76: Pull complete 10:41:15 bde34c3a00c8: Pull complete 10:41:16 b352a97aabf1: Pull complete 10:41:16 4872d77fe225: Pull complete 10:41:16 5851b861e8e6: Pull complete 10:41:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:41:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:41:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:16 prd-ubuntu20.04-docker-8c-8g-2912 does not seem to be running inside a container 10:41:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-502 -v /w/workspace/_app-service-configurable_PR-502:/w/workspace/_app-service-configurable_PR-502:rw,z -v /w/workspace/_app-service-configurable_PR-502@tmp:/w/workspace/_app-service-configurable_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:41:18 $ docker top 2435c06b3acb77d7f74cfe05af8bba9081fc4c325642de83d594fb0c2724ec6f -eo pid,comm 10:41:18 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). 10:41:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:41:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:41:18 [ssh-agent] Looking for ssh-agent implementation... 10:41:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:41:18 $ docker exec 2435c06b3acb77d7f74cfe05af8bba9081fc4c325642de83d594fb0c2724ec6f ssh-agent 10:41:18 SSH_AUTH_SOCK=/tmp/ssh-bMVb8bOUOQGM/agent.32 10:41:18 SSH_AGENT_PID=38 10:41:18 Running ssh-add (command line suppressed) 10:41:18 Identity added: /w/workspace/_app-service-configurable_PR-502@tmp/private_key_6410506188392853308.key (/w/workspace/_app-service-configurable_PR-502@tmp/private_key_6410506188392853308.key) 10:41:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:41:19 + git tag --points-at HEAD [Pipeline] } 10:41:19 $ docker exec --env ******** --env ******** 2435c06b3acb77d7f74cfe05af8bba9081fc4c325642de83d594fb0c2724ec6f ssh-agent -k 10:41:19 unset SSH_AUTH_SOCK; 10:41:19 unset SSH_AGENT_PID; 10:41:19 echo Agent pid 38 killed; 10:41:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:41:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:41:19 [ssh-agent] Looking for ssh-agent implementation... 10:41:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:41:19 $ docker exec 2435c06b3acb77d7f74cfe05af8bba9081fc4c325642de83d594fb0c2724ec6f ssh-agent 10:41:19 SSH_AUTH_SOCK=/tmp/ssh-7gTNRqfGc9jN/agent.70 10:41:19 SSH_AGENT_PID=76 10:41:19 Running ssh-add (command line suppressed) 10:41:19 Identity added: /w/workspace/_app-service-configurable_PR-502@tmp/private_key_16177294846529339445.key (/w/workspace/_app-service-configurable_PR-502@tmp/private_key_16177294846529339445.key) 10:41:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:41:20 + git semver init 10:41:20 2023-01-18 10:41:20,497 [run_init] DEBUG init version:0.0.0 force:False 10:41:20 2023-01-18 10:41:20,498 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-502/.semver 10:41:20 2023-01-18 10:41:20,499 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-502/.semver 10:41:20 2023-01-18 10:41:20,500 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-502/.semver'], cwd=/w/workspace/_app-service-configurable_PR-502, universal_newlines=False, shell=None, istream=None) 10:41:21 2023-01-18 10:41:21,336 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-502/.git/info/exclude 10:41:21 2023-01-18 10:41:21,337 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-502/.semver/PR-502 with force:False 10:41:21 2023-01-18 10:41:21,337 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-502/.semver/PR-502 10:41:21 2023-01-18 10:41:21,340 [execute] INFO git cat-file --batch-check 10:41:21 2023-01-18 10:41:21,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-502/.semver, universal_newlines=False, shell=None, istream=) 10:41:21 2023-01-18 10:41:21,347 [execute] INFO git cat-file --batch 10:41:21 2023-01-18 10:41:21,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-502/.semver, universal_newlines=False, shell=None, istream=) 10:41:21 2023-01-18 10:41:21,354 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-502/.semver/PR-502 10:41:21 0.0.0 [Pipeline] } 10:41:21 $ docker exec --env ******** --env ******** 2435c06b3acb77d7f74cfe05af8bba9081fc4c325642de83d594fb0c2724ec6f ssh-agent -k 10:41:21 unset SSH_AUTH_SOCK; 10:41:21 unset SSH_AGENT_PID; 10:41:21 echo Agent pid 76 killed; 10:41:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:41:22 + git semver [Pipeline] } 10:41:22 $ docker stop --time=1 2435c06b3acb77d7f74cfe05af8bba9081fc4c325642de83d594fb0c2724ec6f 10:41:23 $ docker rm -f --volumes 2435c06b3acb77d7f74cfe05af8bba9081fc4c325642de83d594fb0c2724ec6f [Pipeline] // withDockerContainer [Pipeline] sh 10:41:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:41:24 Stashed 1 file(s) [Pipeline] echo 10:41:24 [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 10:41:25 provisioning config files... 10:41:25 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-502@tmp/config18293662123523880455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:25 ---> docker-login.sh 10:41:25 nexus3.edgexfoundry.org:10001 10:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:25 Configure a credential helper to remove this warning. See 10:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:25 10:41:25 Login Succeeded 10:41:25 nexus3.edgexfoundry.org:10002 10:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:25 Configure a credential helper to remove this warning. See 10:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:25 10:41:25 Login Succeeded 10:41:25 nexus3.edgexfoundry.org:10003 10:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:25 Configure a credential helper to remove this warning. See 10:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:25 10:41:25 Login Succeeded 10:41:25 nexus3.edgexfoundry.org:10004 10:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:26 Configure a credential helper to remove this warning. See 10:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:26 10:41:26 Login Succeeded 10:41:26 docker.io 10:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:26 Configure a credential helper to remove this warning. See 10:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:26 10:41:26 Login Succeeded 10:41:26 ---> docker-login.sh ends [Pipeline] } 10:41:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:41:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:41:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:41:26 ========================================================= 10:41:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:41:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:27 + 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 . 10:41:27 Sending build context to Docker daemon 3.224MB 10:41:27 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 10:41:27 Step 2/12 : FROM ${BASE} AS builder 10:41:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:41:27 213ec9aee27d: Pulling fs layer 10:41:27 4583459ba037: Pulling fs layer 10:41:27 93c1e223e6f2: Pulling fs layer 10:41:27 53926ce57604: Pulling fs layer 10:41:27 21b2b0c7a3f4: Pulling fs layer 10:41:27 22ff95d597cd: Pulling fs layer 10:41:27 12d6caf4c0d1: Pulling fs layer 10:41:27 96b7cbca73a9: Pulling fs layer 10:41:27 21b2b0c7a3f4: Waiting 10:41:27 12d6caf4c0d1: Waiting 10:41:27 22ff95d597cd: Waiting 10:41:27 a7acece74701: Pulling fs layer 10:41:27 96b7cbca73a9: Waiting 10:41:27 a7acece74701: Waiting 10:41:27 93c1e223e6f2: Verifying Checksum 10:41:27 93c1e223e6f2: Download complete 10:41:27 4583459ba037: Download complete 10:41:27 21b2b0c7a3f4: Download complete 10:41:27 22ff95d597cd: Verifying Checksum 10:41:27 22ff95d597cd: Download complete 10:41:27 213ec9aee27d: Verifying Checksum 10:41:27 213ec9aee27d: Download complete 10:41:27 12d6caf4c0d1: Verifying Checksum 10:41:27 12d6caf4c0d1: Download complete 10:41:27 213ec9aee27d: Pull complete 10:41:27 4583459ba037: Pull complete 10:41:27 93c1e223e6f2: Pull complete 10:41:28 a7acece74701: Verifying Checksum 10:41:28 a7acece74701: Download complete 10:41:28 53926ce57604: Verifying Checksum 10:41:28 53926ce57604: Download complete 10:41:28 96b7cbca73a9: Verifying Checksum 10:41:28 96b7cbca73a9: Download complete 10:41:32 53926ce57604: Pull complete 10:41:32 21b2b0c7a3f4: Pull complete 10:41:32 22ff95d597cd: Pull complete 10:41:33 12d6caf4c0d1: Pull complete 10:41:35 96b7cbca73a9: Pull complete 10:41:36 a7acece74701: Pull complete 10:41:36 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 10:41:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:41:36 ---> db6d94c90886 10:41:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 10:41:38 ---> Running in 29ec31605c77 10:41:38 Removing intermediate container 29ec31605c77 10:41:38 ---> 2a0927e6beba 10:41:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:41:38 ---> Running in c0fe57cd5bfd 10:41:38 Removing intermediate container c0fe57cd5bfd 10:41:38 ---> 93c9a82852aa 10:41:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:41:38 ---> Running in bbedd3e8be4f 10:41:38 Removing intermediate container bbedd3e8be4f 10:41:38 ---> a46ce1016c47 10:41:38 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:41:38 ---> Running in d3be096c2475 10:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:41:39 OK: 211 MiB in 51 packages 10:41:39 Still waiting to schedule task 10:41:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2911’ 10:41:40 Removing intermediate container d3be096c2475 10:41:40 ---> 297dc351482a 10:41:40 Step 7/12 : WORKDIR /app 10:41:40 ---> Running in 5358e77dc055 10:41:40 Removing intermediate container 5358e77dc055 10:41:40 ---> 67f017ecdd55 10:41:40 Step 8/12 : COPY go.mod vendor* ./ 10:41:40 ---> ff4f3c50ea0a 10:41:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:41:40 ---> Running in af299ca81650 10:42:02 Removing intermediate container af299ca81650 10:42:02 ---> 88457fd674dc 10:42:02 Step 10/12 : COPY . . 10:42:02 ---> bd8e1da0ece3 10:42:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:42:02 ---> Running in 47122f3d721d 10:42:02 Removing intermediate container 47122f3d721d 10:42:02 ---> 14d54c0fd797 10:42:02 Step 12/12 : RUN $MAKE 10:42:02 ---> Running in 0b5db654136c 10:42:02 noop 10:42:02 Removing intermediate container 0b5db654136c 10:42:02 ---> 559045938bd5 10:42:02 Successfully built 559045938bd5 10:42:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:02 + docker inspect -f . ci-base-image-x86_64 10:42:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:03 prd-ubuntu20.04-docker-8c-8g-2912 does not seem to be running inside a container 10:42:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-502 -v /w/workspace/_app-service-configurable_PR-502:/w/workspace/_app-service-configurable_PR-502:rw,z -v /w/workspace/_app-service-configurable_PR-502@tmp:/w/workspace/_app-service-configurable_PR-502@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-x86_64 cat 10:42:03 $ docker top f38ae418f26bafd500c43d6c46653be941216a04869a639be5dc449d2b1e18ff -eo pid,comm [Pipeline] { [Pipeline] sh 10:42:03 + go version 10:42:03 go version go1.18.7 linux/amd64 [Pipeline] } 10:42:03 $ docker stop --time=1 f38ae418f26bafd500c43d6c46653be941216a04869a639be5dc449d2b1e18ff 10:42:05 $ docker rm -f --volumes f38ae418f26bafd500c43d6c46653be941216a04869a639be5dc449d2b1e18ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:06 + docker inspect -f . ci-base-image-x86_64 10:42:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:06 prd-ubuntu20.04-docker-8c-8g-2912 does not seem to be running inside a container 10:42:06 $ 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-502 -v /w/workspace/_app-service-configurable_PR-502:/w/workspace/_app-service-configurable_PR-502:rw,z -v /w/workspace/_app-service-configurable_PR-502@tmp:/w/workspace/_app-service-configurable_PR-502@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-x86_64 cat 10:42:06 $ docker top 6871d67f1839236eec196447e5bd7a2679e0f1b054e98c2401ecc46652a2ba89 -eo pid,comm [Pipeline] { [Pipeline] sh 10:42:07 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-502 [Pipeline] fileExists [Pipeline] sh 10:42:07 + make test 10:42:07 go test -race -coverprofile=coverage.out ./... 10:42:29 ? github.com/edgexfoundry/app-service-configurable [no test files] 10:42:29 go vet ./... 10:42:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:42:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:42:39 ./bin/test-attribution-txt.sh [Pipeline] echo 10:42:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:42:39 $ docker stop --time=1 6871d67f1839236eec196447e5bd7a2679e0f1b054e98c2401ecc46652a2ba89 10:42:41 $ docker rm -f --volumes 6871d67f1839236eec196447e5bd7a2679e0f1b054e98c2401ecc46652a2ba89 [Pipeline] // withDockerContainer [Pipeline] sh 10:42:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:42:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:42:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:42:43 + ls -al . 10:42:43 total 184 10:42:43 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 10:42 . 10:42:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 10:40 .. 10:42:43 -rw-rw-r-- 1 jenkins jenkins 119 Jan 18 10:40 .dockerignore 10:42:43 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 10:41 .git 10:42:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 10:40 .github 10:42:43 -rw-rw-r-- 1 jenkins jenkins 171 Jan 18 10:40 .gitignore 10:42:43 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 10:41 .semver 10:42:43 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 18 10:40 Attribution.txt 10:42:43 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 18 10:40 CHANGELOG.md 10:42:43 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 18 10:40 Dockerfile 10:42:43 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 10:40 GOVERNANCE.md 10:42:43 -rw-rw-r-- 1 jenkins jenkins 688 Jan 18 10:40 Jenkinsfile 10:42:43 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 18 10:40 LICENSE 10:42:43 -rw-rw-r-- 1 jenkins jenkins 618 Jan 18 10:40 OWNERS.md 10:42:43 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 18 10:40 README.md 10:42:43 -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 10:41 VERSION 10:42:43 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 10:40 bin 10:42:43 -rw-r--r-- 1 jenkins jenkins 13 Jan 18 10:42 coverage.out 10:42:43 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 18 10:40 go.mod 10:42:43 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 18 10:40 go.sum 10:42:43 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 18 10:40 main.go 10:42:43 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 18 10:40 makefile 10:42:43 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 10:40 res 10:42:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 10:40 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:43 + 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=63086056ade3822e4e3603e1e7f0d57235314c72 --label arch=amd64 --label version=0.0.0 . 10:42:43 Sending build context to Docker daemon 3.225MB 10:42:43 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 10:42:43 Step 2/26 : FROM ${BASE} AS builder 10:42:43 ---> 559045938bd5 10:42:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 10:42:43 ---> Running in 560075c3da2e 10:42:44 Removing intermediate container 560075c3da2e 10:42:44 ---> 1008e4506f7a 10:42:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:42:44 ---> Running in 0f8ffd148a3a 10:42:44 Removing intermediate container 0f8ffd148a3a 10:42:44 ---> ff1b7ffdf10a 10:42:44 Step 5/26 : ARG ADD_BUILD_TAGS="" 10:42:44 ---> Running in fcc0ea752380 10:42:44 Removing intermediate container fcc0ea752380 10:42:44 ---> 30ef987eca13 10:42:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:42:44 ---> Running in 8e172f8ed754 10:42:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:42:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:42:45 OK: 211 MiB in 51 packages 10:42:45 Removing intermediate container 8e172f8ed754 10:42:45 ---> c7db406a3185 10:42:45 Step 7/26 : WORKDIR /app 10:42:45 ---> Running in abc10edf6325 10:42:45 Removing intermediate container abc10edf6325 10:42:45 ---> b17e239e6515 10:42:45 Step 8/26 : COPY go.mod vendor* ./ 10:42:45 ---> d22ca57b8838 10:42:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:42:45 ---> Running in 57c0c39b57de 10:42:46 Removing intermediate container 57c0c39b57de 10:42:46 ---> 42a315533644 10:42:46 Step 10/26 : COPY . . 10:42:46 ---> ac1e35992bed 10:42:46 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:42:46 ---> Running in d6b95df43779 10:42:46 Removing intermediate container d6b95df43779 10:42:46 ---> ef4b81c535bc 10:42:46 Step 12/26 : RUN $MAKE 10:42:46 ---> Running in 4f9ed998dfec 10:42:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.17 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 10:43:08 Removing intermediate container 4f9ed998dfec 10:43:08 ---> 1aa26ec50ab1 10:43:08 Step 13/26 : FROM alpine:3.16 10:43:08 3.16: Pulling from library/alpine 10:43:08 ca7dd9ec2225: Pulling fs layer 10:43:08 ca7dd9ec2225: Verifying Checksum 10:43:08 ca7dd9ec2225: Download complete 10:43:08 ca7dd9ec2225: Pull complete 10:43:08 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 10:43:08 Status: Downloaded newer image for alpine:3.16 10:43:08 ---> bfe296a52501 10:43:08 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:43:08 ---> Running in 0479d44d5a1e 10:43:08 Removing intermediate container 0479d44d5a1e 10:43:08 ---> bece17d09fee 10:43:08 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 10:43:08 ---> Running in d59a64e19d2f 10:43:08 Removing intermediate container d59a64e19d2f 10:43:08 ---> 7c2f04826d1b 10:43:08 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 10:43:08 ---> Running in 43a1bd165f9e 10:43:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:43:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:43:08 (1/2) Installing ca-certificates (20220614-r0) 10:43:08 (2/2) Installing dumb-init (1.2.5-r1) 10:43:08 Executing busybox-1.35.0-r17.trigger 10:43:08 Executing ca-certificates-20220614-r0.trigger 10:43:08 OK: 6 MiB in 16 packages 10:43:08 Removing intermediate container 43a1bd165f9e 10:43:08 ---> dc218c3e7c86 10:43:08 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 10:43:09 ---> aec65c0a7b4e 10:43:09 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 10:43:09 ---> a29fa0757b35 10:43:09 Step 19/26 : COPY --from=builder /app/res/ /res/ 10:43:09 ---> a8df16342f0d 10:43:09 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 10:43:09 ---> ae7841ee06df 10:43:09 Step 21/26 : EXPOSE 48095 10:43:10 ---> Running in 873e8fbb718d 10:43:10 Removing intermediate container 873e8fbb718d 10:43:10 ---> b87b14d06a5f 10:43:10 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 10:43:10 ---> Running in 99679ee1329b 10:43:10 Removing intermediate container 99679ee1329b 10:43:10 ---> c57dcb6919a0 10:43:10 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:43:10 ---> Running in ac41887e40c2 10:43:10 Removing intermediate container ac41887e40c2 10:43:10 ---> 8e81cbd8609a 10:43:10 Step 24/26 : LABEL arch=amd64 10:43:10 ---> Running in dce1871a0145 10:43:10 Removing intermediate container dce1871a0145 10:43:10 ---> fbcda6920a7d 10:43:10 Step 25/26 : LABEL git_sha=63086056ade3822e4e3603e1e7f0d57235314c72 10:43:10 ---> Running in 590af61c2882 10:43:10 Removing intermediate container 590af61c2882 10:43:10 ---> b4c93f8f93c4 10:43:10 Step 26/26 : LABEL version=0.0.0 10:43:10 ---> Running in d2bf76b4593d 10:43:11 Removing intermediate container d2bf76b4593d 10:43:11 ---> e6e71994e427 10:43:11 [Warning] One or more build-args [ARCH] were not consumed 10:43:11 Successfully built e6e71994e427 10:43:11 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 10:43:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:43:11 10:43:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:43:12 latest: Pulling from edgex-lftools-log-publisher 10:43:12 5eb5b503b376: Pulling fs layer 10:43:12 5c69ac0246d0: Pulling fs layer 10:43:12 ec43610c2a17: Pulling fs layer 10:43:12 3a2ae6a8a46f: Pulling fs layer 10:43:12 33b1e0a273af: Pulling fs layer 10:43:12 5d3b04190fa2: Pulling fs layer 10:43:12 2f39f015ded8: Pulling fs layer 10:43:12 33b1e0a273af: Waiting 10:43:12 5d3b04190fa2: Waiting 10:43:12 3a2ae6a8a46f: Waiting 10:43:12 5c69ac0246d0: Verifying Checksum 10:43:12 5c69ac0246d0: Download complete 10:43:12 3a2ae6a8a46f: Download complete 10:43:12 33b1e0a273af: Verifying Checksum 10:43:12 33b1e0a273af: Download complete 10:43:12 5d3b04190fa2: Verifying Checksum 10:43:12 5d3b04190fa2: Download complete 10:43:12 ec43610c2a17: Verifying Checksum 10:43:12 ec43610c2a17: Download complete 10:43:12 5eb5b503b376: Verifying Checksum 10:43:12 5eb5b503b376: Download complete 10:43:13 2f39f015ded8: Download complete 10:43:13 5eb5b503b376: Pull complete 10:43:14 5c69ac0246d0: Pull complete 10:43:14 ec43610c2a17: Pull complete 10:43:14 3a2ae6a8a46f: Pull complete 10:43:14 33b1e0a273af: Pull complete 10:43:14 5d3b04190fa2: Pull complete 10:43:19 2f39f015ded8: Pull complete 10:43:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:43:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:43:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:43:19 prd-ubuntu20.04-docker-8c-8g-2912 does not seem to be running inside a container 10:43:19 $ 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-502 -v /w/workspace/_app-service-configurable_PR-502:/w/workspace/_app-service-configurable_PR-502:rw,z -v /w/workspace/_app-service-configurable_PR-502@tmp:/w/workspace/_app-service-configurable_PR-502@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:latest cat 10:43:21 $ docker top 67d88385a98de38121bdfda11f89359bd786a69c5588773212c6cbe333e4b65a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:43:21 ---> job-cost.sh 10:43:21 lf-activate-venv: SKIPPING 10:43:21 INFO: No Stack... 10:43:22 INFO: Retrieving Pricing Info for: v3-standard-8 10:43:22 INFO: Archiving Costs [Pipeline] sh 10:43:23 + cat /w/workspace/_app-service-configurable_PR-502/archives/cost.csv 10:43:23 + cut -d, -f6 [Pipeline] lock 10:43:23 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-502-1-stack-cost] 10:43:23 Resource [jenkins-edgexfoundry-app-service-configurable-PR-502-1-stack-cost] did not exist. Created. 10:43:23 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:43:23 + echo total: 0.2199999988079071 [Pipeline] stash 10:43:23 Stashed 1 file(s) [Pipeline] } 10:43:23 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-502-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:43:23 $ docker stop --time=1 67d88385a98de38121bdfda11f89359bd786a69c5588773212c6cbe333e4b65a 10:43:24 $ docker rm -f --volumes 67d88385a98de38121bdfda11f89359bd786a69c5588773212c6cbe333e4b65a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:44:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2913 in /w/workspace/_app-service-configurable_PR-502 [Pipeline] { [Pipeline] ws 10:44:11 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 10:44:11 Selected Git installation does not exist. Using Default 10:44:11 The recommended git tool is: NONE 10:44:16 using credential edgex-jenkins-ssh 10:44:16 Cloning the remote Git repository 10:44:16 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 10:44:16 > git init /w/workspace/app-service-configurable/1 # timeout=10 10:44:16 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 10:44:16 > git --version # timeout=10 10:44:16 > git --version # 'git version 2.25.1' 10:44:16 using GIT_SSH to set credentials SSH Credentials for GitHub 10:44:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:44:17 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 10:44:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:44:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 10:44:18 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 10:44:18 using GIT_SSH to set credentials SSH Credentials for GitHub 10:44:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:44:19 Merging remotes/origin/main commit 98ba4b579a71d8df1e8645a2b00f90d0d7fafb5d into PR head commit 63086056ade3822e4e3603e1e7f0d57235314c72 10:44:19 Merge succeeded, producing 63086056ade3822e4e3603e1e7f0d57235314c72 10:44:19 Checking out Revision 63086056ade3822e4e3603e1e7f0d57235314c72 (PR-502) 10:44:19 > git config core.sparsecheckout # timeout=10 10:44:19 > git checkout -f 63086056ade3822e4e3603e1e7f0d57235314c72 # timeout=10 10:44:19 > git remote # timeout=10 10:44:19 > git config --get remote.origin.url # timeout=10 10:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 10:44:19 > git merge 98ba4b579a71d8df1e8645a2b00f90d0d7fafb5d # timeout=10 10:44:19 > git rev-parse HEAD^{commit} # timeout=10 10:44:19 > git config core.sparsecheckout # timeout=10 10:44:19 > git checkout -f 63086056ade3822e4e3603e1e7f0d57235314c72 # timeout=10 10:44:22 Commit message: "refactor(snap)!: Remove support for legacy env options BREAKING CHANGE: Drop the support for deprecated snap options starting with `env.`" 10:44:23 > git --version # timeout=10 10:44:23 > git --version # 'git version 2.25.1' 10:44:23 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:44:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:44:24 % Total % Received % Xferd Average Speed Time Time Time Current 10:44:24 Dload Upload Total Spent Left Speed 10:44:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 10:44:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:44:25 + sudo tee /etc/docker/daemon.new 10:44:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:44:25 { 10:44:25 "registry-mirrors": [ 10:44:25 "https://nexus3.edgexfoundry.org:10001" 10:44:25 ], 10:44:25 "bip": "10.250.0.254/24", 10:44:25 "hosts": [ 10:44:25 "tcp://0.0.0.0:5555", 10:44:25 "unix:///var/run/docker.sock" 10:44:25 ], 10:44:25 "mtu": 1458, 10:44:25 "selinux-enabled": true, 10:44:25 "seccomp-profile": "/etc/docker/seccomp.json" 10:44:25 } [Pipeline] sh 10:44:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:44:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:44:44 provisioning config files... 10:44:44 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config16443806706279335191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:44:44 ---> docker-login.sh 10:44:44 nexus3.edgexfoundry.org:10001 10:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:45 Configure a credential helper to remove this warning. See 10:44:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:45 10:44:45 Login Succeeded 10:44:45 nexus3.edgexfoundry.org:10002 10:44:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:45 Configure a credential helper to remove this warning. See 10:44:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:45 10:44:45 Login Succeeded 10:44:45 nexus3.edgexfoundry.org:10003 10:44:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:46 Configure a credential helper to remove this warning. See 10:44:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:46 10:44:46 Login Succeeded 10:44:46 nexus3.edgexfoundry.org:10004 10:44:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:46 Configure a credential helper to remove this warning. See 10:44:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:46 10:44:46 Login Succeeded 10:44:46 docker.io 10:44:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:46 Configure a credential helper to remove this warning. See 10:44:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:46 10:44:46 Login Succeeded 10:44:46 ---> docker-login.sh ends [Pipeline] } 10:44:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:44:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:44:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:44:47 ========================================================= 10:44:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:44:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:47 + 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 . 10:44:47 Sending build context to Docker daemon 215.6kB 10:44:48 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 10:44:48 Step 2/12 : FROM ${BASE} AS builder 10:44:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:44:48 9b18e9b68314: Pulling fs layer 10:44:48 35d82f9e3411: Pulling fs layer 10:44:48 e16973657156: Pulling fs layer 10:44:48 fc693d55d65f: Pulling fs layer 10:44:48 7e9fc2657dce: Pulling fs layer 10:44:48 dda99020689f: Pulling fs layer 10:44:48 db1c61fa0a46: Pulling fs layer 10:44:48 891c053d2c06: Pulling fs layer 10:44:48 dda99020689f: Waiting 10:44:48 fc693d55d65f: Waiting 10:44:48 7e9fc2657dce: Waiting 10:44:48 891c053d2c06: Waiting 10:44:48 db1c61fa0a46: Waiting 10:44:48 e16973657156: Verifying Checksum 10:44:48 e16973657156: Download complete 10:44:48 35d82f9e3411: Verifying Checksum 10:44:48 35d82f9e3411: Download complete 10:44:48 7e9fc2657dce: Verifying Checksum 10:44:48 7e9fc2657dce: Download complete 10:44:48 dda99020689f: Verifying Checksum 10:44:48 dda99020689f: Download complete 10:44:48 9b18e9b68314: Verifying Checksum 10:44:48 9b18e9b68314: Download complete 10:44:49 9b18e9b68314: Pull complete 10:44:49 891c053d2c06: Verifying Checksum 10:44:49 891c053d2c06: Download complete 10:44:49 35d82f9e3411: Pull complete 10:44:49 e16973657156: Pull complete 10:44:50 db1c61fa0a46: Verifying Checksum 10:44:50 db1c61fa0a46: Download complete 10:44:51 fc693d55d65f: Download complete 10:45:03 fc693d55d65f: Pull complete 10:45:03 7e9fc2657dce: Pull complete 10:45:03 dda99020689f: Pull complete 10:45:10 db1c61fa0a46: Pull complete 10:45:12 891c053d2c06: Pull complete 10:45:12 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 10:45:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:45:12 ---> f96f9c87975a 10:45:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 10:45:14 ---> Running in 0fe389100636 10:45:14 Removing intermediate container 0fe389100636 10:45:14 ---> 152432b44d12 10:45:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:45:14 ---> Running in e63e75d6f10d 10:45:14 Removing intermediate container e63e75d6f10d 10:45:14 ---> ba674f9978e7 10:45:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:45:14 ---> Running in effff860df24 10:45:15 Removing intermediate container effff860df24 10:45:15 ---> 3101728a2944 10:45:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:45:15 ---> Running in 27c898b001e1 10:45:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:45:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:45:17 OK: 221 MiB in 51 packages 10:45:18 Removing intermediate container 27c898b001e1 10:45:18 ---> 83f4b812cd16 10:45:18 Step 7/12 : WORKDIR /app 10:45:18 ---> Running in 1213cccda7f5 10:45:18 Removing intermediate container 1213cccda7f5 10:45:18 ---> 2be3d0470632 10:45:18 Step 8/12 : COPY go.mod vendor* ./ 10:45:19 ---> e5eaada63f22 10:45:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:45:19 ---> Running in 13b4989bb7ee 10:46:15 Removing intermediate container 13b4989bb7ee 10:46:15 ---> 443fc9412036 10:46:15 Step 10/12 : COPY . . 10:46:15 ---> d54871da852e 10:46:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:46:15 ---> Running in bbdc5ab5a113 10:46:15 Removing intermediate container bbdc5ab5a113 10:46:15 ---> 02208cbb67ca 10:46:15 Step 12/12 : RUN $MAKE 10:46:15 ---> Running in 6d967fe1815a 10:46:15 noop 10:46:15 Removing intermediate container 6d967fe1815a 10:46:15 ---> 944bbebab23b 10:46:15 Successfully built 944bbebab23b 10:46:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:46:16 + docker inspect -f . ci-base-image-arm64 10:46:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:46:16 prd-ubuntu20.04-docker-arm64-4c-16g-2913 does not seem to be running inside a container 10:46:16 $ 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 10:46:17 $ docker top 781fc946cba3eb496f2e152f2f32660e0b9e9b8c2f10d86ded0ab269c39797eb -eo pid,comm [Pipeline] { [Pipeline] sh 10:46:18 + go version 10:46:18 go version go1.18.7 linux/arm64 [Pipeline] } 10:46:18 $ docker stop --time=1 781fc946cba3eb496f2e152f2f32660e0b9e9b8c2f10d86ded0ab269c39797eb 10:46:20 $ docker rm -f --volumes 781fc946cba3eb496f2e152f2f32660e0b9e9b8c2f10d86ded0ab269c39797eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:46:21 + docker inspect -f . ci-base-image-arm64 10:46:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:46:21 prd-ubuntu20.04-docker-arm64-4c-16g-2913 does not seem to be running inside a container 10:46:21 $ 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 10:46:22 $ docker top 60e7506a87aa1b64b749668324a11a0219515e60372f3a3b6220d91a60bfac12 -eo pid,comm [Pipeline] { [Pipeline] sh 10:46:23 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 10:46:23 + make test 10:46:23 go test -race -coverprofile=coverage.out ./... 10:48:45 ? github.com/edgexfoundry/app-service-configurable [no test files] 10:48:45 go vet ./... 10:50:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:50:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:50:22 ./bin/test-attribution-txt.sh [Pipeline] echo 10:50:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:50:22 $ docker stop --time=1 60e7506a87aa1b64b749668324a11a0219515e60372f3a3b6220d91a60bfac12 10:50:24 $ docker rm -f --volumes 60e7506a87aa1b64b749668324a11a0219515e60372f3a3b6220d91a60bfac12 [Pipeline] // withDockerContainer [Pipeline] sh 10:50:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:50:25 Warning: overwriting stash ‘coverage-report’ 10:50:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:50:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:50:27 + ls -al . 10:50:27 total 180 10:50:27 drwxrwxr-x 7 jenkins jenkins 4096 Jan 18 10:46 . 10:50:27 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 10:44 .. 10:50:27 -rw-rw-r-- 1 jenkins jenkins 119 Jan 18 10:44 .dockerignore 10:50:27 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 10:44 .git 10:50:27 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 10:44 .github 10:50:27 -rw-rw-r-- 1 jenkins jenkins 171 Jan 18 10:44 .gitignore 10:50:27 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 18 10:44 Attribution.txt 10:50:27 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 18 10:44 CHANGELOG.md 10:50:27 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 18 10:44 Dockerfile 10:50:27 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 10:44 GOVERNANCE.md 10:50:27 -rw-rw-r-- 1 jenkins jenkins 688 Jan 18 10:44 Jenkinsfile 10:50:27 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 18 10:44 LICENSE 10:50:27 -rw-rw-r-- 1 jenkins jenkins 618 Jan 18 10:44 OWNERS.md 10:50:27 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 18 10:44 README.md 10:50:27 -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 10:41 VERSION 10:50:27 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 10:44 bin 10:50:27 -rw-r--r-- 1 jenkins jenkins 13 Jan 18 10:46 coverage.out 10:50:27 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 18 10:44 go.mod 10:50:27 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 18 10:44 go.sum 10:50:27 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 18 10:44 main.go 10:50:27 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 18 10:44 makefile 10:50:27 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 10:44 res 10:50:27 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 10:44 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:27 + 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=63086056ade3822e4e3603e1e7f0d57235314c72 --label arch=arm64 --label version=0.0.0 . 10:50:27 Sending build context to Docker daemon 216.6kB 10:50:27 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 10:50:27 Step 2/26 : FROM ${BASE} AS builder 10:50:27 ---> 944bbebab23b 10:50:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 10:50:27 ---> Running in 2db2aab9b502 10:50:28 Removing intermediate container 2db2aab9b502 10:50:28 ---> 06446ac7c425 10:50:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:50:28 ---> Running in ad92cc9210c2 10:50:28 Removing intermediate container ad92cc9210c2 10:50:28 ---> 59b140d1e57f 10:50:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 10:50:28 ---> Running in 32ad77d767fd 10:50:29 Removing intermediate container 32ad77d767fd 10:50:29 ---> 50fd0874ab29 10:50:29 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:50:29 ---> Running in 1c6ba218cbd6 10:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:50:31 OK: 221 MiB in 51 packages 10:50:32 Removing intermediate container 1c6ba218cbd6 10:50:32 ---> 90617b1e6f93 10:50:32 Step 7/26 : WORKDIR /app 10:50:32 ---> Running in a3644067fca1 10:50:32 Removing intermediate container a3644067fca1 10:50:32 ---> a7a2d8bdfaf5 10:50:32 Step 8/26 : COPY go.mod vendor* ./ 10:50:33 ---> 49eb229eaef1 10:50:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:50:33 ---> Running in df2ce5a07c81 10:50:35 Removing intermediate container df2ce5a07c81 10:50:35 ---> d4418aad17a9 10:50:35 Step 10/26 : COPY . . 10:50:36 ---> d806559c2fc2 10:50:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:50:36 ---> Running in 03e478a74eba 10:50:36 Removing intermediate container 03e478a74eba 10:50:36 ---> 9ca9b43cb64c 10:50:36 Step 12/26 : RUN $MAKE 10:50:36 ---> Running in 55b254efc48f 10:50:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.17 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 10:52:44 Removing intermediate container 55b254efc48f 10:52:44 ---> e9a0c086a0fc 10:52:44 Step 13/26 : FROM alpine:3.16 10:52:44 3.16: Pulling from library/alpine 10:52:44 6875df1f5354: Pulling fs layer 10:52:44 6875df1f5354: Verifying Checksum 10:52:44 6875df1f5354: Download complete 10:52:44 6875df1f5354: Pull complete 10:52:44 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 10:52:44 Status: Downloaded newer image for alpine:3.16 10:52:44 ---> 2b4661558fb8 10:52:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:52:44 ---> Running in 946be6d00049 10:52:44 Removing intermediate container 946be6d00049 10:52:44 ---> 778b39741083 10:52:44 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 10:52:44 ---> Running in ebaa5f15cb18 10:52:44 Removing intermediate container ebaa5f15cb18 10:52:44 ---> 765b378ae9b5 10:52:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 10:52:44 ---> Running in e94690ef2626 10:52:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:52:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:52:44 (1/2) Installing ca-certificates (20220614-r0) 10:52:45 (2/2) Installing dumb-init (1.2.5-r1) 10:52:45 Executing busybox-1.35.0-r17.trigger 10:52:45 Executing ca-certificates-20220614-r0.trigger 10:52:45 OK: 6 MiB in 16 packages 10:52:46 Removing intermediate container e94690ef2626 10:52:46 ---> dcb1564a3ac6 10:52:46 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 10:52:47 ---> 3fa5dba2fa36 10:52:47 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 10:52:47 ---> 65bce329bbfd 10:52:47 Step 19/26 : COPY --from=builder /app/res/ /res/ 10:52:48 ---> 1197d2ca6721 10:52:48 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 10:52:49 ---> 96e912834bc3 10:52:49 Step 21/26 : EXPOSE 48095 10:52:49 ---> Running in c06c4d98feac 10:52:50 Removing intermediate container c06c4d98feac 10:52:50 ---> ba3eaae110fd 10:52:50 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 10:52:50 ---> Running in 88c12d507e7d 10:52:50 Removing intermediate container 88c12d507e7d 10:52:50 ---> 06043c911c6f 10:52:50 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:52:50 ---> Running in 448d4607bc05 10:52:50 Removing intermediate container 448d4607bc05 10:52:50 ---> 2f62b3001b6c 10:52:50 Step 24/26 : LABEL arch=arm64 10:52:51 ---> Running in 10032dfdb63d 10:52:51 Removing intermediate container 10032dfdb63d 10:52:51 ---> bafc21f95407 10:52:51 Step 25/26 : LABEL git_sha=63086056ade3822e4e3603e1e7f0d57235314c72 10:52:51 ---> Running in ded121d20a1b 10:52:51 Removing intermediate container ded121d20a1b 10:52:51 ---> 19b55baca56c 10:52:51 Step 26/26 : LABEL version=0.0.0 10:52:51 ---> Running in 0b90346fc3a2 10:52:51 Removing intermediate container 0b90346fc3a2 10:52:51 ---> 985920a083fd 10:52:51 [Warning] One or more build-args [ARCH] were not consumed 10:52:52 Successfully built 985920a083fd 10:52:52 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 10:52:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:52:52 10:52:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:52:53 arm64: Pulling from edgex-lftools-log-publisher 10:52:53 8998bd30e6a1: Pulling fs layer 10:52:53 04944245beec: Pulling fs layer 10:52:53 699f458cf7ca: Pulling fs layer 10:52:53 765212b225bb: Pulling fs layer 10:52:53 f23df028b6ca: Pulling fs layer 10:52:53 d65c8cfc05b1: Pulling fs layer 10:52:53 2437ff75d9bd: Pulling fs layer 10:52:53 f23df028b6ca: Waiting 10:52:53 d65c8cfc05b1: Waiting 10:52:53 2437ff75d9bd: Waiting 10:52:53 04944245beec: Verifying Checksum 10:52:53 04944245beec: Download complete 10:52:53 765212b225bb: Download complete 10:52:53 f23df028b6ca: Verifying Checksum 10:52:53 f23df028b6ca: Download complete 10:52:53 d65c8cfc05b1: Verifying Checksum 10:52:53 d65c8cfc05b1: Download complete 10:52:53 699f458cf7ca: Verifying Checksum 10:52:53 699f458cf7ca: Download complete 10:52:54 8998bd30e6a1: Verifying Checksum 10:52:54 8998bd30e6a1: Download complete 10:52:56 2437ff75d9bd: Verifying Checksum 10:53:00 8998bd30e6a1: Pull complete 10:53:00 04944245beec: Pull complete 10:53:01 699f458cf7ca: Pull complete 10:53:01 765212b225bb: Pull complete 10:53:02 f23df028b6ca: Pull complete 10:53:02 d65c8cfc05b1: Pull complete 10:53:17 2437ff75d9bd: Pull complete 10:53:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:53:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:53:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:53:17 prd-ubuntu20.04-docker-arm64-4c-16g-2913 does not seem to be running inside a container 10:53:17 $ 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 10:53:20 $ docker top c7bfd9f5ecb934322c09b0e88605b470c2697dc21ac394190643bf2278ce01ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:53:21 ---> job-cost.sh 10:53:21 lf-activate-venv: SKIPPING 10:53:21 INFO: No Stack... 10:53:21 INFO: Retrieving Pricing Info for: v3-standard-4 10:53:22 INFO: Archiving Costs [Pipeline] sh 10:53:22 + cut -d, -f6 10:53:22 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 10:53:23 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-502-1-stack-cost] 10:53:23 Resource [jenkins-edgexfoundry-app-service-configurable-PR-502-1-stack-cost] did not exist. Created. 10:53:23 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:53:23 /w/workspace/app-service-configurable/1@tmp/durable-11183f98/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:53:24 + echo total: 0.10999999940395355 [Pipeline] stash 10:53:24 Warning: overwriting stash ‘stack-cost’ 10:53:24 Stashed 1 file(s) [Pipeline] } 10:53:24 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-502-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:53:24 $ docker stop --time=1 c7bfd9f5ecb934322c09b0e88605b470c2697dc21ac394190643bf2278ce01ef 10:53:26 $ docker rm -f --volumes c7bfd9f5ecb934322c09b0e88605b470c2697dc21ac394190643bf2278ce01ef [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 10:53:27 provisioning config files... 10:53:27 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-502@tmp/config13854443024115507292tmp [Pipeline] { [Pipeline] sh 10:53:27 + set +x 10:53:27 + curl -s https://codecov.io/bash+ 10:53:27 bash -s -- 10:53:27 10:53:27 _____ _ 10:53:27 / ____| | | 10:53:27 | | ___ __| | ___ ___ _____ __ 10:53:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:53:27 | |___| (_) | (_| | __/ (_| (_) \ V / 10:53:27 \_____\___/ \__,_|\___|\___\___/ \_/ 10:53:27 Bash-1.0.6 10:53:27 10:53:27 10:53:27 ==> git version 2.25.1 found 10:53:27 ==> 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 10:53:27 Release-Date: 2020-01-08 10:53:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:53:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:53:27 ==> Jenkins CI detected. 10:53:27 current dir:  /w/workspace/_app-service-configurable_PR-502 10:53:27 project root: . 10:53:27 --> token set from env 10:53:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:53:27 ==> Running gcov in . (disable via -X gcov) 10:53:27 ==> Python coveragepy not found 10:53:27 ==> Searching for coverage reports in: 10:53:27 + . 10:53:27 -> Found 1 reports 10:53:27 ==> Detecting git/mercurial file structure 10:53:27 ==> Reading reports 10:53:27 + ./coverage.out bytes=13 10:53:27 ==> Appending adjustments 10:53:27 https://docs.codecov.io/docs/fixing-reports 10:53:27 + Found adjustments 10:53:27 ==> Gzipping contents 10:53:27 4.0K /tmp/codecov.TkyEs5.gz 10:53:27 ==> Uploading reports 10:53:27 url: https://codecov.io 10:53:27 query: branch=PR-502&commit=63086056ade3822e4e3603e1e7f0d57235314c72&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-502%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=502&job=&cmd_args= 10:53:27 -> Pinging Codecov 10:53:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-502&commit=63086056ade3822e4e3603e1e7f0d57235314c72&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-502%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=502&job=&cmd_args= 10:53:28 -> Uploading to 10:53:28 https://storage.googleapis.com/codecov/v4/raw/2023-01-18/A97CA9966030D2A3747ED39772930CCE/63086056ade3822e4e3603e1e7f0d57235314c72/37a6f0d9-2187-49d0-8a43-b4be8151b498.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230118T105327Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=125683233f4eb34d2cc815f3bbdcbb4e61abe560a55d49064c5b519f3c97b714 10:53:28 % Total % Received % Xferd Average Speed Time Time Time Current 10:53:28 Dload Upload Total Spent Left Speed 10:53:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 2260 --:--:-- --:--:-- --:--:-- 2260 10:53:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/63086056ade3822e4e3603e1e7f0d57235314c72 [Pipeline] } 10:53:28 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 10:53:30 + [ -d /w/workspace/_app-service-configurable_PR-502/archives ] 10:53:30 + ls -al /w/workspace/_app-service-configurable_PR-502/archives 10:53:30 total 16 10:53:30 drwxr-xr-x 3 root root 4096 Jan 18 10:43 . 10:53:30 drwxrwxr-x 9 jenkins jenkins 4096 Jan 18 10:43 .. 10:53:30 drwxr-xr-x 2 root root 4096 Jan 18 10:43 cost 10:53:30 -rw-r--r-- 1 root root 96 Jan 18 10:43 cost.csv 10:53:30 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-502/archives 10:53:30 + ls -al /w/workspace/_app-service-configurable_PR-502/archives 10:53:30 total 16 10:53:30 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 10:43 . 10:53:30 drwxrwxr-x 9 jenkins jenkins 4096 Jan 18 10:43 .. 10:53:30 drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 10:43 cost 10:53:30 -rw-r--r-- 1 jenkins jenkins 96 Jan 18 10:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:53:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:53:31 ---> package-listing.sh 10:53:31 ++ facter osfamily 10:53:31 ++ tr '[:upper:]' '[:lower:]' 10:53:31 + OS_FAMILY=debian 10:53:31 + workspace=/w/workspace/_app-service-configurable_PR-502 10:53:31 + START_PACKAGES=/tmp/packages_start.txt 10:53:31 + END_PACKAGES=/tmp/packages_end.txt 10:53:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:53:31 + PACKAGES=/tmp/packages_start.txt 10:53:31 + '[' /w/workspace/_app-service-configurable_PR-502 ']' 10:53:31 + PACKAGES=/tmp/packages_end.txt 10:53:31 + case "${OS_FAMILY}" in 10:53:31 + dpkg -l 10:53:31 + grep '^ii' 10:53:31 + '[' -f /tmp/packages_start.txt ']' 10:53:31 + '[' -f /tmp/packages_end.txt ']' 10:53:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:53:31 + '[' /w/workspace/_app-service-configurable_PR-502 ']' 10:53:31 + mkdir -p /w/workspace/_app-service-configurable_PR-502/archives/ 10:53:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-502/archives/ [Pipeline] echo 10:53:31 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-502/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:53:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:53:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:53:32 prd-ubuntu20.04-docker-8c-8g-2912 does not seem to be running inside a container 10:53:32 $ 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-502/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-502 -v /w/workspace/_app-service-configurable_PR-502:/w/workspace/_app-service-configurable_PR-502:rw,z -v /w/workspace/_app-service-configurable_PR-502@tmp:/w/workspace/_app-service-configurable_PR-502@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 10:53:33 $ docker top cba67ddd8ae33f8a9e28d6f55ece7e916a661197c5349a0996ab88282c5b8a17 -eo pid,comm [Pipeline] { [Pipeline] sh 10:53:33 + touch /tmp/pre-build-complete [Pipeline] sh 10:53:33 + mkdir -p /var/log/sysstat [Pipeline] sh 10:53:34 + ls /var/log/sa-host 10:53:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:53:34 provisioning config files... 10:53:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-502@tmp/config17582027191932413086tmp [Pipeline] { [Pipeline] echo 10:53:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:53:34 ---> create-netrc.sh [Pipeline] } 10:53:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:53:34 ---> python-tools-install.sh [Pipeline] echo 10:53:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:53:35 ---> sudo-logs.sh 10:53:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:53:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:53:35 ---> job-cost.sh 10:53:35 lf-activate-venv: SKIPPING 10:53:35 DEBUG: total: 0.2199999988079071 10:53:35 INFO: Retrieving Stack Cost... 10:53:36 INFO: Retrieving Pricing Info for: v3-standard-8 10:53:36 INFO: Archiving Costs [Pipeline] echo 10:53:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:53:36 ---> logs-deploy.sh 10:53:36 lf-activate-venv: SKIPPING 10:53:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-502/1 10:53:36 INFO: archiving workspace using pattern(s): 10:53:37 Archives upload complete. 10:53:38 INFO: archiving logs to Nexus