Pull request #472 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1+36be150d6762fc2492564362988c95ea99ab1b04 (085ebb6fe7cbc1c31e1a1f0e5b11edd4b962a9f4) 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-ssh12298289568259249016.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12659176296726510918.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-472/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-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13261547056654580508.key Verifying host key using known hosts file > 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-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7940748283275227875.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh17725913283363968936.key Verifying host key using known hosts file > 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-472/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-472/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8558918515261053882.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7069 in /w/workspace/_app-service-configurable_PR-472 [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-472 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/472/head:refs/remotes/origin/PR-472 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 36be150d6762fc2492564362988c95ea99ab1b04 into PR head commit 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 Merge succeeded, producing 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 Checking out Revision 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 (PR-472) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:05:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:05:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv > git config core.sparsecheckout # timeout=10 > git checkout -f 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 36be150d6762fc2492564362988c95ea99ab1b04 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 # timeout=10 [Pipeline] { [Pipeline] echo 12:05:42 ========================================================= 12:05:42 EdgeX Global Pipelines Version Info 12:05:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:05:42 ------------------- 12:05:42 stable info: 12:05:42 ------------------- 12:05:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:05:42 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 12:05:42 Message: update stable to v1.0.239 12:05:43 ------------------- 12:05:43 experimental info: 12:05:43 ------------------- 12:05:43 Commited By: **** collab-it+edgex@linuxfoundation.org 12:05:43 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 12:05:43 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:05:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:05:43 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:05:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:05:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:05:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:05:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:05:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:05:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:05:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-472 [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-472 [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-472 [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23c51fb [Pipeline] echo 12:05:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:45 provisioning config files... 12:05:45 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-472@tmp/config3958622528280555643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:45 ---> docker-login.sh 12:05:45 nexus3.edgexfoundry.org:10001 12:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:45 Configure a credential helper to remove this warning. See 12:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:45 12:05:45 Login Succeeded 12:05:45 nexus3.edgexfoundry.org:10002 12:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:45 Configure a credential helper to remove this warning. See 12:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:45 12:05:45 Login Succeeded 12:05:45 nexus3.edgexfoundry.org:10003 12:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:46 Configure a credential helper to remove this warning. See 12:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:46 12:05:46 Login Succeeded 12:05:46 nexus3.edgexfoundry.org:10004 12:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:46 Configure a credential helper to remove this warning. See 12:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:46 12:05:46 Login Succeeded 12:05:46 docker.io 12:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:46 Configure a credential helper to remove this warning. See 12:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:46 12:05:46 Login Succeeded 12:05:46 ---> docker-login.sh ends [Pipeline] } 12:05:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:05:47 + git rev-list -1 --merges 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1~1..23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 [Pipeline] echo 12:05:47 -----------> git rev-list -1 --merges 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1~1..23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 [false] [Pipeline] sh 12:05:47 + git log --format=format:%s -1 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 [Pipeline] echo 12:05:47 ========================================================= 12:05:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:05:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:05:48 + git log --format=format:%s -1 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 [Pipeline] echo 12:05:48 [semverPrep] GIT_COMMIT: 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo 12:05:48 [semverPrep] This is not a build commit. [Pipeline] sh 12:05:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:05:48 + grep -v github /etc/ssh/ssh_known_hosts 12:05:48 + [ -e /tmp/ssh_known_hosts ] 12:05:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:05:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:05:48 + sudo tee -a /etc/ssh/ssh_known_hosts 12:05:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:05:49 12:05:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:05:49 0.1.4: Pulling from edgex-devops/py-git-semver 12:05:49 b85a868b505f: Pulling fs layer 12:05:49 e2be974225ed: Pulling fs layer 12:05:49 339a4e72a1f5: Pulling fs layer 12:05:49 988bab9f4d93: Pulling fs layer 12:05:49 1469e6f7b9e6: Pulling fs layer 12:05:49 eaf3925da568: Pulling fs layer 12:05:49 bab4dde63d76: Pulling fs layer 12:05:49 bde34c3a00c8: Pulling fs layer 12:05:49 b352a97aabf1: Pulling fs layer 12:05:49 4872d77fe225: Pulling fs layer 12:05:49 5851b861e8e6: Pulling fs layer 12:05:49 bab4dde63d76: Waiting 12:05:49 bde34c3a00c8: Waiting 12:05:49 b352a97aabf1: Waiting 12:05:49 4872d77fe225: Waiting 12:05:49 5851b861e8e6: Waiting 12:05:49 988bab9f4d93: Waiting 12:05:49 1469e6f7b9e6: Waiting 12:05:49 eaf3925da568: Waiting 12:05:49 e2be974225ed: Verifying Checksum 12:05:49 e2be974225ed: Download complete 12:05:49 988bab9f4d93: Verifying Checksum 12:05:49 988bab9f4d93: Download complete 12:05:49 1469e6f7b9e6: Verifying Checksum 12:05:49 1469e6f7b9e6: Download complete 12:05:49 339a4e72a1f5: Verifying Checksum 12:05:49 339a4e72a1f5: Download complete 12:05:49 eaf3925da568: Verifying Checksum 12:05:49 eaf3925da568: Download complete 12:05:49 bde34c3a00c8: Download complete 12:05:49 b352a97aabf1: Download complete 12:05:49 4872d77fe225: Verifying Checksum 12:05:49 4872d77fe225: Download complete 12:05:49 5851b861e8e6: Verifying Checksum 12:05:49 5851b861e8e6: Download complete 12:05:49 b85a868b505f: Verifying Checksum 12:05:49 b85a868b505f: Download complete 12:05:50 bab4dde63d76: Verifying Checksum 12:05:50 bab4dde63d76: Download complete 12:05:51 b85a868b505f: Pull complete 12:05:51 e2be974225ed: Pull complete 12:05:51 339a4e72a1f5: Pull complete 12:05:51 988bab9f4d93: Pull complete 12:05:52 1469e6f7b9e6: Pull complete 12:05:52 eaf3925da568: Pull complete 12:05:53 bab4dde63d76: Pull complete 12:05:53 bde34c3a00c8: Pull complete 12:05:53 b352a97aabf1: Pull complete 12:05:54 4872d77fe225: Pull complete 12:05:54 5851b861e8e6: Pull complete 12:05:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:05:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:05:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:54 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 12:05:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-472 -v /w/workspace/_app-service-configurable_PR-472:/w/workspace/_app-service-configurable_PR-472:rw,z -v /w/workspace/_app-service-configurable_PR-472@tmp:/w/workspace/_app-service-configurable_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:05:56 $ docker top f76107adef9f07f7b9a68d81268c89084afc5c06a7def11d8214e4a49d04d9c4 -eo pid,comm 12:05: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). 12:05:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:05:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:56 [ssh-agent] Looking for ssh-agent implementation... 12:05:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:56 $ docker exec f76107adef9f07f7b9a68d81268c89084afc5c06a7def11d8214e4a49d04d9c4 ssh-agent 12:05:56 SSH_AUTH_SOCK=/tmp/ssh-kRQa2vDULyXv/agent.32 12:05:56 SSH_AGENT_PID=38 12:05:56 Running ssh-add (command line suppressed) 12:05:56 Identity added: /w/workspace/_app-service-configurable_PR-472@tmp/private_key_2963656132360485697.key (/w/workspace/_app-service-configurable_PR-472@tmp/private_key_2963656132360485697.key) 12:05:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:57 + git tag --points-at HEAD [Pipeline] } 12:05:57 $ docker exec --env ******** --env ******** f76107adef9f07f7b9a68d81268c89084afc5c06a7def11d8214e4a49d04d9c4 ssh-agent -k 12:05:57 unset SSH_AUTH_SOCK; 12:05:57 unset SSH_AGENT_PID; 12:05:57 echo Agent pid 38 killed; 12:05:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:05:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:57 [ssh-agent] Looking for ssh-agent implementation... 12:05:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:57 $ docker exec f76107adef9f07f7b9a68d81268c89084afc5c06a7def11d8214e4a49d04d9c4 ssh-agent 12:05:57 SSH_AUTH_SOCK=/tmp/ssh-IAHw7ISNXufU/agent.70 12:05:57 SSH_AGENT_PID=76 12:05:57 Running ssh-add (command line suppressed) 12:05:57 Identity added: /w/workspace/_app-service-configurable_PR-472@tmp/private_key_9742048810438815699.key (/w/workspace/_app-service-configurable_PR-472@tmp/private_key_9742048810438815699.key) 12:05:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:57 + git semver init 12:05:58 2022-10-04 12:05:58,104 [run_init] DEBUG init version:0.0.0 force:False 12:05:58 2022-10-04 12:05:58,105 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-472/.semver 12:05:58 2022-10-04 12:05:58,105 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-472/.semver 12:05:58 2022-10-04 12:05:58,105 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-472/.semver'], cwd=/w/workspace/_app-service-configurable_PR-472, universal_newlines=False, shell=None, istream=None) 12:05:59 2022-10-04 12:05:59,012 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-472/.git/info/exclude 12:05:59 2022-10-04 12:05:59,012 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-472/.semver/PR-472 with force:False 12:05:59 2022-10-04 12:05:59,012 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-472/.semver/PR-472 12:05:59 2022-10-04 12:05:59,015 [execute] INFO git cat-file --batch-check 12:05:59 2022-10-04 12:05:59,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-472/.semver, universal_newlines=False, shell=None, istream=) 12:05:59 2022-10-04 12:05:59,023 [execute] INFO git cat-file --batch 12:05:59 2022-10-04 12:05:59,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-472/.semver, universal_newlines=False, shell=None, istream=) 12:05:59 2022-10-04 12:05:59,029 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-472/.semver/PR-472 12:05:59 0.0.0 [Pipeline] } 12:05:59 $ docker exec --env ******** --env ******** f76107adef9f07f7b9a68d81268c89084afc5c06a7def11d8214e4a49d04d9c4 ssh-agent -k 12:05:59 unset SSH_AUTH_SOCK; 12:05:59 unset SSH_AGENT_PID; 12:05:59 echo Agent pid 76 killed; 12:05:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:05:59 + git semver [Pipeline] } 12:06:00 $ docker stop --time=1 f76107adef9f07f7b9a68d81268c89084afc5c06a7def11d8214e4a49d04d9c4 12:06:02 $ docker rm -f f76107adef9f07f7b9a68d81268c89084afc5c06a7def11d8214e4a49d04d9c4 [Pipeline] // withDockerContainer [Pipeline] sh 12:06:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:06:02 Stashed 1 file(s) [Pipeline] echo 12:06: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 12:06:03 provisioning config files... 12:06:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-472@tmp/config6483755142431038711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:03 ---> docker-login.sh 12:06:03 nexus3.edgexfoundry.org:10001 12:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:03 Configure a credential helper to remove this warning. See 12:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:03 12:06:03 Login Succeeded 12:06:03 nexus3.edgexfoundry.org:10002 12:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:03 Configure a credential helper to remove this warning. See 12:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:03 12:06:03 Login Succeeded 12:06:03 nexus3.edgexfoundry.org:10003 12:06:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:04 Configure a credential helper to remove this warning. See 12:06:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:04 12:06:04 Login Succeeded 12:06:04 nexus3.edgexfoundry.org:10004 12:06:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:04 Configure a credential helper to remove this warning. See 12:06:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:04 12:06:04 Login Succeeded 12:06:04 docker.io 12:06:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:06:04 Configure a credential helper to remove this warning. See 12:06:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:06:04 12:06:04 Login Succeeded 12:06:04 ---> docker-login.sh ends [Pipeline] } 12:06:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:06:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:06:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:06:04 ========================================================= 12:06:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:06:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 12:06:05 Sending build context to Docker daemon 3.137MB 12:06:05 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 12:06:05 Step 2/14 : FROM ${BASE} AS builder 12:06:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:06:05 2408cc74d12b: Pulling fs layer 12:06:05 ea60b727a1ce: Pulling fs layer 12:06:05 30c4a7721957: Pulling fs layer 12:06:05 370296b7ddb6: Pulling fs layer 12:06:05 7c6cee850709: Pulling fs layer 12:06:05 aa9baa53a306: Pulling fs layer 12:06:05 8b309c321861: Pulling fs layer 12:06:05 d8d76fd02f46: Pulling fs layer 12:06:05 fa31f396de31: Pulling fs layer 12:06:05 370296b7ddb6: Waiting 12:06:05 8b309c321861: Waiting 12:06:05 7c6cee850709: Waiting 12:06:05 d8d76fd02f46: Waiting 12:06:05 aa9baa53a306: Waiting 12:06:05 30c4a7721957: Verifying Checksum 12:06:05 30c4a7721957: Download complete 12:06:05 ea60b727a1ce: Verifying Checksum 12:06:05 ea60b727a1ce: Download complete 12:06:05 7c6cee850709: Verifying Checksum 12:06:05 7c6cee850709: Download complete 12:06:05 aa9baa53a306: Verifying Checksum 12:06:05 aa9baa53a306: Download complete 12:06:05 2408cc74d12b: Verifying Checksum 12:06:05 2408cc74d12b: Download complete 12:06:05 8b309c321861: Verifying Checksum 12:06:05 8b309c321861: Download complete 12:06:05 2408cc74d12b: Pull complete 12:06:05 ea60b727a1ce: Pull complete 12:06:05 30c4a7721957: Pull complete 12:06:06 fa31f396de31: Verifying Checksum 12:06:06 fa31f396de31: Download complete 12:06:06 d8d76fd02f46: Verifying Checksum 12:06:06 d8d76fd02f46: Download complete 12:06:06 370296b7ddb6: Verifying Checksum 12:06:06 370296b7ddb6: Download complete 12:06:10 370296b7ddb6: Pull complete 12:06:10 7c6cee850709: Pull complete 12:06:10 aa9baa53a306: Pull complete 12:06:10 8b309c321861: Pull complete 12:06:12 d8d76fd02f46: Pull complete 12:06:13 fa31f396de31: Pull complete 12:06:13 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 12:06:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:06:13 ---> cef68f9685f8 12:06:13 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:06:15 ---> Running in 7ad788990468 12:06:15 Removing intermediate container 7ad788990468 12:06:15 ---> cbc1d6d3bd43 12:06:15 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 12:06:15 ---> Running in d6900b449fbc 12:06:15 Removing intermediate container d6900b449fbc 12:06:15 ---> 1cf9c364218c 12:06:15 Step 5/14 : ARG ADD_BUILD_TAGS="" 12:06:15 ---> Running in f1e13f835989 12:06:15 Removing intermediate container f1e13f835989 12:06:15 ---> 9d0b011bf210 12:06:15 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:06:15 ---> Running in 53ce21bc30a1 12:06:15 Removing intermediate container 53ce21bc30a1 12:06:15 ---> a574d6c5c7fa 12:06:15 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:06:15 ---> Running in c7e9cc3c312f 12:06:16 Removing intermediate container c7e9cc3c312f 12:06:16 ---> 2450772c973c 12:06:16 Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:06:16 ---> Running in acb6d5bdc0de 12:06:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:06:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:06:18 OK: 211 MiB in 51 packages 12:06:18 Still waiting to schedule task 12:06:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:06:18 Removing intermediate container acb6d5bdc0de 12:06:18 ---> db822d43598b 12:06:18 Step 9/14 : WORKDIR /app 12:06:18 ---> Running in 60e914e1f91c 12:06:18 Removing intermediate container 60e914e1f91c 12:06:18 ---> 0cf045f37969 12:06:18 Step 10/14 : COPY go.mod vendor* ./ 12:06:18 ---> 3f6977e3fb8e 12:06:18 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:06:18 ---> Running in e592a3a8f4cc 12:06:40 Removing intermediate container e592a3a8f4cc 12:06:40 ---> b81b6c3a47b3 12:06:40 Step 12/14 : COPY . . 12:06:40 ---> 78487876bd64 12:06:40 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:06:40 ---> Running in 35f6960463e1 12:06:40 Removing intermediate container 35f6960463e1 12:06:40 ---> 60063a63b92d 12:06:40 Step 14/14 : RUN $MAKE 12:06:40 ---> Running in 4ee0d8dfb2e0 12:06:40 noop 12:06:40 Removing intermediate container 4ee0d8dfb2e0 12:06:40 ---> 088dc28b8676 12:06:40 Successfully built 088dc28b8676 12:06:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:41 + docker inspect -f . ci-base-image-x86_64 12:06:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:41 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 12:06:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-472 -v /w/workspace/_app-service-configurable_PR-472:/w/workspace/_app-service-configurable_PR-472:rw,z -v /w/workspace/_app-service-configurable_PR-472@tmp:/w/workspace/_app-service-configurable_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:06:41 $ docker top c3f70f77eeb616d8da78e548bba08b49daeccc9a45fbb30e746a118756f1bad8 -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:42 + go version 12:06:42 go version go1.18.3 linux/amd64 [Pipeline] } 12:06:42 $ docker stop --time=1 c3f70f77eeb616d8da78e548bba08b49daeccc9a45fbb30e746a118756f1bad8 12:06:43 $ docker rm -f c3f70f77eeb616d8da78e548bba08b49daeccc9a45fbb30e746a118756f1bad8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:44 + docker inspect -f . ci-base-image-x86_64 12:06:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:44 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 12:06:44 $ 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-472 -v /w/workspace/_app-service-configurable_PR-472:/w/workspace/_app-service-configurable_PR-472:rw,z -v /w/workspace/_app-service-configurable_PR-472@tmp:/w/workspace/_app-service-configurable_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:06:44 $ docker top 7e777bf6e95ebe17b729812a50dc1530c486d92c02e1cc42b5f16b7c0e6e354a -eo pid,comm [Pipeline] { [Pipeline] sh 12:06:45 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-472 [Pipeline] fileExists [Pipeline] sh 12:06:45 + make test 12:06:45 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:06:55 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:06:55 CGO_ENABLED=1 go vet ./... 12:06:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:06:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:06:58 ./bin/test-attribution-txt.sh [Pipeline] echo 12:06:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:06:59 $ docker stop --time=1 7e777bf6e95ebe17b729812a50dc1530c486d92c02e1cc42b5f16b7c0e6e354a 12:07:00 $ docker rm -f 7e777bf6e95ebe17b729812a50dc1530c486d92c02e1cc42b5f16b7c0e6e354a [Pipeline] // withDockerContainer [Pipeline] sh 12:07:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:07:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:07:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:07:02 + ls -al . 12:07:02 total 176 12:07:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 12:06 . 12:07:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 12:05 .. 12:07:02 -rw-rw-r-- 1 jenkins jenkins 119 Oct 4 12:05 .dockerignore 12:07:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 12:05 .git 12:07:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 12:05 .github 12:07:02 -rw-rw-r-- 1 jenkins jenkins 171 Oct 4 12:05 .gitignore 12:07:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 12:05 .semver 12:07:02 -rw-rw-r-- 1 jenkins jenkins 9207 Oct 4 12:05 Attribution.txt 12:07:02 -rw-rw-r-- 1 jenkins jenkins 27269 Oct 4 12:05 CHANGELOG.md 12:07:02 -rw-rw-r-- 1 jenkins jenkins 2146 Oct 4 12:05 Dockerfile 12:07:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 12:05 GOVERNANCE.md 12:07:02 -rw-rw-r-- 1 jenkins jenkins 688 Oct 4 12:05 Jenkinsfile 12:07:02 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 4 12:05 LICENSE 12:07:02 -rw-rw-r-- 1 jenkins jenkins 618 Oct 4 12:05 OWNERS.md 12:07:02 -rw-rw-r-- 1 jenkins jenkins 4369 Oct 4 12:05 README.md 12:07:02 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 12:06 VERSION 12:07:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 12:05 bin 12:07:02 -rw-r--r-- 1 jenkins jenkins 10 Oct 4 12:06 coverage.out 12:07:02 -rw-rw-r-- 1 jenkins jenkins 3448 Oct 4 12:05 go.mod 12:07:02 -rw-rw-r-- 1 jenkins jenkins 37326 Oct 4 12:05 go.sum 12:07:02 -rw-rw-r-- 1 jenkins jenkins 1949 Oct 4 12:05 main.go 12:07:02 -rw-rw-r-- 1 jenkins jenkins 2185 Oct 4 12:05 makefile 12:07:02 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 12:05 res 12:07:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 12:05 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:02 + 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=23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 --label arch=amd64 --label version=0.0.0 . 12:07:02 Sending build context to Docker daemon 3.138MB 12:07:02 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 12:07:02 Step 2/28 : FROM ${BASE} AS builder 12:07:02 ---> 088dc28b8676 12:07:02 Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:07:02 ---> Running in 1dad3215a52c 12:07:02 Removing intermediate container 1dad3215a52c 12:07:02 ---> 0c13759acc94 12:07:02 Step 4/28 : ARG ALPINE_PKG_EXTRA="" 12:07:02 ---> Running in 7155d87f38d3 12:07:02 Removing intermediate container 7155d87f38d3 12:07:02 ---> 6654f043c4db 12:07:02 Step 5/28 : ARG ADD_BUILD_TAGS="" 12:07:02 ---> Running in 2597a2f79f66 12:07:03 Removing intermediate container 2597a2f79f66 12:07:03 ---> c9c54e17f4f5 12:07:03 Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:07:03 ---> Running in ed734473b076 12:07:03 Removing intermediate container ed734473b076 12:07:03 ---> bd4197d5f68a 12:07:03 Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:07:03 ---> Running in 548116a209fa 12:07:03 Removing intermediate container 548116a209fa 12:07:03 ---> 9e0eca6fb9dc 12:07:03 Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:07:03 ---> Running in 619d598de459 12:07:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:07:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:07:05 OK: 211 MiB in 51 packages 12:07:05 Removing intermediate container 619d598de459 12:07:05 ---> dead09acda16 12:07:05 Step 9/28 : WORKDIR /app 12:07:05 ---> Running in 9bb0356bf89b 12:07:05 Removing intermediate container 9bb0356bf89b 12:07:05 ---> 06ecb71b5497 12:07:05 Step 10/28 : COPY go.mod vendor* ./ 12:07:06 ---> 5683bfc11cc3 12:07:06 Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:07:06 ---> Running in 793106cfc5a9 12:07:06 Removing intermediate container 793106cfc5a9 12:07:06 ---> b8123482ac88 12:07:06 Step 12/28 : COPY . . 12:07:06 ---> 52b0c7dde9ef 12:07:06 Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:07:07 ---> Running in e3f224a73a34 12:07:07 Removing intermediate container e3f224a73a34 12:07:07 ---> f779e5cfbd5b 12:07:07 Step 14/28 : RUN $MAKE 12:07:07 ---> Running in 34f199d595d5 12:07:07 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:07:29 Removing intermediate container 34f199d595d5 12:07:29 ---> 72665f997ebd 12:07:29 Step 15/28 : FROM alpine:3.16 12:07:29 3.16: Pulling from library/alpine 12:07:29 213ec9aee27d: Pulling fs layer 12:07:29 213ec9aee27d: Verifying Checksum 12:07:29 213ec9aee27d: Download complete 12:07:29 213ec9aee27d: Pull complete 12:07:29 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 12:07:29 Status: Downloaded newer image for alpine:3.16 12:07:29 ---> 9c6f07244728 12:07:29 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:07:29 ---> Running in cd408d4b9dd1 12:07:29 Removing intermediate container cd408d4b9dd1 12:07:29 ---> 5759299db816 12:07:29 Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} 12:07:29 ---> Running in 2e65fc7a3eed 12:07:29 Removing intermediate container 2e65fc7a3eed 12:07:29 ---> fee2a68ae9d7 12:07:29 Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:07:29 ---> Running in 0b3cc3db98f9 12:07:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:07:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:07:30 (1/7) Installing ca-certificates (20220614-r0) 12:07:30 (2/7) Installing dumb-init (1.2.5-r1) 12:07:30 (3/7) Installing libgcc (11.2.1_git20220219-r2) 12:07:30 (4/7) Installing libsodium (1.0.18-r0) 12:07:30 (5/7) Installing libstdc++ (11.2.1_git20220219-r2) 12:07:30 (6/7) Installing libzmq (4.3.4-r0) 12:07:30 (7/7) Installing zeromq (4.3.4-r0) 12:07:30 Executing busybox-1.35.0-r17.trigger 12:07:30 Executing ca-certificates-20220614-r0.trigger 12:07:30 OK: 9 MiB in 21 packages 12:07:30 Removing intermediate container 0b3cc3db98f9 12:07:30 ---> a664d987f501 12:07:30 Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:07:30 ---> 35764a06b94e 12:07:30 Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE 12:07:31 ---> dca0ded29cb6 12:07:31 Step 21/28 : COPY --from=builder /app/res/ /res/ 12:07:31 ---> 494b1a1b0f39 12:07:31 Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:07:32 ---> 5def25ede6ea 12:07:32 Step 23/28 : EXPOSE 48095 12:07:32 ---> Running in 60939e72cd29 12:07:32 Removing intermediate container 60939e72cd29 12:07:32 ---> ce12cce66979 12:07:32 Step 24/28 : ENTRYPOINT ["/app-service-configurable"] 12:07:32 ---> Running in 84ae9e7f75cf 12:07:32 Removing intermediate container 84ae9e7f75cf 12:07:32 ---> 6f0b80459870 12:07:32 Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:07:32 ---> Running in f195417612fd 12:07:32 Removing intermediate container f195417612fd 12:07:32 ---> e0f7f276b99a 12:07:32 Step 26/28 : LABEL arch=amd64 12:07:32 ---> Running in 42b6f486a6ab 12:07:32 Removing intermediate container 42b6f486a6ab 12:07:32 ---> 234c8ed2a870 12:07:32 Step 27/28 : LABEL git_sha=23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 12:07:32 ---> Running in f31d3c9793d9 12:07:32 Removing intermediate container f31d3c9793d9 12:07:32 ---> 1055b8c9f748 12:07:32 Step 28/28 : LABEL version=0.0.0 12:07:32 ---> Running in a0dcb0147ab6 12:07:32 Removing intermediate container a0dcb0147ab6 12:07:32 ---> bef7438d02fb 12:07:32 [Warning] One or more build-args [ARCH] were not consumed 12:07:32 Successfully built bef7438d02fb 12:07:32 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 12:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:07:33 12:07:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:07:34 latest: Pulling from edgex-lftools-log-publisher 12:07:34 5eb5b503b376: Pulling fs layer 12:07:34 5c69ac0246d0: Pulling fs layer 12:07:34 ec43610c2a17: Pulling fs layer 12:07:34 3a2ae6a8a46f: Pulling fs layer 12:07:34 33b1e0a273af: Pulling fs layer 12:07:34 5d3b04190fa2: Pulling fs layer 12:07:34 2f39f015ded8: Pulling fs layer 12:07:34 3a2ae6a8a46f: Waiting 12:07:34 33b1e0a273af: Waiting 12:07:34 5d3b04190fa2: Waiting 12:07:34 2f39f015ded8: Waiting 12:07:34 5c69ac0246d0: Download complete 12:07:34 3a2ae6a8a46f: Verifying Checksum 12:07:34 3a2ae6a8a46f: Download complete 12:07:34 33b1e0a273af: Verifying Checksum 12:07:34 33b1e0a273af: Download complete 12:07:34 ec43610c2a17: Verifying Checksum 12:07:34 ec43610c2a17: Download complete 12:07:34 5d3b04190fa2: Verifying Checksum 12:07:34 5d3b04190fa2: Download complete 12:07:34 5eb5b503b376: Verifying Checksum 12:07:34 5eb5b503b376: Download complete 12:07:34 2f39f015ded8: Download complete 12:07:35 5eb5b503b376: Pull complete 12:07:35 5c69ac0246d0: Pull complete 12:07:36 ec43610c2a17: Pull complete 12:07:36 3a2ae6a8a46f: Pull complete 12:07:36 33b1e0a273af: Pull complete 12:07:36 5d3b04190fa2: Pull complete 12:07:40 2f39f015ded8: Pull complete 12:07:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:07:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:07:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:07:40 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 12:07:40 $ 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-472 -v /w/workspace/_app-service-configurable_PR-472:/w/workspace/_app-service-configurable_PR-472:rw,z -v /w/workspace/_app-service-configurable_PR-472@tmp:/w/workspace/_app-service-configurable_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:07:42 $ docker top 66ecd66ea34552a27c30995194f8cde2ab5a680dd2c460500f84a77bc4a875df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:07:43 ---> job-cost.sh 12:07:43 lf-activate-venv: SKIPPING 12:07:43 INFO: No Stack... 12:07:43 INFO: Retrieving Pricing Info for: v3-standard-8 12:07:43 INFO: Archiving Costs [Pipeline] sh 12:07:44 + cat /w/workspace/_app-service-configurable_PR-472/archives/cost.csv 12:07:44 + cut -d, -f6 [Pipeline] lock 12:07:44 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-472-1-stack-cost] 12:07:44 Resource [jenkins-edgexfoundry-app-service-configurable-PR-472-1-stack-cost] did not exist. Created. 12:07:44 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:07:44 + echo total: 0.2199999988079071 [Pipeline] stash 12:07:44 Stashed 1 file(s) [Pipeline] } 12:07:44 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:07:44 $ docker stop --time=1 66ecd66ea34552a27c30995194f8cde2ab5a680dd2c460500f84a77bc4a875df 12:07:46 $ docker rm -f 66ecd66ea34552a27c30995194f8cde2ab5a680dd2c460500f84a77bc4a875df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:07:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7070 in /w/workspace/_app-service-configurable_PR-472 [Pipeline] { [Pipeline] ws 12:07:47 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:07:47 Selected Git installation does not exist. Using Default 12:07:47 The recommended git tool is: NONE 12:07:52 using credential edgex-jenkins-ssh 12:07:52 Cloning the remote Git repository 12:07:52 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:07:52 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:07:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:07:52 > git --version # timeout=10 12:07:52 > git --version # 'git version 2.25.1' 12:07:52 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:52 Verifying host key using known hosts file 12:07:53 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 12:07:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:07:54 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:07:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:07:54 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:07:54 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:07:54 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:54 Verifying host key using known hosts file 12:07:54 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 12:07:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/472/head:refs/remotes/origin/PR-472 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:07:55 Merging remotes/origin/main commit 36be150d6762fc2492564362988c95ea99ab1b04 into PR head commit 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 12:07:55 Merge succeeded, producing 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 12:07:55 Checking out Revision 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 (PR-472) 12:07:55 > git config core.sparsecheckout # timeout=10 12:07:55 > git checkout -f 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 # timeout=10 12:07:55 > git remote # timeout=10 12:07:55 > git config --get remote.origin.url # timeout=10 12:07:55 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:55 Verifying host key using known hosts file 12:07:55 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 12:07:55 > git merge 36be150d6762fc2492564362988c95ea99ab1b04 # timeout=10 12:07:55 > git rev-parse HEAD^{commit} # timeout=10 12:07:55 > git config core.sparsecheckout # timeout=10 12:07:55 > git checkout -f 23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 # timeout=10 12:07:56 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" 12:07:56 > git --version # timeout=10 12:07:56 > git --version # 'git version 2.25.1' 12:07:56 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:07:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:07:57 % Total % Received % Xferd Average Speed Time Time Time Current 12:07:57 Dload Upload Total Spent Left Speed 12:07:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 93348 [Pipeline] sh 12:07:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:07:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:07:58 + sudo tee /etc/docker/daemon.new 12:07:58 { 12:07:58 "registry-mirrors": [ 12:07:58 "https://nexus3.edgexfoundry.org:10001" 12:07:58 ], 12:07:58 "bip": "10.250.0.254/24", 12:07:58 "hosts": [ 12:07:58 "tcp://0.0.0.0:5555", 12:07:58 "unix:///var/run/docker.sock" 12:07:58 ], 12:07:58 "mtu": 1458, 12:07:58 "selinux-enabled": true, 12:07:58 "seccomp-profile": "/etc/docker/seccomp.json" 12:07:58 } [Pipeline] sh 12:07:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:07:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:08:17 provisioning config files... 12:08:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config15287668141857172495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:08:17 ---> docker-login.sh 12:08:17 nexus3.edgexfoundry.org:10001 12:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:18 Configure a credential helper to remove this warning. See 12:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:18 12:08:18 Login Succeeded 12:08:18 nexus3.edgexfoundry.org:10002 12:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:18 Configure a credential helper to remove this warning. See 12:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:18 12:08:18 Login Succeeded 12:08:18 nexus3.edgexfoundry.org:10003 12:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:19 Configure a credential helper to remove this warning. See 12:08:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:19 12:08:19 Login Succeeded 12:08:19 nexus3.edgexfoundry.org:10004 12:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:19 Configure a credential helper to remove this warning. See 12:08:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:19 12:08:19 Login Succeeded 12:08:19 docker.io 12:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:20 Configure a credential helper to remove this warning. See 12:08:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:20 12:08:20 Login Succeeded 12:08:20 ---> docker-login.sh ends [Pipeline] } 12:08:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:08:20 ========================================================= 12:08:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:08:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:20 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 12:08:20 Sending build context to Docker daemon 207.4kB 12:08:21 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 12:08:21 Step 2/14 : FROM ${BASE} AS builder 12:08:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:08:21 b3c136eddcbf: Pulling fs layer 12:08:21 c0a3192eca97: Pulling fs layer 12:08:21 a050256f5b6f: Pulling fs layer 12:08:21 656be50a0ddc: Pulling fs layer 12:08:21 2bbca73fdf42: Pulling fs layer 12:08:21 f607e4fc86c3: Pulling fs layer 12:08:21 4d572c569a2c: Pulling fs layer 12:08:21 fcf976331f73: Pulling fs layer 12:08:21 656be50a0ddc: Waiting 12:08:21 2bbca73fdf42: Waiting 12:08:21 f607e4fc86c3: Waiting 12:08:21 4d572c569a2c: Waiting 12:08:21 fcf976331f73: Waiting 12:08:21 a050256f5b6f: Verifying Checksum 12:08:21 a050256f5b6f: Download complete 12:08:21 c0a3192eca97: Verifying Checksum 12:08:21 c0a3192eca97: Download complete 12:08:21 2bbca73fdf42: Verifying Checksum 12:08:21 2bbca73fdf42: Download complete 12:08:21 f607e4fc86c3: Verifying Checksum 12:08:21 f607e4fc86c3: Download complete 12:08:21 b3c136eddcbf: Verifying Checksum 12:08:22 b3c136eddcbf: Pull complete 12:08:22 fcf976331f73: Verifying Checksum 12:08:22 fcf976331f73: Download complete 12:08:23 c0a3192eca97: Pull complete 12:08:23 a050256f5b6f: Pull complete 12:08:23 4d572c569a2c: Verifying Checksum 12:08:23 4d572c569a2c: Download complete 12:08:24 656be50a0ddc: Download complete 12:08:36 656be50a0ddc: Pull complete 12:08:36 2bbca73fdf42: Pull complete 12:08:36 f607e4fc86c3: Pull complete 12:08:42 4d572c569a2c: Pull complete 12:08:44 fcf976331f73: Pull complete 12:08:44 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 12:08:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:08:44 ---> 3970a7415f9e 12:08:44 Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:08:46 ---> Running in 0aa2ec23a85e 12:08:46 Removing intermediate container 0aa2ec23a85e 12:08:46 ---> cf097bb1bf90 12:08:46 Step 4/14 : ARG ALPINE_PKG_EXTRA="" 12:08:46 ---> Running in 80122046ff0a 12:08:46 Removing intermediate container 80122046ff0a 12:08:46 ---> 3a8bd87ad9a0 12:08:46 Step 5/14 : ARG ADD_BUILD_TAGS="" 12:08:46 ---> Running in 852e7be1e9a4 12:08:47 Removing intermediate container 852e7be1e9a4 12:08:47 ---> 6d591e6d43e1 12:08:47 Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:08:47 ---> Running in 88d03da202b2 12:08:47 Removing intermediate container 88d03da202b2 12:08:47 ---> 3bedc841e645 12:08:47 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:08:47 ---> Running in ddae24a282b7 12:08:49 Removing intermediate container ddae24a282b7 12:08:49 ---> e2d3feda946d 12:08:49 Step 8/14 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:08:49 ---> Running in 46beca743cf8 12:08:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:08:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:08:52 OK: 221 MiB in 51 packages 12:08:53 Removing intermediate container 46beca743cf8 12:08:53 ---> 1dd779d1dc36 12:08:53 Step 9/14 : WORKDIR /app 12:08:53 ---> Running in c0084cd23dda 12:08:53 Removing intermediate container c0084cd23dda 12:08:53 ---> 45dee77ec098 12:08:53 Step 10/14 : COPY go.mod vendor* ./ 12:08:53 ---> 14d6b5f438bb 12:08:53 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:08:53 ---> Running in 9ff220ccff77 12:09:40 Removing intermediate container 9ff220ccff77 12:09:40 ---> 5a1e5f3931c1 12:09:40 Step 12/14 : COPY . . 12:09:40 ---> d16f0aa7d506 12:09:40 Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:09:40 ---> Running in 7d1c08d5bf92 12:09:41 Removing intermediate container 7d1c08d5bf92 12:09:41 ---> cf59761b318b 12:09:41 Step 14/14 : RUN $MAKE 12:09:41 ---> Running in a5778e9cc62e 12:09:42 noop 12:09:42 Removing intermediate container a5778e9cc62e 12:09:42 ---> dfe68c24d65e 12:09:42 Successfully built dfe68c24d65e 12:09:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:43 + docker inspect -f . ci-base-image-arm64 12:09:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:09:43 prd-ubuntu20.04-docker-arm64-4c-16g-7070 does not seem to be running inside a container 12:09:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:09:44 $ docker top ff1f9720e9202fdac3eee12c56c04b99cc85fc58ca4801b11063bdbf9aa92b34 -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:45 + go version 12:09:45 go version go1.18.3 linux/arm64 [Pipeline] } 12:09:45 $ docker stop --time=1 ff1f9720e9202fdac3eee12c56c04b99cc85fc58ca4801b11063bdbf9aa92b34 12:09:47 $ docker rm -f ff1f9720e9202fdac3eee12c56c04b99cc85fc58ca4801b11063bdbf9aa92b34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:48 + docker inspect -f . ci-base-image-arm64 12:09:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:09:49 prd-ubuntu20.04-docker-arm64-4c-16g-7070 does not seem to be running inside a container 12:09:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:09:50 $ docker top fa55f21c680d790ae17542a0cb40f4f8b06d912338ed350a78a98914fac23ffc -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:51 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:09:51 + make test 12:09:51 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 12:11:13 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:11:13 CGO_ENABLED=1 go vet ./... 12:11:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:11:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:11:31 ./bin/test-attribution-txt.sh [Pipeline] echo 12:11:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:11:31 $ docker stop --time=1 fa55f21c680d790ae17542a0cb40f4f8b06d912338ed350a78a98914fac23ffc 12:11:34 $ docker rm -f fa55f21c680d790ae17542a0cb40f4f8b06d912338ed350a78a98914fac23ffc [Pipeline] // withDockerContainer [Pipeline] sh 12:11:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:11:35 Warning: overwriting stash ‘coverage-report’ 12:11:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:11:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:11:36 + ls -al . 12:11:36 total 172 12:11:36 drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 12:09 . 12:11:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 12:07 .. 12:11:36 -rw-rw-r-- 1 jenkins jenkins 119 Oct 4 12:07 .dockerignore 12:11:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 12:07 .git 12:11:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 12:07 .github 12:11:36 -rw-rw-r-- 1 jenkins jenkins 171 Oct 4 12:07 .gitignore 12:11:36 -rw-rw-r-- 1 jenkins jenkins 9207 Oct 4 12:07 Attribution.txt 12:11:36 -rw-rw-r-- 1 jenkins jenkins 27269 Oct 4 12:07 CHANGELOG.md 12:11:36 -rw-rw-r-- 1 jenkins jenkins 2146 Oct 4 12:07 Dockerfile 12:11:36 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 12:07 GOVERNANCE.md 12:11:36 -rw-rw-r-- 1 jenkins jenkins 688 Oct 4 12:07 Jenkinsfile 12:11:36 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 4 12:07 LICENSE 12:11:36 -rw-rw-r-- 1 jenkins jenkins 618 Oct 4 12:07 OWNERS.md 12:11:36 -rw-rw-r-- 1 jenkins jenkins 4369 Oct 4 12:07 README.md 12:11:36 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 12:06 VERSION 12:11:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 12:07 bin 12:11:36 -rw-r--r-- 1 jenkins jenkins 10 Oct 4 12:09 coverage.out 12:11:36 -rw-rw-r-- 1 jenkins jenkins 3448 Oct 4 12:07 go.mod 12:11:36 -rw-rw-r-- 1 jenkins jenkins 37326 Oct 4 12:07 go.sum 12:11:36 -rw-rw-r-- 1 jenkins jenkins 1949 Oct 4 12:07 main.go 12:11:36 -rw-rw-r-- 1 jenkins jenkins 2185 Oct 4 12:07 makefile 12:11:36 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 12:07 res 12:11:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 12:07 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:36 + 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=23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 --label arch=arm64 --label version=0.0.0 . 12:11:36 Sending build context to Docker daemon 208.4kB 12:11:37 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 12:11:37 Step 2/28 : FROM ${BASE} AS builder 12:11:37 ---> dfe68c24d65e 12:11:37 Step 3/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 12:11:37 ---> Running in 90fce0e5db58 12:11:37 Removing intermediate container 90fce0e5db58 12:11:37 ---> 38c0af3fdf56 12:11:37 Step 4/28 : ARG ALPINE_PKG_EXTRA="" 12:11:37 ---> Running in e9bdca2174e9 12:11:37 Removing intermediate container e9bdca2174e9 12:11:37 ---> a440db4644ba 12:11:37 Step 5/28 : ARG ADD_BUILD_TAGS="" 12:11:37 ---> Running in e971606583e3 12:11:38 Removing intermediate container e971606583e3 12:11:38 ---> a4ee723ac584 12:11:38 Step 6/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:11:38 ---> Running in 3b0519929817 12:11:38 Removing intermediate container 3b0519929817 12:11:38 ---> 4c883a2bc896 12:11:38 Step 7/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:11:38 ---> Running in f08be535b17f 12:11:40 Removing intermediate container f08be535b17f 12:11:40 ---> 78522ee62598 12:11:40 Step 8/28 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:11:40 ---> Running in d893713c008d 12:11:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:11:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:11:42 OK: 221 MiB in 51 packages 12:11:43 Removing intermediate container d893713c008d 12:11:43 ---> 4964b6341375 12:11:43 Step 9/28 : WORKDIR /app 12:11:43 ---> Running in 1a79bb7551d3 12:11:44 Removing intermediate container 1a79bb7551d3 12:11:44 ---> 4359efbba867 12:11:44 Step 10/28 : COPY go.mod vendor* ./ 12:11:44 ---> d0841c9bca47 12:11:44 Step 11/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:11:44 ---> Running in cd976420c30e 12:11:46 Removing intermediate container cd976420c30e 12:11:46 ---> 8c716ffd1aa2 12:11:46 Step 12/28 : COPY . . 12:11:47 ---> 39f000bc1a65 12:11:47 Step 13/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:11:47 ---> Running in d7780195efa9 12:11:47 Removing intermediate container d7780195efa9 12:11:47 ---> a84b02e66b37 12:11:47 Step 14/28 : RUN $MAKE 12:11:47 ---> Running in 921e25dcb45a 12:11:48 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-service-configurable 12:14:25 Removing intermediate container 921e25dcb45a 12:14:25 ---> 48508e76f82b 12:14:25 Step 15/28 : FROM alpine:3.16 12:14:25 3.16: Pulling from library/alpine 12:14:25 9b18e9b68314: Pulling fs layer 12:14:25 9b18e9b68314: Verifying Checksum 12:14:25 9b18e9b68314: Download complete 12:14:25 9b18e9b68314: Pull complete 12:14:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 12:14:25 Status: Downloaded newer image for alpine:3.16 12:14:25 ---> a6215f271958 12:14:25 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:14:25 ---> Running in 2a9ca86d218a 12:14:25 Removing intermediate container 2a9ca86d218a 12:14:25 ---> 5bc59ac67c2f 12:14:25 Step 17/28 : LABEL Name=app-service-configurable Version=${VERSION} 12:14:25 ---> Running in 8239ab5131ae 12:14:25 Removing intermediate container 8239ab5131ae 12:14:25 ---> 8f8e2da6c6c4 12:14:25 Step 18/28 : RUN apk add --update --no-cache ca-certificates zeromq dumb-init 12:14:25 ---> Running in a15ebc6bc0ea 12:14:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:14:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:14:25 (1/7) Installing ca-certificates (20220614-r0) 12:14:25 (2/7) Installing dumb-init (1.2.5-r1) 12:14:25 (3/7) Installing libgcc (11.2.1_git20220219-r2) 12:14:25 (4/7) Installing libsodium (1.0.18-r0) 12:14:25 (5/7) Installing libstdc++ (11.2.1_git20220219-r2) 12:14:25 (6/7) Installing libzmq (4.3.4-r0) 12:14:25 (7/7) Installing zeromq (4.3.4-r0) 12:14:25 Executing busybox-1.35.0-r17.trigger 12:14:25 Executing ca-certificates-20220614-r0.trigger 12:14:25 OK: 9 MiB in 21 packages 12:14:25 Removing intermediate container a15ebc6bc0ea 12:14:25 ---> 0a2508c43112 12:14:25 Step 19/28 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:14:25 ---> 888c1f640ce4 12:14:25 Step 20/28 : COPY --from=builder /app/LICENSE /LICENSE 12:14:25 ---> 545f6f795a9c 12:14:25 Step 21/28 : COPY --from=builder /app/res/ /res/ 12:14:25 ---> 684e0b1f718b 12:14:25 Step 22/28 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:14:25 ---> 324c581b508b 12:14:25 Step 23/28 : EXPOSE 48095 12:14:25 ---> Running in 08c444c0ddfc 12:14:25 Removing intermediate container 08c444c0ddfc 12:14:25 ---> 1742fe6b4684 12:14:25 Step 24/28 : ENTRYPOINT ["/app-service-configurable"] 12:14:25 ---> Running in 0d7ac8049b86 12:14:25 Removing intermediate container 0d7ac8049b86 12:14:25 ---> 0a604ffddd3b 12:14:25 Step 25/28 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:14:25 ---> Running in 389af6bc197e 12:14:25 Removing intermediate container 389af6bc197e 12:14:25 ---> 1364e1a7cf09 12:14:25 Step 26/28 : LABEL arch=arm64 12:14:25 ---> Running in 7b5559f5af7f 12:14:25 Removing intermediate container 7b5559f5af7f 12:14:25 ---> 3e8b0aef6287 12:14:25 Step 27/28 : LABEL git_sha=23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 12:14:25 ---> Running in 8ef9f406ce08 12:14:25 Removing intermediate container 8ef9f406ce08 12:14:25 ---> 5dc7b70f78c7 12:14:25 Step 28/28 : LABEL version=0.0.0 12:14:25 ---> Running in c7c02932f101 12:14:25 Removing intermediate container c7c02932f101 12:14:25 ---> 4eb9ffd307d4 12:14:25 [Warning] One or more build-args [ARCH] were not consumed 12:14:25 Successfully built 4eb9ffd307d4 12:14:25 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 12:14:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:26 12:14:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:26 arm64: Pulling from edgex-lftools-log-publisher 12:14:26 8998bd30e6a1: Pulling fs layer 12:14:26 04944245beec: Pulling fs layer 12:14:26 699f458cf7ca: Pulling fs layer 12:14:26 765212b225bb: Pulling fs layer 12:14:26 f23df028b6ca: Pulling fs layer 12:14:26 d65c8cfc05b1: Pulling fs layer 12:14:26 2437ff75d9bd: Pulling fs layer 12:14:26 765212b225bb: Waiting 12:14:26 d65c8cfc05b1: Waiting 12:14:26 f23df028b6ca: Waiting 12:14:26 2437ff75d9bd: Waiting 12:14:26 04944245beec: Verifying Checksum 12:14:26 04944245beec: Download complete 12:14:26 765212b225bb: Verifying Checksum 12:14:26 765212b225bb: Download complete 12:14:26 f23df028b6ca: Verifying Checksum 12:14:26 f23df028b6ca: Download complete 12:14:26 d65c8cfc05b1: Verifying Checksum 12:14:26 d65c8cfc05b1: Download complete 12:14:26 699f458cf7ca: Verifying Checksum 12:14:26 699f458cf7ca: Download complete 12:14:27 8998bd30e6a1: Verifying Checksum 12:14:27 8998bd30e6a1: Download complete 12:14:29 2437ff75d9bd: Verifying Checksum 12:14:29 2437ff75d9bd: Download complete 12:14:31 8998bd30e6a1: Pull complete 12:14:31 04944245beec: Pull complete 12:14:33 699f458cf7ca: Pull complete 12:14:33 765212b225bb: Pull complete 12:14:33 f23df028b6ca: Pull complete 12:14:33 d65c8cfc05b1: Pull complete 12:14:48 2437ff75d9bd: Pull complete 12:14:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:14:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:49 prd-ubuntu20.04-docker-arm64-4c-16g-7070 does not seem to be running inside a container 12:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:14:52 $ docker top 9475b7b886b6fe1d3d0ce957759382dc48708d49c9b5f1958eb85bb013d55374 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:52 ---> job-cost.sh 12:14:52 lf-activate-venv: SKIPPING 12:14:52 INFO: No Stack... 12:14:53 INFO: Retrieving Pricing Info for: v3-standard-4 12:14:54 INFO: Archiving Costs [Pipeline] sh 12:14:54 + cut -d, -f6 12:14:54 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:14:54 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-472-1-stack-cost] 12:14:54 Resource [jenkins-edgexfoundry-app-service-configurable-PR-472-1-stack-cost] did not exist. Created. 12:14:54 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:14:55 /w/workspace/app-service-configurable/1@tmp/durable-fdc75af3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:14:55 + echo total: 0.10999999940395355 [Pipeline] stash 12:14:55 Warning: overwriting stash ‘stack-cost’ 12:14:55 Stashed 1 file(s) [Pipeline] } 12:14:55 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:14:55 $ docker stop --time=1 9475b7b886b6fe1d3d0ce957759382dc48708d49c9b5f1958eb85bb013d55374 12:14:57 $ docker rm -f 9475b7b886b6fe1d3d0ce957759382dc48708d49c9b5f1958eb85bb013d55374 [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 12:14:58 provisioning config files... 12:14:58 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-472@tmp/config9417652602731172477tmp [Pipeline] { [Pipeline] sh 12:14:58 + set +x 12:14:58 + curl -s https://codecov.io/bash 12:14:58 + bash -s -- 12:14:58 12:14:58 _____ _ 12:14:58 / ____| | | 12:14:58 | | ___ __| | ___ ___ _____ __ 12:14:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:14:58 | |___| (_) | (_| | __/ (_| (_) \ V / 12:14:58 \_____\___/ \__,_|\___|\___\___/ \_/ 12:14:58 Bash-1.0.6 12:14:58 12:14:58 12:14:58 ==> git version 2.25.1 found 12:14:58 ==> 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 12:14:58 Release-Date: 2020-01-08 12:14:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:14:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:14:58 ==> Jenkins CI detected. 12:14:58 current dir:  /w/workspace/_app-service-configurable_PR-472 12:14:58 project root: . 12:14:58 --> token set from env 12:14:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:14:58 ==> Running gcov in . (disable via -X gcov) 12:14:58 ==> Python coveragepy not found 12:14:58 ==> Searching for coverage reports in: 12:14:58 + . 12:14:58 -> Found 1 reports 12:14:58 ==> Detecting git/mercurial file structure 12:14:58 ==> Reading reports 12:14:58 + ./coverage.out bytes=10 12:14:58 ==> Appending adjustments 12:14:58 https://docs.codecov.io/docs/fixing-reports 12:14:58 + Found adjustments 12:14:58 ==> Gzipping contents 12:14:58 4.0K /tmp/codecov.EtCE2K.gz 12:14:58 ==> Uploading reports 12:14:58 url: https://codecov.io 12:14:58 query: branch=PR-472&commit=23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-472%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=472&job=&cmd_args= 12:14:58 -> Pinging Codecov 12:14:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-472&commit=23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-472%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=472&job=&cmd_args= 12:14:59 -> Uploading to 12:14:59 https://storage.googleapis.com/codecov/v4/raw/2022-10-04/A97CA9966030D2A3747ED39772930CCE/23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1/a221ffd6-51c9-41a7-8a3a-ff8fac58dcfc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221004T121459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be175421031764994c979fbb9a999e32ca0ecf4e6be53c8604399b66e4d5f7fe 12:14:59 % Total % Received % Xferd Average Speed Time Time Time Current 12:14:59 Dload Upload Total Spent Left Speed 12:14:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 527 0 0 100 527 0 1973 --:--:-- --:--:-- --:--:-- 1973 12:14:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/23c51fb7d498f5d5bd6c35f09d4a8fc15b5ba4c1 [Pipeline] } 12:14:59 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 12:15:01 + [ -d /w/workspace/_app-service-configurable_PR-472/archives ] 12:15:01 + ls -al /w/workspace/_app-service-configurable_PR-472/archives 12:15:01 total 16 12:15:01 drwxr-xr-x 3 root root 4096 Oct 4 12:07 . 12:15:01 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 12:07 .. 12:15:01 drwxr-xr-x 2 root root 4096 Oct 4 12:07 cost 12:15:01 -rw-r--r-- 1 root root 96 Oct 4 12:07 cost.csv 12:15:01 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-472/archives 12:15:01 + ls -al /w/workspace/_app-service-configurable_PR-472/archives 12:15:01 total 16 12:15:01 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 12:07 . 12:15:01 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 12:07 .. 12:15:01 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 12:07 cost 12:15:01 -rw-r--r-- 1 jenkins jenkins 96 Oct 4 12:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:15:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:15:02 ---> package-listing.sh 12:15:02 ++ facter osfamily 12:15:02 ++ tr '[:upper:]' '[:lower:]' 12:15:02 + OS_FAMILY=debian 12:15:02 + workspace=/w/workspace/_app-service-configurable_PR-472 12:15:02 + START_PACKAGES=/tmp/packages_start.txt 12:15:02 + END_PACKAGES=/tmp/packages_end.txt 12:15:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:15:02 + PACKAGES=/tmp/packages_start.txt 12:15:02 + '[' /w/workspace/_app-service-configurable_PR-472 ']' 12:15:02 + PACKAGES=/tmp/packages_end.txt 12:15:02 + case "${OS_FAMILY}" in 12:15:02 + dpkg -l 12:15:02 + grep '^ii' 12:15:02 + '[' -f /tmp/packages_start.txt ']' 12:15:02 + '[' -f /tmp/packages_end.txt ']' 12:15:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:15:02 + '[' /w/workspace/_app-service-configurable_PR-472 ']' 12:15:02 + mkdir -p /w/workspace/_app-service-configurable_PR-472/archives/ 12:15:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-472/archives/ [Pipeline] echo 12:15:02 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-472/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:15:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:15:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:03 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 12:15:03 $ 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-472/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-472 -v /w/workspace/_app-service-configurable_PR-472:/w/workspace/_app-service-configurable_PR-472:rw,z -v /w/workspace/_app-service-configurable_PR-472@tmp:/w/workspace/_app-service-configurable_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:15:04 $ docker top 92c474b54e5a936d34baf8c7db639e95f661eea7e9670dabc1790f0be059e7e7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:15:04 + touch /tmp/pre-build-complete [Pipeline] sh 12:15:04 + mkdir -p /var/log/sysstat [Pipeline] sh 12:15:05 + ls /var/log/sa-host 12:15:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:05 provisioning config files... 12:15:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-472@tmp/config11931972987652521362tmp [Pipeline] { [Pipeline] echo 12:15:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:15:05 ---> create-netrc.sh [Pipeline] } 12:15:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:15:06 ---> python-tools-install.sh [Pipeline] echo 12:15:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:15:06 ---> sudo-logs.sh 12:15:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:15:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:15:06 ---> job-cost.sh 12:15:06 lf-activate-venv: SKIPPING 12:15:06 DEBUG: total: 0.2199999988079071 12:15:06 INFO: Retrieving Stack Cost... 12:15:07 INFO: Retrieving Pricing Info for: v3-standard-8 12:15:07 INFO: Archiving Costs [Pipeline] echo 12:15:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:15:07 ---> logs-deploy.sh 12:15:07 lf-activate-venv: SKIPPING 12:15:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-472/1 12:15:07 INFO: archiving workspace using pattern(s): 12:15:08 Archives upload complete. 12:15:08 INFO: archiving logs to Nexus