Pull request #1247 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bbe756859ecc8b3519e48aeb8f41cd658003b139+e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce (e27470f972fc8a0f2c6f3da0c3362d3a2078588f) 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-ssh8350452221004612044.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13679209236354554169.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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/device-sdk-go/branches/PR-1247/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/device-sdk-go/branches/PR-1247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7853026076567954639.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/device-sdk-go/branches/PR-1247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4566694067535074711.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh9541243272896221986.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/device-sdk-go/branches/PR-1247/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/device-sdk-go/branches/PR-1247/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9719868815348497416.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-107128 in /w/workspace/gexfoundry_device-sdk-go_PR-1247 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1247 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.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/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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/device-sdk-go.git +refs/pull/1247/head:refs/remotes/origin/PR-1247 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce into PR head commit bbe756859ecc8b3519e48aeb8f41cd658003b139 Merge succeeded, producing bbe756859ecc8b3519e48aeb8f41cd658003b139 Checking out Revision bbe756859ecc8b3519e48aeb8f41cd658003b139 (PR-1247) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:09:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git config core.sparsecheckout # timeout=10 > git checkout -f bbe756859ecc8b3519e48aeb8f41cd658003b139 # 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 e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbe756859ecc8b3519e48aeb8f41cd658003b139 # timeout=10 [Pipeline] { [Pipeline] withCredentials 07:09:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:09:53 ========================================================= 07:09:53 EdgeX Global Pipelines Version Info 07:09:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:09:53 ------------------- 07:09:53 stable info: 07:09:53 ------------------- 07:09:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:09:53 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:09:53 Message: update stable to v1.0.243 07:09:54 ------------------- 07:09:54 experimental info: 07:09:54 ------------------- 07:09:54 Commited By: **** collab-it+edgex@linuxfoundation.org 07:09:54 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:09:54 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:09:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:09:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:09:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:09:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:09:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:09:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:09:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1247 [Pipeline] echo 07:09:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1247 [Pipeline] echo 07:09:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1247 [Pipeline] echo 07:09:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbe756859ecc8b3519e48aeb8f41cd658003b139 [Pipeline] echo 07:09:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbe7568 [Pipeline] echo 07:09:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:09:56 provisioning config files... 07:09:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/config900513248488113590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:09:56 ---> docker-login.sh 07:09:56 nexus3.edgexfoundry.org:10001 07:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:57 Configure a credential helper to remove this warning. See 07:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:57 07:09:57 Login Succeeded 07:09:57 nexus3.edgexfoundry.org:10002 07:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:57 Configure a credential helper to remove this warning. See 07:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:57 07:09:57 Login Succeeded 07:09:57 nexus3.edgexfoundry.org:10003 07:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:57 Configure a credential helper to remove this warning. See 07:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:57 07:09:57 Login Succeeded 07:09:57 nexus3.edgexfoundry.org:10004 07:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:57 Configure a credential helper to remove this warning. See 07:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:57 07:09:57 Login Succeeded 07:09:57 docker.io 07:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:57 Configure a credential helper to remove this warning. See 07:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:57 07:09:57 Login Succeeded 07:09:57 ---> docker-login.sh ends [Pipeline] } 07:09:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:09:58 + git rev-list -1 --merges bbe756859ecc8b3519e48aeb8f41cd658003b139~1..bbe756859ecc8b3519e48aeb8f41cd658003b139 [Pipeline] echo 07:09:58 -----------> git rev-list -1 --merges bbe756859ecc8b3519e48aeb8f41cd658003b139~1..bbe756859ecc8b3519e48aeb8f41cd658003b139 bbe756859ecc8b3519e48aeb8f41cd658003b139 [false] [Pipeline] sh 07:09:59 + git log --format=format:%s -1 bbe756859ecc8b3519e48aeb8f41cd658003b139 [Pipeline] echo 07:09:59 ========================================================= 07:09:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:09:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:09:59 + git log --format=format:%s -1 bbe756859ecc8b3519e48aeb8f41cd658003b139 [Pipeline] echo 07:09:59 [semverPrep] GIT_COMMIT: bbe756859ecc8b3519e48aeb8f41cd658003b139, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 07:09:59 [semverPrep] This is not a build commit. [Pipeline] sh 07:10:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:10:00 + grep -v github /etc/ssh/ssh_known_hosts 07:10:00 + [ -e /tmp/ssh_known_hosts ] 07:10:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:10:00 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:10:00 sudo tee -a /etc/ssh/ssh_known_hosts 07:10:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:10:00 07:10:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:10:00 0.1.4: Pulling from edgex-devops/py-git-semver 07:10:00 b85a868b505f: Pulling fs layer 07:10:00 e2be974225ed: Pulling fs layer 07:10:00 339a4e72a1f5: Pulling fs layer 07:10:00 988bab9f4d93: Pulling fs layer 07:10:00 1469e6f7b9e6: Pulling fs layer 07:10:00 eaf3925da568: Pulling fs layer 07:10:00 bab4dde63d76: Pulling fs layer 07:10:00 bde34c3a00c8: Pulling fs layer 07:10:00 b352a97aabf1: Pulling fs layer 07:10:00 4872d77fe225: Pulling fs layer 07:10:00 5851b861e8e6: Pulling fs layer 07:10:00 bde34c3a00c8: Waiting 07:10:00 1469e6f7b9e6: Waiting 07:10:00 bab4dde63d76: Waiting 07:10:00 eaf3925da568: Waiting 07:10:00 5851b861e8e6: Waiting 07:10:00 988bab9f4d93: Waiting 07:10:00 b352a97aabf1: Waiting 07:10:00 4872d77fe225: Waiting 07:10:00 e2be974225ed: Download complete 07:10:00 988bab9f4d93: Verifying Checksum 07:10:00 988bab9f4d93: Download complete 07:10:01 1469e6f7b9e6: Verifying Checksum 07:10:01 1469e6f7b9e6: Download complete 07:10:01 eaf3925da568: Verifying Checksum 07:10:01 eaf3925da568: Download complete 07:10:01 339a4e72a1f5: Verifying Checksum 07:10:01 339a4e72a1f5: Download complete 07:10:01 bde34c3a00c8: Verifying Checksum 07:10:01 bde34c3a00c8: Download complete 07:10:01 b352a97aabf1: Verifying Checksum 07:10:01 b352a97aabf1: Download complete 07:10:01 4872d77fe225: Verifying Checksum 07:10:01 4872d77fe225: Download complete 07:10:01 5851b861e8e6: Verifying Checksum 07:10:01 5851b861e8e6: Download complete 07:10:01 b85a868b505f: Verifying Checksum 07:10:01 b85a868b505f: Download complete 07:10:01 bab4dde63d76: Verifying Checksum 07:10:01 bab4dde63d76: Download complete 07:10:02 b85a868b505f: Pull complete 07:10:02 e2be974225ed: Pull complete 07:10:03 339a4e72a1f5: Pull complete 07:10:03 988bab9f4d93: Pull complete 07:10:03 1469e6f7b9e6: Pull complete 07:10:03 eaf3925da568: Pull complete 07:10:05 bab4dde63d76: Pull complete 07:10:05 bde34c3a00c8: Pull complete 07:10:05 b352a97aabf1: Pull complete 07:10:05 4872d77fe225: Pull complete 07:10:05 5851b861e8e6: Pull complete 07:10:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:10:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:10:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:05 prd-ubuntu20.04-docker-8c-8g-107128 does not seem to be running inside a container 07:10:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1247 -v /w/workspace/gexfoundry_device-sdk-go_PR-1247:/w/workspace/gexfoundry_device-sdk-go_PR-1247:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1247@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 07:10:09 $ docker top b1edb77d0550c504f364e603291b29ce4d28f90909cf3d2c06110541a274a5c2 -eo pid,comm 07:10:09 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). 07:10:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:10:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:10:09 [ssh-agent] Looking for ssh-agent implementation... 07:10:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:10:09 $ docker exec b1edb77d0550c504f364e603291b29ce4d28f90909cf3d2c06110541a274a5c2 ssh-agent 07:10:10 SSH_AUTH_SOCK=/tmp/ssh-hu97ZQ6Yy9uZ/agent.32 07:10:10 SSH_AGENT_PID=38 07:10:10 Running ssh-add (command line suppressed) 07:10:10 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/private_key_14949775380710097580.key (/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/private_key_14949775380710097580.key) 07:10:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:10:10 + git tag --points-at HEAD [Pipeline] } 07:10:10 $ docker exec --env ******** --env ******** b1edb77d0550c504f364e603291b29ce4d28f90909cf3d2c06110541a274a5c2 ssh-agent -k 07:10:10 unset SSH_AUTH_SOCK; 07:10:10 unset SSH_AGENT_PID; 07:10:10 echo Agent pid 38 killed; 07:10:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:10:10 [ssh-agent] Looking for ssh-agent implementation... 07:10:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:10:10 $ docker exec b1edb77d0550c504f364e603291b29ce4d28f90909cf3d2c06110541a274a5c2 ssh-agent 07:10:11 SSH_AUTH_SOCK=/tmp/ssh-qmK0kv1DySt9/agent.71 07:10:11 SSH_AGENT_PID=77 07:10:11 Running ssh-add (command line suppressed) 07:10:11 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/private_key_9560724278411986728.key (/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/private_key_9560724278411986728.key) 07:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:10:11 + git semver init 07:10:11 2022-10-25 07:10:11,659 [run_init] DEBUG init version:0.0.0 force:False 07:10:11 2022-10-25 07:10:11,660 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver 07:10:11 2022-10-25 07:10:11,661 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver 07:10:11 2022-10-25 07:10:11,661 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1247, universal_newlines=False, shell=None, istream=None) 07:10:13 2022-10-25 07:10:12,656 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1247/.git/info/exclude 07:10:13 2022-10-25 07:10:12,656 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver/PR-1247 with force:False 07:10:13 2022-10-25 07:10:12,656 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver/PR-1247 07:10:13 2022-10-25 07:10:12,659 [execute] INFO git cat-file --batch-check 07:10:13 2022-10-25 07:10:12,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver, universal_newlines=False, shell=None, istream=) 07:10:13 2022-10-25 07:10:12,665 [execute] INFO git cat-file --batch 07:10:13 2022-10-25 07:10:12,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver, universal_newlines=False, shell=None, istream=) 07:10:13 2022-10-25 07:10:12,670 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1247/.semver/PR-1247 07:10:13 0.0.0 [Pipeline] } 07:10:13 $ docker exec --env ******** --env ******** b1edb77d0550c504f364e603291b29ce4d28f90909cf3d2c06110541a274a5c2 ssh-agent -k 07:10:13 unset SSH_AUTH_SOCK; 07:10:13 unset SSH_AGENT_PID; 07:10:13 echo Agent pid 77 killed; 07:10:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:10:13 + git semver [Pipeline] } 07:10:13 $ docker stop --time=1 b1edb77d0550c504f364e603291b29ce4d28f90909cf3d2c06110541a274a5c2 07:10:15 $ docker rm -f b1edb77d0550c504f364e603291b29ce4d28f90909cf3d2c06110541a274a5c2 [Pipeline] // withDockerContainer [Pipeline] sh 07:10:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:10:16 Stashed 1 file(s) [Pipeline] echo 07:10:16 [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 07:10:16 provisioning config files... 07:10:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/config8838097257066173153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:10:18 ---> docker-login.sh 07:10:18 nexus3.edgexfoundry.org:10001 07:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:18 Configure a credential helper to remove this warning. See 07:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:18 07:10:18 Login Succeeded 07:10:18 nexus3.edgexfoundry.org:10002 07:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:18 Configure a credential helper to remove this warning. See 07:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:18 07:10:18 Login Succeeded 07:10:18 nexus3.edgexfoundry.org:10003 07:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:18 Configure a credential helper to remove this warning. See 07:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:18 07:10:18 Login Succeeded 07:10:18 nexus3.edgexfoundry.org:10004 07:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:18 Configure a credential helper to remove this warning. See 07:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:18 07:10:18 Login Succeeded 07:10:18 docker.io 07:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:18 Configure a credential helper to remove this warning. See 07:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:18 07:10:18 Login Succeeded 07:10:18 ---> docker-login.sh ends [Pipeline] } 07:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:10:19 ========================================================= 07:10:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:10:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:19 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:10:19 Sending build context to Docker daemon 10.06MB 07:10:19 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:10:19 Step 2/11 : FROM ${BASE} AS builder 07:10:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:10:19 213ec9aee27d: Pulling fs layer 07:10:19 4583459ba037: Pulling fs layer 07:10:19 93c1e223e6f2: Pulling fs layer 07:10:19 53926ce57604: Pulling fs layer 07:10:19 21b2b0c7a3f4: Pulling fs layer 07:10:19 30f14e443154: Pulling fs layer 07:10:19 801331c1e519: Pulling fs layer 07:10:19 99cc6dd402b0: Pulling fs layer 07:10:19 7d9ed39f4882: Pulling fs layer 07:10:19 801331c1e519: Waiting 07:10:19 30f14e443154: Waiting 07:10:19 99cc6dd402b0: Waiting 07:10:19 21b2b0c7a3f4: Waiting 07:10:19 7d9ed39f4882: Waiting 07:10:19 53926ce57604: Waiting 07:10:19 93c1e223e6f2: Verifying Checksum 07:10:19 93c1e223e6f2: Download complete 07:10:19 4583459ba037: Download complete 07:10:19 21b2b0c7a3f4: Download complete 07:10:19 30f14e443154: Verifying Checksum 07:10:19 30f14e443154: Download complete 07:10:19 213ec9aee27d: Verifying Checksum 07:10:19 213ec9aee27d: Download complete 07:10:19 801331c1e519: Download complete 07:10:19 213ec9aee27d: Pull complete 07:10:20 4583459ba037: Pull complete 07:10:20 93c1e223e6f2: Pull complete 07:10:20 7d9ed39f4882: Verifying Checksum 07:10:20 7d9ed39f4882: Download complete 07:10:20 99cc6dd402b0: Verifying Checksum 07:10:20 99cc6dd402b0: Download complete 07:10:20 53926ce57604: Verifying Checksum 07:10:20 53926ce57604: Download complete 07:10:24 53926ce57604: Pull complete 07:10:24 21b2b0c7a3f4: Pull complete 07:10:24 30f14e443154: Pull complete 07:10:24 801331c1e519: Pull complete 07:10:26 99cc6dd402b0: Pull complete 07:10:27 7d9ed39f4882: Pull complete 07:10:27 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 07:10:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:10:27 ---> 1dedd983c030 07:10:27 Step 3/11 : ARG MAKE=make build 07:10:31 Still waiting to schedule task 07:10:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:10:32 ---> Running in 398e883cc0e6 07:10:32 Removing intermediate container 398e883cc0e6 07:10:32 ---> 1c87251489ca 07:10:32 Step 4/11 : WORKDIR /device-sdk-go 07:10:32 ---> Running in 3faedb26911e 07:10:32 Removing intermediate container 3faedb26911e 07:10:32 ---> 62783f6b0bfc 07:10:32 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:10:33 ---> Running in c451e0431165 07:10:33 Removing intermediate container c451e0431165 07:10:33 ---> 4ed43104a351 07:10:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:10:33 ---> Running in c760ed33305d 07:10:34 Removing intermediate container c760ed33305d 07:10:34 ---> 29d0ed56ff2a 07:10:34 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:10:34 ---> Running in 7e68134caeaa 07:10:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:10:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:10:35 OK: 211 MiB in 51 packages 07:10:36 Removing intermediate container 7e68134caeaa 07:10:36 ---> 4f239e1fd250 07:10:36 Step 8/11 : COPY go.mod vendor* ./ 07:10:36 ---> 3ec06f9859e0 07:10:36 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:10:36 ---> Running in ed69964e0c6d 07:11:02 Removing intermediate container ed69964e0c6d 07:11:02 ---> f47b4deae768 07:11:02 Step 10/11 : COPY . . 07:11:02 ---> dc23ae35c72b 07:11:02 Step 11/11 : RUN ${MAKE} 07:11:02 ---> Running in b8b27fbc631f 07:11:02 noop 07:11:02 Removing intermediate container b8b27fbc631f 07:11:02 ---> 94c532ef43db 07:11:02 Successfully built 94c532ef43db 07:11:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:03 + docker inspect -f . ci-base-image-x86_64 07:11:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:03 prd-ubuntu20.04-docker-8c-8g-107128 does not seem to be running inside a container 07:11:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1247 -v /w/workspace/gexfoundry_device-sdk-go_PR-1247:/w/workspace/gexfoundry_device-sdk-go_PR-1247:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1247@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 07:11:03 $ docker top 6512602238c608508bcaf155b3a28fedecb72c150dabd098ad0ff1002c65ecc5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:04 + go version 07:11:04 go version go1.18.7 linux/amd64 [Pipeline] } 07:11:04 $ docker stop --time=1 6512602238c608508bcaf155b3a28fedecb72c150dabd098ad0ff1002c65ecc5 07:11:05 $ docker rm -f 6512602238c608508bcaf155b3a28fedecb72c150dabd098ad0ff1002c65ecc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:06 + docker inspect -f . ci-base-image-x86_64 07:11:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:06 prd-ubuntu20.04-docker-8c-8g-107128 does not seem to be running inside a container 07:11:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1247 -v /w/workspace/gexfoundry_device-sdk-go_PR-1247:/w/workspace/gexfoundry_device-sdk-go_PR-1247:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1247@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 07:11:07 $ docker top 3d4947698f471ac06d963c81fa032ff60f8caf71b35555319dda6e6deb4a8938 -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:07 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1247 [Pipeline] fileExists [Pipeline] sh 07:11:07 + make test 07:11:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:11:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 27.6% of statements 07:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.114s coverage: 78.9% of statements 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 07:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.134s coverage: 73.1% of statements 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 54.4% of statements 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 65.1% of statements 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 07:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.783s coverage: 89.2% of statements 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 07:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:11:47 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 07:11:47 GO111MODULE=on go vet ./... 07:11:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:11:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:11:48 ./bin/test-attribution-txt.sh 07:11:48 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 07:11:48 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 07:11:48 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 07:11:48 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 07:11:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:11:48 $ docker stop --time=1 3d4947698f471ac06d963c81fa032ff60f8caf71b35555319dda6e6deb4a8938 07:11:51 $ docker rm -f 3d4947698f471ac06d963c81fa032ff60f8caf71b35555319dda6e6deb4a8938 [Pipeline] // withDockerContainer [Pipeline] sh 07:11:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:11:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:11:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:11:53 + ls -al . 07:11:53 total 280 07:11:53 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 07:11 . 07:11:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 07:09 .. 07:11:53 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 07:09 .dockerignore 07:11:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 07:11 .git 07:11:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 07:09 .github 07:11:53 -rw-rw-r-- 1 jenkins jenkins 131 Oct 25 07:09 .gitignore 07:11:53 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 07:09 .golangci.yml 07:11:53 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 07:10 .semver 07:11:53 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 25 07:09 CHANGELOG.md 07:11:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 07:09 GOVERNANCE.md 07:11:53 -rw-rw-r-- 1 jenkins jenkins 880 Oct 25 07:09 Jenkinsfile 07:11:53 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 07:09 LICENSE 07:11:53 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 25 07:09 Makefile 07:11:53 -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 07:09 OWNERS.md 07:11:53 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 25 07:09 README.md 07:11:53 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 07:10 VERSION 07:11:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 07:09 bin 07:11:53 -rw-r--r-- 1 jenkins jenkins 101759 Oct 25 07:11 coverage.out 07:11:53 drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 07:09 example 07:11:53 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 07:09 go.mod 07:11:53 -rw-rw-r-- 1 jenkins jenkins 44505 Oct 25 07:09 go.sum 07:11:53 drwxrwxr-x 14 jenkins jenkins 4096 Oct 25 07:09 internal 07:11:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 07:09 openapi 07:11:53 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 07:09 pkg 07:11:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 07:09 snap 07:11:53 -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 07:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:53 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=bbe756859ecc8b3519e48aeb8f41cd658003b139 --label arch=amd64 --label version=0.0.0 . 07:11:53 Sending build context to Docker daemon 10.17MB 07:11:53 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:11:53 Step 2/25 : FROM ${BASE} AS builder 07:11:53 ---> 94c532ef43db 07:11:53 Step 3/25 : ARG MAKE=make build 07:11:54 ---> Running in 9eb34b7c50f1 07:11:54 Removing intermediate container 9eb34b7c50f1 07:11:54 ---> 0d32222f0a3d 07:11:54 Step 4/25 : WORKDIR /device-sdk-go 07:11:54 ---> Running in 755636470fa6 07:11:54 Removing intermediate container 755636470fa6 07:11:54 ---> 1fdad8f86f36 07:11:54 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:11:54 ---> Running in 175f6b8d724e 07:11:54 Removing intermediate container 175f6b8d724e 07:11:54 ---> bb494ea041c0 07:11:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:11:54 ---> Running in d767033ac51c 07:11:55 Removing intermediate container d767033ac51c 07:11:55 ---> 472a192bcfc5 07:11:55 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:11:55 ---> Running in d195c5b2c20f 07:11:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:11:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:11:56 OK: 211 MiB in 51 packages 07:11:56 Removing intermediate container d195c5b2c20f 07:11:56 ---> 7bb0c06f4ec6 07:11:56 Step 8/25 : COPY go.mod vendor* ./ 07:11:56 ---> f0c1d166c6f3 07:11:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:11:56 ---> Running in 31e3b50a3200 07:11:57 Removing intermediate container 31e3b50a3200 07:11:57 ---> af1ebae147d9 07:11:57 Step 10/25 : COPY . . 07:11:58 ---> 53356bd63dce 07:11:58 Step 11/25 : RUN ${MAKE} 07:11:58 ---> Running in bffcbac28f23 07:11:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:12:16 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:12:19 Removing intermediate container bffcbac28f23 07:12:19 ---> d8dc480b3572 07:12:19 Step 12/25 : FROM alpine:3.16 07:12:19 3.16: Pulling from library/alpine 07:12:20 213ec9aee27d: Already exists 07:12:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:12:20 Status: Downloaded newer image for alpine:3.16 07:12:20 ---> 9c6f07244728 07:12:20 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:12:20 ---> Running in ee241186a60c 07:12:20 Removing intermediate container ee241186a60c 07:12:20 ---> 8ac787e703ea 07:12:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:12:20 ---> Running in 08fe457ee02f 07:12:20 Removing intermediate container 08fe457ee02f 07:12:20 ---> 8ac0152dc5bd 07:12:20 Step 15/25 : RUN apk add --update --no-cache zeromq 07:12:21 ---> Running in 9d6f40003b3a 07:12:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:12:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:12:22 (1/5) Installing libgcc (11.2.1_git20220219-r2) 07:12:22 (2/5) Installing libsodium (1.0.18-r0) 07:12:22 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 07:12:22 (4/5) Installing libzmq (4.3.4-r0) 07:12:22 (5/5) Installing zeromq (4.3.4-r0) 07:12:22 Executing busybox-1.35.0-r17.trigger 07:12:22 OK: 8 MiB in 19 packages 07:12:23 Removing intermediate container 9d6f40003b3a 07:12:23 ---> f8e5e3beaeda 07:12:23 Step 16/25 : WORKDIR / 07:12:23 ---> Running in 3ebe8f7748ed 07:12:23 Removing intermediate container 3ebe8f7748ed 07:12:23 ---> 774397ba11c4 07:12:23 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:12:23 ---> a8afb7d10cf9 07:12:23 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:12:24 ---> 6491d54507c5 07:12:24 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:12:24 ---> b207053ac340 07:12:24 Step 20/25 : EXPOSE 59999 07:12:25 ---> Running in 6db0ec121e0e 07:12:25 Removing intermediate container 6db0ec121e0e 07:12:25 ---> 822612e0be8b 07:12:25 Step 21/25 : ENTRYPOINT ["/device-simple"] 07:12:26 ---> Running in a1e11b0e0a4f 07:12:26 Removing intermediate container a1e11b0e0a4f 07:12:26 ---> ff5a3f339e4c 07:12:26 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:12:26 ---> Running in fe749dda701b 07:12:26 Removing intermediate container fe749dda701b 07:12:26 ---> d828f6aac5ff 07:12:26 Step 23/25 : LABEL arch=amd64 07:12:26 ---> Running in 2f5bb8f0e25b 07:12:26 Removing intermediate container 2f5bb8f0e25b 07:12:26 ---> 7e12a0bc3080 07:12:26 Step 24/25 : LABEL git_sha=bbe756859ecc8b3519e48aeb8f41cd658003b139 07:12:27 ---> Running in 826b3ed63334 07:12:27 Removing intermediate container 826b3ed63334 07:12:27 ---> e6b5a439c563 07:12:27 Step 25/25 : LABEL version=0.0.0 07:12:27 ---> Running in 1a7a09b5d394 07:12:27 Removing intermediate container 1a7a09b5d394 07:12:27 ---> d09885ec7f53 07:12:27 [Warning] One or more build-args [ARCH] were not consumed 07:12:27 Successfully built d09885ec7f53 07:12:27 Successfully tagged device-sdk-simple: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 07:12:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:12:28 07:12:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:12:28 latest: Pulling from edgex-lftools-log-publisher 07:12:28 5eb5b503b376: Pulling fs layer 07:12:28 5c69ac0246d0: Pulling fs layer 07:12:28 ec43610c2a17: Pulling fs layer 07:12:28 3a2ae6a8a46f: Pulling fs layer 07:12:28 33b1e0a273af: Pulling fs layer 07:12:28 5d3b04190fa2: Pulling fs layer 07:12:28 2f39f015ded8: Pulling fs layer 07:12:28 3a2ae6a8a46f: Waiting 07:12:28 33b1e0a273af: Waiting 07:12:28 5d3b04190fa2: Waiting 07:12:28 5c69ac0246d0: Verifying Checksum 07:12:28 5c69ac0246d0: Download complete 07:12:28 3a2ae6a8a46f: Verifying Checksum 07:12:28 3a2ae6a8a46f: Download complete 07:12:28 33b1e0a273af: Verifying Checksum 07:12:28 33b1e0a273af: Download complete 07:12:28 5d3b04190fa2: Download complete 07:12:28 ec43610c2a17: Verifying Checksum 07:12:28 ec43610c2a17: Download complete 07:12:29 5eb5b503b376: Verifying Checksum 07:12:29 5eb5b503b376: Download complete 07:12:29 2f39f015ded8: Download complete 07:12:30 5eb5b503b376: Pull complete 07:12:30 5c69ac0246d0: Pull complete 07:12:31 ec43610c2a17: Pull complete 07:12:31 3a2ae6a8a46f: Pull complete 07:12:31 33b1e0a273af: Pull complete 07:12:31 5d3b04190fa2: Pull complete 07:12:35 2f39f015ded8: Pull complete 07:12:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:12:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:12:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:35 prd-ubuntu20.04-docker-8c-8g-107128 does not seem to be running inside a container 07:12:35 $ 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/gexfoundry_device-sdk-go_PR-1247 -v /w/workspace/gexfoundry_device-sdk-go_PR-1247:/w/workspace/gexfoundry_device-sdk-go_PR-1247:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1247@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 07:12:38 $ docker top b1c809aecef3401764fa32afa7ccadd8ecad7b9d23fd43da269e15249af71fd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:12:39 ---> job-cost.sh 07:12:39 lf-activate-venv: SKIPPING 07:12:39 INFO: No Stack... 07:12:39 INFO: Retrieving Pricing Info for: v3-standard-8 07:12:39 INFO: Archiving Costs [Pipeline] sh 07:12:40 + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives/cost.csv 07:12:40 cut -d, -f6 [Pipeline] lock 07:12:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1247-1-stack-cost] 07:12:40 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1247-1-stack-cost] did not exist. Created. 07:12:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1247-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:12:40 + echo total: 0.2199999988079071 [Pipeline] stash 07:12:40 Stashed 1 file(s) [Pipeline] } 07:12:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1247-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:12:40 $ docker stop --time=1 b1c809aecef3401764fa32afa7ccadd8ecad7b9d23fd43da269e15249af71fd0 07:12:41 $ docker rm -f b1c809aecef3401764fa32afa7ccadd8ecad7b9d23fd43da269e15249af71fd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } Aborted by Eric Ball [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:02:49 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:02:51 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives ] 08:02:51 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives 08:02:51 total 16 08:02:51 drwxr-xr-x 3 root root 4096 Oct 25 07:12 . 08:02:51 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 07:12 .. 08:02:51 drwxr-xr-x 2 root root 4096 Oct 25 07:12 cost 08:02:51 -rw-r--r-- 1 root root 86 Oct 25 07:12 cost.csv 08:02:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives 08:02:51 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives 08:02:51 total 16 08:02:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 07:12 . 08:02:51 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 07:12 .. 08:02:51 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 07:12 cost 08:02:51 -rw-r--r-- 1 jenkins jenkins 86 Oct 25 07:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:02:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:02:53 ---> package-listing.sh 08:02:53 ++ facter osfamily 08:02:53 ++ tr '[:upper:]' '[:lower:]' 08:02:53 + OS_FAMILY=debian 08:02:53 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1247 08:02:53 + START_PACKAGES=/tmp/packages_start.txt 08:02:53 + END_PACKAGES=/tmp/packages_end.txt 08:02:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:02:53 + PACKAGES=/tmp/packages_start.txt 08:02:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1247 ']' 08:02:53 + PACKAGES=/tmp/packages_end.txt 08:02:53 + case "${OS_FAMILY}" in 08:02:53 + dpkg -l 08:02:53 + grep '^ii' 08:02:53 + '[' -f /tmp/packages_start.txt ']' 08:02:53 + '[' -f /tmp/packages_end.txt ']' 08:02:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:02:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1247 ']' 08:02:53 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives/ 08:02:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1247/archives/ [Pipeline] echo 08:02:53 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/gexfoundry_device-sdk-go_PR-1247/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:02:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:02:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:54 prd-ubuntu20.04-docker-8c-8g-107128 does not seem to be running inside a container 08:02:54 $ 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/gexfoundry_device-sdk-go_PR-1247/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1247 -v /w/workspace/gexfoundry_device-sdk-go_PR-1247:/w/workspace/gexfoundry_device-sdk-go_PR-1247:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1247@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 08:02:54 $ docker top d84a930158a7a47fa3f326b1c21a352f83aa0f3c7b8f060bc722bff7246bf2e2 -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:55 + touch /tmp/pre-build-complete [Pipeline] sh 08:02:55 + mkdir -p /var/log/sysstat [Pipeline] sh 08:02:55 + ls /var/log/sa-host 08:02:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:02:55 provisioning config files... 08:02:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1247@tmp/config7944090574877382726tmp [Pipeline] { [Pipeline] echo 08:02:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:02:56 ---> create-netrc.sh [Pipeline] } 08:02:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:02:56 ---> python-tools-install.sh [Pipeline] echo 08:02:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:02:57 ---> sudo-logs.sh 08:02:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:02:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:02:57 ---> job-cost.sh 08:02:57 lf-activate-venv: SKIPPING 08:02:57 DEBUG: total: 0.2199999988079071 08:02:57 INFO: Retrieving Stack Cost... 08:02:57 INFO: Retrieving Pricing Info for: v3-standard-8 08:02:58 INFO: Archiving Costs [Pipeline] echo 08:02:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:02:58 ---> logs-deploy.sh 08:02:58 lf-activate-venv: SKIPPING 08:02:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1247/1 08:02:58 INFO: archiving workspace using pattern(s): 08:02:59 Archives upload complete. 08:02:59 INFO: archiving logs to Nexus