Pull request #1388 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch levski at a6639bc907c868da99f3246e240586b858116a4d rather than 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 Obtained Jenkinsfile from a6639bc907c868da99f3246e240586b858116a4d 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-ssh17456030066170467468.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4933469597384128044.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1388/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-1388/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh772648734744299135.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1388/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4595231143938771174.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh2255377989669766502.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1388/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-1388/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10545975210800417732.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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, goVersion:1.18, 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-2276 in /w/workspace/gexfoundry_device-sdk-go_PR-1388 [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-1388 # 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 > 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 Merging remotes/origin/levski commit a6639bc907c868da99f3246e240586b858116a4d into PR head commit 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 Merge succeeded, producing 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 Checking out Revision 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 (PR-1388) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1388/head:refs/remotes/origin/PR-1388 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a6639bc907c868da99f3246e240586b858116a4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 # timeout=10 Commit message: "docs: change log updated" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:57:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:57:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:57:17 ========================================================= 20:57:17 EdgeX Global Pipelines Version Info 20:57:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:57:17 ------------------- 20:57:17 stable info: 20:57:17 ------------------- 20:57:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:57:17 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:57:17 Message: update stable to v1.0.245 20:57:18 ------------------- 20:57:18 experimental info: 20:57:18 ------------------- 20:57:18 Commited By: **** collab-it+edgex@linuxfoundation.org 20:57:18 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 20:57:18 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:57:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:57:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:57:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:57:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:57:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1388 [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1388 [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1388 [Pipeline] echo 20:57:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 [Pipeline] echo 20:57:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 419ed82 [Pipeline] echo 20:57:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:20 provisioning config files... 20:57:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config16896712796402855956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:20 ---> docker-login.sh 20:57:20 nexus3.edgexfoundry.org:10001 20:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:21 Configure a credential helper to remove this warning. See 20:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:21 20:57:21 Login Succeeded 20:57:21 nexus3.edgexfoundry.org:10002 20:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:21 Configure a credential helper to remove this warning. See 20:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:21 20:57:21 Login Succeeded 20:57:21 nexus3.edgexfoundry.org:10003 20:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:21 Configure a credential helper to remove this warning. See 20:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:21 20:57:21 Login Succeeded 20:57:21 nexus3.edgexfoundry.org:10004 20:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:21 Configure a credential helper to remove this warning. See 20:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:21 20:57:21 Login Succeeded 20:57:21 docker.io 20:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:22 Configure a credential helper to remove this warning. See 20:57:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:22 20:57:22 Login Succeeded 20:57:22 ---> docker-login.sh ends [Pipeline] } 20:57:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:57:23 + git rev-list -1 --merges 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311~1..419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 [Pipeline] echo 20:57:23 -----------> git rev-list -1 --merges 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311~1..419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 [false] [Pipeline] sh 20:57:23 + git log --format=format:%s -1 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 [Pipeline] echo 20:57:23 ========================================================= 20:57:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:57:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:23 + git log --format=format:%s -1 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 [Pipeline] echo 20:57:23 [semverPrep] GIT_COMMIT: 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311, Commit Message: docs: change log updated [Pipeline] echo 20:57:23 [semverPrep] This is not a build commit. [Pipeline] sh 20:57:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:57:24 + grep -v github /etc/ssh/ssh_known_hosts 20:57:24 + [ -e /tmp/ssh_known_hosts ] 20:57:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:57:24 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 20:57:24 -a /etc/ssh/ssh_known_hosts 20:57:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:24 20:57:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:25 0.1.4: Pulling from edgex-devops/py-git-semver 20:57:25 b85a868b505f: Pulling fs layer 20:57:25 e2be974225ed: Pulling fs layer 20:57:25 339a4e72a1f5: Pulling fs layer 20:57:25 988bab9f4d93: Pulling fs layer 20:57:25 1469e6f7b9e6: Pulling fs layer 20:57:25 eaf3925da568: Pulling fs layer 20:57:25 bab4dde63d76: Pulling fs layer 20:57:25 bde34c3a00c8: Pulling fs layer 20:57:25 b352a97aabf1: Pulling fs layer 20:57:25 4872d77fe225: Pulling fs layer 20:57:25 5851b861e8e6: Pulling fs layer 20:57:25 1469e6f7b9e6: Waiting 20:57:25 eaf3925da568: Waiting 20:57:25 bab4dde63d76: Waiting 20:57:25 bde34c3a00c8: Waiting 20:57:25 b352a97aabf1: Waiting 20:57:25 988bab9f4d93: Waiting 20:57:25 4872d77fe225: Waiting 20:57:25 5851b861e8e6: Waiting 20:57:25 e2be974225ed: Verifying Checksum 20:57:25 e2be974225ed: Download complete 20:57:25 988bab9f4d93: Download complete 20:57:25 1469e6f7b9e6: Verifying Checksum 20:57:25 1469e6f7b9e6: Download complete 20:57:25 339a4e72a1f5: Verifying Checksum 20:57:25 339a4e72a1f5: Download complete 20:57:25 eaf3925da568: Download complete 20:57:25 bde34c3a00c8: Verifying Checksum 20:57:25 bde34c3a00c8: Download complete 20:57:25 b352a97aabf1: Download complete 20:57:25 4872d77fe225: Verifying Checksum 20:57:25 4872d77fe225: Download complete 20:57:25 5851b861e8e6: Download complete 20:57:25 b85a868b505f: Verifying Checksum 20:57:25 b85a868b505f: Download complete 20:57:25 bab4dde63d76: Verifying Checksum 20:57:25 bab4dde63d76: Download complete 20:57:27 b85a868b505f: Pull complete 20:57:27 e2be974225ed: Pull complete 20:57:27 339a4e72a1f5: Pull complete 20:57:27 988bab9f4d93: Pull complete 20:57:27 1469e6f7b9e6: Pull complete 20:57:27 eaf3925da568: Pull complete 20:57:29 bab4dde63d76: Pull complete 20:57:29 bde34c3a00c8: Pull complete 20:57:30 b352a97aabf1: Pull complete 20:57:30 4872d77fe225: Pull complete 20:57:30 5851b861e8e6: Pull complete 20:57:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:30 prd-ubuntu20.04-docker-8c-8g-2276 does not seem to be running inside a container 20:57:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:57:34 $ docker top cee0fe55f68798836f833e75ac6269055c02b6ee21469db314add408eceecae7 -eo pid,comm 20:57:34 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). 20:57:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:57:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:34 [ssh-agent] Looking for ssh-agent implementation... 20:57:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:34 $ docker exec cee0fe55f68798836f833e75ac6269055c02b6ee21469db314add408eceecae7 ssh-agent 20:57:34 SSH_AUTH_SOCK=/tmp/ssh-3LMzUndLWss6/agent.32 20:57:34 SSH_AGENT_PID=38 20:57:34 Running ssh-add (command line suppressed) 20:57:34 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_1681667885848811991.key (/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_1681667885848811991.key) 20:57:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:34 + git tag --points-at HEAD [Pipeline] } 20:57:34 $ docker exec --env ******** --env ******** cee0fe55f68798836f833e75ac6269055c02b6ee21469db314add408eceecae7 ssh-agent -k 20:57:35 unset SSH_AUTH_SOCK; 20:57:35 unset SSH_AGENT_PID; 20:57:35 echo Agent pid 38 killed; 20:57:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:57:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:35 [ssh-agent] Looking for ssh-agent implementation... 20:57:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:35 $ docker exec cee0fe55f68798836f833e75ac6269055c02b6ee21469db314add408eceecae7 ssh-agent 20:57:35 SSH_AUTH_SOCK=/tmp/ssh-SzOP4LwIsv9Q/agent.70 20:57:35 SSH_AGENT_PID=76 20:57:35 Running ssh-add (command line suppressed) 20:57:35 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_2137228118362545247.key (/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_2137228118362545247.key) 20:57:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:35 + git semver init 20:57:36 2023-03-15 20:57:36,026 [run_init] DEBUG init version:0.0.0 force:False 20:57:36 2023-03-15 20:57:36,027 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver 20:57:36 2023-03-15 20:57:36,027 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver 20:57:36 2023-03-15 20:57:36,027 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1388, universal_newlines=False, shell=None, istream=None) 20:57:37 2023-03-15 20:57:36,994 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.git/info/exclude 20:57:37 2023-03-15 20:57:36,995 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver/PR-1388 with force:False 20:57:37 2023-03-15 20:57:36,995 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver/PR-1388 20:57:37 2023-03-15 20:57:37,000 [execute] INFO git cat-file --batch-check 20:57:37 2023-03-15 20:57:37,000 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver, universal_newlines=False, shell=None, istream=) 20:57:37 2023-03-15 20:57:37,007 [execute] INFO git cat-file --batch 20:57:37 2023-03-15 20:57:37,007 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver, universal_newlines=False, shell=None, istream=) 20:57:37 2023-03-15 20:57:37,012 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver/PR-1388 20:57:37 0.0.0 [Pipeline] } 20:57:37 $ docker exec --env ******** --env ******** cee0fe55f68798836f833e75ac6269055c02b6ee21469db314add408eceecae7 ssh-agent -k 20:57:37 unset SSH_AUTH_SOCK; 20:57:37 unset SSH_AGENT_PID; 20:57:37 echo Agent pid 76 killed; 20:57:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:57:37 + git semver [Pipeline] } 20:57:37 $ docker stop --time=1 cee0fe55f68798836f833e75ac6269055c02b6ee21469db314add408eceecae7 20:57:39 $ docker rm -f --volumes cee0fe55f68798836f833e75ac6269055c02b6ee21469db314add408eceecae7 [Pipeline] // withDockerContainer [Pipeline] sh 20:57:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:57:39 Stashed 1 file(s) [Pipeline] echo 20:57:39 [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 20:57:40 provisioning config files... 20:57:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config7376359240596181983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:40 ---> docker-login.sh 20:57:40 nexus3.edgexfoundry.org:10001 20:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:40 Configure a credential helper to remove this warning. See 20:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:40 20:57:40 Login Succeeded 20:57:40 nexus3.edgexfoundry.org:10002 20:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:40 Configure a credential helper to remove this warning. See 20:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:40 20:57:40 Login Succeeded 20:57:40 nexus3.edgexfoundry.org:10003 20:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:40 Configure a credential helper to remove this warning. See 20:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:40 20:57:40 Login Succeeded 20:57:40 nexus3.edgexfoundry.org:10004 20:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:40 Configure a credential helper to remove this warning. See 20:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:40 20:57:40 Login Succeeded 20:57:40 docker.io 20:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:41 Configure a credential helper to remove this warning. See 20:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:41 20:57:41 Login Succeeded 20:57:41 ---> docker-login.sh ends [Pipeline] } 20:57:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:57:41 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:41 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:41 ========================================================= 20:57:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:57:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:41 + 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 . 20:57:41 Sending build context to Docker daemon 10.84MB 20:57:41 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:57:41 Step 2/10 : FROM ${BASE} AS builder 20:57:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:57:42 213ec9aee27d: Pulling fs layer 20:57:42 4583459ba037: Pulling fs layer 20:57:42 93c1e223e6f2: Pulling fs layer 20:57:42 53926ce57604: Pulling fs layer 20:57:42 21b2b0c7a3f4: Pulling fs layer 20:57:42 22ff95d597cd: Pulling fs layer 20:57:42 12d6caf4c0d1: Pulling fs layer 20:57:42 96b7cbca73a9: Pulling fs layer 20:57:42 a7acece74701: Pulling fs layer 20:57:42 12d6caf4c0d1: Waiting 20:57:42 96b7cbca73a9: Waiting 20:57:42 53926ce57604: Waiting 20:57:42 21b2b0c7a3f4: Waiting 20:57:42 22ff95d597cd: Waiting 20:57:42 93c1e223e6f2: Verifying Checksum 20:57:42 93c1e223e6f2: Download complete 20:57:42 4583459ba037: Verifying Checksum 20:57:42 4583459ba037: Download complete 20:57:42 21b2b0c7a3f4: Verifying Checksum 20:57:42 21b2b0c7a3f4: Download complete 20:57:42 22ff95d597cd: Verifying Checksum 20:57:42 22ff95d597cd: Download complete 20:57:42 213ec9aee27d: Verifying Checksum 20:57:42 213ec9aee27d: Download complete 20:57:42 12d6caf4c0d1: Verifying Checksum 20:57:42 12d6caf4c0d1: Download complete 20:57:42 213ec9aee27d: Pull complete 20:57:42 4583459ba037: Pull complete 20:57:42 93c1e223e6f2: Pull complete 20:57:42 a7acece74701: Verifying Checksum 20:57:42 a7acece74701: Download complete 20:57:43 96b7cbca73a9: Download complete 20:57:43 53926ce57604: Verifying Checksum 20:57:43 53926ce57604: Download complete 20:57:47 53926ce57604: Pull complete 20:57:47 21b2b0c7a3f4: Pull complete 20:57:47 22ff95d597cd: Pull complete 20:57:47 12d6caf4c0d1: Pull complete 20:57:49 96b7cbca73a9: Pull complete 20:57:50 a7acece74701: Pull complete 20:57:50 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:57:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:57:50 ---> db6d94c90886 20:57:50 Step 3/10 : ARG MAKE=make build 20:57:55 Still waiting to schedule task 20:57:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2275’ 20:57:58 ---> Running in 4a369480d0ec 20:57:58 Removing intermediate container 4a369480d0ec 20:57:58 ---> e1afac11e235 20:57:58 Step 4/10 : WORKDIR /device-sdk-go 20:57:58 ---> Running in 1c9f23f90725 20:57:58 Removing intermediate container 1c9f23f90725 20:57:58 ---> 786dfa0059e3 20:57:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:57:58 ---> Running in 77c7881b2156 20:57:58 Removing intermediate container 77c7881b2156 20:57:58 ---> 5f03a4dd5a57 20:57:58 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:57:58 ---> Running in a2622e7f4820 20:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:57:58 OK: 211 MiB in 51 packages 20:57:58 Removing intermediate container a2622e7f4820 20:57:58 ---> a79f251dfd89 20:57:58 Step 7/10 : COPY go.mod vendor* ./ 20:57:58 ---> 15ef879e3a8c 20:57:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:58 ---> Running in 1032c3f84019 20:58:30 Removing intermediate container 1032c3f84019 20:58:30 ---> 07a45e9f977b 20:58:30 Step 9/10 : COPY . . 20:58:30 ---> 2394ab1bcde5 20:58:30 Step 10/10 : RUN ${MAKE} 20:58:30 ---> Running in fccbbc9a03ab 20:58:30 noop 20:58:30 Removing intermediate container fccbbc9a03ab 20:58:30 ---> 182ebbe6d832 20:58:30 Successfully built 182ebbe6d832 20:58:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:31 + docker inspect -f . ci-base-image-x86_64 20:58:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:31 prd-ubuntu20.04-docker-8c-8g-2276 does not seem to be running inside a container 20:58:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:58:31 $ docker top e677d46f315ab923d276f041ec1ce06b2dfbf5effbb00e1a01ddc024dceefe33 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:32 + go version 20:58:32 go version go1.18.7 linux/amd64 [Pipeline] } 20:58:32 $ docker stop --time=1 e677d46f315ab923d276f041ec1ce06b2dfbf5effbb00e1a01ddc024dceefe33 20:58:33 $ docker rm -f --volumes e677d46f315ab923d276f041ec1ce06b2dfbf5effbb00e1a01ddc024dceefe33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:34 + docker inspect -f . ci-base-image-x86_64 20:58:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:34 prd-ubuntu20.04-docker-8c-8g-2276 does not seem to be running inside a container 20:58:34 $ 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-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:58:34 $ docker top d968f732d674ec6920a8f9db91a0885f11d8ccbd7d208e7a23c1a26dbfdc47e8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:35 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1388 [Pipeline] fileExists [Pipeline] sh 20:58:35 + make test 20:58:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:58:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:58:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:58:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:58:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:58:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements 20:58:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 20:58:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.094s coverage: 73.1% of statements 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:58:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 54.4% of statements 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:58:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 65.1% of statements 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:58:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.761s coverage: 89.2% of statements 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:58:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 20:58:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:59:11 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." 20:59:11 GO111MODULE=on go vet ./... 20:59:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:15 ./bin/test-attribution-txt.sh 20:59:15 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 20:59:15 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:59:15 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:59:15 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 20:59:15 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:59:15 $ docker stop --time=1 d968f732d674ec6920a8f9db91a0885f11d8ccbd7d208e7a23c1a26dbfdc47e8 20:59:19 $ docker rm -f --volumes d968f732d674ec6920a8f9db91a0885f11d8ccbd7d208e7a23c1a26dbfdc47e8 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:59:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:20 + ls -al . 20:59:20 total 280 20:59:20 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 20:58 . 20:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:57 .. 20:59:20 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 20:57 .dockerignore 20:59:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 20:58 .git 20:59:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:57 .github 20:59:20 -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 20:57 .gitignore 20:59:20 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 20:57 .golangci.yml 20:59:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 20:57 .semver 20:59:20 -rw-rw-r-- 1 jenkins jenkins 31850 Mar 15 20:57 CHANGELOG.md 20:59:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 20:57 GOVERNANCE.md 20:59:20 -rw-rw-r-- 1 jenkins jenkins 903 Mar 15 20:57 Jenkinsfile 20:59:20 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 20:57 LICENSE 20:59:20 -rw-rw-r-- 1 jenkins jenkins 2003 Mar 15 20:57 Makefile 20:59:20 -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 20:57 OWNERS.md 20:59:20 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 15 20:57 README.md 20:59:20 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 20:57 VERSION 20:59:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 20:57 bin 20:59:20 -rw-r--r-- 1 jenkins jenkins 101840 Mar 15 20:58 coverage.out 20:59:20 drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 20:57 example 20:59:20 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 15 20:57 go.mod 20:59:20 -rw-rw-r-- 1 jenkins jenkins 44423 Mar 15 20:57 go.sum 20:59:20 drwxrwxr-x 14 jenkins jenkins 4096 Mar 15 20:57 internal 20:59:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 20:57 openapi 20:59:20 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 20:57 pkg 20:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 20:57 snap 20:59:20 -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:21 + 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=419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 --label arch=amd64 --label version=0.0.0 . 20:59:21 Sending build context to Docker daemon 10.94MB 20:59:21 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 20:59:21 Step 2/23 : FROM ${BASE} AS builder 20:59:21 ---> 182ebbe6d832 20:59:21 Step 3/23 : ARG MAKE=make build 20:59:21 ---> Running in 4e050bec788b 20:59:21 Removing intermediate container 4e050bec788b 20:59:21 ---> d7cd515275a0 20:59:21 Step 4/23 : WORKDIR /device-sdk-go 20:59:21 ---> Running in d4b38838d264 20:59:21 Removing intermediate container d4b38838d264 20:59:21 ---> ff2f17626eed 20:59:21 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:59:21 ---> Running in 2fcfc0326864 20:59:21 Removing intermediate container 2fcfc0326864 20:59:21 ---> 1262ecfc01f5 20:59:21 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:59:21 ---> Running in bf6f104a2091 20:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:59:22 OK: 211 MiB in 51 packages 20:59:22 Removing intermediate container bf6f104a2091 20:59:22 ---> 8664a97ae654 20:59:22 Step 7/23 : COPY go.mod vendor* ./ 20:59:22 ---> 256175ca4409 20:59:22 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:22 ---> Running in 57fe778f0b3f 20:59:23 Removing intermediate container 57fe778f0b3f 20:59:23 ---> 577ca4e21f7a 20:59:23 Step 9/23 : COPY . . 20:59:24 ---> 19f4fb366bda 20:59:24 Step 10/23 : RUN ${MAKE} 20:59:24 ---> Running in 2b5a7dc0f2f3 20:59:24 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 20:59:42 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:59:46 Removing intermediate container 2b5a7dc0f2f3 20:59:46 ---> faf66b9bd62d 20:59:46 Step 11/23 : FROM alpine:3.16 20:59:46 3.16: Pulling from library/alpine 20:59:46 ef5531b6e74e: Pulling fs layer 20:59:47 ef5531b6e74e: Download complete 20:59:47 ef5531b6e74e: Pull complete 20:59:47 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 20:59:47 Status: Downloaded newer image for alpine:3.16 20:59:47 ---> dfd21b5a31f5 20:59:47 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:59:47 ---> Running in be20c5d6647e 20:59:47 Removing intermediate container be20c5d6647e 20:59:47 ---> 948f515e46ac 20:59:47 Step 13/23 : RUN apk add --update --no-cache zeromq 20:59:47 ---> Running in cebf6b878f7d 20:59:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:59:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:59:48 (1/5) Installing libgcc (11.2.1_git20220219-r2) 20:59:48 (2/5) Installing libsodium (1.0.18-r0) 20:59:48 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 20:59:48 (4/5) Installing libzmq (4.3.4-r0) 20:59:48 (5/5) Installing zeromq (4.3.4-r0) 20:59:48 Executing busybox-1.35.0-r17.trigger 20:59:48 OK: 8 MiB in 19 packages 20:59:48 Removing intermediate container cebf6b878f7d 20:59:48 ---> 5ef5ff7f025a 20:59:48 Step 14/23 : WORKDIR / 20:59:48 ---> Running in 9e7eed08b924 20:59:48 Removing intermediate container 9e7eed08b924 20:59:48 ---> f13c632abb00 20:59:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:59:48 ---> 9dcd5f30d8d4 20:59:48 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:59:49 ---> 539fef099cf8 20:59:49 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:59:49 ---> e30e51ac974c 20:59:49 Step 18/23 : EXPOSE 59999 20:59:49 ---> Running in a6eb5c155f8e 20:59:49 Removing intermediate container a6eb5c155f8e 20:59:49 ---> 065fae3c642a 20:59:49 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:59:49 ---> Running in 49f11906d17a 20:59:49 Removing intermediate container 49f11906d17a 20:59:49 ---> 48640d80a5db 20:59:49 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:59:49 ---> Running in c250d778c9e2 20:59:49 Removing intermediate container c250d778c9e2 20:59:49 ---> 3bfcea163f2b 20:59:49 Step 21/23 : LABEL arch=amd64 20:59:49 ---> Running in 2625a0314200 20:59:50 Removing intermediate container 2625a0314200 20:59:50 ---> c8bf34c9ab3e 20:59:50 Step 22/23 : LABEL git_sha=419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 20:59:50 ---> Running in 7ce169e1972c 20:59:50 Removing intermediate container 7ce169e1972c 20:59:50 ---> 8b54e96b542d 20:59:50 Step 23/23 : LABEL version=0.0.0 20:59:50 ---> Running in 933c18904a5c 20:59:50 Removing intermediate container 933c18904a5c 20:59:50 ---> 9dbb4bc9c0b1 20:59:50 [Warning] One or more build-args [ARCH] were not consumed 20:59:50 Successfully built 9dbb4bc9c0b1 20:59:50 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 20:59:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:51 20:59:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:51 latest: Pulling from edgex-lftools-log-publisher 20:59:51 5eb5b503b376: Pulling fs layer 20:59:51 5c69ac0246d0: Pulling fs layer 20:59:51 ec43610c2a17: Pulling fs layer 20:59:51 3a2ae6a8a46f: Pulling fs layer 20:59:51 33b1e0a273af: Pulling fs layer 20:59:51 5d3b04190fa2: Pulling fs layer 20:59:51 2f39f015ded8: Pulling fs layer 20:59:51 33b1e0a273af: Waiting 20:59:51 5d3b04190fa2: Waiting 20:59:51 2f39f015ded8: Waiting 20:59:51 3a2ae6a8a46f: Waiting 20:59:51 5c69ac0246d0: Verifying Checksum 20:59:51 5c69ac0246d0: Download complete 20:59:51 3a2ae6a8a46f: Verifying Checksum 20:59:51 3a2ae6a8a46f: Download complete 20:59:51 33b1e0a273af: Verifying Checksum 20:59:51 33b1e0a273af: Download complete 20:59:51 ec43610c2a17: Verifying Checksum 20:59:51 ec43610c2a17: Download complete 20:59:51 5d3b04190fa2: Verifying Checksum 20:59:51 5d3b04190fa2: Download complete 20:59:52 5eb5b503b376: Verifying Checksum 20:59:52 5eb5b503b376: Download complete 20:59:52 2f39f015ded8: Download complete 20:59:53 5eb5b503b376: Pull complete 20:59:53 5c69ac0246d0: Pull complete 20:59:53 ec43610c2a17: Pull complete 20:59:53 3a2ae6a8a46f: Pull complete 20:59:54 33b1e0a273af: Pull complete 20:59:54 5d3b04190fa2: Pull complete 20:59:58 2f39f015ded8: Pull complete 20:59:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:59:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:58 prd-ubuntu20.04-docker-8c-8g-2276 does not seem to be running inside a container 20:59:58 $ 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-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:00:02 $ docker top 5ed105faa12d9c52a35244a0a943d30b432a29236f9d963808896d80192868fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:03 ---> job-cost.sh 21:00:03 lf-activate-venv: SKIPPING 21:00:03 INFO: No Stack... 21:00:03 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:03 INFO: Archiving Costs [Pipeline] sh 21:00:04 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives/cost.csv 21:00:04 + cut -d, -f6 [Pipeline] lock 21:00:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1388-1-stack-cost] 21:00:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-1-stack-cost] did not exist. Created. 21:00:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1388-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:04 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:04 Stashed 1 file(s) [Pipeline] } 21:00:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:04 $ docker stop --time=1 5ed105faa12d9c52a35244a0a943d30b432a29236f9d963808896d80192868fd 21:00:05 $ docker rm -f --volumes 5ed105faa12d9c52a35244a0a943d30b432a29236f9d963808896d80192868fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2277 in /w/workspace/gexfoundry_device-sdk-go_PR-1388 [Pipeline] { [Pipeline] ws 21:00:38 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:00:38 The recommended git tool is: git 21:00:44 using credential edgex-jenkins-ssh 21:00:44 Cloning the remote Git repository 21:00:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:00:44 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:00:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:00:44 > git --version # timeout=10 21:00:44 > git --version # 'git version 2.25.1' 21:00:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:00:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:00:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:00:47 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1388/head:refs/remotes/origin/PR-1388 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 21:00:47 Merging remotes/origin/levski commit a6639bc907c868da99f3246e240586b858116a4d into PR head commit 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 21:00:48 Merge succeeded, producing 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 21:00:48 Checking out Revision 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 (PR-1388) 21:00:47 > git config core.sparsecheckout # timeout=10 21:00:47 > git checkout -f 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 # timeout=10 21:00:48 > git remote # timeout=10 21:00:48 > git config --get remote.origin.url # timeout=10 21:00:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:48 > git merge a6639bc907c868da99f3246e240586b858116a4d # timeout=10 21:00:48 > git rev-parse HEAD^{commit} # timeout=10 21:00:48 > git config core.sparsecheckout # timeout=10 21:00:48 > git checkout -f 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 # timeout=10 21:00:51 Commit message: "docs: change log updated" 21:00:51 > git --version # timeout=10 21:00:51 > git --version # 'git version 2.25.1' 21:00:51 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:00:52 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:52 Dload Upload Total Spent Left Speed 21:00:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 21:00:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:00:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:00:53 + sudo tee /etc/docker/daemon.new 21:00:53 { 21:00:53 "registry-mirrors": [ 21:00:53 "https://nexus3.edgexfoundry.org:10001" 21:00:53 ], 21:00:53 "bip": "10.250.0.254/24", 21:00:53 "hosts": [ 21:00:53 "tcp://0.0.0.0:5555", 21:00:53 "unix:///var/run/docker.sock" 21:00:53 ], 21:00:53 "mtu": 1458, 21:00:53 "selinux-enabled": true, 21:00:53 "seccomp-profile": "/etc/docker/seccomp.json" 21:00:53 } [Pipeline] sh 21:00:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:00:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:12 provisioning config files... 21:01:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13726446577845755220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:13 ---> docker-login.sh 21:01:13 nexus3.edgexfoundry.org:10001 21:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:13 Configure a credential helper to remove this warning. See 21:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:13 21:01:13 Login Succeeded 21:01:13 nexus3.edgexfoundry.org:10002 21:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:15 Configure a credential helper to remove this warning. See 21:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:15 21:01:15 Login Succeeded 21:01:15 nexus3.edgexfoundry.org:10003 21:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:15 Configure a credential helper to remove this warning. See 21:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:15 21:01:15 Login Succeeded 21:01:15 nexus3.edgexfoundry.org:10004 21:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:15 Configure a credential helper to remove this warning. See 21:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:15 21:01:15 Login Succeeded 21:01:15 docker.io 21:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:16 Configure a credential helper to remove this warning. See 21:01:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:16 21:01:16 Login Succeeded 21:01:16 ---> docker-login.sh ends [Pipeline] } 21:01:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:16 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:16 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:16 ========================================================= 21:01:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:01:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:17 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:01:17 Sending build context to Docker daemon 5.834MB 21:01:17 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:01:17 Step 2/10 : FROM ${BASE} AS builder 21:01:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:17 9b18e9b68314: Pulling fs layer 21:01:17 35d82f9e3411: Pulling fs layer 21:01:17 e16973657156: Pulling fs layer 21:01:17 fc693d55d65f: Pulling fs layer 21:01:17 7e9fc2657dce: Pulling fs layer 21:01:17 dda99020689f: Pulling fs layer 21:01:17 db1c61fa0a46: Pulling fs layer 21:01:17 891c053d2c06: Pulling fs layer 21:01:17 fc693d55d65f: Waiting 21:01:17 7e9fc2657dce: Waiting 21:01:17 dda99020689f: Waiting 21:01:17 db1c61fa0a46: Waiting 21:01:17 891c053d2c06: Waiting 21:01:17 e16973657156: Download complete 21:01:17 35d82f9e3411: Verifying Checksum 21:01:17 35d82f9e3411: Download complete 21:01:17 7e9fc2657dce: Verifying Checksum 21:01:17 7e9fc2657dce: Download complete 21:01:17 dda99020689f: Verifying Checksum 21:01:17 dda99020689f: Download complete 21:01:18 9b18e9b68314: Verifying Checksum 21:01:18 9b18e9b68314: Download complete 21:01:19 9b18e9b68314: Pull complete 21:01:19 891c053d2c06: Verifying Checksum 21:01:19 891c053d2c06: Download complete 21:01:19 35d82f9e3411: Pull complete 21:01:19 e16973657156: Pull complete 21:01:20 db1c61fa0a46: Verifying Checksum 21:01:20 db1c61fa0a46: Download complete 21:01:20 fc693d55d65f: Download complete 21:01:33 fc693d55d65f: Pull complete 21:01:33 7e9fc2657dce: Pull complete 21:01:33 dda99020689f: Pull complete 21:01:40 db1c61fa0a46: Pull complete 21:01:42 891c053d2c06: Pull complete 21:01:42 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:01:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:01:42 ---> f96f9c87975a 21:01:42 Step 3/10 : ARG MAKE=make build 21:01:44 ---> Running in 7adc04e332fa 21:01:44 Removing intermediate container 7adc04e332fa 21:01:44 ---> ef89062abc73 21:01:44 Step 4/10 : WORKDIR /device-sdk-go 21:01:44 ---> Running in eeea4eb0922c 21:01:44 Removing intermediate container eeea4eb0922c 21:01:44 ---> 9f9c582ebe6a 21:01:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:01:44 ---> Running in f01a3ab77320 21:01:44 Removing intermediate container f01a3ab77320 21:01:44 ---> f698dc138b0a 21:01:44 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:01:44 ---> Running in c3db39684f9b 21:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:01:47 OK: 221 MiB in 51 packages 21:01:48 Removing intermediate container c3db39684f9b 21:01:48 ---> 1729fbb16e7c 21:01:48 Step 7/10 : COPY go.mod vendor* ./ 21:01:48 ---> 7fee79042573 21:01:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:48 ---> Running in ec33d6c370fb 21:02:45 Removing intermediate container ec33d6c370fb 21:02:45 ---> fe6f2735e5c7 21:02:45 Step 9/10 : COPY . . 21:02:45 ---> 8cf9fe57d281 21:02:45 Step 10/10 : RUN ${MAKE} 21:02:45 ---> Running in c43bb2273616 21:02:45 noop 21:02:45 Removing intermediate container c43bb2273616 21:02:45 ---> cc1b735aba40 21:02:45 Successfully built cc1b735aba40 21:02:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:45 + docker inspect -f . ci-base-image-arm64 21:02:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:45 prd-ubuntu20.04-docker-arm64-4c-16g-2277 does not seem to be running inside a container 21:02:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:02:47 $ docker top ddcd6218321e841f63dc25a8fbe51a6d19982071fa8b79d596fa4ab4085173c3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:47 + go version 21:02:47 go version go1.18.7 linux/arm64 [Pipeline] } 21:02:47 $ docker stop --time=1 ddcd6218321e841f63dc25a8fbe51a6d19982071fa8b79d596fa4ab4085173c3 21:02:49 $ docker rm -f --volumes ddcd6218321e841f63dc25a8fbe51a6d19982071fa8b79d596fa4ab4085173c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:50 + docker inspect -f . ci-base-image-arm64 21:02:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:50 prd-ubuntu20.04-docker-arm64-4c-16g-2277 does not seem to be running inside a container 21:02:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:02:51 $ docker top 548fe58da2de8065661c14c51fdce50660220b043db297ccec187fabe559771f -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:52 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 21:02:52 + make test 21:02:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:03:31 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:05:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:05:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:05:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:05:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 21:05:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:05:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.319s coverage: 27.6% of statements 21:05:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.434s coverage: 78.9% of statements 21:05:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 21:05:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.764s coverage: 73.1% of statements 21:05:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:05:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:05:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.718s coverage: 54.4% of statements 21:05:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:05:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 21:05:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:05:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:05:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.588s coverage: 65.1% of statements 21:05:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 21:05:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:05:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.316s coverage: 89.2% of statements 21:05:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:05:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.304s coverage: 4.7% of statements 21:05:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:05:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:05:44 GO111MODULE=on go vet ./... 21:07:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:07:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:07:20 ./bin/test-attribution-txt.sh 21:07:20 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:07:21 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:07:21 $ docker stop --time=1 548fe58da2de8065661c14c51fdce50660220b043db297ccec187fabe559771f 21:07:22 $ docker rm -f --volumes 548fe58da2de8065661c14c51fdce50660220b043db297ccec187fabe559771f [Pipeline] // withDockerContainer [Pipeline] sh 21:07:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:07:24 Warning: overwriting stash ‘coverage-report’ 21:07:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:07:25 + ls -al . 21:07:25 total 276 21:07:25 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 21:02 . 21:07:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:00 .. 21:07:25 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 21:00 .dockerignore 21:07:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 21:00 .git 21:07:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:00 .github 21:07:25 -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 21:00 .gitignore 21:07:25 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 21:00 .golangci.yml 21:07:25 -rw-rw-r-- 1 jenkins jenkins 31850 Mar 15 21:00 CHANGELOG.md 21:07:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 21:00 GOVERNANCE.md 21:07:25 -rw-rw-r-- 1 jenkins jenkins 903 Mar 15 21:00 Jenkinsfile 21:07:25 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 21:00 LICENSE 21:07:25 -rw-rw-r-- 1 jenkins jenkins 2003 Mar 15 21:00 Makefile 21:07:25 -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 21:00 OWNERS.md 21:07:25 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 15 21:00 README.md 21:07:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 20:57 VERSION 21:07:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:00 bin 21:07:25 -rw-r--r-- 1 jenkins jenkins 101840 Mar 15 21:05 coverage.out 21:07:25 drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 21:00 example 21:07:25 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 15 21:00 go.mod 21:07:25 -rw-rw-r-- 1 jenkins jenkins 44423 Mar 15 21:00 go.sum 21:07:25 drwxrwxr-x 14 jenkins jenkins 4096 Mar 15 21:00 internal 21:07:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 21:00 openapi 21:07:25 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 21:00 pkg 21:07:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:00 snap 21:07:25 -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:26 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 --label arch=arm64 --label version=0.0.0 . 21:07:26 Sending build context to Docker daemon 5.937MB 21:07:26 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:07:26 Step 2/23 : FROM ${BASE} AS builder 21:07:26 ---> cc1b735aba40 21:07:26 Step 3/23 : ARG MAKE=make build 21:07:26 ---> Running in 8c35a3364ca2 21:07:26 Removing intermediate container 8c35a3364ca2 21:07:26 ---> 53636c233840 21:07:26 Step 4/23 : WORKDIR /device-sdk-go 21:07:27 ---> Running in b311aa7baf30 21:07:27 Removing intermediate container b311aa7baf30 21:07:27 ---> 618254392d30 21:07:27 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:07:27 ---> Running in 002538998c51 21:07:27 Removing intermediate container 002538998c51 21:07:27 ---> 6bfecf01f508 21:07:27 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:07:27 ---> Running in 75a7f43c9b81 21:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:07:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:07:30 OK: 221 MiB in 51 packages 21:07:30 Removing intermediate container 75a7f43c9b81 21:07:30 ---> d8cbdb44e7e8 21:07:30 Step 7/23 : COPY go.mod vendor* ./ 21:07:33 ---> 5e6c6e7d1ed4 21:07:33 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:33 ---> Running in 4edf5cd847dd 21:07:35 Removing intermediate container 4edf5cd847dd 21:07:35 ---> be372e65b65a 21:07:35 Step 9/23 : COPY . . 21:07:36 ---> efd30e10b411 21:07:36 Step 10/23 : RUN ${MAKE} 21:07:36 ---> Running in 1f5599cefb15 21:07:37 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 21:09:44 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:09:50 Removing intermediate container 1f5599cefb15 21:09:50 ---> b1e591fc8bcb 21:09:50 Step 11/23 : FROM alpine:3.16 21:09:50 3.16: Pulling from library/alpine 21:09:50 3760b48202b3: Pulling fs layer 21:09:50 3760b48202b3: Verifying Checksum 21:09:50 3760b48202b3: Download complete 21:09:50 3760b48202b3: Pull complete 21:09:50 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 21:09:50 Status: Downloaded newer image for alpine:3.16 21:09:50 ---> 4c81e5bf8899 21:09:50 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:50 ---> Running in 0169a5aecaf1 21:09:51 Removing intermediate container 0169a5aecaf1 21:09:51 ---> 3f1b19857fa0 21:09:51 Step 13/23 : RUN apk add --update --no-cache zeromq 21:09:51 ---> Running in 3fc20b2028d9 21:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:09:53 (1/5) Installing libgcc (11.2.1_git20220219-r2) 21:09:53 (2/5) Installing libsodium (1.0.18-r0) 21:09:53 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 21:09:53 (4/5) Installing libzmq (4.3.4-r0) 21:09:53 (5/5) Installing zeromq (4.3.4-r0) 21:09:53 Executing busybox-1.35.0-r17.trigger 21:09:53 OK: 8 MiB in 19 packages 21:09:55 Removing intermediate container 3fc20b2028d9 21:09:55 ---> 56fcfd1fe38e 21:09:55 Step 14/23 : WORKDIR / 21:09:55 ---> Running in 35a05ae5e972 21:09:55 Removing intermediate container 35a05ae5e972 21:09:55 ---> 0ac0cab722f9 21:09:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:09:55 ---> 3739ea344967 21:09:55 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:09:57 ---> 747d0af5c05d 21:09:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:09:57 ---> b4a229836482 21:09:57 Step 18/23 : EXPOSE 59999 21:09:57 ---> Running in 762407ca7a65 21:09:58 Removing intermediate container 762407ca7a65 21:09:58 ---> 3900bab30d93 21:09:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:09:58 ---> Running in 4bbafb10d69e 21:09:58 Removing intermediate container 4bbafb10d69e 21:09:58 ---> 4cfdd25c9665 21:09:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:09:58 ---> Running in 7d7d0570076a 21:09:58 Removing intermediate container 7d7d0570076a 21:09:58 ---> f42e65f72810 21:09:58 Step 21/23 : LABEL arch=arm64 21:09:58 ---> Running in 56388834fd67 21:09:59 Removing intermediate container 56388834fd67 21:09:59 ---> a9512dc0742e 21:09:59 Step 22/23 : LABEL git_sha=419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 21:09:59 ---> Running in b584ad2b7bc9 21:09:59 Removing intermediate container b584ad2b7bc9 21:09:59 ---> 818760237a82 21:09:59 Step 23/23 : LABEL version=0.0.0 21:09:59 ---> Running in b0c3cf6b8244 21:10:00 Removing intermediate container b0c3cf6b8244 21:10:00 ---> 93a2b4f9432a 21:10:00 [Warning] One or more build-args [ARCH] were not consumed 21:10:00 Successfully built 93a2b4f9432a 21:10:00 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:10:00 21:10:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:10:01 arm64: Pulling from edgex-lftools-log-publisher 21:10:01 8998bd30e6a1: Pulling fs layer 21:10:01 04944245beec: Pulling fs layer 21:10:01 699f458cf7ca: Pulling fs layer 21:10:01 765212b225bb: Pulling fs layer 21:10:01 f23df028b6ca: Pulling fs layer 21:10:01 d65c8cfc05b1: Pulling fs layer 21:10:01 2437ff75d9bd: Pulling fs layer 21:10:01 f23df028b6ca: Waiting 21:10:01 d65c8cfc05b1: Waiting 21:10:01 2437ff75d9bd: Waiting 21:10:01 765212b225bb: Waiting 21:10:01 04944245beec: Verifying Checksum 21:10:01 04944245beec: Download complete 21:10:01 765212b225bb: Verifying Checksum 21:10:01 765212b225bb: Download complete 21:10:01 f23df028b6ca: Verifying Checksum 21:10:01 f23df028b6ca: Download complete 21:10:01 d65c8cfc05b1: Verifying Checksum 21:10:01 d65c8cfc05b1: Download complete 21:10:01 699f458cf7ca: Verifying Checksum 21:10:01 699f458cf7ca: Download complete 21:10:02 8998bd30e6a1: Download complete 21:10:04 2437ff75d9bd: Verifying Checksum 21:10:04 2437ff75d9bd: Download complete 21:10:05 8998bd30e6a1: Pull complete 21:10:09 04944245beec: Pull complete 21:10:09 699f458cf7ca: Pull complete 21:10:09 765212b225bb: Pull complete 21:10:10 f23df028b6ca: Pull complete 21:10:11 d65c8cfc05b1: Pull complete 21:10:26 2437ff75d9bd: Pull complete 21:10:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:10:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:10:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:26 prd-ubuntu20.04-docker-arm64-4c-16g-2277 does not seem to be running inside a container 21:10:26 $ 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/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:10:29 $ docker top 7ceee67a027b6a881fbc6fb70bc56ed766ce5b78725d7464100eb56a45e5e7ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:30 ---> job-cost.sh 21:10:30 lf-activate-venv: SKIPPING 21:10:30 INFO: No Stack... 21:10:30 INFO: Retrieving Pricing Info for: v3-standard-4 21:10:31 INFO: Archiving Costs [Pipeline] sh 21:10:31 + cut+ -d, -f6 21:10:31 cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 21:10:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1388-1-stack-cost] 21:10:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-1-stack-cost] did not exist. Created. 21:10:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1388-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:10:32 /w/workspace/device-sdk-go/1@tmp/durable-470b1ec0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:10:33 + echo total: 0.10999999940395355 [Pipeline] stash 21:10:33 Warning: overwriting stash ‘stack-cost’ 21:10:33 Stashed 1 file(s) [Pipeline] } 21:10:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:10:33 $ docker stop --time=1 7ceee67a027b6a881fbc6fb70bc56ed766ce5b78725d7464100eb56a45e5e7ef 21:10:35 $ docker rm -f --volumes 7ceee67a027b6a881fbc6fb70bc56ed766ce5b78725d7464100eb56a45e5e7ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:10:36 provisioning config files... 21:10:36 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config17780874279098541633tmp [Pipeline] { [Pipeline] sh 21:10:36 + set +x 21:10:36 + bash -s -- 21:10:36 + curl -s https://codecov.io/bash 21:10:36 21:10:36 _____ _ 21:10:36 / ____| | | 21:10:36 | | ___ __| | ___ ___ _____ __ 21:10:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:10:36 | |___| (_) | (_| | __/ (_| (_) \ V / 21:10:36 \_____\___/ \__,_|\___|\___\___/ \_/ 21:10:36 Bash-1.0.6 21:10:36 21:10:36 21:10:36 ==> git version 2.25.1 found 21:10:36 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:10:36 Release-Date: 2020-01-08 21:10:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:10:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:10:36 ==> Jenkins CI detected. 21:10:36 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1388 21:10:36 project root: . 21:10:36 --> token set from env 21:10:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:10:36 ==> Running gcov in . (disable via -X gcov) 21:10:36 ==> Python coveragepy not found 21:10:36 ==> Searching for coverage reports in: 21:10:36 + . 21:10:36 -> Found 1 reports 21:10:36 ==> Detecting git/mercurial file structure 21:10:36 ==> Reading reports 21:10:36 + ./coverage.out bytes=101840 21:10:36 ==> Appending adjustments 21:10:36 https://docs.codecov.io/docs/fixing-reports 21:10:36 + Found adjustments 21:10:36 ==> Gzipping contents 21:10:36 16K /tmp/codecov.6icsOW.gz 21:10:36 ==> Uploading reports 21:10:36 url: https://codecov.io 21:10:36 query: branch=PR-1388&commit=419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1388%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1388&job=&cmd_args= 21:10:36 -> Pinging Codecov 21:10:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1388&commit=419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1388%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1388&job=&cmd_args= 21:10:36 -> Uploading to 21:10:36 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7E55EF52A471D76F132DFD9A03CDDE97/419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311/54016c7a-f4b8-4cb5-b60a-b7f641576af9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T211036Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ea0317e64da36aa18f6b50b384661f0fb13cbcb4bb0ff5a6d978ee5e1e740df 21:10:36 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:36 Dload Upload Total Spent Left Speed 21:10:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14711 0 0 100 14711 0 59318 --:--:-- --:--:-- --:--:-- 59318 21:10:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 [Pipeline] } 21:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:10:38 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives ] 21:10:38 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives 21:10:38 total 16 21:10:38 drwxr-xr-x 3 root root 4096 Mar 15 21:00 . 21:10:38 drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 21:00 .. 21:10:38 drwxr-xr-x 2 root root 4096 Mar 15 21:00 cost 21:10:38 -rw-r--r-- 1 root root 86 Mar 15 21:00 cost.csv 21:10:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives 21:10:38 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives 21:10:38 total 16 21:10:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 21:00 . 21:10:38 drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 21:00 .. 21:10:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 21:00 cost 21:10:38 -rw-r--r-- 1 jenkins jenkins 86 Mar 15 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:10:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:10:40 ---> package-listing.sh 21:10:40 ++ facter osfamily 21:10:40 ++ tr '[:upper:]' '[:lower:]' 21:10:40 + OS_FAMILY=debian 21:10:40 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1388 21:10:40 + START_PACKAGES=/tmp/packages_start.txt 21:10:40 + END_PACKAGES=/tmp/packages_end.txt 21:10:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:10:40 + PACKAGES=/tmp/packages_start.txt 21:10:40 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1388 ']' 21:10:40 + PACKAGES=/tmp/packages_end.txt 21:10:40 + case "${OS_FAMILY}" in 21:10:40 + dpkg -l 21:10:40 + grep '^ii' 21:10:40 + '[' -f /tmp/packages_start.txt ']' 21:10:40 + '[' -f /tmp/packages_end.txt ']' 21:10:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:10:40 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1388 ']' 21:10:40 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives/ 21:10:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives/ [Pipeline] echo 21:10:40 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-1388/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:10:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:41 prd-ubuntu20.04-docker-8c-8g-2276 does not seem to be running inside a container 21:10:41 $ 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-1388/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-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:10:42 $ docker top fc35c7a08e2158da1cbbfd4a6885daa58e95d4cf5c6433843073bcdff9ab3b9c -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:42 + touch /tmp/pre-build-complete [Pipeline] sh 21:10:43 + mkdir -p /var/log/sysstat [Pipeline] sh 21:10:43 + ls /var/log/sa-host 21:10:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:43 provisioning config files... 21:10:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config17491136124317263549tmp [Pipeline] { [Pipeline] echo 21:10:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:10:43 ---> create-netrc.sh [Pipeline] } 21:10:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:10:44 ---> python-tools-install.sh [Pipeline] echo 21:10:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:10:44 ---> sudo-logs.sh 21:10:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:10:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:10:45 ---> job-cost.sh 21:10:45 lf-activate-venv: SKIPPING 21:10:45 DEBUG: total: 0.2199999988079071 21:10:45 INFO: Retrieving Stack Cost... 21:10:45 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:45 INFO: Archiving Costs [Pipeline] echo 21:10:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:10:46 ---> logs-deploy.sh 21:10:46 lf-activate-venv: SKIPPING 21:10:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1388/1 21:10:46 INFO: archiving workspace using pattern(s): 21:10:47 Archives upload complete. 21:10:47 INFO: archiving logs to Nexus