Pull request #1249 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2af52405221536dc1454a56b55a26145cb4bfa2a+21e2314d0be0883f9fe388992978a72096c1cede (71b97839ceabf2ead029037844b4ecd3025b3d41) 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-ssh9275301358100722749.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh5956164449705161350.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-1249/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-1249/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2183822103313273058.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh5055917004032802082.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-1249/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-1249/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10485209400927850432.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-117074’ Running on prd-ubuntu20.04-docker-8c-8g-117076 in /w/workspace/gexfoundry_device-sdk-go_PR-1249 [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-1249 # 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/1249/head:refs/remotes/origin/PR-1249 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit 2af52405221536dc1454a56b55a26145cb4bfa2a Merge succeeded, producing 2af52405221536dc1454a56b55a26145cb4bfa2a Checking out Revision 2af52405221536dc1454a56b55a26145cb4bfa2a (PR-1249) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:21 ========================================================= 05:58:21 EdgeX Global Pipelines Version Info 05:58:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 2af52405221536dc1454a56b55a26145cb4bfa2a # 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 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2af52405221536dc1454a56b55a26145cb4bfa2a # timeout=10 > git rev-list --no-walk a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 # timeout=10 05:58:21 ------------------- 05:58:21 stable info: 05:58:21 ------------------- 05:58:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:21 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:58:21 Message: update stable to v1.0.243 05:58:22 ------------------- 05:58:22 experimental info: 05:58:22 ------------------- 05:58:22 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:22 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:58:22 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1249 [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1249 [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1249 [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2af52405221536dc1454a56b55a26145cb4bfa2a [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2af5240 [Pipeline] echo 05:58:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:22 provisioning config files... 05:58:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config476157407696737989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:23 ---> docker-login.sh 05:58:23 nexus3.edgexfoundry.org:10001 05:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:23 Configure a credential helper to remove this warning. See 05:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:23 05:58:23 Login Succeeded 05:58:23 nexus3.edgexfoundry.org:10002 05:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:23 Configure a credential helper to remove this warning. See 05:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:23 05:58:23 Login Succeeded 05:58:23 nexus3.edgexfoundry.org:10003 05:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:23 Configure a credential helper to remove this warning. See 05:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:23 05:58:23 Login Succeeded 05:58:23 nexus3.edgexfoundry.org:10004 05:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:23 Configure a credential helper to remove this warning. See 05:58:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:23 05:58:23 Login Succeeded 05:58:23 docker.io 05:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:24 Configure a credential helper to remove this warning. See 05:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:24 05:58:24 Login Succeeded 05:58:24 ---> docker-login.sh ends [Pipeline] } 05:58:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:58:24 + git rev-list -1 --merges 2af52405221536dc1454a56b55a26145cb4bfa2a~1..2af52405221536dc1454a56b55a26145cb4bfa2a [Pipeline] echo 05:58:24 -----------> git rev-list -1 --merges 2af52405221536dc1454a56b55a26145cb4bfa2a~1..2af52405221536dc1454a56b55a26145cb4bfa2a 2af52405221536dc1454a56b55a26145cb4bfa2a [false] [Pipeline] sh 05:58:24 + git log --format=format:%s -1 2af52405221536dc1454a56b55a26145cb4bfa2a [Pipeline] echo 05:58:25 ========================================================= 05:58:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:25 + git log --format=format:%s -1 2af52405221536dc1454a56b55a26145cb4bfa2a [Pipeline] echo 05:58:25 [semverPrep] GIT_COMMIT: 2af52405221536dc1454a56b55a26145cb4bfa2a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 05:58:25 [semverPrep] This is not a build commit. [Pipeline] sh 05:58:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:25 + grep -v github /etc/ssh/ssh_known_hosts 05:58:25 + [ -e /tmp/ssh_known_hosts ] 05:58:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:58:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:58:25 + sudo tee -a /etc/ssh/ssh_known_hosts 05:58:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:26 05:58:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:26 0.1.4: Pulling from edgex-devops/py-git-semver 05:58:26 b85a868b505f: Pulling fs layer 05:58:26 e2be974225ed: Pulling fs layer 05:58:26 339a4e72a1f5: Pulling fs layer 05:58:26 988bab9f4d93: Pulling fs layer 05:58:26 1469e6f7b9e6: Pulling fs layer 05:58:26 eaf3925da568: Pulling fs layer 05:58:26 bab4dde63d76: Pulling fs layer 05:58:26 bde34c3a00c8: Pulling fs layer 05:58:26 b352a97aabf1: Pulling fs layer 05:58:26 4872d77fe225: Pulling fs layer 05:58:26 5851b861e8e6: Pulling fs layer 05:58:26 eaf3925da568: Waiting 05:58:26 bab4dde63d76: Waiting 05:58:26 bde34c3a00c8: Waiting 05:58:26 b352a97aabf1: Waiting 05:58:26 988bab9f4d93: Waiting 05:58:26 4872d77fe225: Waiting 05:58:26 1469e6f7b9e6: Waiting 05:58:26 e2be974225ed: Download complete 05:58:26 988bab9f4d93: Verifying Checksum 05:58:26 988bab9f4d93: Download complete 05:58:26 1469e6f7b9e6: Verifying Checksum 05:58:26 1469e6f7b9e6: Download complete 05:58:26 339a4e72a1f5: Verifying Checksum 05:58:26 339a4e72a1f5: Download complete 05:58:26 eaf3925da568: Download complete 05:58:26 bde34c3a00c8: Download complete 05:58:26 b352a97aabf1: Download complete 05:58:26 4872d77fe225: Verifying Checksum 05:58:26 4872d77fe225: Download complete 05:58:26 5851b861e8e6: Download complete 05:58:26 b85a868b505f: Verifying Checksum 05:58:26 b85a868b505f: Download complete 05:58:26 bab4dde63d76: Verifying Checksum 05:58:26 bab4dde63d76: Download complete 05:58:27 b85a868b505f: Pull complete 05:58:28 e2be974225ed: Pull complete 05:58:28 339a4e72a1f5: Pull complete 05:58:28 988bab9f4d93: Pull complete 05:58:28 1469e6f7b9e6: Pull complete 05:58:28 eaf3925da568: Pull complete 05:58:30 bab4dde63d76: Pull complete 05:58:30 bde34c3a00c8: Pull complete 05:58:31 b352a97aabf1: Pull complete 05:58:31 4872d77fe225: Pull complete 05:58:31 5851b861e8e6: Pull complete 05:58:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:58:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:31 prd-ubuntu20.04-docker-8c-8g-117076 does not seem to be running inside a container 05:58:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:32 $ docker top fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c -eo pid,comm 05:58:32 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). 05:58:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:32 [ssh-agent] Looking for ssh-agent implementation... 05:58:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:32 $ docker exec fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c ssh-agent 05:58:32 SSH_AUTH_SOCK=/tmp/ssh-ZklsFFKRdvQR/agent.32 05:58:32 SSH_AGENT_PID=38 05:58:32 Running ssh-add (command line suppressed) 05:58:33 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_6713210064845074147.key (/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_6713210064845074147.key) 05:58:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:33 + git tag --points-at HEAD [Pipeline] } 05:58:33 $ docker exec --env ******** --env ******** fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c ssh-agent -k 05:58:33 unset SSH_AUTH_SOCK; 05:58:33 unset SSH_AGENT_PID; 05:58:33 echo Agent pid 38 killed; 05:58:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:33 [ssh-agent] Looking for ssh-agent implementation... 05:58:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:33 $ docker exec fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c ssh-agent 05:58:33 SSH_AUTH_SOCK=/tmp/ssh-WOEqKEj6mJ6G/agent.70 05:58:33 SSH_AGENT_PID=76 05:58:33 Running ssh-add (command line suppressed) 05:58:33 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_14374838052210709647.key (/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_14374838052210709647.key) 05:58:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:34 + git semver init 05:58:34 2022-10-26 05:58:34,272 [run_init] DEBUG init version:0.0.0 force:False 05:58:34 2022-10-26 05:58:34,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver 05:58:34 2022-10-26 05:58:34,273 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver 05:58:34 2022-10-26 05:58:34,274 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1249, universal_newlines=False, shell=None, istream=None) 05:58:35 2022-10-26 05:58:35,240 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.git/info/exclude 05:58:35 2022-10-26 05:58:35,240 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver/PR-1249 with force:False 05:58:35 2022-10-26 05:58:35,241 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver/PR-1249 05:58:35 2022-10-26 05:58:35,245 [execute] INFO git cat-file --batch-check 05:58:35 2022-10-26 05:58:35,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver, universal_newlines=False, shell=None, istream=) 05:58:35 2022-10-26 05:58:35,251 [execute] INFO git cat-file --batch 05:58:35 2022-10-26 05:58:35,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver, universal_newlines=False, shell=None, istream=) 05:58:35 2022-10-26 05:58:35,257 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver/PR-1249 05:58:35 0.0.0 [Pipeline] } 05:58:35 $ docker exec --env ******** --env ******** fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c ssh-agent -k 05:58:35 unset SSH_AUTH_SOCK; 05:58:35 unset SSH_AGENT_PID; 05:58:35 echo Agent pid 76 killed; 05:58:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:35 + git semver [Pipeline] } 05:58:36 $ docker stop --time=1 fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c 05:58:37 $ docker rm -f fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c [Pipeline] // withDockerContainer [Pipeline] sh 05:58:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:38 Stashed 1 file(s) [Pipeline] echo 05:58:38 [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 05:58:38 provisioning config files... 05:58:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config14188771009177030879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:38 ---> docker-login.sh 05:58:38 nexus3.edgexfoundry.org:10001 05:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:38 Configure a credential helper to remove this warning. See 05:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:38 05:58:38 Login Succeeded 05:58:38 nexus3.edgexfoundry.org:10002 05:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:38 Configure a credential helper to remove this warning. See 05:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:38 05:58:38 Login Succeeded 05:58:38 nexus3.edgexfoundry.org:10003 05:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:38 Configure a credential helper to remove this warning. See 05:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:38 05:58:38 Login Succeeded 05:58:38 nexus3.edgexfoundry.org:10004 05:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:38 Configure a credential helper to remove this warning. See 05:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:38 05:58:38 Login Succeeded 05:58:38 docker.io 05:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:39 Configure a credential helper to remove this warning. See 05:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:39 05:58:39 Login Succeeded 05:58:39 ---> docker-login.sh ends [Pipeline] } 05:58:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:39 ========================================================= 05:58:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:58:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:39 + 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 . 05:58:39 Sending build context to Docker daemon 10.08MB 05:58:39 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:58:39 Step 2/10 : FROM ${BASE} AS builder 05:58:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:39 213ec9aee27d: Pulling fs layer 05:58:39 4583459ba037: Pulling fs layer 05:58:39 93c1e223e6f2: Pulling fs layer 05:58:39 53926ce57604: Pulling fs layer 05:58:39 21b2b0c7a3f4: Pulling fs layer 05:58:39 30f14e443154: Pulling fs layer 05:58:39 801331c1e519: Pulling fs layer 05:58:39 99cc6dd402b0: Pulling fs layer 05:58:39 7d9ed39f4882: Pulling fs layer 05:58:39 30f14e443154: Waiting 05:58:39 801331c1e519: Waiting 05:58:39 53926ce57604: Waiting 05:58:39 21b2b0c7a3f4: Waiting 05:58:39 99cc6dd402b0: Waiting 05:58:40 93c1e223e6f2: Verifying Checksum 05:58:40 93c1e223e6f2: Download complete 05:58:40 4583459ba037: Verifying Checksum 05:58:40 4583459ba037: Download complete 05:58:40 21b2b0c7a3f4: Download complete 05:58:40 30f14e443154: Verifying Checksum 05:58:40 30f14e443154: Download complete 05:58:40 213ec9aee27d: Verifying Checksum 05:58:40 213ec9aee27d: Download complete 05:58:40 801331c1e519: Download complete 05:58:40 213ec9aee27d: Pull complete 05:58:40 4583459ba037: Pull complete 05:58:40 93c1e223e6f2: Pull complete 05:58:40 7d9ed39f4882: Verifying Checksum 05:58:40 53926ce57604: Verifying Checksum 05:58:40 53926ce57604: Download complete 05:58:40 99cc6dd402b0: Verifying Checksum 05:58:40 99cc6dd402b0: Download complete 05:58:44 53926ce57604: Pull complete 05:58:44 21b2b0c7a3f4: Pull complete 05:58:44 30f14e443154: Pull complete 05:58:44 801331c1e519: Pull complete 05:58:46 99cc6dd402b0: Pull complete 05:58:47 7d9ed39f4882: Pull complete 05:58:47 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 05:58:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:58:47 ---> 1dedd983c030 05:58:47 Step 3/10 : ARG MAKE=make build 05:58:49 ---> Running in 7aa52cd70a10 05:58:49 Removing intermediate container 7aa52cd70a10 05:58:49 ---> 79c4b1f2d7e5 05:58:49 Step 4/10 : WORKDIR /device-sdk-go 05:58:49 ---> Running in 4f562c9b61ff 05:58:49 Removing intermediate container 4f562c9b61ff 05:58:49 ---> bbe9f8db0386 05:58:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:58:49 ---> Running in 28906135c789 05:58:49 Removing intermediate container 28906135c789 05:58:49 ---> c0d7f3e4dbb9 05:58:49 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:58:49 ---> Running in b61fa80d5fd7 05:58:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:58:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:58:50 OK: 211 MiB in 51 packages 05:58:50 Removing intermediate container b61fa80d5fd7 05:58:50 ---> 6729f2b0348f 05:58:50 Step 7/10 : COPY go.mod vendor* ./ 05:58:50 ---> 1f0a6670baff 05:58:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:58:50 ---> Running in ec6a95442dd4 05:58:53 Still waiting to schedule task 05:58:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117075’ 05:59:08 Removing intermediate container ec6a95442dd4 05:59:08 ---> 5649c56acdbe 05:59:08 Step 9/10 : COPY . . 05:59:08 ---> eb6403e0bfed 05:59:08 Step 10/10 : RUN ${MAKE} 05:59:08 ---> Running in 496ade71fc7e 05:59:08 noop 05:59:08 Removing intermediate container 496ade71fc7e 05:59:08 ---> 84df4bb73dcb 05:59:08 Successfully built 84df4bb73dcb 05:59:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:09 + docker inspect -f . ci-base-image-x86_64 05:59:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:09 prd-ubuntu20.04-docker-8c-8g-117076 does not seem to be running inside a container 05:59:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@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 ******** ci-base-image-x86_64 cat 05:59:09 $ docker top 00b40802cfd58ae841fa7e48a13f7f18fdfdfb8afc2874e4795bd4833449801b -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:10 + go version 05:59:10 go version go1.18.7 linux/amd64 [Pipeline] } 05:59:10 $ docker stop --time=1 00b40802cfd58ae841fa7e48a13f7f18fdfdfb8afc2874e4795bd4833449801b 05:59:11 $ docker rm -f 00b40802cfd58ae841fa7e48a13f7f18fdfdfb8afc2874e4795bd4833449801b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:11 + docker inspect -f . ci-base-image-x86_64 05:59:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:11 prd-ubuntu20.04-docker-8c-8g-117076 does not seem to be running inside a container 05:59:11 $ 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-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@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 ******** ci-base-image-x86_64 cat 05:59:12 $ docker top 89ef8644bab20e9cb04d7166f0ad47eda8d90357a5d01479f62d3e8b06f8c06b -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1249 [Pipeline] fileExists [Pipeline] sh 05:59:12 + make test 05:59:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:59:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:59:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements 05:59:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.093s coverage: 78.9% of statements 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 05:59:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.099s coverage: 73.1% of statements 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:59:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:59:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 05:59:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.752s coverage: 89.2% of statements 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:59:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 05:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:59:52 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:59:52 GO111MODULE=on go vet ./... 05:59:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:59:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:59:53 ./bin/test-attribution-txt.sh 05:59:53 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 05:59:53 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:59:53 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:59:53 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:59:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:59:53 $ docker stop --time=1 89ef8644bab20e9cb04d7166f0ad47eda8d90357a5d01479f62d3e8b06f8c06b 05:59:55 $ docker rm -f 89ef8644bab20e9cb04d7166f0ad47eda8d90357a5d01479f62d3e8b06f8c06b [Pipeline] // withDockerContainer [Pipeline] sh 05:59:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:59:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:59:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:57 + ls -al . 05:59:57 total 280 05:59:57 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 05:59 . 05:59:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 05:58 .. 05:59:57 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 05:58 .dockerignore 05:59:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 05:59 .git 05:59:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 05:58 .github 05:59:57 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 05:58 .gitignore 05:59:57 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 05:58 .golangci.yml 05:59:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 05:58 .semver 05:59:57 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 05:58 CHANGELOG.md 05:59:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 05:58 GOVERNANCE.md 05:59:57 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 05:58 Jenkinsfile 05:59:57 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 05:58 LICENSE 05:59:57 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 05:58 Makefile 05:59:57 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 05:58 OWNERS.md 05:59:57 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 05:58 README.md 05:59:57 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 05:58 VERSION 05:59:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 05:58 bin 05:59:57 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 05:59 coverage.out 05:59:57 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 05:58 example 05:59:57 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 05:58 go.mod 05:59:57 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 05:58 go.sum 05:59:57 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 05:58 internal 05:59:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 05:58 openapi 05:59:57 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 05:58 pkg 05:59:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 05:58 snap 05:59:57 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:57 + 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=2af52405221536dc1454a56b55a26145cb4bfa2a --label arch=amd64 --label version=0.0.0 . 05:59:57 Sending build context to Docker daemon 10.18MB 05:59:57 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:59:57 Step 2/23 : FROM ${BASE} AS builder 05:59:57 ---> 84df4bb73dcb 05:59:57 Step 3/23 : ARG MAKE=make build 05:59:57 ---> Running in 09ed72a7392a 05:59:57 Removing intermediate container 09ed72a7392a 05:59:57 ---> 9f4467be5a77 05:59:57 Step 4/23 : WORKDIR /device-sdk-go 05:59:57 ---> Running in 557c3f892daa 05:59:57 Removing intermediate container 557c3f892daa 05:59:57 ---> 91f853417207 05:59:57 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:59:57 ---> Running in 7dffce3d4d7a 05:59:57 Removing intermediate container 7dffce3d4d7a 05:59:57 ---> 442cd4605f07 05:59:57 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:59:57 ---> Running in 6f6fd08143a8 05:59:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:59:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:59:58 OK: 211 MiB in 51 packages 05:59:58 Removing intermediate container 6f6fd08143a8 05:59:58 ---> 9dbb0c2dd010 05:59:58 Step 7/23 : COPY go.mod vendor* ./ 05:59:58 ---> 6f7366cad327 05:59:58 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:58 ---> Running in 9559750440de 05:59:59 Removing intermediate container 9559750440de 05:59:59 ---> d00ec598b25a 05:59:59 Step 9/23 : COPY . . 06:00:00 ---> 6d2235a47ad3 06:00:00 Step 10/23 : RUN ${MAKE} 06:00:00 ---> Running in 92a205656643 06:00: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 06:00:18 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:00:20 Removing intermediate container 92a205656643 06:00:20 ---> 7f3794befe3d 06:00:20 Step 11/23 : FROM alpine:3.16 06:00:20 3.16: Pulling from library/alpine 06:00:20 213ec9aee27d: Already exists 06:00:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:00:20 Status: Downloaded newer image for alpine:3.16 06:00:20 ---> 9c6f07244728 06:00:20 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:00:21 ---> Running in 77710c1cafe2 06:00:21 Removing intermediate container 77710c1cafe2 06:00:21 ---> dfa7c03bb8d5 06:00:21 Step 13/23 : RUN apk add --update --no-cache zeromq 06:00:21 ---> Running in c130dd83fad6 06:00:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:00:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:00:21 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:00:21 (2/5) Installing libsodium (1.0.18-r0) 06:00:21 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:00:21 (4/5) Installing libzmq (4.3.4-r0) 06:00:21 (5/5) Installing zeromq (4.3.4-r0) 06:00:21 Executing busybox-1.35.0-r17.trigger 06:00:21 OK: 8 MiB in 19 packages 06:00:22 Removing intermediate container c130dd83fad6 06:00:22 ---> 98e029c4d17d 06:00:22 Step 14/23 : WORKDIR / 06:00:22 ---> Running in 2510f9779463 06:00:22 Removing intermediate container 2510f9779463 06:00:22 ---> 18cd08c5ea37 06:00:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:00:22 ---> 949e73389529 06:00:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:00:22 ---> 5394c4a74e81 06:00:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:00:23 ---> c2aeddbe73c5 06:00:23 Step 18/23 : EXPOSE 59999 06:00:23 ---> Running in 7b6aa97811a8 06:00:23 Removing intermediate container 7b6aa97811a8 06:00:23 ---> e9d654c76509 06:00:23 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:00:23 ---> Running in 25303d49bd64 06:00:23 Removing intermediate container 25303d49bd64 06:00:23 ---> 12693d467c52 06:00:23 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:00:23 ---> Running in 096f71d4d0d3 06:00:23 Removing intermediate container 096f71d4d0d3 06:00:23 ---> bb1ddba97cdd 06:00:23 Step 21/23 : LABEL arch=amd64 06:00:23 ---> Running in 730fcaf5519d 06:00:23 Removing intermediate container 730fcaf5519d 06:00:23 ---> bffdff7d0e0b 06:00:23 Step 22/23 : LABEL git_sha=2af52405221536dc1454a56b55a26145cb4bfa2a 06:00:23 ---> Running in 630282c63652 06:00:23 Removing intermediate container 630282c63652 06:00:23 ---> e9079c217b03 06:00:23 Step 23/23 : LABEL version=0.0.0 06:00:23 ---> Running in 1d134dc45bd7 06:00:23 Removing intermediate container 1d134dc45bd7 06:00:23 ---> eab4c1603a2b 06:00:23 [Warning] One or more build-args [ARCH] were not consumed 06:00:23 Successfully built eab4c1603a2b 06:00:23 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 06:00:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:24 06:00:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:24 latest: Pulling from edgex-lftools-log-publisher 06:00:24 5eb5b503b376: Pulling fs layer 06:00:24 5c69ac0246d0: Pulling fs layer 06:00:24 ec43610c2a17: Pulling fs layer 06:00:24 3a2ae6a8a46f: Pulling fs layer 06:00:24 33b1e0a273af: Pulling fs layer 06:00:24 5d3b04190fa2: Pulling fs layer 06:00:24 2f39f015ded8: Pulling fs layer 06:00:24 33b1e0a273af: Waiting 06:00:24 3a2ae6a8a46f: Waiting 06:00:24 5d3b04190fa2: Waiting 06:00:24 2f39f015ded8: Waiting 06:00:24 5c69ac0246d0: Verifying Checksum 06:00:24 5c69ac0246d0: Download complete 06:00:24 3a2ae6a8a46f: Verifying Checksum 06:00:24 3a2ae6a8a46f: Download complete 06:00:24 33b1e0a273af: Verifying Checksum 06:00:24 33b1e0a273af: Download complete 06:00:24 ec43610c2a17: Verifying Checksum 06:00:24 ec43610c2a17: Download complete 06:00:24 5d3b04190fa2: Verifying Checksum 06:00:24 5d3b04190fa2: Download complete 06:00:24 5eb5b503b376: Verifying Checksum 06:00:24 5eb5b503b376: Download complete 06:00:25 2f39f015ded8: Download complete 06:00:26 5eb5b503b376: Pull complete 06:00:26 5c69ac0246d0: Pull complete 06:00:26 ec43610c2a17: Pull complete 06:00:26 3a2ae6a8a46f: Pull complete 06:00:26 33b1e0a273af: Pull complete 06:00:26 5d3b04190fa2: Pull complete 06:00:32 2f39f015ded8: Pull complete 06:00:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:00:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:32 prd-ubuntu20.04-docker-8c-8g-117076 does not seem to be running inside a container 06:00:32 $ 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-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:00:34 $ docker top a19bc859f69a8074ac1bfa1bcbbc41bd161230f004c3245d4912a2851f3ff352 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:34 ---> job-cost.sh 06:00:34 lf-activate-venv: SKIPPING 06:00:34 INFO: No Stack... 06:00:34 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:34 INFO: Archiving Costs [Pipeline] sh 06:00:35 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives/cost.csv 06:00:35 + cut -d, -f6 [Pipeline] lock 06:00:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] 06:00:35 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] did not exist. Created. 06:00:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:35 + echo total: 0.2199999988079071 [Pipeline] stash 06:00:35 Stashed 1 file(s) [Pipeline] } 06:00:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:35 $ docker stop --time=1 a19bc859f69a8074ac1bfa1bcbbc41bd161230f004c3245d4912a2851f3ff352 06:00:36 $ docker rm -f a19bc859f69a8074ac1bfa1bcbbc41bd161230f004c3245d4912a2851f3ff352 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:01:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117077 in /w/workspace/gexfoundry_device-sdk-go_PR-1249 [Pipeline] { [Pipeline] ws 06:01:19 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:01:19 The recommended git tool is: git 06:01:24 using credential edgex-jenkins-ssh 06:01:24 Cloning the remote Git repository 06:01:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:01:24 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:01:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:01:24 > git --version # timeout=10 06:01:24 > git --version # 'git version 2.25.1' 06:01:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:24 Verifying host key using known hosts file 06:01:25 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. 06:01:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:01:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:01:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:01:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:27 Verifying host key using known hosts file 06:01:27 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. 06:01:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1249/head:refs/remotes/origin/PR-1249 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:01:28 Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit 2af52405221536dc1454a56b55a26145cb4bfa2a 06:01:28 Merge succeeded, producing 2af52405221536dc1454a56b55a26145cb4bfa2a 06:01:28 Checking out Revision 2af52405221536dc1454a56b55a26145cb4bfa2a (PR-1249) 06:01:29 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 06:01:28 > git config core.sparsecheckout # timeout=10 06:01:28 > git checkout -f 2af52405221536dc1454a56b55a26145cb4bfa2a # timeout=10 06:01:28 > git remote # timeout=10 06:01:28 > git config --get remote.origin.url # timeout=10 06:01:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:28 Verifying host key using known hosts file 06:01: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. 06:01:28 > git merge 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 06:01:28 > git rev-parse HEAD^{commit} # timeout=10 06:01:28 > git config core.sparsecheckout # timeout=10 06:01:28 > git checkout -f 2af52405221536dc1454a56b55a26145cb4bfa2a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:01:30 % Total % Received % Xferd Average Speed Time Time Time Current 06:01:30 Dload Upload Total Spent Left Speed 06:01:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 06:01:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:01:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:01:30 + sudo tee /etc/docker/daemon.new 06:01:30 { 06:01:30 "registry-mirrors": [ 06:01:30 "https://nexus3.edgexfoundry.org:10001" 06:01:30 ], 06:01:30 "bip": "10.250.0.254/24", 06:01:30 "hosts": [ 06:01:30 "tcp://0.0.0.0:5555", 06:01:30 "unix:///var/run/docker.sock" 06:01:30 ], 06:01:30 "mtu": 1458, 06:01:30 "selinux-enabled": true, 06:01:30 "seccomp-profile": "/etc/docker/seccomp.json" 06:01:30 } [Pipeline] sh 06:01:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:01:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:49 provisioning config files... 06:01:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config13701512222548401849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:50 ---> docker-login.sh 06:01:50 nexus3.edgexfoundry.org:10001 06:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:51 Configure a credential helper to remove this warning. See 06:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:51 06:01:51 Login Succeeded 06:01:51 nexus3.edgexfoundry.org:10002 06:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:51 Configure a credential helper to remove this warning. See 06:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:51 06:01:51 Login Succeeded 06:01:51 nexus3.edgexfoundry.org:10003 06:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:51 Configure a credential helper to remove this warning. See 06:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:51 06:01:51 Login Succeeded 06:01:51 nexus3.edgexfoundry.org:10004 06:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:52 Configure a credential helper to remove this warning. See 06:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:52 06:01:52 Login Succeeded 06:01:52 docker.io 06:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:52 Configure a credential helper to remove this warning. See 06:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:52 06:01:52 Login Succeeded 06:01:52 ---> docker-login.sh ends [Pipeline] } 06:01:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:01:52 ========================================================= 06:01:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:01:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:53 + 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 . 06:01:53 Sending build context to Docker daemon 5.423MB 06:01:53 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:01:53 Step 2/10 : FROM ${BASE} AS builder 06:01:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:01:53 9b18e9b68314: Pulling fs layer 06:01:53 d32db5db7311: Pulling fs layer 06:01:53 d0c4b47475fc: Pulling fs layer 06:01:53 5831b945b038: Pulling fs layer 06:01:53 86bbec2aaacd: Pulling fs layer 06:01:53 e10730c5d714: Pulling fs layer 06:01:53 5dd5c2283517: Pulling fs layer 06:01:53 d5ac0230b979: Pulling fs layer 06:01:53 e10730c5d714: Waiting 06:01:53 5dd5c2283517: Waiting 06:01:53 d5ac0230b979: Waiting 06:01:53 5831b945b038: Waiting 06:01:53 86bbec2aaacd: Waiting 06:01:53 d0c4b47475fc: Verifying Checksum 06:01:53 d0c4b47475fc: Download complete 06:01:53 d32db5db7311: Verifying Checksum 06:01:53 d32db5db7311: Download complete 06:01:53 86bbec2aaacd: Verifying Checksum 06:01:53 e10730c5d714: Verifying Checksum 06:01:53 e10730c5d714: Download complete 06:01:53 9b18e9b68314: Verifying Checksum 06:01:53 9b18e9b68314: Download complete 06:01:54 9b18e9b68314: Pull complete 06:01:55 d5ac0230b979: Download complete 06:01:55 d32db5db7311: Pull complete 06:01:55 d0c4b47475fc: Pull complete 06:01:56 5dd5c2283517: Verifying Checksum 06:01:56 5dd5c2283517: Download complete 06:01:57 5831b945b038: Verifying Checksum 06:01:57 5831b945b038: Download complete 06:02:09 5831b945b038: Pull complete 06:02:09 86bbec2aaacd: Pull complete 06:02:09 e10730c5d714: Pull complete 06:02:16 5dd5c2283517: Pull complete 06:02:18 d5ac0230b979: Pull complete 06:02:18 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 06:02:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:02:18 ---> 59b3b1a385d4 06:02:18 Step 3/10 : ARG MAKE=make build 06:02:20 ---> Running in 80b0852b13cf 06:02:20 Removing intermediate container 80b0852b13cf 06:02:20 ---> 6489ff7f92e5 06:02:20 Step 4/10 : WORKDIR /device-sdk-go 06:02:20 ---> Running in 604ca4633401 06:02:21 Removing intermediate container 604ca4633401 06:02:21 ---> ae9dbf428fb1 06:02:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:02:21 ---> Running in aab0d873ba7e 06:02:21 Removing intermediate container aab0d873ba7e 06:02:21 ---> 123760684a6b 06:02:21 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:02:21 ---> Running in b518469cfeb4 06:02:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:02:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:02:24 OK: 221 MiB in 51 packages 06:02:25 Removing intermediate container b518469cfeb4 06:02:25 ---> c966dc3da822 06:02:25 Step 7/10 : COPY go.mod vendor* ./ 06:02:25 ---> 6407861c7348 06:02:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:25 ---> Running in e4b0ebac37a6 06:03:33 Removing intermediate container e4b0ebac37a6 06:03:33 ---> c9254d8759ad 06:03:33 Step 9/10 : COPY . . 06:03:33 ---> d2074428184a 06:03:33 Step 10/10 : RUN ${MAKE} 06:03:33 ---> Running in aabe6772e5b2 06:03:33 noop 06:03:33 Removing intermediate container aabe6772e5b2 06:03:33 ---> 04d40369dffd 06:03:33 Successfully built 04d40369dffd 06:03:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:33 + docker inspect -f . ci-base-image-arm64 06:03:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:33 prd-ubuntu20.04-docker-arm64-4c-16g-117077 does not seem to be running inside a container 06:03:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:03:35 $ docker top 577a3c0c937c1f5e806bc8bd84d11bfb67c4db0e777db55584f4f58adef0f9d2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:36 + go version 06:03:36 go version go1.18.7 linux/arm64 [Pipeline] } 06:03:36 $ docker stop --time=1 577a3c0c937c1f5e806bc8bd84d11bfb67c4db0e777db55584f4f58adef0f9d2 06:03:37 $ docker rm -f 577a3c0c937c1f5e806bc8bd84d11bfb67c4db0e777db55584f4f58adef0f9d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:38 + docker inspect -f . ci-base-image-arm64 06:03:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:38 prd-ubuntu20.04-docker-arm64-4c-16g-117077 does not seem to be running inside a container 06:03:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:03:40 $ docker top 1a816cac474df72a7b0d49255084023b3af17f72786a1744c430c70b4aa512e3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:40 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 06:03:41 + make test 06:03:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:04:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:06:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.569s coverage: 27.6% of statements 06:06:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.377s coverage: 78.9% of statements 06:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:06:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.643s coverage: 73.1% of statements 06:06:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:06:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:06:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.565s coverage: 54.4% of statements 06:06:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:06:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:06:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:06:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:06:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.466s coverage: 65.1% of statements 06:06:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:06:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:06:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.931s coverage: 89.2% of statements 06:06:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:06:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.251s coverage: 4.7% of statements 06:06:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:06:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:06:55 GO111MODULE=on go vet ./... 06:08:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:08:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:08:32 ./bin/test-attribution-txt.sh 06:08:32 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:08:32 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:08:32 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:08:32 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:08:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:08:32 $ docker stop --time=1 1a816cac474df72a7b0d49255084023b3af17f72786a1744c430c70b4aa512e3 06:08:34 $ docker rm -f 1a816cac474df72a7b0d49255084023b3af17f72786a1744c430c70b4aa512e3 [Pipeline] // withDockerContainer [Pipeline] sh 06:08:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:08:35 Warning: overwriting stash ‘coverage-report’ 06:08:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:08:37 + ls -al . 06:08:37 total 276 06:08:37 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 06:03 . 06:08:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 06:01 .. 06:08:37 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 06:01 .dockerignore 06:08:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 06:01 .git 06:08:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 06:01 .github 06:08:37 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 06:01 .gitignore 06:08:37 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 06:01 .golangci.yml 06:08:37 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 06:01 CHANGELOG.md 06:08:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 06:01 GOVERNANCE.md 06:08:37 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 06:01 Jenkinsfile 06:08:37 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 06:01 LICENSE 06:08:37 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 06:01 Makefile 06:08:37 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 06:01 OWNERS.md 06:08:37 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 06:01 README.md 06:08:37 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 05:58 VERSION 06:08:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 06:01 bin 06:08:37 -rw-r--r-- 1 jenkins jenkins 101760 Oct 26 06:06 coverage.out 06:08:37 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 06:01 example 06:08:37 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 06:01 go.mod 06:08:37 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 06:01 go.sum 06:08:37 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 06:01 internal 06:08:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 06:01 openapi 06:08:37 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 06:01 pkg 06:08:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 06:01 snap 06:08:37 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:37 + 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=2af52405221536dc1454a56b55a26145cb4bfa2a --label arch=arm64 --label version=0.0.0 . 06:08:37 Sending build context to Docker daemon 5.525MB 06:08:37 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:08:37 Step 2/23 : FROM ${BASE} AS builder 06:08:37 ---> 04d40369dffd 06:08:37 Step 3/23 : ARG MAKE=make build 06:08:37 ---> Running in e9f5c1abbe2d 06:08:38 Removing intermediate container e9f5c1abbe2d 06:08:38 ---> ebb09401cbce 06:08:38 Step 4/23 : WORKDIR /device-sdk-go 06:08:38 ---> Running in 72ce8a9f8eca 06:08:38 Removing intermediate container 72ce8a9f8eca 06:08:38 ---> 919de1588993 06:08:38 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:08:38 ---> Running in 8cfcee88208a 06:08:38 Removing intermediate container 8cfcee88208a 06:08:38 ---> 1238473d1f5a 06:08:38 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:08:38 ---> Running in 936e0bd83d47 06:08:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:08:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:08:41 OK: 221 MiB in 51 packages 06:08:42 Removing intermediate container 936e0bd83d47 06:08:42 ---> fe1c6e907940 06:08:42 Step 7/23 : COPY go.mod vendor* ./ 06:08:42 ---> e36661ab2838 06:08:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:42 ---> Running in ed0dd973cf07 06:08:44 Removing intermediate container ed0dd973cf07 06:08:44 ---> cf96e0f3d70e 06:08:44 Step 9/23 : COPY . . 06:08:46 ---> de9727f91d79 06:08:46 Step 10/23 : RUN ${MAKE} 06:08:46 ---> Running in 09a3ee07baa9 06:08:47 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 06:10:53 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:11:00 Removing intermediate container 09a3ee07baa9 06:11:00 ---> 0777d56d2a48 06:11:00 Step 11/23 : FROM alpine:3.16 06:11:00 3.16: Pulling from library/alpine 06:11:00 9b18e9b68314: Already exists 06:11:00 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:11:00 Status: Downloaded newer image for alpine:3.16 06:11:00 ---> a6215f271958 06:11:00 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:11:00 ---> Running in ecab5382f77f 06:11:01 Removing intermediate container ecab5382f77f 06:11:01 ---> a297d6871496 06:11:01 Step 13/23 : RUN apk add --update --no-cache zeromq 06:11:01 ---> Running in d4abc2a1b815 06:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:11:03 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:11:03 (2/5) Installing libsodium (1.0.18-r0) 06:11:03 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:11:03 (4/5) Installing libzmq (4.3.4-r0) 06:11:03 (5/5) Installing zeromq (4.3.4-r0) 06:11:03 Executing busybox-1.35.0-r17.trigger 06:11:03 OK: 8 MiB in 19 packages 06:11:04 Removing intermediate container d4abc2a1b815 06:11:04 ---> df3cfb22b311 06:11:04 Step 14/23 : WORKDIR / 06:11:04 ---> Running in b046f3dff8f2 06:11:05 Removing intermediate container b046f3dff8f2 06:11:05 ---> 3976148f501f 06:11:05 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:11:05 ---> 19592dafa9d2 06:11:05 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:11:07 ---> 51eced0d4c9b 06:11:07 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:11:07 ---> 5d7bc2e7e130 06:11:07 Step 18/23 : EXPOSE 59999 06:11:07 ---> Running in 090c8f9efe34 06:11:07 Removing intermediate container 090c8f9efe34 06:11:07 ---> 3c06b710e626 06:11:07 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:11:07 ---> Running in a4898f53cd2e 06:11:08 Removing intermediate container a4898f53cd2e 06:11:08 ---> f541b924712f 06:11:08 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:11:08 ---> Running in dbc5386beb32 06:11:08 Removing intermediate container dbc5386beb32 06:11:08 ---> 8df55282c096 06:11:08 Step 21/23 : LABEL arch=arm64 06:11:08 ---> Running in 0ac7f62dc4bf 06:11:08 Removing intermediate container 0ac7f62dc4bf 06:11:08 ---> 6c4576da5030 06:11:08 Step 22/23 : LABEL git_sha=2af52405221536dc1454a56b55a26145cb4bfa2a 06:11:08 ---> Running in 18e5858f8d43 06:11:09 Removing intermediate container 18e5858f8d43 06:11:09 ---> 89a667fe3e4b 06:11:09 Step 23/23 : LABEL version=0.0.0 06:11:09 ---> Running in 8105e6d347ee 06:11:09 Removing intermediate container 8105e6d347ee 06:11:09 ---> 70f8ad8c31da 06:11:09 [Warning] One or more build-args [ARCH] were not consumed 06:11:09 Successfully built 70f8ad8c31da 06:11:09 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 06:11:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:09 06:11:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:10 arm64: Pulling from edgex-lftools-log-publisher 06:11:10 8998bd30e6a1: Pulling fs layer 06:11:10 04944245beec: Pulling fs layer 06:11:10 699f458cf7ca: Pulling fs layer 06:11:10 765212b225bb: Pulling fs layer 06:11:10 f23df028b6ca: Pulling fs layer 06:11:10 d65c8cfc05b1: Pulling fs layer 06:11:10 2437ff75d9bd: Pulling fs layer 06:11:10 765212b225bb: Waiting 06:11:10 d65c8cfc05b1: Waiting 06:11:10 2437ff75d9bd: Waiting 06:11:10 f23df028b6ca: Waiting 06:11:10 04944245beec: Verifying Checksum 06:11:10 04944245beec: Download complete 06:11:10 765212b225bb: Verifying Checksum 06:11:10 765212b225bb: Download complete 06:11:10 f23df028b6ca: Verifying Checksum 06:11:10 f23df028b6ca: Download complete 06:11:10 d65c8cfc05b1: Verifying Checksum 06:11:10 d65c8cfc05b1: Download complete 06:11:10 699f458cf7ca: Verifying Checksum 06:11:10 699f458cf7ca: Download complete 06:11:11 8998bd30e6a1: Verifying Checksum 06:11:11 8998bd30e6a1: Download complete 06:11:13 2437ff75d9bd: Verifying Checksum 06:11:13 2437ff75d9bd: Download complete 06:11:15 8998bd30e6a1: Pull complete 06:11:15 04944245beec: Pull complete 06:11:16 699f458cf7ca: Pull complete 06:11:16 765212b225bb: Pull complete 06:11:17 f23df028b6ca: Pull complete 06:11:17 d65c8cfc05b1: Pull complete 06:11:32 2437ff75d9bd: Pull complete 06:11:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:11:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:33 prd-ubuntu20.04-docker-arm64-4c-16g-117077 does not seem to be running inside a container 06:11:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:11:35 $ docker top 3a61262bf0cead6c8df1f3307fdba0532aac9868223592ef7370c5e9c2068efb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:36 ---> job-cost.sh 06:11:36 lf-activate-venv: SKIPPING 06:11:36 INFO: No Stack... 06:11:36 INFO: Retrieving Pricing Info for: v3-standard-4 06:11:37 INFO: Archiving Costs [Pipeline] sh 06:11:38 + cut -d, -f6 06:11:38 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 06:11:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] 06:11:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] did not exist. Created. 06:11:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:39 /w/workspace/device-sdk-go/2@tmp/durable-f66cdf4e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:11:39 + echo total: 0.10999999940395355 [Pipeline] stash 06:11:39 Warning: overwriting stash ‘stack-cost’ 06:11:39 Stashed 1 file(s) [Pipeline] } 06:11:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:39 $ docker stop --time=1 3a61262bf0cead6c8df1f3307fdba0532aac9868223592ef7370c5e9c2068efb 06:11:41 $ docker rm -f 3a61262bf0cead6c8df1f3307fdba0532aac9868223592ef7370c5e9c2068efb [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 06:11:41 provisioning config files... 06:11:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config11787112311564937561tmp [Pipeline] { [Pipeline] sh 06:11:42 + set +x 06:11:42 + curl -s https://codecov.io/bash 06:11:42 + bash -s -- 06:11:42 06:11:42 _____ _ 06:11:42 / ____| | | 06:11:42 | | ___ __| | ___ ___ _____ __ 06:11:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:11:42 | |___| (_) | (_| | __/ (_| (_) \ V / 06:11:42 \_____\___/ \__,_|\___|\___\___/ \_/ 06:11:42 Bash-1.0.6 06:11:42 06:11:42 06:11:42 ==> git version 2.25.1 found 06:11:42 ==> 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 06:11:42 Release-Date: 2020-01-08 06:11:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:11:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:11:42 ==> Jenkins CI detected. 06:11:42 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1249 06:11:42 project root: . 06:11:42 --> token set from env 06:11:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:11:42 ==> Running gcov in . (disable via -X gcov) 06:11:42 ==> Python coveragepy not found 06:11:42 ==> Searching for coverage reports in: 06:11:42 + . 06:11:42 -> Found 1 reports 06:11:42 ==> Detecting git/mercurial file structure 06:11:42 ==> Reading reports 06:11:42 + ./coverage.out bytes=101760 06:11:42 ==> Appending adjustments 06:11:42 https://docs.codecov.io/docs/fixing-reports 06:11:42 + Found adjustments 06:11:42 ==> Gzipping contents 06:11:42 16K /tmp/codecov.IV9LgN.gz 06:11:42 ==> Uploading reports 06:11:42 url: https://codecov.io 06:11:42 query: branch=PR-1249&commit=2af52405221536dc1454a56b55a26145cb4bfa2a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1249%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1249&job=&cmd_args= 06:11:42 -> Pinging Codecov 06:11:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1249&commit=2af52405221536dc1454a56b55a26145cb4bfa2a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1249%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1249&job=&cmd_args= 06:11:43 -> Uploading to 06:11:43 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/2af52405221536dc1454a56b55a26145cb4bfa2a/86b224c8-90e9-4ab9-bdcc-e161dda5ea62.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T061142Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c75041e7bde87815adfcbfbf15136b71d9daf651837e4c6a4151fc7ae614307f 06:11:43 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:43 Dload Upload Total Spent Left Speed 06:11:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14710 0 0 100 14710 0 58373 --:--:-- --:--:-- --:--:-- 58373 06:11:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2af52405221536dc1454a56b55a26145cb4bfa2a [Pipeline] } 06:11:43 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 06:11:43 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives ] 06:11:43 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives 06:11:43 total 16 06:11:43 drwxr-xr-x 3 root root 4096 Oct 26 06:00 . 06:11:43 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 06:00 .. 06:11:43 drwxr-xr-x 2 root root 4096 Oct 26 06:00 cost 06:11:43 -rw-r--r-- 1 root root 86 Oct 26 06:00 cost.csv 06:11:43 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives 06:11:43 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives 06:11:43 total 16 06:11:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 06:00 . 06:11:43 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 06:00 .. 06:11:43 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 06:00 cost 06:11:43 -rw-r--r-- 1 jenkins jenkins 86 Oct 26 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:45 ---> package-listing.sh 06:11:45 ++ tr '[:upper:]' '[:lower:]' 06:11:45 ++ facter osfamily 06:11:45 + OS_FAMILY=debian 06:11:45 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1249 06:11:45 + START_PACKAGES=/tmp/packages_start.txt 06:11:45 + END_PACKAGES=/tmp/packages_end.txt 06:11:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:45 + PACKAGES=/tmp/packages_start.txt 06:11:45 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1249 ']' 06:11:45 + PACKAGES=/tmp/packages_end.txt 06:11:45 + case "${OS_FAMILY}" in 06:11:45 + dpkg -l 06:11:45 + grep '^ii' 06:11:45 + '[' -f /tmp/packages_start.txt ']' 06:11:45 + '[' -f /tmp/packages_end.txt ']' 06:11:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:45 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1249 ']' 06:11:45 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives/ 06:11:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives/ [Pipeline] echo 06:11:45 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-1249/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:46 prd-ubuntu20.04-docker-8c-8g-117076 does not seem to be running inside a container 06:11:46 $ 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-1249/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-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:46 $ docker top bc494ec8d7ebff3c9a60735a7e30afe223baf0d3e5708b2fc510b85fc049353c -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:46 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:47 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:47 + ls /var/log/sa-host 06:11:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:47 provisioning config files... 06:11:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config4773319664643729372tmp [Pipeline] { [Pipeline] echo 06:11:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:47 ---> create-netrc.sh [Pipeline] } 06:11:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:48 ---> python-tools-install.sh [Pipeline] echo 06:11:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:48 ---> sudo-logs.sh 06:11:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:48 ---> job-cost.sh 06:11:48 lf-activate-venv: SKIPPING 06:11:48 DEBUG: total: 0.2199999988079071 06:11:48 INFO: Retrieving Stack Cost... 06:11:49 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:49 INFO: Archiving Costs [Pipeline] echo 06:11:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:49 ---> logs-deploy.sh 06:11:49 lf-activate-venv: SKIPPING 06:11:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1249/2 06:11:49 INFO: archiving workspace using pattern(s): 06:11:50 Archives upload complete. 06:11:50 INFO: archiving logs to Nexus