Pull request #1236 updated 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6995182f3f60d6e642695a3ed6f97c51734b7d0e+4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 (e2ee03105723a1eaa4bf532663e762e3b2296c5e) 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-ssh10715495187306163298.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16948468642065370925.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10261848863724916320.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh11135896932371659718.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh911321879172829548.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7805 in /w/workspace/gexfoundry_device-sdk-go_PR-1236 [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-1236 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1236/head:refs/remotes/origin/PR-1236 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 into PR head commit 6995182f3f60d6e642695a3ed6f97c51734b7d0e Merge succeeded, producing 5d89824f5431919bca3f6f61f39e47996172db86 Checking out Revision 5d89824f5431919bca3f6f61f39e47996172db86 (PR-1236) > git config core.sparsecheckout # timeout=10 > git checkout -f 6995182f3f60d6e642695a3ed6f97c51734b7d0e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d89824f5431919bca3f6f61f39e47996172db86 # timeout=10 Commit message: "Merge commit '4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:58:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:58:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:58:55 ========================================================= 04:58:55 EdgeX Global Pipelines Version Info 04:58:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:58:55 ------------------- 04:58:55 stable info: 04:58:55 ------------------- 04:58:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:58:55 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:58:55 Message: update stable to v1.0.239 > git rev-list --no-walk ad57e9545f0400bbf82677090cd003fd0fb66bd3 # timeout=10 04:58:56 ------------------- 04:58:56 experimental info: 04:58:56 ------------------- 04:58:56 Commited By: **** collab-it+edgex@linuxfoundation.org 04:58:56 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:58:56 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1236 [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1236 [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1236 [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d89824f5431919bca3f6f61f39e47996172db86 [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d89824 [Pipeline] echo 04:58:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:56 provisioning config files... 04:58:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config3709133387320213651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:57 ---> docker-login.sh 04:58:57 nexus3.edgexfoundry.org:10001 04:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:57 Configure a credential helper to remove this warning. See 04:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:57 04:58:57 Login Succeeded 04:58:57 nexus3.edgexfoundry.org:10002 04:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:57 Configure a credential helper to remove this warning. See 04:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:57 04:58:57 Login Succeeded 04:58:57 nexus3.edgexfoundry.org:10003 04:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:57 Configure a credential helper to remove this warning. See 04:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:57 04:58:57 Login Succeeded 04:58:57 nexus3.edgexfoundry.org:10004 04:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:57 Configure a credential helper to remove this warning. See 04:58:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:57 04:58:57 Login Succeeded 04:58:57 docker.io 04:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:58 Configure a credential helper to remove this warning. See 04:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:58 04:58:58 Login Succeeded 04:58:58 ---> docker-login.sh ends [Pipeline] } 04:58:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:58:58 + git rev-list -1 --merges 5d89824f5431919bca3f6f61f39e47996172db86~1..5d89824f5431919bca3f6f61f39e47996172db86 [Pipeline] echo 04:58:58 -----------> git rev-list -1 --merges 5d89824f5431919bca3f6f61f39e47996172db86~1..5d89824f5431919bca3f6f61f39e47996172db86 5d89824f5431919bca3f6f61f39e47996172db86 04:58:58 5d89824f5431919bca3f6f61f39e47996172db86 [false] [Pipeline] sh 04:58:58 + git log --format=format:%s -1 5d89824f5431919bca3f6f61f39e47996172db86 [Pipeline] echo 04:58:58 ========================================================= 04:58:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:58:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:58:59 + git log --format=format:%s -1 5d89824f5431919bca3f6f61f39e47996172db86 [Pipeline] echo 04:58:59 [semverPrep] GIT_COMMIT: 5d89824f5431919bca3f6f61f39e47996172db86, Commit Message: Merge commit '4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27' into HEAD [Pipeline] echo 04:58:59 [semverPrep] This is not a build commit. [Pipeline] sh 04:58:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:58:59 + grep -v github /etc/ssh/ssh_known_hosts 04:58:59 + [ -e /tmp/ssh_known_hosts ] 04:58:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:58:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:58:59 + sudo tee -a /etc/ssh/ssh_known_hosts 04:58:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:59 04:58:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:59:00 0.1.4: Pulling from edgex-devops/py-git-semver 04:59:00 b85a868b505f: Pulling fs layer 04:59:00 e2be974225ed: Pulling fs layer 04:59:00 339a4e72a1f5: Pulling fs layer 04:59:00 988bab9f4d93: Pulling fs layer 04:59:00 1469e6f7b9e6: Pulling fs layer 04:59:00 eaf3925da568: Pulling fs layer 04:59:00 bab4dde63d76: Pulling fs layer 04:59:00 bde34c3a00c8: Pulling fs layer 04:59:00 b352a97aabf1: Pulling fs layer 04:59:00 4872d77fe225: Pulling fs layer 04:59:00 5851b861e8e6: Pulling fs layer 04:59:00 eaf3925da568: Waiting 04:59:00 bab4dde63d76: Waiting 04:59:00 bde34c3a00c8: Waiting 04:59:00 b352a97aabf1: Waiting 04:59:00 4872d77fe225: Waiting 04:59:00 988bab9f4d93: Waiting 04:59:00 5851b861e8e6: Waiting 04:59:00 1469e6f7b9e6: Waiting 04:59:00 e2be974225ed: Verifying Checksum 04:59:00 e2be974225ed: Download complete 04:59:00 988bab9f4d93: Download complete 04:59:00 1469e6f7b9e6: Verifying Checksum 04:59:00 1469e6f7b9e6: Download complete 04:59:00 339a4e72a1f5: Verifying Checksum 04:59:00 339a4e72a1f5: Download complete 04:59:00 eaf3925da568: Download complete 04:59:00 bde34c3a00c8: Download complete 04:59:00 b352a97aabf1: Verifying Checksum 04:59:00 b352a97aabf1: Download complete 04:59:00 4872d77fe225: Download complete 04:59:00 5851b861e8e6: Download complete 04:59:00 b85a868b505f: Verifying Checksum 04:59:00 b85a868b505f: Download complete 04:59:00 bab4dde63d76: Verifying Checksum 04:59:00 bab4dde63d76: Download complete 04:59:01 b85a868b505f: Pull complete 04:59:01 e2be974225ed: Pull complete 04:59:02 339a4e72a1f5: Pull complete 04:59:02 988bab9f4d93: Pull complete 04:59:02 1469e6f7b9e6: Pull complete 04:59:02 eaf3925da568: Pull complete 04:59:04 bab4dde63d76: Pull complete 04:59:04 bde34c3a00c8: Pull complete 04:59:04 b352a97aabf1: Pull complete 04:59:04 4872d77fe225: Pull complete 04:59:04 5851b861e8e6: Pull complete 04:59:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:59:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:59:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:04 prd-ubuntu20.04-docker-8c-8g-7805 does not seem to be running inside a container 04:59:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@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-devops/py-git-semver:0.1.4 cat 04:59:06 $ docker top daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a -eo pid,comm 04:59:06 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). 04:59:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:59:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:59:06 [ssh-agent] Looking for ssh-agent implementation... 04:59:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:59:06 $ docker exec daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a ssh-agent 04:59:06 SSH_AUTH_SOCK=/tmp/ssh-AYyKLpzHIxzW/agent.32 04:59:06 SSH_AGENT_PID=38 04:59:06 Running ssh-add (command line suppressed) 04:59:06 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_10643863788541123756.key (/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_10643863788541123756.key) 04:59:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:59:07 + git tag --points-at HEAD [Pipeline] } 04:59:07 $ docker exec --env ******** --env ******** daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a ssh-agent -k 04:59:07 unset SSH_AUTH_SOCK; 04:59:07 unset SSH_AGENT_PID; 04:59:07 echo Agent pid 38 killed; 04:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:59:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:59:07 [ssh-agent] Looking for ssh-agent implementation... 04:59:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:59:07 $ docker exec daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a ssh-agent 04:59:07 SSH_AUTH_SOCK=/tmp/ssh-d8a33qEGQahR/agent.70 04:59:07 SSH_AGENT_PID=75 04:59:07 Running ssh-add (command line suppressed) 04:59:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_17006686492268007697.key (/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_17006686492268007697.key) 04:59:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:59:08 + git semver init 04:59:08 2022-10-13 04:59:08,200 [run_init] DEBUG init version:0.0.0 force:False 04:59:08 2022-10-13 04:59:08,200 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver 04:59:08 2022-10-13 04:59:08,201 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver 04:59:08 2022-10-13 04:59:08,201 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1236, universal_newlines=False, shell=None, istream=None) 04:59:09 2022-10-13 04:59:09,175 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.git/info/exclude 04:59:09 2022-10-13 04:59:09,175 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver/PR-1236 with force:False 04:59:09 2022-10-13 04:59:09,176 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver/PR-1236 04:59:09 2022-10-13 04:59:09,180 [execute] INFO git cat-file --batch-check 04:59:09 2022-10-13 04:59:09,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver, universal_newlines=False, shell=None, istream=) 04:59:09 2022-10-13 04:59:09,187 [execute] INFO git cat-file --batch 04:59:09 2022-10-13 04:59:09,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver, universal_newlines=False, shell=None, istream=) 04:59:09 2022-10-13 04:59:09,191 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver/PR-1236 04:59:09 0.0.0 [Pipeline] } 04:59:09 $ docker exec --env ******** --env ******** daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a ssh-agent -k 04:59:09 unset SSH_AUTH_SOCK; 04:59:09 unset SSH_AGENT_PID; 04:59:09 echo Agent pid 75 killed; 04:59:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:59:09 + git semver [Pipeline] } 04:59:09 $ docker stop --time=1 daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a 04:59:11 $ docker rm -f daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a [Pipeline] // withDockerContainer [Pipeline] sh 04:59:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:59:11 Stashed 1 file(s) [Pipeline] echo 04:59:11 [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 04:59:11 provisioning config files... 04:59:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config18440244048472084999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:12 ---> docker-login.sh 04:59:12 nexus3.edgexfoundry.org:10001 04:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:12 Configure a credential helper to remove this warning. See 04:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:12 04:59:12 Login Succeeded 04:59:12 nexus3.edgexfoundry.org:10002 04:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:12 Configure a credential helper to remove this warning. See 04:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:12 04:59:12 Login Succeeded 04:59:12 nexus3.edgexfoundry.org:10003 04:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:12 Configure a credential helper to remove this warning. See 04:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:12 04:59:12 Login Succeeded 04:59:12 nexus3.edgexfoundry.org:10004 04:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:12 Configure a credential helper to remove this warning. See 04:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:12 04:59:12 Login Succeeded 04:59:12 docker.io 04:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:13 Configure a credential helper to remove this warning. See 04:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:13 04:59:13 Login Succeeded 04:59:13 ---> docker-login.sh ends [Pipeline] } 04:59:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:59:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:59:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:59:13 ========================================================= 04:59:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:59:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:13 + 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 . 04:59:13 Sending build context to Docker daemon 10MB 04:59:13 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:59:13 Step 2/11 : FROM ${BASE} AS builder 04:59:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:59:13 213ec9aee27d: Pulling fs layer 04:59:13 4583459ba037: Pulling fs layer 04:59:13 93c1e223e6f2: Pulling fs layer 04:59:13 53926ce57604: Pulling fs layer 04:59:13 21b2b0c7a3f4: Pulling fs layer 04:59:13 53926ce57604: Waiting 04:59:13 30f14e443154: Pulling fs layer 04:59:13 21b2b0c7a3f4: Waiting 04:59:13 801331c1e519: Pulling fs layer 04:59:13 30f14e443154: Waiting 04:59:13 99cc6dd402b0: Pulling fs layer 04:59:13 801331c1e519: Waiting 04:59:13 7d9ed39f4882: Pulling fs layer 04:59:13 99cc6dd402b0: Waiting 04:59:13 7d9ed39f4882: Waiting 04:59:13 93c1e223e6f2: Verifying Checksum 04:59:13 93c1e223e6f2: Download complete 04:59:13 4583459ba037: Verifying Checksum 04:59:13 4583459ba037: Download complete 04:59:13 21b2b0c7a3f4: Verifying Checksum 04:59:13 21b2b0c7a3f4: Download complete 04:59:13 30f14e443154: Verifying Checksum 04:59:13 30f14e443154: Download complete 04:59:13 213ec9aee27d: Verifying Checksum 04:59:13 213ec9aee27d: Download complete 04:59:13 801331c1e519: Download complete 04:59:13 213ec9aee27d: Pull complete 04:59:13 4583459ba037: Pull complete 04:59:13 7d9ed39f4882: Verifying Checksum 04:59:13 7d9ed39f4882: Download complete 04:59:13 93c1e223e6f2: Pull complete 04:59:14 53926ce57604: Verifying Checksum 04:59:14 53926ce57604: Download complete 04:59:14 99cc6dd402b0: Download complete 04:59:17 53926ce57604: Pull complete 04:59:18 21b2b0c7a3f4: Pull complete 04:59:18 30f14e443154: Pull complete 04:59:18 801331c1e519: Pull complete 04:59:20 99cc6dd402b0: Pull complete 04:59:21 7d9ed39f4882: Pull complete 04:59:21 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:59:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:59:21 ---> 1dedd983c030 04:59:21 Step 3/11 : ARG MAKE=make build 04:59:22 ---> Running in 6053ae2f33d7 04:59:22 Removing intermediate container 6053ae2f33d7 04:59:22 ---> 30ab32bfe887 04:59:22 Step 4/11 : WORKDIR /device-sdk-go 04:59:22 ---> Running in baa88046ebb6 04:59:22 Removing intermediate container baa88046ebb6 04:59:22 ---> 645ed364fe56 04:59:22 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:59:23 ---> Running in 361b07c0ae46 04:59:23 Removing intermediate container 361b07c0ae46 04:59:23 ---> 4fc25b3b3eb6 04:59:23 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:59:23 ---> Running in 4e582b86217f 04:59:23 Removing intermediate container 4e582b86217f 04:59:23 ---> 97f7826d0f74 04:59:23 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:59:23 ---> Running in 595f8e8b8bce 04:59:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:59:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:59:25 OK: 211 MiB in 51 packages 04:59:25 Removing intermediate container 595f8e8b8bce 04:59:25 ---> e561a0cc1233 04:59:25 Step 8/11 : COPY go.mod vendor* ./ 04:59:25 ---> ebcc3dc29d8e 04:59:25 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:59:25 ---> Running in 6ae36fcf2369 04:59:26 Still waiting to schedule task 04:59:26 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:59:43 Removing intermediate container 6ae36fcf2369 04:59:43 ---> 8601f7224936 04:59:43 Step 10/11 : COPY . . 04:59:43 ---> d13893cc7be5 04:59:43 Step 11/11 : RUN ${MAKE} 04:59:43 ---> Running in 4c8448f36be8 04:59:43 noop 04:59:43 Removing intermediate container 4c8448f36be8 04:59:43 ---> 6bb4fe73fc75 04:59:43 Successfully built 6bb4fe73fc75 04:59:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:44 + docker inspect -f . ci-base-image-x86_64 04:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:44 prd-ubuntu20.04-docker-8c-8g-7805 does not seem to be running inside a container 04:59:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:59:44 $ docker top cd55e6b8fcc0d8497dd656525b4f1851284a7184079d7b7481f01724b310a8e0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:44 + go version 04:59:44 go version go1.18.7 linux/amd64 [Pipeline] } 04:59:44 $ docker stop --time=1 cd55e6b8fcc0d8497dd656525b4f1851284a7184079d7b7481f01724b310a8e0 04:59:46 $ docker rm -f cd55e6b8fcc0d8497dd656525b4f1851284a7184079d7b7481f01724b310a8e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:46 + docker inspect -f . ci-base-image-x86_64 04:59:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:46 prd-ubuntu20.04-docker-8c-8g-7805 does not seem to be running inside a container 04:59:46 $ 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-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:59:47 $ docker top d1c977d85ac985fea85796f879f2918d89e6a60c1017058981fe46f3e31b9b7d -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1236 [Pipeline] fileExists [Pipeline] sh 04:59:47 + make test 04:59:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:59:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:00:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 05:00:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 05:00:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.082s coverage: 60.0% of statements 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:00:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.123s coverage: 54.4% of statements 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:00:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.125s coverage: 65.1% of statements 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 05:00:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.764s coverage: 89.2% of statements 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:00:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 05:00:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:00:24 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." 05:00:24 GO111MODULE=on go vet ./... 05:00:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:00:25 ./bin/test-attribution-txt.sh 05:00:25 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 05:00:25 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:00:25 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:00:25 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:00:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:00:26 $ docker stop --time=1 d1c977d85ac985fea85796f879f2918d89e6a60c1017058981fe46f3e31b9b7d 05:00:28 $ docker rm -f d1c977d85ac985fea85796f879f2918d89e6a60c1017058981fe46f3e31b9b7d [Pipeline] // withDockerContainer [Pipeline] sh 05:00:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:00:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:29 + ls -al . 05:00:29 total 276 05:00:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 04:59 . 05:00:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:58 .. 05:00:29 -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 04:58 .dockerignore 05:00:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 05:00 .git 05:00:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:58 .github 05:00:29 -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 04:58 .gitignore 05:00:29 -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 04:58 .golangci.yml 05:00:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 04:59 .semver 05:00:29 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 04:58 CHANGELOG.md 05:00:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 04:58 GOVERNANCE.md 05:00:29 -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 04:58 Jenkinsfile 05:00:29 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 04:58 LICENSE 05:00:29 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 04:58 Makefile 05:00:29 -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 04:58 OWNERS.md 05:00:29 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 04:58 README.md 05:00:29 -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 04:59 VERSION 05:00:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:58 bin 05:00:29 -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 05:00 coverage.out 05:00:29 drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 04:58 example 05:00:29 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 04:58 go.mod 05:00:29 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 04:58 go.sum 05:00:29 drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 04:58 internal 05:00:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:58 openapi 05:00:29 drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 04:58 pkg 05:00:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:58 snap 05:00:29 -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:30 + 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=5d89824f5431919bca3f6f61f39e47996172db86 --label arch=amd64 --label version=0.0.0 . 05:00:30 Sending build context to Docker daemon 10.1MB 05:00:30 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:00:30 Step 2/25 : FROM ${BASE} AS builder 05:00:30 ---> 6bb4fe73fc75 05:00:30 Step 3/25 : ARG MAKE=make build 05:00:30 ---> Running in 34105352411a 05:00:30 Removing intermediate container 34105352411a 05:00:30 ---> 18f9d43c8aee 05:00:30 Step 4/25 : WORKDIR /device-sdk-go 05:00:30 ---> Running in e18edfd372a1 05:00:30 Removing intermediate container e18edfd372a1 05:00:30 ---> b57b6774a4ea 05:00:30 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:00:30 ---> Running in 1666a5a022c2 05:00:30 Removing intermediate container 1666a5a022c2 05:00:30 ---> 7cb80cabc9a3 05:00:30 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:00:30 ---> Running in e1994b5ccf87 05:00:31 Removing intermediate container e1994b5ccf87 05:00:31 ---> 69e325cce739 05:00:31 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:00:31 ---> Running in 5d6d187409f8 05:00:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:00:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:00:32 OK: 211 MiB in 51 packages 05:00:33 Removing intermediate container 5d6d187409f8 05:00:33 ---> 8b13b6d3d489 05:00:33 Step 8/25 : COPY go.mod vendor* ./ 05:00:33 ---> ac3959cd9d59 05:00:33 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:33 ---> Running in 830af5a93d78 05:00:34 Removing intermediate container 830af5a93d78 05:00:34 ---> 3d334657d5e1 05:00:34 Step 10/25 : COPY . . 05:00:34 ---> 8d919bc97674 05:00:34 Step 11/25 : RUN ${MAKE} 05:00:34 ---> Running in 4b093c714c7b 05:00:34 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 05:00:52 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:00:53 Removing intermediate container 4b093c714c7b 05:00:53 ---> b58cdaa2ae7a 05:00:53 Step 12/25 : FROM alpine:3.16 05:00:53 3.16: Pulling from library/alpine 05:00:54 213ec9aee27d: Already exists 05:00:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:00:54 Status: Downloaded newer image for alpine:3.16 05:00:54 ---> 9c6f07244728 05:00:54 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:00:54 ---> Running in 7f4687e9d729 05:00:54 Removing intermediate container 7f4687e9d729 05:00:54 ---> 76ad36279159 05:00:54 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:00:54 ---> Running in a5c215c4b7ea 05:00:55 Removing intermediate container a5c215c4b7ea 05:00:55 ---> 657f4e48f941 05:00:55 Step 15/25 : RUN apk add --update --no-cache zeromq 05:00:55 ---> Running in e8428712cfd2 05:00:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:00:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:00:56 (1/5) Installing libgcc (11.2.1_git20220219-r2) 05:00:56 (2/5) Installing libsodium (1.0.18-r0) 05:00:56 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 05:00:57 (4/5) Installing libzmq (4.3.4-r0) 05:00:57 (5/5) Installing zeromq (4.3.4-r0) 05:00:57 Executing busybox-1.35.0-r17.trigger 05:00:57 OK: 8 MiB in 19 packages 05:00:57 Removing intermediate container e8428712cfd2 05:00:57 ---> d690c54e5b66 05:00:57 Step 16/25 : WORKDIR / 05:00:57 ---> Running in 8bf17b2cbe56 05:00:57 Removing intermediate container 8bf17b2cbe56 05:00:57 ---> 9b3ec9884113 05:00:57 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:00:57 ---> 8e7304d757c4 05:00:57 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:00:58 ---> ca9eb35644d3 05:00:58 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:00:58 ---> bd20408ba49d 05:00:58 Step 20/25 : EXPOSE 59999 05:00:58 ---> Running in fb93725e1997 05:00:58 Removing intermediate container fb93725e1997 05:00:58 ---> 01b9318b307e 05:00:58 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:00:58 ---> Running in e85bfaae1939 05:00:58 Removing intermediate container e85bfaae1939 05:00:58 ---> df12660414c2 05:00:58 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:00:58 ---> Running in 0da3e3657920 05:00:58 Removing intermediate container 0da3e3657920 05:00:58 ---> b4541dbef913 05:00:58 Step 23/25 : LABEL arch=amd64 05:00:58 ---> Running in 65e039e4fcd1 05:00:58 Removing intermediate container 65e039e4fcd1 05:00:58 ---> 0e271219943a 05:00:58 Step 24/25 : LABEL git_sha=5d89824f5431919bca3f6f61f39e47996172db86 05:00:59 ---> Running in a7bce99fb03e 05:00:59 Removing intermediate container a7bce99fb03e 05:00:59 ---> 8b16930a12f5 05:00:59 Step 25/25 : LABEL version=0.0.0 05:00:59 ---> Running in 986c5301cf92 05:00:59 Removing intermediate container 986c5301cf92 05:00:59 ---> 19e5392ba740 05:00:59 [Warning] One or more build-args [ARCH] were not consumed 05:00:59 Successfully built 19e5392ba740 05:00:59 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 05:00:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:59 05:00:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:00 latest: Pulling from edgex-lftools-log-publisher 05:01:00 5eb5b503b376: Pulling fs layer 05:01:00 5c69ac0246d0: Pulling fs layer 05:01:00 ec43610c2a17: Pulling fs layer 05:01:00 3a2ae6a8a46f: Pulling fs layer 05:01:00 33b1e0a273af: Pulling fs layer 05:01:00 5d3b04190fa2: Pulling fs layer 05:01:00 2f39f015ded8: Pulling fs layer 05:01:00 33b1e0a273af: Waiting 05:01:00 5d3b04190fa2: Waiting 05:01:00 2f39f015ded8: Waiting 05:01:00 3a2ae6a8a46f: Waiting 05:01:00 5c69ac0246d0: Download complete 05:01:00 3a2ae6a8a46f: Verifying Checksum 05:01:00 3a2ae6a8a46f: Download complete 05:01:00 ec43610c2a17: Verifying Checksum 05:01:00 ec43610c2a17: Download complete 05:01:00 33b1e0a273af: Verifying Checksum 05:01:00 33b1e0a273af: Download complete 05:01:00 5d3b04190fa2: Verifying Checksum 05:01:00 5d3b04190fa2: Download complete 05:01:00 5eb5b503b376: Verifying Checksum 05:01:00 5eb5b503b376: Download complete 05:01:01 2f39f015ded8: Download complete 05:01:01 5eb5b503b376: Pull complete 05:01:01 5c69ac0246d0: Pull complete 05:01:02 ec43610c2a17: Pull complete 05:01:02 3a2ae6a8a46f: Pull complete 05:01:02 33b1e0a273af: Pull complete 05:01:02 5d3b04190fa2: Pull complete 05:01:06 2f39f015ded8: Pull complete 05:01:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:01:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:06 prd-ubuntu20.04-docker-8c-8g-7805 does not seem to be running inside a container 05:01:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:01:08 $ docker top 0018d72465f2bc836a843c685f2e278afe1887994775150e57825d2147ca4ace -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:09 ---> job-cost.sh 05:01:09 lf-activate-venv: SKIPPING 05:01:09 INFO: No Stack... 05:01:09 INFO: Retrieving Pricing Info for: v3-standard-8 05:01:10 INFO: Archiving Costs [Pipeline] sh 05:01:10 + cut -d, -f6 05:01:10 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives/cost.csv [Pipeline] lock 05:01:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] 05:01:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] did not exist. Created. 05:01:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:01:10 + echo total: 0.2199999988079071 [Pipeline] stash 05:01:10 Stashed 1 file(s) [Pipeline] } 05:01:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:01:10 $ docker stop --time=1 0018d72465f2bc836a843c685f2e278afe1887994775150e57825d2147ca4ace 05:01:11 $ docker rm -f 0018d72465f2bc836a843c685f2e278afe1887994775150e57825d2147ca4ace [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:03:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7806 in /w/workspace/gexfoundry_device-sdk-go_PR-1236 [Pipeline] { [Pipeline] ws 05:03:27 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:03:27 The recommended git tool is: git 05:03:33 using credential edgex-jenkins-ssh 05:03:33 Cloning the remote Git repository 05:03:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:03:33 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:03:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:03:33 > git --version # timeout=10 05:03:33 > git --version # 'git version 2.25.1' 05:03:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:33 Verifying host key using known hosts file 05:03:33 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:03:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:03:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:03:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:03:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:03:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:03:37 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:37 Verifying host key using known hosts file 05:03:37 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:03:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1236/head:refs/remotes/origin/PR-1236 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:03:38 Merging remotes/origin/main commit 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 into PR head commit 6995182f3f60d6e642695a3ed6f97c51734b7d0e 05:03:38 Merge succeeded, producing ffef6ba1a259d045c9fd948bbbe0eda42489b44c 05:03:38 Checking out Revision ffef6ba1a259d045c9fd948bbbe0eda42489b44c (PR-1236) 05:03:38 > git config core.sparsecheckout # timeout=10 05:03:38 > git checkout -f 6995182f3f60d6e642695a3ed6f97c51734b7d0e # timeout=10 05:03:38 > git remote # timeout=10 05:03:38 > git config --get remote.origin.url # timeout=10 05:03:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:03:38 Verifying host key using known hosts file 05:03:38 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:03:38 > git merge 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 # timeout=10 05:03:38 > git rev-parse HEAD^{commit} # timeout=10 05:03:38 > git config core.sparsecheckout # timeout=10 05:03:38 > git checkout -f ffef6ba1a259d045c9fd948bbbe0eda42489b44c # timeout=10 05:03:41 Commit message: "Merge commit '4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27' into HEAD" 05:03:41 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:41 > git rev-list --no-walk ad57e9545f0400bbf82677090cd003fd0fb66bd3 # timeout=10 05:03:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:03:42 % Total % Received % Xferd Average Speed Time Time Time Current 05:03:42 Dload Upload Total Spent Left Speed 05:03:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 05:03:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:03:43 + sudo tee /etc/docker/daemon.new 05:03:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:03:43 { 05:03:43 "registry-mirrors": [ 05:03:43 "https://nexus3.edgexfoundry.org:10001" 05:03:43 ], 05:03:43 "bip": "10.250.0.254/24", 05:03:43 "hosts": [ 05:03:43 "tcp://0.0.0.0:5555", 05:03:43 "unix:///var/run/docker.sock" 05:03:43 ], 05:03:43 "mtu": 1458, 05:03:43 "selinux-enabled": true, 05:03:43 "seccomp-profile": "/etc/docker/seccomp.json" 05:03:43 } [Pipeline] sh 05:03:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:03:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:02 provisioning config files... 05:04:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15675803743614333779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:03 ---> docker-login.sh 05:04:03 nexus3.edgexfoundry.org:10001 05:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:03 Configure a credential helper to remove this warning. See 05:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:03 05:04:03 Login Succeeded 05:04:03 nexus3.edgexfoundry.org:10002 05:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:03 Configure a credential helper to remove this warning. See 05:04:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:03 05:04:03 Login Succeeded 05:04:03 nexus3.edgexfoundry.org:10003 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:04 Configure a credential helper to remove this warning. See 05:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:04 05:04:04 Login Succeeded 05:04:04 nexus3.edgexfoundry.org:10004 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:04 Configure a credential helper to remove this warning. See 05:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:04 05:04:04 Login Succeeded 05:04:04 docker.io 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:05 Configure a credential helper to remove this warning. See 05:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:05 05:04:05 Login Succeeded 05:04:05 ---> docker-login.sh ends [Pipeline] } 05:04:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:05 ========================================================= 05:04:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:04:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:05 + 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 . 05:04:05 Sending build context to Docker daemon 5.383MB 05:04:05 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:04:05 Step 2/11 : FROM ${BASE} AS builder 05:04:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:04:06 9b18e9b68314: Pulling fs layer 05:04:06 d32db5db7311: Pulling fs layer 05:04:06 d0c4b47475fc: Pulling fs layer 05:04:06 5831b945b038: Pulling fs layer 05:04:06 86bbec2aaacd: Pulling fs layer 05:04:06 e10730c5d714: Pulling fs layer 05:04:06 5dd5c2283517: Pulling fs layer 05:04:06 d5ac0230b979: Pulling fs layer 05:04:06 5831b945b038: Waiting 05:04:06 86bbec2aaacd: Waiting 05:04:06 e10730c5d714: Waiting 05:04:06 5dd5c2283517: Waiting 05:04:06 d5ac0230b979: Waiting 05:04:06 d0c4b47475fc: Verifying Checksum 05:04:06 d0c4b47475fc: Download complete 05:04:06 d32db5db7311: Verifying Checksum 05:04:06 d32db5db7311: Download complete 05:04:06 86bbec2aaacd: Verifying Checksum 05:04:06 86bbec2aaacd: Download complete 05:04:06 e10730c5d714: Verifying Checksum 05:04:06 e10730c5d714: Download complete 05:04:06 9b18e9b68314: Verifying Checksum 05:04:06 9b18e9b68314: Download complete 05:04:07 9b18e9b68314: Pull complete 05:04:07 d5ac0230b979: Verifying Checksum 05:04:07 d5ac0230b979: Download complete 05:04:07 d32db5db7311: Pull complete 05:04:07 d0c4b47475fc: Pull complete 05:04:08 5dd5c2283517: Verifying Checksum 05:04:08 5dd5c2283517: Download complete 05:04:08 5831b945b038: Verifying Checksum 05:04:08 5831b945b038: Download complete 05:04:21 5831b945b038: Pull complete 05:04:21 86bbec2aaacd: Pull complete 05:04:21 e10730c5d714: Pull complete 05:04:25 5dd5c2283517: Pull complete 05:04:26 d5ac0230b979: Pull complete 05:04:26 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 05:04:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:04:26 ---> 59b3b1a385d4 05:04:26 Step 3/11 : ARG MAKE=make build 05:04:28 ---> Running in d23616a09ad3 05:04:28 Removing intermediate container d23616a09ad3 05:04:28 ---> 08d3543fe421 05:04:28 Step 4/11 : WORKDIR /device-sdk-go 05:04:29 ---> Running in f49bdd71c607 05:04:29 Removing intermediate container f49bdd71c607 05:04:29 ---> 8a884c7f3744 05:04:29 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:04:29 ---> Running in ba4b9b0804fe 05:04:29 Removing intermediate container ba4b9b0804fe 05:04:29 ---> c5bb9a588e82 05:04:29 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:30 ---> Running in 385fd35bf9e6 05:04:31 Removing intermediate container 385fd35bf9e6 05:04:31 ---> a363a3aa590e 05:04:31 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:04:31 ---> Running in 52e13ec65ac7 05:04:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:04:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:04:34 OK: 221 MiB in 51 packages 05:04:36 Removing intermediate container 52e13ec65ac7 05:04:36 ---> 2bbe4b33c20f 05:04:36 Step 8/11 : COPY go.mod vendor* ./ 05:04:36 ---> 4a2303d9e9ff 05:04:36 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:36 ---> Running in c9e8d4f0c17c 05:05:33 Removing intermediate container c9e8d4f0c17c 05:05:33 ---> 745702c6c38c 05:05:33 Step 10/11 : COPY . . 05:05:33 ---> 33c9f5920455 05:05:33 Step 11/11 : RUN ${MAKE} 05:05:33 ---> Running in cddb2064e6e2 05:05:33 noop 05:05:33 Removing intermediate container cddb2064e6e2 05:05:33 ---> 1415ca64e8ad 05:05:33 Successfully built 1415ca64e8ad 05:05:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:33 + docker inspect -f . ci-base-image-arm64 05:05:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:33 prd-ubuntu20.04-docker-arm64-4c-16g-7806 does not seem to be running inside a container 05:05:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:05:35 $ docker top 80697bbc4d63e4c3a5e911012dbea2899390712f22f8de6d4eea60c98f0084b4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:36 + go version 05:05:36 go version go1.18.7 linux/arm64 [Pipeline] } 05:05:36 $ docker stop --time=1 80697bbc4d63e4c3a5e911012dbea2899390712f22f8de6d4eea60c98f0084b4 05:05:37 $ docker rm -f 80697bbc4d63e4c3a5e911012dbea2899390712f22f8de6d4eea60c98f0084b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:38 + docker inspect -f . ci-base-image-arm64 05:05:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:38 prd-ubuntu20.04-docker-arm64-4c-16g-7806 does not seem to be running inside a container 05:05:38 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:05:39 $ docker top 17a2401889206287c5638676a5035bb902b5c6a183369a4905a2d8b177eb4796 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:40 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 05:05:40 + make test 05:05:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:06:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:08:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:08:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:08:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:08:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:08:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:08:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.282s coverage: 27.6% of statements 05:08:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.528s coverage: 78.9% of statements 05:08:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 05:08:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.463s coverage: 60.0% of statements 05:08:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:08:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:08:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.936s coverage: 54.4% of statements 05:08:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:08:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 05:08:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:08:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:08:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.562s coverage: 65.1% of statements 05:08:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 05:08:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 05:08:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.679s coverage: 89.2% of statements 05:08:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:08:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.279s coverage: 4.7% of statements 05:08:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:08:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:08:40 GO111MODULE=on go vet ./... 05:10:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:17 ./bin/test-attribution-txt.sh 05:10:17 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 05:10:17 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:10:17 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:10:17 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:10:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:10:17 $ docker stop --time=1 17a2401889206287c5638676a5035bb902b5c6a183369a4905a2d8b177eb4796 05:10:20 $ docker rm -f 17a2401889206287c5638676a5035bb902b5c6a183369a4905a2d8b177eb4796 [Pipeline] // withDockerContainer [Pipeline] sh 05:10:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:21 Warning: overwriting stash ‘coverage-report’ 05:10:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:22 + ls -al . 05:10:22 total 272 05:10:22 drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 05:05 . 05:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 05:03 .. 05:10:22 -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 05:03 .dockerignore 05:10:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 05:03 .git 05:10:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 05:03 .github 05:10:22 -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 05:03 .gitignore 05:10:22 -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 05:03 .golangci.yml 05:10:22 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 05:03 CHANGELOG.md 05:10:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 05:03 GOVERNANCE.md 05:10:22 -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 05:03 Jenkinsfile 05:10:22 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 05:03 LICENSE 05:10:22 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 05:03 Makefile 05:10:22 -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 05:03 OWNERS.md 05:10:22 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 05:03 README.md 05:10:22 -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 04:59 VERSION 05:10:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 05:03 bin 05:10:22 -rw-r--r-- 1 jenkins jenkins 101010 Oct 13 05:08 coverage.out 05:10:22 drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 05:03 example 05:10:22 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 05:03 go.mod 05:10:22 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 05:03 go.sum 05:10:22 drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 05:03 internal 05:10:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 05:03 openapi 05:10:22 drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 05:03 pkg 05:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 05:03 snap 05:10:22 -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:23 + 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=ffef6ba1a259d045c9fd948bbbe0eda42489b44c --label arch=arm64 --label version=0.0.0 . 05:10:23 Sending build context to Docker daemon 5.485MB 05:10:23 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:10:23 Step 2/25 : FROM ${BASE} AS builder 05:10:23 ---> 1415ca64e8ad 05:10:23 Step 3/25 : ARG MAKE=make build 05:10:23 ---> Running in 581aaddc4191 05:10:23 Removing intermediate container 581aaddc4191 05:10:23 ---> 056d1a0f875a 05:10:23 Step 4/25 : WORKDIR /device-sdk-go 05:10:23 ---> Running in cd744a603170 05:10:24 Removing intermediate container cd744a603170 05:10:24 ---> 1dc487345398 05:10:24 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:10:24 ---> Running in 300a2ad6e166 05:10:24 Removing intermediate container 300a2ad6e166 05:10:24 ---> f9efdad354a3 05:10:24 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:24 ---> Running in d3924ba5022c 05:10:26 Removing intermediate container d3924ba5022c 05:10:26 ---> 40128c0100fa 05:10:26 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:10:26 ---> Running in c1eeb3bb7a81 05:10:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:10:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:10:29 OK: 221 MiB in 51 packages 05:10:30 Removing intermediate container c1eeb3bb7a81 05:10:30 ---> c2b866dbbb40 05:10:30 Step 8/25 : COPY go.mod vendor* ./ 05:10:30 ---> 14b6062795ae 05:10:30 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:30 ---> Running in 8604be7af423 05:10:32 Removing intermediate container 8604be7af423 05:10:32 ---> be8e5dad41f9 05:10:32 Step 10/25 : COPY . . 05:10:33 ---> 79b8b041a5f9 05:10:33 Step 11/25 : RUN ${MAKE} 05:10:33 ---> Running in b1566044fcee 05:10:34 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 05:12:56 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:12:56 Removing intermediate container b1566044fcee 05:12:56 ---> 6040e29fe2fc 05:12:56 Step 12/25 : FROM alpine:3.16 05:12:56 3.16: Pulling from library/alpine 05:12:56 9b18e9b68314: Already exists 05:12:56 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:12:56 Status: Downloaded newer image for alpine:3.16 05:12:56 ---> a6215f271958 05:12:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:12:56 ---> Running in ac002b13b423 05:12:56 Removing intermediate container ac002b13b423 05:12:56 ---> 2a64f7504526 05:12:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:56 ---> Running in a6c45a299d2b 05:12:56 Removing intermediate container a6c45a299d2b 05:12:56 ---> 52ece7bdde62 05:12:56 Step 15/25 : RUN apk add --update --no-cache zeromq 05:12:56 ---> Running in 7094042701b3 05:12:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:12:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:12:56 (1/5) Installing libgcc (11.2.1_git20220219-r2) 05:12:56 (2/5) Installing libsodium (1.0.18-r0) 05:12:56 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 05:12:56 (4/5) Installing libzmq (4.3.4-r0) 05:12:56 (5/5) Installing zeromq (4.3.4-r0) 05:12:56 Executing busybox-1.35.0-r17.trigger 05:12:56 OK: 8 MiB in 19 packages 05:12:56 Removing intermediate container 7094042701b3 05:12:56 ---> d75f122c0b1e 05:12:56 Step 16/25 : WORKDIR / 05:12:56 ---> Running in 4416c0f8b37a 05:12:56 Removing intermediate container 4416c0f8b37a 05:12:56 ---> 8a608c996b08 05:12:56 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:12:56 ---> 92acc220d313 05:12:56 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:12:58 ---> 46d6b2804d3b 05:12:58 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:12:58 ---> fc8c76d7e9f0 05:12:58 Step 20/25 : EXPOSE 59999 05:12:58 ---> Running in c849fd074d0d 05:12:59 Removing intermediate container c849fd074d0d 05:12:59 ---> d53ca9ee0023 05:12:59 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:12:59 ---> Running in a96e825c1894 05:12:59 Removing intermediate container a96e825c1894 05:12:59 ---> 09df236140de 05:12:59 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:12:59 ---> Running in 259c4f661ff6 05:13:00 Removing intermediate container 259c4f661ff6 05:13:00 ---> e6a5b9af8b99 05:13:00 Step 23/25 : LABEL arch=arm64 05:13:00 ---> Running in c1b0644529e7 05:13:00 Removing intermediate container c1b0644529e7 05:13:00 ---> f6301b0c34e2 05:13:00 Step 24/25 : LABEL git_sha=ffef6ba1a259d045c9fd948bbbe0eda42489b44c 05:13:00 ---> Running in abef720cc467 05:13:00 Removing intermediate container abef720cc467 05:13:00 ---> 11e00ba3220b 05:13:00 Step 25/25 : LABEL version=0.0.0 05:13:00 ---> Running in eddd8e64fdc1 05:13:01 Removing intermediate container eddd8e64fdc1 05:13:01 ---> 733e047012dc 05:13:01 [Warning] One or more build-args [ARCH] were not consumed 05:13:01 Successfully built 733e047012dc 05:13:01 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 05:13:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:01 05:13:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:01 arm64: Pulling from edgex-lftools-log-publisher 05:13:01 8998bd30e6a1: Pulling fs layer 05:13:01 04944245beec: Pulling fs layer 05:13:01 699f458cf7ca: Pulling fs layer 05:13:01 765212b225bb: Pulling fs layer 05:13:01 f23df028b6ca: Pulling fs layer 05:13:01 d65c8cfc05b1: Pulling fs layer 05:13:01 2437ff75d9bd: Pulling fs layer 05:13:01 765212b225bb: Waiting 05:13:01 f23df028b6ca: Waiting 05:13:01 d65c8cfc05b1: Waiting 05:13:01 2437ff75d9bd: Waiting 05:13:02 04944245beec: Verifying Checksum 05:13:02 04944245beec: Download complete 05:13:02 765212b225bb: Verifying Checksum 05:13:02 765212b225bb: Download complete 05:13:02 f23df028b6ca: Verifying Checksum 05:13:02 f23df028b6ca: Download complete 05:13:02 d65c8cfc05b1: Verifying Checksum 05:13:02 d65c8cfc05b1: Download complete 05:13:02 699f458cf7ca: Verifying Checksum 05:13:02 699f458cf7ca: Download complete 05:13:02 8998bd30e6a1: Download complete 05:13:05 2437ff75d9bd: Download complete 05:13:06 8998bd30e6a1: Pull complete 05:13:07 04944245beec: Pull complete 05:13:08 699f458cf7ca: Pull complete 05:13:08 765212b225bb: Pull complete 05:13:09 f23df028b6ca: Pull complete 05:13:09 d65c8cfc05b1: Pull complete 05:13:24 2437ff75d9bd: Pull complete 05:13:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:13:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:24 prd-ubuntu20.04-docker-arm64-4c-16g-7806 does not seem to be running inside a container 05:13:24 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:13:27 $ docker top dae57943b4f4d4cee6aa1574a3d1c3277d03ce8cfbd8bed3f67b9b4953188c60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:28 ---> job-cost.sh 05:13:28 lf-activate-venv: SKIPPING 05:13:28 INFO: No Stack... 05:13:29 INFO: Retrieving Pricing Info for: v3-standard-4 05:13:30 INFO: Archiving Costs [Pipeline] sh 05:13:30 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 05:13:30 + cut -d, -f6 [Pipeline] lock 05:13:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] 05:13:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] did not exist. Created. 05:13:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:31 /w/workspace/device-sdk-go/2@tmp/durable-6e2bc020/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:32 + echo total: 0.10999999940395355 [Pipeline] stash 05:13:32 Warning: overwriting stash ‘stack-cost’ 05:13:32 Stashed 1 file(s) [Pipeline] } 05:13:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:32 $ docker stop --time=1 dae57943b4f4d4cee6aa1574a3d1c3277d03ce8cfbd8bed3f67b9b4953188c60 05:13:33 $ docker rm -f dae57943b4f4d4cee6aa1574a3d1c3277d03ce8cfbd8bed3f67b9b4953188c60 [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 05:13:34 provisioning config files... 05:13:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config1184168472483510133tmp [Pipeline] { [Pipeline] sh 05:13:34 + set +x 05:13:34 + curl -s https://codecov.io/bash 05:13:34 + bash -s -- 05:13:34 05:13:34 _____ _ 05:13:34 / ____| | | 05:13:34 | | ___ __| | ___ ___ _____ __ 05:13:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:34 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:34 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:34 Bash-1.0.6 05:13:34 05:13:34 05:13:34 ==> git version 2.25.1 found 05:13:34 ==> 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 05:13:34 Release-Date: 2020-01-08 05:13:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:13:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:34 ==> Jenkins CI detected. 05:13:34 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1236 05:13:34 project root: . 05:13:34 --> token set from env 05:13:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:34 ==> Running gcov in . (disable via -X gcov) 05:13:34 ==> Python coveragepy not found 05:13:34 ==> Searching for coverage reports in: 05:13:34 + . 05:13:34 -> Found 1 reports 05:13:34 ==> Detecting git/mercurial file structure 05:13:34 ==> Reading reports 05:13:34 + ./coverage.out bytes=101010 05:13:34 ==> Appending adjustments 05:13:34 https://docs.codecov.io/docs/fixing-reports 05:13:34 + Found adjustments 05:13:34 ==> Gzipping contents 05:13:35 16K /tmp/codecov.4fjkLY.gz 05:13:35 ==> Uploading reports 05:13:35 url: https://codecov.io 05:13:35 query: branch=PR-1236&commit=5d89824f5431919bca3f6f61f39e47996172db86&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1236%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1236&job=&cmd_args= 05:13:35 -> Pinging Codecov 05:13:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1236&commit=5d89824f5431919bca3f6f61f39e47996172db86&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1236%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1236&job=&cmd_args= 05:13:35 -> Uploading to 05:13:35 https://storage.googleapis.com/codecov/v4/raw/2022-10-13/7E55EF52A471D76F132DFD9A03CDDE97/5d89824f5431919bca3f6f61f39e47996172db86/d153a3cc-78c9-4408-ae23-e501daa59314.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221013T051335Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38a27d5dd9f6e90028f2a0af50dfae25eb2581a484b8b12db2375da7528ecec7 05:13:35 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:35 Dload Upload Total Spent Left Speed 05:13:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14569 0 0 100 14569 0 65626 --:--:-- --:--:-- --:--:-- 65331 100 14569 0 0 100 14569 0 61733 --:--:-- --:--:-- --:--:-- 61472 05:13:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5d89824f5431919bca3f6f61f39e47996172db86 [Pipeline] } 05:13:35 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 05:13:36 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives ] 05:13:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives 05:13:36 total 16 05:13:36 drwxr-xr-x 3 root root 4096 Oct 13 05:01 . 05:13:36 drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 05:01 .. 05:13:36 drwxr-xr-x 2 root root 4096 Oct 13 05:01 cost 05:13:36 -rw-r--r-- 1 root root 86 Oct 13 05:01 cost.csv 05:13:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives 05:13:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives 05:13:36 total 16 05:13:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 05:01 . 05:13:36 drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 05:01 .. 05:13:36 drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 05:01 cost 05:13:36 -rw-r--r-- 1 jenkins jenkins 86 Oct 13 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:37 ---> package-listing.sh 05:13:37 ++ tr '[:upper:]' '[:lower:]' 05:13:37 ++ facter osfamily 05:13:37 + OS_FAMILY=debian 05:13:37 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1236 05:13:37 + START_PACKAGES=/tmp/packages_start.txt 05:13:37 + END_PACKAGES=/tmp/packages_end.txt 05:13:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:37 + PACKAGES=/tmp/packages_start.txt 05:13:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1236 ']' 05:13:37 + PACKAGES=/tmp/packages_end.txt 05:13:37 + case "${OS_FAMILY}" in 05:13:37 + dpkg -l 05:13:37 + grep '^ii' 05:13:37 + '[' -f /tmp/packages_start.txt ']' 05:13:37 + '[' -f /tmp/packages_end.txt ']' 05:13:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1236 ']' 05:13:37 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives/ 05:13:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives/ [Pipeline] echo 05:13:37 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-1236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:38 prd-ubuntu20.04-docker-8c-8g-7805 does not seem to be running inside a container 05:13:38 $ 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-1236/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-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:13:38 $ docker top 8a9cc424cca4c6cff06c21eaa9d46346e3c9a012a8494a03b9383dd6514f5f0c -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:39 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:39 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:39 + ls /var/log/sa-host 05:13:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:39 provisioning config files... 05:13:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config2811814102862590440tmp [Pipeline] { [Pipeline] echo 05:13:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:40 ---> create-netrc.sh [Pipeline] } 05:13:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:40 ---> python-tools-install.sh [Pipeline] echo 05:13:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:40 ---> sudo-logs.sh 05:13:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:41 ---> job-cost.sh 05:13:41 lf-activate-venv: SKIPPING 05:13:41 DEBUG: total: 0.2199999988079071 05:13:41 INFO: Retrieving Stack Cost... 05:13:41 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:41 INFO: Archiving Costs [Pipeline] echo 05:13:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:42 ---> logs-deploy.sh 05:13:42 lf-activate-venv: SKIPPING 05:13:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1236/2 05:13:42 INFO: archiving workspace using pattern(s): 05:13:43 Archives upload complete. 05:13:43 INFO: archiving logs to Nexus