Branch indexing 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9867ceccc81c4680e14fc13c8919f6907f05772+98b98247f9133d8f7aed6314c982956ab2f73d9e (b80d138dc1b847863fc9afcde429dcefa84132a8) 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-ssh6812121336656812336.key > 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-ssh6282531495037623509.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-1196/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-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13874343131410536216.key > 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-ssh11818110050803591816.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/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-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15604527838051003865.key > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-30009 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [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-1196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 98b98247f9133d8f7aed6314c982956ab2f73d9e into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing 20f7df29fe35d9f9d63affb6a5025a1436d247e0 Checking out Revision 20f7df29fe35d9f9d63affb6a5025a1436d247e0 (PR-1196) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 98b98247f9133d8f7aed6314c982956ab2f73d9e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20f7df29fe35d9f9d63affb6a5025a1436d247e0 # timeout=10 Commit message: "Merge commit '98b98247f9133d8f7aed6314c982956ab2f73d9e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk b1dc979145095e8e846205f9e2715265dc275d17 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:27 ========================================================= 22:41:27 EdgeX Global Pipelines Version Info 22:41:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:28 ------------------- 22:41:28 stable info: 22:41:28 ------------------- 22:41:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:28 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:41:28 Message: update stable to v1.0.239 22:41:29 ------------------- 22:41:29 experimental info: 22:41:29 ------------------- 22:41:29 Commited By: **** collab-it+edgex@linuxfoundation.org 22:41:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:41:29 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20f7df29fe35d9f9d63affb6a5025a1436d247e0 [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20f7df2 [Pipeline] echo 22:41:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:29 provisioning config files... 22:41:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config7467817648475146370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:30 ---> docker-login.sh 22:41:30 nexus3.edgexfoundry.org:10001 22:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:30 Configure a credential helper to remove this warning. See 22:41:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:30 22:41:30 Login Succeeded 22:41:30 nexus3.edgexfoundry.org:10002 22:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:30 Configure a credential helper to remove this warning. See 22:41:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:30 22:41:30 Login Succeeded 22:41:30 nexus3.edgexfoundry.org:10003 22:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:30 Configure a credential helper to remove this warning. See 22:41:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:30 22:41:30 Login Succeeded 22:41:30 nexus3.edgexfoundry.org:10004 22:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:31 Configure a credential helper to remove this warning. See 22:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:31 22:41:31 Login Succeeded 22:41:31 docker.io 22:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:31 Configure a credential helper to remove this warning. See 22:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:31 22:41:31 Login Succeeded 22:41:31 ---> docker-login.sh ends [Pipeline] } 22:41:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:41:31 + git rev-list -1 --merges 20f7df29fe35d9f9d63affb6a5025a1436d247e0~1..20f7df29fe35d9f9d63affb6a5025a1436d247e0 [Pipeline] echo 22:41:31 -----------> git rev-list -1 --merges 20f7df29fe35d9f9d63affb6a5025a1436d247e0~1..20f7df29fe35d9f9d63affb6a5025a1436d247e0 20f7df29fe35d9f9d63affb6a5025a1436d247e0 22:41:31 20f7df29fe35d9f9d63affb6a5025a1436d247e0 [false] [Pipeline] sh 22:41:32 + git log --format=format:%s -1 20f7df29fe35d9f9d63affb6a5025a1436d247e0 [Pipeline] echo 22:41:32 ========================================================= 22:41:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:41:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:41:32 + git log --format=format:%s -1 20f7df29fe35d9f9d63affb6a5025a1436d247e0 [Pipeline] echo 22:41:32 [semverPrep] GIT_COMMIT: 20f7df29fe35d9f9d63affb6a5025a1436d247e0, Commit Message: Merge commit '98b98247f9133d8f7aed6314c982956ab2f73d9e' into HEAD [Pipeline] echo 22:41:32 [semverPrep] This is not a build commit. [Pipeline] sh 22:41:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:41:32 + grep -v github /etc/ssh/ssh_known_hosts 22:41:32 + [ -e /tmp/ssh_known_hosts ] 22:41:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:41:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:41:32 + sudo tee -a /etc/ssh/ssh_known_hosts 22:41:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:33 22:41:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:33 0.1.4: Pulling from edgex-devops/py-git-semver 22:41:33 b85a868b505f: Pulling fs layer 22:41:33 e2be974225ed: Pulling fs layer 22:41:33 339a4e72a1f5: Pulling fs layer 22:41:33 988bab9f4d93: Pulling fs layer 22:41:33 1469e6f7b9e6: Pulling fs layer 22:41:33 eaf3925da568: Pulling fs layer 22:41:33 bab4dde63d76: Pulling fs layer 22:41:33 bde34c3a00c8: Pulling fs layer 22:41:33 b352a97aabf1: Pulling fs layer 22:41:33 4872d77fe225: Pulling fs layer 22:41:33 5851b861e8e6: Pulling fs layer 22:41:33 988bab9f4d93: Waiting 22:41:33 eaf3925da568: Waiting 22:41:33 5851b861e8e6: Waiting 22:41:33 4872d77fe225: Waiting 22:41:33 1469e6f7b9e6: Waiting 22:41:33 b352a97aabf1: Waiting 22:41:33 bde34c3a00c8: Waiting 22:41:33 bab4dde63d76: Waiting 22:41:33 e2be974225ed: Download complete 22:41:33 988bab9f4d93: Verifying Checksum 22:41:33 988bab9f4d93: Download complete 22:41:33 1469e6f7b9e6: Verifying Checksum 22:41:33 1469e6f7b9e6: Download complete 22:41:33 339a4e72a1f5: Verifying Checksum 22:41:33 339a4e72a1f5: Download complete 22:41:33 eaf3925da568: Verifying Checksum 22:41:33 eaf3925da568: Download complete 22:41:33 bde34c3a00c8: Download complete 22:41:33 b352a97aabf1: Verifying Checksum 22:41:33 b352a97aabf1: Download complete 22:41:33 4872d77fe225: Download complete 22:41:33 5851b861e8e6: Download complete 22:41:33 b85a868b505f: Verifying Checksum 22:41:33 b85a868b505f: Download complete 22:41:34 bab4dde63d76: Verifying Checksum 22:41:34 bab4dde63d76: Download complete 22:41:35 b85a868b505f: Pull complete 22:41:35 e2be974225ed: Pull complete 22:41:35 339a4e72a1f5: Pull complete 22:41:35 988bab9f4d93: Pull complete 22:41:36 1469e6f7b9e6: Pull complete 22:41:36 eaf3925da568: Pull complete 22:41:38 bab4dde63d76: Pull complete 22:41:38 bde34c3a00c8: Pull complete 22:41:38 b352a97aabf1: Pull complete 22:41:38 4872d77fe225: Pull complete 22:41:38 5851b861e8e6: Pull complete 22:41:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:41:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:38 prd-ubuntu20.04-docker-8c-8g-30009 does not seem to be running inside a container 22:41:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:41:39 $ docker top 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c -eo pid,comm 22:41:39 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). 22:41:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:40 [ssh-agent] Looking for ssh-agent implementation... 22:41:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:40 $ docker exec 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c ssh-agent 22:41:40 SSH_AUTH_SOCK=/tmp/ssh-RVPLB18I8c3c/agent.35 22:41:40 SSH_AGENT_PID=41 22:41:40 Running ssh-add (command line suppressed) 22:41:40 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_5027578891392556683.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_5027578891392556683.key) 22:41:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:40 + git tag --points-at HEAD [Pipeline] } 22:41:40 $ docker exec --env ******** --env ******** 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c ssh-agent -k 22:41:40 unset SSH_AUTH_SOCK; 22:41:40 unset SSH_AGENT_PID; 22:41:40 echo Agent pid 41 killed; 22:41:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:41:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:40 [ssh-agent] Looking for ssh-agent implementation... 22:41:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:40 $ docker exec 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c ssh-agent 22:41:41 SSH_AUTH_SOCK=/tmp/ssh-d905ghVujrnj/agent.75 22:41:41 SSH_AGENT_PID=82 22:41:41 Running ssh-add (command line suppressed) 22:41:41 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_8646612605716691113.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_8646612605716691113.key) 22:41:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:41 + git semver init 22:41:41 2022-09-20 22:41:41,723 [run_init] DEBUG init version:0.0.0 force:False 22:41:41 2022-09-20 22:41:41,723 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 22:41:41 2022-09-20 22:41:41,724 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver 22:41:41 2022-09-20 22:41:41,724 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196, universal_newlines=False, shell=None, istream=None) 22:41:42 2022-09-20 22:41:42,667 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude 22:41:42 2022-09-20 22:41:42,668 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 with force:False 22:41:42 2022-09-20 22:41:42,668 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 22:41:42 2022-09-20 22:41:42,672 [execute] INFO git cat-file --batch-check 22:41:42 2022-09-20 22:41:42,672 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) 22:41:42 2022-09-20 22:41:42,678 [execute] INFO git cat-file --batch 22:41:42 2022-09-20 22:41:42,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) 22:41:42 2022-09-20 22:41:42,683 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 22:41:42 0.0.0 [Pipeline] } 22:41:42 $ docker exec --env ******** --env ******** 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c ssh-agent -k 22:41:42 unset SSH_AUTH_SOCK; 22:41:42 unset SSH_AGENT_PID; 22:41:42 echo Agent pid 82 killed; 22:41:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:41:43 + git semver [Pipeline] } 22:41:43 $ docker stop --time=1 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c 22:41:44 $ docker rm -f 630444ead54643c85334744e7a1e17d997ffec97eb32e4a25fa7eb72a63ac45c [Pipeline] // withDockerContainer [Pipeline] sh 22:41:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:41:45 Stashed 1 file(s) [Pipeline] echo 22:41:45 [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 22:41:45 provisioning config files... 22:41:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config1292706230622292157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:45 ---> docker-login.sh 22:41:45 nexus3.edgexfoundry.org:10001 22:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:45 Configure a credential helper to remove this warning. See 22:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:45 22:41:45 Login Succeeded 22:41:45 nexus3.edgexfoundry.org:10002 22:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-30008 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws 22:41:45 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 22:41:45 The recommended git tool is: git 22:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:46 Configure a credential helper to remove this warning. See 22:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:46 22:41:46 Login Succeeded 22:41:46 nexus3.edgexfoundry.org:10003 22:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:46 Configure a credential helper to remove this warning. See 22:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:46 22:41:46 Login Succeeded 22:41:46 nexus3.edgexfoundry.org:10004 22:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:46 Configure a credential helper to remove this warning. See 22:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:46 22:41:46 Login Succeeded 22:41:46 docker.io 22:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:46 Configure a credential helper to remove this warning. See 22:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:46 22:41:46 Login Succeeded 22:41:46 ---> docker-login.sh ends [Pipeline] } 22:41:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:41:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:46 ========================================================= 22:41:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:41:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:47 + 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 . 22:41:47 Sending build context to Docker daemon 9.82MB 22:41:47 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:41:47 Step 2/11 : FROM ${BASE} AS builder 22:41:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:41:47 2408cc74d12b: Pulling fs layer 22:41:47 ea60b727a1ce: Pulling fs layer 22:41:47 30c4a7721957: Pulling fs layer 22:41:47 370296b7ddb6: Pulling fs layer 22:41:47 7c6cee850709: Pulling fs layer 22:41:47 39a5fcdaea64: Pulling fs layer 22:41:47 d94ebbe4e438: Pulling fs layer 22:41:47 bcfd1f05c69d: Pulling fs layer 22:41:47 370296b7ddb6: Waiting 22:41:47 7c6cee850709: Waiting 22:41:47 39a5fcdaea64: Waiting 22:41:47 d94ebbe4e438: Waiting 22:41:47 59ccb84bbe0f: Pulling fs layer 22:41:47 bcfd1f05c69d: Waiting 22:41:47 59ccb84bbe0f: Waiting 22:41:47 30c4a7721957: Download complete 22:41:47 ea60b727a1ce: Download complete 22:41:47 7c6cee850709: Verifying Checksum 22:41:47 39a5fcdaea64: Verifying Checksum 22:41:47 39a5fcdaea64: Download complete 22:41:47 2408cc74d12b: Verifying Checksum 22:41:47 2408cc74d12b: Download complete 22:41:47 d94ebbe4e438: Verifying Checksum 22:41:47 d94ebbe4e438: Download complete 22:41:47 2408cc74d12b: Pull complete 22:41:47 ea60b727a1ce: Pull complete 22:41:47 30c4a7721957: Pull complete 22:41:47 59ccb84bbe0f: Verifying Checksum 22:41:47 59ccb84bbe0f: Download complete 22:41:47 bcfd1f05c69d: Verifying Checksum 22:41:47 bcfd1f05c69d: Download complete 22:41:48 370296b7ddb6: Verifying Checksum 22:41:48 370296b7ddb6: Download complete 22:41:50 using credential edgex-jenkins-ssh 22:41:50 Cloning the remote Git repository 22:41:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:41:50 > git init /w/workspace/device-sdk-go/8 # timeout=10 22:41:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:41:50 > git --version # timeout=10 22:41:50 > git --version # 'git version 2.25.1' 22:41:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:41:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:41:52 370296b7ddb6: Pull complete 22:41:52 7c6cee850709: Pull complete 22:41:52 39a5fcdaea64: Pull complete 22:41:52 d94ebbe4e438: Pull complete 22:41:52 Merging remotes/origin/main commit 98b98247f9133d8f7aed6314c982956ab2f73d9e into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 22:41:53 Merge succeeded, producing 770e49f98ab9a0319562a8a700f6290beba4a444 22:41:53 Checking out Revision 770e49f98ab9a0319562a8a700f6290beba4a444 (PR-1196) 22:41:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:41:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:41:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:41:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:41:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:41:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:41:52 > git config core.sparsecheckout # timeout=10 22:41:52 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 22:41:52 > git remote # timeout=10 22:41:52 > git config --get remote.origin.url # timeout=10 22:41:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:41:53 > git merge 98b98247f9133d8f7aed6314c982956ab2f73d9e # timeout=10 22:41:53 > git rev-parse HEAD^{commit} # timeout=10 22:41:53 > git config core.sparsecheckout # timeout=10 22:41:53 > git checkout -f 770e49f98ab9a0319562a8a700f6290beba4a444 # timeout=10 22:41:54 bcfd1f05c69d: Pull complete 22:41:55 59ccb84bbe0f: Pull complete 22:41:55 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:41:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:41:55 ---> a4fb48ad2a94 22:41:55 Step 3/11 : ARG MAKE=make build 22:41:56 ---> Running in 42fdc30acbcf 22:41:56 Removing intermediate container 42fdc30acbcf 22:41:56 ---> 4a02f02f667c 22:41:56 Step 4/11 : WORKDIR /device-sdk-go 22:41:56 ---> Running in 90136fb0ef3c 22:41:56 Removing intermediate container 90136fb0ef3c 22:41:56 ---> 2b105e41169f 22:41:56 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:41:56 ---> Running in 6648a2329d13 22:41:56 Removing intermediate container 6648a2329d13 22:41:56 ---> 0d9aa4b35597 22:41:56 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:56 ---> Running in a1f1065cdbe4 22:41:57 Commit message: "Merge commit '98b98247f9133d8f7aed6314c982956ab2f73d9e' into HEAD" 22:41:57 First time build. Skipping changelog. 22:41:57 Removing intermediate container a1f1065cdbe4 22:41:57 ---> c84d5d994ba3 22:41:57 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:41:57 ---> Running in 990d53bf5619 22:41:57 > git rev-list --no-walk b1dc979145095e8e846205f9e2715265dc275d17 # timeout=10 22:41:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:41:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:41:58 % Total % Received % Xferd Average Speed Time Time Time Current 22:41:58 Dload Upload Total Spent Left Speed 22:41:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 94044 [Pipeline] sh 22:41:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:41:58 OK: 211 MiB in 51 packages 22:41:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:41:59 Removing intermediate container 990d53bf5619 22:41:59 ---> cd4128f024cf 22:41:59 Step 8/11 : COPY go.mod vendor* ./ 22:41:59 + + sudo teesudo /etc/docker/daemon.new jq 22:41:59 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:41:59 { 22:41:59 "registry-mirrors": [ 22:41:59 "https://nexus3.edgexfoundry.org:10001" 22:41:59 ], 22:41:59 "bip": "10.250.0.254/24", 22:41:59 "hosts": [ 22:41:59 "tcp://0.0.0.0:5555", 22:41:59 "unix:///var/run/docker.sock" 22:41:59 ], 22:41:59 "mtu": 1458, 22:41:59 "selinux-enabled": true, 22:41:59 "seccomp-profile": "/etc/docker/seccomp.json" 22:41:59 } [Pipeline] sh 22:41:59 ---> ad363495a8f1 22:41:59 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:59 ---> Running in ef4b99ecc30f 22:41:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:41:59 + sudo service docker restart 22:42:14 Removing intermediate container ef4b99ecc30f 22:42:14 ---> 9cf6a1b24036 22:42:14 Step 10/11 : COPY . . 22:42:14 ---> 50d31301db1d 22:42:14 Step 11/11 : RUN ${MAKE} 22:42:14 ---> Running in 9550a7e21b0a 22:42:14 noop 22:42:15 Removing intermediate container 9550a7e21b0a 22:42:15 ---> f0980d63b6a2 22:42:15 Successfully built f0980d63b6a2 22:42:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:15 + docker inspect -f . ci-base-image-x86_64 22:42:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:15 prd-ubuntu20.04-docker-8c-8g-30009 does not seem to be running inside a container 22:42:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-x86_64 cat 22:42:15 $ docker top 475dae7122391284f0beae796d238c957e2e89794925e25d38c0dc6954b7e53e -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:16 + go version 22:42:16 go version go1.18.3 linux/amd64 [Pipeline] } 22:42:16 $ docker stop --time=1 475dae7122391284f0beae796d238c957e2e89794925e25d38c0dc6954b7e53e 22:42:17 $ docker rm -f 475dae7122391284f0beae796d238c957e2e89794925e25d38c0dc6954b7e53e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:18 + docker inspect -f . ci-base-image-x86_64 22:42:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:18 prd-ubuntu20.04-docker-8c-8g-30009 does not seem to be running inside a container 22:42:18 $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-x86_64 cat 22:42:18 $ docker top ffbbf845eb6b831332748b0bc83b3726d75a90369ea9003045704f31c9e48fe6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider 22:42:18 provisioning config files... 22:42:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config296604979846518663tmp [Pipeline] { 22:42:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] libraryResource [Pipeline] sh [Pipeline] fileExists [Pipeline] sh 22:42:19 ---> docker-login.sh 22:42:19 nexus3.edgexfoundry.org:10001 22:42:19 + make test 22:42:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:20 Configure a credential helper to remove this warning. See 22:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:20 22:42:20 Login Succeeded 22:42:20 nexus3.edgexfoundry.org:10002 22:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:20 Configure a credential helper to remove this warning. See 22:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:20 22:42:20 Login Succeeded 22:42:20 nexus3.edgexfoundry.org:10003 22:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:21 Configure a credential helper to remove this warning. See 22:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:21 22:42:21 Login Succeeded 22:42:21 nexus3.edgexfoundry.org:10004 22:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:21 Configure a credential helper to remove this warning. See 22:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:21 22:42:21 Login Succeeded 22:42:21 docker.io 22:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:22 Configure a credential helper to remove this warning. See 22:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:22 22:42:22 Login Succeeded 22:42:22 ---> docker-login.sh ends [Pipeline] } 22:42:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:22 ========================================================= 22:42:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:42:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:23 + 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 . 22:42:23 Sending build context to Docker daemon 5.28MB 22:42:23 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:42:23 Step 2/11 : FROM ${BASE} AS builder 22:42:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:42:23 b3c136eddcbf: Pulling fs layer 22:42:23 c0a3192eca97: Pulling fs layer 22:42:23 a050256f5b6f: Pulling fs layer 22:42:23 656be50a0ddc: Pulling fs layer 22:42:23 2bbca73fdf42: Pulling fs layer 22:42:23 46d945488cbd: Pulling fs layer 22:42:23 8a5474983e97: Pulling fs layer 22:42:23 329c88fbcd65: Pulling fs layer 22:42:23 656be50a0ddc: Waiting 22:42:23 2bbca73fdf42: Waiting 22:42:23 46d945488cbd: Waiting 22:42:23 8a5474983e97: Waiting 22:42:23 329c88fbcd65: Waiting 22:42:23 a050256f5b6f: Verifying Checksum 22:42:23 a050256f5b6f: Download complete 22:42:23 c0a3192eca97: Verifying Checksum 22:42:23 c0a3192eca97: Download complete 22:42:23 2bbca73fdf42: Verifying Checksum 22:42:23 2bbca73fdf42: Download complete 22:42:24 46d945488cbd: Verifying Checksum 22:42:24 46d945488cbd: Download complete 22:42:24 b3c136eddcbf: Verifying Checksum 22:42:24 b3c136eddcbf: Download complete 22:42:24 b3c136eddcbf: Pull complete 22:42:24 329c88fbcd65: Verifying Checksum 22:42:24 329c88fbcd65: Download complete 22:42:25 c0a3192eca97: Pull complete 22:42:25 a050256f5b6f: Pull complete 22:42:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:42:26 8a5474983e97: Verifying Checksum 22:42:26 8a5474983e97: Download complete 22:42:26 656be50a0ddc: Verifying Checksum 22:42:26 656be50a0ddc: Download complete 22:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:42:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.075s coverage: 23.6% of statements 22:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:42:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.098s coverage: 27.6% of statements 22:42:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements 22:42:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 10.8% of statements 22:42:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.066s coverage: 60.0% of statements 22:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:42:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.8% of statements 22:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 85.4% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 65.1% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.742s coverage: 89.2% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.9% of statements 22:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:42:41 656be50a0ddc: Pull complete 22:42:41 2bbca73fdf42: Pull complete 22:42:41 46d945488cbd: Pull complete 22:42:46 8a5474983e97: Pull complete 22:42:48 329c88fbcd65: Pull complete 22:42:48 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:42:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:42:48 ---> ff4287adb874 22:42:48 Step 3/11 : ARG MAKE=make build 22:42:49 ---> Running in 0f7613e88b33 22:42:49 Removing intermediate container 0f7613e88b33 22:42:49 ---> 907c7713cba9 22:42:49 Step 4/11 : WORKDIR /device-sdk-go 22:42:49 ---> Running in d90ca5273c32 22:42:49 Removing intermediate container d90ca5273c32 22:42:49 ---> 3260cc09f9a3 22:42:49 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:42:49 ---> Running in 73f0585e64d5 22:42:50 Removing intermediate container 73f0585e64d5 22:42:50 ---> 6d4b53fcd176 22:42:50 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:50 ---> Running in 49b7d6111761 22:42:51 Removing intermediate container 49b7d6111761 22:42:51 ---> 52ec564a2a70 22:42:51 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:42:52 ---> Running in 59075662a7e6 22:42:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:42:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:42:54 OK: 221 MiB in 51 packages 22:42:55 Removing intermediate container 59075662a7e6 22:42:55 ---> 5d0cdd9425cb 22:42:55 Step 8/11 : COPY go.mod vendor* ./ 22:42:55 ---> e656f538b1ce 22:42:55 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:56 ---> Running in 2639c3dceaa3 22:42:57 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." 22:42:57 GO111MODULE=on go vet ./... 22:42:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:42:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:42:58 ./bin/test-attribution-txt.sh 22:42:58 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 22:42:58 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 22:42:58 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 22:42:58 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:42:58 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:42:58 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 22:42:58 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 22:42:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:42:58 $ docker stop --time=1 ffbbf845eb6b831332748b0bc83b3726d75a90369ea9003045704f31c9e48fe6 22:43:02 $ docker rm -f ffbbf845eb6b831332748b0bc83b3726d75a90369ea9003045704f31c9e48fe6 [Pipeline] // withDockerContainer [Pipeline] sh 22:43:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:43:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:43:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:43:03 + ls -al . 22:43:03 total 300 22:43:03 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 22:42 . 22:43:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:41 .. 22:43:03 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 22:41 .dockerignore 22:43:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 22:42 .git 22:43:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 22:41 .github 22:43:03 -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 22:41 .gitignore 22:43:03 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 22:41 .golangci.yml 22:43:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 22:41 .semver 22:43:03 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 22:41 CHANGELOG.md 22:43:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 22:41 GOVERNANCE.md 22:43:03 -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 22:41 Jenkinsfile 22:43:03 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 22:41 LICENSE 22:43:03 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 22:41 Makefile 22:43:03 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 22:41 OWNERS.md 22:43:03 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 22:41 README.md 22:43:03 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 22:41 VERSION 22:43:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 22:41 bin 22:43:03 -rw-r--r-- 1 jenkins jenkins 130804 Sep 20 22:42 coverage.out 22:43:03 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 22:41 example 22:43:03 -rw-rw-r-- 1 jenkins jenkins 3553 Sep 20 22:41 go.mod 22:43:03 -rw-rw-r-- 1 jenkins jenkins 36743 Sep 20 22:41 go.sum 22:43:03 drwxrwxr-x 15 jenkins jenkins 4096 Sep 20 22:41 internal 22:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 22:41 openapi 22:43:03 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 22:41 pkg 22:43:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:41 snap 22:43:03 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 22:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:03 + 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=20f7df29fe35d9f9d63affb6a5025a1436d247e0 --label arch=amd64 --label version=0.0.0 . 22:43:03 Sending build context to Docker daemon 9.951MB 22:43:03 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:43:03 Step 2/25 : FROM ${BASE} AS builder 22:43:03 ---> f0980d63b6a2 22:43:03 Step 3/25 : ARG MAKE=make build 22:43:04 ---> Running in 35005ea2a3ac 22:43:04 Removing intermediate container 35005ea2a3ac 22:43:04 ---> fd907361a5f8 22:43:04 Step 4/25 : WORKDIR /device-sdk-go 22:43:04 ---> Running in d2823a893088 22:43:04 Removing intermediate container d2823a893088 22:43:04 ---> b143f3ad5e17 22:43:04 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:43:04 ---> Running in d16512128466 22:43:04 Removing intermediate container d16512128466 22:43:04 ---> ab91295802b6 22:43:04 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:04 ---> Running in 84191b875c0f 22:43:04 Removing intermediate container 84191b875c0f 22:43:04 ---> 61156e062164 22:43:04 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:43:04 ---> Running in bc66b19266ef 22:43:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:43:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:43:06 OK: 211 MiB in 51 packages 22:43:06 Removing intermediate container bc66b19266ef 22:43:06 ---> f9febbb81f78 22:43:06 Step 8/25 : COPY go.mod vendor* ./ 22:43:06 ---> 6b7900bb0731 22:43:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:06 ---> Running in 095e3b2e05ee 22:43:07 Removing intermediate container 095e3b2e05ee 22:43:07 ---> d87d1d1cf848 22:43:07 Step 10/25 : COPY . . 22:43:07 ---> 957a25d26b23 22:43:07 Step 11/25 : RUN ${MAKE} 22:43:08 ---> Running in 0f0537f3573e 22:43:08 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 22:43:26 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:43:27 Removing intermediate container 0f0537f3573e 22:43:27 ---> 0a32c2a09bba 22:43:27 Step 12/25 : FROM alpine:3.16 22:43:28 3.16: Pulling from library/alpine 22:43:28 213ec9aee27d: Pulling fs layer 22:43:28 213ec9aee27d: Verifying Checksum 22:43:28 213ec9aee27d: Download complete 22:43:28 213ec9aee27d: Pull complete 22:43:28 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:43:28 Status: Downloaded newer image for alpine:3.16 22:43:28 ---> 9c6f07244728 22:43:28 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:43:28 ---> Running in 864e355ec735 22:43:28 Removing intermediate container 864e355ec735 22:43:28 ---> 359c2136fd79 22:43:28 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:28 ---> Running in 3bf536192ee9 22:43:29 Removing intermediate container 3bf536192ee9 22:43:29 ---> 43b26e0dae2a 22:43:29 Step 15/25 : RUN apk add --update --no-cache zeromq 22:43:29 ---> Running in 88c957fb6c5a 22:43:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:43:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:43:31 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:43:31 (2/5) Installing libsodium (1.0.18-r0) 22:43:31 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:43:31 (4/5) Installing libzmq (4.3.4-r0) 22:43:31 (5/5) Installing zeromq (4.3.4-r0) 22:43:31 Executing busybox-1.35.0-r17.trigger 22:43:31 OK: 8 MiB in 19 packages 22:43:32 Removing intermediate container 88c957fb6c5a 22:43:32 ---> 09c162c12197 22:43:32 Step 16/25 : WORKDIR / 22:43:32 ---> Running in 8bdd27b20007 22:43:32 Removing intermediate container 8bdd27b20007 22:43:32 ---> 5afbaa47887a 22:43:32 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:43:32 ---> 57d1db540a7b 22:43:32 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:43:33 ---> 10e750ef4870 22:43:33 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:43:33 ---> 4ca566fa3659 22:43:33 Step 20/25 : EXPOSE 59999 22:43:33 ---> Running in 9328bdd7d4a0 22:43:33 Removing intermediate container 9328bdd7d4a0 22:43:33 ---> 1da4f06254e7 22:43:33 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:43:33 ---> Running in b5ced68d825b 22:43:33 Removing intermediate container b5ced68d825b 22:43:33 ---> ea57cca8aa3b 22:43:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:43:33 ---> Running in 99a61d4a3ec4 22:43:33 Removing intermediate container 99a61d4a3ec4 22:43:33 ---> a5342411e509 22:43:33 Step 23/25 : LABEL arch=amd64 22:43:33 ---> Running in be0b36a6e510 22:43:33 Removing intermediate container be0b36a6e510 22:43:33 ---> b65cb1f003d8 22:43:33 Step 24/25 : LABEL git_sha=20f7df29fe35d9f9d63affb6a5025a1436d247e0 22:43:33 ---> Running in bf8ffcd6591b 22:43:33 Removing intermediate container bf8ffcd6591b 22:43:33 ---> bb1f5d8c51d5 22:43:33 Step 25/25 : LABEL version=0.0.0 22:43:33 ---> Running in 9a0624141535 22:43:33 Removing intermediate container 9a0624141535 22:43:33 ---> 613fc7e49ddd 22:43:33 [Warning] One or more build-args [ARCH] were not consumed 22:43:33 Successfully built 613fc7e49ddd 22:43:33 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 22:43:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:34 22:43:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:34 latest: Pulling from edgex-lftools-log-publisher 22:43:34 5eb5b503b376: Pulling fs layer 22:43:34 5c69ac0246d0: Pulling fs layer 22:43:34 ec43610c2a17: Pulling fs layer 22:43:34 3a2ae6a8a46f: Pulling fs layer 22:43:34 33b1e0a273af: Pulling fs layer 22:43:34 5d3b04190fa2: Pulling fs layer 22:43:34 2f39f015ded8: Pulling fs layer 22:43:34 3a2ae6a8a46f: Waiting 22:43:34 33b1e0a273af: Waiting 22:43:34 5d3b04190fa2: Waiting 22:43:34 2f39f015ded8: Waiting 22:43:34 5c69ac0246d0: Download complete 22:43:34 3a2ae6a8a46f: Download complete 22:43:34 33b1e0a273af: Verifying Checksum 22:43:34 33b1e0a273af: Download complete 22:43:34 5d3b04190fa2: Verifying Checksum 22:43:34 5d3b04190fa2: Download complete 22:43:34 ec43610c2a17: Verifying Checksum 22:43:34 ec43610c2a17: Download complete 22:43:34 5eb5b503b376: Verifying Checksum 22:43:34 5eb5b503b376: Download complete 22:43:35 2f39f015ded8: Download complete 22:43:35 5eb5b503b376: Pull complete 22:43:36 5c69ac0246d0: Pull complete 22:43:36 ec43610c2a17: Pull complete 22:43:36 3a2ae6a8a46f: Pull complete 22:43:37 33b1e0a273af: Pull complete 22:43:37 5d3b04190fa2: Pull complete 22:43:41 2f39f015ded8: Pull complete 22:43:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:43:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:41 prd-ubuntu20.04-docker-8c-8g-30009 does not seem to be running inside a container 22:43:41 $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 22:43:43 Removing intermediate container 2639c3dceaa3 22:43:43 ---> 8cb3c821c33f 22:43:43 Step 10/11 : COPY . . 22:43:43 ---> d2f684bc2a66 22:43:43 Step 11/11 : RUN ${MAKE} 22:43:43 ---> Running in 356a0ecb9730 22:43:43 $ docker top 280c9849532a3b8ae3020682a272169a686b53c03adfbbb4e4b28aa90f0f8547 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:44 ---> job-cost.sh 22:43:44 lf-activate-venv: SKIPPING 22:43:44 INFO: No Stack... 22:43:44 noop 22:43:44 INFO: Retrieving Pricing Info for: v3-standard-8 22:43:44 Removing intermediate container 356a0ecb9730 22:43:44 ---> f42d7b099129 22:43:44 Successfully built f42d7b099129 22:43:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:45 INFO: Archiving Costs [Pipeline] sh 22:43:45 + docker inspect -f . ci-base-image-arm64 22:43:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:45 prd-ubuntu20.04-docker-arm64-4c-16g-30008 does not seem to be running inside a container 22:43:45 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv 22:43:45 + cut -d, -f6 22:43:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-arm64 cat 22:43:46 $ docker top 474f2c0a6193e3c860409cb085d8bc768888d08986f2b8a6e1a206061ae328bd -eo pid,comm [Pipeline] { [Pipeline] lock 22:43:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] 22:43:46 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] did not exist. Created. 22:43:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh 22:43:47 + echo total: 0.2199999988079071 [Pipeline] stash 22:43:47 Stashed 1 file(s) [Pipeline] } 22:43:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] [Pipeline] // lock [Pipeline] } 22:43:47 $ docker stop --time=1 280c9849532a3b8ae3020682a272169a686b53c03adfbbb4e4b28aa90f0f8547 22:43:47 + go version 22:43:47 go version go1.18.3 linux/arm64 22:43:48 $ docker rm -f 280c9849532a3b8ae3020682a272169a686b53c03adfbbb4e4b28aa90f0f8547 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 22:43:48 $ docker stop --time=1 474f2c0a6193e3c860409cb085d8bc768888d08986f2b8a6e1a206061ae328bd 22:43:50 $ docker rm -f 474f2c0a6193e3c860409cb085d8bc768888d08986f2b8a6e1a206061ae328bd [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:50 + docker inspect -f . ci-base-image-arm64 22:43:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:51 prd-ubuntu20.04-docker-arm64-4c-16g-30008 does not seem to be running inside a container 22:43:51 $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-arm64 cat 22:43:52 $ docker top fc7f8a4f3c9495a1c47f9837f34832a27e9622fdd90664dd17a0b2f720b7a294 -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:53 + git config --global --add safe.directory /w/workspace/device-sdk-go/8 [Pipeline] fileExists [Pipeline] sh 22:43:54 + make test 22:43:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:44:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:46:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:46:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:46:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:46:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.390s coverage: 23.6% of statements 22:46:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:46:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.453s coverage: 27.6% of statements 22:46:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.431s coverage: 78.9% of statements 22:46:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.294s coverage: 10.8% of statements 22:46:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.464s coverage: 60.0% of statements 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:46:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:46:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.473s coverage: 34.8% of statements 22:46:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:46:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.251s coverage: 85.4% of statements 22:46:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:46:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:46:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.475s coverage: 65.1% of statements 22:46:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:46:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:46:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.997s coverage: 89.2% of statements 22:46:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:46:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.217s coverage: 4.9% of statements 22:46:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:46:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:46:24 GO111MODULE=on go vet ./... 22:47:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:47:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:47:46 ./bin/test-attribution-txt.sh 22:47:46 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 22:47:46 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 22:47:46 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 22:47:46 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:47:46 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:47:46 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 22:47:46 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 22:47:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:47:46 $ docker stop --time=1 fc7f8a4f3c9495a1c47f9837f34832a27e9622fdd90664dd17a0b2f720b7a294 22:47:48 $ docker rm -f fc7f8a4f3c9495a1c47f9837f34832a27e9622fdd90664dd17a0b2f720b7a294 [Pipeline] // withDockerContainer [Pipeline] sh 22:47:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:47:50 Warning: overwriting stash ‘coverage-report’ 22:47:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:47:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:47:51 + ls -al . 22:47:51 total 296 22:47:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 22:43 . 22:47:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:41 .. 22:47:51 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 22:41 .dockerignore 22:47:51 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 22:41 .git 22:47:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 22:41 .github 22:47:51 -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 22:41 .gitignore 22:47:51 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 22:41 .golangci.yml 22:47:51 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 22:41 CHANGELOG.md 22:47:51 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 22:41 GOVERNANCE.md 22:47:51 -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 22:41 Jenkinsfile 22:47:51 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 22:41 LICENSE 22:47:51 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 22:41 Makefile 22:47:51 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 22:41 OWNERS.md 22:47:51 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 22:41 README.md 22:47:51 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 22:41 VERSION 22:47:51 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 22:41 bin 22:47:51 -rw-r--r-- 1 jenkins jenkins 130804 Sep 20 22:46 coverage.out 22:47:51 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 22:41 example 22:47:51 -rw-rw-r-- 1 jenkins jenkins 3553 Sep 20 22:41 go.mod 22:47:51 -rw-rw-r-- 1 jenkins jenkins 36743 Sep 20 22:41 go.sum 22:47:51 drwxrwxr-x 15 jenkins jenkins 4096 Sep 20 22:41 internal 22:47:51 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 22:41 openapi 22:47:51 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 22:41 pkg 22:47:51 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:41 snap 22:47:51 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 22:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:51 + 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=770e49f98ab9a0319562a8a700f6290beba4a444 --label arch=arm64 --label version=0.0.0 . 22:47:51 Sending build context to Docker daemon 5.412MB 22:47:52 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:47:52 Step 2/25 : FROM ${BASE} AS builder 22:47:52 ---> f42d7b099129 22:47:52 Step 3/25 : ARG MAKE=make build 22:47:52 ---> Running in 5a038860a130 22:47:52 Removing intermediate container 5a038860a130 22:47:52 ---> 464027f831dc 22:47:52 Step 4/25 : WORKDIR /device-sdk-go 22:47:52 ---> Running in d0975ef8b7bf 22:47:52 Removing intermediate container d0975ef8b7bf 22:47:52 ---> 87bba097ea93 22:47:52 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:47:52 ---> Running in 5ccac0a6dceb 22:47:53 Removing intermediate container 5ccac0a6dceb 22:47:53 ---> c9d710dc0a8a 22:47:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:53 ---> Running in 8e5fc6ca8543 22:47:54 Removing intermediate container 8e5fc6ca8543 22:47:54 ---> 81b58d78d33f 22:47:54 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:47:54 ---> Running in c983d98a4e97 22:47:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:47:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:47:57 OK: 221 MiB in 51 packages 22:47:58 Removing intermediate container c983d98a4e97 22:47:58 ---> 70ee1eba7af8 22:47:58 Step 8/25 : COPY go.mod vendor* ./ 22:47:58 ---> 54a8e7c58c5e 22:47:58 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:47:58 ---> Running in f72dee083f8e 22:48:00 Removing intermediate container f72dee083f8e 22:48:00 ---> 2ee6864019ad 22:48:00 Step 10/25 : COPY . . 22:48:01 ---> d3eb324abb13 22:48:01 Step 11/25 : RUN ${MAKE} 22:48:01 ---> Running in 9879c96e3f3b 22:48:02 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 22:50:09 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:50:09 Removing intermediate container 9879c96e3f3b 22:50:09 ---> a65b0fda6456 22:50:09 Step 12/25 : FROM alpine:3.16 22:50:09 3.16: Pulling from library/alpine 22:50:09 9b18e9b68314: Pulling fs layer 22:50:09 9b18e9b68314: Verifying Checksum 22:50:09 9b18e9b68314: Download complete 22:50:09 9b18e9b68314: Pull complete 22:50:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:50:09 Status: Downloaded newer image for alpine:3.16 22:50:09 ---> a6215f271958 22:50:09 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:50:09 ---> Running in 358c46ec6d3c 22:50:09 Removing intermediate container 358c46ec6d3c 22:50:09 ---> b259bdf7c4b3 22:50:09 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:09 ---> Running in f3801466afd4 22:50:09 Removing intermediate container f3801466afd4 22:50:09 ---> 1c631309bb97 22:50:09 Step 15/25 : RUN apk add --update --no-cache zeromq 22:50:09 ---> Running in 56d73ca9e723 22:50:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:50:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:50:09 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:50:09 (2/5) Installing libsodium (1.0.18-r0) 22:50:09 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:50:09 (4/5) Installing libzmq (4.3.4-r0) 22:50:09 (5/5) Installing zeromq (4.3.4-r0) 22:50:09 Executing busybox-1.35.0-r17.trigger 22:50:09 OK: 8 MiB in 19 packages 22:50:10 Removing intermediate container 56d73ca9e723 22:50:10 ---> d1113363b665 22:50:10 Step 16/25 : WORKDIR / 22:50:10 ---> Running in 0fcfa949d39f 22:50:10 Removing intermediate container 0fcfa949d39f 22:50:10 ---> 42c9839287a4 22:50:10 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:50:11 ---> 7a5d1d100a99 22:50:11 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:50:12 ---> b36b26da71cc 22:50:12 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:50:13 ---> 119d9cfb420f 22:50:13 Step 20/25 : EXPOSE 59999 22:50:13 ---> Running in 98995dce5232 22:50:13 Removing intermediate container 98995dce5232 22:50:13 ---> 0b236ec19f75 22:50:13 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:50:14 ---> Running in b3baf132e5c3 22:50:14 Removing intermediate container b3baf132e5c3 22:50:14 ---> c76805063b5f 22:50:14 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:50:14 ---> Running in cf968ced2d3f 22:50:14 Removing intermediate container cf968ced2d3f 22:50:14 ---> d5ccb13bb7e6 22:50:14 Step 23/25 : LABEL arch=arm64 22:50:14 ---> Running in a91cf4269d35 22:50:15 Removing intermediate container a91cf4269d35 22:50:15 ---> 817e90d42831 22:50:15 Step 24/25 : LABEL git_sha=770e49f98ab9a0319562a8a700f6290beba4a444 22:50:15 ---> Running in 4ba0aec5e76c 22:50:15 Removing intermediate container 4ba0aec5e76c 22:50:15 ---> 5ec6db8cde78 22:50:15 Step 25/25 : LABEL version=0.0.0 22:50:15 ---> Running in 7d0a5edeb748 22:50:15 Removing intermediate container 7d0a5edeb748 22:50:15 ---> 4ab677a3cff6 22:50:15 [Warning] One or more build-args [ARCH] were not consumed 22:50:15 Successfully built 4ab677a3cff6 22:50:15 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 22:50:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:50:16 22:50:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:50:17 arm64: Pulling from edgex-lftools-log-publisher 22:50:17 8998bd30e6a1: Pulling fs layer 22:50:17 04944245beec: Pulling fs layer 22:50:17 699f458cf7ca: Pulling fs layer 22:50:17 765212b225bb: Pulling fs layer 22:50:17 f23df028b6ca: Pulling fs layer 22:50:17 d65c8cfc05b1: Pulling fs layer 22:50:17 2437ff75d9bd: Pulling fs layer 22:50:17 765212b225bb: Waiting 22:50:17 f23df028b6ca: Waiting 22:50:17 d65c8cfc05b1: Waiting 22:50:17 2437ff75d9bd: Waiting 22:50:17 04944245beec: Verifying Checksum 22:50:17 04944245beec: Download complete 22:50:17 765212b225bb: Verifying Checksum 22:50:17 765212b225bb: Download complete 22:50:17 f23df028b6ca: Verifying Checksum 22:50:17 f23df028b6ca: Download complete 22:50:17 d65c8cfc05b1: Verifying Checksum 22:50:17 d65c8cfc05b1: Download complete 22:50:17 699f458cf7ca: Verifying Checksum 22:50:17 699f458cf7ca: Download complete 22:50:17 8998bd30e6a1: Verifying Checksum 22:50:17 8998bd30e6a1: Download complete 22:50:20 2437ff75d9bd: Verifying Checksum 22:50:20 2437ff75d9bd: Download complete 22:50:22 8998bd30e6a1: Pull complete 22:50:22 04944245beec: Pull complete 22:50:23 699f458cf7ca: Pull complete 22:50:24 765212b225bb: Pull complete 22:50:24 f23df028b6ca: Pull complete 22:50:25 d65c8cfc05b1: Pull complete 22:50:40 2437ff75d9bd: Pull complete 22:50:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:50:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:50:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:40 prd-ubuntu20.04-docker-arm64-4c-16g-30008 does not seem to be running inside a container 22:50:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:50:43 $ docker top a9ab4a9d18bd1dd3d36e04da79a226f75ccb1ae43e8bae3329da86d1819f87ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:44 ---> job-cost.sh 22:50:44 lf-activate-venv: SKIPPING 22:50:44 INFO: No Stack... 22:50:44 INFO: Retrieving Pricing Info for: v3-standard-4 22:50:45 INFO: Archiving Costs [Pipeline] sh 22:50:46 + cat /w/workspace/device-sdk-go/8/archives/cost.csv 22:50:46 + cut -d, -f6 [Pipeline] lock 22:50:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] 22:50:46 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] did not exist. Created. 22:50:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:50:46 /w/workspace/device-sdk-go/8@tmp/durable-32cfe843/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:50:47 + echo total: 0.10999999940395355 [Pipeline] stash 22:50:47 Warning: overwriting stash ‘stack-cost’ 22:50:47 Stashed 1 file(s) [Pipeline] } 22:50:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-8-stack-cost] [Pipeline] // lock [Pipeline] } 22:50:47 $ docker stop --time=1 a9ab4a9d18bd1dd3d36e04da79a226f75ccb1ae43e8bae3329da86d1819f87ea 22:50:49 $ docker rm -f a9ab4a9d18bd1dd3d36e04da79a226f75ccb1ae43e8bae3329da86d1819f87ea [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 22:50:49 provisioning config files... 22:50:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config7548790423777892969tmp [Pipeline] { [Pipeline] sh 22:50:49 + set +x 22:50:49 + curl -s https://codecov.io/bash 22:50:49 + bash -s -- 22:50:49 22:50:49 _____ _ 22:50:49 / ____| | | 22:50:49 | | ___ __| | ___ ___ _____ __ 22:50:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:50:49 | |___| (_) | (_| | __/ (_| (_) \ V / 22:50:49 \_____\___/ \__,_|\___|\___\___/ \_/ 22:50:49 Bash-1.0.6 22:50:49 22:50:49 22:50:49 ==> git version 2.25.1 found 22:50:49 ==> 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 22:50:49 Release-Date: 2020-01-08 22:50:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:50:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:50:49 ==> Jenkins CI detected. 22:50:49 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 22:50:49 project root: . 22:50:49 --> token set from env 22:50:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:50:49 ==> Running gcov in . (disable via -X gcov) 22:50:49 ==> Python coveragepy not found 22:50:49 ==> Searching for coverage reports in: 22:50:49 + . 22:50:49 -> Found 1 reports 22:50:49 ==> Detecting git/mercurial file structure 22:50:49 ==> Reading reports 22:50:49 + ./coverage.out bytes=130804 22:50:49 ==> Appending adjustments 22:50:49 https://docs.codecov.io/docs/fixing-reports 22:50:50 + Found adjustments 22:50:50 ==> Gzipping contents 22:50:50 20K /tmp/codecov.sGxHJm.gz 22:50:50 ==> Uploading reports 22:50:50 url: https://codecov.io 22:50:50 query: branch=PR-1196&commit=20f7df29fe35d9f9d63affb6a5025a1436d247e0&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 22:50:50 -> Pinging Codecov 22:50:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1196&commit=20f7df29fe35d9f9d63affb6a5025a1436d247e0&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= 22:50:51 -> Uploading to 22:50:51 https://storage.googleapis.com/codecov/v4/raw/2022-09-20/7E55EF52A471D76F132DFD9A03CDDE97/20f7df29fe35d9f9d63affb6a5025a1436d247e0/53c88121-438c-4d66-8334-7e6692afec94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T225050Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0404b5d280c999fafee058b668c99006e270334215b0558c99605002c7f2d3b2 22:50:51 % Total % Received % Xferd Average Speed Time Time Time Current 22:50:51 Dload Upload Total Spent Left Speed 22:50:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17222 0 0 100 17222 0 62625 --:--:-- --:--:-- --:--:-- 62625 22:50:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/20f7df29fe35d9f9d63affb6a5025a1436d247e0 [Pipeline] } 22:50:51 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 22:50:52 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] 22:50:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:50:52 total 16 22:50:52 drwxr-xr-x 3 root root 4096 Sep 20 22:43 . 22:50:52 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 22:43 .. 22:50:52 drwxr-xr-x 2 root root 4096 Sep 20 22:43 cost 22:50:52 -rw-r--r-- 1 root root 86 Sep 20 22:43 cost.csv 22:50:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:50:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives 22:50:52 total 16 22:50:52 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 22:43 . 22:50:52 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 22:43 .. 22:50:52 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 22:43 cost 22:50:52 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:50:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:50:53 ---> package-listing.sh 22:50:53 ++ facter osfamily 22:50:53 ++ tr '[:upper:]' '[:lower:]' 22:50:53 + OS_FAMILY=debian 22:50:53 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 22:50:53 + START_PACKAGES=/tmp/packages_start.txt 22:50:53 + END_PACKAGES=/tmp/packages_end.txt 22:50:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:50:53 + PACKAGES=/tmp/packages_start.txt 22:50:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 22:50:53 + PACKAGES=/tmp/packages_end.txt 22:50:53 + case "${OS_FAMILY}" in 22:50:53 + dpkg -l 22:50:53 + grep '^ii' 22:50:53 + '[' -f /tmp/packages_start.txt ']' 22:50:53 + '[' -f /tmp/packages_end.txt ']' 22:50:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:50:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' 22:50:53 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ 22:50:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [Pipeline] echo 22:50:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:50:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:50:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:54 prd-ubuntu20.04-docker-8c-8g-30009 does not seem to be running inside a container 22:50:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1196/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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:50:54 $ docker top df68e567d86534ce72c297dd28e842429749d801962a7eae4a4dfa72cf8b8a3e -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:55 + touch /tmp/pre-build-complete [Pipeline] sh 22:50:55 + mkdir -p /var/log/sysstat [Pipeline] sh 22:50:55 + ls /var/log/sa-host 22:50:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:55 provisioning config files... 22:50:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config4789249011975421390tmp [Pipeline] { [Pipeline] echo 22:50:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:50:56 ---> create-netrc.sh [Pipeline] } 22:50:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:50:56 ---> python-tools-install.sh [Pipeline] echo 22:50:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:50:56 ---> sudo-logs.sh 22:50:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:50:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:50:57 ---> job-cost.sh 22:50:57 lf-activate-venv: SKIPPING 22:50:57 DEBUG: total: 0.2199999988079071 22:50:57 INFO: Retrieving Stack Cost... 22:50:57 INFO: Retrieving Pricing Info for: v3-standard-8 22:50:57 INFO: Archiving Costs [Pipeline] echo 22:50:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:50:58 ---> logs-deploy.sh 22:50:58 lf-activate-venv: SKIPPING 22:50:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/8 22:50:58 INFO: archiving workspace using pattern(s): 22:50:59 Archives upload complete. 22:50:59 INFO: archiving logs to Nexus