Pull request #599 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 ernestojeda for edgexfoundry/app-service-configurable Obtained Jenkinsfile from f1d380f375b477c8bbf415d18cc168c061acd04c+692be8c2dc29c96a9fcede9d9f789984c5ef0b8f (7bc41dd76ea86645ece75f316d881be087dc69b3) 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-ssh2045125755254497658.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh608280492365373695.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-599/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-599/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17040759032059604647.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-599/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5097522664721168792.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh10493679898666376601.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-599/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-599/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5399389276193491886.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6728’ Running on prd-ubuntu20.04-docker-8c-8g-6731 in /w/workspace/_app-service-configurable_PR-599 [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-599 # 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 Merging remotes/origin/main commit 692be8c2dc29c96a9fcede9d9f789984c5ef0b8f into PR head commit f1d380f375b477c8bbf415d18cc168c061acd04c > 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/599/head:refs/remotes/origin/PR-599 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1d380f375b477c8bbf415d18cc168c061acd04c # timeout=10 Merge succeeded, producing 63209db4e87638a7a21ecd6dc38db7cc29e58e41 Checking out Revision 63209db4e87638a7a21ecd6dc38db7cc29e58e41 (PR-599) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 692be8c2dc29c96a9fcede9d9f789984c5ef0b8f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63209db4e87638a7a21ecd6dc38db7cc29e58e41 # timeout=10 Commit message: "Merge commit '692be8c2dc29c96a9fcede9d9f789984c5ef0b8f' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:21:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:21:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:21:42 ========================================================= 17:21:42 EdgeX Global Pipelines Version Info 17:21:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:21:42 ------------------- 17:21:42 stable info: 17:21:42 ------------------- 17:21:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:21:42 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:21:42 Message: update stable to v1.0.254 17:21:43 ------------------- 17:21:43 experimental info: 17:21:43 ------------------- 17:21:43 Commited By: **** collab-it+edgex@linuxfoundation.org 17:21:43 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:21:43 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:21:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 17:21:43 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 17:21:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:21:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:21:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:21:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:21:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:21:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:21:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-599 [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-599 [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-599 [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63209db4e87638a7a21ecd6dc38db7cc29e58e41 [Pipeline] echo 17:21:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63209db [Pipeline] echo 17:21:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:21:45 provisioning config files... 17:21:45 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-599@tmp/config12103914121857004962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:45 ---> docker-login.sh 17:21:45 nexus3.edgexfoundry.org:10001 17:21:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:46 Configure a credential helper to remove this warning. See 17:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:46 17:21:46 Login Succeeded 17:21:46 nexus3.edgexfoundry.org:10002 17:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:46 Configure a credential helper to remove this warning. See 17:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:46 17:21:46 Login Succeeded 17:21:46 nexus3.edgexfoundry.org:10003 17:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:46 Configure a credential helper to remove this warning. See 17:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:46 17:21:46 Login Succeeded 17:21:46 nexus3.edgexfoundry.org:10004 17:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:46 Configure a credential helper to remove this warning. See 17:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:46 17:21:46 Login Succeeded 17:21:46 docker.io 17:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:46 Configure a credential helper to remove this warning. See 17:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:46 17:21:46 Login Succeeded 17:21:46 ---> docker-login.sh ends [Pipeline] } 17:21:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:21:47 + git rev-list -1 --merges 63209db4e87638a7a21ecd6dc38db7cc29e58e41~1..63209db4e87638a7a21ecd6dc38db7cc29e58e41 [Pipeline] echo 17:21:47 -----------> git rev-list -1 --merges 63209db4e87638a7a21ecd6dc38db7cc29e58e41~1..63209db4e87638a7a21ecd6dc38db7cc29e58e41 63209db4e87638a7a21ecd6dc38db7cc29e58e41 17:21:47 63209db4e87638a7a21ecd6dc38db7cc29e58e41 [false] [Pipeline] sh 17:21:47 + git log --format=format:%s -1 63209db4e87638a7a21ecd6dc38db7cc29e58e41 [Pipeline] echo 17:21:47 ========================================================= 17:21:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:21:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:48 + git log --format=format:%s -1 63209db4e87638a7a21ecd6dc38db7cc29e58e41 [Pipeline] echo 17:21:48 [semverPrep] GIT_COMMIT: 63209db4e87638a7a21ecd6dc38db7cc29e58e41, Commit Message: Merge commit '692be8c2dc29c96a9fcede9d9f789984c5ef0b8f' into HEAD [Pipeline] echo 17:21:48 [semverPrep] This is not a build commit. [Pipeline] sh 17:21:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:21:48 + grep -v github /etc/ssh/ssh_known_hosts 17:21:48 + [ -e /tmp/ssh_known_hosts ] 17:21:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:21:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:21:48 + sudo tee -a /etc/ssh/ssh_known_hosts 17:21:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:49 17:21:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:49 0.1.4: Pulling from edgex-devops/py-git-semver 17:21:49 b85a868b505f: Pulling fs layer 17:21:49 e2be974225ed: Pulling fs layer 17:21:49 339a4e72a1f5: Pulling fs layer 17:21:49 988bab9f4d93: Pulling fs layer 17:21:49 1469e6f7b9e6: Pulling fs layer 17:21:49 eaf3925da568: Pulling fs layer 17:21:49 bab4dde63d76: Pulling fs layer 17:21:49 bde34c3a00c8: Pulling fs layer 17:21:49 b352a97aabf1: Pulling fs layer 17:21:49 4872d77fe225: Pulling fs layer 17:21:49 5851b861e8e6: Pulling fs layer 17:21:49 eaf3925da568: Waiting 17:21:49 bde34c3a00c8: Waiting 17:21:49 bab4dde63d76: Waiting 17:21:49 4872d77fe225: Waiting 17:21:49 b352a97aabf1: Waiting 17:21:49 1469e6f7b9e6: Waiting 17:21:49 988bab9f4d93: Waiting 17:21:49 5851b861e8e6: Waiting 17:21:49 e2be974225ed: Verifying Checksum 17:21:49 e2be974225ed: Download complete 17:21:49 988bab9f4d93: Download complete 17:21:49 1469e6f7b9e6: Verifying Checksum 17:21:49 1469e6f7b9e6: Download complete 17:21:49 339a4e72a1f5: Verifying Checksum 17:21:49 339a4e72a1f5: Download complete 17:21:49 eaf3925da568: Verifying Checksum 17:21:49 eaf3925da568: Download complete 17:21:49 bde34c3a00c8: Verifying Checksum 17:21:49 bde34c3a00c8: Download complete 17:21:49 b352a97aabf1: Verifying Checksum 17:21:49 b352a97aabf1: Download complete 17:21:49 4872d77fe225: Verifying Checksum 17:21:49 4872d77fe225: Download complete 17:21:49 5851b861e8e6: Verifying Checksum 17:21:49 5851b861e8e6: Download complete 17:21:49 b85a868b505f: Verifying Checksum 17:21:49 b85a868b505f: Download complete 17:21:50 bab4dde63d76: Verifying Checksum 17:21:50 bab4dde63d76: Download complete 17:21:51 b85a868b505f: Pull complete 17:21:51 e2be974225ed: Pull complete 17:21:51 339a4e72a1f5: Pull complete 17:21:51 988bab9f4d93: Pull complete 17:21:52 1469e6f7b9e6: Pull complete 17:21:52 eaf3925da568: Pull complete 17:21:54 bab4dde63d76: Pull complete 17:21:54 bde34c3a00c8: Pull complete 17:21:54 b352a97aabf1: Pull complete 17:21:54 4872d77fe225: Pull complete 17:21:54 5851b861e8e6: Pull complete 17:21:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:21:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:21:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:54 prd-ubuntu20.04-docker-8c-8g-6731 does not seem to be running inside a container 17:21:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-599 -v /w/workspace/_app-service-configurable_PR-599:/w/workspace/_app-service-configurable_PR-599:rw,z -v /w/workspace/_app-service-configurable_PR-599@tmp:/w/workspace/_app-service-configurable_PR-599@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:21:56 $ docker top 6e51394677ba5213b7df4405e60b0a60d482c8abc560fd5eda1d25e858de2134 -eo pid,comm 17:21:56 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). 17:21:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:21:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:21:56 [ssh-agent] Looking for ssh-agent implementation... 17:21:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:21:56 $ docker exec 6e51394677ba5213b7df4405e60b0a60d482c8abc560fd5eda1d25e858de2134 ssh-agent 17:21:56 SSH_AUTH_SOCK=/tmp/ssh-ONGK14XtEgPH/agent.33 17:21:56 SSH_AGENT_PID=39 17:21:56 Running ssh-add (command line suppressed) 17:21:56 Identity added: /w/workspace/_app-service-configurable_PR-599@tmp/private_key_9924123981612231905.key (/w/workspace/_app-service-configurable_PR-599@tmp/private_key_9924123981612231905.key) 17:21:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:21:56 + git tag --points-at HEAD [Pipeline] } 17:21:56 $ docker exec --env ******** --env ******** 6e51394677ba5213b7df4405e60b0a60d482c8abc560fd5eda1d25e858de2134 ssh-agent -k 17:21:57 unset SSH_AUTH_SOCK; 17:21:57 unset SSH_AGENT_PID; 17:21:57 echo Agent pid 39 killed; 17:21:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:21:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:21:57 [ssh-agent] Looking for ssh-agent implementation... 17:21:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:21:57 $ docker exec 6e51394677ba5213b7df4405e60b0a60d482c8abc560fd5eda1d25e858de2134 ssh-agent 17:21:57 SSH_AUTH_SOCK=/tmp/ssh-OuI4SrV8lTkc/agent.71 17:21:57 SSH_AGENT_PID=77 17:21:57 Running ssh-add (command line suppressed) 17:21:57 Identity added: /w/workspace/_app-service-configurable_PR-599@tmp/private_key_10696658111404082882.key (/w/workspace/_app-service-configurable_PR-599@tmp/private_key_10696658111404082882.key) 17:21:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:21:57 + git semver init 17:21:58 2023-09-20 17:21:58,074 [run_init] DEBUG init version:0.0.0 force:False 17:21:58 2023-09-20 17:21:58,075 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-599/.semver 17:21:58 2023-09-20 17:21:58,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-599/.semver 17:21:58 2023-09-20 17:21:58,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-599/.semver'], cwd=/w/workspace/_app-service-configurable_PR-599, universal_newlines=False, shell=None, istream=None) 17:21:59 2023-09-20 17:21:58,812 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-599/.git/info/exclude 17:21:59 2023-09-20 17:21:58,813 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-599/.semver/PR-599 with force:False 17:21:59 2023-09-20 17:21:58,813 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-599/.semver/PR-599 17:21:59 2023-09-20 17:21:58,817 [execute] INFO git cat-file --batch-check 17:21:59 2023-09-20 17:21:58,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-599/.semver, universal_newlines=False, shell=None, istream=) 17:21:59 2023-09-20 17:21:58,823 [execute] INFO git cat-file --batch 17:21:59 2023-09-20 17:21:58,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-599/.semver, universal_newlines=False, shell=None, istream=) 17:21:59 2023-09-20 17:21:58,829 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-599/.semver/PR-599 17:21:59 0.0.0 [Pipeline] } 17:21:59 $ docker exec --env ******** --env ******** 6e51394677ba5213b7df4405e60b0a60d482c8abc560fd5eda1d25e858de2134 ssh-agent -k 17:21:59 unset SSH_AUTH_SOCK; 17:21:59 unset SSH_AGENT_PID; 17:21:59 echo Agent pid 77 killed; 17:21:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:21:59 + git semver [Pipeline] } 17:21:59 $ docker stop --time=1 6e51394677ba5213b7df4405e60b0a60d482c8abc560fd5eda1d25e858de2134 17:22:01 $ docker rm -f --volumes 6e51394677ba5213b7df4405e60b0a60d482c8abc560fd5eda1d25e858de2134 [Pipeline] // withDockerContainer [Pipeline] sh 17:22:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:22:01 Stashed 1 file(s) [Pipeline] echo 17:22:02 [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 17:22:02 provisioning config files... 17:22:02 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-599@tmp/config5858377507215811219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:03 ---> docker-login.sh 17:22:03 nexus3.edgexfoundry.org:10001 17:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:03 Configure a credential helper to remove this warning. See 17:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:03 17:22:03 Login Succeeded 17:22:03 nexus3.edgexfoundry.org:10002 17:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:03 Configure a credential helper to remove this warning. See 17:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:03 17:22:03 Login Succeeded 17:22:03 nexus3.edgexfoundry.org:10003 17:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:03 Configure a credential helper to remove this warning. See 17:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:03 17:22:03 Login Succeeded 17:22:03 nexus3.edgexfoundry.org:10004 17:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:03 Configure a credential helper to remove this warning. See 17:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:03 17:22:03 Login Succeeded 17:22:03 docker.io 17:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:03 Configure a credential helper to remove this warning. See 17:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:03 17:22:03 Login Succeeded 17:22:03 ---> docker-login.sh ends [Pipeline] } 17:22:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:04 ========================================================= 17:22:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:22:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:22:04 Sending build context to Docker daemon 3.357MB 17:22:04 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:22:04 Step 2/12 : FROM ${BASE} AS builder 17:22:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:22:04 7264a8db6415: Pulling fs layer 17:22:04 c4d48a809fc2: Pulling fs layer 17:22:04 4f1c88b9dad5: Pulling fs layer 17:22:04 ad3a456e5733: Pulling fs layer 17:22:04 33e27b845d1e: Pulling fs layer 17:22:04 c68163c4e522: Pulling fs layer 17:22:04 50da416c3ac9: Pulling fs layer 17:22:04 23d2d4c4bb30: Pulling fs layer 17:22:04 ad3a456e5733: Waiting 17:22:04 33e27b845d1e: Waiting 17:22:04 c68163c4e522: Waiting 17:22:04 c4d48a809fc2: Verifying Checksum 17:22:04 c4d48a809fc2: Download complete 17:22:04 ad3a456e5733: Download complete 17:22:04 33e27b845d1e: Verifying Checksum 17:22:04 33e27b845d1e: Download complete 17:22:04 7264a8db6415: Verifying Checksum 17:22:04 7264a8db6415: Download complete 17:22:04 c68163c4e522: Download complete 17:22:04 7264a8db6415: Pull complete 17:22:04 23d2d4c4bb30: Verifying Checksum 17:22:04 23d2d4c4bb30: Download complete 17:22:04 c4d48a809fc2: Pull complete 17:22:05 4f1c88b9dad5: Verifying Checksum 17:22:05 4f1c88b9dad5: Download complete 17:22:05 50da416c3ac9: Verifying Checksum 17:22:05 50da416c3ac9: Download complete 17:22:08 4f1c88b9dad5: Pull complete 17:22:08 ad3a456e5733: Pull complete 17:22:08 33e27b845d1e: Pull complete 17:22:08 c68163c4e522: Pull complete 17:22:11 50da416c3ac9: Pull complete 17:22:11 23d2d4c4bb30: Pull complete 17:22:11 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 17:22:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:22:11 ---> 0786185ac409 17:22:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:22:13 ---> Running in 6e859dce250f 17:22:13 Removing intermediate container 6e859dce250f 17:22:13 ---> 3ad31294fadf 17:22:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:22:13 ---> Running in a369f5278bcd 17:22:13 Removing intermediate container a369f5278bcd 17:22:13 ---> 7760fa281a0c 17:22:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:22:13 ---> Running in 7616d6ffd7b5 17:22:13 Removing intermediate container 7616d6ffd7b5 17:22:13 ---> edb2a6d40f81 17:22:13 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:13 ---> Running in d000e5af95b2 17:22:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:22:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:22:14 OK: 264 MiB in 52 packages 17:22:14 Removing intermediate container d000e5af95b2 17:22:14 ---> 4905b7c4c5ef 17:22:14 Step 7/12 : WORKDIR /app 17:22:14 ---> Running in 9a25caf1142d 17:22:14 Removing intermediate container 9a25caf1142d 17:22:14 ---> bf5c1fd7cf83 17:22:14 Step 8/12 : COPY go.mod vendor* ./ 17:22:15 ---> 9f104b3f3a0b 17:22:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:15 ---> Running in 89eb272cf3d5 17:22:17 Still waiting to schedule task 17:22:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6729’ 17:22:41 Removing intermediate container 89eb272cf3d5 17:22:41 ---> eca4dc4b2fc7 17:22:41 Step 10/12 : COPY . . 17:22:41 ---> 0bddfecf2588 17:22:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:41 ---> Running in b20a7f6e42ac 17:22:41 Removing intermediate container b20a7f6e42ac 17:22:41 ---> c56a022ab9dd 17:22:41 Step 12/12 : RUN $MAKE 17:22:41 ---> Running in 544e51d798d4 17:22:41 noop 17:22:41 Removing intermediate container 544e51d798d4 17:22:41 ---> c713f3790249 17:22:41 Successfully built c713f3790249 17:22:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:42 + docker inspect -f . ci-base-image-x86_64 17:22:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:42 prd-ubuntu20.04-docker-8c-8g-6731 does not seem to be running inside a container 17:22:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-599 -v /w/workspace/_app-service-configurable_PR-599:/w/workspace/_app-service-configurable_PR-599:rw,z -v /w/workspace/_app-service-configurable_PR-599@tmp:/w/workspace/_app-service-configurable_PR-599@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:22:42 $ docker top 4db27c368eac1cfee5443121187e938bd0ee9f0fe540a9086a46a80fd1e4bd74 -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:43 + go version 17:22:43 go version go1.21.0 linux/amd64 [Pipeline] } 17:22:43 $ docker stop --time=1 4db27c368eac1cfee5443121187e938bd0ee9f0fe540a9086a46a80fd1e4bd74 17:22:44 $ docker rm -f --volumes 4db27c368eac1cfee5443121187e938bd0ee9f0fe540a9086a46a80fd1e4bd74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:45 + docker inspect -f . ci-base-image-x86_64 17:22:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:45 prd-ubuntu20.04-docker-8c-8g-6731 does not seem to be running inside a container 17:22:45 $ 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-599 -v /w/workspace/_app-service-configurable_PR-599:/w/workspace/_app-service-configurable_PR-599:rw,z -v /w/workspace/_app-service-configurable_PR-599@tmp:/w/workspace/_app-service-configurable_PR-599@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:22:45 $ docker top c17f28d3fc320e27d21769377d8f987db2bd2344f005e7aa0de7469a6bf3383b -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:45 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-599 [Pipeline] fileExists [Pipeline] sh 17:22:46 + make test 17:22:46 go test -race -coverprofile=coverage.out ./... 17:23:08 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:23:23 go vet ./... 17:23:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:23:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:23:26 ./bin/test-attribution-txt.sh [Pipeline] echo 17:23:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:23:26 $ docker stop --time=1 c17f28d3fc320e27d21769377d8f987db2bd2344f005e7aa0de7469a6bf3383b 17:23:29 $ docker rm -f --volumes c17f28d3fc320e27d21769377d8f987db2bd2344f005e7aa0de7469a6bf3383b [Pipeline] // withDockerContainer [Pipeline] sh 17:23:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:23:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:23:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:23:31 + ls -al . 17:23:31 total 184 17:23:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:22 . 17:23:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:21 .. 17:23:31 -rw-rw-r-- 1 jenkins jenkins 119 Sep 20 17:21 .dockerignore 17:23:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:23 .git 17:23:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:21 .github 17:23:31 -rw-rw-r-- 1 jenkins jenkins 171 Sep 20 17:21 .gitignore 17:23:31 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:21 .golangci.yml 17:23:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:21 .semver 17:23:31 -rw-rw-r-- 1 jenkins jenkins 10394 Sep 20 17:21 Attribution.txt 17:23:31 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 20 17:21 CHANGELOG.md 17:23:31 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 20 17:21 Dockerfile 17:23:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:21 GOVERNANCE.md 17:23:31 -rw-rw-r-- 1 jenkins jenkins 688 Sep 20 17:21 Jenkinsfile 17:23:31 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 17:21 LICENSE 17:23:31 -rw-rw-r-- 1 jenkins jenkins 618 Sep 20 17:21 OWNERS.md 17:23:31 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 20 17:21 README.md 17:23:31 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:22 VERSION 17:23:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:21 bin 17:23:31 -rw-r--r-- 1 jenkins jenkins 13 Sep 20 17:22 coverage.out 17:23:31 -rw-rw-r-- 1 jenkins jenkins 3730 Sep 20 17:21 go.mod 17:23:31 -rw-rw-r-- 1 jenkins jenkins 35446 Sep 20 17:21 go.sum 17:23:31 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 20 17:21 main.go 17:23:31 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 20 17:21 makefile 17:23:31 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:21 res 17:23:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:21 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:31 + 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=63209db4e87638a7a21ecd6dc38db7cc29e58e41 --label arch=amd64 --label version=0.0.0 . 17:23:31 Sending build context to Docker daemon 3.358MB 17:23:31 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 17:23:31 Step 2/26 : FROM ${BASE} AS builder 17:23:31 ---> c713f3790249 17:23:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 17:23:31 ---> Running in eea74f7bcdd2 17:23:31 Removing intermediate container eea74f7bcdd2 17:23:31 ---> a9b5d7e93b0a 17:23:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:23:32 ---> Running in 5398c468ca0b 17:23:32 Removing intermediate container 5398c468ca0b 17:23:32 ---> 30c8a1a3a9ad 17:23:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:23:32 ---> Running in adaf5a8b7090 17:23:32 Removing intermediate container adaf5a8b7090 17:23:32 ---> f998b23062f4 17:23:32 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:32 ---> Running in 751aef8bb314 17:23:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:23:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:23:32 OK: 264 MiB in 52 packages 17:23:33 Removing intermediate container 751aef8bb314 17:23:33 ---> f1c289a16824 17:23:33 Step 7/26 : WORKDIR /app 17:23:33 ---> Running in f9bc0187f390 17:23:33 Removing intermediate container f9bc0187f390 17:23:33 ---> bf4d096b785e 17:23:33 Step 8/26 : COPY go.mod vendor* ./ 17:23:33 ---> 69d04a661b06 17:23:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:33 ---> Running in 1359f68e53db 17:23:34 Removing intermediate container 1359f68e53db 17:23:34 ---> 8d9b57ddaee8 17:23:34 Step 10/26 : COPY . . 17:23:34 ---> fc1182e5543d 17:23:34 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:34 ---> Running in a1821e1021ca 17:23:34 Removing intermediate container a1821e1021ca 17:23:34 ---> 3f74a12e8db5 17:23:34 Step 12/26 : RUN $MAKE 17:23:34 ---> Running in f6a37f800a15 17:23:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 17:23:56 Removing intermediate container f6a37f800a15 17:23:56 ---> 0ac9dbfaf357 17:23:56 Step 13/26 : FROM alpine:3.18 17:23:56 3.18: Pulling from library/alpine 17:23:56 7264a8db6415: Already exists 17:23:56 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:23:56 Status: Downloaded newer image for alpine:3.18 17:23:56 ---> 7e01a0d0a1dc 17:23:56 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:23:56 ---> Running in 0e9edc39edfc 17:23:56 Removing intermediate container 0e9edc39edfc 17:23:56 ---> 6f77a1163599 17:23:56 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 17:23:56 ---> Running in 180de9190a02 17:23:56 Removing intermediate container 180de9190a02 17:23:56 ---> eb29af266494 17:23:56 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 17:23:56 ---> Running in fedb4f9ebcb6 17:23:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:23:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:23:56 (1/2) Installing ca-certificates (20230506-r0) 17:23:56 (2/2) Installing dumb-init (1.2.5-r2) 17:23:56 Executing busybox-1.36.1-r2.trigger 17:23:56 Executing ca-certificates-20230506-r0.trigger 17:23:56 OK: 8 MiB in 17 packages 17:23:56 Removing intermediate container fedb4f9ebcb6 17:23:56 ---> 0cc209312d7b 17:23:56 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:23:56 ---> 14936b03d43e 17:23:56 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 17:23:56 ---> 1ce73f474a1b 17:23:56 Step 19/26 : COPY --from=builder /app/res/ /res/ 17:23:56 ---> 8bc8277444b7 17:23:56 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:23:57 ---> 45d5aa2ed9b5 17:23:57 Step 21/26 : EXPOSE 48095 17:23:57 ---> Running in 7f426b941024 17:23:57 Removing intermediate container 7f426b941024 17:23:57 ---> bdaae0c79421 17:23:57 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 17:23:57 ---> Running in 938ea926880b 17:23:57 Removing intermediate container 938ea926880b 17:23:57 ---> 19d9d208b1fa 17:23:57 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:23:57 ---> Running in bc8b4a85e191 17:23:57 Removing intermediate container bc8b4a85e191 17:23:57 ---> 1d1d6c857391 17:23:57 Step 24/26 : LABEL arch=amd64 17:23:57 ---> Running in d79460e34f4f 17:23:57 Removing intermediate container d79460e34f4f 17:23:57 ---> 76b1143bad13 17:23:57 Step 25/26 : LABEL git_sha=63209db4e87638a7a21ecd6dc38db7cc29e58e41 17:23:57 ---> Running in fb3edf634c52 17:23:57 Removing intermediate container fb3edf634c52 17:23:57 ---> 170188c87224 17:23:57 Step 26/26 : LABEL version=0.0.0 17:23:57 ---> Running in 0de9d40870df 17:23:58 Removing intermediate container 0de9d40870df 17:23:58 ---> d197e811389f 17:23:58 [Warning] One or more build-args [ARCH] were not consumed 17:23:58 Successfully built d197e811389f 17:23:58 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 17:23:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:58 17:23:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:59 latest: Pulling from edgex-lftools-log-publisher 17:23:59 5eb5b503b376: Pulling fs layer 17:23:59 5c69ac0246d0: Pulling fs layer 17:23:59 ec43610c2a17: Pulling fs layer 17:23:59 3a2ae6a8a46f: Pulling fs layer 17:23:59 33b1e0a273af: Pulling fs layer 17:23:59 5d3b04190fa2: Pulling fs layer 17:23:59 2f39f015ded8: Pulling fs layer 17:23:59 33b1e0a273af: Waiting 17:23:59 5d3b04190fa2: Waiting 17:23:59 2f39f015ded8: Waiting 17:23:59 3a2ae6a8a46f: Waiting 17:23:59 3a2ae6a8a46f: Verifying Checksum 17:23:59 3a2ae6a8a46f: Download complete 17:23:59 33b1e0a273af: Verifying Checksum 17:23:59 33b1e0a273af: Download complete 17:23:59 5d3b04190fa2: Verifying Checksum 17:23:59 5d3b04190fa2: Download complete 17:23:59 ec43610c2a17: Verifying Checksum 17:23:59 ec43610c2a17: Download complete 17:23:59 5eb5b503b376: Verifying Checksum 17:23:59 5eb5b503b376: Download complete 17:24:00 2f39f015ded8: Download complete 17:24:01 5eb5b503b376: Pull complete 17:24:01 5c69ac0246d0: Pull complete 17:24:01 ec43610c2a17: Pull complete 17:24:01 3a2ae6a8a46f: Pull complete 17:24:02 33b1e0a273af: Pull complete 17:24:02 5d3b04190fa2: Pull complete 17:24:06 2f39f015ded8: Pull complete 17:24:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:24:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:06 prd-ubuntu20.04-docker-8c-8g-6731 does not seem to be running inside a container 17:24:06 $ 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-599 -v /w/workspace/_app-service-configurable_PR-599:/w/workspace/_app-service-configurable_PR-599:rw,z -v /w/workspace/_app-service-configurable_PR-599@tmp:/w/workspace/_app-service-configurable_PR-599@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:24:09 $ docker top b64a46c13187155d4efe94559fbef477235d6089ff689fbc5a09051d53ec0a2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:10 ---> job-cost.sh 17:24:10 lf-activate-venv: SKIPPING 17:24:10 INFO: No Stack... 17:24:10 INFO: Retrieving Pricing Info for: v3-standard-8 17:24:10 INFO: Archiving Costs [Pipeline] sh 17:24:11 + cat /w/workspace/_app-service-configurable_PR-599/archives/cost.csv 17:24:11 + cut -d, -f6 [Pipeline] lock 17:24:11 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-599-1-stack-cost] 17:24:11 Resource [jenkins-edgexfoundry-app-service-configurable-PR-599-1-stack-cost] did not exist. Created. 17:24:11 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-599-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:11 + echo total: 0.2199999988079071 [Pipeline] stash 17:24:11 Stashed 1 file(s) [Pipeline] } 17:24:11 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-599-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:11 $ docker stop --time=1 b64a46c13187155d4efe94559fbef477235d6089ff689fbc5a09051d53ec0a2d 17:24:12 $ docker rm -f --volumes b64a46c13187155d4efe94559fbef477235d6089ff689fbc5a09051d53ec0a2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:24:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6741 in /w/workspace/_app-service-configurable_PR-599 [Pipeline] { [Pipeline] ws 17:24:30 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 17:24:30 Selected Git installation does not exist. Using Default 17:24:30 The recommended git tool is: NONE 17:24:36 using credential edgex-jenkins-ssh 17:24:36 Cloning the remote Git repository 17:24:36 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:24:36 > git init /w/workspace/app-service-configurable/1 # timeout=10 17:24:36 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:24:36 > git --version # timeout=10 17:24:36 > git --version # 'git version 2.25.1' 17:24:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:24:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:24:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:24:40 Merging remotes/origin/main commit 692be8c2dc29c96a9fcede9d9f789984c5ef0b8f into PR head commit f1d380f375b477c8bbf415d18cc168c061acd04c 17:24:39 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:24:39 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:24:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/599/head:refs/remotes/origin/PR-599 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:24:40 > git config core.sparsecheckout # timeout=10 17:24:40 > git checkout -f f1d380f375b477c8bbf415d18cc168c061acd04c # timeout=10 17:24:40 > git remote # timeout=10 17:24:40 > git config --get remote.origin.url # timeout=10 17:24:40 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:40 > git merge 692be8c2dc29c96a9fcede9d9f789984c5ef0b8f # timeout=10 17:24:40 Merge succeeded, producing 6b5b8e2188b2a4cbb9b380fe60c2a485fdd6d0a5 17:24:40 Checking out Revision 6b5b8e2188b2a4cbb9b380fe60c2a485fdd6d0a5 (PR-599) 17:24:40 > git rev-parse HEAD^{commit} # timeout=10 17:24:40 > git config core.sparsecheckout # timeout=10 17:24:40 > git checkout -f 6b5b8e2188b2a4cbb9b380fe60c2a485fdd6d0a5 # timeout=10 17:24:44 Commit message: "Merge commit '692be8c2dc29c96a9fcede9d9f789984c5ef0b8f' into HEAD" 17:24:44 First time build. Skipping changelog. 17:24:44 > git --version # timeout=10 17:24:44 > git --version # 'git version 2.25.1' 17:24:44 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:24:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:24:45 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:45 Dload Upload Total Spent Left Speed 17:24:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 17:24:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:24:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:24:46 + sudo tee /etc/docker/daemon.new 17:24:46 { 17:24:46 "registry-mirrors": [ 17:24:46 "https://nexus3.edgexfoundry.org:10001" 17:24:46 ], 17:24:46 "bip": "10.250.0.254/24", 17:24:46 "hosts": [ 17:24:46 "tcp://0.0.0.0:5555", 17:24:46 "unix:///var/run/docker.sock" 17:24:46 ], 17:24:46 "mtu": 1458, 17:24:46 "selinux-enabled": true, 17:24:46 "seccomp-profile": "/etc/docker/seccomp.json" 17:24:46 } [Pipeline] sh 17:24:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:24:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:05 provisioning config files... 17:25:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config6158248547799237111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:06 ---> docker-login.sh 17:25:06 nexus3.edgexfoundry.org:10001 17:25:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:07 Configure a credential helper to remove this warning. See 17:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:07 17:25:07 Login Succeeded 17:25:07 nexus3.edgexfoundry.org:10002 17:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:07 Configure a credential helper to remove this warning. See 17:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:07 17:25:07 Login Succeeded 17:25:07 nexus3.edgexfoundry.org:10003 17:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:07 Configure a credential helper to remove this warning. See 17:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:07 17:25:07 Login Succeeded 17:25:07 nexus3.edgexfoundry.org:10004 17:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:08 Configure a credential helper to remove this warning. See 17:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:08 17:25:08 Login Succeeded 17:25:08 docker.io 17:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:09 Configure a credential helper to remove this warning. See 17:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:09 17:25:09 Login Succeeded 17:25:09 ---> docker-login.sh ends [Pipeline] } 17:25:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:09 ========================================================= 17:25:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:25:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:25:10 Sending build context to Docker daemon 181.8kB 17:25:10 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:25:10 Step 2/12 : FROM ${BASE} AS builder 17:25:10 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:25:10 9fda8d8052c6: Pulling fs layer 17:25:10 5d54e960e981: Pulling fs layer 17:25:10 c4a7e357bf2a: Pulling fs layer 17:25:10 f0e02332f6b5: Pulling fs layer 17:25:10 cefa15bbcfad: Pulling fs layer 17:25:10 17808c966233: Pulling fs layer 17:25:10 f4c1fc716caa: Pulling fs layer 17:25:10 cefa15bbcfad: Waiting 17:25:10 f0e02332f6b5: Waiting 17:25:10 17808c966233: Waiting 17:25:10 f4c1fc716caa: Waiting 17:25:10 5d54e960e981: Verifying Checksum 17:25:10 5d54e960e981: Download complete 17:25:10 f0e02332f6b5: Verifying Checksum 17:25:10 f0e02332f6b5: Download complete 17:25:10 cefa15bbcfad: Verifying Checksum 17:25:10 cefa15bbcfad: Download complete 17:25:10 9fda8d8052c6: Download complete 17:25:11 f4c1fc716caa: Verifying Checksum 17:25:11 f4c1fc716caa: Download complete 17:25:11 9fda8d8052c6: Pull complete 17:25:12 5d54e960e981: Pull complete 17:25:12 c4a7e357bf2a: Verifying Checksum 17:25:12 c4a7e357bf2a: Download complete 17:25:13 17808c966233: Verifying Checksum 17:25:13 17808c966233: Download complete 17:25:26 c4a7e357bf2a: Pull complete 17:25:26 f0e02332f6b5: Pull complete 17:25:26 cefa15bbcfad: Pull complete 17:25:32 17808c966233: Pull complete 17:25:33 f4c1fc716caa: Pull complete 17:25:34 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 17:25:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:25:34 ---> ea914061e18c 17:25:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:25:36 ---> Running in a2bf8ee3345b 17:25:36 Removing intermediate container a2bf8ee3345b 17:25:36 ---> 6ddeeeb40406 17:25:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:25:36 ---> Running in 428b0b571332 17:25:37 Removing intermediate container 428b0b571332 17:25:37 ---> 3c018c38a6b0 17:25:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:25:37 ---> Running in ccfaec05fa3c 17:25:37 Removing intermediate container ccfaec05fa3c 17:25:37 ---> affcb0709496 17:25:37 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:25:37 ---> Running in 3be9c6b307bc 17:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:25:41 OK: 266 MiB in 52 packages 17:25:42 Removing intermediate container 3be9c6b307bc 17:25:42 ---> 570395ffcfeb 17:25:42 Step 7/12 : WORKDIR /app 17:25:42 ---> Running in e1e17f4678b2 17:25:42 Removing intermediate container e1e17f4678b2 17:25:42 ---> a378abb7eb40 17:25:42 Step 8/12 : COPY go.mod vendor* ./ 17:25:43 ---> 47fe9b993e92 17:25:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:43 ---> Running in 3d63bf0f1e73 17:27:05 Removing intermediate container 3d63bf0f1e73 17:27:05 ---> 1da505770a05 17:27:05 Step 10/12 : COPY . . 17:27:05 ---> 576fd88099da 17:27:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:27:05 ---> Running in 963438c28f06 17:27:05 Removing intermediate container 963438c28f06 17:27:05 ---> be42037e5034 17:27:05 Step 12/12 : RUN $MAKE 17:27:05 ---> Running in fbadf440f565 17:27:05 noop 17:27:05 Removing intermediate container fbadf440f565 17:27:05 ---> b28255a35389 17:27:05 Successfully built b28255a35389 17:27:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:06 + docker inspect -f . ci-base-image-arm64 17:27:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:06 prd-ubuntu20.04-docker-arm64-4c-16g-6741 does not seem to be running inside a container 17:27:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:27:08 $ docker top ee2cc36b995bef392413b54e25685890c84bc1c0efe11f7404c90e17d8d5b289 -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:09 + go version 17:27:09 go version go1.21.0 linux/arm64 [Pipeline] } 17:27:09 $ docker stop --time=1 ee2cc36b995bef392413b54e25685890c84bc1c0efe11f7404c90e17d8d5b289 17:27:10 $ docker rm -f --volumes ee2cc36b995bef392413b54e25685890c84bc1c0efe11f7404c90e17d8d5b289 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:11 + docker inspect -f . ci-base-image-arm64 17:27:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:12 prd-ubuntu20.04-docker-arm64-4c-16g-6741 does not seem to be running inside a container 17:27:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:27:13 $ docker top 9d29e60214644162712b81e576d8c022445fa5e37962a3ca14ae0e8a4cbcd38c -eo pid,comm [Pipeline] { [Pipeline] sh 17:27:14 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 17:27:15 + make test 17:27:15 go test -race -coverprofile=coverage.out ./... 17:30:51 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:30:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:30:51 go vet ./... 17:33:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:33:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:33:13 ./bin/test-attribution-txt.sh [Pipeline] echo 17:33:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:33:13 $ docker stop --time=1 9d29e60214644162712b81e576d8c022445fa5e37962a3ca14ae0e8a4cbcd38c 17:33:15 $ docker rm -f --volumes 9d29e60214644162712b81e576d8c022445fa5e37962a3ca14ae0e8a4cbcd38c [Pipeline] // withDockerContainer [Pipeline] sh 17:33:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:33:17 Warning: overwriting stash ‘coverage-report’ 17:33:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:33:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:33:19 + ls -al . 17:33:19 total 180 17:33:19 drwxrwxr-x 7 jenkins jenkins 4096 Sep 20 17:27 . 17:33:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:24 .. 17:33:19 -rw-rw-r-- 1 jenkins jenkins 119 Sep 20 17:24 .dockerignore 17:33:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:24 .git 17:33:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:24 .github 17:33:19 -rw-rw-r-- 1 jenkins jenkins 171 Sep 20 17:24 .gitignore 17:33:19 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:24 .golangci.yml 17:33:19 -rw-rw-r-- 1 jenkins jenkins 10394 Sep 20 17:24 Attribution.txt 17:33:19 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 20 17:24 CHANGELOG.md 17:33:19 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 20 17:24 Dockerfile 17:33:19 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:24 GOVERNANCE.md 17:33:19 -rw-rw-r-- 1 jenkins jenkins 688 Sep 20 17:24 Jenkinsfile 17:33:19 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 17:24 LICENSE 17:33:19 -rw-rw-r-- 1 jenkins jenkins 618 Sep 20 17:24 OWNERS.md 17:33:19 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 20 17:24 README.md 17:33:19 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:22 VERSION 17:33:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:24 bin 17:33:19 -rw-r--r-- 1 jenkins jenkins 13 Sep 20 17:27 coverage.out 17:33:19 -rw-rw-r-- 1 jenkins jenkins 3730 Sep 20 17:24 go.mod 17:33:19 -rw-rw-r-- 1 jenkins jenkins 35446 Sep 20 17:24 go.sum 17:33:19 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 20 17:24 main.go 17:33:19 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 20 17:24 makefile 17:33:19 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:24 res 17:33:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:24 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:19 + 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=6b5b8e2188b2a4cbb9b380fe60c2a485fdd6d0a5 --label arch=arm64 --label version=0.0.0 . 17:33:19 Sending build context to Docker daemon 182.8kB 17:33:20 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 17:33:20 Step 2/26 : FROM ${BASE} AS builder 17:33:20 ---> b28255a35389 17:33:20 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 17:33:20 ---> Running in 5d4c6bdcef97 17:33:20 Removing intermediate container 5d4c6bdcef97 17:33:20 ---> d277b0d5aea8 17:33:20 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:33:20 ---> Running in fd9525092302 17:33:21 Removing intermediate container fd9525092302 17:33:21 ---> 914a6910f9b1 17:33:21 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:33:21 ---> Running in fa0edf0ce882 17:33:21 Removing intermediate container fa0edf0ce882 17:33:21 ---> f2ad8642f450 17:33:21 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:21 ---> Running in 78976b1d790e 17:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:33:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:33:24 OK: 266 MiB in 52 packages 17:33:25 Removing intermediate container 78976b1d790e 17:33:25 ---> 0dcb0a7a36b1 17:33:25 Step 7/26 : WORKDIR /app 17:33:25 ---> Running in d7fbff70e095 17:33:25 Removing intermediate container d7fbff70e095 17:33:25 ---> 9b114e7b7944 17:33:25 Step 8/26 : COPY go.mod vendor* ./ 17:33:26 ---> fe11d490a0e8 17:33:26 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:26 ---> Running in e5393f0d2448 17:33:29 Removing intermediate container e5393f0d2448 17:33:29 ---> ef150e8ce2ee 17:33:29 Step 10/26 : COPY . . 17:33:30 ---> 1317c0803fb0 17:33:30 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:30 ---> Running in d9f6c1e00fac 17:33:30 Removing intermediate container d9f6c1e00fac 17:33:30 ---> bd5f44ce1245 17:33:30 Step 12/26 : RUN $MAKE 17:33:30 ---> Running in c021a401bda1 17:33:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 17:35:54 Removing intermediate container c021a401bda1 17:35:54 ---> bd167c32edf6 17:35:54 Step 13/26 : FROM alpine:3.18 17:35:54 3.18: Pulling from library/alpine 17:35:54 9fda8d8052c6: Already exists 17:35:54 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:35:54 Status: Downloaded newer image for alpine:3.18 17:35:54 ---> f6648c04cd6c 17:35:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:35:54 ---> Running in 6b7d812b0cba 17:35:55 Removing intermediate container 6b7d812b0cba 17:35:55 ---> 6f882819049e 17:35:55 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 17:35:55 ---> Running in 875db6f033da 17:35:55 Removing intermediate container 875db6f033da 17:35:55 ---> 3f67bcf3c7f4 17:35:55 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 17:35:55 ---> Running in 18987c201930 17:35:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:35:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:35:58 (1/2) Installing ca-certificates (20230506-r0) 17:35:58 (2/2) Installing dumb-init (1.2.5-r2) 17:35:58 Executing busybox-1.36.1-r2.trigger 17:35:58 Executing ca-certificates-20230506-r0.trigger 17:35:58 OK: 9 MiB in 17 packages 17:36:00 Removing intermediate container 18987c201930 17:36:00 ---> 3a7374d0815a 17:36:00 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:36:00 ---> cfdd7da5c9e6 17:36:00 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 17:36:01 ---> 40010a78a11b 17:36:01 Step 19/26 : COPY --from=builder /app/res/ /res/ 17:36:02 ---> 54d9a44d0406 17:36:02 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:36:03 ---> 38f52d8c06de 17:36:03 Step 21/26 : EXPOSE 48095 17:36:04 ---> Running in ae5ab9a0525f 17:36:04 Removing intermediate container ae5ab9a0525f 17:36:04 ---> cfc8d0b6415a 17:36:04 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 17:36:04 ---> Running in d57ab748b04b 17:36:04 Removing intermediate container d57ab748b04b 17:36:04 ---> eebd2e20df0a 17:36:04 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:36:04 ---> Running in 79425317453c 17:36:05 Removing intermediate container 79425317453c 17:36:05 ---> 66c3ea80bde6 17:36:05 Step 24/26 : LABEL arch=arm64 17:36:05 ---> Running in 2075d82ce517 17:36:05 Removing intermediate container 2075d82ce517 17:36:05 ---> 00be395f6a30 17:36:05 Step 25/26 : LABEL git_sha=6b5b8e2188b2a4cbb9b380fe60c2a485fdd6d0a5 17:36:05 ---> Running in c1560ade1d70 17:36:06 Removing intermediate container c1560ade1d70 17:36:06 ---> a2ef85fd08e1 17:36:06 Step 26/26 : LABEL version=0.0.0 17:36:06 ---> Running in e318b1fdeb54 17:36:06 Removing intermediate container e318b1fdeb54 17:36:06 ---> 580a7b91ba52 17:36:06 [Warning] One or more build-args [ARCH] were not consumed 17:36:06 Successfully built 580a7b91ba52 17:36:06 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 17:36:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:07 17:36:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:07 arm64: Pulling from edgex-lftools-log-publisher 17:36:07 8998bd30e6a1: Pulling fs layer 17:36:07 04944245beec: Pulling fs layer 17:36:07 699f458cf7ca: Pulling fs layer 17:36:07 765212b225bb: Pulling fs layer 17:36:07 f23df028b6ca: Pulling fs layer 17:36:07 d65c8cfc05b1: Pulling fs layer 17:36:07 2437ff75d9bd: Pulling fs layer 17:36:07 765212b225bb: Waiting 17:36:07 f23df028b6ca: Waiting 17:36:07 d65c8cfc05b1: Waiting 17:36:07 04944245beec: Verifying Checksum 17:36:07 04944245beec: Download complete 17:36:07 765212b225bb: Verifying Checksum 17:36:07 765212b225bb: Download complete 17:36:07 f23df028b6ca: Verifying Checksum 17:36:07 f23df028b6ca: Download complete 17:36:07 d65c8cfc05b1: Verifying Checksum 17:36:07 d65c8cfc05b1: Download complete 17:36:08 699f458cf7ca: Verifying Checksum 17:36:08 699f458cf7ca: Download complete 17:36:08 8998bd30e6a1: Verifying Checksum 17:36:08 8998bd30e6a1: Download complete 17:36:10 2437ff75d9bd: Verifying Checksum 17:36:10 2437ff75d9bd: Download complete 17:36:12 8998bd30e6a1: Pull complete 17:36:12 04944245beec: Pull complete 17:36:14 699f458cf7ca: Pull complete 17:36:14 765212b225bb: Pull complete 17:36:15 f23df028b6ca: Pull complete 17:36:15 d65c8cfc05b1: Pull complete 17:36:30 2437ff75d9bd: Pull complete 17:36:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:36:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:30 prd-ubuntu20.04-docker-arm64-4c-16g-6741 does not seem to be running inside a container 17:36:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:36:34 $ docker top 39aa77f36c7e9010fcfc67786c5aefb969c1922350e480456fbac1661983e9ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:35 ---> job-cost.sh 17:36:35 lf-activate-venv: SKIPPING 17:36:35 INFO: No Stack... 17:36:35 INFO: Retrieving Pricing Info for: v3-standard-4 17:36:36 INFO: Archiving Costs [Pipeline] sh 17:36:37 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 17:36:37 + cut -d, -f6 [Pipeline] lock 17:36:37 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-599-1-stack-cost] 17:36:37 Resource [jenkins-edgexfoundry-app-service-configurable-PR-599-1-stack-cost] did not exist. Created. 17:36:37 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-599-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:36:37 /w/workspace/app-service-configurable/1@tmp/durable-2d32381b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:36:38 + echo total: 0.10999999940395355 [Pipeline] stash 17:36:38 Warning: overwriting stash ‘stack-cost’ 17:36:38 Stashed 1 file(s) [Pipeline] } 17:36:38 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-599-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:36:38 $ docker stop --time=1 39aa77f36c7e9010fcfc67786c5aefb969c1922350e480456fbac1661983e9ad 17:36:40 $ docker rm -f --volumes 39aa77f36c7e9010fcfc67786c5aefb969c1922350e480456fbac1661983e9ad [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 17:36:41 provisioning config files... 17:36:41 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-599@tmp/config6072738236528700252tmp [Pipeline] { [Pipeline] sh 17:36:41 + set +x 17:36:41 + curl -s https://codecov.io/bash 17:36:41 + bash -s -- 17:36:41 17:36:41 _____ _ 17:36:41 / ____| | | 17:36:41 | | ___ __| | ___ ___ _____ __ 17:36:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:36:41 | |___| (_) | (_| | __/ (_| (_) \ V / 17:36:41 \_____\___/ \__,_|\___|\___\___/ \_/ 17:36:41 Bash-1.0.6 17:36:41 17:36:41 17:36:41 ==> git version 2.25.1 found 17:36:41 ==> 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 17:36:41 Release-Date: 2020-01-08 17:36:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:36:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:36:41 ==> Jenkins CI detected. 17:36:41 current dir:  /w/workspace/_app-service-configurable_PR-599 17:36:41 project root: . 17:36:41 --> token set from env 17:36:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:36:41 ==> Running gcov in . (disable via -X gcov) 17:36:41 ==> Python coveragepy not found 17:36:41 ==> Searching for coverage reports in: 17:36:41 + . 17:36:41 -> Found 1 reports 17:36:41 ==> Detecting git/mercurial file structure 17:36:41 ==> Reading reports 17:36:41 + ./coverage.out bytes=13 17:36:41 ==> Appending adjustments 17:36:41 https://docs.codecov.io/docs/fixing-reports 17:36:41 + Found adjustments 17:36:41 ==> Gzipping contents 17:36:41 4.0K /tmp/codecov.STREMS.gz 17:36:41 ==> Uploading reports 17:36:41 url: https://codecov.io 17:36:41 query: branch=PR-599&commit=63209db4e87638a7a21ecd6dc38db7cc29e58e41&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-599%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=599&job=&cmd_args= 17:36:41 -> Pinging Codecov 17:36:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-599&commit=63209db4e87638a7a21ecd6dc38db7cc29e58e41&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-599%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=599&job=&cmd_args= 17:36:41 -> Uploading to 17:36:41 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/A97CA9966030D2A3747ED39772930CCE/63209db4e87638a7a21ecd6dc38db7cc29e58e41/98a7c578-5280-4139-a12e-b2c02354388f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T173641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=afb15056e2818ade0cba8ef20bb4c72307a71ee5f61b4657105772c17394ab9e 17:36:41 % Total % Received % Xferd Average Speed Time Time Time Current 17:36:41 Dload Upload Total Spent Left Speed 17:36:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2615 --:--:-- --:--:-- --:--:-- 2615 17:36:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/63209db4e87638a7a21ecd6dc38db7cc29e58e41 [Pipeline] } 17:36:41 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 17:36:43 + [ -d /w/workspace/_app-service-configurable_PR-599/archives ] 17:36:43 + ls -al /w/workspace/_app-service-configurable_PR-599/archives 17:36:43 total 16 17:36:43 drwxr-xr-x 3 root root 4096 Sep 20 17:24 . 17:36:43 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:24 .. 17:36:43 drwxr-xr-x 2 root root 4096 Sep 20 17:24 cost 17:36:43 -rw-r--r-- 1 root root 96 Sep 20 17:24 cost.csv 17:36:43 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-599/archives 17:36:43 + ls -al /w/workspace/_app-service-configurable_PR-599/archives 17:36:43 total 16 17:36:43 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:24 . 17:36:43 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:24 .. 17:36:43 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:24 cost 17:36:43 -rw-r--r-- 1 jenkins jenkins 96 Sep 20 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:36:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:36:44 ---> package-listing.sh 17:36:44 ++ facter osfamily 17:36:44 ++ tr '[:upper:]' '[:lower:]' 17:36:44 + OS_FAMILY=debian 17:36:44 + workspace=/w/workspace/_app-service-configurable_PR-599 17:36:44 + START_PACKAGES=/tmp/packages_start.txt 17:36:44 + END_PACKAGES=/tmp/packages_end.txt 17:36:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:36:44 + PACKAGES=/tmp/packages_start.txt 17:36:44 + '[' /w/workspace/_app-service-configurable_PR-599 ']' 17:36:44 + PACKAGES=/tmp/packages_end.txt 17:36:44 + case "${OS_FAMILY}" in 17:36:44 + grep '^ii' 17:36:44 + dpkg -l 17:36:45 + '[' -f /tmp/packages_start.txt ']' 17:36:45 + '[' -f /tmp/packages_end.txt ']' 17:36:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:36:45 + '[' /w/workspace/_app-service-configurable_PR-599 ']' 17:36:45 + mkdir -p /w/workspace/_app-service-configurable_PR-599/archives/ 17:36:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-599/archives/ [Pipeline] echo 17:36:45 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-599/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:36:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:46 prd-ubuntu20.04-docker-8c-8g-6731 does not seem to be running inside a container 17:36:46 $ 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-599/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-599 -v /w/workspace/_app-service-configurable_PR-599:/w/workspace/_app-service-configurable_PR-599:rw,z -v /w/workspace/_app-service-configurable_PR-599@tmp:/w/workspace/_app-service-configurable_PR-599@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 17:36:46 $ docker top 4ac512f5fef0c214b2c0eac42f34e2466b25e22bcf57d6f38b2d0581b7756351 -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:47 + touch /tmp/pre-build-complete [Pipeline] sh 17:36:47 + mkdir -p /var/log/sysstat [Pipeline] sh 17:36:47 + ls /var/log/sa-host 17:36:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:47 provisioning config files... 17:36:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-599@tmp/config12789770291300729889tmp [Pipeline] { [Pipeline] echo 17:36:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:36:48 ---> create-netrc.sh [Pipeline] } 17:36:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:36:48 ---> python-tools-install.sh [Pipeline] echo 17:36:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:36:48 ---> sudo-logs.sh 17:36:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:36:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:36:49 ---> job-cost.sh 17:36:49 lf-activate-venv: SKIPPING 17:36:49 DEBUG: total: 0.2199999988079071 17:36:49 INFO: Retrieving Stack Cost... 17:36:49 INFO: Retrieving Pricing Info for: v3-standard-8 17:36:50 INFO: Archiving Costs [Pipeline] echo 17:36:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:36:50 ---> logs-deploy.sh 17:36:50 lf-activate-venv: SKIPPING 17:36:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-599/1 17:36:50 INFO: archiving workspace using pattern(s): 17:36:51 Archives upload complete. 17:36:51 INFO: archiving logs to Nexus