Pull request #549 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5+07c56ab1e9f2512326717d7500f79526db3b6e2c (7b0a5db305d4a2f9997e5ea221f4a22f5ac89f97) 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-ssh4878582723537049889.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh15829108771753740898.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-549/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-549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8994645531912918081.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-549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12183394034740893764.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh7951484183375013957.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-549/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-549/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13346335162325877773.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8993 in /w/workspace/_app-service-configurable_PR-549 [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-549 # 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/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07c56ab1e9f2512326717d7500f79526db3b6e2c into PR head commit 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 Merge succeeded, producing 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 Checking out Revision 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 (PR-549) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:11:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:11:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:11:46 ========================================================= 21:11:46 EdgeX Global Pipelines Version Info 21:11:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 # 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 07c56ab1e9f2512326717d7500f79526db3b6e2c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 # timeout=10 21:11:46 ------------------- 21:11:46 stable info: 21:11:46 ------------------- 21:11:46 Commited By: Bill Mahoney bill.mahoney@intel.com 21:11:46 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:11:46 Message: update stable to v1.0.248 21:11:47 ------------------- 21:11:47 experimental info: 21:11:47 ------------------- 21:11:47 Commited By: **** collab-it+edgex@linuxfoundation.org 21:11:47 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:11:47 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:11:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 21:11:47 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 21:11:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:11:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:11:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-549 [Pipeline] echo 21:11:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-549 [Pipeline] echo 21:11:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-549 [Pipeline] echo 21:11:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 [Pipeline] echo 21:11:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b618ed [Pipeline] echo 21:11:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:49 provisioning config files... 21:11:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-549@tmp/config16442119471123784338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:49 ---> docker-login.sh 21:11:49 nexus3.edgexfoundry.org:10001 21:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:49 Configure a credential helper to remove this warning. See 21:11:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:49 21:11:49 Login Succeeded 21:11:49 nexus3.edgexfoundry.org:10002 21:11:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:49 Configure a credential helper to remove this warning. See 21:11:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:49 21:11:49 Login Succeeded 21:11:49 nexus3.edgexfoundry.org:10003 21:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:50 Configure a credential helper to remove this warning. See 21:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:50 21:11:50 Login Succeeded 21:11:50 nexus3.edgexfoundry.org:10004 21:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:50 Configure a credential helper to remove this warning. See 21:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:50 21:11:50 Login Succeeded 21:11:50 docker.io 21:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:50 Configure a credential helper to remove this warning. See 21:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:50 21:11:50 Login Succeeded 21:11:50 ---> docker-login.sh ends [Pipeline] } 21:11:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:11:51 + git rev-list -1 --merges 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5~1..1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 [Pipeline] echo 21:11:51 -----------> git rev-list -1 --merges 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5~1..1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 [false] [Pipeline] sh 21:11:51 + git log --format=format:%s -1 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 [Pipeline] echo 21:11:51 ========================================================= 21:11:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:11:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:51 + git log --format=format:%s -1 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 [Pipeline] echo 21:11:51 [semverPrep] GIT_COMMIT: 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 21:11:52 [semverPrep] This is not a build commit. [Pipeline] sh 21:11:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:11:52 + grep -v github /etc/ssh/ssh_known_hosts 21:11:52 + [ -e /tmp/ssh_known_hosts ] 21:11:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:11:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:11:52 + sudo tee -a /etc/ssh/ssh_known_hosts 21:11:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:52 21:11:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:53 0.1.4: Pulling from edgex-devops/py-git-semver 21:11:53 b85a868b505f: Pulling fs layer 21:11:53 e2be974225ed: Pulling fs layer 21:11:53 339a4e72a1f5: Pulling fs layer 21:11:53 988bab9f4d93: Pulling fs layer 21:11:53 1469e6f7b9e6: Pulling fs layer 21:11:53 eaf3925da568: Pulling fs layer 21:11:53 bab4dde63d76: Pulling fs layer 21:11:53 bde34c3a00c8: Pulling fs layer 21:11:53 b352a97aabf1: Pulling fs layer 21:11:53 4872d77fe225: Pulling fs layer 21:11:53 5851b861e8e6: Pulling fs layer 21:11:53 bab4dde63d76: Waiting 21:11:53 5851b861e8e6: Waiting 21:11:53 eaf3925da568: Waiting 21:11:53 b352a97aabf1: Waiting 21:11:53 bde34c3a00c8: Waiting 21:11:53 988bab9f4d93: Waiting 21:11:53 1469e6f7b9e6: Waiting 21:11:53 4872d77fe225: Waiting 21:11:53 e2be974225ed: Download complete 21:11:53 988bab9f4d93: Download complete 21:11:53 1469e6f7b9e6: Verifying Checksum 21:11:53 1469e6f7b9e6: Download complete 21:11:53 339a4e72a1f5: Verifying Checksum 21:11:53 eaf3925da568: Download complete 21:11:53 bde34c3a00c8: Download complete 21:11:53 b352a97aabf1: Download complete 21:11:53 4872d77fe225: Verifying Checksum 21:11:53 4872d77fe225: Download complete 21:11:53 5851b861e8e6: Download complete 21:11:53 b85a868b505f: Verifying Checksum 21:11:53 b85a868b505f: Download complete 21:11:53 bab4dde63d76: Verifying Checksum 21:11:53 bab4dde63d76: Download complete 21:11:54 b85a868b505f: Pull complete 21:11:54 e2be974225ed: Pull complete 21:11:55 339a4e72a1f5: Pull complete 21:11:55 988bab9f4d93: Pull complete 21:11:55 1469e6f7b9e6: Pull complete 21:11:55 eaf3925da568: Pull complete 21:11:57 bab4dde63d76: Pull complete 21:11:57 bde34c3a00c8: Pull complete 21:11:57 b352a97aabf1: Pull complete 21:11:57 4872d77fe225: Pull complete 21:11:57 5851b861e8e6: Pull complete 21:11:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:11:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:57 prd-ubuntu20.04-docker-8c-8g-8993 does not seem to be running inside a container 21:11:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-549 -v /w/workspace/_app-service-configurable_PR-549:/w/workspace/_app-service-configurable_PR-549:rw,z -v /w/workspace/_app-service-configurable_PR-549@tmp:/w/workspace/_app-service-configurable_PR-549@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:11:58 $ docker top 1a0ebf434f8ea61e52b384a32e2d50ab30ecc29bac9d9c9d353947df0f6f7683 -eo pid,comm 21:11:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:11:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:11:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:11:59 [ssh-agent] Looking for ssh-agent implementation... 21:11:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:11:59 $ docker exec 1a0ebf434f8ea61e52b384a32e2d50ab30ecc29bac9d9c9d353947df0f6f7683 ssh-agent 21:11:59 SSH_AUTH_SOCK=/tmp/ssh-HjDdf0yYeheZ/agent.32 21:11:59 SSH_AGENT_PID=38 21:11:59 Running ssh-add (command line suppressed) 21:11:59 Identity added: /w/workspace/_app-service-configurable_PR-549@tmp/private_key_15106544777815328795.key (/w/workspace/_app-service-configurable_PR-549@tmp/private_key_15106544777815328795.key) 21:11:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:11:59 + git tag --points-at HEAD [Pipeline] } 21:11:59 $ docker exec --env ******** --env ******** 1a0ebf434f8ea61e52b384a32e2d50ab30ecc29bac9d9c9d353947df0f6f7683 ssh-agent -k 21:11:59 unset SSH_AUTH_SOCK; 21:11:59 unset SSH_AGENT_PID; 21:11:59 echo Agent pid 38 killed; 21:11:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:12:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:00 [ssh-agent] Looking for ssh-agent implementation... 21:12:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:00 $ docker exec 1a0ebf434f8ea61e52b384a32e2d50ab30ecc29bac9d9c9d353947df0f6f7683 ssh-agent 21:12:00 SSH_AUTH_SOCK=/tmp/ssh-V2bxkeOjKKdE/agent.70 21:12:00 SSH_AGENT_PID=76 21:12:00 Running ssh-add (command line suppressed) 21:12:00 Identity added: /w/workspace/_app-service-configurable_PR-549@tmp/private_key_1254051350086258692.key (/w/workspace/_app-service-configurable_PR-549@tmp/private_key_1254051350086258692.key) 21:12:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:00 + git semver init 21:12:00 2023-04-18 21:12:00,919 [run_init] DEBUG init version:0.0.0 force:False 21:12:00 2023-04-18 21:12:00,920 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-549/.semver 21:12:00 2023-04-18 21:12:00,920 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-549/.semver 21:12:00 2023-04-18 21:12:00,921 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-549/.semver'], cwd=/w/workspace/_app-service-configurable_PR-549, universal_newlines=False, shell=None, istream=None) 21:12:01 2023-04-18 21:12:01,692 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-549/.git/info/exclude 21:12:01 2023-04-18 21:12:01,692 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-549/.semver/PR-549 with force:False 21:12:01 2023-04-18 21:12:01,693 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-549/.semver/PR-549 21:12:01 2023-04-18 21:12:01,697 [execute] INFO git cat-file --batch-check 21:12:01 2023-04-18 21:12:01,697 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-549/.semver, universal_newlines=False, shell=None, istream=) 21:12:01 2023-04-18 21:12:01,703 [execute] INFO git cat-file --batch 21:12:01 2023-04-18 21:12:01,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-549/.semver, universal_newlines=False, shell=None, istream=) 21:12:01 2023-04-18 21:12:01,707 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-549/.semver/PR-549 21:12:01 0.0.0 [Pipeline] } 21:12:01 $ docker exec --env ******** --env ******** 1a0ebf434f8ea61e52b384a32e2d50ab30ecc29bac9d9c9d353947df0f6f7683 ssh-agent -k 21:12:02 unset SSH_AUTH_SOCK; 21:12:02 unset SSH_AGENT_PID; 21:12:02 echo Agent pid 76 killed; 21:12:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:02 + git semver [Pipeline] } 21:12:02 $ docker stop --time=1 1a0ebf434f8ea61e52b384a32e2d50ab30ecc29bac9d9c9d353947df0f6f7683 21:12:04 $ docker rm -f --volumes 1a0ebf434f8ea61e52b384a32e2d50ab30ecc29bac9d9c9d353947df0f6f7683 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:12:04 Stashed 1 file(s) [Pipeline] echo 21:12:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:05 provisioning config files... 21:12:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-549@tmp/config8118226026778757311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:05 ---> docker-login.sh 21:12:05 nexus3.edgexfoundry.org:10001 21:12:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:05 Configure a credential helper to remove this warning. See 21:12:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:05 21:12:05 Login Succeeded 21:12:05 nexus3.edgexfoundry.org:10002 21:12:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:05 Configure a credential helper to remove this warning. See 21:12:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:05 21:12:05 Login Succeeded 21:12:05 nexus3.edgexfoundry.org:10003 21:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:06 Configure a credential helper to remove this warning. See 21:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:06 21:12:06 Login Succeeded 21:12:06 nexus3.edgexfoundry.org:10004 21:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:06 Configure a credential helper to remove this warning. See 21:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:06 21:12:06 Login Succeeded 21:12:06 docker.io 21:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:06 Configure a credential helper to remove this warning. See 21:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:06 21:12:06 Login Succeeded 21:12:06 ---> docker-login.sh ends [Pipeline] } 21:12:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:06 ========================================================= 21:12:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:12:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:12:07 Sending build context to Docker daemon 3.288MB 21:12:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:12:07 Step 2/12 : FROM ${BASE} AS builder 21:12:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:12:07 63b65145d645: Pulling fs layer 21:12:07 a2d21d5440eb: Pulling fs layer 21:12:07 935e6c44a52c: Pulling fs layer 21:12:07 94cc34f8dd06: Pulling fs layer 21:12:07 30dea6a524f1: Pulling fs layer 21:12:07 a2aff8979fd8: Pulling fs layer 21:12:07 6808be2612f2: Pulling fs layer 21:12:07 f25807f1079a: Pulling fs layer 21:12:07 a2aff8979fd8: Waiting 21:12:07 6808be2612f2: Waiting 21:12:07 f25807f1079a: Waiting 21:12:07 94cc34f8dd06: Waiting 21:12:07 30dea6a524f1: Waiting 21:12:07 a2d21d5440eb: Verifying Checksum 21:12:07 a2d21d5440eb: Download complete 21:12:07 94cc34f8dd06: Verifying Checksum 21:12:07 94cc34f8dd06: Download complete 21:12:07 30dea6a524f1: Verifying Checksum 21:12:07 30dea6a524f1: Download complete 21:12:07 63b65145d645: Download complete 21:12:07 a2aff8979fd8: Verifying Checksum 21:12:07 a2aff8979fd8: Download complete 21:12:07 63b65145d645: Pull complete 21:12:07 a2d21d5440eb: Pull complete 21:12:07 f25807f1079a: Verifying Checksum 21:12:07 f25807f1079a: Download complete 21:12:07 935e6c44a52c: Verifying Checksum 21:12:07 935e6c44a52c: Download complete 21:12:08 6808be2612f2: Verifying Checksum 21:12:08 6808be2612f2: Download complete 21:12:11 935e6c44a52c: Pull complete 21:12:11 94cc34f8dd06: Pull complete 21:12:11 30dea6a524f1: Pull complete 21:12:11 a2aff8979fd8: Pull complete 21:12:13 6808be2612f2: Pull complete 21:12:14 f25807f1079a: Pull complete 21:12:14 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:12:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:12:14 ---> 3b553350e43f 21:12:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:12:15 ---> Running in 57357f7a5366 21:12:15 Removing intermediate container 57357f7a5366 21:12:15 ---> 02060fa032ee 21:12:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:12:15 ---> Running in 211202dc93d7 21:12:15 Removing intermediate container 211202dc93d7 21:12:15 ---> 828fd0b572be 21:12:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:12:15 ---> Running in 1ceb401267cb 21:12:15 Removing intermediate container 1ceb401267cb 21:12:15 ---> ed11c938ac37 21:12:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:15 ---> Running in 79ff60f70173 21:12:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:12:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:12:16 OK: 265 MiB in 53 packages 21:12:16 Removing intermediate container 79ff60f70173 21:12:16 ---> 4f914f144937 21:12:16 Step 7/12 : WORKDIR /app 21:12:16 ---> Running in b2422b7956b9 21:12:17 Removing intermediate container b2422b7956b9 21:12:17 ---> f904551b093b 21:12:17 Step 8/12 : COPY go.mod vendor* ./ 21:12:17 ---> 43363de01842 21:12:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:17 ---> Running in b0887bbaa95b 21:12:20 Still waiting to schedule task 21:12:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8994’ is offline 21:12:38 Removing intermediate container b0887bbaa95b 21:12:38 ---> 189674c0ced0 21:12:38 Step 10/12 : COPY . . 21:12:38 ---> 01ef2749a8dc 21:12:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:38 ---> Running in 1ba99407a87b 21:12:38 Removing intermediate container 1ba99407a87b 21:12:38 ---> 6119c90ac7ab 21:12:38 Step 12/12 : RUN $MAKE 21:12:38 ---> Running in 605bc023f5bf 21:12:38 noop 21:12:38 Removing intermediate container 605bc023f5bf 21:12:38 ---> 0e39e820306c 21:12:38 Successfully built 0e39e820306c 21:12:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:39 + docker inspect -f . ci-base-image-x86_64 21:12:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:39 prd-ubuntu20.04-docker-8c-8g-8993 does not seem to be running inside a container 21:12:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-549 -v /w/workspace/_app-service-configurable_PR-549:/w/workspace/_app-service-configurable_PR-549:rw,z -v /w/workspace/_app-service-configurable_PR-549@tmp:/w/workspace/_app-service-configurable_PR-549@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 ******** ci-base-image-x86_64 cat 21:12:40 $ docker top 86074391d0555b2434f83ddc4641b0d55934fb6815a9d7594b9dfc088dc735b3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:40 + go version 21:12:40 go version go1.20.2 linux/amd64 [Pipeline] } 21:12:40 $ docker stop --time=1 86074391d0555b2434f83ddc4641b0d55934fb6815a9d7594b9dfc088dc735b3 21:12:41 $ docker rm -f --volumes 86074391d0555b2434f83ddc4641b0d55934fb6815a9d7594b9dfc088dc735b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:42 + docker inspect -f . ci-base-image-x86_64 21:12:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:42 prd-ubuntu20.04-docker-8c-8g-8993 does not seem to be running inside a container 21:12:42 $ 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-549 -v /w/workspace/_app-service-configurable_PR-549:/w/workspace/_app-service-configurable_PR-549:rw,z -v /w/workspace/_app-service-configurable_PR-549@tmp:/w/workspace/_app-service-configurable_PR-549@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 ******** ci-base-image-x86_64 cat 21:12:43 $ docker top c0a31181a508fbbbd36b8f12167b5742fa24f34b71a8a3df316694491693e311 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:43 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-549 [Pipeline] fileExists [Pipeline] sh 21:12:43 + make test 21:12:43 go test -race -coverprofile=coverage.out ./... 21:13:05 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:13:23 go vet ./... 21:13:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:26 ./bin/test-attribution-txt.sh 21:13:26 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 21:13:26 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 21:13:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:26 $ docker stop --time=1 c0a31181a508fbbbd36b8f12167b5742fa24f34b71a8a3df316694491693e311 21:13:28 $ docker rm -f --volumes c0a31181a508fbbbd36b8f12167b5742fa24f34b71a8a3df316694491693e311 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:13:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:30 + ls -al . 21:13:30 total 176 21:13:30 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:12 . 21:13:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:11 .. 21:13:30 -rw-rw-r-- 1 jenkins jenkins 119 Apr 18 21:11 .dockerignore 21:13:30 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:12 .git 21:13:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:11 .github 21:13:30 -rw-rw-r-- 1 jenkins jenkins 171 Apr 18 21:11 .gitignore 21:13:30 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:11 .golangci.yml 21:13:30 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:12 .semver 21:13:30 -rw-rw-r-- 1 jenkins jenkins 9088 Apr 18 21:11 Attribution.txt 21:13:30 -rw-rw-r-- 1 jenkins jenkins 29118 Apr 18 21:11 CHANGELOG.md 21:13:30 -rw-rw-r-- 1 jenkins jenkins 1898 Apr 18 21:11 Dockerfile 21:13:30 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:11 GOVERNANCE.md 21:13:30 -rw-rw-r-- 1 jenkins jenkins 688 Apr 18 21:11 Jenkinsfile 21:13:30 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 18 21:11 LICENSE 21:13:30 -rw-rw-r-- 1 jenkins jenkins 618 Apr 18 21:11 OWNERS.md 21:13:30 -rw-rw-r-- 1 jenkins jenkins 4369 Apr 18 21:11 README.md 21:13:30 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 21:12 VERSION 21:13:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:11 bin 21:13:30 -rw-r--r-- 1 jenkins jenkins 13 Apr 18 21:12 coverage.out 21:13:30 -rw-rw-r-- 1 jenkins jenkins 3302 Apr 18 21:11 go.mod 21:13:30 -rw-rw-r-- 1 jenkins jenkins 31536 Apr 18 21:11 go.sum 21:13:30 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 18 21:11 main.go 21:13:30 -rw-rw-r-- 1 jenkins jenkins 2569 Apr 18 21:11 makefile 21:13:30 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 21:11 res 21:13:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:11 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:30 + 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=1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 --label arch=amd64 --label version=0.0.0 . 21:13:30 Sending build context to Docker daemon 3.289MB 21:13:30 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:13:30 Step 2/26 : FROM ${BASE} AS builder 21:13:30 ---> 0e39e820306c 21:13:30 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:13:30 ---> Running in 3b2b769751e0 21:13:30 Removing intermediate container 3b2b769751e0 21:13:30 ---> 345c377a6a12 21:13:30 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:13:30 ---> Running in 8619aaa1d151 21:13:30 Removing intermediate container 8619aaa1d151 21:13:30 ---> 02165ff788a9 21:13:30 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:13:30 ---> Running in aaa39b330ace 21:13:30 Removing intermediate container aaa39b330ace 21:13:30 ---> f78ecf6f69a7 21:13:30 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:30 ---> Running in fc89fce3b6cb 21:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:13:31 OK: 265 MiB in 53 packages 21:13:31 Removing intermediate container fc89fce3b6cb 21:13:31 ---> a3c11939c84a 21:13:31 Step 7/26 : WORKDIR /app 21:13:31 ---> Running in fcdd8acb3f69 21:13:32 Removing intermediate container fcdd8acb3f69 21:13:32 ---> ce84b5244dd4 21:13:32 Step 8/26 : COPY go.mod vendor* ./ 21:13:32 ---> f0665bc3fb6b 21:13:32 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:32 ---> Running in 84981d2549d8 21:13:33 Removing intermediate container 84981d2549d8 21:13:33 ---> 341fad9453e6 21:13:33 Step 10/26 : COPY . . 21:13:33 ---> 5d45e200bc19 21:13:33 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:33 ---> Running in 4e9cc27ed3c9 21:13:33 Removing intermediate container 4e9cc27ed3c9 21:13:33 ---> 919aa1ec9b35 21:13:33 Step 12/26 : RUN $MAKE 21:13:33 ---> Running in a62109ba89fa 21:13:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.51 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 21:13:51 Removing intermediate container a62109ba89fa 21:13:51 ---> 92c8439cada3 21:13:51 Step 13/26 : FROM alpine:3.17 21:13:51 3.17: Pulling from library/alpine 21:13:51 f56be85fc22e: Pulling fs layer 21:13:51 f56be85fc22e: Verifying Checksum 21:13:51 f56be85fc22e: Download complete 21:13:51 f56be85fc22e: Pull complete 21:13:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:13:51 Status: Downloaded newer image for alpine:3.17 21:13:51 ---> 9ed4aefc74f6 21:13:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:13:51 ---> Running in 5af1cb5fabce 21:13:51 Removing intermediate container 5af1cb5fabce 21:13:51 ---> 29158c61c7e0 21:13:51 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 21:13:51 ---> Running in 64eaf2cec04e 21:13:51 Removing intermediate container 64eaf2cec04e 21:13:51 ---> f0c0f183c27f 21:13:51 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:13:51 ---> Running in be3141d17c21 21:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:13:51 (1/2) Installing ca-certificates (20220614-r4) 21:13:51 (2/2) Installing dumb-init (1.2.5-r2) 21:13:51 Executing busybox-1.35.0-r29.trigger 21:13:51 Executing ca-certificates-20220614-r4.trigger 21:13:51 OK: 8 MiB in 17 packages 21:13:52 Removing intermediate container be3141d17c21 21:13:52 ---> c670e708c916 21:13:52 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:13:52 ---> 43279030103e 21:13:52 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:13:52 ---> 3e24e43ead25 21:13:52 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:13:52 ---> 36e16d8ed66a 21:13:52 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 21:13:53 ---> fb521594c9e1 21:13:53 Step 21/26 : EXPOSE 48095 21:13:53 ---> Running in 505a4b4ddfbc 21:13:53 Removing intermediate container 505a4b4ddfbc 21:13:53 ---> 8324ed740bfc 21:13:53 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 21:13:53 ---> Running in d06694bf8aef 21:13:53 Removing intermediate container d06694bf8aef 21:13:53 ---> c9ed148430b1 21:13:53 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:13:53 ---> Running in 5921ef6754ce 21:13:53 Removing intermediate container 5921ef6754ce 21:13:53 ---> ba9860110369 21:13:53 Step 24/26 : LABEL arch=amd64 21:13:53 ---> Running in 7eb018ddd462 21:13:53 Removing intermediate container 7eb018ddd462 21:13:53 ---> 8f9654cb3331 21:13:53 Step 25/26 : LABEL git_sha=1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 21:13:53 ---> Running in efe1bdf1c9f6 21:13:53 Removing intermediate container efe1bdf1c9f6 21:13:53 ---> 7158f3089b26 21:13:53 Step 26/26 : LABEL version=0.0.0 21:13:53 ---> Running in b9a220ccb23d 21:13:53 Removing intermediate container b9a220ccb23d 21:13:53 ---> 1f943b1e21ba 21:13:53 [Warning] One or more build-args [ARCH] were not consumed 21:13:53 Successfully built 1f943b1e21ba 21:13:53 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:54 21:13:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:55 latest: Pulling from edgex-lftools-log-publisher 21:13:55 5eb5b503b376: Pulling fs layer 21:13:55 5c69ac0246d0: Pulling fs layer 21:13:55 ec43610c2a17: Pulling fs layer 21:13:55 3a2ae6a8a46f: Pulling fs layer 21:13:55 33b1e0a273af: Pulling fs layer 21:13:55 5d3b04190fa2: Pulling fs layer 21:13:55 2f39f015ded8: Pulling fs layer 21:13:55 33b1e0a273af: Waiting 21:13:55 5d3b04190fa2: Waiting 21:13:55 2f39f015ded8: Waiting 21:13:55 3a2ae6a8a46f: Waiting 21:13:55 5c69ac0246d0: Verifying Checksum 21:13:55 5c69ac0246d0: Download complete 21:13:55 3a2ae6a8a46f: Download complete 21:13:55 33b1e0a273af: Verifying Checksum 21:13:55 33b1e0a273af: Download complete 21:13:55 ec43610c2a17: Verifying Checksum 21:13:55 ec43610c2a17: Download complete 21:13:55 5d3b04190fa2: Verifying Checksum 21:13:55 5d3b04190fa2: Download complete 21:13:55 5eb5b503b376: Verifying Checksum 21:13:55 5eb5b503b376: Download complete 21:13:55 2f39f015ded8: Download complete 21:13:56 5eb5b503b376: Pull complete 21:13:56 5c69ac0246d0: Pull complete 21:13:57 ec43610c2a17: Pull complete 21:13:57 3a2ae6a8a46f: Pull complete 21:13:57 33b1e0a273af: Pull complete 21:13:57 5d3b04190fa2: Pull complete 21:14:01 2f39f015ded8: Pull complete 21:14:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:14:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:01 prd-ubuntu20.04-docker-8c-8g-8993 does not seem to be running inside a container 21:14:01 $ 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-549 -v /w/workspace/_app-service-configurable_PR-549:/w/workspace/_app-service-configurable_PR-549:rw,z -v /w/workspace/_app-service-configurable_PR-549@tmp:/w/workspace/_app-service-configurable_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:14:02 $ docker top 02153287baea24727125511557339f88c92aba20c0bcd03e99b70e7242f76b2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:03 ---> job-cost.sh 21:14:03 lf-activate-venv: SKIPPING 21:14:03 INFO: No Stack... 21:14:03 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:03 INFO: Archiving Costs [Pipeline] sh 21:14:04 + cat /w/workspace/_app-service-configurable_PR-549/archives/cost.csv 21:14:04 + cut -d, -f6 [Pipeline] lock 21:14:04 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-549-1-stack-cost] 21:14:04 Resource [jenkins-edgexfoundry-app-service-configurable-PR-549-1-stack-cost] did not exist. Created. 21:14:04 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-549-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:04 + echo total: 0.2199999988079071 [Pipeline] stash 21:14:04 Stashed 1 file(s) [Pipeline] } 21:14:04 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-549-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:04 $ docker stop --time=1 02153287baea24727125511557339f88c92aba20c0bcd03e99b70e7242f76b2a 21:14:05 $ docker rm -f --volumes 02153287baea24727125511557339f88c92aba20c0bcd03e99b70e7242f76b2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:14:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8996 in /w/workspace/_app-service-configurable_PR-549 [Pipeline] { [Pipeline] ws 21:14:42 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 21:14:42 Selected Git installation does not exist. Using Default 21:14:42 The recommended git tool is: NONE 21:14:49 using credential edgex-jenkins-ssh 21:14:49 Cloning the remote Git repository 21:14:49 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 21:14:49 > git init /w/workspace/app-service-configurable/1 # timeout=10 21:14:49 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:14:49 > git --version # timeout=10 21:14:49 > git --version # 'git version 2.25.1' 21:14:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:14:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:14:50 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:14:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:14:52 Merging remotes/origin/main commit 07c56ab1e9f2512326717d7500f79526db3b6e2c into PR head commit 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 21:14:52 Merge succeeded, producing 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 21:14:52 Checking out Revision 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 (PR-549) 21:14:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 21:14:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 21:14:52 using GIT_SSH to set credentials SSH Credentials for GitHub 21:14:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:14:52 > git config core.sparsecheckout # timeout=10 21:14:52 > git checkout -f 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 # timeout=10 21:14:52 > git remote # timeout=10 21:14:52 > git config --get remote.origin.url # timeout=10 21:14:52 using GIT_SSH to set credentials SSH Credentials for GitHub 21:14:52 > git merge 07c56ab1e9f2512326717d7500f79526db3b6e2c # timeout=10 21:14:52 > git rev-parse HEAD^{commit} # timeout=10 21:14:52 > git config core.sparsecheckout # timeout=10 21:14:53 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 21:14:53 > git --version # timeout=10 21:14:53 > git --version # 'git version 2.25.1' 21:14:53 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:14:53 > git checkout -f 1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 # timeout=10 21:14:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:14:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:54 Dload Upload Total Spent Left Speed 21:14:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 21:14:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:14:55 + sudo tee /etc/docker/daemon.new 21:14:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:14:55 { 21:14:55 "registry-mirrors": [ 21:14:55 "https://nexus3.edgexfoundry.org:10001" 21:14:55 ], 21:14:55 "bip": "10.250.0.254/24", 21:14:55 "hosts": [ 21:14:55 "tcp://0.0.0.0:5555", 21:14:55 "unix:///var/run/docker.sock" 21:14:55 ], 21:14:55 "mtu": 1458, 21:14:55 "selinux-enabled": true, 21:14:55 "seccomp-profile": "/etc/docker/seccomp.json" 21:14:55 } [Pipeline] sh 21:14:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:14:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:14 provisioning config files... 21:15:14 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7805406724172131304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:15 ---> docker-login.sh 21:15:15 nexus3.edgexfoundry.org:10001 21:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:16 Configure a credential helper to remove this warning. See 21:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:16 21:15:16 Login Succeeded 21:15:16 nexus3.edgexfoundry.org:10002 21:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:16 Configure a credential helper to remove this warning. See 21:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:16 21:15:16 Login Succeeded 21:15:16 nexus3.edgexfoundry.org:10003 21:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:16 Configure a credential helper to remove this warning. See 21:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:16 21:15:16 Login Succeeded 21:15:16 nexus3.edgexfoundry.org:10004 21:15:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:17 Configure a credential helper to remove this warning. See 21:15:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:17 21:15:17 Login Succeeded 21:15:17 docker.io 21:15:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:18 Configure a credential helper to remove this warning. See 21:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:18 21:15:18 Login Succeeded 21:15:18 ---> docker-login.sh ends [Pipeline] } 21:15:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:15:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:18 ========================================================= 21:15:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:15:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:15:19 Sending build context to Docker daemon 169kB 21:15:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:15:19 Step 2/12 : FROM ${BASE} AS builder 21:15:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:15:19 af6eaf76a39c: Pulling fs layer 21:15:19 55522c791124: Pulling fs layer 21:15:19 ce5c4a1c91eb: Pulling fs layer 21:15:19 169dfbe0d373: Pulling fs layer 21:15:19 e1ff8fa3b103: Pulling fs layer 21:15:19 52ebb69f0ebf: Pulling fs layer 21:15:19 5abe8eddf0d5: Pulling fs layer 21:15:19 e1ff8fa3b103: Waiting 21:15:19 169dfbe0d373: Waiting 21:15:19 5abe8eddf0d5: Waiting 21:15:19 55522c791124: Verifying Checksum 21:15:19 55522c791124: Download complete 21:15:19 169dfbe0d373: Verifying Checksum 21:15:19 169dfbe0d373: Download complete 21:15:19 e1ff8fa3b103: Verifying Checksum 21:15:19 e1ff8fa3b103: Download complete 21:15:19 af6eaf76a39c: Verifying Checksum 21:15:19 af6eaf76a39c: Download complete 21:15:20 af6eaf76a39c: Pull complete 21:15:20 5abe8eddf0d5: Verifying Checksum 21:15:20 5abe8eddf0d5: Download complete 21:15:21 55522c791124: Pull complete 21:15:22 ce5c4a1c91eb: Verifying Checksum 21:15:22 ce5c4a1c91eb: Download complete 21:15:22 52ebb69f0ebf: Verifying Checksum 21:15:22 52ebb69f0ebf: Download complete 21:15:32 ce5c4a1c91eb: Pull complete 21:15:32 169dfbe0d373: Pull complete 21:15:33 e1ff8fa3b103: Pull complete 21:15:39 52ebb69f0ebf: Pull complete 21:15:40 5abe8eddf0d5: Pull complete 21:15:40 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:15:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:15:40 ---> 6cb57ee374ae 21:15:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:15:42 ---> Running in 21bd509a6125 21:15:42 Removing intermediate container 21bd509a6125 21:15:42 ---> a0562c693674 21:15:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:15:43 ---> Running in b07d28305c82 21:15:43 Removing intermediate container b07d28305c82 21:15:43 ---> 09dd21376d7a 21:15:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:15:43 ---> Running in b0ecb0e56483 21:15:44 Removing intermediate container b0ecb0e56483 21:15:44 ---> 2388407e7337 21:15:44 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:15:44 ---> Running in 98881068ad9d 21:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:15:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:15:47 OK: 263 MiB in 53 packages 21:15:47 Removing intermediate container 98881068ad9d 21:15:47 ---> 735e5298f0a1 21:15:47 Step 7/12 : WORKDIR /app 21:15:47 ---> Running in 069efb6afa8a 21:15:48 Removing intermediate container 069efb6afa8a 21:15:48 ---> 888281eb7eb6 21:15:48 Step 8/12 : COPY go.mod vendor* ./ 21:15:48 ---> 2ffbceb110dd 21:15:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:15:48 ---> Running in f204862a35e5 21:16:56 Removing intermediate container f204862a35e5 21:16:56 ---> a68c2d0b30e1 21:16:56 Step 10/12 : COPY . . 21:16:56 ---> aa0eb9016917 21:16:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:56 ---> Running in fee6123a0559 21:16:56 Removing intermediate container fee6123a0559 21:16:56 ---> c49cf4c0dff6 21:16:56 Step 12/12 : RUN $MAKE 21:16:56 ---> Running in 605ee9a4468f 21:16:56 noop 21:16:56 Removing intermediate container 605ee9a4468f 21:16:56 ---> 688ab97be94e 21:16:56 Successfully built 688ab97be94e 21:16:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:57 + docker inspect -f . ci-base-image-arm64 21:16:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:57 prd-ubuntu20.04-docker-arm64-4c-16g-8996 does not seem to be running inside a container 21:16:57 $ 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 ******** ci-base-image-arm64 cat 21:16:58 $ docker top a069f628ec462794a459276017d0affb5db8d1365c85f7f73a578de9492bd5aa -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:59 + go version 21:16:59 go version go1.20.2 linux/arm64 [Pipeline] } 21:16:59 $ docker stop --time=1 a069f628ec462794a459276017d0affb5db8d1365c85f7f73a578de9492bd5aa 21:17:01 $ docker rm -f --volumes a069f628ec462794a459276017d0affb5db8d1365c85f7f73a578de9492bd5aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:02 + docker inspect -f . ci-base-image-arm64 21:17:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:02 prd-ubuntu20.04-docker-arm64-4c-16g-8996 does not seem to be running inside a container 21:17:02 $ 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 ******** ci-base-image-arm64 cat 21:17:04 $ docker top a81905fdc9e4b4705efb92297b79ea80980c7b6a40ce5e5d03e11ba5d04c3673 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:04 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 21:17:05 + make test 21:17:05 go test -race -coverprofile=coverage.out ./... 21:20:12 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:20:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:20:12 go vet ./... 21:22:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:22:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:22:34 ./bin/test-attribution-txt.sh 21:22:34 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 21:22:34 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 21:22:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:22:34 $ docker stop --time=1 a81905fdc9e4b4705efb92297b79ea80980c7b6a40ce5e5d03e11ba5d04c3673 21:22:37 $ docker rm -f --volumes a81905fdc9e4b4705efb92297b79ea80980c7b6a40ce5e5d03e11ba5d04c3673 [Pipeline] // withDockerContainer [Pipeline] sh 21:22:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:22:39 Warning: overwriting stash ‘coverage-report’ 21:22:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:22:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:22:41 + ls -al . 21:22:41 total 172 21:22:41 drwxrwxr-x 7 jenkins jenkins 4096 Apr 18 21:17 . 21:22:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:14 .. 21:22:41 -rw-rw-r-- 1 jenkins jenkins 119 Apr 18 21:14 .dockerignore 21:22:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 21:14 .git 21:22:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 21:14 .github 21:22:41 -rw-rw-r-- 1 jenkins jenkins 171 Apr 18 21:14 .gitignore 21:22:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 21:14 .golangci.yml 21:22:41 -rw-rw-r-- 1 jenkins jenkins 9088 Apr 18 21:14 Attribution.txt 21:22:41 -rw-rw-r-- 1 jenkins jenkins 29118 Apr 18 21:14 CHANGELOG.md 21:22:41 -rw-rw-r-- 1 jenkins jenkins 1898 Apr 18 21:14 Dockerfile 21:22:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 21:14 GOVERNANCE.md 21:22:41 -rw-rw-r-- 1 jenkins jenkins 688 Apr 18 21:14 Jenkinsfile 21:22:41 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 18 21:14 LICENSE 21:22:41 -rw-rw-r-- 1 jenkins jenkins 618 Apr 18 21:14 OWNERS.md 21:22:41 -rw-rw-r-- 1 jenkins jenkins 4369 Apr 18 21:14 README.md 21:22:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 21:12 VERSION 21:22:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 21:14 bin 21:22:41 -rw-r--r-- 1 jenkins jenkins 13 Apr 18 21:17 coverage.out 21:22:41 -rw-rw-r-- 1 jenkins jenkins 3302 Apr 18 21:14 go.mod 21:22:41 -rw-rw-r-- 1 jenkins jenkins 31536 Apr 18 21:14 go.sum 21:22:41 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 18 21:14 main.go 21:22:41 -rw-rw-r-- 1 jenkins jenkins 2569 Apr 18 21:14 makefile 21:22:41 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 21:14 res 21:22:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 21:14 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:41 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 --label arch=arm64 --label version=0.0.0 . 21:22:41 Sending build context to Docker daemon 170kB 21:22:41 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:22:41 Step 2/26 : FROM ${BASE} AS builder 21:22:41 ---> 688ab97be94e 21:22:41 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:22:41 ---> Running in b69a7bbb674b 21:22:42 Removing intermediate container b69a7bbb674b 21:22:42 ---> 16c0a0098529 21:22:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:22:42 ---> Running in 58cd5314fa7a 21:22:42 Removing intermediate container 58cd5314fa7a 21:22:42 ---> cd7fa790fc00 21:22:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:22:42 ---> Running in ea69089c5771 21:22:42 Removing intermediate container ea69089c5771 21:22:42 ---> 6d6e945f3fa2 21:22:42 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:22:43 ---> Running in 49a83e576ecd 21:22:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:22:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:22:46 OK: 263 MiB in 53 packages 21:22:46 Removing intermediate container 49a83e576ecd 21:22:46 ---> fba0e55fbfb8 21:22:46 Step 7/26 : WORKDIR /app 21:22:46 ---> Running in f20f0b2069bc 21:22:46 Removing intermediate container f20f0b2069bc 21:22:46 ---> e15d6f2537e4 21:22:46 Step 8/26 : COPY go.mod vendor* ./ 21:22:47 ---> 75a22cb414d4 21:22:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:47 ---> Running in 004a3752c974 21:22:53 Removing intermediate container 004a3752c974 21:22:53 ---> 0bf363e9e605 21:22:53 Step 10/26 : COPY . . 21:22:53 ---> 9646f5d7ad7e 21:22:53 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:22:53 ---> Running in 90c48250aa1a 21:22:53 Removing intermediate container 90c48250aa1a 21:22:53 ---> 8c4ef54fb268 21:22:53 Step 12/26 : RUN $MAKE 21:22:53 ---> Running in ded701dd55fc 21:22:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.51 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 21:25:16 Removing intermediate container ded701dd55fc 21:25:16 ---> 518a3e2d6cec 21:25:16 Step 13/26 : FROM alpine:3.17 21:25:16 3.17: Pulling from library/alpine 21:25:16 c41833b44d91: Pulling fs layer 21:25:16 c41833b44d91: Download complete 21:25:16 c41833b44d91: Pull complete 21:25:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:25:16 Status: Downloaded newer image for alpine:3.17 21:25:16 ---> 51e60588ff2c 21:25:16 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:25:16 ---> Running in 8c7a529a0215 21:25:16 Removing intermediate container 8c7a529a0215 21:25:16 ---> 213cd2923623 21:25:16 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 21:25:16 ---> Running in 55ca9c620fac 21:25:16 Removing intermediate container 55ca9c620fac 21:25:16 ---> 1e5022f1b582 21:25:16 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:25:16 ---> Running in 8367ed18c917 21:25:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:25:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:25:16 (1/2) Installing ca-certificates (20220614-r4) 21:25:16 (2/2) Installing dumb-init (1.2.5-r2) 21:25:16 Executing busybox-1.35.0-r29.trigger 21:25:16 Executing ca-certificates-20220614-r4.trigger 21:25:16 OK: 8 MiB in 17 packages 21:25:16 Removing intermediate container 8367ed18c917 21:25:16 ---> fb0a342bb5dc 21:25:16 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:25:16 ---> 2dd954ef15ad 21:25:16 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:25:16 ---> 47a2d6cb079d 21:25:16 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:25:16 ---> ddb79f98b8d3 21:25:16 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 21:25:16 ---> 0f076257e00c 21:25:16 Step 21/26 : EXPOSE 48095 21:25:16 ---> Running in 9b22c1472bd2 21:25:16 Removing intermediate container 9b22c1472bd2 21:25:16 ---> 82655a8d9d01 21:25:16 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 21:25:16 ---> Running in 5f797b52089c 21:25:16 Removing intermediate container 5f797b52089c 21:25:16 ---> 781541f2a387 21:25:16 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:25:16 ---> Running in a6ec1174ce8a 21:25:16 Removing intermediate container a6ec1174ce8a 21:25:16 ---> 150206882212 21:25:16 Step 24/26 : LABEL arch=arm64 21:25:16 ---> Running in 18aca2c017f8 21:25:16 Removing intermediate container 18aca2c017f8 21:25:16 ---> 8570fdd66df7 21:25:16 Step 25/26 : LABEL git_sha=1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 21:25:16 ---> Running in c62669e3fdda 21:25:16 Removing intermediate container c62669e3fdda 21:25:16 ---> 7eda8d57177f 21:25:16 Step 26/26 : LABEL version=0.0.0 21:25:16 ---> Running in a3ddea0a7dfe 21:25:17 Removing intermediate container a3ddea0a7dfe 21:25:17 ---> 12246aa8cf72 21:25:17 [Warning] One or more build-args [ARCH] were not consumed 21:25:17 Successfully built 12246aa8cf72 21:25:17 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:25:17 21:25:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:25:18 arm64: Pulling from edgex-lftools-log-publisher 21:25:18 8998bd30e6a1: Pulling fs layer 21:25:18 04944245beec: Pulling fs layer 21:25:18 699f458cf7ca: Pulling fs layer 21:25:18 765212b225bb: Pulling fs layer 21:25:18 f23df028b6ca: Pulling fs layer 21:25:18 d65c8cfc05b1: Pulling fs layer 21:25:18 2437ff75d9bd: Pulling fs layer 21:25:18 f23df028b6ca: Waiting 21:25:18 d65c8cfc05b1: Waiting 21:25:18 2437ff75d9bd: Waiting 21:25:18 765212b225bb: Waiting 21:25:18 04944245beec: Verifying Checksum 21:25:18 04944245beec: Download complete 21:25:18 765212b225bb: Verifying Checksum 21:25:18 765212b225bb: Download complete 21:25:18 f23df028b6ca: Verifying Checksum 21:25:18 f23df028b6ca: Download complete 21:25:18 d65c8cfc05b1: Verifying Checksum 21:25:18 d65c8cfc05b1: Download complete 21:25:18 699f458cf7ca: Verifying Checksum 21:25:18 699f458cf7ca: Download complete 21:25:19 8998bd30e6a1: Verifying Checksum 21:25:19 8998bd30e6a1: Download complete 21:25:21 2437ff75d9bd: Verifying Checksum 21:25:21 2437ff75d9bd: Download complete 21:25:23 8998bd30e6a1: Pull complete 21:25:23 04944245beec: Pull complete 21:25:24 699f458cf7ca: Pull complete 21:25:25 765212b225bb: Pull complete 21:25:25 f23df028b6ca: Pull complete 21:25:25 d65c8cfc05b1: Pull complete 21:25:40 2437ff75d9bd: Pull complete 21:25:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:25:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:25:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:41 prd-ubuntu20.04-docker-arm64-4c-16g-8996 does not seem to be running inside a container 21:25:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:25:43 $ docker top 057a1479c0748c5d2c0f0583e8484021fc628fb1003565bef4e66c1dd22d65e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:44 ---> job-cost.sh 21:25:44 lf-activate-venv: SKIPPING 21:25:44 INFO: No Stack... 21:25:44 INFO: Retrieving Pricing Info for: v3-standard-4 21:25:45 INFO: Archiving Costs [Pipeline] sh 21:25:46 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 21:25:46 + cut -d, -f6 [Pipeline] lock 21:25:46 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-549-1-stack-cost] 21:25:46 Resource [jenkins-edgexfoundry-app-service-configurable-PR-549-1-stack-cost] did not exist. Created. 21:25:46 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-549-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:25:47 /w/workspace/app-service-configurable/1@tmp/durable-199f4709/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:25:47 + echo total: 0.10999999940395355 [Pipeline] stash 21:25:47 Warning: overwriting stash ‘stack-cost’ 21:25:47 Stashed 1 file(s) [Pipeline] } 21:25:47 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-549-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:25:47 $ docker stop --time=1 057a1479c0748c5d2c0f0583e8484021fc628fb1003565bef4e66c1dd22d65e2 21:25:49 $ docker rm -f --volumes 057a1479c0748c5d2c0f0583e8484021fc628fb1003565bef4e66c1dd22d65e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:25:50 provisioning config files... 21:25:50 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-549@tmp/config11772854720378503148tmp [Pipeline] { [Pipeline] sh 21:25:50 + set +x 21:25:50 + + bash -s -- 21:25:50 curl -s https://codecov.io/bash 21:25:50 21:25:50 _____ _ 21:25:50 / ____| | | 21:25:50 | | ___ __| | ___ ___ _____ __ 21:25:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:25:50 | |___| (_) | (_| | __/ (_| (_) \ V / 21:25:50 \_____\___/ \__,_|\___|\___\___/ \_/ 21:25:50 Bash-1.0.6 21:25:50 21:25:50 21:25:50 ==> git version 2.25.1 found 21:25:50 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:25:50 Release-Date: 2020-01-08 21:25:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:25:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:25:50 ==> Jenkins CI detected. 21:25:50 current dir:  /w/workspace/_app-service-configurable_PR-549 21:25:50 project root: . 21:25:50 --> token set from env 21:25:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:25:50 ==> Running gcov in . (disable via -X gcov) 21:25:50 ==> Python coveragepy not found 21:25:50 ==> Searching for coverage reports in: 21:25:50 + . 21:25:50 -> Found 1 reports 21:25:50 ==> Detecting git/mercurial file structure 21:25:50 ==> Reading reports 21:25:50 + ./coverage.out bytes=13 21:25:50 ==> Appending adjustments 21:25:50 https://docs.codecov.io/docs/fixing-reports 21:25:50 + Found adjustments 21:25:50 ==> Gzipping contents 21:25:50 4.0K /tmp/codecov.kZTQTk.gz 21:25:50 ==> Uploading reports 21:25:50 url: https://codecov.io 21:25:50 query: branch=PR-549&commit=1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-549%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=549&job=&cmd_args= 21:25:50 -> Pinging Codecov 21:25:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-549&commit=1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-549%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=549&job=&cmd_args= 21:25:50 -> Uploading to 21:25:50 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/A97CA9966030D2A3747ED39772930CCE/1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5/6ff1a9ce-a4d2-4144-b12f-6aaa159f4687.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T212550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db55fcbde12c2f9fe6ee83e15742efdfacc3fa4c4b57771b88dd626434b41868 21:25:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:25:50 Dload Upload Total Spent Left Speed 21:25:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2092 --:--:-- --:--:-- --:--:-- 2092 21:25:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/1b618edd38e7fc7fa5b19f9a94ce0e7df93315e5 [Pipeline] } 21:25:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:25:52 + [ -d /w/workspace/_app-service-configurable_PR-549/archives ] 21:25:52 + ls -al /w/workspace/_app-service-configurable_PR-549/archives 21:25:52 total 16 21:25:52 drwxr-xr-x 3 root root 4096 Apr 18 21:14 . 21:25:52 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 21:14 .. 21:25:52 drwxr-xr-x 2 root root 4096 Apr 18 21:14 cost 21:25:52 -rw-r--r-- 1 root root 96 Apr 18 21:14 cost.csv 21:25:52 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-549/archives 21:25:52 + ls -al /w/workspace/_app-service-configurable_PR-549/archives 21:25:52 total 16 21:25:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 21:14 . 21:25:52 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 21:14 .. 21:25:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 21:14 cost 21:25:52 -rw-r--r-- 1 jenkins jenkins 96 Apr 18 21:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:25:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:25:53 ---> package-listing.sh 21:25:53 ++ facter osfamily 21:25:53 ++ tr '[:upper:]' '[:lower:]' 21:25:54 + OS_FAMILY=debian 21:25:54 + workspace=/w/workspace/_app-service-configurable_PR-549 21:25:54 + START_PACKAGES=/tmp/packages_start.txt 21:25:54 + END_PACKAGES=/tmp/packages_end.txt 21:25:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:25:54 + PACKAGES=/tmp/packages_start.txt 21:25:54 + '[' /w/workspace/_app-service-configurable_PR-549 ']' 21:25:54 + PACKAGES=/tmp/packages_end.txt 21:25:54 + case "${OS_FAMILY}" in 21:25:54 + dpkg -l 21:25:54 + grep '^ii' 21:25:54 + '[' -f /tmp/packages_start.txt ']' 21:25:54 + '[' -f /tmp/packages_end.txt ']' 21:25:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:25:54 + '[' /w/workspace/_app-service-configurable_PR-549 ']' 21:25:54 + mkdir -p /w/workspace/_app-service-configurable_PR-549/archives/ 21:25:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-549/archives/ [Pipeline] echo 21:25:54 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-549/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:25:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:55 prd-ubuntu20.04-docker-8c-8g-8993 does not seem to be running inside a container 21:25:55 $ 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-549/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-549 -v /w/workspace/_app-service-configurable_PR-549:/w/workspace/_app-service-configurable_PR-549:rw,z -v /w/workspace/_app-service-configurable_PR-549@tmp:/w/workspace/_app-service-configurable_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:25:55 $ docker top 81c87bdd17a29c77e9c8eac24d793dae5ddc767f6c539e2d9ad7aea390797a85 -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:55 + touch /tmp/pre-build-complete [Pipeline] sh 21:25:55 + mkdir -p /var/log/sysstat [Pipeline] sh 21:25:56 + ls /var/log/sa-host 21:25:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:56 provisioning config files... 21:25:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-549@tmp/config1496865046646359059tmp [Pipeline] { [Pipeline] echo 21:25:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:25:56 ---> create-netrc.sh [Pipeline] } 21:25:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:25:57 ---> python-tools-install.sh [Pipeline] echo 21:25:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:25:57 ---> sudo-logs.sh 21:25:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:25:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:25:57 ---> job-cost.sh 21:25:57 lf-activate-venv: SKIPPING 21:25:57 DEBUG: total: 0.2199999988079071 21:25:57 INFO: Retrieving Stack Cost... 21:25:58 INFO: Retrieving Pricing Info for: v3-standard-8 21:25:58 INFO: Archiving Costs [Pipeline] echo 21:25:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:25:59 ---> logs-deploy.sh 21:25:59 lf-activate-venv: SKIPPING 21:25:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-549/1 21:25:59 INFO: archiving workspace using pattern(s): 21:26:00 Archives upload complete. 21:26:00 INFO: archiving logs to Nexus