Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c86f3382c5af20230a0e7f19b8225d91b13900b4+21e2314d0be0883f9fe388992978a72096c1cede (f1a13bc98dc6212a2e3c665a0544cac45126bfe0) 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-ssh17448795433449623393.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-ssh12908974007631026985.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-1244/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-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2398714559774829546.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-ssh2082251658896450314.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-1244/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-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6581326315421931409.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-117085 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [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-1244 # 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/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 Merge succeeded, producing 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 Checking out Revision 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 (PR-1244) > git config core.sparsecheckout # timeout=10 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # 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 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 # timeout=10 Commit message: "Merge commit '21e2314d0be0883f9fe388992978a72096c1cede' into HEAD" > git rev-list --no-walk c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:41:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:41:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:41:24 ========================================================= 06:41:24 EdgeX Global Pipelines Version Info 06:41:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:41:25 ------------------- 06:41:25 stable info: 06:41:25 ------------------- 06:41:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:41:25 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 06:41:25 Message: update stable to v1.0.243 06:41:26 ------------------- 06:41:26 experimental info: 06:41:26 ------------------- 06:41:26 Commited By: **** collab-it+edgex@linuxfoundation.org 06:41:26 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 06:41:26 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1244 [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1244 [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1244 [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0cd36b8 [Pipeline] echo 06:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:26 provisioning config files... 06:41:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config495928356427690430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:26 ---> docker-login.sh 06:41:26 nexus3.edgexfoundry.org:10001 06:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:27 Configure a credential helper to remove this warning. See 06:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:27 06:41:27 Login Succeeded 06:41:27 nexus3.edgexfoundry.org:10002 06:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:27 Configure a credential helper to remove this warning. See 06:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:27 06:41:27 Login Succeeded 06:41:27 nexus3.edgexfoundry.org:10003 06:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:27 Configure a credential helper to remove this warning. See 06:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:27 06:41:27 Login Succeeded 06:41:27 nexus3.edgexfoundry.org:10004 06:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:27 Configure a credential helper to remove this warning. See 06:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:27 06:41:27 Login Succeeded 06:41:27 docker.io 06:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:28 Configure a credential helper to remove this warning. See 06:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:28 06:41:28 Login Succeeded 06:41:28 ---> docker-login.sh ends [Pipeline] } 06:41:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:41:28 + git rev-list -1 --merges 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099~1..0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 [Pipeline] echo 06:41:28 -----------> git rev-list -1 --merges 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099~1..0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 06:41:28 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 [false] [Pipeline] sh 06:41:29 + git log --format=format:%s -1 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 [Pipeline] echo 06:41:29 ========================================================= 06:41:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:41:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:41:29 + git log --format=format:%s -1 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 [Pipeline] echo 06:41:29 [semverPrep] GIT_COMMIT: 0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099, Commit Message: Merge commit '21e2314d0be0883f9fe388992978a72096c1cede' into HEAD [Pipeline] echo 06:41:29 [semverPrep] This is not a build commit. [Pipeline] sh 06:41:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:41:29 + grep -v github /etc/ssh/ssh_known_hosts 06:41:29 + [ -e /tmp/ssh_known_hosts ] 06:41:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:41:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:41:29 + sudo tee -a /etc/ssh/ssh_known_hosts 06:41:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:30 06:41:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:30 0.1.4: Pulling from edgex-devops/py-git-semver 06:41:30 b85a868b505f: Pulling fs layer 06:41:30 e2be974225ed: Pulling fs layer 06:41:30 339a4e72a1f5: Pulling fs layer 06:41:30 988bab9f4d93: Pulling fs layer 06:41:30 1469e6f7b9e6: Pulling fs layer 06:41:30 eaf3925da568: Pulling fs layer 06:41:30 bab4dde63d76: Pulling fs layer 06:41:30 bde34c3a00c8: Pulling fs layer 06:41:30 b352a97aabf1: Pulling fs layer 06:41:30 4872d77fe225: Pulling fs layer 06:41:30 5851b861e8e6: Pulling fs layer 06:41:30 bab4dde63d76: Waiting 06:41:30 b352a97aabf1: Waiting 06:41:30 4872d77fe225: Waiting 06:41:30 5851b861e8e6: Waiting 06:41:30 bde34c3a00c8: Waiting 06:41:30 988bab9f4d93: Waiting 06:41:30 1469e6f7b9e6: Waiting 06:41:30 eaf3925da568: Waiting 06:41:30 e2be974225ed: Download complete 06:41:30 988bab9f4d93: Download complete 06:41:30 1469e6f7b9e6: Verifying Checksum 06:41:30 1469e6f7b9e6: Download complete 06:41:30 339a4e72a1f5: Verifying Checksum 06:41:30 339a4e72a1f5: Download complete 06:41:30 eaf3925da568: Download complete 06:41:30 bde34c3a00c8: Verifying Checksum 06:41:30 bde34c3a00c8: Download complete 06:41:30 b352a97aabf1: Download complete 06:41:30 4872d77fe225: Verifying Checksum 06:41:30 4872d77fe225: Download complete 06:41:30 5851b861e8e6: Verifying Checksum 06:41:30 5851b861e8e6: Download complete 06:41:30 b85a868b505f: Verifying Checksum 06:41:30 b85a868b505f: Download complete 06:41:30 bab4dde63d76: Verifying Checksum 06:41:30 bab4dde63d76: Download complete 06:41:32 b85a868b505f: Pull complete 06:41:32 e2be974225ed: Pull complete 06:41:32 339a4e72a1f5: Pull complete 06:41:32 988bab9f4d93: Pull complete 06:41:33 1469e6f7b9e6: Pull complete 06:41:33 eaf3925da568: Pull complete 06:41:35 bab4dde63d76: Pull complete 06:41:35 bde34c3a00c8: Pull complete 06:41:35 b352a97aabf1: Pull complete 06:41:35 4872d77fe225: Pull complete 06:41:35 5851b861e8e6: Pull complete 06:41:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:41:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:35 prd-ubuntu20.04-docker-8c-8g-117085 does not seem to be running inside a container 06:41:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:41:37 $ docker top 66dda3e8f6fceb43b1a839cd977c655d966ca2939a09a8ddc09e6423bd1c5fea -eo pid,comm 06:41:37 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). 06:41:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:41:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:37 [ssh-agent] Looking for ssh-agent implementation... 06:41:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:37 $ docker exec 66dda3e8f6fceb43b1a839cd977c655d966ca2939a09a8ddc09e6423bd1c5fea ssh-agent 06:41:37 SSH_AUTH_SOCK=/tmp/ssh-qfAsiiacFDSU/agent.33 06:41:37 SSH_AGENT_PID=39 06:41:37 Running ssh-add (command line suppressed) 06:41:38 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_10917809929470935645.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_10917809929470935645.key) 06:41:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:38 + git tag --points-at HEAD [Pipeline] } 06:41:38 $ docker exec --env ******** --env ******** 66dda3e8f6fceb43b1a839cd977c655d966ca2939a09a8ddc09e6423bd1c5fea ssh-agent -k 06:41:38 unset SSH_AUTH_SOCK; 06:41:38 unset SSH_AGENT_PID; 06:41:38 echo Agent pid 39 killed; 06:41:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:41:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:38 [ssh-agent] Looking for ssh-agent implementation... 06:41:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:38 $ docker exec 66dda3e8f6fceb43b1a839cd977c655d966ca2939a09a8ddc09e6423bd1c5fea ssh-agent 06:41:38 SSH_AUTH_SOCK=/tmp/ssh-7ZucrJK4yp2I/agent.71 06:41:38 SSH_AGENT_PID=77 06:41:38 Running ssh-add (command line suppressed) 06:41:38 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_1028659997849841914.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_1028659997849841914.key) 06:41:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:39 + git semver init 06:41:39 2022-10-26 06:41:39,406 [run_init] DEBUG init version:0.0.0 force:False 06:41:39 2022-10-26 06:41:39,408 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver 06:41:39 2022-10-26 06:41:39,409 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver 06:41:39 2022-10-26 06:41:39,409 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244, universal_newlines=False, shell=None, istream=None) 06:41:40 2022-10-26 06:41:40,404 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.git/info/exclude 06:41:40 2022-10-26 06:41:40,405 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 with force:False 06:41:40 2022-10-26 06:41:40,405 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 06:41:40 2022-10-26 06:41:40,409 [execute] INFO git cat-file --batch-check 06:41:40 2022-10-26 06:41:40,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) 06:41:40 2022-10-26 06:41:40,416 [execute] INFO git cat-file --batch 06:41:40 2022-10-26 06:41:40,416 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) 06:41:40 2022-10-26 06:41:40,421 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 06:41:40 0.0.0 [Pipeline] } 06:41:40 $ docker exec --env ******** --env ******** 66dda3e8f6fceb43b1a839cd977c655d966ca2939a09a8ddc09e6423bd1c5fea ssh-agent -k 06:41:40 unset SSH_AUTH_SOCK; 06:41:40 unset SSH_AGENT_PID; 06:41:40 echo Agent pid 77 killed; 06:41:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:41:41 + git semver [Pipeline] } 06:41:41 $ docker stop --time=1 66dda3e8f6fceb43b1a839cd977c655d966ca2939a09a8ddc09e6423bd1c5fea 06:41:42 $ docker rm -f 66dda3e8f6fceb43b1a839cd977c655d966ca2939a09a8ddc09e6423bd1c5fea [Pipeline] // withDockerContainer [Pipeline] sh 06:41:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:41:43 Stashed 1 file(s) [Pipeline] echo 06:41:43 [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 06:41:43 provisioning config files... 06:41:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config13155103946497878536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:43 ---> docker-login.sh 06:41:43 nexus3.edgexfoundry.org:10001 06:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:43 Configure a credential helper to remove this warning. See 06:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:43 06:41:43 Login Succeeded 06:41:43 nexus3.edgexfoundry.org:10002 06:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:43 Configure a credential helper to remove this warning. See 06:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:43 06:41:43 Login Succeeded 06:41:43 nexus3.edgexfoundry.org:10003 06:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:43 Configure a credential helper to remove this warning. See 06:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:43 06:41:43 Login Succeeded 06:41:43 nexus3.edgexfoundry.org:10004 06:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:43 Configure a credential helper to remove this warning. See 06:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:43 06:41:43 Login Succeeded 06:41:43 docker.io 06:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:44 Configure a credential helper to remove this warning. See 06:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:44 06:41:44 Login Succeeded 06:41:44 ---> docker-login.sh ends [Pipeline] } 06:41:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:41:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:41:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:41:44 ========================================================= 06:41:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:41:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:44 + 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 . 06:41:44 Sending build context to Docker daemon 10.1MB 06:41:44 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:41:44 Step 2/10 : FROM ${BASE} AS builder 06:41:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:41:44 213ec9aee27d: Pulling fs layer 06:41:44 4583459ba037: Pulling fs layer 06:41:44 93c1e223e6f2: Pulling fs layer 06:41:44 53926ce57604: Pulling fs layer 06:41:44 21b2b0c7a3f4: Pulling fs layer 06:41:44 30f14e443154: Pulling fs layer 06:41:44 801331c1e519: Pulling fs layer 06:41:44 99cc6dd402b0: Pulling fs layer 06:41:44 7d9ed39f4882: Pulling fs layer 06:41:44 99cc6dd402b0: Waiting 06:41:44 7d9ed39f4882: Waiting 06:41:44 21b2b0c7a3f4: Waiting 06:41:44 30f14e443154: Waiting 06:41:44 801331c1e519: Waiting 06:41:44 53926ce57604: Waiting 06:41:45 93c1e223e6f2: Download complete 06:41:45 4583459ba037: Download complete 06:41:45 21b2b0c7a3f4: Verifying Checksum 06:41:45 21b2b0c7a3f4: Download complete 06:41:45 30f14e443154: Verifying Checksum 06:41:45 30f14e443154: Download complete 06:41:45 213ec9aee27d: Verifying Checksum 06:41:45 801331c1e519: Download complete 06:41:45 213ec9aee27d: Pull complete 06:41:45 4583459ba037: Pull complete 06:41:45 93c1e223e6f2: Pull complete 06:41:45 7d9ed39f4882: Verifying Checksum 06:41:45 7d9ed39f4882: Download complete 06:41:45 99cc6dd402b0: Verifying Checksum 06:41:45 99cc6dd402b0: Download complete 06:41:45 53926ce57604: Verifying Checksum 06:41:45 53926ce57604: Download complete 06:41:49 53926ce57604: Pull complete 06:41:49 21b2b0c7a3f4: Pull complete 06:41:49 30f14e443154: Pull complete 06:41:49 801331c1e519: Pull complete 06:41:51 99cc6dd402b0: Pull complete 06:41:52 7d9ed39f4882: Pull complete 06:41:52 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 06:41:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:41:52 ---> 1dedd983c030 06:41:52 Step 3/10 : ARG MAKE=make build 06:41:55 ---> Running in 39e9e1080896 06:41:55 Removing intermediate container 39e9e1080896 06:41:55 ---> 1346b2ca0928 06:41:55 Step 4/10 : WORKDIR /device-sdk-go 06:41:55 ---> Running in 626c0ff7a768 06:41:55 Removing intermediate container 626c0ff7a768 06:41:55 ---> 84c5b0fae6e5 06:41:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:41:55 ---> Running in 52bdf601f623 06:41:55 Removing intermediate container 52bdf601f623 06:41:55 ---> f0f0f1eae189 06:41:55 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:41:55 ---> Running in a21fa114222a 06:41:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:41:56 OK: 211 MiB in 51 packages 06:41:56 Removing intermediate container a21fa114222a 06:41:56 ---> 0631c9930b63 06:41:56 Step 7/10 : COPY go.mod vendor* ./ 06:41:56 ---> fabddf10e90e 06:41:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:41:56 ---> Running in 53ac4319e7f0 06:41:58 Still waiting to schedule task 06:41:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:42:14 Removing intermediate container 53ac4319e7f0 06:42:14 ---> f1dd0130fb48 06:42:14 Step 9/10 : COPY . . 06:42:15 ---> ae4340530f7f 06:42:15 Step 10/10 : RUN ${MAKE} 06:42:15 ---> Running in 218565f491d1 06:42:15 noop 06:42:15 Removing intermediate container 218565f491d1 06:42:15 ---> 33d468c7c8a7 06:42:15 Successfully built 33d468c7c8a7 06:42:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:16 + docker inspect -f . ci-base-image-x86_64 06:42:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:16 prd-ubuntu20.04-docker-8c-8g-117085 does not seem to be running inside a container 06:42:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-x86_64 cat 06:42:16 $ docker top e4674775611087f103339e8f0fe6043801e80332eb03b4d817cf42b5bddd6f43 -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:16 + go version 06:42:16 go version go1.18.7 linux/amd64 [Pipeline] } 06:42:16 $ docker stop --time=1 e4674775611087f103339e8f0fe6043801e80332eb03b4d817cf42b5bddd6f43 06:42:18 $ docker rm -f e4674775611087f103339e8f0fe6043801e80332eb03b4d817cf42b5bddd6f43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:18 + docker inspect -f . ci-base-image-x86_64 06:42:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:18 prd-ubuntu20.04-docker-8c-8g-117085 does not seem to be running inside a container 06:42:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-x86_64 cat 06:42:18 $ docker top db31b58cc052213fee28226a768d3257c63a8f87fc01e4b9866fd8c8be01378e -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] fileExists [Pipeline] sh 06:42:19 + make test 06:42:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:42:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements 06:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.087s coverage: 78.9% of statements 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 73.1% of statements 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.108s coverage: 54.4% of statements 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 65.1% of statements 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.727s coverage: 89.2% of statements 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.7% of statements 06:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:42:55 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." 06:42:55 GO111MODULE=on go vet ./... 06:42:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:42:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:42:59 ./bin/test-attribution-txt.sh 06:42:59 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:42:59 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:42:59 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:42:59 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:42:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:42:59 $ docker stop --time=1 db31b58cc052213fee28226a768d3257c63a8f87fc01e4b9866fd8c8be01378e 06:43:02 $ docker rm -f db31b58cc052213fee28226a768d3257c63a8f87fc01e4b9866fd8c8be01378e [Pipeline] // withDockerContainer [Pipeline] sh 06:43:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:43:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:43:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:43:03 + ls -al . 06:43:03 total 280 06:43:03 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 06:42 . 06:43:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 06:41 .. 06:43:03 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 06:41 .dockerignore 06:43:03 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 06:42 .git 06:43:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 06:41 .github 06:43:03 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 06:41 .gitignore 06:43:03 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 06:41 .golangci.yml 06:43:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 06:41 .semver 06:43:03 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 06:41 CHANGELOG.md 06:43:03 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 06:41 GOVERNANCE.md 06:43:03 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 06:41 Jenkinsfile 06:43:03 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 06:41 LICENSE 06:43:03 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 06:41 Makefile 06:43:03 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 06:41 OWNERS.md 06:43:03 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 06:41 README.md 06:43:03 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 06:41 VERSION 06:43:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 06:41 bin 06:43:03 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 06:42 coverage.out 06:43:03 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 06:41 example 06:43:03 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 06:41 go.mod 06:43:03 -rw-rw-r-- 1 jenkins jenkins 44684 Oct 26 06:41 go.sum 06:43:03 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 06:41 internal 06:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 06:41 openapi 06:43:03 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 06:41 pkg 06:43:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 06:41 snap 06:43:03 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 06:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:04 + 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=0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 --label arch=amd64 --label version=0.0.0 . 06:43:04 Sending build context to Docker daemon 10.21MB 06:43:04 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:43:04 Step 2/23 : FROM ${BASE} AS builder 06:43:04 ---> 33d468c7c8a7 06:43:04 Step 3/23 : ARG MAKE=make build 06:43:04 ---> Running in d5d98393501d 06:43:04 Removing intermediate container d5d98393501d 06:43:04 ---> 1a2cc8cb3b85 06:43:04 Step 4/23 : WORKDIR /device-sdk-go 06:43:04 ---> Running in 83f3a8357781 06:43:04 Removing intermediate container 83f3a8357781 06:43:04 ---> 8a0d3ce75b73 06:43:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:43:04 ---> Running in 1d308a3407c2 06:43:04 Removing intermediate container 1d308a3407c2 06:43:04 ---> 7b02b66a8b4d 06:43:04 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:43:04 ---> Running in 1811dff7a5a8 06:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:43:05 OK: 211 MiB in 51 packages 06:43:05 Removing intermediate container 1811dff7a5a8 06:43:05 ---> 67c7cd9f18ec 06:43:05 Step 7/23 : COPY go.mod vendor* ./ 06:43:05 ---> 1906e67fefee 06:43:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:43:05 ---> Running in 8651618b532d 06:43:06 Removing intermediate container 8651618b532d 06:43:06 ---> acc162cba2b8 06:43:06 Step 9/23 : COPY . . 06:43:06 ---> 447bbf5d8232 06:43:06 Step 10/23 : RUN ${MAKE} 06:43:06 ---> Running in f00aa159db6f 06:43:06 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:43:24 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:43:26 Removing intermediate container f00aa159db6f 06:43:26 ---> 351064d7840a 06:43:26 Step 11/23 : FROM alpine:3.16 06:43:27 3.16: Pulling from library/alpine 06:43:27 213ec9aee27d: Already exists 06:43:27 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:43:27 Status: Downloaded newer image for alpine:3.16 06:43:27 ---> 9c6f07244728 06:43:27 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:43:27 ---> Running in ab711584649e 06:43:27 Removing intermediate container ab711584649e 06:43:27 ---> 3700ed120ad2 06:43:27 Step 13/23 : RUN apk add --update --no-cache zeromq 06:43:27 ---> Running in c2741551b3b5 06:43:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117086 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] { [Pipeline] ws 06:43:27 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 06:43:27 The recommended git tool is: git 06:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:43:27 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:43:27 (2/5) Installing libsodium (1.0.18-r0) 06:43:27 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:43:27 (4/5) Installing libzmq (4.3.4-r0) 06:43:27 (5/5) Installing zeromq (4.3.4-r0) 06:43:27 Executing busybox-1.35.0-r17.trigger 06:43:27 OK: 8 MiB in 19 packages 06:43:28 Removing intermediate container c2741551b3b5 06:43:28 ---> d758e6259345 06:43:28 Step 14/23 : WORKDIR / 06:43:28 ---> Running in 2ba5c1d7f93b 06:43:28 Removing intermediate container 2ba5c1d7f93b 06:43:28 ---> ea99fa89cd1e 06:43:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:43:28 ---> 9b586a6da171 06:43:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:43:29 ---> 429ba5d232d5 06:43:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:43:29 ---> e3458b236e0e 06:43:29 Step 18/23 : EXPOSE 59999 06:43:29 ---> Running in d094732aaf8b 06:43:29 Removing intermediate container d094732aaf8b 06:43:29 ---> 8fd930ae81cc 06:43:29 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:43:29 ---> Running in d4b5e9c41ea2 06:43:29 Removing intermediate container d4b5e9c41ea2 06:43:29 ---> a948f07eba6f 06:43:29 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:43:29 ---> Running in 04d391bdad52 06:43:29 Removing intermediate container 04d391bdad52 06:43:29 ---> e35f7d0cafc5 06:43:29 Step 21/23 : LABEL arch=amd64 06:43:29 ---> Running in 1da1ae68df47 06:43:29 Removing intermediate container 1da1ae68df47 06:43:29 ---> 3811198b0e7a 06:43:29 Step 22/23 : LABEL git_sha=0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 06:43:29 ---> Running in bd30a475be38 06:43:29 Removing intermediate container bd30a475be38 06:43:29 ---> a3a47eac1832 06:43:29 Step 23/23 : LABEL version=0.0.0 06:43:29 ---> Running in 3089f8a9fb20 06:43:29 Removing intermediate container 3089f8a9fb20 06:43:29 ---> 53bd3f6496cc 06:43:29 [Warning] One or more build-args [ARCH] were not consumed 06:43:29 Successfully built 53bd3f6496cc 06:43:29 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:43:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:30 06:43:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:30 latest: Pulling from edgex-lftools-log-publisher 06:43:30 5eb5b503b376: Pulling fs layer 06:43:30 5c69ac0246d0: Pulling fs layer 06:43:30 ec43610c2a17: Pulling fs layer 06:43:30 3a2ae6a8a46f: Pulling fs layer 06:43:30 33b1e0a273af: Pulling fs layer 06:43:30 5d3b04190fa2: Pulling fs layer 06:43:30 3a2ae6a8a46f: Waiting 06:43:30 33b1e0a273af: Waiting 06:43:30 2f39f015ded8: Pulling fs layer 06:43:30 2f39f015ded8: Waiting 06:43:30 5d3b04190fa2: Waiting 06:43:30 5c69ac0246d0: Verifying Checksum 06:43:30 5c69ac0246d0: Download complete 06:43:30 3a2ae6a8a46f: Download complete 06:43:30 33b1e0a273af: Download complete 06:43:30 ec43610c2a17: Verifying Checksum 06:43:30 ec43610c2a17: Download complete 06:43:30 5d3b04190fa2: Download complete 06:43:30 5eb5b503b376: Verifying Checksum 06:43:30 5eb5b503b376: Download complete 06:43:31 2f39f015ded8: Verifying Checksum 06:43:31 2f39f015ded8: Download complete 06:43:32 5eb5b503b376: Pull complete 06:43:32 5c69ac0246d0: Pull complete 06:43:32 using credential edgex-jenkins-ssh 06:43:32 Cloning the remote Git repository 06:43:32 ec43610c2a17: Pull complete 06:43:32 3a2ae6a8a46f: Pull complete 06:43:33 33b1e0a273af: Pull complete 06:43:33 5d3b04190fa2: Pull complete 06:43:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:43:32 > git init /w/workspace/device-sdk-go/3 # timeout=10 06:43:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:43:32 > git --version # timeout=10 06:43:32 > git --version # 'git version 2.25.1' 06:43:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:32 Verifying host key using known hosts file 06:43:32 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:43:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:43:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:36 Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 06:43:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:43:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:43:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:35 Verifying host key using known hosts file 06:43:35 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:43:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:43:36 > git config core.sparsecheckout # timeout=10 06:43:36 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 06:43:36 > git remote # timeout=10 06:43:36 Merge succeeded, producing 958d654d46e124f578525c94fc4c2683daa14816 06:43:36 Checking out Revision 958d654d46e124f578525c94fc4c2683daa14816 (PR-1244) 06:43:37 2f39f015ded8: Pull complete 06:43:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:43:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:43:37 prd-ubuntu20.04-docker-8c-8g-117085 does not seem to be running inside a container 06:43:37 $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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:latest cat 06:43:36 > git config --get remote.origin.url # timeout=10 06:43:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:36 Verifying host key using known hosts file 06:43:36 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:43:36 > git merge 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 06:43:36 > git rev-parse HEAD^{commit} # timeout=10 06:43:36 > git config core.sparsecheckout # timeout=10 06:43:36 > git checkout -f 958d654d46e124f578525c94fc4c2683daa14816 # timeout=10 06:43:39 $ docker top 960461d69346a6a604980a314ef7fdf2c4d23b216ee6447b34d1a76ddc03b50d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:39 Commit message: "Merge commit '21e2314d0be0883f9fe388992978a72096c1cede' into HEAD" 06:43:39 > git rev-list --no-walk c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 06:43:40 ---> job-cost.sh 06:43:40 lf-activate-venv: SKIPPING 06:43:40 INFO: No Stack... 06:43:40 INFO: Retrieving Pricing Info for: v3-standard-8 06:43:40 06:43:40 GitHub has been notified of this commit’s build result 06:43:40 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:43:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:43:40 Dload Upload Total Spent Left Speed 06:43:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 49226 0 --:--:-- --:--:-- --:--:-- 49226 06:43:40 INFO: Archiving Costs [Pipeline] sh 06:43:41 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/cost.csv 06:43:41 + cut -d, -f6 [Pipeline] lock 06:43:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-3-stack-cost] 06:43:41 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-3-stack-cost] did not exist. Created. 06:43:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh 06:43:41 + echo total: 0.2199999988079071 [Pipeline] stash 06:43:41 Stashed 1 file(s) [Pipeline] } 06:43:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:43:41 $ docker stop --time=1 960461d69346a6a604980a314ef7fdf2c4d23b216ee6447b34d1a76ddc03b50d 06:43:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 06:43:42 $ docker rm -f 960461d69346a6a604980a314ef7fdf2c4d23b216ee6447b34d1a76ddc03b50d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:43:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:43:43 + sudo tee /etc/docker/daemon.new 06:43:43 { 06:43:43 "registry-mirrors": [ 06:43:43 "https://nexus3.edgexfoundry.org:10001" 06:43:43 ], 06:43:43 "bip": "10.250.0.254/24", 06:43:43 "hosts": [ 06:43:43 "tcp://0.0.0.0:5555", 06:43:43 "unix:///var/run/docker.sock" 06:43:43 ], 06:43:43 "mtu": 1458, 06:43:43 "selinux-enabled": true, 06:43:43 "seccomp-profile": "/etc/docker/seccomp.json" 06:43:43 } [Pipeline] sh 06:43:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:43:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:02 provisioning config files... 06:44:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config921543352948003542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:02 ---> docker-login.sh 06:44:02 nexus3.edgexfoundry.org:10001 06:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:02 Configure a credential helper to remove this warning. See 06:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:02 06:44:02 Login Succeeded 06:44:02 nexus3.edgexfoundry.org:10002 06:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:03 Configure a credential helper to remove this warning. See 06:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:03 06:44:03 Login Succeeded 06:44:03 nexus3.edgexfoundry.org:10003 06:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:03 Configure a credential helper to remove this warning. See 06:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:03 06:44:03 Login Succeeded 06:44:03 nexus3.edgexfoundry.org:10004 06:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:04 Configure a credential helper to remove this warning. See 06:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:04 06:44:04 Login Succeeded 06:44:04 docker.io 06:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:04 Configure a credential helper to remove this warning. See 06:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:04 06:44:04 Login Succeeded 06:44:04 ---> docker-login.sh ends [Pipeline] } 06:44:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:44:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:44:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:44:05 ========================================================= 06:44:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:44:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:05 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:44:05 Sending build context to Docker daemon 5.451MB 06:44:05 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:44:05 Step 2/10 : FROM ${BASE} AS builder 06:44:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:44:05 9b18e9b68314: Pulling fs layer 06:44:05 d32db5db7311: Pulling fs layer 06:44:05 d0c4b47475fc: Pulling fs layer 06:44:05 5831b945b038: Pulling fs layer 06:44:05 86bbec2aaacd: Pulling fs layer 06:44:05 e10730c5d714: Pulling fs layer 06:44:05 5dd5c2283517: Pulling fs layer 06:44:05 d5ac0230b979: Pulling fs layer 06:44:05 e10730c5d714: Waiting 06:44:05 5831b945b038: Waiting 06:44:05 5dd5c2283517: Waiting 06:44:05 d5ac0230b979: Waiting 06:44:05 86bbec2aaacd: Waiting 06:44:05 d0c4b47475fc: Download complete 06:44:05 d32db5db7311: Verifying Checksum 06:44:05 d32db5db7311: Download complete 06:44:05 86bbec2aaacd: Verifying Checksum 06:44:05 86bbec2aaacd: Download complete 06:44:05 e10730c5d714: Verifying Checksum 06:44:05 e10730c5d714: Download complete 06:44:05 9b18e9b68314: Verifying Checksum 06:44:05 9b18e9b68314: Download complete 06:44:06 9b18e9b68314: Pull complete 06:44:07 d5ac0230b979: Verifying Checksum 06:44:07 d5ac0230b979: Download complete 06:44:07 d32db5db7311: Pull complete 06:44:07 d0c4b47475fc: Pull complete 06:44:08 5dd5c2283517: Verifying Checksum 06:44:08 5dd5c2283517: Download complete 06:44:08 5831b945b038: Verifying Checksum 06:44:08 5831b945b038: Download complete 06:44:21 5831b945b038: Pull complete 06:44:21 86bbec2aaacd: Pull complete 06:44:21 e10730c5d714: Pull complete 06:44:26 5dd5c2283517: Pull complete 06:44:28 d5ac0230b979: Pull complete 06:44:28 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 06:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:44:28 ---> 59b3b1a385d4 06:44:28 Step 3/10 : ARG MAKE=make build 06:44:30 ---> Running in 6a9f7e66769d 06:44:30 Removing intermediate container 6a9f7e66769d 06:44:30 ---> ddf59ea2effb 06:44:30 Step 4/10 : WORKDIR /device-sdk-go 06:44:30 ---> Running in 7ad2cda55dd1 06:44:30 Removing intermediate container 7ad2cda55dd1 06:44:30 ---> de5a1119e41a 06:44:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:44:30 ---> Running in 784ae544639b 06:44:31 Removing intermediate container 784ae544639b 06:44:31 ---> d9859f4dde58 06:44:31 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:44:31 ---> Running in a9ce36a9101d 06:44:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:44:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:44:33 OK: 221 MiB in 51 packages 06:44:34 Removing intermediate container a9ce36a9101d 06:44:34 ---> e7a060c3b70a 06:44:34 Step 7/10 : COPY go.mod vendor* ./ 06:44:34 ---> 040fc7d7a397 06:44:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:35 ---> Running in 4b9dbaae5171 06:45:31 Removing intermediate container 4b9dbaae5171 06:45:31 ---> adb6d1c0df39 06:45:31 Step 9/10 : COPY . . 06:45:31 ---> f8fed77b9334 06:45:31 Step 10/10 : RUN ${MAKE} 06:45:31 ---> Running in 3990d143f6c4 06:45:31 noop 06:45:31 Removing intermediate container 3990d143f6c4 06:45:31 ---> f52d5f2601f5 06:45:31 Successfully built f52d5f2601f5 06:45:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:31 + docker inspect -f . ci-base-image-arm64 06:45:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:31 prd-ubuntu20.04-docker-arm64-4c-16g-117086 does not seem to be running inside a container 06:45:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:45:33 $ docker top 0de99d651f3ef5771a128c8b3413e4ff8c30da1000e4c3f028aa6dfc26de71fd -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:33 + go version 06:45:33 go version go1.18.7 linux/arm64 [Pipeline] } 06:45:34 $ docker stop --time=1 0de99d651f3ef5771a128c8b3413e4ff8c30da1000e4c3f028aa6dfc26de71fd 06:45:35 $ docker rm -f 0de99d651f3ef5771a128c8b3413e4ff8c30da1000e4c3f028aa6dfc26de71fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:36 + docker inspect -f . ci-base-image-arm64 06:45:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:36 prd-ubuntu20.04-docker-arm64-4c-16g-117086 does not seem to be running inside a container 06:45:36 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:45:38 $ docker top cb68a37a8186f5eae763765ff96561096bb2f739704c4e802665671c959512ec -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:39 + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh 06:45:39 + make test 06:45:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:46:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:48:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:48:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:48:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:48:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:48:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:48:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.394s coverage: 27.6% of statements 06:48:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.332s coverage: 78.9% of statements 06:48:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:48:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.779s coverage: 73.1% of statements 06:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.638s coverage: 54.4% of statements 06:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.448s coverage: 65.1% of statements 06:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.241s coverage: 89.2% of statements 06:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:48:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.275s coverage: 4.7% of statements 06:48:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:48:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:48:37 GO111MODULE=on go vet ./... 06:50:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:50:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:50:29 ./bin/test-attribution-txt.sh 06:50:29 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:50:29 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:50:29 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:50:29 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:50:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:50:29 $ docker stop --time=1 cb68a37a8186f5eae763765ff96561096bb2f739704c4e802665671c959512ec 06:50:30 $ docker rm -f cb68a37a8186f5eae763765ff96561096bb2f739704c4e802665671c959512ec [Pipeline] // withDockerContainer [Pipeline] sh 06:50:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:50:32 Warning: overwriting stash ‘coverage-report’ 06:50:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:50:33 + ls -al . 06:50:33 total 276 06:50:33 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 06:45 . 06:50:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 06:43 .. 06:50:33 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 06:43 .dockerignore 06:50:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 06:43 .git 06:50:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 06:43 .github 06:50:33 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 06:43 .gitignore 06:50:33 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 06:43 .golangci.yml 06:50:33 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 06:43 CHANGELOG.md 06:50:33 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 06:43 GOVERNANCE.md 06:50:33 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 06:43 Jenkinsfile 06:50:33 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 06:43 LICENSE 06:50:33 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 06:43 Makefile 06:50:33 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 06:43 OWNERS.md 06:50:33 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 06:43 README.md 06:50:33 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 06:41 VERSION 06:50:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 06:43 bin 06:50:33 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 06:48 coverage.out 06:50:33 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 06:43 example 06:50:33 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 06:43 go.mod 06:50:33 -rw-rw-r-- 1 jenkins jenkins 44684 Oct 26 06:43 go.sum 06:50:33 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 06:43 internal 06:50:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 06:43 openapi 06:50:33 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 06:43 pkg 06:50:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 06:43 snap 06:50:33 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:34 + 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=958d654d46e124f578525c94fc4c2683daa14816 --label arch=arm64 --label version=0.0.0 . 06:50:34 Sending build context to Docker daemon 5.554MB 06:50:34 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:50:34 Step 2/23 : FROM ${BASE} AS builder 06:50:34 ---> f52d5f2601f5 06:50:34 Step 3/23 : ARG MAKE=make build 06:50:34 ---> Running in 100732bf5a61 06:50:34 Removing intermediate container 100732bf5a61 06:50:34 ---> 8e05ae572c20 06:50:34 Step 4/23 : WORKDIR /device-sdk-go 06:50:34 ---> Running in 4e142575b6cd 06:50:35 Removing intermediate container 4e142575b6cd 06:50:35 ---> 8afc0a283816 06:50:35 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:50:35 ---> Running in 4659254243c8 06:50:35 Removing intermediate container 4659254243c8 06:50:35 ---> 081f909c9aff 06:50:35 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:50:35 ---> Running in 98c6267fab22 06:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:50:37 OK: 221 MiB in 51 packages 06:50:39 Removing intermediate container 98c6267fab22 06:50:39 ---> ea1e35632df0 06:50:39 Step 7/23 : COPY go.mod vendor* ./ 06:50:39 ---> 4c95ef6bbb2a 06:50:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:50:39 ---> Running in 294baf64bcaf 06:50:41 Removing intermediate container 294baf64bcaf 06:50:41 ---> 61421f8c652e 06:50:41 Step 9/23 : COPY . . 06:50:42 ---> c28b717a3d84 06:50:42 Step 10/23 : RUN ${MAKE} 06:50:42 ---> Running in 858a923af913 06:50:43 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:52:50 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:52:57 Removing intermediate container 858a923af913 06:52:57 ---> 7cfa30d8d9b6 06:52:57 Step 11/23 : FROM alpine:3.16 06:52:57 3.16: Pulling from library/alpine 06:52:57 9b18e9b68314: Already exists 06:52:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:52:57 Status: Downloaded newer image for alpine:3.16 06:52:57 ---> a6215f271958 06:52:57 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:52:57 ---> Running in 9e0c11e038c6 06:52:58 Removing intermediate container 9e0c11e038c6 06:52:58 ---> 1b2333d49855 06:52:58 Step 13/23 : RUN apk add --update --no-cache zeromq 06:52:58 ---> Running in da06c29d85cd 06:52:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:52:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:53:00 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:53:00 (2/5) Installing libsodium (1.0.18-r0) 06:53:00 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:53:00 (4/5) Installing libzmq (4.3.4-r0) 06:53:00 (5/5) Installing zeromq (4.3.4-r0) 06:53:00 Executing busybox-1.35.0-r17.trigger 06:53:00 OK: 8 MiB in 19 packages 06:53:01 Removing intermediate container da06c29d85cd 06:53:01 ---> 1018a24a5447 06:53:01 Step 14/23 : WORKDIR / 06:53:01 ---> Running in 3c366953cd6f 06:53:01 Removing intermediate container 3c366953cd6f 06:53:01 ---> 0002780d8a40 06:53:01 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:53:02 ---> f841b210e9c9 06:53:02 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:53:03 ---> 5ab03f843393 06:53:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:53:04 ---> d5d60727bd11 06:53:04 Step 18/23 : EXPOSE 59999 06:53:04 ---> Running in eb6c0c41df49 06:53:04 Removing intermediate container eb6c0c41df49 06:53:04 ---> f06a131e039e 06:53:04 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:53:04 ---> Running in f4e8c9ded24e 06:53:04 Removing intermediate container f4e8c9ded24e 06:53:04 ---> 899c90316481 06:53:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:53:05 ---> Running in 66083a7a0c4f 06:53:05 Removing intermediate container 66083a7a0c4f 06:53:05 ---> 270942adacbe 06:53:05 Step 21/23 : LABEL arch=arm64 06:53:05 ---> Running in f190e32a9f0a 06:53:05 Removing intermediate container f190e32a9f0a 06:53:05 ---> 1a0598b3c3c9 06:53:05 Step 22/23 : LABEL git_sha=958d654d46e124f578525c94fc4c2683daa14816 06:53:05 ---> Running in 82759a7599ab 06:53:06 Removing intermediate container 82759a7599ab 06:53:06 ---> b89969f0b347 06:53:06 Step 23/23 : LABEL version=0.0.0 06:53:06 ---> Running in e7875d775d25 06:53:06 Removing intermediate container e7875d775d25 06:53:06 ---> 9caf78df56a4 06:53:06 [Warning] One or more build-args [ARCH] were not consumed 06:53:06 Successfully built 9caf78df56a4 06:53:06 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:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:53:06 06:53:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:53:07 arm64: Pulling from edgex-lftools-log-publisher 06:53:07 8998bd30e6a1: Pulling fs layer 06:53:07 04944245beec: Pulling fs layer 06:53:07 699f458cf7ca: Pulling fs layer 06:53:07 765212b225bb: Pulling fs layer 06:53:07 f23df028b6ca: Pulling fs layer 06:53:07 d65c8cfc05b1: Pulling fs layer 06:53:07 2437ff75d9bd: Pulling fs layer 06:53:07 f23df028b6ca: Waiting 06:53:07 d65c8cfc05b1: Waiting 06:53:07 2437ff75d9bd: Waiting 06:53:07 765212b225bb: Waiting 06:53:07 04944245beec: Verifying Checksum 06:53:07 04944245beec: Download complete 06:53:07 765212b225bb: Verifying Checksum 06:53:07 765212b225bb: Download complete 06:53:07 f23df028b6ca: Verifying Checksum 06:53:07 f23df028b6ca: Download complete 06:53:07 d65c8cfc05b1: Verifying Checksum 06:53:07 d65c8cfc05b1: Download complete 06:53:07 699f458cf7ca: Verifying Checksum 06:53:07 699f458cf7ca: Download complete 06:53:08 8998bd30e6a1: Verifying Checksum 06:53:08 8998bd30e6a1: Download complete 06:53:10 2437ff75d9bd: Verifying Checksum 06:53:10 2437ff75d9bd: Download complete 06:53:12 8998bd30e6a1: Pull complete 06:53:12 04944245beec: Pull complete 06:53:14 699f458cf7ca: Pull complete 06:53:14 765212b225bb: Pull complete 06:53:15 f23df028b6ca: Pull complete 06:53:15 d65c8cfc05b1: Pull complete 06:53:30 2437ff75d9bd: Pull complete 06:53:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:53:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:53:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:30 prd-ubuntu20.04-docker-arm64-4c-16g-117086 does not seem to be running inside a container 06:53:30 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:53:32 $ docker top c6f0f8f04f732d5b74192bb87a68a11be6e9bfd39495f7d39fa4e314ddbebbdf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:53:33 ---> job-cost.sh 06:53:33 lf-activate-venv: SKIPPING 06:53:33 INFO: No Stack... 06:53:34 INFO: Retrieving Pricing Info for: v3-standard-4 06:53:34 INFO: Archiving Costs [Pipeline] sh 06:53:35 + + catcut /w/workspace/device-sdk-go/3/archives/cost.csv -d, 06:53:35 -f6 [Pipeline] lock 06:53:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-3-stack-cost] 06:53:35 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-3-stack-cost] did not exist. Created. 06:53:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:53:36 /w/workspace/device-sdk-go/3@tmp/durable-f377d9ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:53:37 + echo total: 0.10999999940395355 [Pipeline] stash 06:53:37 Warning: overwriting stash ‘stack-cost’ 06:53:37 Stashed 1 file(s) [Pipeline] } 06:53:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:53:37 $ docker stop --time=1 c6f0f8f04f732d5b74192bb87a68a11be6e9bfd39495f7d39fa4e314ddbebbdf 06:53:38 $ docker rm -f c6f0f8f04f732d5b74192bb87a68a11be6e9bfd39495f7d39fa4e314ddbebbdf [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:53:39 provisioning config files... 06:53:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config12813551717965335749tmp [Pipeline] { [Pipeline] sh 06:53:39 + set +x 06:53:39 + curl -s https://codecov.io/bash 06:53:39 + bash -s -- 06:53:39 06:53:39 _____ _ 06:53:39 / ____| | | 06:53:39 | | ___ __| | ___ ___ _____ __ 06:53:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:53:39 | |___| (_) | (_| | __/ (_| (_) \ V / 06:53:39 \_____\___/ \__,_|\___|\___\___/ \_/ 06:53:39 Bash-1.0.6 06:53:39 06:53:39 06:53:39 ==> git version 2.25.1 found 06:53:39 ==> 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:53:39 Release-Date: 2020-01-08 06:53:39 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:53:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:53:39 ==> Jenkins CI detected. 06:53:39 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1244 06:53:39 project root: . 06:53:39 --> token set from env 06:53:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:53:39 ==> Running gcov in . (disable via -X gcov) 06:53:39 ==> Python coveragepy not found 06:53:39 ==> Searching for coverage reports in: 06:53:39 + . 06:53:39 -> Found 1 reports 06:53:39 ==> Detecting git/mercurial file structure 06:53:39 ==> Reading reports 06:53:39 + ./coverage.out bytes=101759 06:53:39 ==> Appending adjustments 06:53:39 https://docs.codecov.io/docs/fixing-reports 06:53:39 + Found adjustments 06:53:39 ==> Gzipping contents 06:53:39 16K /tmp/codecov.XxcnGv.gz 06:53:39 ==> Uploading reports 06:53:39 url: https://codecov.io 06:53:39 query: branch=PR-1244&commit=0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= 06:53:39 -> Pinging Codecov 06:53:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1244&commit=0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= 06:53:40 -> Uploading to 06:53:40 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099/cfffc5bf-c910-4fcc-abd5-50238615d53f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T065340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed8252528063e9bf7adae398c3329feda2623f0d5f9ccf8d3fb8871d548c92f2 06:53:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:53:40 Dload Upload Total Spent Left Speed 06:53:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14732 0 0 100 14732 0 62423 --:--:-- --:--:-- --:--:-- 62689 06:53:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0cd36b81ea31df87c2f0ed6d7cb7f3e4810ba099 [Pipeline] } 06:53:40 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:53:41 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives ] 06:53:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 06:53:41 total 16 06:53:41 drwxr-xr-x 3 root root 4096 Oct 26 06:43 . 06:53:41 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 06:43 .. 06:53:41 drwxr-xr-x 2 root root 4096 Oct 26 06:43 cost 06:53:41 -rw-r--r-- 1 root root 86 Oct 26 06:43 cost.csv 06:53:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 06:53:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 06:53:41 total 16 06:53:41 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 06:43 . 06:53:41 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 06:43 .. 06:53:41 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 06:43 cost 06:53:41 -rw-r--r-- 1 jenkins jenkins 86 Oct 26 06:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:53:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:53:42 ---> package-listing.sh 06:53:42 ++ facter osfamily 06:53:42 ++ tr '[:upper:]' '[:lower:]' 06:53:42 + OS_FAMILY=debian 06:53:42 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1244 06:53:42 + START_PACKAGES=/tmp/packages_start.txt 06:53:42 + END_PACKAGES=/tmp/packages_end.txt 06:53:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:53:42 + PACKAGES=/tmp/packages_start.txt 06:53:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' 06:53:42 + PACKAGES=/tmp/packages_end.txt 06:53:42 + case "${OS_FAMILY}" in 06:53:42 + dpkg -l 06:53:42 + grep '^ii' 06:53:42 + '[' -f /tmp/packages_start.txt ']' 06:53:42 + '[' -f /tmp/packages_end.txt ']' 06:53:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:53:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' 06:53:42 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ 06:53:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [Pipeline] echo 06:53:42 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-1244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:53:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:43 prd-ubuntu20.04-docker-8c-8g-117085 does not seem to be running inside a container 06:53:43 $ 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-1244/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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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:53:43 $ docker top b316b0aea85e0fcbe25dac6c73fc5c6107cffcbb2c486ddee20e2b5a99649ca2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:44 + touch /tmp/pre-build-complete [Pipeline] sh 06:53:44 + mkdir -p /var/log/sysstat [Pipeline] sh 06:53:44 + ls /var/log/sa-host 06:53:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:53:44 provisioning config files... 06:53:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config17896911866342318141tmp [Pipeline] { [Pipeline] echo 06:53:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:53:45 ---> create-netrc.sh [Pipeline] } 06:53:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:53:45 ---> python-tools-install.sh [Pipeline] echo 06:53:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:53:45 ---> sudo-logs.sh 06:53:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:53:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:53:46 ---> job-cost.sh 06:53:46 lf-activate-venv: SKIPPING 06:53:46 DEBUG: total: 0.2199999988079071 06:53:46 INFO: Retrieving Stack Cost... 06:53:46 INFO: Retrieving Pricing Info for: v3-standard-8 06:53:46 INFO: Archiving Costs [Pipeline] echo 06:53:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:53:47 ---> logs-deploy.sh 06:53:47 lf-activate-venv: SKIPPING 06:53:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1244/3 06:53:47 INFO: archiving workspace using pattern(s): 06:53:48 Archives upload complete. 06:53:48 INFO: archiving logs to Nexus