Pull request #1212 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from aed16fd80258b9c070839bfa1939c8f6aec5170d+e5efdee9dd9df15b49fe73e0060b5d971241be0d (893f5c93b3825f70ae3a770682cba94879810247) 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-ssh7157327910161990532.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12116208464323591798.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1212/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-1212/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5066631981382760731.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2376886036829605144.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1212/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-1212/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15129651948971767014.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-572 in /w/workspace/gexfoundry_device-sdk-go_PR-1212 [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-1212 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1212/head:refs/remotes/origin/PR-1212 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit aed16fd80258b9c070839bfa1939c8f6aec5170d Merge succeeded, producing aed16fd80258b9c070839bfa1939c8f6aec5170d Checking out Revision aed16fd80258b9c070839bfa1939c8f6aec5170d (PR-1212) > git config core.sparsecheckout # timeout=10 > git checkout -f aed16fd80258b9c070839bfa1939c8f6aec5170d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aed16fd80258b9c070839bfa1939c8f6aec5170d # timeout=10 Commit message: "feat: subscribe command request via internal messaging" First time build. Skipping changelog. > git rev-list --no-walk 59723b15e27aa6eb9315403fed3c25b458071642 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:08:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:08:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:08:55 ========================================================= 16:08:55 EdgeX Global Pipelines Version Info 16:08:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:08:56 ------------------- 16:08:56 stable info: 16:08:56 ------------------- 16:08:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:08:56 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:08:56 Message: update stable to v1.0.239 16:08:57 ------------------- 16:08:57 experimental info: 16:08:57 ------------------- 16:08:57 Commited By: **** collab-it+edgex@linuxfoundation.org 16:08:57 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:08:57 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1212 [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1212 [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1212 [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aed16fd80258b9c070839bfa1939c8f6aec5170d [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aed16fd [Pipeline] echo 16:08:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:57 provisioning config files... 16:08:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/config4714087538219006666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:58 ---> docker-login.sh 16:08:58 nexus3.edgexfoundry.org:10001 16:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:58 Configure a credential helper to remove this warning. See 16:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:58 16:08:58 Login Succeeded 16:08:58 nexus3.edgexfoundry.org:10002 16:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:58 Configure a credential helper to remove this warning. See 16:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:58 16:08:58 Login Succeeded 16:08:58 nexus3.edgexfoundry.org:10003 16:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:58 Configure a credential helper to remove this warning. See 16:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:58 16:08:58 Login Succeeded 16:08:58 nexus3.edgexfoundry.org:10004 16:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:58 Configure a credential helper to remove this warning. See 16:08:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:58 16:08:58 Login Succeeded 16:08:58 docker.io 16:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:59 Configure a credential helper to remove this warning. See 16:08:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:59 16:08:59 Login Succeeded 16:08:59 ---> docker-login.sh ends [Pipeline] } 16:08:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:08:59 + git rev-list -1 --merges aed16fd80258b9c070839bfa1939c8f6aec5170d~1..aed16fd80258b9c070839bfa1939c8f6aec5170d [Pipeline] echo 16:08:59 -----------> git rev-list -1 --merges aed16fd80258b9c070839bfa1939c8f6aec5170d~1..aed16fd80258b9c070839bfa1939c8f6aec5170d aed16fd80258b9c070839bfa1939c8f6aec5170d [false] [Pipeline] sh 16:09:00 + git log --format=format:%s -1 aed16fd80258b9c070839bfa1939c8f6aec5170d [Pipeline] echo 16:09:00 ========================================================= 16:09:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:09:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:09:00 + git log --format=format:%s -1 aed16fd80258b9c070839bfa1939c8f6aec5170d [Pipeline] echo 16:09:00 [semverPrep] GIT_COMMIT: aed16fd80258b9c070839bfa1939c8f6aec5170d, Commit Message: feat: subscribe command request via internal messaging [Pipeline] echo 16:09:00 [semverPrep] This is not a build commit. [Pipeline] sh 16:09:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:09:00 + grep -v github /etc/ssh/ssh_known_hosts 16:09:00 + [ -e /tmp/ssh_known_hosts ] 16:09:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:09:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:09:00 + sudo tee -a /etc/ssh/ssh_known_hosts 16:09:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:01 16:09:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:01 0.1.4: Pulling from edgex-devops/py-git-semver 16:09:01 b85a868b505f: Pulling fs layer 16:09:01 e2be974225ed: Pulling fs layer 16:09:01 339a4e72a1f5: Pulling fs layer 16:09:01 988bab9f4d93: Pulling fs layer 16:09:01 1469e6f7b9e6: Pulling fs layer 16:09:01 eaf3925da568: Pulling fs layer 16:09:01 bab4dde63d76: Pulling fs layer 16:09:01 bde34c3a00c8: Pulling fs layer 16:09:01 b352a97aabf1: Pulling fs layer 16:09:01 4872d77fe225: Pulling fs layer 16:09:01 5851b861e8e6: Pulling fs layer 16:09:01 988bab9f4d93: Waiting 16:09:01 1469e6f7b9e6: Waiting 16:09:01 bab4dde63d76: Waiting 16:09:01 bde34c3a00c8: Waiting 16:09:01 4872d77fe225: Waiting 16:09:01 5851b861e8e6: Waiting 16:09:01 eaf3925da568: Waiting 16:09:01 b352a97aabf1: Waiting 16:09:01 e2be974225ed: Download complete 16:09:01 988bab9f4d93: Verifying Checksum 16:09:01 988bab9f4d93: Download complete 16:09:01 1469e6f7b9e6: Verifying Checksum 16:09:01 1469e6f7b9e6: Download complete 16:09:01 eaf3925da568: Verifying Checksum 16:09:01 eaf3925da568: Download complete 16:09:01 339a4e72a1f5: Verifying Checksum 16:09:01 339a4e72a1f5: Download complete 16:09:01 bde34c3a00c8: Download complete 16:09:01 b352a97aabf1: Verifying Checksum 16:09:01 b352a97aabf1: Download complete 16:09:01 4872d77fe225: Verifying Checksum 16:09:01 4872d77fe225: Download complete 16:09:01 5851b861e8e6: Verifying Checksum 16:09:01 5851b861e8e6: Download complete 16:09:01 b85a868b505f: Verifying Checksum 16:09:01 b85a868b505f: Download complete 16:09:02 bab4dde63d76: Verifying Checksum 16:09:02 bab4dde63d76: Download complete 16:09:02 b85a868b505f: Pull complete 16:09:03 e2be974225ed: Pull complete 16:09:03 339a4e72a1f5: Pull complete 16:09:03 988bab9f4d93: Pull complete 16:09:04 1469e6f7b9e6: Pull complete 16:09:04 eaf3925da568: Pull complete 16:09:05 bab4dde63d76: Pull complete 16:09:05 bde34c3a00c8: Pull complete 16:09:06 b352a97aabf1: Pull complete 16:09:06 4872d77fe225: Pull complete 16:09:06 5851b861e8e6: Pull complete 16:09:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:09:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:09:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:06 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 16:09:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1212 -v /w/workspace/gexfoundry_device-sdk-go_PR-1212:/w/workspace/gexfoundry_device-sdk-go_PR-1212:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:09:07 $ docker top 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d -eo pid,comm 16:09:07 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). 16:09:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:07 [ssh-agent] Looking for ssh-agent implementation... 16:09:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:07 $ docker exec 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d ssh-agent 16:09:08 SSH_AUTH_SOCK=/tmp/ssh-REeFnJ0Z9vSq/agent.32 16:09:08 SSH_AGENT_PID=38 16:09:08 Running ssh-add (command line suppressed) 16:09:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/private_key_6269999063172685656.key (/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/private_key_6269999063172685656.key) 16:09:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:08 + git tag --points-at HEAD [Pipeline] } 16:09:08 $ docker exec --env ******** --env ******** 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d ssh-agent -k 16:09:08 unset SSH_AUTH_SOCK; 16:09:08 unset SSH_AGENT_PID; 16:09:08 echo Agent pid 38 killed; 16:09:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:09:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:08 [ssh-agent] Looking for ssh-agent implementation... 16:09:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:08 $ docker exec 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d ssh-agent 16:09:08 SSH_AUTH_SOCK=/tmp/ssh-wNPpvyuFPHhf/agent.70 16:09:08 SSH_AGENT_PID=76 16:09:08 Running ssh-add (command line suppressed) 16:09:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/private_key_9456734114183999415.key (/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/private_key_9456734114183999415.key) 16:09:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:09 + git semver init 16:09:09 2022-09-22 16:09:09,439 [run_init] DEBUG init version:0.0.0 force:False 16:09:09 2022-09-22 16:09:09,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver 16:09:09 2022-09-22 16:09:09,441 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver 16:09:09 2022-09-22 16:09:09,441 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1212, universal_newlines=False, shell=None, istream=None) 16:09:10 2022-09-22 16:09:10,457 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212/.git/info/exclude 16:09:10 2022-09-22 16:09:10,458 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver/PR-1212 with force:False 16:09:10 2022-09-22 16:09:10,458 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver/PR-1212 16:09:10 2022-09-22 16:09:10,463 [execute] INFO git cat-file --batch-check 16:09:10 2022-09-22 16:09:10,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver, universal_newlines=False, shell=None, istream=) 16:09:10 2022-09-22 16:09:10,470 [execute] INFO git cat-file --batch 16:09:10 2022-09-22 16:09:10,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver, universal_newlines=False, shell=None, istream=) 16:09:10 2022-09-22 16:09:10,475 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver/PR-1212 16:09:10 0.0.0 [Pipeline] } 16:09:10 $ docker exec --env ******** --env ******** 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d ssh-agent -k 16:09:10 unset SSH_AUTH_SOCK; 16:09:10 unset SSH_AGENT_PID; 16:09:10 echo Agent pid 76 killed; 16:09:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:11 + git semver [Pipeline] } 16:09:11 $ docker stop --time=1 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d 16:09:12 $ docker rm -f 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d [Pipeline] // withDockerContainer [Pipeline] sh 16:09:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:09:13 Stashed 1 file(s) [Pipeline] echo 16:09:13 [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 16:09:13 provisioning config files... 16:09:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/config3583995524093291249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:13 ---> docker-login.sh 16:09:13 nexus3.edgexfoundry.org:10001 16:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:13 Configure a credential helper to remove this warning. See 16:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:13 16:09:13 Login Succeeded 16:09:13 nexus3.edgexfoundry.org:10002 16:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:13 Configure a credential helper to remove this warning. See 16:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:13 16:09:13 Login Succeeded 16:09:13 nexus3.edgexfoundry.org:10003 16:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:14 Configure a credential helper to remove this warning. See 16:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:14 16:09:14 Login Succeeded 16:09:14 nexus3.edgexfoundry.org:10004 16:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:14 Configure a credential helper to remove this warning. See 16:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:14 16:09:14 Login Succeeded 16:09:14 docker.io 16:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:14 Configure a credential helper to remove this warning. See 16:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:14 16:09:14 Login Succeeded 16:09:14 ---> docker-login.sh ends [Pipeline] } 16:09:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:09:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:14 ========================================================= 16:09:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:09:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:15 + 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 . 16:09:15 Sending build context to Docker daemon 9.89MB 16:09:15 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:09:15 Step 2/11 : FROM ${BASE} AS builder 16:09:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:09:15 2408cc74d12b: Pulling fs layer 16:09:15 ea60b727a1ce: Pulling fs layer 16:09:15 30c4a7721957: Pulling fs layer 16:09:15 370296b7ddb6: Pulling fs layer 16:09:15 7c6cee850709: Pulling fs layer 16:09:15 39a5fcdaea64: Pulling fs layer 16:09:15 d94ebbe4e438: Pulling fs layer 16:09:15 bcfd1f05c69d: Pulling fs layer 16:09:15 59ccb84bbe0f: Pulling fs layer 16:09:15 370296b7ddb6: Waiting 16:09:15 39a5fcdaea64: Waiting 16:09:15 d94ebbe4e438: Waiting 16:09:15 bcfd1f05c69d: Waiting 16:09:15 7c6cee850709: Waiting 16:09:15 59ccb84bbe0f: Waiting 16:09:15 30c4a7721957: Verifying Checksum 16:09:15 30c4a7721957: Download complete 16:09:15 ea60b727a1ce: Download complete 16:09:15 7c6cee850709: Verifying Checksum 16:09:15 7c6cee850709: Download complete 16:09:15 39a5fcdaea64: Verifying Checksum 16:09:15 39a5fcdaea64: Download complete 16:09:15 2408cc74d12b: Verifying Checksum 16:09:15 2408cc74d12b: Download complete 16:09:15 d94ebbe4e438: Verifying Checksum 16:09:15 d94ebbe4e438: Download complete 16:09:15 2408cc74d12b: Pull complete 16:09:15 ea60b727a1ce: Pull complete 16:09:15 30c4a7721957: Pull complete 16:09:15 59ccb84bbe0f: Download complete 16:09:16 bcfd1f05c69d: Verifying Checksum 16:09:16 bcfd1f05c69d: Download complete 16:09:16 370296b7ddb6: Verifying Checksum 16:09:16 370296b7ddb6: Download complete 16:09:20 370296b7ddb6: Pull complete 16:09:20 7c6cee850709: Pull complete 16:09:20 39a5fcdaea64: Pull complete 16:09:20 d94ebbe4e438: Pull complete 16:09:22 bcfd1f05c69d: Pull complete 16:09:23 59ccb84bbe0f: Pull complete 16:09:23 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:09:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:09:23 ---> a4fb48ad2a94 16:09:23 Step 3/11 : ARG MAKE=make build 16:09:25 ---> Running in 4d55e803f6b6 16:09:25 Removing intermediate container 4d55e803f6b6 16:09:25 ---> a60814d34323 16:09:25 Step 4/11 : WORKDIR /device-sdk-go 16:09:25 ---> Running in 95859288fba2 16:09:25 Removing intermediate container 95859288fba2 16:09:25 ---> 8d11340ef3a4 16:09:25 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:09:25 ---> Running in 3f39fd3866cf 16:09:25 Removing intermediate container 3f39fd3866cf 16:09:25 ---> 63b1f3fcadb5 16:09:25 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:09:25 ---> Running in 9527d9f5fbe4 16:09:26 Removing intermediate container 9527d9f5fbe4 16:09:26 ---> 621b8d15188b 16:09:26 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:09:26 ---> Running in 9008dc9db3d4 16:09:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:09:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:09:27 OK: 211 MiB in 51 packages 16:09:28 Removing intermediate container 9008dc9db3d4 16:09:28 ---> cb45c74a47f2 16:09:28 Step 8/11 : COPY go.mod vendor* ./ 16:09:28 ---> 449cac2fc94e 16:09:28 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:09:28 ---> Running in 811f965ebfa3 16:09:28 Still waiting to schedule task 16:09:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:09:46 Removing intermediate container 811f965ebfa3 16:09:46 ---> 47b71b04588b 16:09:46 Step 10/11 : COPY . . 16:09:46 ---> d35bcd522fe1 16:09:46 Step 11/11 : RUN ${MAKE} 16:09:46 ---> Running in 907e200ac386 16:09:46 noop 16:09:46 Removing intermediate container 907e200ac386 16:09:46 ---> 104437e46ce3 16:09:46 Successfully built 104437e46ce3 16:09:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:46 + docker inspect -f . ci-base-image-x86_64 16:09:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:46 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 16:09:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1212 -v /w/workspace/gexfoundry_device-sdk-go_PR-1212:/w/workspace/gexfoundry_device-sdk-go_PR-1212:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:09:47 $ docker top 79540693252f2dc53a5c7bd6a9807bd97eb4f73f3069ce8a309ffabac37f98a9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:47 + go version 16:09:47 go version go1.18.3 linux/amd64 [Pipeline] } 16:09:47 $ docker stop --time=1 79540693252f2dc53a5c7bd6a9807bd97eb4f73f3069ce8a309ffabac37f98a9 16:09:48 $ docker rm -f 79540693252f2dc53a5c7bd6a9807bd97eb4f73f3069ce8a309ffabac37f98a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:49 + docker inspect -f . ci-base-image-x86_64 16:09:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:49 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 16:09:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1212 -v /w/workspace/gexfoundry_device-sdk-go_PR-1212:/w/workspace/gexfoundry_device-sdk-go_PR-1212:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:09:49 $ docker top 6b4db8e7fc33619b9f9e6cb38dd36defa471d8152d01173ac4128f06834e2cce -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1212 [Pipeline] fileExists [Pipeline] sh 16:09:50 + make test 16:09:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:09:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:10:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements 16:10:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 78.9% of statements 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 16:10:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.069s coverage: 60.0% of statements 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:10:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 54.4% of statements 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:10:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 65.1% of statements 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:10:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.735s coverage: 89.2% of statements 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:10:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.5% of statements 16:10:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:10:26 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." 16:10:26 GO111MODULE=on go vet ./... 16:10:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:10:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:10:30 ./bin/test-attribution-txt.sh 16:10:30 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 16:10:30 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 16:10:30 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 16:10:30 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 16:10:30 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:10:30 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:10:30 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 16:10:30 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 16:10:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:10:30 $ docker stop --time=1 6b4db8e7fc33619b9f9e6cb38dd36defa471d8152d01173ac4128f06834e2cce 16:10:32 $ docker rm -f 6b4db8e7fc33619b9f9e6cb38dd36defa471d8152d01173ac4128f06834e2cce [Pipeline] // withDockerContainer [Pipeline] sh 16:10:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:10:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:10:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:10:33 + ls -al . 16:10:33 total 276 16:10:33 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 16:09 . 16:10:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:08 .. 16:10:33 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:08 .dockerignore 16:10:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:10 .git 16:10:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:08 .github 16:10:33 -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:08 .gitignore 16:10:33 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:08 .golangci.yml 16:10:33 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:09 .semver 16:10:33 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:08 CHANGELOG.md 16:10:33 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:08 GOVERNANCE.md 16:10:33 -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:08 Jenkinsfile 16:10:33 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:08 LICENSE 16:10:33 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:08 Makefile 16:10:33 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:08 OWNERS.md 16:10:33 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:08 README.md 16:10:33 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 16:09 VERSION 16:10:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:08 bin 16:10:33 -rw-r--r-- 1 jenkins jenkins 101794 Sep 22 16:10 coverage.out 16:10:33 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:08 example 16:10:33 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 16:08 go.mod 16:10:33 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 16:08 go.sum 16:10:33 drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:08 internal 16:10:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:08 openapi 16:10:33 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:08 pkg 16:10:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:08 snap 16:10:33 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:33 + 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=aed16fd80258b9c070839bfa1939c8f6aec5170d --label arch=amd64 --label version=0.0.0 . 16:10:33 Sending build context to Docker daemon 9.992MB 16:10:33 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:10:33 Step 2/25 : FROM ${BASE} AS builder 16:10:33 ---> 104437e46ce3 16:10:33 Step 3/25 : ARG MAKE=make build 16:10:34 ---> Running in 4e5d97bdcec0 16:10:34 Removing intermediate container 4e5d97bdcec0 16:10:34 ---> c24411bd638d 16:10:34 Step 4/25 : WORKDIR /device-sdk-go 16:10:34 ---> Running in 37c3219f9d38 16:10:34 Removing intermediate container 37c3219f9d38 16:10:34 ---> bdb890f9f25f 16:10:34 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:10:34 ---> Running in 4ae794184d69 16:10:34 Removing intermediate container 4ae794184d69 16:10:34 ---> 97de86157e3e 16:10:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:34 ---> Running in b738b9ae4049 16:10:35 Removing intermediate container b738b9ae4049 16:10:35 ---> 0c82fdeac92f 16:10:35 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:10:35 ---> Running in 0b7822fc3eaa 16:10:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:10:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:10:36 OK: 211 MiB in 51 packages 16:10:36 Removing intermediate container 0b7822fc3eaa 16:10:36 ---> f99fb2f06052 16:10:36 Step 8/25 : COPY go.mod vendor* ./ 16:10:36 ---> e179cb90761c 16:10:36 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:10:36 ---> Running in 3f63d460c014 16:10:37 Removing intermediate container 3f63d460c014 16:10:37 ---> d7692f73b614 16:10:37 Step 10/25 : COPY . . 16:10:38 ---> 39893bf20df7 16:10:38 Step 11/25 : RUN ${MAKE} 16:10:38 ---> Running in 283c9034df46 16:10:38 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 16:10:56 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:10:56 Removing intermediate container 283c9034df46 16:10:56 ---> 6d292907b3bf 16:10:56 Step 12/25 : FROM alpine:3.16 16:10:57 3.16: Pulling from library/alpine 16:10:57 213ec9aee27d: Pulling fs layer 16:10:57 213ec9aee27d: Verifying Checksum 16:10:57 213ec9aee27d: Download complete 16:10:57 213ec9aee27d: Pull complete 16:10:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:10:57 Status: Downloaded newer image for alpine:3.16 16:10:57 ---> 9c6f07244728 16:10:57 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:10:57 ---> Running in 629af28e3d2a 16:10:58 Removing intermediate container 629af28e3d2a 16:10:58 ---> bab965ba947b 16:10:58 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:58 ---> Running in 94c789a882cf 16:10:58 Removing intermediate container 94c789a882cf 16:10:58 ---> 2648c6181392 16:10:58 Step 15/25 : RUN apk add --update --no-cache zeromq 16:10:58 ---> Running in 0066ec3813f1 16:10:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:10:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:11:00 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:11:00 (2/5) Installing libsodium (1.0.18-r0) 16:11:00 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:11:00 (4/5) Installing libzmq (4.3.4-r0) 16:11:00 (5/5) Installing zeromq (4.3.4-r0) 16:11:00 Executing busybox-1.35.0-r17.trigger 16:11:00 OK: 8 MiB in 19 packages 16:11:00 Removing intermediate container 0066ec3813f1 16:11:00 ---> c417e88b2c7c 16:11:00 Step 16/25 : WORKDIR / 16:11:00 ---> Running in 8065f4e9529c 16:11:00 Removing intermediate container 8065f4e9529c 16:11:00 ---> 9247bfcafd8f 16:11:00 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:11:01 ---> e115c789f775 16:11:01 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:11:01 ---> 832a0b4b94ef 16:11:01 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:11:01 ---> 3f0625aff95c 16:11:01 Step 20/25 : EXPOSE 59999 16:11:01 ---> Running in bad217cf62bf 16:11:02 Removing intermediate container bad217cf62bf 16:11:02 ---> abc7c783f353 16:11:02 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:11:02 ---> Running in 8cc79ec80930 16:11:02 Removing intermediate container 8cc79ec80930 16:11:02 ---> 57b76327cd63 16:11:02 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:11:02 ---> Running in 1cc8fbd5022b 16:11:02 Removing intermediate container 1cc8fbd5022b 16:11:02 ---> 32659b9b613f 16:11:02 Step 23/25 : LABEL arch=amd64 16:11:02 ---> Running in e4504d1dfead 16:11:02 Removing intermediate container e4504d1dfead 16:11:02 ---> 7ad9ca0d4e84 16:11:02 Step 24/25 : LABEL git_sha=aed16fd80258b9c070839bfa1939c8f6aec5170d 16:11:02 ---> Running in 70fee110c239 16:11:02 Removing intermediate container 70fee110c239 16:11:02 ---> 115ed929855f 16:11:02 Step 25/25 : LABEL version=0.0.0 16:11:02 ---> Running in a18177cf014c 16:11:02 Removing intermediate container a18177cf014c 16:11:02 ---> b8da172e38bc 16:11:02 [Warning] One or more build-args [ARCH] were not consumed 16:11:02 Successfully built b8da172e38bc 16:11:02 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 16:11:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:02 16:11:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:03 latest: Pulling from edgex-lftools-log-publisher 16:11:03 5eb5b503b376: Pulling fs layer 16:11:03 5c69ac0246d0: Pulling fs layer 16:11:03 ec43610c2a17: Pulling fs layer 16:11:03 3a2ae6a8a46f: Pulling fs layer 16:11:03 33b1e0a273af: Pulling fs layer 16:11:03 5d3b04190fa2: Pulling fs layer 16:11:03 2f39f015ded8: Pulling fs layer 16:11:03 33b1e0a273af: Waiting 16:11:03 3a2ae6a8a46f: Waiting 16:11:03 5d3b04190fa2: Waiting 16:11:03 2f39f015ded8: Waiting 16:11:03 5c69ac0246d0: Download complete 16:11:03 3a2ae6a8a46f: Verifying Checksum 16:11:03 3a2ae6a8a46f: Download complete 16:11:03 33b1e0a273af: Verifying Checksum 16:11:03 33b1e0a273af: Download complete 16:11:03 5d3b04190fa2: Verifying Checksum 16:11:03 5d3b04190fa2: Download complete 16:11:03 ec43610c2a17: Verifying Checksum 16:11:03 ec43610c2a17: Download complete 16:11:03 5eb5b503b376: Verifying Checksum 16:11:03 5eb5b503b376: Download complete 16:11:04 2f39f015ded8: Download complete 16:11:04 5eb5b503b376: Pull complete 16:11:04 5c69ac0246d0: Pull complete 16:11:05 ec43610c2a17: Pull complete 16:11:05 3a2ae6a8a46f: Pull complete 16:11:05 33b1e0a273af: Pull complete 16:11:05 5d3b04190fa2: Pull complete 16:11:09 2f39f015ded8: Pull complete 16:11:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:11:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:09 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 16:11:09 $ 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-1212 -v /w/workspace/gexfoundry_device-sdk-go_PR-1212:/w/workspace/gexfoundry_device-sdk-go_PR-1212:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:11:11 $ docker top 58053e1682a09d652697659d4b1ea7113e330690e55e1a787e783db11b51c2d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:11 ---> job-cost.sh 16:11:11 lf-activate-venv: SKIPPING 16:11:11 INFO: No Stack... 16:11:12 INFO: Retrieving Pricing Info for: v3-standard-8 16:11:12 INFO: Archiving Costs [Pipeline] sh 16:11:12 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives/cost.csv 16:11:12 + cut -d, -f6 [Pipeline] lock 16:11:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] 16:11:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] did not exist. Created. 16:11:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:11:13 + echo total: 0.2199999988079071 [Pipeline] stash 16:11:13 Stashed 1 file(s) [Pipeline] } 16:11:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:11:13 $ docker stop --time=1 58053e1682a09d652697659d4b1ea7113e330690e55e1a787e783db11b51c2d9 16:11:14 $ docker rm -f 58053e1682a09d652697659d4b1ea7113e330690e55e1a787e783db11b51c2d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:20:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-607 in /w/workspace/gexfoundry_device-sdk-go_PR-1212 [Pipeline] { [Pipeline] ws 16:20:23 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 16:20:23 The recommended git tool is: git 16:20:27 using credential edgex-jenkins-ssh 16:20:27 Cloning the remote Git repository 16:20:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:20:28 > git init /w/workspace/device-sdk-go/4 # timeout=10 16:20:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:20:28 > git --version # timeout=10 16:20:28 > git --version # 'git version 2.25.1' 16:20:28 using GIT_SSH to set credentials SSH Credentials for GitHub 16:20:28 Verifying host key using known hosts file 16:20:28 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:20:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:20:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:20:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:20:31 Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit aed16fd80258b9c070839bfa1939c8f6aec5170d 16:20:31 Merge succeeded, producing aed16fd80258b9c070839bfa1939c8f6aec5170d 16:20:31 Checking out Revision aed16fd80258b9c070839bfa1939c8f6aec5170d (PR-1212) 16:20:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:20:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:20:30 using GIT_SSH to set credentials SSH Credentials for GitHub 16:20:30 Verifying host key using known hosts file 16:20:30 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:20:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1212/head:refs/remotes/origin/PR-1212 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:20:31 > git config core.sparsecheckout # timeout=10 16:20:31 > git checkout -f aed16fd80258b9c070839bfa1939c8f6aec5170d # timeout=10 16:20:31 > git remote # timeout=10 16:20:31 > git config --get remote.origin.url # timeout=10 16:20:31 using GIT_SSH to set credentials SSH Credentials for GitHub 16:20:31 Verifying host key using known hosts file 16:20:31 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:20:31 > git merge e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 16:20:31 > git rev-parse HEAD^{commit} # timeout=10 16:20:31 > git config core.sparsecheckout # timeout=10 16:20:31 > git checkout -f aed16fd80258b9c070839bfa1939c8f6aec5170d # timeout=10 16:20:35 Commit message: "feat: subscribe command request via internal messaging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:20:36 % Total % Received % Xferd Average Speed Time Time Time Current 16:20:36 Dload Upload Total Spent Left Speed 16:20:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 93348 [Pipeline] sh 16:20:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:20:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:20:37 + sudo tee /etc/docker/daemon.new 16:20:37 { 16:20:37 "registry-mirrors": [ 16:20:37 "https://nexus3.edgexfoundry.org:10001" 16:20:37 ], 16:20:37 "bip": "10.250.0.254/24", 16:20:37 "hosts": [ 16:20:37 "tcp://0.0.0.0:5555", 16:20:37 "unix:///var/run/docker.sock" 16:20:37 ], 16:20:37 "mtu": 1458, 16:20:37 "selinux-enabled": true, 16:20:37 "seccomp-profile": "/etc/docker/seccomp.json" 16:20:37 } [Pipeline] sh 16:20:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:20:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:56 provisioning config files... 16:20:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8384917249353327606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:56 ---> docker-login.sh 16:20:56 nexus3.edgexfoundry.org:10001 16:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:57 Configure a credential helper to remove this warning. See 16:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:57 16:20:57 Login Succeeded 16:20:57 nexus3.edgexfoundry.org:10002 16:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:57 Configure a credential helper to remove this warning. See 16:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:57 16:20:57 Login Succeeded 16:20:57 nexus3.edgexfoundry.org:10003 16:20:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:57 Configure a credential helper to remove this warning. See 16:20:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:57 16:20:57 Login Succeeded 16:20:57 nexus3.edgexfoundry.org:10004 16:20:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:58 Configure a credential helper to remove this warning. See 16:20:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:58 16:20:58 Login Succeeded 16:20:58 docker.io 16:20:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:59 Configure a credential helper to remove this warning. See 16:20:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:59 16:20:59 Login Succeeded 16:20:59 ---> docker-login.sh ends [Pipeline] } 16:20:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:20:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:59 ========================================================= 16:20:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:20:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:59 + 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 . 16:20:59 Sending build context to Docker daemon 5.325MB 16:20:59 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:20:59 Step 2/11 : FROM ${BASE} AS builder 16:21:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:21:00 b3c136eddcbf: Pulling fs layer 16:21:00 c0a3192eca97: Pulling fs layer 16:21:00 a050256f5b6f: Pulling fs layer 16:21:00 656be50a0ddc: Pulling fs layer 16:21:00 2bbca73fdf42: Pulling fs layer 16:21:00 46d945488cbd: Pulling fs layer 16:21:00 8a5474983e97: Pulling fs layer 16:21:00 329c88fbcd65: Pulling fs layer 16:21:00 2bbca73fdf42: Waiting 16:21:00 8a5474983e97: Waiting 16:21:00 329c88fbcd65: Waiting 16:21:00 656be50a0ddc: Waiting 16:21:00 a050256f5b6f: Verifying Checksum 16:21:00 a050256f5b6f: Download complete 16:21:00 c0a3192eca97: Verifying Checksum 16:21:00 c0a3192eca97: Download complete 16:21:00 2bbca73fdf42: Download complete 16:21:00 46d945488cbd: Verifying Checksum 16:21:00 46d945488cbd: Download complete 16:21:00 b3c136eddcbf: Verifying Checksum 16:21:00 b3c136eddcbf: Download complete 16:21:01 b3c136eddcbf: Pull complete 16:21:01 329c88fbcd65: Download complete 16:21:01 c0a3192eca97: Pull complete 16:21:01 a050256f5b6f: Pull complete 16:21:02 8a5474983e97: Verifying Checksum 16:21:02 8a5474983e97: Download complete 16:21:03 656be50a0ddc: Download complete 16:21:15 656be50a0ddc: Pull complete 16:21:15 2bbca73fdf42: Pull complete 16:21:15 46d945488cbd: Pull complete 16:21:20 8a5474983e97: Pull complete 16:21:22 329c88fbcd65: Pull complete 16:21:22 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:21:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:21:22 ---> ff4287adb874 16:21:22 Step 3/11 : ARG MAKE=make build 16:21:24 ---> Running in 6bab3b537be1 16:21:24 Removing intermediate container 6bab3b537be1 16:21:24 ---> a5e3d3622a99 16:21:24 Step 4/11 : WORKDIR /device-sdk-go 16:21:24 ---> Running in 9e29cbfb82fd 16:21:24 Removing intermediate container 9e29cbfb82fd 16:21:24 ---> debe857a5ece 16:21:24 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:21:24 ---> Running in bcc8b777b5ce 16:21:25 Removing intermediate container bcc8b777b5ce 16:21:25 ---> 8aa03f79d725 16:21:25 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:21:25 ---> Running in 34549d8d0599 16:21:27 Removing intermediate container 34549d8d0599 16:21:27 ---> 62c990082356 16:21:27 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:21:27 ---> Running in 4a939e58c592 16:21:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:21:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:21:29 OK: 221 MiB in 51 packages 16:21:31 Removing intermediate container 4a939e58c592 16:21:31 ---> 700e69fab2b6 16:21:31 Step 8/11 : COPY go.mod vendor* ./ 16:21:31 ---> a11f6b916be4 16:21:31 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:21:31 ---> Running in 74f9393b960c 16:22:18 Removing intermediate container 74f9393b960c 16:22:18 ---> a02e96fc7c98 16:22:18 Step 10/11 : COPY . . 16:22:18 ---> d687efb47c2e 16:22:18 Step 11/11 : RUN ${MAKE} 16:22:18 ---> Running in 2e4b74ba6e2c 16:22:19 noop 16:22:20 Removing intermediate container 2e4b74ba6e2c 16:22:20 ---> a30b80bb6230 16:22:20 Successfully built a30b80bb6230 16:22:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:20 + docker inspect -f . ci-base-image-arm64 16:22:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:20 prd-ubuntu20.04-docker-arm64-4c-16g-607 does not seem to be running inside a container 16:22:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:22:22 $ docker top 32d2f56cfaa712f77d184b2622879c2004be12a82176a78a7324f382d5f6c0a7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:22 + go version 16:22:22 go version go1.18.3 linux/arm64 [Pipeline] } 16:22:22 $ docker stop --time=1 32d2f56cfaa712f77d184b2622879c2004be12a82176a78a7324f382d5f6c0a7 16:22:24 $ docker rm -f 32d2f56cfaa712f77d184b2622879c2004be12a82176a78a7324f382d5f6c0a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:25 + docker inspect -f . ci-base-image-arm64 16:22:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:25 prd-ubuntu20.04-docker-arm64-4c-16g-607 does not seem to be running inside a container 16:22:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:22:26 $ docker top edd0f5bb8d110bd755f20d698524686f89621d5cd0ca259181841f465e438bac -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:26 + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh 16:22:27 + make test 16:22:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:22:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:24:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:24:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:24:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:24:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 16:24:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:24:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.402s coverage: 27.6% of statements 16:24:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.513s coverage: 78.9% of statements 16:24:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 16:24:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.578s coverage: 60.0% of statements 16:24:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:24:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:24:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.686s coverage: 54.4% of statements 16:24:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:24:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 16:24:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:24:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:25:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.805s coverage: 65.1% of statements 16:25:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 16:25:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:25:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.761s coverage: 89.2% of statements 16:25:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:25:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.235s coverage: 4.5% of statements 16:25:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:25:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:25:05 GO111MODULE=on go vet ./... 16:26:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:26:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:26:42 ./bin/test-attribution-txt.sh 16:26:42 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 16:26:42 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 16:26:42 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 16:26:42 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 16:26:42 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:26:42 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:26:42 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 16:26:42 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 16:26:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:26:42 $ docker stop --time=1 edd0f5bb8d110bd755f20d698524686f89621d5cd0ca259181841f465e438bac 16:26:44 $ docker rm -f edd0f5bb8d110bd755f20d698524686f89621d5cd0ca259181841f465e438bac [Pipeline] // withDockerContainer [Pipeline] sh 16:26:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:26:45 Warning: overwriting stash ‘coverage-report’ 16:26:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:26:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:26:47 + ls -al . 16:26:47 total 272 16:26:47 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 16:22 . 16:26:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:20 .. 16:26:47 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:20 .dockerignore 16:26:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:20 .git 16:26:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:20 .github 16:26:47 -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:20 .gitignore 16:26:47 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:20 .golangci.yml 16:26:47 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:20 CHANGELOG.md 16:26:47 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:20 GOVERNANCE.md 16:26:47 -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:20 Jenkinsfile 16:26:47 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:20 LICENSE 16:26:47 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:20 Makefile 16:26:47 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:20 OWNERS.md 16:26:47 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:20 README.md 16:26:47 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 16:09 VERSION 16:26:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:20 bin 16:26:47 -rw-r--r-- 1 jenkins jenkins 101794 Sep 22 16:25 coverage.out 16:26:47 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:20 example 16:26:47 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 16:20 go.mod 16:26:47 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 16:20 go.sum 16:26:47 drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:20 internal 16:26:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:20 openapi 16:26:47 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:20 pkg 16:26:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:20 snap 16:26:47 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:47 + 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=aed16fd80258b9c070839bfa1939c8f6aec5170d --label arch=arm64 --label version=0.0.0 . 16:26:48 Sending build context to Docker daemon 5.428MB 16:26:48 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:26:48 Step 2/25 : FROM ${BASE} AS builder 16:26:48 ---> a30b80bb6230 16:26:48 Step 3/25 : ARG MAKE=make build 16:26:49 ---> Running in 7faf93435ace 16:26:49 Removing intermediate container 7faf93435ace 16:26:49 ---> 68fda163f242 16:26:49 Step 4/25 : WORKDIR /device-sdk-go 16:26:49 ---> Running in f72f31be9639 16:26:49 Removing intermediate container f72f31be9639 16:26:49 ---> 353cfe20c307 16:26:49 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:26:49 ---> Running in 930cc5251793 16:26:50 Removing intermediate container 930cc5251793 16:26:50 ---> 23652e999eab 16:26:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:26:50 ---> Running in 7745ba5268e5 16:26:52 Removing intermediate container 7745ba5268e5 16:26:52 ---> 3dc081ea63f4 16:26:52 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:26:52 ---> Running in 6f00a8edcc96 16:26:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:26:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:26:54 OK: 221 MiB in 51 packages 16:26:55 Removing intermediate container 6f00a8edcc96 16:26:55 ---> 2195b4d275f2 16:26:55 Step 8/25 : COPY go.mod vendor* ./ 16:26:56 ---> 8ee6ad285a02 16:26:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:26:56 ---> Running in a84df701a710 16:26:58 Removing intermediate container a84df701a710 16:26:58 ---> c93173244be5 16:26:58 Step 10/25 : COPY . . 16:26:58 ---> 4a85f1853063 16:26:58 Step 11/25 : RUN ${MAKE} 16:26:59 ---> Running in 363324a53743 16:27:00 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 16:29:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:29:21 Removing intermediate container 363324a53743 16:29:21 ---> d4733c5152fc 16:29:21 Step 12/25 : FROM alpine:3.16 16:29:21 3.16: Pulling from library/alpine 16:29:21 9b18e9b68314: Pulling fs layer 16:29:21 9b18e9b68314: Verifying Checksum 16:29:21 9b18e9b68314: Download complete 16:29:21 9b18e9b68314: Pull complete 16:29:21 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:29:21 Status: Downloaded newer image for alpine:3.16 16:29:21 ---> a6215f271958 16:29:21 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:29:21 ---> Running in d4cccf258fc1 16:29:21 Removing intermediate container d4cccf258fc1 16:29:21 ---> b1b02e75e311 16:29:21 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:29:21 ---> Running in 09fae0a23be4 16:29:21 Removing intermediate container 09fae0a23be4 16:29:21 ---> a31e22f74e8c 16:29:21 Step 15/25 : RUN apk add --update --no-cache zeromq 16:29:21 ---> Running in babf8a07fbfe 16:29:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:29:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:29:23 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:29:23 (2/5) Installing libsodium (1.0.18-r0) 16:29:23 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:29:23 (4/5) Installing libzmq (4.3.4-r0) 16:29:23 (5/5) Installing zeromq (4.3.4-r0) 16:29:23 Executing busybox-1.35.0-r17.trigger 16:29:23 OK: 8 MiB in 19 packages 16:29:24 Removing intermediate container babf8a07fbfe 16:29:24 ---> 8fc48ca5dbdf 16:29:24 Step 16/25 : WORKDIR / 16:29:25 ---> Running in dc499691bfdd 16:29:25 Removing intermediate container dc499691bfdd 16:29:25 ---> 36d8251a9875 16:29:25 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:29:25 ---> 5b96da7520f7 16:29:25 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:29:27 ---> 265c06136232 16:29:27 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:29:27 ---> 539fcbafaec4 16:29:27 Step 20/25 : EXPOSE 59999 16:29:27 ---> Running in fa6157f30149 16:29:27 Removing intermediate container fa6157f30149 16:29:27 ---> a6872d7afd66 16:29:27 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:29:27 ---> Running in 2846d7e0d8b8 16:29:28 Removing intermediate container 2846d7e0d8b8 16:29:28 ---> a0abdd183fdd 16:29:28 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:29:28 ---> Running in 7ae8e55b0eac 16:29:28 Removing intermediate container 7ae8e55b0eac 16:29:28 ---> 98560014fe55 16:29:28 Step 23/25 : LABEL arch=arm64 16:29:28 ---> Running in 544a81c5e517 16:29:28 Removing intermediate container 544a81c5e517 16:29:28 ---> 5090b6295823 16:29:28 Step 24/25 : LABEL git_sha=aed16fd80258b9c070839bfa1939c8f6aec5170d 16:29:28 ---> Running in 9ee749750b72 16:29:29 Removing intermediate container 9ee749750b72 16:29:29 ---> fea77abb19d9 16:29:29 Step 25/25 : LABEL version=0.0.0 16:29:29 ---> Running in d89cee6eed3e 16:29:29 Removing intermediate container d89cee6eed3e 16:29:29 ---> d8efc9e2bdfa 16:29:29 [Warning] One or more build-args [ARCH] were not consumed 16:29:29 Successfully built d8efc9e2bdfa 16:29:29 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 16:29:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:29:29 16:29:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:29:30 arm64: Pulling from edgex-lftools-log-publisher 16:29:30 8998bd30e6a1: Pulling fs layer 16:29:30 04944245beec: Pulling fs layer 16:29:30 699f458cf7ca: Pulling fs layer 16:29:30 765212b225bb: Pulling fs layer 16:29:30 f23df028b6ca: Pulling fs layer 16:29:30 d65c8cfc05b1: Pulling fs layer 16:29:30 2437ff75d9bd: Pulling fs layer 16:29:30 765212b225bb: Waiting 16:29:30 f23df028b6ca: Waiting 16:29:30 d65c8cfc05b1: Waiting 16:29:30 2437ff75d9bd: Waiting 16:29:30 04944245beec: Verifying Checksum 16:29:30 04944245beec: Download complete 16:29:30 765212b225bb: Download complete 16:29:30 f23df028b6ca: Verifying Checksum 16:29:30 f23df028b6ca: Download complete 16:29:30 d65c8cfc05b1: Verifying Checksum 16:29:30 d65c8cfc05b1: Download complete 16:29:30 699f458cf7ca: Verifying Checksum 16:29:30 699f458cf7ca: Download complete 16:29:31 8998bd30e6a1: Verifying Checksum 16:29:31 8998bd30e6a1: Download complete 16:29:33 2437ff75d9bd: Verifying Checksum 16:29:33 2437ff75d9bd: Download complete 16:29:35 8998bd30e6a1: Pull complete 16:29:36 04944245beec: Pull complete 16:29:37 699f458cf7ca: Pull complete 16:29:37 765212b225bb: Pull complete 16:29:38 f23df028b6ca: Pull complete 16:29:38 d65c8cfc05b1: Pull complete 16:29:53 2437ff75d9bd: Pull complete 16:29:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:29:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:29:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:53 prd-ubuntu20.04-docker-arm64-4c-16g-607 does not seem to be running inside a container 16:29:53 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:29:56 $ docker top 171eba8aa4afcdf2fadae46cf923aa0ec4a5795558ad04ffa61a509211c135c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:57 ---> job-cost.sh 16:29:57 lf-activate-venv: SKIPPING 16:29:57 INFO: No Stack... 16:29:57 INFO: Retrieving Pricing Info for: v3-standard-4 16:29:58 INFO: Archiving Costs [Pipeline] sh 16:29:59 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 16:29:59 + cut -d, -f6 [Pipeline] lock 16:29:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] 16:29:59 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] did not exist. Created. 16:29:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:30:00 /w/workspace/device-sdk-go/4@tmp/durable-4e50fa1d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:30:00 + echo total: 0.10999999940395355 [Pipeline] stash 16:30:00 Warning: overwriting stash ‘stack-cost’ 16:30:01 Stashed 1 file(s) [Pipeline] } 16:30:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:30:01 $ docker stop --time=1 171eba8aa4afcdf2fadae46cf923aa0ec4a5795558ad04ffa61a509211c135c5 16:30:02 $ docker rm -f 171eba8aa4afcdf2fadae46cf923aa0ec4a5795558ad04ffa61a509211c135c5 [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 16:30:03 provisioning config files... 16:30:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/config16846719836188323136tmp [Pipeline] { [Pipeline] sh 16:30:03 + set +x 16:30:03 + + curl -sbash https://codecov.io/bash -s 16:30:03 -- 16:30:03 16:30:03 _____ _ 16:30:03 / ____| | | 16:30:03 | | ___ __| | ___ ___ _____ __ 16:30:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:30:03 | |___| (_) | (_| | __/ (_| (_) \ V / 16:30:03 \_____\___/ \__,_|\___|\___\___/ \_/ 16:30:03 Bash-1.0.6 16:30:03 16:30:03 16:30:03 ==> git version 2.25.1 found 16:30:03 ==> 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 16:30:03 Release-Date: 2020-01-08 16:30:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:30:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:30:03 ==> Jenkins CI detected. 16:30:03 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1212 16:30:03 project root: . 16:30:03 --> token set from env 16:30:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:30:03 ==> Running gcov in . (disable via -X gcov) 16:30:03 ==> Python coveragepy not found 16:30:03 ==> Searching for coverage reports in: 16:30:03 + . 16:30:03 -> Found 1 reports 16:30:03 ==> Detecting git/mercurial file structure 16:30:03 ==> Reading reports 16:30:03 + ./coverage.out bytes=101794 16:30:03 ==> Appending adjustments 16:30:03 https://docs.codecov.io/docs/fixing-reports 16:30:03 + Found adjustments 16:30:03 ==> Gzipping contents 16:30:03 16K /tmp/codecov.98PnSy.gz 16:30:03 ==> Uploading reports 16:30:03 url: https://codecov.io 16:30:03 query: branch=PR-1212&commit=aed16fd80258b9c070839bfa1939c8f6aec5170d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1212%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1212&job=&cmd_args= 16:30:03 -> Pinging Codecov 16:30:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1212&commit=aed16fd80258b9c070839bfa1939c8f6aec5170d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1212%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1212&job=&cmd_args= 16:30:04 -> Uploading to 16:30:04 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/aed16fd80258b9c070839bfa1939c8f6aec5170d/1eb190b9-9540-40ba-ad3e-574a3c143805.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T163003Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5c4c7e1dd0fe132d55eb54a134c6c6556e195fee3b08fb4a1aff0da34e82b5a6 16:30:04 % Total % Received % Xferd Average Speed Time Time Time Current 16:30:04 Dload Upload Total Spent Left Speed 16:30:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14594 0 0 100 14594 0 60808 --:--:-- --:--:-- --:--:-- 60808 16:30:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/aed16fd80258b9c070839bfa1939c8f6aec5170d [Pipeline] } 16:30:04 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 16:30:05 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives ] 16:30:05 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives 16:30:05 total 16 16:30:05 drwxr-xr-x 3 root root 4096 Sep 22 16:11 . 16:30:05 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:11 .. 16:30:05 drwxr-xr-x 2 root root 4096 Sep 22 16:11 cost 16:30:05 -rw-r--r-- 1 root root 86 Sep 22 16:11 cost.csv 16:30:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives 16:30:05 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives 16:30:05 total 16 16:30:05 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:11 . 16:30:05 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:11 .. 16:30:05 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 16:11 cost 16:30:05 -rw-r--r-- 1 jenkins jenkins 86 Sep 22 16:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:30:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:30:06 ---> package-listing.sh 16:30:06 ++ facter osfamily 16:30:06 ++ tr '[:upper:]' '[:lower:]' 16:30:06 + OS_FAMILY=debian 16:30:06 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1212 16:30:06 + START_PACKAGES=/tmp/packages_start.txt 16:30:06 + END_PACKAGES=/tmp/packages_end.txt 16:30:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:30:06 + PACKAGES=/tmp/packages_start.txt 16:30:06 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1212 ']' 16:30:06 + PACKAGES=/tmp/packages_end.txt 16:30:06 + case "${OS_FAMILY}" in 16:30:06 + dpkg -l 16:30:06 + grep '^ii' 16:30:06 + '[' -f /tmp/packages_start.txt ']' 16:30:06 + '[' -f /tmp/packages_end.txt ']' 16:30:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:30:06 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1212 ']' 16:30:06 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives/ 16:30:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives/ [Pipeline] echo 16:30:06 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-1212/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:30:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:07 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 16:30:07 $ 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-1212/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-1212 -v /w/workspace/gexfoundry_device-sdk-go_PR-1212:/w/workspace/gexfoundry_device-sdk-go_PR-1212:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1212@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 16:30:07 $ docker top ce0e16530f906cb81d940be0af9f025a3a42a580afc19c1ad935ac10644d7295 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:08 + touch /tmp/pre-build-complete [Pipeline] sh 16:30:08 + mkdir -p /var/log/sysstat [Pipeline] sh 16:30:08 + ls /var/log/sa-host 16:30:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:08 provisioning config files... 16:30:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/config9389273852169369247tmp [Pipeline] { [Pipeline] echo 16:30:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:30:09 ---> create-netrc.sh [Pipeline] } 16:30:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:30:09 ---> python-tools-install.sh [Pipeline] echo 16:30:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:30:09 ---> sudo-logs.sh 16:30:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:30:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:30:09 ---> job-cost.sh 16:30:09 lf-activate-venv: SKIPPING 16:30:09 DEBUG: total: 0.2199999988079071 16:30:09 INFO: Retrieving Stack Cost... 16:30:10 INFO: Retrieving Pricing Info for: v3-standard-8 16:30:11 INFO: Archiving Costs [Pipeline] echo 16:30:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:30:11 ---> logs-deploy.sh 16:30:11 lf-activate-venv: SKIPPING 16:30:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1212/4 16:30:11 INFO: archiving workspace using pattern(s): 16:30:12 Archives upload complete. 16:30:12 INFO: archiving logs to Nexus