Pull request #1202 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 05709587d91994e95fbbf030ae60546eede8820e rather than 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 Obtained Jenkinsfile from 05709587d91994e95fbbf030ae60546eede8820e 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-ssh16827654250654531327.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh7610358481746216015.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-1202/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-1202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16645814743915580729.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh9567769856048585655.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-1202/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-1202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2360359631909807768.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21289 in /w/workspace/gexfoundry_device-sdk-go_PR-1202 [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-1202 # 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 05709587d91994e95fbbf030ae60546eede8820e into PR head commit 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 Merge succeeded, producing 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 Checking out Revision 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 (PR-1202) > 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/1202/head:refs/remotes/origin/PR-1202 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 # 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 05709587d91994e95fbbf030ae60546eede8820e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 # timeout=10 Commit message: "fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation." First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:48:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:48:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:48:30 ========================================================= 20:48:30 EdgeX Global Pipelines Version Info 20:48:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 407f2e618adee93ac4d5926851483a798dab815a # timeout=10 20:48:30 ------------------- 20:48:30 stable info: 20:48:30 ------------------- 20:48:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:48:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:48:30 Message: update stable to v1.0.238 20:48:31 ------------------- 20:48:31 experimental info: 20:48:31 ------------------- 20:48:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:48:31 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:48:31 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1202 [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1202 [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1202 [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 [Pipeline] echo 20:48:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68b0911 [Pipeline] echo 20:48:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:32 provisioning config files... 20:48:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config2369363719379693361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:32 ---> docker-login.sh 20:48:32 nexus3.edgexfoundry.org:10001 20:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:32 Configure a credential helper to remove this warning. See 20:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:32 20:48:32 Login Succeeded 20:48:32 nexus3.edgexfoundry.org:10002 20:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:32 Configure a credential helper to remove this warning. See 20:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:32 20:48:32 Login Succeeded 20:48:32 nexus3.edgexfoundry.org:10003 20:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:33 Configure a credential helper to remove this warning. See 20:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:33 20:48:33 Login Succeeded 20:48:33 nexus3.edgexfoundry.org:10004 20:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:33 Configure a credential helper to remove this warning. See 20:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:33 20:48:33 Login Succeeded 20:48:33 docker.io 20:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:33 Configure a credential helper to remove this warning. See 20:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:33 20:48:33 Login Succeeded 20:48:33 ---> docker-login.sh ends [Pipeline] } 20:48:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:48:34 + git rev-list -1 --merges 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250~1..68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 [Pipeline] echo 20:48:34 -----------> git rev-list -1 --merges 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250~1..68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 [false] [Pipeline] sh 20:48:34 + git log --format=format:%s -1 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 [Pipeline] echo 20:48:34 ========================================================= 20:48:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:48:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:48:34 + git log --format=format:%s -1 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 [Pipeline] echo 20:48:34 [semverPrep] GIT_COMMIT: 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250, Commit Message: fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation. [Pipeline] echo 20:48:34 [semverPrep] This is not a build commit. [Pipeline] sh 20:48:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:48:35 + grep -v github /etc/ssh/ssh_known_hosts 20:48:35 + [ -e /tmp/ssh_known_hosts ] 20:48:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:48:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 20:48:35 sudo tee -a /etc/ssh/ssh_known_hosts 20:48:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:48:35 20:48:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:48:35 0.1.4: Pulling from edgex-devops/py-git-semver 20:48:35 b85a868b505f: Pulling fs layer 20:48:35 e2be974225ed: Pulling fs layer 20:48:35 339a4e72a1f5: Pulling fs layer 20:48:35 988bab9f4d93: Pulling fs layer 20:48:35 1469e6f7b9e6: Pulling fs layer 20:48:35 eaf3925da568: Pulling fs layer 20:48:35 bab4dde63d76: Pulling fs layer 20:48:35 bde34c3a00c8: Pulling fs layer 20:48:35 b352a97aabf1: Pulling fs layer 20:48:35 4872d77fe225: Pulling fs layer 20:48:35 5851b861e8e6: Pulling fs layer 20:48:35 988bab9f4d93: Waiting 20:48:35 1469e6f7b9e6: Waiting 20:48:35 eaf3925da568: Waiting 20:48:35 bde34c3a00c8: Waiting 20:48:35 bab4dde63d76: Waiting 20:48:35 b352a97aabf1: Waiting 20:48:35 4872d77fe225: Waiting 20:48:35 e2be974225ed: Download complete 20:48:35 988bab9f4d93: Verifying Checksum 20:48:35 988bab9f4d93: Download complete 20:48:36 1469e6f7b9e6: Verifying Checksum 20:48:36 1469e6f7b9e6: Download complete 20:48:36 339a4e72a1f5: Verifying Checksum 20:48:36 339a4e72a1f5: Download complete 20:48:36 eaf3925da568: Verifying Checksum 20:48:36 eaf3925da568: Download complete 20:48:36 bde34c3a00c8: Verifying Checksum 20:48:36 bde34c3a00c8: Download complete 20:48:36 b352a97aabf1: Verifying Checksum 20:48:36 b352a97aabf1: Download complete 20:48:36 4872d77fe225: Download complete 20:48:36 5851b861e8e6: Verifying Checksum 20:48:36 5851b861e8e6: Download complete 20:48:36 b85a868b505f: Verifying Checksum 20:48:36 b85a868b505f: Download complete 20:48:36 bab4dde63d76: Verifying Checksum 20:48:36 bab4dde63d76: Download complete 20:48:37 b85a868b505f: Pull complete 20:48:37 e2be974225ed: Pull complete 20:48:38 339a4e72a1f5: Pull complete 20:48:38 988bab9f4d93: Pull complete 20:48:38 1469e6f7b9e6: Pull complete 20:48:38 eaf3925da568: Pull complete 20:48:40 bab4dde63d76: Pull complete 20:48:40 bde34c3a00c8: Pull complete 20:48:41 b352a97aabf1: Pull complete 20:48:41 4872d77fe225: Pull complete 20:48:41 5851b861e8e6: Pull complete 20:48:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:48:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:48:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:41 prd-ubuntu20.04-docker-8c-8g-21289 does not seem to be running inside a container 20:48:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@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 20:48:42 $ docker top 8b3bc17ea6999892b68bc23d3881fb1c301a40b862ccfa6214123688e366ae0b -eo pid,comm 20:48:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:48:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:48:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:48:43 [ssh-agent] Looking for ssh-agent implementation... 20:48:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:48:43 $ docker exec 8b3bc17ea6999892b68bc23d3881fb1c301a40b862ccfa6214123688e366ae0b ssh-agent 20:48:43 SSH_AUTH_SOCK=/tmp/ssh-c25uDZOvnpmv/agent.33 20:48:43 SSH_AGENT_PID=40 20:48:43 Running ssh-add (command line suppressed) 20:48:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_7858688983872307121.key (/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_7858688983872307121.key) 20:48:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:48:43 + git tag --points-at HEAD [Pipeline] } 20:48:43 $ docker exec --env ******** --env ******** 8b3bc17ea6999892b68bc23d3881fb1c301a40b862ccfa6214123688e366ae0b ssh-agent -k 20:48:43 unset SSH_AUTH_SOCK; 20:48:43 unset SSH_AGENT_PID; 20:48:43 echo Agent pid 40 killed; 20:48:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:48:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:48:43 [ssh-agent] Looking for ssh-agent implementation... 20:48:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:48:44 $ docker exec 8b3bc17ea6999892b68bc23d3881fb1c301a40b862ccfa6214123688e366ae0b ssh-agent 20:48:44 SSH_AUTH_SOCK=/tmp/ssh-u8qHEwBiEFXY/agent.73 20:48:44 SSH_AGENT_PID=79 20:48:44 Running ssh-add (command line suppressed) 20:48:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_4741874822319372582.key (/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_4741874822319372582.key) 20:48:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:48:44 + git semver init 20:48:45 2022-07-27 20:48:44,868 [run_init] DEBUG init version:0.0.0 force:False 20:48:45 2022-07-27 20:48:44,868 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver 20:48:45 2022-07-27 20:48:44,869 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver 20:48:45 2022-07-27 20:48:44,869 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202, universal_newlines=False, shell=None, istream=None) 20:48:45 2022-07-27 20:48:45,694 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.git/info/exclude 20:48:45 2022-07-27 20:48:45,694 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 with force:False 20:48:45 2022-07-27 20:48:45,694 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 20:48:45 2022-07-27 20:48:45,698 [execute] INFO git cat-file --batch-check 20:48:45 2022-07-27 20:48:45,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver, universal_newlines=False, shell=None, istream=) 20:48:45 2022-07-27 20:48:45,705 [execute] INFO git cat-file --batch 20:48:45 2022-07-27 20:48:45,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver, universal_newlines=False, shell=None, istream=) 20:48:45 2022-07-27 20:48:45,712 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 20:48:45 0.0.0 [Pipeline] } 20:48:45 $ docker exec --env ******** --env ******** 8b3bc17ea6999892b68bc23d3881fb1c301a40b862ccfa6214123688e366ae0b ssh-agent -k 20:48:45 unset SSH_AUTH_SOCK; 20:48:45 unset SSH_AGENT_PID; 20:48:45 echo Agent pid 79 killed; 20:48:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:48:46 + git semver [Pipeline] } 20:48:46 $ docker stop --time=1 8b3bc17ea6999892b68bc23d3881fb1c301a40b862ccfa6214123688e366ae0b 20:48:47 $ docker rm -f 8b3bc17ea6999892b68bc23d3881fb1c301a40b862ccfa6214123688e366ae0b [Pipeline] // withDockerContainer [Pipeline] sh 20:48:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:48:48 Stashed 1 file(s) [Pipeline] echo 20:48:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:48 provisioning config files... 20:48:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config5020359149198295551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:49 ---> docker-login.sh 20:48:49 nexus3.edgexfoundry.org:10001 20:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:49 Configure a credential helper to remove this warning. See 20:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:49 20:48:49 Login Succeeded 20:48:49 nexus3.edgexfoundry.org:10002 20:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:49 Configure a credential helper to remove this warning. See 20:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:49 20:48:49 Login Succeeded 20:48:49 nexus3.edgexfoundry.org:10003 20:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:49 Configure a credential helper to remove this warning. See 20:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:49 20:48:49 Login Succeeded 20:48:49 nexus3.edgexfoundry.org:10004 20:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:49 Configure a credential helper to remove this warning. See 20:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:49 20:48:49 Login Succeeded 20:48:49 docker.io 20:48:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:49 Configure a credential helper to remove this warning. See 20:48:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:49 20:48:49 Login Succeeded 20:48:49 ---> docker-login.sh ends [Pipeline] } 20:48:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:48:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:48:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:48:49 ========================================================= 20:48:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:48:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:50 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:48:50 Sending build context to Docker daemon 9.766MB 20:48:50 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 20:48:50 Step 2/11 : FROM ${BASE} AS builder 20:48:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:48:50 2408cc74d12b: Pulling fs layer 20:48:50 ea60b727a1ce: Pulling fs layer 20:48:50 30c4a7721957: Pulling fs layer 20:48:50 370296b7ddb6: Pulling fs layer 20:48:50 7c6cee850709: Pulling fs layer 20:48:50 39a5fcdaea64: Pulling fs layer 20:48:50 d94ebbe4e438: Pulling fs layer 20:48:50 bcfd1f05c69d: Pulling fs layer 20:48:50 59ccb84bbe0f: Pulling fs layer 20:48:50 370296b7ddb6: Waiting 20:48:50 7c6cee850709: Waiting 20:48:50 39a5fcdaea64: Waiting 20:48:50 d94ebbe4e438: Waiting 20:48:50 bcfd1f05c69d: Waiting 20:48:50 59ccb84bbe0f: Waiting 20:48:50 30c4a7721957: Verifying Checksum 20:48:50 30c4a7721957: Download complete 20:48:50 ea60b727a1ce: Download complete 20:48:50 7c6cee850709: Verifying Checksum 20:48:50 7c6cee850709: Download complete 20:48:50 39a5fcdaea64: Download complete 20:48:50 2408cc74d12b: Verifying Checksum 20:48:50 2408cc74d12b: Download complete 20:48:50 d94ebbe4e438: Verifying Checksum 20:48:50 2408cc74d12b: Pull complete 20:48:50 ea60b727a1ce: Pull complete 20:48:51 30c4a7721957: Pull complete 20:48:51 59ccb84bbe0f: Verifying Checksum 20:48:51 59ccb84bbe0f: Download complete 20:48:51 bcfd1f05c69d: Verifying Checksum 20:48:51 bcfd1f05c69d: Download complete 20:48:51 370296b7ddb6: Verifying Checksum 20:48:51 370296b7ddb6: Download complete 20:48:55 370296b7ddb6: Pull complete 20:48:55 7c6cee850709: Pull complete 20:48:55 39a5fcdaea64: Pull complete 20:48:55 d94ebbe4e438: Pull complete 20:48:57 bcfd1f05c69d: Pull complete 20:48:57 59ccb84bbe0f: Pull complete 20:48:57 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:48:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:48:57 ---> a4fb48ad2a94 20:48:57 Step 3/11 : ARG MAKE=make build 20:48:59 ---> Running in acd80d50a447 20:48:59 Removing intermediate container acd80d50a447 20:48:59 ---> 83e219f8fde2 20:48:59 Step 4/11 : WORKDIR /device-sdk-go 20:48:59 ---> Running in 76f251be1753 20:49:00 Removing intermediate container 76f251be1753 20:49:00 ---> 719e63b001a4 20:49:00 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:49:00 ---> Running in a367e3e43343 20:49:00 Removing intermediate container a367e3e43343 20:49:00 ---> 967736236c1b 20:49:00 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:49:00 ---> Running in 192a2d600970 20:49:00 Removing intermediate container 192a2d600970 20:49:00 ---> 967269bbe3b3 20:49:00 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:49:00 ---> Running in 379a50ef575b 20:49:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:49:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:49:02 OK: 211 MiB in 51 packages 20:49:02 Removing intermediate container 379a50ef575b 20:49:02 ---> a838c6c19ad9 20:49:02 Step 8/11 : COPY go.mod vendor* ./ 20:49:02 ---> cd64739b5eda 20:49:02 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:02 ---> Running in c3b7f10631c9 20:49:03 Still waiting to schedule task 20:49:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:49:17 Removing intermediate container c3b7f10631c9 20:49:17 ---> d6b46b7e75a5 20:49:17 Step 10/11 : COPY . . 20:49:17 ---> 1f62d44f000a 20:49:17 Step 11/11 : RUN ${MAKE} 20:49:17 ---> Running in 672dcb4fda49 20:49:18 noop 20:49:18 Removing intermediate container 672dcb4fda49 20:49:18 ---> 5f9756ec5a75 20:49:18 Successfully built 5f9756ec5a75 20:49:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:18 + docker inspect -f . ci-base-image-x86_64 20:49:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:18 prd-ubuntu20.04-docker-8c-8g-21289 does not seem to be running inside a container 20:49:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@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 20:49:19 $ docker top 4273ec56962d4dc0f8351ba7466aad241399301f024fdcb41264b98b1ff11cf7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:19 + go version 20:49:19 go version go1.18.3 linux/amd64 [Pipeline] } 20:49:19 $ docker stop --time=1 4273ec56962d4dc0f8351ba7466aad241399301f024fdcb41264b98b1ff11cf7 20:49:21 $ docker rm -f 4273ec56962d4dc0f8351ba7466aad241399301f024fdcb41264b98b1ff11cf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:21 + docker inspect -f . ci-base-image-x86_64 20:49:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:21 prd-ubuntu20.04-docker-8c-8g-21289 does not seem to be running inside a container 20:49:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@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 20:49:22 $ docker top 83ac4d993ef3599ff8e3181b9a7b35f7e6f9328af6748518adc04c1413dd0c91 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] fileExists [Pipeline] sh 20:49:22 + make test 20:49:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:49:29 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.079s coverage: 23.7% of statements 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements 20:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.060s coverage: 78.9% of statements 20:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.101s coverage: 10.8% of statements 20:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.071s coverage: 60.0% of statements 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.085s coverage: 85.4% of statements 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 65.1% of statements 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.726s coverage: 89.2% of statements 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:49:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 20:49:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:50:02 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:50:02 GO111MODULE=on go vet ./... 20:50:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:50:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:50:02 ./bin/test-attribution-txt.sh 20:50:02 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 20:50:02 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 20:50:03 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 20:50:03 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:50:03 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:50:03 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 20:50:03 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 20:50:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:50:03 $ docker stop --time=1 83ac4d993ef3599ff8e3181b9a7b35f7e6f9328af6748518adc04c1413dd0c91 20:50:05 $ docker rm -f 83ac4d993ef3599ff8e3181b9a7b35f7e6f9328af6748518adc04c1413dd0c91 [Pipeline] // withDockerContainer [Pipeline] sh 20:50:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:50:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:50:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:50:07 + ls -al . 20:50:07 total 304 20:50:07 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 20:49 . 20:50:07 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:48 .. 20:50:07 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 20:48 .dockerignore 20:50:07 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 20:49 .git 20:50:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:48 .github 20:50:07 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 20:48 .gitignore 20:50:07 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 20:48 .golangci.yml 20:50:07 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 20:48 .semver 20:50:07 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 20:48 CHANGELOG.md 20:50:07 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 20:48 GOVERNANCE.md 20:50:07 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 20:48 Jenkinsfile 20:50:07 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 20:48 LICENSE 20:50:07 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 20:48 Makefile 20:50:07 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 20:48 OWNERS.md 20:50:07 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 20:48 README.md 20:50:07 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 20:48 VERSION 20:50:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:48 bin 20:50:07 -rw-r--r-- 1 jenkins jenkins 131677 Jul 27 20:49 coverage.out 20:50:07 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 20:48 example 20:50:07 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 20:48 go.mod 20:50:07 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 20:48 go.sum 20:50:07 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 20:48 internal 20:50:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 20:48 openapi 20:50:07 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 20:48 pkg 20:50:07 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:48 snap 20:50:07 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 20:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:07 + 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=68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 --label arch=amd64 --label version=0.0.0 . 20:50:07 Sending build context to Docker daemon 9.899MB 20:50:07 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:50:07 Step 2/25 : FROM ${BASE} AS builder 20:50:07 ---> 5f9756ec5a75 20:50:07 Step 3/25 : ARG MAKE=make build 20:50:07 ---> Running in 3479d9cda9ba 20:50:07 Removing intermediate container 3479d9cda9ba 20:50:07 ---> 95160d001aab 20:50:07 Step 4/25 : WORKDIR /device-sdk-go 20:50:07 ---> Running in 0d87437b39ba 20:50:08 Removing intermediate container 0d87437b39ba 20:50:08 ---> 6e2681ed7ee7 20:50:08 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:50:08 ---> Running in ff86681e205f 20:50:08 Removing intermediate container ff86681e205f 20:50:08 ---> 2222f2fd1c23 20:50:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:50:08 ---> Running in 1f219148d62d 20:50:08 Removing intermediate container 1f219148d62d 20:50:08 ---> 9f5ff7a80a07 20:50:08 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:50:08 ---> Running in 5f02aedf6de6 20:50:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:50:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:50:10 OK: 211 MiB in 51 packages 20:50:10 Removing intermediate container 5f02aedf6de6 20:50:10 ---> 1edcaf2058c9 20:50:10 Step 8/25 : COPY go.mod vendor* ./ 20:50:10 ---> 5d16628919f9 20:50:10 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:50:10 ---> Running in e3d87985575d 20:50:11 Removing intermediate container e3d87985575d 20:50:11 ---> c479c22a0442 20:50:11 Step 10/25 : COPY . . 20:50:11 ---> f0236e0684ab 20:50:11 Step 11/25 : RUN ${MAKE} 20:50:11 ---> Running in c1605c8b162c 20:50:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:50:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:50:32 Removing intermediate container c1605c8b162c 20:50:32 ---> 40a4220548a8 20:50:32 Step 12/25 : FROM alpine:3.16 20:50:32 3.16: Pulling from library/alpine 20:50:32 530afca65e2e: Pulling fs layer 20:50:32 530afca65e2e: Download complete 20:50:33 530afca65e2e: Pull complete 20:50:33 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 20:50:33 Status: Downloaded newer image for alpine:3.16 20:50:33 ---> d7d3d98c851f 20:50:33 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:50:33 ---> Running in 4fa9f623cf5a 20:50:33 Removing intermediate container 4fa9f623cf5a 20:50:33 ---> ded67b2e7446 20:50:33 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:50:33 ---> Running in d14ec660f9bd 20:50:33 Removing intermediate container d14ec660f9bd 20:50:33 ---> 787594658809 20:50:33 Step 15/25 : RUN apk add --update --no-cache zeromq 20:50:33 ---> Running in e935829334cb 20:50:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:50:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:50:35 (1/5) Installing libgcc (11.2.1_git20220219-r2) 20:50:35 (2/5) Installing libsodium (1.0.18-r0) 20:50:35 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 20:50:35 (4/5) Installing libzmq (4.3.4-r0) 20:50:35 (5/5) Installing zeromq (4.3.4-r0) 20:50:35 Executing busybox-1.35.0-r15.trigger 20:50:35 OK: 8 MiB in 19 packages 20:50:36 Removing intermediate container e935829334cb 20:50:36 ---> 7e3e2ddb05aa 20:50:36 Step 16/25 : WORKDIR / 20:50:36 ---> Running in a6a4c048ebec 20:50:36 Removing intermediate container a6a4c048ebec 20:50:36 ---> 39aa2911be04 20:50:36 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:50:36 ---> a3c10469aa02 20:50:36 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:50:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21291 in /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] { [Pipeline] ws 20:50:36 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 20:50:36 The recommended git tool is: git 20:50:37 ---> 2cdb7fdd04f1 20:50:37 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:50:37 ---> d7f110f02794 20:50:37 Step 20/25 : EXPOSE 59999 20:50:37 ---> Running in a6c289e06bc0 20:50:37 Removing intermediate container a6c289e06bc0 20:50:37 ---> e094eaa0e1b2 20:50:37 Step 21/25 : ENTRYPOINT ["/device-simple"] 20:50:37 ---> Running in c1ac99eefbba 20:50:37 Removing intermediate container c1ac99eefbba 20:50:37 ---> c0baf0246bd7 20:50:37 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:50:37 ---> Running in 3b825e692c27 20:50:37 Removing intermediate container 3b825e692c27 20:50:37 ---> 4d6a5c8e5847 20:50:37 Step 23/25 : LABEL arch=amd64 20:50:37 ---> Running in 2d317661042b 20:50:37 Removing intermediate container 2d317661042b 20:50:37 ---> 3dd30e87425b 20:50:37 Step 24/25 : LABEL git_sha=68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 20:50:37 ---> Running in 94e13e24f5ff 20:50:37 Removing intermediate container 94e13e24f5ff 20:50:37 ---> a30ce1939e81 20:50:37 Step 25/25 : LABEL version=0.0.0 20:50:37 ---> Running in 1fdb3d87ae1e 20:50:37 Removing intermediate container 1fdb3d87ae1e 20:50:37 ---> 0018778102c4 20:50:37 [Warning] One or more build-args [ARCH] were not consumed 20:50:37 Successfully built 0018778102c4 20:50:37 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:50:38 20:50:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:50:38 latest: Pulling from edgex-lftools-log-publisher 20:50:38 5eb5b503b376: Pulling fs layer 20:50:38 5c69ac0246d0: Pulling fs layer 20:50:38 ec43610c2a17: Pulling fs layer 20:50:38 3a2ae6a8a46f: Pulling fs layer 20:50:38 33b1e0a273af: Pulling fs layer 20:50:38 5d3b04190fa2: Pulling fs layer 20:50:38 2f39f015ded8: Pulling fs layer 20:50:38 33b1e0a273af: Waiting 20:50:38 5d3b04190fa2: Waiting 20:50:38 3a2ae6a8a46f: Waiting 20:50:38 2f39f015ded8: Waiting 20:50:38 5c69ac0246d0: Download complete 20:50:38 3a2ae6a8a46f: Verifying Checksum 20:50:38 3a2ae6a8a46f: Download complete 20:50:38 ec43610c2a17: Verifying Checksum 20:50:38 ec43610c2a17: Download complete 20:50:38 33b1e0a273af: Verifying Checksum 20:50:38 33b1e0a273af: Download complete 20:50:38 5d3b04190fa2: Verifying Checksum 20:50:38 5d3b04190fa2: Download complete 20:50:38 5eb5b503b376: Verifying Checksum 20:50:38 5eb5b503b376: Download complete 20:50:39 2f39f015ded8: Download complete 20:50:40 5eb5b503b376: Pull complete 20:50:40 5c69ac0246d0: Pull complete 20:50:41 ec43610c2a17: Pull complete 20:50:41 3a2ae6a8a46f: Pull complete 20:50:41 33b1e0a273af: Pull complete 20:50:41 5d3b04190fa2: Pull complete 20:50:43 using credential edgex-jenkins-ssh 20:50:43 Cloning the remote Git repository 20:50:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:50:44 > git init /w/workspace/device-sdk-go/5 # timeout=10 20:50:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:50:44 > git --version # timeout=10 20:50:44 > git --version # 'git version 2.25.1' 20:50:44 using GIT_SSH to set credentials SSH Credentials for GitHub 20:50:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:50:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:50:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:50:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:50:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:50:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:50:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1202/head:refs/remotes/origin/PR-1202 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:50:46 Merging remotes/origin/main commit 05709587d91994e95fbbf030ae60546eede8820e into PR head commit 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 20:50:46 2f39f015ded8: Pull complete 20:50:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:50:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:50:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:46 prd-ubuntu20.04-docker-8c-8g-21289 does not seem to be running inside a container 20:50:46 Merge succeeded, producing 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 20:50:46 Checking out Revision 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 (PR-1202) 20:50:46 $ 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-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@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 20:50:46 > git config core.sparsecheckout # timeout=10 20:50:46 > git checkout -f 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 # timeout=10 20:50:46 > git remote # timeout=10 20:50:46 > git config --get remote.origin.url # timeout=10 20:50:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:50:46 > git merge 05709587d91994e95fbbf030ae60546eede8820e # timeout=10 20:50:46 > git rev-parse HEAD^{commit} # timeout=10 20:50:46 > git config core.sparsecheckout # timeout=10 20:50:46 > git checkout -f 68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 # timeout=10 20:50:48 $ docker top cf9daf83f637bcc5dd197c248516a81dfb219b419e7065bc166cbab6a1b91438 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:48 ---> job-cost.sh 20:50:48 lf-activate-venv: SKIPPING 20:50:48 INFO: No Stack... 20:50:49 INFO: Retrieving Pricing Info for: v3-standard-8 20:50:49 INFO: Archiving Costs [Pipeline] sh 20:50:49 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/cost.csv 20:50:49 + cut -d, -f6 [Pipeline] lock 20:50:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1202-5-stack-cost] 20:50:49 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-5-stack-cost] did not exist. Created. 20:50:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1202-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:50:50 + echo total: 0.2199999988079071 [Pipeline] stash 20:50:50 Stashed 1 file(s) [Pipeline] } 20:50:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:50:50 $ docker stop --time=1 cf9daf83f637bcc5dd197c248516a81dfb219b419e7065bc166cbab6a1b91438 20:50:50 Commit message: "fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation." 20:50:51 20:50:51 GitHub has been notified of this commit’s build result 20:50:51 20:50:51 $ docker rm -f cf9daf83f637bcc5dd197c248516a81dfb219b419e7065bc166cbab6a1b91438 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:50:51 % Total % Received % Xferd Average Speed Time Time Time Current 20:50:51 Dload Upload Total Spent Left Speed 20:50:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 20:50:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:50:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:50:52 + sudo tee /etc/docker/daemon.new 20:50:52 { 20:50:52 "registry-mirrors": [ 20:50:52 "https://nexus3.edgexfoundry.org:10001" 20:50:52 ], 20:50:52 "bip": "10.250.0.254/24", 20:50:52 "hosts": [ 20:50:52 "tcp://0.0.0.0:5555", 20:50:52 "unix:///var/run/docker.sock" 20:50:52 ], 20:50:52 "mtu": 1458, 20:50:52 "selinux-enabled": true, 20:50:52 "seccomp-profile": "/etc/docker/seccomp.json" 20:50:52 } [Pipeline] sh 20:50:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:50:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:11 provisioning config files... 20:51:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config6315206091141186582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:12 ---> docker-login.sh 20:51:12 nexus3.edgexfoundry.org:10001 20:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:13 Configure a credential helper to remove this warning. See 20:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:13 20:51:13 Login Succeeded 20:51:13 nexus3.edgexfoundry.org:10002 20:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:14 Configure a credential helper to remove this warning. See 20:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:14 20:51:14 Login Succeeded 20:51:14 nexus3.edgexfoundry.org:10003 20:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:14 Configure a credential helper to remove this warning. See 20:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:14 20:51:14 Login Succeeded 20:51:14 nexus3.edgexfoundry.org:10004 20:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:14 Configure a credential helper to remove this warning. See 20:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:14 20:51:14 Login Succeeded 20:51:14 docker.io 20:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:15 Configure a credential helper to remove this warning. See 20:51:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:15 20:51:15 Login Succeeded 20:51:15 ---> docker-login.sh ends [Pipeline] } 20:51:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:51:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:15 ========================================================= 20:51:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:51:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:16 + 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 . 20:51:16 Sending build context to Docker daemon 5.25MB 20:51:16 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 20:51:16 Step 2/11 : FROM ${BASE} AS builder 20:51:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:51:16 b3c136eddcbf: Pulling fs layer 20:51:16 c0a3192eca97: Pulling fs layer 20:51:16 a050256f5b6f: Pulling fs layer 20:51:16 656be50a0ddc: Pulling fs layer 20:51:16 2bbca73fdf42: Pulling fs layer 20:51:16 46d945488cbd: Pulling fs layer 20:51:16 8a5474983e97: Pulling fs layer 20:51:16 329c88fbcd65: Pulling fs layer 20:51:16 46d945488cbd: Waiting 20:51:16 8a5474983e97: Waiting 20:51:16 656be50a0ddc: Waiting 20:51:16 329c88fbcd65: Waiting 20:51:16 2bbca73fdf42: Waiting 20:51:16 a050256f5b6f: Verifying Checksum 20:51:16 a050256f5b6f: Download complete 20:51:16 c0a3192eca97: Verifying Checksum 20:51:16 c0a3192eca97: Download complete 20:51:16 2bbca73fdf42: Verifying Checksum 20:51:16 2bbca73fdf42: Download complete 20:51:16 46d945488cbd: Verifying Checksum 20:51:16 46d945488cbd: Download complete 20:51:16 b3c136eddcbf: Verifying Checksum 20:51:17 b3c136eddcbf: Pull complete 20:51:18 329c88fbcd65: Verifying Checksum 20:51:18 329c88fbcd65: Download complete 20:51:18 c0a3192eca97: Pull complete 20:51:18 a050256f5b6f: Pull complete 20:51:19 8a5474983e97: Verifying Checksum 20:51:19 8a5474983e97: Download complete 20:51:19 656be50a0ddc: Verifying Checksum 20:51:19 656be50a0ddc: Download complete 20:51:35 656be50a0ddc: Pull complete 20:51:35 2bbca73fdf42: Pull complete 20:51:35 46d945488cbd: Pull complete 20:51:40 8a5474983e97: Pull complete 20:51:41 329c88fbcd65: Pull complete 20:51:41 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:51:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:51:41 ---> ff4287adb874 20:51:41 Step 3/11 : ARG MAKE=make build 20:51:42 ---> Running in 3f15e3256440 20:51:42 Removing intermediate container 3f15e3256440 20:51:42 ---> c50b69bdf5da 20:51:42 Step 4/11 : WORKDIR /device-sdk-go 20:51:43 ---> Running in e3c193842725 20:51:43 Removing intermediate container e3c193842725 20:51:43 ---> b467ee95407b 20:51:43 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:51:43 ---> Running in 8eb49644fa52 20:51:43 Removing intermediate container 8eb49644fa52 20:51:43 ---> 4dedfa4e352a 20:51:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:51:43 ---> Running in 02364302cec1 20:51:46 Removing intermediate container 02364302cec1 20:51:46 ---> 6796c82b747c 20:51:46 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:51:46 ---> Running in 7004cd48a33a 20:51:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:51:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:51:49 OK: 221 MiB in 51 packages 20:51:49 Removing intermediate container 7004cd48a33a 20:51:49 ---> f33b45d1161a 20:51:49 Step 8/11 : COPY go.mod vendor* ./ 20:51:50 ---> 404edbfa08fc 20:51:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:50 ---> Running in 592a77b1d19f 20:52:37 Removing intermediate container 592a77b1d19f 20:52:37 ---> 6b2f1971997e 20:52:37 Step 10/11 : COPY . . 20:52:37 ---> 0e1b9faea6b5 20:52:37 Step 11/11 : RUN ${MAKE} 20:52:37 ---> Running in 47b2eaf4c671 20:52:38 noop 20:52:39 Removing intermediate container 47b2eaf4c671 20:52:39 ---> c276f492de6d 20:52:39 Successfully built c276f492de6d 20:52:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:39 + docker inspect -f . ci-base-image-arm64 20:52:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:40 prd-ubuntu20.04-docker-arm64-4c-16g-21291 does not seem to be running inside a container 20:52:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:52:41 $ docker top cb690cac833d1e6444d3110eb04615216ac712945a09e8aaa13ecf9773e905cb -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:42 + go version 20:52:42 go version go1.18.3 linux/arm64 [Pipeline] } 20:52:42 $ docker stop --time=1 cb690cac833d1e6444d3110eb04615216ac712945a09e8aaa13ecf9773e905cb 20:52:44 $ docker rm -f cb690cac833d1e6444d3110eb04615216ac712945a09e8aaa13ecf9773e905cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:44 + docker inspect -f . ci-base-image-arm64 20:52:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:45 prd-ubuntu20.04-docker-arm64-4c-16g-21291 does not seem to be running inside a container 20:52:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:52:46 $ docker top 0514ac961a3338e3f6556fca68ebcccd2f3afd1c438cdc590d9e06e0dc22c2a2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:47 + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh 20:52:47 + make test 20:52:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:53:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:54:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:54:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:54:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:55:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.381s coverage: 23.7% of statements 20:55:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:55:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.291s coverage: 27.6% of statements 20:55:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.281s coverage: 78.9% of statements 20:55:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.379s coverage: 10.8% of statements 20:55:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.415s coverage: 60.0% of statements 20:55:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:55:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:55:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.499s coverage: 34.8% of statements 20:55:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:55:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.346s coverage: 85.4% of statements 20:55:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:55:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:55:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.489s coverage: 65.1% of statements 20:55:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 20:55:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:55:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.029s coverage: 89.2% of statements 20:55:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:55:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.229s coverage: 4.7% of statements 20:55:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:55:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:55:19 GO111MODULE=on go vet ./... 20:56:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:56:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:56:41 ./bin/test-attribution-txt.sh 20:56:41 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 20:56:41 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 20:56:41 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 20:56:41 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:56:41 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:56:41 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 20:56:41 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 20:56:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:56:41 $ docker stop --time=1 0514ac961a3338e3f6556fca68ebcccd2f3afd1c438cdc590d9e06e0dc22c2a2 20:56:43 $ docker rm -f 0514ac961a3338e3f6556fca68ebcccd2f3afd1c438cdc590d9e06e0dc22c2a2 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:56:44 Warning: overwriting stash ‘coverage-report’ 20:56:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:56:45 + ls -al . 20:56:45 total 300 20:56:45 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 20:52 . 20:56:45 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:50 .. 20:56:45 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 20:50 .dockerignore 20:56:45 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 20:50 .git 20:56:45 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:50 .github 20:56:45 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 20:50 .gitignore 20:56:45 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 20:50 .golangci.yml 20:56:45 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 20:50 CHANGELOG.md 20:56:45 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 20:50 GOVERNANCE.md 20:56:45 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 20:50 Jenkinsfile 20:56:45 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 20:50 LICENSE 20:56:45 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 20:50 Makefile 20:56:45 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 20:50 OWNERS.md 20:56:45 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 20:50 README.md 20:56:45 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 20:48 VERSION 20:56:45 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 20:50 bin 20:56:45 -rw-r--r-- 1 jenkins jenkins 131677 Jul 27 20:55 coverage.out 20:56:45 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 20:50 example 20:56:45 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 20:50 go.mod 20:56:45 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 20:50 go.sum 20:56:45 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 20:50 internal 20:56:45 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 20:50 openapi 20:56:45 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 20:50 pkg 20:56:45 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 20:50 snap 20:56:45 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 20:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:46 + 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=68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 --label arch=arm64 --label version=0.0.0 . 20:56:46 Sending build context to Docker daemon 5.382MB 20:56:46 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:56:46 Step 2/25 : FROM ${BASE} AS builder 20:56:46 ---> c276f492de6d 20:56:46 Step 3/25 : ARG MAKE=make build 20:56:46 ---> Running in 874c3cceb601 20:56:47 Removing intermediate container 874c3cceb601 20:56:47 ---> dabf1d4a2ccb 20:56:47 Step 4/25 : WORKDIR /device-sdk-go 20:56:47 ---> Running in 4007011d33c0 20:56:47 Removing intermediate container 4007011d33c0 20:56:47 ---> c7059f1fd20b 20:56:47 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:56:47 ---> Running in 99db3245b3f1 20:56:47 Removing intermediate container 99db3245b3f1 20:56:47 ---> 0efee5a440d2 20:56:47 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:56:47 ---> Running in 88bc2148de9f 20:56:49 Removing intermediate container 88bc2148de9f 20:56:49 ---> 9c6d5ac803ac 20:56:49 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:56:49 ---> Running in d950eec73de4 20:56:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:56:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:56:52 OK: 221 MiB in 51 packages 20:56:53 Removing intermediate container d950eec73de4 20:56:53 ---> 7fa4316abd32 20:56:53 Step 8/25 : COPY go.mod vendor* ./ 20:56:53 ---> e1f6ab1dae83 20:56:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:53 ---> Running in 21aaad410171 20:56:55 Removing intermediate container 21aaad410171 20:56:55 ---> ca506fca7109 20:56:55 Step 10/25 : COPY . . 20:56:56 ---> 2fa46f2dcb1a 20:56:56 Step 11/25 : RUN ${MAKE} 20:56:56 ---> Running in f748e8a90c65 20:56:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:59:04 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:59:04 Removing intermediate container f748e8a90c65 20:59:04 ---> 8e0da653a6b2 20:59:04 Step 12/25 : FROM alpine:3.16 20:59:04 3.16: Pulling from library/alpine 20:59:04 f97344484467: Pulling fs layer 20:59:04 f97344484467: Download complete 20:59:04 f97344484467: Pull complete 20:59:04 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 20:59:04 Status: Downloaded newer image for alpine:3.16 20:59:04 ---> 3d81c46cd875 20:59:04 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:59:04 ---> Running in 769187bef2ed 20:59:04 Removing intermediate container 769187bef2ed 20:59:04 ---> 7f3bf35d3ea0 20:59:04 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:04 ---> Running in ca82d5478c03 20:59:04 Removing intermediate container ca82d5478c03 20:59:04 ---> 6abe24da4185 20:59:04 Step 15/25 : RUN apk add --update --no-cache zeromq 20:59:04 ---> Running in 6c5676d64395 20:59:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:59:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:59:04 (1/5) Installing libgcc (11.2.1_git20220219-r2) 20:59:04 (2/5) Installing libsodium (1.0.18-r0) 20:59:05 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 20:59:05 (4/5) Installing libzmq (4.3.4-r0) 20:59:05 (5/5) Installing zeromq (4.3.4-r0) 20:59:05 Executing busybox-1.35.0-r15.trigger 20:59:05 OK: 8 MiB in 19 packages 20:59:06 Removing intermediate container 6c5676d64395 20:59:06 ---> 1e1bbb13d82b 20:59:06 Step 16/25 : WORKDIR / 20:59:06 ---> Running in 235e9d3c4ca3 20:59:06 Removing intermediate container 235e9d3c4ca3 20:59:06 ---> 70ef05fe49f2 20:59:06 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:59:07 ---> 959ccf25dd0c 20:59:07 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:59:08 ---> 1cca0c7a1a8e 20:59:08 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:59:09 ---> 567e70ca3ea8 20:59:09 Step 20/25 : EXPOSE 59999 20:59:09 ---> Running in fe4b810630ab 20:59:09 Removing intermediate container fe4b810630ab 20:59:09 ---> 4b61ba70bdb7 20:59:09 Step 21/25 : ENTRYPOINT ["/device-simple"] 20:59:09 ---> Running in 5810d076ef24 20:59:10 Removing intermediate container 5810d076ef24 20:59:10 ---> 9fae02c2fa09 20:59:10 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:59:10 ---> Running in 2d2c319646ba 20:59:10 Removing intermediate container 2d2c319646ba 20:59:10 ---> ea11854c7c7a 20:59:10 Step 23/25 : LABEL arch=arm64 20:59:10 ---> Running in 5e4aeb34ffe8 20:59:10 Removing intermediate container 5e4aeb34ffe8 20:59:10 ---> 3975dc84de0f 20:59:10 Step 24/25 : LABEL git_sha=68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 20:59:10 ---> Running in 5343067eb522 20:59:11 Removing intermediate container 5343067eb522 20:59:11 ---> 447246c9e2f0 20:59:11 Step 25/25 : LABEL version=0.0.0 20:59:11 ---> Running in 1cf4a3647f02 20:59:11 Removing intermediate container 1cf4a3647f02 20:59:11 ---> cd1cc151264c 20:59:11 [Warning] One or more build-args [ARCH] were not consumed 20:59:11 Successfully built cd1cc151264c 20:59:11 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 20:59:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:11 20:59:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:12 arm64: Pulling from edgex-lftools-log-publisher 20:59:12 8998bd30e6a1: Pulling fs layer 20:59:12 04944245beec: Pulling fs layer 20:59:12 699f458cf7ca: Pulling fs layer 20:59:12 765212b225bb: Pulling fs layer 20:59:12 f23df028b6ca: Pulling fs layer 20:59:12 d65c8cfc05b1: Pulling fs layer 20:59:12 2437ff75d9bd: Pulling fs layer 20:59:12 765212b225bb: Waiting 20:59:12 d65c8cfc05b1: Waiting 20:59:12 2437ff75d9bd: Waiting 20:59:12 f23df028b6ca: Waiting 20:59:12 04944245beec: Verifying Checksum 20:59:12 04944245beec: Download complete 20:59:12 765212b225bb: Verifying Checksum 20:59:12 765212b225bb: Download complete 20:59:12 f23df028b6ca: Verifying Checksum 20:59:12 f23df028b6ca: Download complete 20:59:12 d65c8cfc05b1: Verifying Checksum 20:59:12 d65c8cfc05b1: Download complete 20:59:12 699f458cf7ca: Verifying Checksum 20:59:12 699f458cf7ca: Download complete 20:59:13 8998bd30e6a1: Verifying Checksum 20:59:13 8998bd30e6a1: Download complete 20:59:15 2437ff75d9bd: Verifying Checksum 20:59:15 2437ff75d9bd: Download complete 20:59:17 8998bd30e6a1: Pull complete 20:59:17 04944245beec: Pull complete 20:59:19 699f458cf7ca: Pull complete 20:59:19 765212b225bb: Pull complete 20:59:20 f23df028b6ca: Pull complete 20:59:20 d65c8cfc05b1: Pull complete 20:59:35 2437ff75d9bd: Pull complete 20:59:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:59:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:36 prd-ubuntu20.04-docker-arm64-4c-16g-21291 does not seem to be running inside a container 20:59:36 $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:59:38 $ docker top fc0c02e7be664819a1f82efd40f7bffadb09b046d413f2d17e7d3a439f68e76b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:39 ---> job-cost.sh 20:59:39 lf-activate-venv: SKIPPING 20:59:39 INFO: No Stack... 20:59:40 INFO: Retrieving Pricing Info for: v3-standard-4 20:59:40 INFO: Archiving Costs [Pipeline] sh 20:59:41 + + cutcat -d, /w/workspace/device-sdk-go/5/archives/cost.csv -f6 20:59:41 [Pipeline] lock 20:59:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1202-5-stack-cost] 20:59:41 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-5-stack-cost] did not exist. Created. 20:59:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1202-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:42 /w/workspace/device-sdk-go/5@tmp/durable-031b4b99/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:59:42 + echo total: 0.10999999940395355 [Pipeline] stash 20:59:42 Warning: overwriting stash ‘stack-cost’ 20:59:42 Stashed 1 file(s) [Pipeline] } 20:59:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:59:42 $ docker stop --time=1 fc0c02e7be664819a1f82efd40f7bffadb09b046d413f2d17e7d3a439f68e76b 20:59:44 $ docker rm -f fc0c02e7be664819a1f82efd40f7bffadb09b046d413f2d17e7d3a439f68e76b [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 20:59:44 provisioning config files... 20:59:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config8806178092696155877tmp [Pipeline] { [Pipeline] sh 20:59:45 + set +x 20:59:45 + curl -s https://codecov.io/bash 20:59:45 + bash -s -- 20:59:45 20:59:45 _____ _ 20:59:45 / ____| | | 20:59:45 | | ___ __| | ___ ___ _____ __ 20:59:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:59:45 | |___| (_) | (_| | __/ (_| (_) \ V / 20:59:45 \_____\___/ \__,_|\___|\___\___/ \_/ 20:59:45 Bash-1.0.6 20:59:45 20:59:45 20:59:45 ==> git version 2.25.1 found 20:59:45 ==> 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 20:59:45 Release-Date: 2020-01-08 20:59:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:59:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:59:45 ==> Jenkins CI detected. 20:59:45 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1202 20:59:45 project root: . 20:59:45 --> token set from env 20:59:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:59:45 ==> Running gcov in . (disable via -X gcov) 20:59:45 ==> Python coveragepy not found 20:59:45 ==> Searching for coverage reports in: 20:59:45 + . 20:59:45 -> Found 1 reports 20:59:45 ==> Detecting git/mercurial file structure 20:59:45 ==> Reading reports 20:59:45 + ./coverage.out bytes=131677 20:59:45 ==> Appending adjustments 20:59:45 https://docs.codecov.io/docs/fixing-reports 20:59:45 + Found adjustments 20:59:45 ==> Gzipping contents 20:59:45 20K /tmp/codecov.VJJUqe.gz 20:59:45 ==> Uploading reports 20:59:45 url: https://codecov.io 20:59:45 query: branch=PR-1202&commit=68b0911e8cf3a340c8cc30616fe5ed59dfbe1250&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1202%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1202&job=&cmd_args= 20:59:45 -> Pinging Codecov 20:59:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1202&commit=68b0911e8cf3a340c8cc30616fe5ed59dfbe1250&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1202%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1202&job=&cmd_args= 20:59:45 -> Uploading to 20:59:45 https://storage.googleapis.com/codecov/v4/raw/2022-07-27/7E55EF52A471D76F132DFD9A03CDDE97/68b0911e8cf3a340c8cc30616fe5ed59dfbe1250/30971424-aa2d-43b4-8f92-f457cb15fcbf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T205945Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0880f927d5009abf2e3ed8d3c6cbfb427df75aa66bf45f2c48c367ede5d0d016 20:59:45 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:45 Dload Upload Total Spent Left Speed 20:59:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17337 0 0 100 17337 0 71937 --:--:-- --:--:-- --:--:-- 71937 20:59:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/68b0911e8cf3a340c8cc30616fe5ed59dfbe1250 [Pipeline] } 20:59:46 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 20:59:47 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives ] 20:59:47 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 20:59:47 total 16 20:59:47 drwxr-xr-x 3 root root 4096 Jul 27 20:50 . 20:59:47 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 20:50 .. 20:59:47 drwxr-xr-x 2 root root 4096 Jul 27 20:50 cost 20:59:47 -rw-r--r-- 1 root root 86 Jul 27 20:50 cost.csv 20:59:47 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 20:59:47 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives 20:59:47 total 16 20:59:47 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 20:50 . 20:59:47 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 20:50 .. 20:59:47 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 20:50 cost 20:59:47 -rw-r--r-- 1 jenkins jenkins 86 Jul 27 20:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:59:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:59:48 ---> package-listing.sh 20:59:48 ++ facter osfamily 20:59:48 ++ tr '[:upper:]' '[:lower:]' 20:59:48 + OS_FAMILY=debian 20:59:48 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1202 20:59:48 + START_PACKAGES=/tmp/packages_start.txt 20:59:48 + END_PACKAGES=/tmp/packages_end.txt 20:59:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:59:48 + PACKAGES=/tmp/packages_start.txt 20:59:48 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' 20:59:48 + PACKAGES=/tmp/packages_end.txt 20:59:48 + case "${OS_FAMILY}" in 20:59:48 + dpkg -l 20:59:48 + grep '^ii' 20:59:48 + '[' -f /tmp/packages_start.txt ']' 20:59:48 + '[' -f /tmp/packages_end.txt ']' 20:59:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:59:48 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' 20:59:48 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/ 20:59:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/ [Pipeline] echo 20:59:48 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-1202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:59:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:49 prd-ubuntu20.04-docker-8c-8g-21289 does not seem to be running inside a container 20:59:49 $ 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-1202/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-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@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 20:59:49 $ docker top 36402873964f5ee8eabdc9ff1d08175ce9783a4ae4d4d91cfa6c5ae7adf48f7f -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:50 + touch /tmp/pre-build-complete [Pipeline] sh 20:59:50 + mkdir -p /var/log/sysstat [Pipeline] sh 20:59:50 + ls /var/log/sa-host 20:59:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:50 provisioning config files... 20:59:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config7050622548510486433tmp [Pipeline] { [Pipeline] echo 20:59:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:59:51 ---> create-netrc.sh [Pipeline] } 20:59:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:59:51 ---> python-tools-install.sh [Pipeline] echo 20:59:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:59:51 ---> sudo-logs.sh 20:59:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:59:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:59:52 ---> job-cost.sh 20:59:52 lf-activate-venv: SKIPPING 20:59:52 DEBUG: total: 0.2199999988079071 20:59:52 INFO: Retrieving Stack Cost... 20:59:52 INFO: Retrieving Pricing Info for: v3-standard-8 20:59:52 INFO: Archiving Costs [Pipeline] echo 20:59:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:59:53 ---> logs-deploy.sh 20:59:53 lf-activate-venv: SKIPPING 20:59:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1202/5 20:59:53 INFO: archiving workspace using pattern(s): 20:59:54 Archives upload complete. 20:59:54 INFO: archiving logs to Nexus