Pull request #1239 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7f4ce749a28b802cbd54a2f08320b07380bfb142+fcdaaa65875a87632183a9ac24ebba6391eaa438 (542080941d7108d8bc895e9122fe3bc91405b7f4) 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-ssh12812439432850695494.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-ssh4648105410880711693.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-1239/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-1239/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2780994611257972466.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-ssh15751869426610739182.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-1239/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-1239/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4023256548652070139.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8475’ Running on prd-ubuntu20.04-docker-8c-8g-8477 in /w/workspace/gexfoundry_device-sdk-go_PR-1239 [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-1239 # 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/1239/head:refs/remotes/origin/PR-1239 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fcdaaa65875a87632183a9ac24ebba6391eaa438 into PR head commit 7f4ce749a28b802cbd54a2f08320b07380bfb142 Merge succeeded, producing 1006b82fee2d8126722dcf67930a4a31e0e73bd1 Checking out Revision 1006b82fee2d8126722dcf67930a4a31e0e73bd1 (PR-1239) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f4ce749a28b802cbd54a2f08320b07380bfb142 # 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 fcdaaa65875a87632183a9ac24ebba6391eaa438 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1006b82fee2d8126722dcf67930a4a31e0e73bd1 # timeout=10 Commit message: "Merge commit 'fcdaaa65875a87632183a9ac24ebba6391eaa438' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 21e04e15d1ae7c788d2df22621903d96286e27cc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:45:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:45:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:45:27 ========================================================= 16:45:27 EdgeX Global Pipelines Version Info 16:45:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:45:28 ------------------- 16:45:28 stable info: 16:45:28 ------------------- 16:45:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:45:28 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:45:28 Message: update stable to v1.0.243 16:45:28 ------------------- 16:45:28 experimental info: 16:45:28 ------------------- 16:45:28 Commited By: **** collab-it+edgex@linuxfoundation.org 16:45:28 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:45:28 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:45:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:45:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1239 [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1239 [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1239 [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1006b82fee2d8126722dcf67930a4a31e0e73bd1 [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1006b82 [Pipeline] echo 16:45:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:29 provisioning config files... 16:45:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config3961790152714185608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:29 ---> docker-login.sh 16:45:29 nexus3.edgexfoundry.org:10001 16:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:30 Configure a credential helper to remove this warning. See 16:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:30 16:45:30 Login Succeeded 16:45:30 nexus3.edgexfoundry.org:10002 16:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:30 Configure a credential helper to remove this warning. See 16:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:30 16:45:30 Login Succeeded 16:45:30 nexus3.edgexfoundry.org:10003 16:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:30 Configure a credential helper to remove this warning. See 16:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:30 16:45:30 Login Succeeded 16:45:30 nexus3.edgexfoundry.org:10004 16:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:30 Configure a credential helper to remove this warning. See 16:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:30 16:45:30 Login Succeeded 16:45:30 docker.io 16:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:30 Configure a credential helper to remove this warning. See 16:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:30 16:45:30 Login Succeeded 16:45:30 ---> docker-login.sh ends [Pipeline] } 16:45:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:45:31 + git rev-list -1 --merges 1006b82fee2d8126722dcf67930a4a31e0e73bd1~1..1006b82fee2d8126722dcf67930a4a31e0e73bd1 [Pipeline] echo 16:45:31 -----------> git rev-list -1 --merges 1006b82fee2d8126722dcf67930a4a31e0e73bd1~1..1006b82fee2d8126722dcf67930a4a31e0e73bd1 1006b82fee2d8126722dcf67930a4a31e0e73bd1 16:45:31 1006b82fee2d8126722dcf67930a4a31e0e73bd1 [false] [Pipeline] sh 16:45:31 + git log --format=format:%s -1 1006b82fee2d8126722dcf67930a4a31e0e73bd1 [Pipeline] echo 16:45:31 ========================================================= 16:45:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:45:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:45:31 + git log --format=format:%s -1 1006b82fee2d8126722dcf67930a4a31e0e73bd1 [Pipeline] echo 16:45:31 [semverPrep] GIT_COMMIT: 1006b82fee2d8126722dcf67930a4a31e0e73bd1, Commit Message: Merge commit 'fcdaaa65875a87632183a9ac24ebba6391eaa438' into HEAD [Pipeline] echo 16:45:31 [semverPrep] This is not a build commit. [Pipeline] sh 16:45:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:45:32 + grep -v github /etc/ssh/ssh_known_hosts 16:45:32 + [ -e /tmp/ssh_known_hosts ] 16:45:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:45:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:45:32 + sudo tee -a /etc/ssh/ssh_known_hosts 16:45:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:45:32 16:45:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:45:32 0.1.4: Pulling from edgex-devops/py-git-semver 16:45:32 b85a868b505f: Pulling fs layer 16:45:32 e2be974225ed: Pulling fs layer 16:45:32 339a4e72a1f5: Pulling fs layer 16:45:32 988bab9f4d93: Pulling fs layer 16:45:32 1469e6f7b9e6: Pulling fs layer 16:45:32 eaf3925da568: Pulling fs layer 16:45:32 bab4dde63d76: Pulling fs layer 16:45:32 bde34c3a00c8: Pulling fs layer 16:45:32 b352a97aabf1: Pulling fs layer 16:45:32 4872d77fe225: Pulling fs layer 16:45:32 5851b861e8e6: Pulling fs layer 16:45:32 988bab9f4d93: Waiting 16:45:32 1469e6f7b9e6: Waiting 16:45:32 eaf3925da568: Waiting 16:45:32 bde34c3a00c8: Waiting 16:45:32 b352a97aabf1: Waiting 16:45:32 bab4dde63d76: Waiting 16:45:32 4872d77fe225: Waiting 16:45:32 5851b861e8e6: Waiting 16:45:32 e2be974225ed: Verifying Checksum 16:45:32 e2be974225ed: Download complete 16:45:32 988bab9f4d93: Download complete 16:45:33 339a4e72a1f5: Verifying Checksum 16:45:33 339a4e72a1f5: Download complete 16:45:33 1469e6f7b9e6: Verifying Checksum 16:45:33 1469e6f7b9e6: Download complete 16:45:33 eaf3925da568: Verifying Checksum 16:45:33 eaf3925da568: Download complete 16:45:33 bde34c3a00c8: Verifying Checksum 16:45:33 bde34c3a00c8: Download complete 16:45:33 b352a97aabf1: Verifying Checksum 16:45:33 b352a97aabf1: Download complete 16:45:33 4872d77fe225: Download complete 16:45:33 5851b861e8e6: Verifying Checksum 16:45:33 5851b861e8e6: Download complete 16:45:33 b85a868b505f: Verifying Checksum 16:45:33 b85a868b505f: Download complete 16:45:33 bab4dde63d76: Verifying Checksum 16:45:33 bab4dde63d76: Download complete 16:45:34 b85a868b505f: Pull complete 16:45:34 e2be974225ed: Pull complete 16:45:35 339a4e72a1f5: Pull complete 16:45:35 988bab9f4d93: Pull complete 16:45:35 1469e6f7b9e6: Pull complete 16:45:35 eaf3925da568: Pull complete 16:45:37 bab4dde63d76: Pull complete 16:45:37 bde34c3a00c8: Pull complete 16:45:37 b352a97aabf1: Pull complete 16:45:37 4872d77fe225: Pull complete 16:45:38 5851b861e8e6: Pull complete 16:45:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:45:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:45:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:39 prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container 16:45:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:45:44 $ docker top f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 -eo pid,comm 16:45:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:45:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:45:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:44 [ssh-agent] Looking for ssh-agent implementation... 16:45:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:44 $ docker exec f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 ssh-agent 16:45:44 SSH_AUTH_SOCK=/tmp/ssh-nsmT9wvmFJgm/agent.14 16:45:44 SSH_AGENT_PID=20 16:45:44 Running ssh-add (command line suppressed) 16:45:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_5539874158578139799.key (/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_5539874158578139799.key) 16:45:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:45 + git tag --points-at HEAD [Pipeline] } 16:45:45 $ docker exec --env ******** --env ******** f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 ssh-agent -k 16:45:45 unset SSH_AUTH_SOCK; 16:45:45 unset SSH_AGENT_PID; 16:45:45 echo Agent pid 20 killed; 16:45:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:45:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:45:45 [ssh-agent] Looking for ssh-agent implementation... 16:45:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:45:45 $ docker exec f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 ssh-agent 16:45:45 SSH_AUTH_SOCK=/tmp/ssh-wgSC09SAQm9V/agent.71 16:45:45 SSH_AGENT_PID=77 16:45:45 Running ssh-add (command line suppressed) 16:45:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_6099842781302287643.key (/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/private_key_6099842781302287643.key) 16:45:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:45:45 + git semver init 16:45:46 2022-10-18 16:45:46,386 [run_init] DEBUG init version:0.0.0 force:False 16:45:46 2022-10-18 16:45:46,387 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver 16:45:46 2022-10-18 16:45:46,389 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver 16:45:46 2022-10-18 16:45:46,389 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239, universal_newlines=False, shell=None, istream=None) 16:45:48 2022-10-18 16:45:47,786 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.git/info/exclude 16:45:48 2022-10-18 16:45:47,787 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 with force:False 16:45:48 2022-10-18 16:45:47,787 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 16:45:48 2022-10-18 16:45:47,791 [execute] INFO git cat-file --batch-check 16:45:48 2022-10-18 16:45:47,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver, universal_newlines=False, shell=None, istream=) 16:45:48 2022-10-18 16:45:47,797 [execute] INFO git cat-file --batch 16:45:48 2022-10-18 16:45:47,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver, universal_newlines=False, shell=None, istream=) 16:45:48 2022-10-18 16:45:47,802 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1239/.semver/PR-1239 16:45:48 0.0.0 [Pipeline] } 16:45:48 $ docker exec --env ******** --env ******** f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 ssh-agent -k 16:45:48 unset SSH_AUTH_SOCK; 16:45:48 unset SSH_AGENT_PID; 16:45:48 echo Agent pid 77 killed; 16:45:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:45:48 + git semver [Pipeline] } 16:45:48 $ docker stop --time=1 f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 16:45:51 $ docker rm -f f0e681be0b33ce5f1cd6d9998a1492c78f63a688272fafff7c38ca6d950438c1 [Pipeline] // withDockerContainer [Pipeline] sh 16:45:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:45:51 Stashed 1 file(s) [Pipeline] echo 16:45:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:51 provisioning config files... 16:45:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config15699992871077454471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:52 ---> docker-login.sh 16:45:52 nexus3.edgexfoundry.org:10001 16:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:52 Configure a credential helper to remove this warning. See 16:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:52 16:45:52 Login Succeeded 16:45:52 nexus3.edgexfoundry.org:10002 16:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:52 Configure a credential helper to remove this warning. See 16:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:52 16:45:52 Login Succeeded 16:45:52 nexus3.edgexfoundry.org:10003 16:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:52 Configure a credential helper to remove this warning. See 16:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:52 16:45:52 Login Succeeded 16:45:52 nexus3.edgexfoundry.org:10004 16:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:52 Configure a credential helper to remove this warning. See 16:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:52 16:45:52 Login Succeeded 16:45:52 docker.io 16:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:53 Configure a credential helper to remove this warning. See 16:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:53 16:45:53 Login Succeeded 16:45:53 ---> docker-login.sh ends [Pipeline] } 16:45:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:45:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:53 ========================================================= 16:45:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:45:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:53 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:45:53 Sending build context to Docker daemon 10.05MB 16:45:53 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:45:53 Step 2/11 : FROM ${BASE} AS builder 16:45:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:45:53 213ec9aee27d: Pulling fs layer 16:45:53 4583459ba037: Pulling fs layer 16:45:53 93c1e223e6f2: Pulling fs layer 16:45:53 53926ce57604: Pulling fs layer 16:45:53 21b2b0c7a3f4: Pulling fs layer 16:45:53 30f14e443154: Pulling fs layer 16:45:53 801331c1e519: Pulling fs layer 16:45:53 99cc6dd402b0: Pulling fs layer 16:45:53 7d9ed39f4882: Pulling fs layer 16:45:53 30f14e443154: Waiting 16:45:53 53926ce57604: Waiting 16:45:53 99cc6dd402b0: Waiting 16:45:53 801331c1e519: Waiting 16:45:53 21b2b0c7a3f4: Waiting 16:45:53 7d9ed39f4882: Waiting 16:45:53 93c1e223e6f2: Verifying Checksum 16:45:53 93c1e223e6f2: Download complete 16:45:53 4583459ba037: Download complete 16:45:53 21b2b0c7a3f4: Verifying Checksum 16:45:53 21b2b0c7a3f4: Download complete 16:45:53 30f14e443154: Download complete 16:45:53 213ec9aee27d: Verifying Checksum 16:45:53 213ec9aee27d: Download complete 16:45:53 801331c1e519: Verifying Checksum 16:45:53 801331c1e519: Download complete 16:45:53 213ec9aee27d: Pull complete 16:45:54 4583459ba037: Pull complete 16:45:54 7d9ed39f4882: Verifying Checksum 16:45:54 93c1e223e6f2: Pull complete 16:45:54 99cc6dd402b0: Verifying Checksum 16:45:54 99cc6dd402b0: Download complete 16:45:54 53926ce57604: Verifying Checksum 16:45:54 53926ce57604: Download complete 16:45:58 53926ce57604: Pull complete 16:45:58 21b2b0c7a3f4: Pull complete 16:45:58 30f14e443154: Pull complete 16:45:58 801331c1e519: Pull complete 16:46:00 99cc6dd402b0: Pull complete 16:46:01 7d9ed39f4882: Pull complete 16:46:01 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 16:46:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:46:01 ---> 1dedd983c030 16:46:01 Step 3/11 : ARG MAKE=make build 16:46:06 Still waiting to schedule task 16:46:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8476’ is offline 16:46:09 ---> Running in 076e92809490 16:46:10 Removing intermediate container 076e92809490 16:46:10 ---> 6d396d200f0d 16:46:10 Step 4/11 : WORKDIR /device-sdk-go 16:46:10 ---> Running in 66dc42ba5f4c 16:46:11 Removing intermediate container 66dc42ba5f4c 16:46:11 ---> 827bd561cc1c 16:46:11 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:46:12 ---> Running in 0a84553a66a2 16:46:13 Removing intermediate container 0a84553a66a2 16:46:13 ---> 236ffd08cd8f 16:46:13 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:46:13 ---> Running in 91700817da51 16:46:14 Removing intermediate container 91700817da51 16:46:14 ---> fb76abbcd32a 16:46:14 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:46:15 ---> Running in 3e4c9b300df2 16:46:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:46:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:46:17 OK: 211 MiB in 51 packages 16:46:17 Removing intermediate container 3e4c9b300df2 16:46:17 ---> 4a1c84359aa5 16:46:17 Step 8/11 : COPY go.mod vendor* ./ 16:46:17 ---> d8399c022006 16:46:17 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:46:17 ---> Running in 58584e3c3380 16:46:39 Removing intermediate container 58584e3c3380 16:46:39 ---> 4a77f857aebb 16:46:39 Step 10/11 : COPY . . 16:46:39 ---> 18d0cd26f81b 16:46:39 Step 11/11 : RUN ${MAKE} 16:46:39 ---> Running in 9aa04ba90016 16:46:40 noop 16:46:41 Removing intermediate container 9aa04ba90016 16:46:41 ---> 79e768b9844b 16:46:41 Successfully built 79e768b9844b 16:46:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:42 + docker inspect -f . ci-base-image-x86_64 16:46:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:42 prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container 16:46:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:46:43 $ docker top 106b350b0804bbf38cd7b85b353974f496257f0ed898fec14f0b03577718e71f -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:43 + go version 16:46:43 go version go1.18.7 linux/amd64 [Pipeline] } 16:46:43 $ docker stop --time=1 106b350b0804bbf38cd7b85b353974f496257f0ed898fec14f0b03577718e71f 16:46:45 $ docker rm -f 106b350b0804bbf38cd7b85b353974f496257f0ed898fec14f0b03577718e71f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:45 + docker inspect -f . ci-base-image-x86_64 16:46:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:45 prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container 16:46:45 $ 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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:46:47 $ docker top 4bb0d0180572929fb928751974430125ff7243fb14c1ed9b26595d09e3b486f5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:46:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1239 [Pipeline] fileExists [Pipeline] sh 16:46:47 + make test 16:46:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:46:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 16:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 16:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.113s coverage: 73.1% of statements 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.123s coverage: 54.4% of statements 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 65.1% of statements 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.758s coverage: 89.2% of statements 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.7% of statements 16:47:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:47:24 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:47:24 GO111MODULE=on go vet ./... 16:47:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:47:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:47:27 ./bin/test-attribution-txt.sh 16:47:27 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 16:47:27 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:47:27 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:47:27 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:47:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:47:27 $ docker stop --time=1 4bb0d0180572929fb928751974430125ff7243fb14c1ed9b26595d09e3b486f5 16:47:32 $ docker rm -f 4bb0d0180572929fb928751974430125ff7243fb14c1ed9b26595d09e3b486f5 [Pipeline] // withDockerContainer [Pipeline] sh 16:47:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:47:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:47:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:47:33 + ls -al . 16:47:33 total 276 16:47:33 drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 16:46 . 16:47:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 16:45 .. 16:47:33 -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 16:45 .dockerignore 16:47:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 16:47 .git 16:47:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 16:45 .github 16:47:33 -rw-rw-r-- 1 jenkins jenkins 131 Oct 18 16:45 .gitignore 16:47:33 -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 16:45 .golangci.yml 16:47:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 16:45 .semver 16:47:33 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 18 16:45 CHANGELOG.md 16:47:33 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 16:45 GOVERNANCE.md 16:47:33 -rw-rw-r-- 1 jenkins jenkins 880 Oct 18 16:45 Jenkinsfile 16:47:33 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 18 16:45 LICENSE 16:47:33 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 18 16:45 Makefile 16:47:33 -rw-rw-r-- 1 jenkins jenkins 619 Oct 18 16:45 OWNERS.md 16:47:33 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 18 16:45 README.md 16:47:33 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 16:45 VERSION 16:47:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 16:45 bin 16:47:33 -rw-r--r-- 1 jenkins jenkins 101759 Oct 18 16:47 coverage.out 16:47:33 drwxrwxr-x 5 jenkins jenkins 4096 Oct 18 16:45 example 16:47:33 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 18 16:45 go.mod 16:47:33 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 18 16:45 go.sum 16:47:33 drwxrwxr-x 14 jenkins jenkins 4096 Oct 18 16:45 internal 16:47:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 16:45 openapi 16:47:33 drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 16:45 pkg 16:47:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 16:45 snap 16:47:33 -rw-rw-r-- 1 jenkins jenkins 222 Oct 18 16:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:34 + 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=1006b82fee2d8126722dcf67930a4a31e0e73bd1 --label arch=amd64 --label version=0.0.0 . 16:47:34 Sending build context to Docker daemon 10.15MB 16:47:34 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:47:34 Step 2/25 : FROM ${BASE} AS builder 16:47:34 ---> 79e768b9844b 16:47:34 Step 3/25 : ARG MAKE=make build 16:47:34 ---> Running in 155faa66af98 16:47:34 Removing intermediate container 155faa66af98 16:47:34 ---> 639e5f5d221a 16:47:34 Step 4/25 : WORKDIR /device-sdk-go 16:47:34 ---> Running in 4d618d7d9684 16:47:34 Removing intermediate container 4d618d7d9684 16:47:34 ---> cf2d7900ad1d 16:47:34 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:47:34 ---> Running in c2b216339829 16:47:34 Removing intermediate container c2b216339829 16:47:34 ---> 5e3bcf0666b8 16:47:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:47:34 ---> Running in e37d3d549e05 16:47:35 Removing intermediate container e37d3d549e05 16:47:35 ---> e8cebc2deed8 16:47:35 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:47:35 ---> Running in 308c99062283 16:47:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:47:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:47:36 OK: 211 MiB in 51 packages 16:47:36 Removing intermediate container 308c99062283 16:47:36 ---> 1a16d03c6a6a 16:47:36 Step 8/25 : COPY go.mod vendor* ./ 16:47:36 ---> 763230142ae9 16:47:36 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:47:37 ---> Running in 06279190f039 16:47:37 Removing intermediate container 06279190f039 16:47:37 ---> d43f73561efc 16:47:37 Step 10/25 : COPY . . 16:47:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8479 in /w/workspace/gexfoundry_device-sdk-go_PR-1239 [Pipeline] { [Pipeline] ws 16:47:37 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 16:47:37 The recommended git tool is: git 16:47:38 ---> fc267cdcad63 16:47:38 Step 11/25 : RUN ${MAKE} 16:47:38 ---> Running in d508b2bac505 16:47:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:47:42 using credential edgex-jenkins-ssh 16:47:42 Cloning the remote Git repository 16:47:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:47:42 > git init /w/workspace/device-sdk-go/4 # timeout=10 16:47:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:47:42 > git --version # timeout=10 16:47:42 > git --version # 'git version 2.25.1' 16:47:42 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:42 Verifying host key using known hosts file 16:47:43 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:47:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:47:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:46 Merging remotes/origin/main commit fcdaaa65875a87632183a9ac24ebba6391eaa438 into PR head commit 7f4ce749a28b802cbd54a2f08320b07380bfb142 16:47:46 Merge succeeded, producing 281a884806df3e84774de3d64ff7bd2c1631bfd9 16:47:46 Checking out Revision 281a884806df3e84774de3d64ff7bd2c1631bfd9 (PR-1239) 16:47:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:47:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:47:45 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:45 Verifying host key using known hosts file 16:47:45 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:47:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1239/head:refs/remotes/origin/PR-1239 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:47:46 > git config core.sparsecheckout # timeout=10 16:47:46 > git checkout -f 7f4ce749a28b802cbd54a2f08320b07380bfb142 # timeout=10 16:47:46 > git remote # timeout=10 16:47:46 > git config --get remote.origin.url # timeout=10 16:47:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:46 Verifying host key using known hosts file 16:47:46 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:47:46 > git merge fcdaaa65875a87632183a9ac24ebba6391eaa438 # timeout=10 16:47:46 > git rev-parse HEAD^{commit} # timeout=10 16:47:46 > git config core.sparsecheckout # timeout=10 16:47:46 > git checkout -f 281a884806df3e84774de3d64ff7bd2c1631bfd9 # timeout=10 16:47:50 Commit message: "Merge commit 'fcdaaa65875a87632183a9ac24ebba6391eaa438' into HEAD" 16:47:50 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:47:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:47:50 % Total % Received % Xferd Average Speed Time Time Time Current 16:47:50 Dload Upload Total Spent Left Speed 16:47:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 62078 0 --:--:-- --:--:-- --:--:-- 62078 16:47:50 > git rev-list --no-walk 21e04e15d1ae7c788d2df22621903d96286e27cc # timeout=10 [Pipeline] sh 16:47:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:47:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:47:52 + sudo tee /etc/docker/daemon.new 16:47:52 { 16:47:52 "registry-mirrors": [ 16:47:52 "https://nexus3.edgexfoundry.org:10001" 16:47:52 ], 16:47:52 "bip": "10.250.0.254/24", 16:47:52 "hosts": [ 16:47:52 "tcp://0.0.0.0:5555", 16:47:52 "unix:///var/run/docker.sock" 16:47:52 ], 16:47:52 "mtu": 1458, 16:47:52 "selinux-enabled": true, 16:47:52 "seccomp-profile": "/etc/docker/seccomp.json" 16:47:52 } [Pipeline] sh 16:47:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:47:52 + sudo service docker restart 16:47:56 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:47:58 Removing intermediate container d508b2bac505 16:47:58 ---> d617458913ef 16:47:58 Step 12/25 : FROM alpine:3.16 16:47:59 3.16: Pulling from library/alpine 16:47:59 213ec9aee27d: Already exists 16:47:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:47:59 Status: Downloaded newer image for alpine:3.16 16:47:59 ---> 9c6f07244728 16:47:59 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:47:59 ---> Running in 8be11153bc53 16:47:59 Removing intermediate container 8be11153bc53 16:47:59 ---> 42db0c645f91 16:47:59 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:47:59 ---> Running in 04e3752d36e5 16:47:59 Removing intermediate container 04e3752d36e5 16:47:59 ---> c650bcc257b5 16:47:59 Step 15/25 : RUN apk add --update --no-cache zeromq 16:47:59 ---> Running in 3df458fbbfe2 16:48:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:48:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:48:01 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:48:01 (2/5) Installing libsodium (1.0.18-r0) 16:48:01 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:48:01 (4/5) Installing libzmq (4.3.4-r0) 16:48:01 (5/5) Installing zeromq (4.3.4-r0) 16:48:01 Executing busybox-1.35.0-r17.trigger 16:48:01 OK: 8 MiB in 19 packages 16:48:02 Removing intermediate container 3df458fbbfe2 16:48:02 ---> f849a40bf007 16:48:02 Step 16/25 : WORKDIR / 16:48:02 ---> Running in 7b695d58a141 16:48:02 Removing intermediate container 7b695d58a141 16:48:02 ---> d6684e7b2470 16:48:02 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:48:02 ---> 8516ce31d00c 16:48:02 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:48:03 ---> fe0434156cf5 16:48:03 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:48:03 ---> d255c374924b 16:48:03 Step 20/25 : EXPOSE 59999 16:48:03 ---> Running in 12e5f878caad 16:48:03 Removing intermediate container 12e5f878caad 16:48:03 ---> 2f59071e510e 16:48:03 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:48:03 ---> Running in 63c8fa343818 16:48:03 Removing intermediate container 63c8fa343818 16:48:03 ---> ae543659663d 16:48:03 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:48:03 ---> Running in d80acd84c268 16:48:03 Removing intermediate container d80acd84c268 16:48:03 ---> 90c810a0b4a3 16:48:03 Step 23/25 : LABEL arch=amd64 16:48:03 ---> Running in f351ad65e9eb 16:48:03 Removing intermediate container f351ad65e9eb 16:48:03 ---> baab2261fec9 16:48:03 Step 24/25 : LABEL git_sha=1006b82fee2d8126722dcf67930a4a31e0e73bd1 16:48:03 ---> Running in caad3636f7ee 16:48:04 Removing intermediate container caad3636f7ee 16:48:04 ---> 5a54065fda99 16:48:04 Step 25/25 : LABEL version=0.0.0 16:48:04 ---> Running in 164aa302980c 16:48:04 Removing intermediate container 164aa302980c 16:48:04 ---> 5166469c718e 16:48:04 [Warning] One or more build-args [ARCH] were not consumed 16:48:04 Successfully built 5166469c718e 16:48:04 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:48:04 16:48:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:48:04 latest: Pulling from edgex-lftools-log-publisher 16:48:04 5eb5b503b376: Pulling fs layer 16:48:04 5c69ac0246d0: Pulling fs layer 16:48:04 ec43610c2a17: Pulling fs layer 16:48:04 3a2ae6a8a46f: Pulling fs layer 16:48:04 33b1e0a273af: Pulling fs layer 16:48:04 5d3b04190fa2: Pulling fs layer 16:48:04 2f39f015ded8: Pulling fs layer 16:48:04 3a2ae6a8a46f: Waiting 16:48:04 33b1e0a273af: Waiting 16:48:04 5d3b04190fa2: Waiting 16:48:04 2f39f015ded8: Waiting 16:48:04 5c69ac0246d0: Download complete 16:48:04 3a2ae6a8a46f: Download complete 16:48:05 33b1e0a273af: Verifying Checksum 16:48:05 33b1e0a273af: Download complete 16:48:05 5d3b04190fa2: Verifying Checksum 16:48:05 5d3b04190fa2: Download complete 16:48:05 ec43610c2a17: Verifying Checksum 16:48:05 ec43610c2a17: Download complete 16:48:05 5eb5b503b376: Verifying Checksum 16:48:05 5eb5b503b376: Download complete 16:48:05 2f39f015ded8: Download complete 16:48:06 5eb5b503b376: Pull complete 16:48:06 5c69ac0246d0: Pull complete 16:48:06 ec43610c2a17: Pull complete 16:48:06 3a2ae6a8a46f: Pull complete 16:48:06 33b1e0a273af: Pull complete 16:48:06 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:10 provisioning config files... 16:48:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config16329692525762623194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:11 2f39f015ded8: Pull complete 16:48:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:48:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:48:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:11 prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container 16:48:11 $ 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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:48:11 ---> docker-login.sh 16:48:11 nexus3.edgexfoundry.org:10001 16:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:11 Configure a credential helper to remove this warning. See 16:48:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:11 16:48:11 Login Succeeded 16:48:11 nexus3.edgexfoundry.org:10002 16:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:12 Configure a credential helper to remove this warning. See 16:48:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:12 16:48:12 Login Succeeded 16:48:12 nexus3.edgexfoundry.org:10003 16:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:12 Configure a credential helper to remove this warning. See 16:48:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:12 16:48:12 Login Succeeded 16:48:12 nexus3.edgexfoundry.org:10004 16:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:12 Configure a credential helper to remove this warning. See 16:48:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:12 16:48:12 Login Succeeded 16:48:12 docker.io 16:48:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:13 Configure a credential helper to remove this warning. See 16:48:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:13 16:48:13 Login Succeeded 16:48:13 ---> docker-login.sh ends 16:48:14 $ docker top c1d26a238f2ad776ade54b9e657705fa9eee3f9c4198bc2aa94fd3dd7ddd7aa6 -eo pid,comm [Pipeline] { [Pipeline] } 16:48:14 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:14 ========================================================= 16:48:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:48:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:15 ---> job-cost.sh 16:48:15 lf-activate-venv: SKIPPING 16:48:15 INFO: No Stack... 16:48:15 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:48:15 INFO: Retrieving Pricing Info for: v3-standard-8 16:48:15 Sending build context to Docker daemon 5.421MB 16:48:15 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:48:15 Step 2/11 : FROM ${BASE} AS builder 16:48:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:48:15 9b18e9b68314: Pulling fs layer 16:48:15 d32db5db7311: Pulling fs layer 16:48:15 d0c4b47475fc: Pulling fs layer 16:48:15 5831b945b038: Pulling fs layer 16:48:15 86bbec2aaacd: Pulling fs layer 16:48:15 e10730c5d714: Pulling fs layer 16:48:15 5dd5c2283517: Pulling fs layer 16:48:15 d5ac0230b979: Pulling fs layer 16:48:15 e10730c5d714: Waiting 16:48:15 5dd5c2283517: Waiting 16:48:15 d5ac0230b979: Waiting 16:48:15 5831b945b038: Waiting 16:48:15 86bbec2aaacd: Waiting 16:48:15 d0c4b47475fc: Verifying Checksum 16:48:15 d0c4b47475fc: Download complete 16:48:15 d32db5db7311: Verifying Checksum 16:48:15 86bbec2aaacd: Verifying Checksum 16:48:15 86bbec2aaacd: Download complete 16:48:15 e10730c5d714: Verifying Checksum 16:48:15 e10730c5d714: Download complete 16:48:15 9b18e9b68314: Verifying Checksum 16:48:15 9b18e9b68314: Download complete 16:48:15 INFO: Archiving Costs [Pipeline] sh 16:48:16 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/cost.csv 16:48:16 + cut -d, -f6 [Pipeline] lock 16:48:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] 16:48:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] did not exist. Created. 16:48:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:48:16 + echo total: 0.2199999988079071 [Pipeline] stash 16:48:16 Stashed 1 file(s) [Pipeline] } 16:48:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:48:16 $ docker stop --time=1 c1d26a238f2ad776ade54b9e657705fa9eee3f9c4198bc2aa94fd3dd7ddd7aa6 16:48:16 9b18e9b68314: Pull complete 16:48:17 d5ac0230b979: Verifying Checksum 16:48:17 d5ac0230b979: Download complete 16:48:17 d32db5db7311: Pull complete 16:48:17 d0c4b47475fc: Pull complete 16:48:17 $ docker rm -f c1d26a238f2ad776ade54b9e657705fa9eee3f9c4198bc2aa94fd3dd7ddd7aa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:48:17 5dd5c2283517: Verifying Checksum 16:48:17 5dd5c2283517: Download complete 16:48:18 5831b945b038: Verifying Checksum 16:48:18 5831b945b038: Download complete 16:48:31 5831b945b038: Pull complete 16:48:31 86bbec2aaacd: Pull complete 16:48:31 e10730c5d714: Pull complete 16:48:36 5dd5c2283517: Pull complete 16:48:39 d5ac0230b979: Pull complete 16:48:39 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 16:48:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:48:39 ---> 59b3b1a385d4 16:48:39 Step 3/11 : ARG MAKE=make build 16:48:40 ---> Running in d07313e3d510 16:48:40 Removing intermediate container d07313e3d510 16:48:40 ---> ed5a7da7e3c2 16:48:40 Step 4/11 : WORKDIR /device-sdk-go 16:48:40 ---> Running in 602acd49b183 16:48:41 Removing intermediate container 602acd49b183 16:48:41 ---> f4844c81d937 16:48:41 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:48:41 ---> Running in 3b8189952b9d 16:48:41 Removing intermediate container 3b8189952b9d 16:48:41 ---> 59894c800e20 16:48:41 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:48:41 ---> Running in cb0a1054405f 16:48:43 Removing intermediate container cb0a1054405f 16:48:43 ---> ebc7eaf75ca4 16:48:43 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:48:43 ---> Running in 228dff517ea4 16:48:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:48:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:48:46 OK: 221 MiB in 51 packages 16:48:47 Removing intermediate container 228dff517ea4 16:48:47 ---> 92583b9b155b 16:48:47 Step 8/11 : COPY go.mod vendor* ./ 16:48:47 ---> ab60b17d886d 16:48:47 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:48:47 ---> Running in 26a12db175c3 16:49:34 Removing intermediate container 26a12db175c3 16:49:34 ---> 698cd2501c88 16:49:34 Step 10/11 : COPY . . 16:49:35 ---> f82c837c0ffa 16:49:35 Step 11/11 : RUN ${MAKE} 16:49:35 ---> Running in e46b89987dc1 16:49:36 noop 16:49:37 Removing intermediate container e46b89987dc1 16:49:37 ---> df60c9559fe7 16:49:37 Successfully built df60c9559fe7 16:49:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:37 + docker inspect -f . ci-base-image-arm64 16:49:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:37 prd-ubuntu20.04-docker-arm64-4c-16g-8479 does not seem to be running inside a container 16:49:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:49:38 $ docker top 7d31c4821412f324856441f569200ae731a98c4f86e04565c0472f80cc53edb0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:39 + go version 16:49:39 go version go1.18.7 linux/arm64 [Pipeline] } 16:49:39 $ docker stop --time=1 7d31c4821412f324856441f569200ae731a98c4f86e04565c0472f80cc53edb0 16:49:41 $ docker rm -f 7d31c4821412f324856441f569200ae731a98c4f86e04565c0472f80cc53edb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:41 + docker inspect -f . ci-base-image-arm64 16:49:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:42 prd-ubuntu20.04-docker-arm64-4c-16g-8479 does not seem to be running inside a container 16:49:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:49:43 $ docker top a3cce5f09d26b5994c187601aacb7fc8f6250ed191436e7be11dd83a3f03a6f3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:43 + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh 16:49:44 + make test 16:49:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:50:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:52:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:52:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:52:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:52:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 16:52:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:52:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.395s coverage: 27.6% of statements 16:52:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.419s coverage: 78.9% of statements 16:52:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 16:52:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.899s coverage: 73.1% of statements 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:52:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:52:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 1.225s coverage: 54.4% of statements 16:52:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:52:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 16:52:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:52:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:52:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 1.079s coverage: 65.1% of statements 16:52:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 16:52:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:52:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.111s coverage: 89.2% of statements 16:52:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.260s coverage: 4.7% of statements 16:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:52:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:52:24 GO111MODULE=on go vet ./... 16:54:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:54:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:54:01 ./bin/test-attribution-txt.sh 16:54:01 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 16:54:01 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:54:01 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:54:01 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:54:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:54:01 $ docker stop --time=1 a3cce5f09d26b5994c187601aacb7fc8f6250ed191436e7be11dd83a3f03a6f3 16:54:03 $ docker rm -f a3cce5f09d26b5994c187601aacb7fc8f6250ed191436e7be11dd83a3f03a6f3 [Pipeline] // withDockerContainer [Pipeline] sh 16:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:54:04 Warning: overwriting stash ‘coverage-report’ 16:54:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:54:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:54:06 + ls -al . 16:54:06 total 272 16:54:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 16:49 . 16:54:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 16:47 .. 16:54:06 -rw-rw-r-- 1 jenkins jenkins 140 Oct 18 16:47 .dockerignore 16:54:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 16:47 .git 16:54:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 16:47 .github 16:54:06 -rw-rw-r-- 1 jenkins jenkins 131 Oct 18 16:47 .gitignore 16:54:06 -rw-rw-r-- 1 jenkins jenkins 42 Oct 18 16:47 .golangci.yml 16:54:06 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 18 16:47 CHANGELOG.md 16:54:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 16:47 GOVERNANCE.md 16:54:06 -rw-rw-r-- 1 jenkins jenkins 880 Oct 18 16:47 Jenkinsfile 16:54:06 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 18 16:47 LICENSE 16:54:06 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 18 16:47 Makefile 16:54:06 -rw-rw-r-- 1 jenkins jenkins 619 Oct 18 16:47 OWNERS.md 16:54:06 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 18 16:47 README.md 16:54:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 16:45 VERSION 16:54:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 16:47 bin 16:54:06 -rw-r--r-- 1 jenkins jenkins 101759 Oct 18 16:52 coverage.out 16:54:06 drwxrwxr-x 5 jenkins jenkins 4096 Oct 18 16:47 example 16:54:06 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 18 16:47 go.mod 16:54:06 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 18 16:47 go.sum 16:54:06 drwxrwxr-x 14 jenkins jenkins 4096 Oct 18 16:47 internal 16:54:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 16:47 openapi 16:54:06 drwxrwxr-x 6 jenkins jenkins 4096 Oct 18 16:47 pkg 16:54:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 16:47 snap 16:54:06 -rw-rw-r-- 1 jenkins jenkins 222 Oct 18 16:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:06 + 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=281a884806df3e84774de3d64ff7bd2c1631bfd9 --label arch=arm64 --label version=0.0.0 . 16:54:06 Sending build context to Docker daemon 5.523MB 16:54:06 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:54:06 Step 2/25 : FROM ${BASE} AS builder 16:54:06 ---> df60c9559fe7 16:54:06 Step 3/25 : ARG MAKE=make build 16:54:06 ---> Running in 1876ab13c24a 16:54:07 Removing intermediate container 1876ab13c24a 16:54:07 ---> 2296cab7d976 16:54:07 Step 4/25 : WORKDIR /device-sdk-go 16:54:07 ---> Running in 62b616d8d12b 16:54:07 Removing intermediate container 62b616d8d12b 16:54:07 ---> 3b3163cdfa0c 16:54:07 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:54:07 ---> Running in 7198a2c01312 16:54:08 Removing intermediate container 7198a2c01312 16:54:08 ---> ed4034351798 16:54:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:54:08 ---> Running in d698f786ef5d 16:54:10 Removing intermediate container d698f786ef5d 16:54:10 ---> f860369e8c24 16:54:10 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:54:10 ---> Running in ebadc9ea1509 16:54:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:54:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:54:12 OK: 221 MiB in 51 packages 16:54:13 Removing intermediate container ebadc9ea1509 16:54:13 ---> 4c2387cdc84b 16:54:13 Step 8/25 : COPY go.mod vendor* ./ 16:54:13 ---> f66e726bd8ae 16:54:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:14 ---> Running in cea592da7997 16:54:15 Removing intermediate container cea592da7997 16:54:15 ---> 5cf65a603ce2 16:54:15 Step 10/25 : COPY . . 16:54:16 ---> 76175be71440 16:54:16 Step 11/25 : RUN ${MAKE} 16:54:16 ---> Running in be79f96bb7c4 16:54:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:56:24 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:56:24 Removing intermediate container be79f96bb7c4 16:56:24 ---> 3206fa48097c 16:56:24 Step 12/25 : FROM alpine:3.16 16:56:24 3.16: Pulling from library/alpine 16:56:24 9b18e9b68314: Already exists 16:56:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:56:24 Status: Downloaded newer image for alpine:3.16 16:56:24 ---> a6215f271958 16:56:24 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:56:24 ---> Running in 09a34744d04f 16:56:24 Removing intermediate container 09a34744d04f 16:56:24 ---> 042a28fc1759 16:56:24 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:56:24 ---> Running in 14aac493dd62 16:56:25 Removing intermediate container 14aac493dd62 16:56:25 ---> a6f9d1e07bf7 16:56:25 Step 15/25 : RUN apk add --update --no-cache zeromq 16:56:26 ---> Running in f39f950ea25f 16:56:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:56:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:56:29 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:56:29 (2/5) Installing libsodium (1.0.18-r0) 16:56:29 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:56:29 (4/5) Installing libzmq (4.3.4-r0) 16:56:30 (5/5) Installing zeromq (4.3.4-r0) 16:56:30 Executing busybox-1.35.0-r17.trigger 16:56:30 OK: 8 MiB in 19 packages 16:56:31 Removing intermediate container f39f950ea25f 16:56:31 ---> a1bffbf0da7c 16:56:31 Step 16/25 : WORKDIR / 16:56:31 ---> Running in 481962ed4ab6 16:56:31 Removing intermediate container 481962ed4ab6 16:56:31 ---> ba944485ad57 16:56:31 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:56:32 ---> 192d071d1978 16:56:32 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:56:33 ---> d2192882e258 16:56:33 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:56:34 ---> 4c1da3e3721a 16:56:34 Step 20/25 : EXPOSE 59999 16:56:34 ---> Running in e2557aa22572 16:56:34 Removing intermediate container e2557aa22572 16:56:34 ---> df188f743530 16:56:34 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:56:34 ---> Running in ef7ae175ab6a 16:56:34 Removing intermediate container ef7ae175ab6a 16:56:34 ---> 1742ec36d410 16:56:34 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:56:35 ---> Running in 8cf03d745904 16:56:35 Removing intermediate container 8cf03d745904 16:56:35 ---> 5c535815e63a 16:56:35 Step 23/25 : LABEL arch=arm64 16:56:35 ---> Running in 1bbf7f584ba5 16:56:35 Removing intermediate container 1bbf7f584ba5 16:56:35 ---> 31f033e08625 16:56:35 Step 24/25 : LABEL git_sha=281a884806df3e84774de3d64ff7bd2c1631bfd9 16:56:35 ---> Running in 3f0e4a005a8a 16:56:36 Removing intermediate container 3f0e4a005a8a 16:56:36 ---> 5a16452980c5 16:56:36 Step 25/25 : LABEL version=0.0.0 16:56:36 ---> Running in c730a2d418e2 16:56:36 Removing intermediate container c730a2d418e2 16:56:36 ---> a0b9d4bfc079 16:56:36 [Warning] One or more build-args [ARCH] were not consumed 16:56:36 Successfully built a0b9d4bfc079 16:56:36 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:56:36 16:56:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:56:37 arm64: Pulling from edgex-lftools-log-publisher 16:56:37 8998bd30e6a1: Pulling fs layer 16:56:37 04944245beec: Pulling fs layer 16:56:37 699f458cf7ca: Pulling fs layer 16:56:37 765212b225bb: Pulling fs layer 16:56:37 f23df028b6ca: Pulling fs layer 16:56:37 d65c8cfc05b1: Pulling fs layer 16:56:37 2437ff75d9bd: Pulling fs layer 16:56:37 f23df028b6ca: Waiting 16:56:37 d65c8cfc05b1: Waiting 16:56:37 2437ff75d9bd: Waiting 16:56:37 765212b225bb: Waiting 16:56:37 04944245beec: Verifying Checksum 16:56:37 04944245beec: Download complete 16:56:37 765212b225bb: Download complete 16:56:37 f23df028b6ca: Download complete 16:56:37 d65c8cfc05b1: Verifying Checksum 16:56:37 d65c8cfc05b1: Download complete 16:56:37 699f458cf7ca: Download complete 16:56:38 8998bd30e6a1: Verifying Checksum 16:56:38 8998bd30e6a1: Download complete 16:56:40 2437ff75d9bd: Verifying Checksum 16:56:40 2437ff75d9bd: Download complete 16:56:42 8998bd30e6a1: Pull complete 16:56:42 04944245beec: Pull complete 16:56:43 699f458cf7ca: Pull complete 16:56:44 765212b225bb: Pull complete 16:56:44 f23df028b6ca: Pull complete 16:56:44 d65c8cfc05b1: Pull complete 16:56:59 2437ff75d9bd: Pull complete 16:56:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:56:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:56:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:00 prd-ubuntu20.04-docker-arm64-4c-16g-8479 does not seem to be running inside a container 16:57:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:57:03 $ docker top c25c70315d80217301a8ac35fc9bf15f0dde438925b12213cab1e0f50a52089a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:57:04 ---> job-cost.sh 16:57:04 lf-activate-venv: SKIPPING 16:57:04 INFO: No Stack... 16:57:05 INFO: Retrieving Pricing Info for: v3-standard-4 16:57:05 INFO: Archiving Costs [Pipeline] sh 16:57:05 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 16:57:05 + cut -d, -f6 [Pipeline] lock 16:57:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] 16:57:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] did not exist. Created. 16:57:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:57:06 /w/workspace/device-sdk-go/4@tmp/durable-a6ce0ba9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:57:07 + echo total: 0.10999999940395355 [Pipeline] stash 16:57:07 Warning: overwriting stash ‘stack-cost’ 16:57:07 Stashed 1 file(s) [Pipeline] } 16:57:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1239-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:57:07 $ docker stop --time=1 c25c70315d80217301a8ac35fc9bf15f0dde438925b12213cab1e0f50a52089a 16:57:08 $ docker rm -f c25c70315d80217301a8ac35fc9bf15f0dde438925b12213cab1e0f50a52089a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:57:09 provisioning config files... 16:57:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config7508355609298224787tmp [Pipeline] { [Pipeline] sh 16:57:09 + set +x 16:57:09 + curl -s https://codecov.io/bash 16:57:09 + bash -s -- 16:57:09 16:57:09 _____ _ 16:57:09 / ____| | | 16:57:09 | | ___ __| | ___ ___ _____ __ 16:57:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:57:09 | |___| (_) | (_| | __/ (_| (_) \ V / 16:57:09 \_____\___/ \__,_|\___|\___\___/ \_/ 16:57:09 Bash-1.0.6 16:57:09 16:57:09 16:57:09 ==> git version 2.25.1 found 16:57:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:57:09 Release-Date: 2020-01-08 16:57:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:57:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:57:09 ==> Jenkins CI detected. 16:57:09 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1239 16:57:09 project root: . 16:57:09 --> token set from env 16:57:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:57:09 ==> Running gcov in . (disable via -X gcov) 16:57:09 ==> Python coveragepy not found 16:57:09 ==> Searching for coverage reports in: 16:57:09 + . 16:57:09 -> Found 1 reports 16:57:09 ==> Detecting git/mercurial file structure 16:57:09 ==> Reading reports 16:57:09 + ./coverage.out bytes=101759 16:57:09 ==> Appending adjustments 16:57:09 https://docs.codecov.io/docs/fixing-reports 16:57:10 + Found adjustments 16:57:10 ==> Gzipping contents 16:57:10 16K /tmp/codecov.Sl9cyE.gz 16:57:10 ==> Uploading reports 16:57:10 url: https://codecov.io 16:57:10 query: branch=PR-1239&commit=1006b82fee2d8126722dcf67930a4a31e0e73bd1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1239%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1239&job=&cmd_args= 16:57:10 -> Pinging Codecov 16:57:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1239&commit=1006b82fee2d8126722dcf67930a4a31e0e73bd1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1239%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1239&job=&cmd_args= 16:57:10 -> Uploading to 16:57:10 https://storage.googleapis.com/codecov/v4/raw/2022-10-18/7E55EF52A471D76F132DFD9A03CDDE97/1006b82fee2d8126722dcf67930a4a31e0e73bd1/30ca3773-7f7d-47a8-82fb-061ceb20fa67.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221018T165710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6262b319dd246090411907129281004c622ba8d8c51dbd9c2791c53a357d5c06 16:57:10 % Total % Received % Xferd Average Speed Time Time Time Current 16:57:10 Dload Upload Total Spent Left Speed 16:57:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14705 0 0 100 14705 0 64495 --:--:-- --:--:-- --:--:-- 64495 16:57:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1006b82fee2d8126722dcf67930a4a31e0e73bd1 [Pipeline] } 16:57:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:57:11 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives ] 16:57:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives 16:57:11 total 16 16:57:11 drwxr-xr-x 3 root root 4096 Oct 18 16:48 . 16:57:11 drwxrwxr-x 12 jenkins jenkins 4096 Oct 18 16:48 .. 16:57:11 drwxr-xr-x 2 root root 4096 Oct 18 16:48 cost 16:57:11 -rw-r--r-- 1 root root 86 Oct 18 16:48 cost.csv 16:57:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives 16:57:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives 16:57:11 total 16 16:57:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 16:48 . 16:57:11 drwxrwxr-x 12 jenkins jenkins 4096 Oct 18 16:48 .. 16:57:11 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 16:48 cost 16:57:11 -rw-r--r-- 1 jenkins jenkins 86 Oct 18 16:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:57:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:57:12 ---> package-listing.sh 16:57:12 ++ facter osfamily 16:57:12 ++ tr '[:upper:]' '[:lower:]' 16:57:12 + OS_FAMILY=debian 16:57:12 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1239 16:57:12 + START_PACKAGES=/tmp/packages_start.txt 16:57:12 + END_PACKAGES=/tmp/packages_end.txt 16:57:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:57:12 + PACKAGES=/tmp/packages_start.txt 16:57:12 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1239 ']' 16:57:12 + PACKAGES=/tmp/packages_end.txt 16:57:12 + case "${OS_FAMILY}" in 16:57:12 + dpkg -l 16:57:12 + grep '^ii' 16:57:12 + '[' -f /tmp/packages_start.txt ']' 16:57:12 + '[' -f /tmp/packages_end.txt ']' 16:57:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:57:12 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1239 ']' 16:57:12 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/ 16:57:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1239/archives/ [Pipeline] echo 16:57:12 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-1239/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:57:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:57:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:13 prd-ubuntu20.04-docker-8c-8g-8477 does not seem to be running inside a container 16:57:13 $ 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-1239/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-1239 -v /w/workspace/gexfoundry_device-sdk-go_PR-1239:/w/workspace/gexfoundry_device-sdk-go_PR-1239:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:57:14 $ docker top cb76ab5bc80344422de744b2b1da19f371d50a091034d9c097831d6f16b111c5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:57:15 + touch /tmp/pre-build-complete [Pipeline] sh 16:57:15 + mkdir -p /var/log/sysstat [Pipeline] sh 16:57:15 + ls /var/log/sa-host 16:57:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:57:15 provisioning config files... 16:57:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1239@tmp/config9751779977100650816tmp [Pipeline] { [Pipeline] echo 16:57:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:57:16 ---> create-netrc.sh [Pipeline] } 16:57:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:57:16 ---> python-tools-install.sh [Pipeline] echo 16:57:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:57:16 ---> sudo-logs.sh 16:57:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:57:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:57:17 ---> job-cost.sh 16:57:17 lf-activate-venv: SKIPPING 16:57:17 DEBUG: total: 0.2199999988079071 16:57:17 INFO: Retrieving Stack Cost... 16:57:17 INFO: Retrieving Pricing Info for: v3-standard-8 16:57:17 INFO: Archiving Costs [Pipeline] echo 16:57:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:57:18 ---> logs-deploy.sh 16:57:18 lf-activate-venv: SKIPPING 16:57:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1239/4 16:57:18 INFO: archiving workspace using pattern(s): 16:57:19 Archives upload complete. 16:57:19 INFO: archiving logs to Nexus 16:57:20 ---> uname -a: 16:57:20 Linux prd-ubuntu20-04-docker-8c-8g-8477 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:57:20 16:57:20 16:57:20 ---> lscpu: 16:57:20 Architecture: x86_64 16:57:20 CPU op-mode(s): 32-bit, 64-bit 16:57:20 Byte Order: Little Endian 16:57:20 Address sizes: 40 bits physical, 48 bits virtual 16:57:20 CPU(s): 8 16:57:20 On-line CPU(s) list: 0-7 16:57:20 Thread(s) per core: 1 16:57:20 Core(s) per socket: 1 16:57:20 Socket(s): 8 16:57:20 NUMA node(s): 1 16:57:20 Vendor ID: AuthenticAMD 16:57:20 CPU family: 23 16:57:20 Model: 49 16:57:20 Model name: AMD EPYC-Rome Processor 16:57:20 Stepping: 0 16:57:20 CPU MHz: 2799.956 16:57:20 BogoMIPS: 5599.91 16:57:20 Virtualization: AMD-V 16:57:20 Hypervisor vendor: KVM 16:57:20 Virtualization type: full 16:57:20 L1d cache: 256 KiB 16:57:20 L1i cache: 256 KiB 16:57:20 L2 cache: 4 MiB 16:57:20 L3 cache: 128 MiB 16:57:20 NUMA node0 CPU(s): 0-7 16:57:20 Vulnerability Itlb multihit: Not affected 16:57:20 Vulnerability L1tf: Not affected 16:57:20 Vulnerability Mds: Not affected 16:57:20 Vulnerability Meltdown: Not affected 16:57:20 Vulnerability Mmio stale data: Not affected 16:57:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:57:20 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:57:20 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:57:20 Vulnerability Srbds: Not affected 16:57:20 Vulnerability Tsx async abort: Not affected 16:57:20 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:57:20 16:57:20 16:57:20 ---> nproc: 16:57:20 8 16:57:20 16:57:20 16:57:20 ---> df -h: 16:57:20 Filesystem Size Used Avail Use% Mounted on 16:57:20 overlay 155G 12G 144G 8% / 16:57:20 tmpfs 64M 0 64M 0% /dev 16:57:20 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:57:20 shm 64M 0 64M 0% /dev/shm 16:57:20 /dev/vda1 155G 12G 144G 8% /facter-os 16:57:20 16:57:20