Pull request #512 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from b90b60d9039cdebbffc33f164a3d8ab495b7db8f+851ef8fe5923146d6289fc7ea8cc90540e526b47 (95edb76a4bbf8a2205e4f968c5899882554caf8c) 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-ssh8585769414706144346.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15837228418424114815.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-512/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-512/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13967806105675233108.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-512/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14555295491428699618.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13340534608083182922.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-512/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-512/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3908232760107328324.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5025 in /w/workspace/_app-service-configurable_PR-512 [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-512 # 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/512/head:refs/remotes/origin/PR-512 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 851ef8fe5923146d6289fc7ea8cc90540e526b47 into PR head commit b90b60d9039cdebbffc33f164a3d8ab495b7db8f Merge succeeded, producing b90b60d9039cdebbffc33f164a3d8ab495b7db8f Checking out Revision b90b60d9039cdebbffc33f164a3d8ab495b7db8f (PR-512) > git config core.sparsecheckout # timeout=10 > git checkout -f b90b60d9039cdebbffc33f164a3d8ab495b7db8f # 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 851ef8fe5923146d6289fc7ea8cc90540e526b47 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b90b60d9039cdebbffc33f164a3d8ab495b7db8f # timeout=10 Commit message: "refactor!: Update message bus topic wild cards" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:12:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:12:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:12:23 ========================================================= 23:12:23 EdgeX Global Pipelines Version Info 23:12:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:12:24 ------------------- 23:12:24 stable info: 23:12:24 ------------------- 23:12:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:12:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:12:24 Message: update stable to v1.0.244 23:12:25 ------------------- 23:12:25 experimental info: 23:12:25 ------------------- 23:12:25 Commited By: **** collab-it+edgex@linuxfoundation.org 23:12:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:12:25 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:12:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-512 [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-512 [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-512 [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b90b60d9039cdebbffc33f164a3d8ab495b7db8f [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b90b60d [Pipeline] echo 23:12:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:26 provisioning config files... 23:12:26 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-512@tmp/config14097794321263526108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:27 ---> docker-login.sh 23:12:27 nexus3.edgexfoundry.org:10001 23:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:27 Configure a credential helper to remove this warning. See 23:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:27 23:12:27 Login Succeeded 23:12:27 nexus3.edgexfoundry.org:10002 23:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:27 Configure a credential helper to remove this warning. See 23:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:27 23:12:27 Login Succeeded 23:12:27 nexus3.edgexfoundry.org:10003 23:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:27 Configure a credential helper to remove this warning. See 23:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:27 23:12:27 Login Succeeded 23:12:27 nexus3.edgexfoundry.org:10004 23:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:27 Configure a credential helper to remove this warning. See 23:12:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:27 23:12:27 Login Succeeded 23:12:27 docker.io 23:12:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:28 Configure a credential helper to remove this warning. See 23:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:28 23:12:28 Login Succeeded 23:12:28 ---> docker-login.sh ends [Pipeline] } 23:12:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:12:28 + git rev-list -1 --merges b90b60d9039cdebbffc33f164a3d8ab495b7db8f~1..b90b60d9039cdebbffc33f164a3d8ab495b7db8f [Pipeline] echo 23:12:28 -----------> git rev-list -1 --merges b90b60d9039cdebbffc33f164a3d8ab495b7db8f~1..b90b60d9039cdebbffc33f164a3d8ab495b7db8f b90b60d9039cdebbffc33f164a3d8ab495b7db8f [false] [Pipeline] sh 23:12:29 + git log --format=format:%s -1 b90b60d9039cdebbffc33f164a3d8ab495b7db8f [Pipeline] echo 23:12:29 ========================================================= 23:12:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:12:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:29 + git log --format=format:%s -1 b90b60d9039cdebbffc33f164a3d8ab495b7db8f [Pipeline] echo 23:12:29 [semverPrep] GIT_COMMIT: b90b60d9039cdebbffc33f164a3d8ab495b7db8f, Commit Message: refactor!: Update message bus topic wild cards [Pipeline] echo 23:12:29 [semverPrep] This is not a build commit. [Pipeline] sh 23:12:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:12:30 + grep -v github /etc/ssh/ssh_known_hosts 23:12:30 + [ -e /tmp/ssh_known_hosts ] 23:12:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:12:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:12:30 + sudo tee -a /etc/ssh/ssh_known_hosts 23:12:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:12:30 23:12:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:12:30 0.1.4: Pulling from edgex-devops/py-git-semver 23:12:30 b85a868b505f: Pulling fs layer 23:12:30 e2be974225ed: Pulling fs layer 23:12:30 339a4e72a1f5: Pulling fs layer 23:12:30 988bab9f4d93: Pulling fs layer 23:12:30 1469e6f7b9e6: Pulling fs layer 23:12:30 eaf3925da568: Pulling fs layer 23:12:30 bab4dde63d76: Pulling fs layer 23:12:30 bde34c3a00c8: Pulling fs layer 23:12:30 b352a97aabf1: Pulling fs layer 23:12:30 4872d77fe225: Pulling fs layer 23:12:30 5851b861e8e6: Pulling fs layer 23:12:30 bab4dde63d76: Waiting 23:12:30 bde34c3a00c8: Waiting 23:12:30 988bab9f4d93: Waiting 23:12:30 5851b861e8e6: Waiting 23:12:30 b352a97aabf1: Waiting 23:12:30 4872d77fe225: Waiting 23:12:30 1469e6f7b9e6: Waiting 23:12:30 eaf3925da568: Waiting 23:12:30 e2be974225ed: Verifying Checksum 23:12:30 e2be974225ed: Download complete 23:12:30 988bab9f4d93: Verifying Checksum 23:12:30 988bab9f4d93: Download complete 23:12:31 1469e6f7b9e6: Verifying Checksum 23:12:31 1469e6f7b9e6: Download complete 23:12:31 339a4e72a1f5: Verifying Checksum 23:12:31 339a4e72a1f5: Download complete 23:12:31 eaf3925da568: Verifying Checksum 23:12:31 eaf3925da568: Download complete 23:12:31 bde34c3a00c8: Download complete 23:12:31 b352a97aabf1: Download complete 23:12:31 4872d77fe225: Verifying Checksum 23:12:31 4872d77fe225: Download complete 23:12:31 5851b861e8e6: Verifying Checksum 23:12:31 5851b861e8e6: Download complete 23:12:31 b85a868b505f: Verifying Checksum 23:12:31 b85a868b505f: Download complete 23:12:31 bab4dde63d76: Verifying Checksum 23:12:31 bab4dde63d76: Download complete 23:12:32 b85a868b505f: Pull complete 23:12:32 e2be974225ed: Pull complete 23:12:33 339a4e72a1f5: Pull complete 23:12:33 988bab9f4d93: Pull complete 23:12:33 1469e6f7b9e6: Pull complete 23:12:34 eaf3925da568: Pull complete 23:12:36 bab4dde63d76: Pull complete 23:12:36 bde34c3a00c8: Pull complete 23:12:36 b352a97aabf1: Pull complete 23:12:36 4872d77fe225: Pull complete 23:12:37 5851b861e8e6: Pull complete 23:12:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:12:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:12:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:37 prd-ubuntu20.04-docker-8c-8g-5025 does not seem to be running inside a container 23:12:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-512 -v /w/workspace/_app-service-configurable_PR-512:/w/workspace/_app-service-configurable_PR-512:rw,z -v /w/workspace/_app-service-configurable_PR-512@tmp:/w/workspace/_app-service-configurable_PR-512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:12:41 $ docker top 07baefe3506a979bc13e62f72c17515c1712ed85ef1826bc806569fe473acf83 -eo pid,comm 23:12:41 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). 23:12:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:12:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:12:41 [ssh-agent] Looking for ssh-agent implementation... 23:12:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:12:41 $ docker exec 07baefe3506a979bc13e62f72c17515c1712ed85ef1826bc806569fe473acf83 ssh-agent 23:12:41 SSH_AUTH_SOCK=/tmp/ssh-pkzl5Fa6evwC/agent.32 23:12:41 SSH_AGENT_PID=38 23:12:41 Running ssh-add (command line suppressed) 23:12:42 Identity added: /w/workspace/_app-service-configurable_PR-512@tmp/private_key_2471413805519061969.key (/w/workspace/_app-service-configurable_PR-512@tmp/private_key_2471413805519061969.key) 23:12:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:12:42 + git tag --points-at HEAD [Pipeline] } 23:12:42 $ docker exec --env ******** --env ******** 07baefe3506a979bc13e62f72c17515c1712ed85ef1826bc806569fe473acf83 ssh-agent -k 23:12:42 unset SSH_AUTH_SOCK; 23:12:42 unset SSH_AGENT_PID; 23:12:42 echo Agent pid 38 killed; 23:12:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:12:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:12:42 [ssh-agent] Looking for ssh-agent implementation... 23:12:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:12:42 $ docker exec 07baefe3506a979bc13e62f72c17515c1712ed85ef1826bc806569fe473acf83 ssh-agent 23:12:42 SSH_AUTH_SOCK=/tmp/ssh-iiOjszV0Ccsh/agent.70 23:12:42 SSH_AGENT_PID=76 23:12:42 Running ssh-add (command line suppressed) 23:12:43 Identity added: /w/workspace/_app-service-configurable_PR-512@tmp/private_key_4081467634777420262.key (/w/workspace/_app-service-configurable_PR-512@tmp/private_key_4081467634777420262.key) 23:12:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:12:43 + git semver init 23:12:43 2023-02-07 23:12:43,537 [run_init] DEBUG init version:0.0.0 force:False 23:12:43 2023-02-07 23:12:43,538 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-512/.semver 23:12:43 2023-02-07 23:12:43,538 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-512/.semver 23:12:43 2023-02-07 23:12:43,538 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-512/.semver'], cwd=/w/workspace/_app-service-configurable_PR-512, universal_newlines=False, shell=None, istream=None) 23:12:44 2023-02-07 23:12:44,943 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-512/.git/info/exclude 23:12:44 2023-02-07 23:12:44,944 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-512/.semver/PR-512 with force:False 23:12:44 2023-02-07 23:12:44,944 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-512/.semver/PR-512 23:12:44 2023-02-07 23:12:44,948 [execute] INFO git cat-file --batch-check 23:12:44 2023-02-07 23:12:44,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-512/.semver, universal_newlines=False, shell=None, istream=) 23:12:44 2023-02-07 23:12:44,955 [execute] INFO git cat-file --batch 23:12:44 2023-02-07 23:12:44,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-512/.semver, universal_newlines=False, shell=None, istream=) 23:12:44 2023-02-07 23:12:44,961 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-512/.semver/PR-512 23:12:44 0.0.0 [Pipeline] } 23:12:45 $ docker exec --env ******** --env ******** 07baefe3506a979bc13e62f72c17515c1712ed85ef1826bc806569fe473acf83 ssh-agent -k 23:12:45 unset SSH_AUTH_SOCK; 23:12:45 unset SSH_AGENT_PID; 23:12:45 echo Agent pid 76 killed; 23:12:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:12:45 + git semver [Pipeline] } 23:12:45 $ docker stop --time=1 07baefe3506a979bc13e62f72c17515c1712ed85ef1826bc806569fe473acf83 23:12:48 $ docker rm -f --volumes 07baefe3506a979bc13e62f72c17515c1712ed85ef1826bc806569fe473acf83 [Pipeline] // withDockerContainer [Pipeline] sh 23:12:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:12:48 Stashed 1 file(s) [Pipeline] echo 23:12:48 [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 23:12:49 provisioning config files... 23:12:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-512@tmp/config286594697887983335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:49 ---> docker-login.sh 23:12:49 nexus3.edgexfoundry.org:10001 23:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:49 Configure a credential helper to remove this warning. See 23:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:49 23:12:49 Login Succeeded 23:12:49 nexus3.edgexfoundry.org:10002 23:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:49 Configure a credential helper to remove this warning. See 23:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:49 23:12:49 Login Succeeded 23:12:49 nexus3.edgexfoundry.org:10003 23:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:50 Configure a credential helper to remove this warning. See 23:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:50 23:12:50 Login Succeeded 23:12:50 nexus3.edgexfoundry.org:10004 23:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:50 Configure a credential helper to remove this warning. See 23:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:50 23:12:50 Login Succeeded 23:12:50 docker.io 23:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:50 Configure a credential helper to remove this warning. See 23:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:50 23:12:50 Login Succeeded 23:12:50 ---> docker-login.sh ends [Pipeline] } 23:12:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:12:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:50 ========================================================= 23:12:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:12:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5024 in /w/workspace/_app-service-configurable_PR-512 [Pipeline] { [Pipeline] ws 23:12:50 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 23:12:51 Selected Git installation does not exist. Using Default 23:12:51 The recommended git tool is: NONE 23:12:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:12:51 Sending build context to Docker daemon 3.236MB 23:12:51 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:12:51 Step 2/12 : FROM ${BASE} AS builder 23:12:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:12:51 213ec9aee27d: Pulling fs layer 23:12:51 4583459ba037: Pulling fs layer 23:12:51 93c1e223e6f2: Pulling fs layer 23:12:51 53926ce57604: Pulling fs layer 23:12:51 21b2b0c7a3f4: Pulling fs layer 23:12:51 22ff95d597cd: Pulling fs layer 23:12:51 12d6caf4c0d1: Pulling fs layer 23:12:51 96b7cbca73a9: Pulling fs layer 23:12:51 a7acece74701: Pulling fs layer 23:12:51 21b2b0c7a3f4: Waiting 23:12:51 53926ce57604: Waiting 23:12:51 22ff95d597cd: Waiting 23:12:51 12d6caf4c0d1: Waiting 23:12:51 96b7cbca73a9: Waiting 23:12:51 a7acece74701: Waiting 23:12:51 93c1e223e6f2: Verifying Checksum 23:12:51 93c1e223e6f2: Download complete 23:12:51 4583459ba037: Verifying Checksum 23:12:51 4583459ba037: Download complete 23:12:51 21b2b0c7a3f4: Verifying Checksum 23:12:51 21b2b0c7a3f4: Download complete 23:12:51 22ff95d597cd: Verifying Checksum 23:12:51 22ff95d597cd: Download complete 23:12:51 213ec9aee27d: Verifying Checksum 23:12:51 213ec9aee27d: Download complete 23:12:51 12d6caf4c0d1: Download complete 23:12:51 213ec9aee27d: Pull complete 23:12:51 4583459ba037: Pull complete 23:12:52 93c1e223e6f2: Pull complete 23:12:52 a7acece74701: Verifying Checksum 23:12:52 a7acece74701: Download complete 23:12:52 53926ce57604: Verifying Checksum 23:12:52 53926ce57604: Download complete 23:12:53 96b7cbca73a9: Verifying Checksum 23:12:53 96b7cbca73a9: Download complete 23:12:57 using credential edgex-jenkins-ssh 23:12:57 Cloning the remote Git repository 23:12:58 53926ce57604: Pull complete 23:12:58 21b2b0c7a3f4: Pull complete 23:12:58 22ff95d597cd: Pull complete 23:12:57 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 23:12:57 > git init /w/workspace/app-service-configurable/1 # timeout=10 23:12:57 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:12:57 > git --version # timeout=10 23:12:57 > git --version # 'git version 2.25.1' 23:12:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:12:58 12d6caf4c0d1: Pull complete 23:12:59 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:12:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:00 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:13:00 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:13:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/512/head:refs/remotes/origin/PR-512 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:13:01 Merging remotes/origin/main commit 851ef8fe5923146d6289fc7ea8cc90540e526b47 into PR head commit b90b60d9039cdebbffc33f164a3d8ab495b7db8f 23:13:01 Merge succeeded, producing b90b60d9039cdebbffc33f164a3d8ab495b7db8f 23:13:01 Checking out Revision b90b60d9039cdebbffc33f164a3d8ab495b7db8f (PR-512) 23:13:02 96b7cbca73a9: Pull complete 23:13:02 a7acece74701: Pull complete 23:13:02 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:13:02 ---> db6d94c90886 23:13:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:13:01 > git config core.sparsecheckout # timeout=10 23:13:01 > git checkout -f b90b60d9039cdebbffc33f164a3d8ab495b7db8f # timeout=10 23:13:01 > git remote # timeout=10 23:13:01 > git config --get remote.origin.url # timeout=10 23:13:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:01 > git merge 851ef8fe5923146d6289fc7ea8cc90540e526b47 # timeout=10 23:13:01 > git rev-parse HEAD^{commit} # timeout=10 23:13:01 > git config core.sparsecheckout # timeout=10 23:13:01 > git checkout -f b90b60d9039cdebbffc33f164a3d8ab495b7db8f # timeout=10 23:13:05 Commit message: "refactor!: Update message bus topic wild cards" 23:13:05 > git --version # timeout=10 23:13:05 > git --version # 'git version 2.25.1' 23:13:05 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:13:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:13:06 % Total % Received % Xferd Average Speed Time Time Time Current 23:13:06 Dload Upload Total Spent Left Speed 23:13:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 23:13:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:13:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:13:07 + sudo tee /etc/docker/daemon.new 23:13:07 { 23:13:07 "registry-mirrors": [ 23:13:07 "https://nexus3.edgexfoundry.org:10001" 23:13:07 ], 23:13:07 "bip": "10.250.0.254/24", 23:13:07 "hosts": [ 23:13:07 "tcp://0.0.0.0:5555", 23:13:07 "unix:///var/run/docker.sock" 23:13:07 ], 23:13:07 "mtu": 1458, 23:13:07 "selinux-enabled": true, 23:13:07 "seccomp-profile": "/etc/docker/seccomp.json" 23:13:07 } [Pipeline] sh 23:13:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:13:08 + sudo service docker restart 23:13:10 ---> Running in aeb02e176879 23:13:10 Removing intermediate container aeb02e176879 23:13:10 ---> f0ef9980f829 23:13:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:13:10 ---> Running in b78fe456a398 23:13:10 Removing intermediate container b78fe456a398 23:13:10 ---> ef3aa2f86ca1 23:13:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:13:10 ---> Running in a383d4fd5109 23:13:10 Removing intermediate container a383d4fd5109 23:13:10 ---> 3f1eaa9945ee 23:13:10 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:13:10 ---> Running in b6a9d008f00a 23:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:13:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:13:11 OK: 211 MiB in 51 packages 23:13:11 Removing intermediate container b6a9d008f00a 23:13:11 ---> 4120ae8d2ad6 23:13:11 Step 7/12 : WORKDIR /app 23:13:11 ---> Running in dfa6421aebec 23:13:11 Removing intermediate container dfa6421aebec 23:13:11 ---> 658cbc596a9a 23:13:11 Step 8/12 : COPY go.mod vendor* ./ 23:13:11 ---> 431caa94ec5c 23:13:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:13:11 ---> Running in a787c711385c [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:13:27 provisioning config files... 23:13:27 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7215901340320670146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:27 ---> docker-login.sh 23:13:27 nexus3.edgexfoundry.org:10001 23:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:28 Configure a credential helper to remove this warning. See 23:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:28 23:13:28 Login Succeeded 23:13:28 nexus3.edgexfoundry.org:10002 23:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:28 Configure a credential helper to remove this warning. See 23:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:28 23:13:28 Login Succeeded 23:13:28 nexus3.edgexfoundry.org:10003 23:13:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:28 Configure a credential helper to remove this warning. See 23:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:28 23:13:28 Login Succeeded 23:13:28 nexus3.edgexfoundry.org:10004 23:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:29 Configure a credential helper to remove this warning. See 23:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:29 23:13:29 Login Succeeded 23:13:29 docker.io 23:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:29 Configure a credential helper to remove this warning. See 23:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:29 23:13:29 Login Succeeded 23:13:29 ---> docker-login.sh ends [Pipeline] } 23:13:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:13:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:13:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:13:30 ========================================================= 23:13:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:13:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:13:31 Sending build context to Docker daemon 203.8kB 23:13:31 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:13:31 Step 2/12 : FROM ${BASE} AS builder 23:13:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:13:31 9b18e9b68314: Pulling fs layer 23:13:31 35d82f9e3411: Pulling fs layer 23:13:31 e16973657156: Pulling fs layer 23:13:31 fc693d55d65f: Pulling fs layer 23:13:31 7e9fc2657dce: Pulling fs layer 23:13:31 fc693d55d65f: Waiting 23:13:31 dda99020689f: Pulling fs layer 23:13:31 db1c61fa0a46: Pulling fs layer 23:13:31 891c053d2c06: Pulling fs layer 23:13:31 dda99020689f: Waiting 23:13:31 db1c61fa0a46: Waiting 23:13:31 7e9fc2657dce: Waiting 23:13:31 891c053d2c06: Waiting 23:13:31 e16973657156: Verifying Checksum 23:13:31 e16973657156: Download complete 23:13:31 35d82f9e3411: Download complete 23:13:31 7e9fc2657dce: Verifying Checksum 23:13:31 7e9fc2657dce: Download complete 23:13:31 dda99020689f: Download complete 23:13:31 9b18e9b68314: Download complete 23:13:32 9b18e9b68314: Pull complete 23:13:32 891c053d2c06: Verifying Checksum 23:13:32 891c053d2c06: Download complete 23:13:33 35d82f9e3411: Pull complete 23:13:33 e16973657156: Pull complete 23:13:34 db1c61fa0a46: Verifying Checksum 23:13:34 db1c61fa0a46: Download complete 23:13:34 fc693d55d65f: Verifying Checksum 23:13:34 fc693d55d65f: Download complete 23:13:47 fc693d55d65f: Pull complete 23:13:47 7e9fc2657dce: Pull complete 23:13:47 dda99020689f: Pull complete 23:13:53 db1c61fa0a46: Pull complete 23:13:55 891c053d2c06: Pull complete 23:13:55 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:13:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:13:55 ---> f96f9c87975a 23:13:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:13:57 ---> Running in a4c16386b998 23:13:58 Removing intermediate container a787c711385c 23:13:58 ---> 36d8a9058042 23:13:58 Step 10/12 : COPY . . 23:13:58 ---> ae0188dc7ece 23:13:58 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:13:58 ---> Running in b3487f941baf 23:13:58 Removing intermediate container b3487f941baf 23:13:58 ---> 9c6ccf9a43ce 23:13:58 Step 12/12 : RUN $MAKE 23:13:58 ---> Running in d5d8f1afa116 23:13:58 noop 23:13:58 Removing intermediate container d5d8f1afa116 23:13:58 ---> 3cdc168e7ea5 23:13:58 Successfully built 3cdc168e7ea5 23:13:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } 23:13:58 Removing intermediate container a4c16386b998 23:13:58 ---> 5d0709306d21 23:13:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:13:58 ---> Running in 56daa33801c6 [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:58 Removing intermediate container 56daa33801c6 23:13:58 ---> 02efd6a7d1fa 23:13:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:13:58 + docker inspect -f . ci-base-image-x86_64 23:13:58 . [Pipeline] } [Pipeline] // withEnv 23:13:58 ---> Running in c2668d3daecb [Pipeline] withDockerContainer 23:13:58 prd-ubuntu20.04-docker-8c-8g-5025 does not seem to be running inside a container 23:13:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-512 -v /w/workspace/_app-service-configurable_PR-512:/w/workspace/_app-service-configurable_PR-512:rw,z -v /w/workspace/_app-service-configurable_PR-512@tmp:/w/workspace/_app-service-configurable_PR-512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:13:59 Removing intermediate container c2668d3daecb 23:13:59 ---> 72520204ac73 23:13:59 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:13:59 ---> Running in 29154c3c5247 23:13:59 $ docker top 3ed6e89abf036c9e31c7f1eeb006f713ead521e08a17bca0b733ccd31de37d10 -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:59 + go version 23:13:59 go version go1.18.7 linux/amd64 [Pipeline] } 23:13:59 $ docker stop --time=1 3ed6e89abf036c9e31c7f1eeb006f713ead521e08a17bca0b733ccd31de37d10 23:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:14:01 $ docker rm -f --volumes 3ed6e89abf036c9e31c7f1eeb006f713ead521e08a17bca0b733ccd31de37d10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:01 + docker inspect -f . ci-base-image-x86_64 23:14:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:02 prd-ubuntu20.04-docker-8c-8g-5025 does not seem to be running inside a container 23:14: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_PR-512 -v /w/workspace/_app-service-configurable_PR-512:/w/workspace/_app-service-configurable_PR-512:rw,z -v /w/workspace/_app-service-configurable_PR-512@tmp:/w/workspace/_app-service-configurable_PR-512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:14:02 OK: 221 MiB in 51 packages 23:14:02 $ docker top 95d279a97104dfd7121e76cc30d4f0c51639b96c44497517fb637fb0420f20c3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:02 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-512 [Pipeline] fileExists [Pipeline] sh 23:14:03 + make test 23:14:03 go test -race -coverprofile=coverage.out ./... 23:14:03 Removing intermediate container 29154c3c5247 23:14:03 ---> fffeecdbf88b 23:14:03 Step 7/12 : WORKDIR /app 23:14:03 ---> Running in 6189a9ec67c2 23:14:03 Removing intermediate container 6189a9ec67c2 23:14:03 ---> e33a768b38ad 23:14:03 Step 8/12 : COPY go.mod vendor* ./ 23:14:04 ---> 6147396f7cbb 23:14:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:04 ---> Running in c32e90169d1c 23:14:21 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:14:21 go vet ./... 23:14:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:14:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:14:31 ./bin/test-attribution-txt.sh 23:14:31 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 23:14:31 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 23:14:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:14:31 $ docker stop --time=1 95d279a97104dfd7121e76cc30d4f0c51639b96c44497517fb637fb0420f20c3 23:14:39 $ docker rm -f --volumes 95d279a97104dfd7121e76cc30d4f0c51639b96c44497517fb637fb0420f20c3 [Pipeline] // withDockerContainer [Pipeline] sh 23:14:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:14:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:14:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:14:40 + ls -al . 23:14:40 total 172 23:14:40 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 23:14 . 23:14:40 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 23:12 .. 23:14:40 -rw-rw-r-- 1 jenkins jenkins 119 Feb 7 23:12 .dockerignore 23:14:40 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 23:12 .git 23:14:40 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 23:12 .github 23:14:40 -rw-rw-r-- 1 jenkins jenkins 171 Feb 7 23:12 .gitignore 23:14:40 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 23:12 .semver 23:14:40 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 7 23:12 Attribution.txt 23:14:40 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 7 23:12 CHANGELOG.md 23:14:40 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 7 23:12 Dockerfile 23:14:40 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 23:12 GOVERNANCE.md 23:14:40 -rw-rw-r-- 1 jenkins jenkins 688 Feb 7 23:12 Jenkinsfile 23:14:40 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 23:12 LICENSE 23:14:40 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 23:12 OWNERS.md 23:14:40 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 7 23:12 README.md 23:14:40 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 23:12 VERSION 23:14:40 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 23:12 bin 23:14:40 -rw-r--r-- 1 jenkins jenkins 13 Feb 7 23:14 coverage.out 23:14:40 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 7 23:12 go.mod 23:14:40 -rw-rw-r-- 1 jenkins jenkins 32404 Feb 7 23:12 go.sum 23:14:40 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 7 23:12 main.go 23:14:40 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 7 23:12 makefile 23:14:40 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 23:12 res 23:14:40 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 23:12 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:41 + 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=b90b60d9039cdebbffc33f164a3d8ab495b7db8f --label arch=amd64 --label version=0.0.0 . 23:14:41 Sending build context to Docker daemon 3.237MB 23:14:41 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:14:41 Step 2/26 : FROM ${BASE} AS builder 23:14:41 ---> 3cdc168e7ea5 23:14:41 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:14:41 ---> Running in a11bdd8fa98d 23:14:42 Removing intermediate container a11bdd8fa98d 23:14:42 ---> 5e49a0fbb72f 23:14:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:14:42 ---> Running in 25a4e7ad5633 23:14:42 Removing intermediate container 25a4e7ad5633 23:14:42 ---> 6772c0020c97 23:14:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:14:43 ---> Running in 6369c0cb00a0 23:14:44 Removing intermediate container 6369c0cb00a0 23:14:44 ---> b7486e5b3d9d 23:14:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:14:44 ---> Running in 04c7d44dee87 23:14:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:14:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:14:45 OK: 211 MiB in 51 packages 23:14:46 Removing intermediate container 04c7d44dee87 23:14:46 ---> 0685212932a7 23:14:46 Step 7/26 : WORKDIR /app 23:14:46 ---> Running in eb837d0f2e95 23:14:47 Removing intermediate container eb837d0f2e95 23:14:47 ---> b21af38d52b4 23:14:47 Step 8/26 : COPY go.mod vendor* ./ 23:14:47 ---> ed180c1cce88 23:14:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:47 ---> Running in e013ac0e7add 23:14:49 Removing intermediate container e013ac0e7add 23:14:49 ---> 58599f000a42 23:14:49 Step 10/26 : COPY . . 23:14:49 ---> c26e996c8ec6 23:14:49 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:14:49 ---> Running in 57663ce8d828 23:14:49 Removing intermediate container 57663ce8d828 23:14:49 ---> 95781c7ea960 23:14:49 Step 12/26 : RUN $MAKE 23:14:49 ---> Running in a9aaaa84de6e 23:14:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.27 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 23:15:12 Removing intermediate container a9aaaa84de6e 23:15:12 ---> 5da4d4406a23 23:15:12 Step 13/26 : FROM alpine:3.16 23:15:12 3.16: Pulling from library/alpine 23:15:12 ca7dd9ec2225: Pulling fs layer 23:15:12 ca7dd9ec2225: Verifying Checksum 23:15:12 ca7dd9ec2225: Download complete 23:15:12 ca7dd9ec2225: Pull complete 23:15:12 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:15:12 Status: Downloaded newer image for alpine:3.16 23:15:12 ---> bfe296a52501 23:15:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:15:12 ---> Running in e152278a106e 23:15:12 Removing intermediate container e152278a106e 23:15:12 ---> edb7cc77ab79 23:15:12 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:15:12 ---> Running in ee40e26b4882 23:15:12 Removing intermediate container ee40e26b4882 23:15:12 ---> 18d42d7ec957 23:15:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:15:12 ---> Running in ff482be8c065 23:15:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:15:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:15:12 (1/2) Installing ca-certificates (20220614-r0) 23:15:12 (2/2) Installing dumb-init (1.2.5-r1) 23:15:12 Executing busybox-1.35.0-r17.trigger 23:15:12 Executing ca-certificates-20220614-r0.trigger 23:15:12 OK: 6 MiB in 16 packages 23:15:12 Removing intermediate container ff482be8c065 23:15:12 ---> 05f49bcc1fda 23:15:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:15:12 ---> 2638d875a65c 23:15:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:15:12 ---> 5fcbc57a3f0b 23:15:12 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:15:12 ---> 0caa7c6ed325 23:15:12 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:15:13 ---> f7f574b19cb4 23:15:13 Step 21/26 : EXPOSE 48095 23:15:13 ---> Running in ec1625c7d9ad 23:15:13 Removing intermediate container ec1625c7d9ad 23:15:13 ---> 7822b7cf91ff 23:15:13 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:15:13 ---> Running in 8d175d3bfbb7 23:15:14 Removing intermediate container 8d175d3bfbb7 23:15:14 ---> 01542b721df3 23:15:14 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:15:14 ---> Running in 1f1b4d9832ee 23:15:14 Removing intermediate container 1f1b4d9832ee 23:15:14 ---> e0a90dda5074 23:15:14 Step 24/26 : LABEL arch=amd64 23:15:14 ---> Running in bcba877a04fe 23:15:14 Removing intermediate container bcba877a04fe 23:15:14 ---> f9056ee69d1c 23:15:14 Step 25/26 : LABEL git_sha=b90b60d9039cdebbffc33f164a3d8ab495b7db8f 23:15:14 ---> Running in 2578d7df19cf 23:15:14 Removing intermediate container 2578d7df19cf 23:15:14 ---> 341a967c683c 23:15:14 Step 26/26 : LABEL version=0.0.0 23:15:14 ---> Running in ca1568a8074e 23:15:14 Removing intermediate container ca1568a8074e 23:15:14 ---> 504c05641c1c 23:15:14 [Warning] One or more build-args [ARCH] were not consumed 23:15:14 Successfully built 504c05641c1c 23:15:14 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 23:15:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:15:15 23:15:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:15:15 latest: Pulling from edgex-lftools-log-publisher 23:15:15 5eb5b503b376: Pulling fs layer 23:15:15 5c69ac0246d0: Pulling fs layer 23:15:15 ec43610c2a17: Pulling fs layer 23:15:15 3a2ae6a8a46f: Pulling fs layer 23:15:15 33b1e0a273af: Pulling fs layer 23:15:15 5d3b04190fa2: Pulling fs layer 23:15:15 2f39f015ded8: Pulling fs layer 23:15:15 3a2ae6a8a46f: Waiting 23:15:15 33b1e0a273af: Waiting 23:15:15 5d3b04190fa2: Waiting 23:15:15 5c69ac0246d0: Verifying Checksum 23:15:15 5c69ac0246d0: Download complete 23:15:15 3a2ae6a8a46f: Verifying Checksum 23:15:15 3a2ae6a8a46f: Download complete 23:15:15 33b1e0a273af: Verifying Checksum 23:15:15 33b1e0a273af: Download complete 23:15:15 5d3b04190fa2: Verifying Checksum 23:15:15 5d3b04190fa2: Download complete 23:15:15 ec43610c2a17: Verifying Checksum 23:15:15 ec43610c2a17: Download complete 23:15:16 5eb5b503b376: Verifying Checksum 23:15:16 5eb5b503b376: Download complete 23:15:17 2f39f015ded8: Download complete 23:15:17 5eb5b503b376: Pull complete 23:15:17 5c69ac0246d0: Pull complete 23:15:17 ec43610c2a17: Pull complete 23:15:17 3a2ae6a8a46f: Pull complete 23:15:18 33b1e0a273af: Pull complete 23:15:18 5d3b04190fa2: Pull complete 23:15:22 2f39f015ded8: Pull complete 23:15:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:15:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:15:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:22 prd-ubuntu20.04-docker-8c-8g-5025 does not seem to be running inside a container 23:15:22 $ 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-512 -v /w/workspace/_app-service-configurable_PR-512:/w/workspace/_app-service-configurable_PR-512:rw,z -v /w/workspace/_app-service-configurable_PR-512@tmp:/w/workspace/_app-service-configurable_PR-512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:15:29 $ docker top b42bc059911bb0c50709cc5645356fc49d3de7632b0171dbd859c173f3f3fd87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:15:29 ---> job-cost.sh 23:15:29 lf-activate-venv: SKIPPING 23:15:29 INFO: No Stack... 23:15:29 INFO: Retrieving Pricing Info for: v3-standard-8 23:15:30 INFO: Archiving Costs [Pipeline] sh 23:15:30 + cat /w/workspace/_app-service-configurable_PR-512/archives/cost.csv 23:15:30 + cut -d, -f6 [Pipeline] lock 23:15:30 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-512-1-stack-cost] 23:15:30 Resource [jenkins-edgexfoundry-app-service-configurable-PR-512-1-stack-cost] did not exist. Created. 23:15:30 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-512-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:15:30 + echo total: 0.2199999988079071 [Pipeline] stash 23:15:30 Stashed 1 file(s) [Pipeline] } 23:15:30 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-512-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:15:31 $ docker stop --time=1 b42bc059911bb0c50709cc5645356fc49d3de7632b0171dbd859c173f3f3fd87 23:15:32 $ docker rm -f --volumes b42bc059911bb0c50709cc5645356fc49d3de7632b0171dbd859c173f3f3fd87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:15:41 Removing intermediate container c32e90169d1c 23:15:41 ---> 4bb25a63fc97 23:15:41 Step 10/12 : COPY . . 23:15:41 ---> 51100d872305 23:15:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:15:41 ---> Running in 56b2cc966e50 23:15:41 Removing intermediate container 56b2cc966e50 23:15:41 ---> a2f60b258339 23:15:41 Step 12/12 : RUN $MAKE 23:15:41 ---> Running in fcc13e8c2a90 23:15:41 noop 23:15:41 Removing intermediate container fcc13e8c2a90 23:15:41 ---> 08a718632992 23:15:41 Successfully built 08a718632992 23:15:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:41 + docker inspect -f . ci-base-image-arm64 23:15:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:42 prd-ubuntu20.04-docker-arm64-4c-16g-5024 does not seem to be running inside a container 23:15:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:15:43 $ docker top 9da748ed36fe4417b5cf316b2a4ed4a72b89d6e71d2d5d0faf5adc988799999d -eo pid,comm [Pipeline] { [Pipeline] sh 23:15:45 + go version 23:15:45 go version go1.18.7 linux/arm64 [Pipeline] } 23:15:45 $ docker stop --time=1 9da748ed36fe4417b5cf316b2a4ed4a72b89d6e71d2d5d0faf5adc988799999d 23:15:47 $ docker rm -f --volumes 9da748ed36fe4417b5cf316b2a4ed4a72b89d6e71d2d5d0faf5adc988799999d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:48 + docker inspect -f . ci-base-image-arm64 23:15:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:48 prd-ubuntu20.04-docker-arm64-4c-16g-5024 does not seem to be running inside a container 23:15:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:15:53 $ docker top 9bf35d8a620d0d37a0c88bf7d9421b24ae405dc75413a0d8b121865add3d6bc5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:15:54 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 23:15:55 + make test 23:15:55 go test -race -coverprofile=coverage.out ./... 23:18:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:18:48 go vet ./... 23:20:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:20:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:20:09 ./bin/test-attribution-txt.sh 23:20:09 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 23:20:09 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 23:20:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:20:09 $ docker stop --time=1 9bf35d8a620d0d37a0c88bf7d9421b24ae405dc75413a0d8b121865add3d6bc5 23:20:11 $ docker rm -f --volumes 9bf35d8a620d0d37a0c88bf7d9421b24ae405dc75413a0d8b121865add3d6bc5 [Pipeline] // withDockerContainer [Pipeline] sh 23:20:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:20:13 Warning: overwriting stash ‘coverage-report’ 23:20:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:20:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:20:14 + ls -al . 23:20:14 total 168 23:20:14 drwxrwxr-x 7 jenkins jenkins 4096 Feb 7 23:15 . 23:20:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 23:12 .. 23:20:14 -rw-rw-r-- 1 jenkins jenkins 119 Feb 7 23:13 .dockerignore 23:20:14 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 23:13 .git 23:20:14 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 23:13 .github 23:20:14 -rw-rw-r-- 1 jenkins jenkins 171 Feb 7 23:13 .gitignore 23:20:14 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 7 23:13 Attribution.txt 23:20:14 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 7 23:13 CHANGELOG.md 23:20:14 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 7 23:13 Dockerfile 23:20:14 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 23:13 GOVERNANCE.md 23:20:14 -rw-rw-r-- 1 jenkins jenkins 688 Feb 7 23:13 Jenkinsfile 23:20:14 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 23:13 LICENSE 23:20:14 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 23:13 OWNERS.md 23:20:14 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 7 23:13 README.md 23:20:14 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 23:12 VERSION 23:20:14 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 23:13 bin 23:20:14 -rw-r--r-- 1 jenkins jenkins 13 Feb 7 23:15 coverage.out 23:20:14 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 7 23:13 go.mod 23:20:14 -rw-rw-r-- 1 jenkins jenkins 32404 Feb 7 23:13 go.sum 23:20:14 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 7 23:13 main.go 23:20:14 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 7 23:13 makefile 23:20:14 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 23:13 res 23:20:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 23:13 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:15 + 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=b90b60d9039cdebbffc33f164a3d8ab495b7db8f --label arch=arm64 --label version=0.0.0 . 23:20:15 Sending build context to Docker daemon 204.8kB 23:20:15 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:20:15 Step 2/26 : FROM ${BASE} AS builder 23:20:15 ---> 08a718632992 23:20:15 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:20:15 ---> Running in b70ed07c3069 23:20:15 Removing intermediate container b70ed07c3069 23:20:15 ---> d678c02df695 23:20:15 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:20:15 ---> Running in 651fa362aca5 23:20:16 Removing intermediate container 651fa362aca5 23:20:16 ---> 09820818bd81 23:20:16 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:20:16 ---> Running in 9c38a6f3bb92 23:20:16 Removing intermediate container 9c38a6f3bb92 23:20:16 ---> 248e42cfae6d 23:20:16 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:16 ---> Running in d99ac35f62cd 23:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:20:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:20:19 OK: 221 MiB in 51 packages 23:20:20 Removing intermediate container d99ac35f62cd 23:20:20 ---> 73820d64a452 23:20:20 Step 7/26 : WORKDIR /app 23:20:20 ---> Running in 5be3319e4b0c 23:20:20 Removing intermediate container 5be3319e4b0c 23:20:20 ---> f63d4502bd65 23:20:20 Step 8/26 : COPY go.mod vendor* ./ 23:20:21 ---> fd411dc90557 23:20:21 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:20:21 ---> Running in 648fc5366b41 23:20:24 Removing intermediate container 648fc5366b41 23:20:24 ---> f9b63df29414 23:20:24 Step 10/26 : COPY . . 23:20:25 ---> 435e9aae814a 23:20:25 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:25 ---> Running in a84ea9d5ae65 23:20:25 Removing intermediate container a84ea9d5ae65 23:20:25 ---> 675c42ae3ed2 23:20:25 Step 12/26 : RUN $MAKE 23:20:25 ---> Running in ac527912965f 23:20:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.27 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 23:22:33 Removing intermediate container ac527912965f 23:22:33 ---> 407b33297ebc 23:22:33 Step 13/26 : FROM alpine:3.16 23:22:33 3.16: Pulling from library/alpine 23:22:33 6875df1f5354: Pulling fs layer 23:22:33 6875df1f5354: Verifying Checksum 23:22:33 6875df1f5354: Download complete 23:22:33 6875df1f5354: Pull complete 23:22:33 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:22:33 Status: Downloaded newer image for alpine:3.16 23:22:33 ---> 2b4661558fb8 23:22:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:22:33 ---> Running in 49c48beecdeb 23:22:33 Removing intermediate container 49c48beecdeb 23:22:33 ---> 4785ea415b1d 23:22:33 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:22:33 ---> Running in 099a0d4bdab4 23:22:33 Removing intermediate container 099a0d4bdab4 23:22:33 ---> 5d34cc19f4f9 23:22:33 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:22:33 ---> Running in a19b570b6424 23:22:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:22:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:22:33 (1/2) Installing ca-certificates (20220614-r0) 23:22:33 (2/2) Installing dumb-init (1.2.5-r1) 23:22:33 Executing busybox-1.35.0-r17.trigger 23:22:33 Executing ca-certificates-20220614-r0.trigger 23:22:33 OK: 6 MiB in 16 packages 23:22:34 Removing intermediate container a19b570b6424 23:22:34 ---> 95a58f0c0e68 23:22:34 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:22:34 ---> 4f3d9c77a4bd 23:22:34 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:22:35 ---> bd4fb16a7e8f 23:22:35 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:22:35 ---> 3a35c916035d 23:22:35 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:22:37 ---> c623c433f03e 23:22:37 Step 21/26 : EXPOSE 48095 23:22:37 ---> Running in a0199c215ce5 23:22:37 Removing intermediate container a0199c215ce5 23:22:37 ---> 24dfb744c0ba 23:22:37 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:22:37 ---> Running in 7ed495f99de2 23:22:38 Removing intermediate container 7ed495f99de2 23:22:38 ---> fe273e09389b 23:22:38 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:22:38 ---> Running in 36970a223cc6 23:22:38 Removing intermediate container 36970a223cc6 23:22:38 ---> 6ee4b604e768 23:22:38 Step 24/26 : LABEL arch=arm64 23:22:38 ---> Running in 4b62f52ade17 23:22:38 Removing intermediate container 4b62f52ade17 23:22:38 ---> bd25e244fee8 23:22:38 Step 25/26 : LABEL git_sha=b90b60d9039cdebbffc33f164a3d8ab495b7db8f 23:22:38 ---> Running in 64c41a7f311e 23:22:39 Removing intermediate container 64c41a7f311e 23:22:39 ---> 4511638b8341 23:22:39 Step 26/26 : LABEL version=0.0.0 23:22:39 ---> Running in 4e86d5d9ce10 23:22:39 Removing intermediate container 4e86d5d9ce10 23:22:39 ---> d7dd89531fd4 23:22:39 [Warning] One or more build-args [ARCH] were not consumed 23:22:39 Successfully built d7dd89531fd4 23:22:39 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 23:22:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:40 23:22:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:41 arm64: Pulling from edgex-lftools-log-publisher 23:22:41 8998bd30e6a1: Pulling fs layer 23:22:41 04944245beec: Pulling fs layer 23:22:41 699f458cf7ca: Pulling fs layer 23:22:41 765212b225bb: Pulling fs layer 23:22:41 f23df028b6ca: Pulling fs layer 23:22:41 d65c8cfc05b1: Pulling fs layer 23:22:41 2437ff75d9bd: Pulling fs layer 23:22:41 765212b225bb: Waiting 23:22:41 f23df028b6ca: Waiting 23:22:41 d65c8cfc05b1: Waiting 23:22:41 2437ff75d9bd: Waiting 23:22:41 04944245beec: Verifying Checksum 23:22:41 04944245beec: Download complete 23:22:41 765212b225bb: Verifying Checksum 23:22:41 765212b225bb: Download complete 23:22:41 f23df028b6ca: Verifying Checksum 23:22:41 f23df028b6ca: Download complete 23:22:41 d65c8cfc05b1: Verifying Checksum 23:22:41 d65c8cfc05b1: Download complete 23:22:41 699f458cf7ca: Verifying Checksum 23:22:41 699f458cf7ca: Download complete 23:22:41 8998bd30e6a1: Verifying Checksum 23:22:41 8998bd30e6a1: Download complete 23:22:44 2437ff75d9bd: Verifying Checksum 23:22:44 2437ff75d9bd: Download complete 23:22:46 8998bd30e6a1: Pull complete 23:22:46 04944245beec: Pull complete 23:22:47 699f458cf7ca: Pull complete 23:22:48 765212b225bb: Pull complete 23:22:48 f23df028b6ca: Pull complete 23:22:48 d65c8cfc05b1: Pull complete 23:23:03 2437ff75d9bd: Pull complete 23:23:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:23:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:23:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:04 prd-ubuntu20.04-docker-arm64-4c-16g-5024 does not seem to be running inside a container 23:23:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:23:07 $ docker top dbdee563250ebf57077898e64a4f82048a62b912225bb490aed2741504fdb6fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:07 ---> job-cost.sh 23:23:07 lf-activate-venv: SKIPPING 23:23:07 INFO: No Stack... 23:23:08 INFO: Retrieving Pricing Info for: v3-standard-4 23:23:09 INFO: Archiving Costs [Pipeline] sh 23:23:09 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 23:23:09 + cut -d, -f6 [Pipeline] lock 23:23:09 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-512-1-stack-cost] 23:23:09 Resource [jenkins-edgexfoundry-app-service-configurable-PR-512-1-stack-cost] did not exist. Created. 23:23:09 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-512-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:23:10 /w/workspace/app-service-configurable/1@tmp/durable-a79101ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:23:11 + echo total: 0.10999999940395355 [Pipeline] stash 23:23:11 Warning: overwriting stash ‘stack-cost’ 23:23:11 Stashed 1 file(s) [Pipeline] } 23:23:11 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-512-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:23:11 $ docker stop --time=1 dbdee563250ebf57077898e64a4f82048a62b912225bb490aed2741504fdb6fd 23:23:12 $ docker rm -f --volumes dbdee563250ebf57077898e64a4f82048a62b912225bb490aed2741504fdb6fd [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 23:23:13 provisioning config files... 23:23:13 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-512@tmp/config12315987899480423209tmp [Pipeline] { [Pipeline] sh 23:23:14 + set +x 23:23:14 + curl -s https://codecov.io/bash 23:23:14 + bash -s -- 23:23:14 23:23:14 _____ _ 23:23:14 / ____| | | 23:23:14 | | ___ __| | ___ ___ _____ __ 23:23:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:23:14 | |___| (_) | (_| | __/ (_| (_) \ V / 23:23:14 \_____\___/ \__,_|\___|\___\___/ \_/ 23:23:14 Bash-1.0.6 23:23:14 23:23:14 23:23:14 ==> git version 2.25.1 found 23:23:14 ==> 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 23:23:14 Release-Date: 2020-01-08 23:23:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:23:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:23:14 ==> Jenkins CI detected. 23:23:14 current dir:  /w/workspace/_app-service-configurable_PR-512 23:23:14 project root: . 23:23:14 --> token set from env 23:23:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:23:14 ==> Running gcov in . (disable via -X gcov) 23:23:14 ==> Python coveragepy not found 23:23:14 ==> Searching for coverage reports in: 23:23:14 + . 23:23:14 -> Found 1 reports 23:23:14 ==> Detecting git/mercurial file structure 23:23:14 ==> Reading reports 23:23:14 + ./coverage.out bytes=13 23:23:14 ==> Appending adjustments 23:23:14 https://docs.codecov.io/docs/fixing-reports 23:23:14 + Found adjustments 23:23:14 ==> Gzipping contents 23:23:14 4.0K /tmp/codecov.R6mGkg.gz 23:23:14 ==> Uploading reports 23:23:14 url: https://codecov.io 23:23:14 query: branch=PR-512&commit=b90b60d9039cdebbffc33f164a3d8ab495b7db8f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-512%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=512&job=&cmd_args= 23:23:14 -> Pinging Codecov 23:23:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-512&commit=b90b60d9039cdebbffc33f164a3d8ab495b7db8f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-512%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=512&job=&cmd_args= 23:23:14 -> Uploading to 23:23:14 https://storage.googleapis.com/codecov/v4/raw/2023-02-07/A97CA9966030D2A3747ED39772930CCE/b90b60d9039cdebbffc33f164a3d8ab495b7db8f/a3af0a57-e26e-4e78-8d8b-dc44ca07ff1d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T232314Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ace114e2cfbcc49c881e9455e9514445d2005073f3698f3f57fb6a4cbbea4285 23:23:14 % Total % Received % Xferd Average Speed Time Time Time Current 23:23:14 Dload Upload Total Spent Left Speed 23:23:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 1614 --:--:-- --:--:-- --:--:-- 1614 23:23:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/b90b60d9039cdebbffc33f164a3d8ab495b7db8f [Pipeline] } 23:23:15 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 23:23:17 + [ -d /w/workspace/_app-service-configurable_PR-512/archives ] 23:23:17 + ls -al /w/workspace/_app-service-configurable_PR-512/archives 23:23:17 total 16 23:23:17 drwxr-xr-x 3 root root 4096 Feb 7 23:15 . 23:23:17 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 23:15 .. 23:23:17 drwxr-xr-x 2 root root 4096 Feb 7 23:15 cost 23:23:17 -rw-r--r-- 1 root root 96 Feb 7 23:15 cost.csv 23:23:17 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-512/archives 23:23:17 + ls -al /w/workspace/_app-service-configurable_PR-512/archives 23:23:17 total 16 23:23:17 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 23:15 . 23:23:17 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 23:15 .. 23:23:17 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 23:15 cost 23:23:17 -rw-r--r-- 1 jenkins jenkins 96 Feb 7 23:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:23:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:23:18 ---> package-listing.sh 23:23:18 ++ facter osfamily 23:23:18 ++ tr '[:upper:]' '[:lower:]' 23:23:18 + OS_FAMILY=debian 23:23:18 + workspace=/w/workspace/_app-service-configurable_PR-512 23:23:18 + START_PACKAGES=/tmp/packages_start.txt 23:23:18 + END_PACKAGES=/tmp/packages_end.txt 23:23:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:23:18 + PACKAGES=/tmp/packages_start.txt 23:23:18 + '[' /w/workspace/_app-service-configurable_PR-512 ']' 23:23:18 + PACKAGES=/tmp/packages_end.txt 23:23:18 + case "${OS_FAMILY}" in 23:23:18 + dpkg -l 23:23:18 + grep '^ii' 23:23:18 + '[' -f /tmp/packages_start.txt ']' 23:23:18 + '[' -f /tmp/packages_end.txt ']' 23:23:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:23:18 + '[' /w/workspace/_app-service-configurable_PR-512 ']' 23:23:18 + mkdir -p /w/workspace/_app-service-configurable_PR-512/archives/ 23:23:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-512/archives/ [Pipeline] echo 23:23:18 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-512/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:23:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:19 prd-ubuntu20.04-docker-8c-8g-5025 does not seem to be running inside a container 23:23:19 $ 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-512/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-512 -v /w/workspace/_app-service-configurable_PR-512:/w/workspace/_app-service-configurable_PR-512:rw,z -v /w/workspace/_app-service-configurable_PR-512@tmp:/w/workspace/_app-service-configurable_PR-512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:23:20 $ docker top 7bccb663a4b9eb5d35f95e7dd54218f4f0e609a903984cb08f035b3f00ddf17c -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:20 + touch /tmp/pre-build-complete [Pipeline] sh 23:23:20 + mkdir -p /var/log/sysstat [Pipeline] sh 23:23:21 + ls /var/log/sa-host 23:23:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:21 provisioning config files... 23:23:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-512@tmp/config12998450456676552234tmp [Pipeline] { [Pipeline] echo 23:23:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:23:21 ---> create-netrc.sh [Pipeline] } 23:23:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:23:22 ---> python-tools-install.sh [Pipeline] echo 23:23:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:23:22 ---> sudo-logs.sh 23:23:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:23:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:23:22 ---> job-cost.sh 23:23:22 lf-activate-venv: SKIPPING 23:23:22 DEBUG: total: 0.2199999988079071 23:23:22 INFO: Retrieving Stack Cost... 23:23:23 INFO: Retrieving Pricing Info for: v3-standard-8 23:23:24 INFO: Archiving Costs [Pipeline] echo 23:23:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:23:24 ---> logs-deploy.sh 23:23:24 lf-activate-venv: SKIPPING 23:23:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-512/1 23:23:24 INFO: archiving workspace using pattern(s): 23:23:25 Archives upload complete. 23:23:25 INFO: archiving logs to Nexus