Pull request #1252 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 fe214e273ee57afb55811828a0c299617b9a5849+8250e301d92a025f83865f5663963929d81085da (52c75a0806ee03dbb0999c8c32f466c445ebe4c1) 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-ssh16079989725025467772.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-ssh14822990454062440887.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-1252/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-1252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2486613222533368806.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-ssh13360787963361345285.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-1252/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-1252/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh873476718742990162.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 ‘prd-ubuntu20.04-docker-8c-8g-117743’ is offline Running on prd-ubuntu20.04-docker-8c-8g-117745 in /w/workspace/gexfoundry_device-sdk-go_PR-1252 [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-1252 # 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/1252/head:refs/remotes/origin/PR-1252 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit fe214e273ee57afb55811828a0c299617b9a5849 Merge succeeded, producing 5bba170451d0dce67eb273271a2ef719c3573c6c Checking out Revision 5bba170451d0dce67eb273271a2ef719c3573c6c (PR-1252) > git config core.sparsecheckout # timeout=10 > git checkout -f fe214e273ee57afb55811828a0c299617b9a5849 # 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 8250e301d92a025f83865f5663963929d81085da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bba170451d0dce67eb273271a2ef719c3573c6c # timeout=10 Commit message: "Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:24:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:24:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:24:33 ========================================================= 17:24:33 EdgeX Global Pipelines Version Info 17:24:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:24:33 ------------------- 17:24:33 stable info: 17:24:33 ------------------- 17:24:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:24:33 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 17:24:33 Message: update stable to v1.0.243 > git rev-list --no-walk 53c794fe567d8de765249db7322f4c53eed1de5b # timeout=10 17:24:34 ------------------- 17:24:34 experimental info: 17:24:34 ------------------- 17:24:34 Commited By: **** collab-it+edgex@linuxfoundation.org 17:24:34 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 17:24:34 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1252 [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1252 [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1252 [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bba170451d0dce67eb273271a2ef719c3573c6c [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bba170 [Pipeline] echo 17:24:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:34 provisioning config files... 17:24:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config1928847855987222555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:35 ---> docker-login.sh 17:24:35 nexus3.edgexfoundry.org:10001 17:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:35 Configure a credential helper to remove this warning. See 17:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:35 17:24:35 Login Succeeded 17:24:35 nexus3.edgexfoundry.org:10002 17:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:35 Configure a credential helper to remove this warning. See 17:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:35 17:24:35 Login Succeeded 17:24:35 nexus3.edgexfoundry.org:10003 17:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:35 Configure a credential helper to remove this warning. See 17:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:35 17:24:35 Login Succeeded 17:24:35 nexus3.edgexfoundry.org:10004 17:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:35 Configure a credential helper to remove this warning. See 17:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:35 17:24:35 Login Succeeded 17:24:35 docker.io 17:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:36 Configure a credential helper to remove this warning. See 17:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:36 17:24:36 Login Succeeded 17:24:36 ---> docker-login.sh ends [Pipeline] } 17:24:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:24:36 + git rev-list -1 --merges 5bba170451d0dce67eb273271a2ef719c3573c6c~1..5bba170451d0dce67eb273271a2ef719c3573c6c [Pipeline] echo 17:24:36 -----------> git rev-list -1 --merges 5bba170451d0dce67eb273271a2ef719c3573c6c~1..5bba170451d0dce67eb273271a2ef719c3573c6c 5bba170451d0dce67eb273271a2ef719c3573c6c 17:24:36 5bba170451d0dce67eb273271a2ef719c3573c6c [false] [Pipeline] sh 17:24:36 + git log --format=format:%s -1 5bba170451d0dce67eb273271a2ef719c3573c6c [Pipeline] echo 17:24:36 ========================================================= 17:24:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:24:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:24:37 + git log --format=format:%s -1 5bba170451d0dce67eb273271a2ef719c3573c6c [Pipeline] echo 17:24:37 [semverPrep] GIT_COMMIT: 5bba170451d0dce67eb273271a2ef719c3573c6c, Commit Message: Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD [Pipeline] echo 17:24:37 [semverPrep] This is not a build commit. [Pipeline] sh 17:24:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:24:37 + grep -v github /etc/ssh/ssh_known_hosts 17:24:37 + [ -e /tmp/ssh_known_hosts ] 17:24:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:24:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:24:37 + sudo tee -a /etc/ssh/ssh_known_hosts 17:24:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:24:37 17:24:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:24:38 0.1.4: Pulling from edgex-devops/py-git-semver 17:24:38 b85a868b505f: Pulling fs layer 17:24:38 e2be974225ed: Pulling fs layer 17:24:38 339a4e72a1f5: Pulling fs layer 17:24:38 988bab9f4d93: Pulling fs layer 17:24:38 1469e6f7b9e6: Pulling fs layer 17:24:38 eaf3925da568: Pulling fs layer 17:24:38 bab4dde63d76: Pulling fs layer 17:24:38 bde34c3a00c8: Pulling fs layer 17:24:38 b352a97aabf1: Pulling fs layer 17:24:38 4872d77fe225: Pulling fs layer 17:24:38 5851b861e8e6: Pulling fs layer 17:24:38 bab4dde63d76: Waiting 17:24:38 bde34c3a00c8: Waiting 17:24:38 5851b861e8e6: Waiting 17:24:38 b352a97aabf1: Waiting 17:24:38 4872d77fe225: Waiting 17:24:38 988bab9f4d93: Waiting 17:24:38 1469e6f7b9e6: Waiting 17:24:38 eaf3925da568: Waiting 17:24:38 e2be974225ed: Verifying Checksum 17:24:38 e2be974225ed: Download complete 17:24:38 988bab9f4d93: Verifying Checksum 17:24:38 988bab9f4d93: Download complete 17:24:38 1469e6f7b9e6: Verifying Checksum 17:24:38 1469e6f7b9e6: Download complete 17:24:38 eaf3925da568: Verifying Checksum 17:24:38 eaf3925da568: Download complete 17:24:38 339a4e72a1f5: Verifying Checksum 17:24:38 339a4e72a1f5: Download complete 17:24:38 bde34c3a00c8: Verifying Checksum 17:24:38 bde34c3a00c8: Download complete 17:24:38 b352a97aabf1: Download complete 17:24:38 4872d77fe225: Download complete 17:24:38 5851b861e8e6: Download complete 17:24:38 b85a868b505f: Verifying Checksum 17:24:38 b85a868b505f: Download complete 17:24:38 bab4dde63d76: Verifying Checksum 17:24:38 bab4dde63d76: Download complete 17:24:40 b85a868b505f: Pull complete 17:24:40 e2be974225ed: Pull complete 17:24:40 339a4e72a1f5: Pull complete 17:24:40 988bab9f4d93: Pull complete 17:24:41 1469e6f7b9e6: Pull complete 17:24:41 eaf3925da568: Pull complete 17:24:42 bab4dde63d76: Pull complete 17:24:42 bde34c3a00c8: Pull complete 17:24:42 b352a97aabf1: Pull complete 17:24:43 4872d77fe225: Pull complete 17:24:43 5851b861e8e6: Pull complete 17:24:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:24:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:43 prd-ubuntu20.04-docker-8c-8g-117745 does not seem to be running inside a container 17:24:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:24:45 $ docker top 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 -eo pid,comm 17:24:45 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). 17:24:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:24:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:24:45 [ssh-agent] Looking for ssh-agent implementation... 17:24:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:24:45 $ docker exec 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 ssh-agent 17:24:45 SSH_AUTH_SOCK=/tmp/ssh-QJTMjMCpPO7P/agent.33 17:24:45 SSH_AGENT_PID=39 17:24:45 Running ssh-add (command line suppressed) 17:24:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_2138615059124549391.key (/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_2138615059124549391.key) 17:24:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:24:46 + git tag --points-at HEAD [Pipeline] } 17:24:46 $ docker exec --env ******** --env ******** 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 ssh-agent -k 17:24:46 unset SSH_AUTH_SOCK; 17:24:46 unset SSH_AGENT_PID; 17:24:46 echo Agent pid 39 killed; 17:24:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:24:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:24:46 [ssh-agent] Looking for ssh-agent implementation... 17:24:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:24:46 $ docker exec 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 ssh-agent 17:24:46 SSH_AUTH_SOCK=/tmp/ssh-ExCG285iv6qd/agent.72 17:24:46 SSH_AGENT_PID=78 17:24:46 Running ssh-add (command line suppressed) 17:24:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_12501481611910383080.key (/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/private_key_12501481611910383080.key) 17:24:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:24:47 + git semver init 17:24:47 2022-11-01 17:24:47,331 [run_init] DEBUG init version:0.0.0 force:False 17:24:47 2022-11-01 17:24:47,332 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver 17:24:47 2022-11-01 17:24:47,333 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver 17:24:47 2022-11-01 17:24:47,333 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1252, universal_newlines=False, shell=None, istream=None) 17:24:48 2022-11-01 17:24:48,340 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.git/info/exclude 17:24:48 2022-11-01 17:24:48,341 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 with force:False 17:24:48 2022-11-01 17:24:48,341 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 17:24:48 2022-11-01 17:24:48,346 [execute] INFO git cat-file --batch-check 17:24:48 2022-11-01 17:24:48,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver, universal_newlines=False, shell=None, istream=) 17:24:48 2022-11-01 17:24:48,354 [execute] INFO git cat-file --batch 17:24:48 2022-11-01 17:24:48,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver, universal_newlines=False, shell=None, istream=) 17:24:48 2022-11-01 17:24:48,361 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1252/.semver/PR-1252 17:24:48 0.0.0 [Pipeline] } 17:24:48 $ docker exec --env ******** --env ******** 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 ssh-agent -k 17:24:48 unset SSH_AUTH_SOCK; 17:24:48 unset SSH_AGENT_PID; 17:24:48 echo Agent pid 78 killed; 17:24:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:24:49 + git semver [Pipeline] } 17:24:49 $ docker stop --time=1 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 17:24:50 $ docker rm -f 0e009ab2d67b368d769c90417a8321f1d34deb1bb9a1c210034f144761552116 [Pipeline] // withDockerContainer [Pipeline] sh 17:24:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:24:51 Stashed 1 file(s) [Pipeline] echo 17:24: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 17:24:51 provisioning config files... 17:24:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config17151397925583240196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:51 ---> docker-login.sh 17:24:51 nexus3.edgexfoundry.org:10001 17:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:51 Configure a credential helper to remove this warning. See 17:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:51 17:24:51 Login Succeeded 17:24:51 nexus3.edgexfoundry.org:10002 17:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:51 Configure a credential helper to remove this warning. See 17:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:51 17:24:51 Login Succeeded 17:24:51 nexus3.edgexfoundry.org:10003 17:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:52 Configure a credential helper to remove this warning. See 17:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:52 17:24:52 Login Succeeded 17:24:52 nexus3.edgexfoundry.org:10004 17:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:52 Configure a credential helper to remove this warning. See 17:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:52 17:24:52 Login Succeeded 17:24:52 docker.io 17:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:52 Configure a credential helper to remove this warning. See 17:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:52 17:24:52 Login Succeeded 17:24:52 ---> docker-login.sh ends [Pipeline] } 17:24:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:24:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:24:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:24:52 ========================================================= 17:24:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:24:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:52 + 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 . 17:24:52 Sending build context to Docker daemon 10.11MB 17:24:52 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:24:52 Step 2/10 : FROM ${BASE} AS builder 17:24:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:24:52 213ec9aee27d: Pulling fs layer 17:24:52 4583459ba037: Pulling fs layer 17:24:52 93c1e223e6f2: Pulling fs layer 17:24:52 53926ce57604: Pulling fs layer 17:24:52 21b2b0c7a3f4: Pulling fs layer 17:24:52 30f14e443154: Pulling fs layer 17:24:52 801331c1e519: Pulling fs layer 17:24:52 99cc6dd402b0: Pulling fs layer 17:24:52 7d9ed39f4882: Pulling fs layer 17:24:52 21b2b0c7a3f4: Waiting 17:24:52 30f14e443154: Waiting 17:24:52 801331c1e519: Waiting 17:24:52 7d9ed39f4882: Waiting 17:24:52 53926ce57604: Waiting 17:24:52 99cc6dd402b0: Waiting 17:24:53 93c1e223e6f2: Download complete 17:24:53 4583459ba037: Verifying Checksum 17:24:53 4583459ba037: Download complete 17:24:53 21b2b0c7a3f4: Download complete 17:24:53 30f14e443154: Download complete 17:24:53 213ec9aee27d: Verifying Checksum 17:24:53 213ec9aee27d: Download complete 17:24:53 801331c1e519: Verifying Checksum 17:24:53 801331c1e519: Download complete 17:24:53 213ec9aee27d: Pull complete 17:24:53 4583459ba037: Pull complete 17:24:53 93c1e223e6f2: Pull complete 17:24:53 7d9ed39f4882: Verifying Checksum 17:24:53 7d9ed39f4882: Download complete 17:24:53 99cc6dd402b0: Verifying Checksum 17:24:53 99cc6dd402b0: Download complete 17:24:53 53926ce57604: Verifying Checksum 17:24:53 53926ce57604: Download complete 17:24:58 53926ce57604: Pull complete 17:24:58 21b2b0c7a3f4: Pull complete 17:24:58 30f14e443154: Pull complete 17:24:58 801331c1e519: Pull complete 17:25:00 99cc6dd402b0: Pull complete 17:25:00 7d9ed39f4882: Pull complete 17:25:00 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 17:25:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:25:00 ---> 1dedd983c030 17:25:00 Step 3/10 : ARG MAKE=make build 17:25:05 ---> Running in 6114ab737aa7 17:25:05 Removing intermediate container 6114ab737aa7 17:25:05 ---> a7b7b060ced4 17:25:05 Step 4/10 : WORKDIR /device-sdk-go 17:25:05 ---> Running in 2590ff7e1355 17:25:05 Removing intermediate container 2590ff7e1355 17:25:05 ---> 10bf24fb3d31 17:25:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:25:05 ---> Running in 54a73114f319 17:25:05 Removing intermediate container 54a73114f319 17:25:05 ---> f8873c802643 17:25:05 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:25:05 ---> Running in 12771243e2a0 17:25:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:25:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:25:05 OK: 211 MiB in 51 packages 17:25:05 Removing intermediate container 12771243e2a0 17:25:05 ---> a4d9e2fce03f 17:25:05 Step 7/10 : COPY go.mod vendor* ./ 17:25:05 ---> 1465f396fd4a 17:25:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:05 ---> Running in bdad01fdabef 17:25:06 Still waiting to schedule task 17:25:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117744’ is offline 17:25:27 Removing intermediate container bdad01fdabef 17:25:27 ---> e4a7c7016c00 17:25:27 Step 9/10 : COPY . . 17:25:27 ---> e6cef89ed881 17:25:27 Step 10/10 : RUN ${MAKE} 17:25:27 ---> Running in 5847288e231c 17:25:27 noop 17:25:27 Removing intermediate container 5847288e231c 17:25:27 ---> 91741fac9c9d 17:25:27 Successfully built 91741fac9c9d 17:25:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:28 + docker inspect -f . ci-base-image-x86_64 17:25:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:28 prd-ubuntu20.04-docker-8c-8g-117745 does not seem to be running inside a container 17:25:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:25:28 $ docker top 11b3e42469b9818dff61efdbde3cee55bf63e00f7a18540e44c636827ff90a7d -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:28 + go version 17:25:28 go version go1.18.7 linux/amd64 [Pipeline] } 17:25:29 $ docker stop --time=1 11b3e42469b9818dff61efdbde3cee55bf63e00f7a18540e44c636827ff90a7d 17:25:30 $ docker rm -f 11b3e42469b9818dff61efdbde3cee55bf63e00f7a18540e44c636827ff90a7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:30 + docker inspect -f . ci-base-image-x86_64 17:25:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:30 prd-ubuntu20.04-docker-8c-8g-117745 does not seem to be running inside a container 17:25:30 $ 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-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:25:31 $ docker top fb4a35012eb500d51acd95bea6a5661371df1a10fe10fc7edea8c5ef787a250d -eo pid,comm [Pipeline] { [Pipeline] sh 17:25:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1252 [Pipeline] fileExists [Pipeline] sh 17:25:31 + make test 17:25:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:25:38 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:25:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.080s coverage: 27.6% of statements 17:25:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 17:25:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.097s coverage: 73.1% of statements 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:25:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:25:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:25:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.751s coverage: 89.2% of statements 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 17:25:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 4.7% of statements 17:25:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:26:11 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." 17:26:11 GO111MODULE=on go vet ./... 17:26:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:26:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:26:13 ./bin/test-attribution-txt.sh 17:26:13 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 17:26:13 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 17:26:13 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 17:26:13 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 17:26:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:26:13 $ docker stop --time=1 fb4a35012eb500d51acd95bea6a5661371df1a10fe10fc7edea8c5ef787a250d 17:26:16 $ docker rm -f fb4a35012eb500d51acd95bea6a5661371df1a10fe10fc7edea8c5ef787a250d [Pipeline] // withDockerContainer [Pipeline] sh 17:26:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:26:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:26:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:26:17 + ls -al . 17:26:17 total 280 17:26:17 drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 17:25 . 17:26:17 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:24 .. 17:26:17 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 17:24 .dockerignore 17:26:17 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:25 .git 17:26:17 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:24 .github 17:26:17 -rw-rw-r-- 1 jenkins jenkins 131 Nov 1 17:24 .gitignore 17:26:17 -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 17:24 .golangci.yml 17:26:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:24 .semver 17:26:17 -rw-rw-r-- 1 jenkins jenkins 31677 Nov 1 17:24 CHANGELOG.md 17:26:17 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 17:24 GOVERNANCE.md 17:26:17 -rw-rw-r-- 1 jenkins jenkins 880 Nov 1 17:24 Jenkinsfile 17:26:17 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 17:24 LICENSE 17:26:17 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 1 17:24 Makefile 17:26:17 -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 17:24 OWNERS.md 17:26:17 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 1 17:24 README.md 17:26:17 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 17:24 VERSION 17:26:17 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:24 bin 17:26:17 -rw-r--r-- 1 jenkins jenkins 101759 Nov 1 17:25 coverage.out 17:26:17 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 17:24 example 17:26:17 -rw-rw-r-- 1 jenkins jenkins 3389 Nov 1 17:24 go.mod 17:26:17 -rw-rw-r-- 1 jenkins jenkins 44507 Nov 1 17:24 go.sum 17:26:17 drwxrwxr-x 14 jenkins jenkins 4096 Nov 1 17:24 internal 17:26:17 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:24 openapi 17:26:17 drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 17:24 pkg 17:26:17 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:24 snap 17:26:17 -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 17:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:18 + 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=5bba170451d0dce67eb273271a2ef719c3573c6c --label arch=amd64 --label version=0.0.0 . 17:26:18 Sending build context to Docker daemon 10.21MB 17:26:18 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:26:18 Step 2/23 : FROM ${BASE} AS builder 17:26:18 ---> 91741fac9c9d 17:26:18 Step 3/23 : ARG MAKE=make build 17:26:18 ---> Running in 09111cfd703d 17:26:18 Removing intermediate container 09111cfd703d 17:26:18 ---> c6dda4804208 17:26:18 Step 4/23 : WORKDIR /device-sdk-go 17:26:18 ---> Running in bd90a6bc7103 17:26:18 Removing intermediate container bd90a6bc7103 17:26:18 ---> 807a257fdffb 17:26:18 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:26:18 ---> Running in 9fc384bff5bd 17:26:18 Removing intermediate container 9fc384bff5bd 17:26:18 ---> 61191147f331 17:26:18 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:26:18 ---> Running in 216bc370b148 17:26:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:26:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:26:19 OK: 211 MiB in 51 packages 17:26:19 Removing intermediate container 216bc370b148 17:26:19 ---> 9443bcf37008 17:26:19 Step 7/23 : COPY go.mod vendor* ./ 17:26:19 ---> 41480fe8461b 17:26:19 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:19 ---> Running in 97e5ec49a815 17:26:20 Removing intermediate container 97e5ec49a815 17:26:20 ---> ef9771df3e3d 17:26:20 Step 9/23 : COPY . . 17:26:20 ---> 6bfe3656e080 17:26:20 Step 10/23 : RUN ${MAKE} 17:26:20 ---> Running in aa676f5dd6eb 17:26:20 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 17:26:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117746 in /w/workspace/gexfoundry_device-sdk-go_PR-1252 [Pipeline] { [Pipeline] ws 17:26:35 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:26:35 The recommended git tool is: git 17:26:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:26:39 using credential edgex-jenkins-ssh 17:26:39 Cloning the remote Git repository 17:26:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:26:39 > git init /w/workspace/device-sdk-go/2 # timeout=10 17:26:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:26:39 > git --version # timeout=10 17:26:39 > git --version # 'git version 2.25.1' 17:26:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:39 Verifying host key using known hosts file 17:26:40 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. 17:26:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:26:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:26:43 Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit fe214e273ee57afb55811828a0c299617b9a5849 17:26:43 Removing intermediate container aa676f5dd6eb 17:26:43 ---> d8166c9bfdd7 17:26:43 Step 11/23 : FROM alpine:3.16 17:26:43 3.16: Pulling from library/alpine 17:26:43 213ec9aee27d: Already exists 17:26:43 Merge succeeded, producing 0d8540a62ee72219f1fc71b10188107ac82e8b69 17:26:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:26:43 Status: Downloaded newer image for alpine:3.16 17:26:43 ---> 9c6f07244728 17:26:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:26:43 ---> Running in ea244e361149 17:26:43 Removing intermediate container ea244e361149 17:26:43 ---> 3b2565e212fd 17:26:43 Step 13/23 : RUN apk add --update --no-cache zeromq 17:26:43 ---> Running in dcce81e874e3 17:26:43 Checking out Revision 0d8540a62ee72219f1fc71b10188107ac82e8b69 (PR-1252) 17:26:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:26:42 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:42 Verifying host key using known hosts file 17:26:42 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. 17:26:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1252/head:refs/remotes/origin/PR-1252 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:26:43 > git config core.sparsecheckout # timeout=10 17:26:43 > git checkout -f fe214e273ee57afb55811828a0c299617b9a5849 # timeout=10 17:26:43 > git remote # timeout=10 17:26:43 > git config --get remote.origin.url # timeout=10 17:26:43 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:43 Verifying host key using known hosts file 17:26: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. 17:26:43 > git merge 8250e301d92a025f83865f5663963929d81085da # timeout=10 17:26:43 > git rev-parse HEAD^{commit} # timeout=10 17:26:43 > git config core.sparsecheckout # timeout=10 17:26:43 > git checkout -f 0d8540a62ee72219f1fc71b10188107ac82e8b69 # timeout=10 17:26:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:26:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:26:44 (1/5) Installing libgcc (11.2.1_git20220219-r2) 17:26:44 (2/5) Installing libsodium (1.0.18-r0) 17:26:44 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 17:26:44 (4/5) Installing libzmq (4.3.4-r0) 17:26:44 (5/5) Installing zeromq (4.3.4-r0) 17:26:44 Executing busybox-1.35.0-r17.trigger 17:26:44 OK: 8 MiB in 19 packages 17:26:44 Removing intermediate container dcce81e874e3 17:26:44 ---> 706a77dfa1df 17:26:44 Step 14/23 : WORKDIR / 17:26:44 ---> Running in c80fd70c73fa 17:26:44 Removing intermediate container c80fd70c73fa 17:26:44 ---> af6dc3208531 17:26:44 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:26:44 ---> c3342b69a2c2 17:26:44 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:26:45 ---> 2eba8499b505 17:26:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:26:45 ---> f0edbd9b9c9f 17:26:45 Step 18/23 : EXPOSE 59999 17:26:45 ---> Running in b99658cf08e7 17:26:46 Removing intermediate container b99658cf08e7 17:26:46 ---> 746f366b8239 17:26:46 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:26:46 ---> Running in 0f5e2c1e0136 17:26:46 Removing intermediate container 0f5e2c1e0136 17:26:46 ---> b53da5f9954a 17:26:46 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:26:46 ---> Running in 82f31fb5c226 17:26:46 Removing intermediate container 82f31fb5c226 17:26:46 ---> 5c3a8440ef19 17:26:46 Step 21/23 : LABEL arch=amd64 17:26:46 ---> Running in d27c96ab62bf 17:26:46 Removing intermediate container d27c96ab62bf 17:26:46 ---> 4fd734339168 17:26:46 Step 22/23 : LABEL git_sha=5bba170451d0dce67eb273271a2ef719c3573c6c 17:26:46 ---> Running in 837fa8c4043b 17:26:46 Removing intermediate container 837fa8c4043b 17:26:46 ---> 88241fb42427 17:26:46 Step 23/23 : LABEL version=0.0.0 17:26:46 ---> Running in 8da9a03f93d0 17:26:46 Removing intermediate container 8da9a03f93d0 17:26:46 ---> 42b287b8f152 17:26:46 [Warning] One or more build-args [ARCH] were not consumed 17:26:46 Successfully built 42b287b8f152 17:26:46 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 17:26:46 Commit message: "Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD" 17:26:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:46 17:26:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:47 First time build. Skipping changelog. 17:26:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:47 latest: Pulling from edgex-lftools-log-publisher 17:26:47 5eb5b503b376: Pulling fs layer 17:26:47 5c69ac0246d0: Pulling fs layer 17:26:47 ec43610c2a17: Pulling fs layer 17:26:47 3a2ae6a8a46f: Pulling fs layer 17:26:47 33b1e0a273af: Pulling fs layer 17:26:47 5d3b04190fa2: Pulling fs layer 17:26:47 2f39f015ded8: Pulling fs layer 17:26:47 3a2ae6a8a46f: Waiting 17:26:47 2f39f015ded8: Waiting 17:26:47 33b1e0a273af: Waiting 17:26:47 5d3b04190fa2: Waiting 17:26:47 3a2ae6a8a46f: Verifying Checksum 17:26:47 3a2ae6a8a46f: Download complete 17:26:47 33b1e0a273af: Verifying Checksum 17:26:47 33b1e0a273af: Download complete 17:26:47 ec43610c2a17: Verifying Checksum 17:26:47 ec43610c2a17: Download complete 17:26:47 5d3b04190fa2: Verifying Checksum 17:26:47 5d3b04190fa2: Download complete 17:26:47 17:26:47 GitHub has been notified of this commit’s build result 17:26:47 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:47 5eb5b503b376: Verifying Checksum 17:26:47 5eb5b503b376: Download complete 17:26:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:26:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:26:47 Dload Upload Total Spent Left Speed 17:26:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88746 0 --:--:-- --:--:-- --:--:-- 88746 17:26:48 2f39f015ded8: Download complete 17:26:46 > git rev-list --no-walk 53c794fe567d8de765249db7322f4c53eed1de5b # timeout=10 [Pipeline] sh 17:26:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:26:48 5eb5b503b376: Pull complete 17:26:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:26:48 + sudo tee /etc/docker/daemon.new 17:26:48 { 17:26:48 "registry-mirrors": [ 17:26:48 "https://nexus3.edgexfoundry.org:10001" 17:26:48 ], 17:26:48 "bip": "10.250.0.254/24", 17:26:48 "hosts": [ 17:26:48 "tcp://0.0.0.0:5555", 17:26:48 "unix:///var/run/docker.sock" 17:26:48 ], 17:26:48 "mtu": 1458, 17:26:48 "selinux-enabled": true, 17:26:48 "seccomp-profile": "/etc/docker/seccomp.json" 17:26:48 } 17:26:48 5c69ac0246d0: Pull complete [Pipeline] sh 17:26:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:26:49 ec43610c2a17: Pull complete 17:26:49 3a2ae6a8a46f: Pull complete 17:26:49 + sudo service docker restart 17:26:49 33b1e0a273af: Pull complete 17:26:49 5d3b04190fa2: Pull complete 17:26:55 2f39f015ded8: Pull complete 17:26:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:26:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:55 prd-ubuntu20.04-docker-8c-8g-117745 does not seem to be running inside a container 17:26:55 $ 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-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@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 17:26:58 $ docker top d4522ab53f2af25b1821d6379c26acd53574c6b3433e7b78e28e1ea8c4d8a8fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:59 ---> job-cost.sh 17:26:59 lf-activate-venv: SKIPPING 17:26:59 INFO: No Stack... 17:26:59 INFO: Retrieving Pricing Info for: v3-standard-8 17:26:59 INFO: Archiving Costs [Pipeline] sh 17:26:59 + cut -d, -f6 17:26:59 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/cost.csv [Pipeline] lock 17:26:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] 17:26:59 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] did not exist. Created. 17:26:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:27:00 + echo total: 0.2199999988079071 [Pipeline] stash 17:27:00 Stashed 1 file(s) [Pipeline] } 17:27:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:27:00 $ docker stop --time=1 d4522ab53f2af25b1821d6379c26acd53574c6b3433e7b78e28e1ea8c4d8a8fc 17:27:01 $ docker rm -f d4522ab53f2af25b1821d6379c26acd53574c6b3433e7b78e28e1ea8c4d8a8fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:07 provisioning config files... 17:27:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config17534897755114528581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:08 ---> docker-login.sh 17:27:08 nexus3.edgexfoundry.org:10001 17:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:08 Configure a credential helper to remove this warning. See 17:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:08 17:27:08 Login Succeeded 17:27:08 nexus3.edgexfoundry.org:10002 17:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:09 Configure a credential helper to remove this warning. See 17:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:09 17:27:09 Login Succeeded 17:27:09 nexus3.edgexfoundry.org:10003 17:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:09 Configure a credential helper to remove this warning. See 17:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:09 17:27:09 Login Succeeded 17:27:09 nexus3.edgexfoundry.org:10004 17:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:09 Configure a credential helper to remove this warning. See 17:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:09 17:27:09 Login Succeeded 17:27:09 docker.io 17:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:10 Configure a credential helper to remove this warning. See 17:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:10 17:27:10 Login Succeeded 17:27:10 ---> docker-login.sh ends [Pipeline] } 17:27:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:27:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:10 ========================================================= 17:27:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:27:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:11 + 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 . 17:27:11 Sending build context to Docker daemon 5.442MB 17:27:11 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:27:11 Step 2/10 : FROM ${BASE} AS builder 17:27:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:27:11 9b18e9b68314: Pulling fs layer 17:27:11 d32db5db7311: Pulling fs layer 17:27:11 d0c4b47475fc: Pulling fs layer 17:27:11 5831b945b038: Pulling fs layer 17:27:11 86bbec2aaacd: Pulling fs layer 17:27:11 e10730c5d714: Pulling fs layer 17:27:11 5dd5c2283517: Pulling fs layer 17:27:11 d5ac0230b979: Pulling fs layer 17:27:11 5831b945b038: Waiting 17:27:11 86bbec2aaacd: Waiting 17:27:11 e10730c5d714: Waiting 17:27:11 5dd5c2283517: Waiting 17:27:11 d5ac0230b979: Waiting 17:27:11 d0c4b47475fc: Verifying Checksum 17:27:11 d0c4b47475fc: Download complete 17:27:11 d32db5db7311: Verifying Checksum 17:27:11 d32db5db7311: Download complete 17:27:11 86bbec2aaacd: Download complete 17:27:11 e10730c5d714: Verifying Checksum 17:27:11 e10730c5d714: Download complete 17:27:11 9b18e9b68314: Verifying Checksum 17:27:11 9b18e9b68314: Download complete 17:27:13 9b18e9b68314: Pull complete 17:27:13 d5ac0230b979: Verifying Checksum 17:27:13 d5ac0230b979: Download complete 17:27:13 d32db5db7311: Pull complete 17:27:13 d0c4b47475fc: Pull complete 17:27:14 5dd5c2283517: Verifying Checksum 17:27:14 5dd5c2283517: Download complete 17:27:14 5831b945b038: Verifying Checksum 17:27:14 5831b945b038: Download complete 17:27:27 5831b945b038: Pull complete 17:27:27 86bbec2aaacd: Pull complete 17:27:27 e10730c5d714: Pull complete 17:27:32 5dd5c2283517: Pull complete 17:27:34 d5ac0230b979: Pull complete 17:27:34 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 17:27:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:27:34 ---> 59b3b1a385d4 17:27:34 Step 3/10 : ARG MAKE=make build 17:27:36 ---> Running in b28ebbb9f81b 17:27:36 Removing intermediate container b28ebbb9f81b 17:27:36 ---> cdbbe35754f8 17:27:36 Step 4/10 : WORKDIR /device-sdk-go 17:27:36 ---> Running in 417437d6599d 17:27:36 Removing intermediate container 417437d6599d 17:27:36 ---> ae8bdd1ae092 17:27:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:27:36 ---> Running in c3937571d4b1 17:27:37 Removing intermediate container c3937571d4b1 17:27:37 ---> 9f1cd15d61b1 17:27:37 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:27:37 ---> Running in 99b8fb0f4d75 17:27:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:27:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:27:39 OK: 221 MiB in 51 packages 17:27:40 Removing intermediate container 99b8fb0f4d75 17:27:40 ---> 028258f49e2e 17:27:40 Step 7/10 : COPY go.mod vendor* ./ 17:27:40 ---> c1e3918c4f8b 17:27:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:41 ---> Running in aced0980bc10 17:28:37 Removing intermediate container aced0980bc10 17:28:37 ---> 60a58c7338cf 17:28:37 Step 9/10 : COPY . . 17:28:37 ---> 897bd34530b6 17:28:37 Step 10/10 : RUN ${MAKE} 17:28:37 ---> Running in 2466d6de73f6 17:28:38 noop 17:28:38 Removing intermediate container 2466d6de73f6 17:28:38 ---> a30a6a4dac5d 17:28:38 Successfully built a30a6a4dac5d 17:28:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:39 + docker inspect -f . ci-base-image-arm64 17:28:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:39 prd-ubuntu20.04-docker-arm64-4c-16g-117746 does not seem to be running inside a container 17:28:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:28:40 $ docker top 661061091de067a931ac1ad2ef8ef13dbf0d0dde3837bafd657219b2e536f46a -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:41 + go version 17:28:41 go version go1.18.7 linux/arm64 [Pipeline] } 17:28:41 $ docker stop --time=1 661061091de067a931ac1ad2ef8ef13dbf0d0dde3837bafd657219b2e536f46a 17:28:43 $ docker rm -f 661061091de067a931ac1ad2ef8ef13dbf0d0dde3837bafd657219b2e536f46a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:43 + docker inspect -f . ci-base-image-arm64 17:28:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:43 prd-ubuntu20.04-docker-arm64-4c-16g-117746 does not seem to be running inside a container 17:28:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:28:46 $ docker top a538aba172a53470e194cbb163677fe23033146d7a3feff27bcbc5d9250696d8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:47 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 17:28:47 + make test 17:28:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:29:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 17:31:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 17:31:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 17:31:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 17:31:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 17:31:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 17:31:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.631s coverage: 27.6% of statements 17:31:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.978s coverage: 78.9% of statements 17:31:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 17:31:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.527s coverage: 73.1% of statements 17:31:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 17:31:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 17:31:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.529s coverage: 54.4% of statements 17:31:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 17:31:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 17:31:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 17:31:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 17:31:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.555s coverage: 65.1% of statements 17:31:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 17:31:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 17:31:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.218s coverage: 89.2% of statements 17:31:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 17:31:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.254s coverage: 4.7% of statements 17:31:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 17:31:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:31:30 GO111MODULE=on go vet ./... 17:33:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:33:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:33:06 ./bin/test-attribution-txt.sh 17:33:06 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 17:33:06 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 17:33:06 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 17:33:06 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 17:33:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:33:06 $ docker stop --time=1 a538aba172a53470e194cbb163677fe23033146d7a3feff27bcbc5d9250696d8 17:33:08 $ docker rm -f a538aba172a53470e194cbb163677fe23033146d7a3feff27bcbc5d9250696d8 [Pipeline] // withDockerContainer [Pipeline] sh 17:33:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:33:10 Warning: overwriting stash ‘coverage-report’ 17:33:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:33:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:33:11 + ls -al . 17:33:11 total 276 17:33:11 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 17:28 . 17:33:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:26 .. 17:33:11 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 17:26 .dockerignore 17:33:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:26 .git 17:33:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:26 .github 17:33:11 -rw-rw-r-- 1 jenkins jenkins 131 Nov 1 17:26 .gitignore 17:33:11 -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 17:26 .golangci.yml 17:33:11 -rw-rw-r-- 1 jenkins jenkins 31677 Nov 1 17:26 CHANGELOG.md 17:33:11 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 17:26 GOVERNANCE.md 17:33:11 -rw-rw-r-- 1 jenkins jenkins 880 Nov 1 17:26 Jenkinsfile 17:33:11 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 17:26 LICENSE 17:33:11 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 1 17:26 Makefile 17:33:11 -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 17:26 OWNERS.md 17:33:11 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 1 17:26 README.md 17:33:11 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 17:24 VERSION 17:33:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:26 bin 17:33:11 -rw-r--r-- 1 jenkins jenkins 101760 Nov 1 17:31 coverage.out 17:33:11 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 17:26 example 17:33:11 -rw-rw-r-- 1 jenkins jenkins 3389 Nov 1 17:26 go.mod 17:33:11 -rw-rw-r-- 1 jenkins jenkins 44507 Nov 1 17:26 go.sum 17:33:11 drwxrwxr-x 14 jenkins jenkins 4096 Nov 1 17:26 internal 17:33:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:26 openapi 17:33:11 drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 17:26 pkg 17:33:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:26 snap 17:33:11 -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:11 + 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=0d8540a62ee72219f1fc71b10188107ac82e8b69 --label arch=arm64 --label version=0.0.0 . 17:33:12 Sending build context to Docker daemon 5.544MB 17:33:12 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:33:12 Step 2/23 : FROM ${BASE} AS builder 17:33:12 ---> a30a6a4dac5d 17:33:12 Step 3/23 : ARG MAKE=make build 17:33:12 ---> Running in 4a095b88bedd 17:33:12 Removing intermediate container 4a095b88bedd 17:33:12 ---> 12e9597791bf 17:33:12 Step 4/23 : WORKDIR /device-sdk-go 17:33:12 ---> Running in f00e81c9f256 17:33:13 Removing intermediate container f00e81c9f256 17:33:13 ---> 8969dcaa072e 17:33:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:33:13 ---> Running in fd8146fbd123 17:33:13 Removing intermediate container fd8146fbd123 17:33:13 ---> b95f6f75733a 17:33:13 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 17:33:13 ---> Running in 4f798676cbf9 17:33:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:33:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:33:15 OK: 221 MiB in 51 packages 17:33:16 Removing intermediate container 4f798676cbf9 17:33:16 ---> 629e673f01e9 17:33:16 Step 7/23 : COPY go.mod vendor* ./ 17:33:16 ---> bf9f10aa9c67 17:33:16 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:17 ---> Running in d40554690762 17:33:19 Removing intermediate container d40554690762 17:33:19 ---> 58666d31c4df 17:33:19 Step 9/23 : COPY . . 17:33:20 ---> 515640968b3f 17:33:20 Step 10/23 : RUN ${MAKE} 17:33:20 ---> Running in 76c15a8b38c8 17:33:21 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 17:35:27 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 17:35:27 Removing intermediate container 76c15a8b38c8 17:35:27 ---> 3390e90da28f 17:35:27 Step 11/23 : FROM alpine:3.16 17:35:28 3.16: Pulling from library/alpine 17:35:28 9b18e9b68314: Already exists 17:35:28 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:35:28 Status: Downloaded newer image for alpine:3.16 17:35:28 ---> a6215f271958 17:35:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:35:28 ---> Running in 04afd5c3b8b7 17:35:28 Removing intermediate container 04afd5c3b8b7 17:35:28 ---> c1bb9c29d634 17:35:28 Step 13/23 : RUN apk add --update --no-cache zeromq 17:35:28 ---> Running in 4ddd1d57d22d 17:35:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:35:31 (1/5) Installing libgcc (11.2.1_git20220219-r2) 17:35:31 (2/5) Installing libsodium (1.0.18-r0) 17:35:31 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 17:35:31 (4/5) Installing libzmq (4.3.4-r0) 17:35:31 (5/5) Installing zeromq (4.3.4-r0) 17:35:31 Executing busybox-1.35.0-r17.trigger 17:35:31 OK: 8 MiB in 19 packages 17:35:32 Removing intermediate container 4ddd1d57d22d 17:35:32 ---> 952b74bdeaae 17:35:32 Step 14/23 : WORKDIR / 17:35:32 ---> Running in e88cd32b3534 17:35:32 Removing intermediate container e88cd32b3534 17:35:32 ---> 0eda4c95f424 17:35:32 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:35:32 ---> 61f9b3c748d2 17:35:32 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:35:34 ---> fd5443771848 17:35:34 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:35:35 ---> 795f861a1207 17:35:35 Step 18/23 : EXPOSE 59999 17:35:35 ---> Running in f902414bda75 17:35:35 Removing intermediate container f902414bda75 17:35:35 ---> c8b648e5c1e3 17:35:35 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:35:36 ---> Running in 3a6011613c48 17:35:36 Removing intermediate container 3a6011613c48 17:35:36 ---> 5a3a34787d4f 17:35:36 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:35:36 ---> Running in 2ec0e0e7e9b6 17:35:36 Removing intermediate container 2ec0e0e7e9b6 17:35:36 ---> d654c4598460 17:35:36 Step 21/23 : LABEL arch=arm64 17:35:36 ---> Running in 496e5384a049 17:35:37 Removing intermediate container 496e5384a049 17:35:37 ---> db3e9affcbc5 17:35:37 Step 22/23 : LABEL git_sha=0d8540a62ee72219f1fc71b10188107ac82e8b69 17:35:37 ---> Running in 0e2306880e94 17:35:37 Removing intermediate container 0e2306880e94 17:35:37 ---> bb03e6aa43b6 17:35:37 Step 23/23 : LABEL version=0.0.0 17:35:37 ---> Running in d0f4efbb686a 17:35:37 Removing intermediate container d0f4efbb686a 17:35:37 ---> c0f4e1c5f6c7 17:35:37 [Warning] One or more build-args [ARCH] were not consumed 17:35:37 Successfully built c0f4e1c5f6c7 17:35:37 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 17:35:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:38 17:35:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:38 arm64: Pulling from edgex-lftools-log-publisher 17:35:38 8998bd30e6a1: Pulling fs layer 17:35:38 04944245beec: Pulling fs layer 17:35:38 699f458cf7ca: Pulling fs layer 17:35:38 765212b225bb: Pulling fs layer 17:35:38 f23df028b6ca: Pulling fs layer 17:35:38 d65c8cfc05b1: Pulling fs layer 17:35:38 2437ff75d9bd: Pulling fs layer 17:35:38 765212b225bb: Waiting 17:35:38 2437ff75d9bd: Waiting 17:35:38 d65c8cfc05b1: Waiting 17:35:38 04944245beec: Verifying Checksum 17:35:38 04944245beec: Download complete 17:35:38 765212b225bb: Verifying Checksum 17:35:38 765212b225bb: Download complete 17:35:38 f23df028b6ca: Verifying Checksum 17:35:38 f23df028b6ca: Download complete 17:35:38 d65c8cfc05b1: Verifying Checksum 17:35:38 d65c8cfc05b1: Download complete 17:35:38 699f458cf7ca: Verifying Checksum 17:35:38 699f458cf7ca: Download complete 17:35:39 8998bd30e6a1: Verifying Checksum 17:35:39 8998bd30e6a1: Download complete 17:35:41 2437ff75d9bd: Verifying Checksum 17:35:41 2437ff75d9bd: Download complete 17:35:43 8998bd30e6a1: Pull complete 17:35:43 04944245beec: Pull complete 17:35:44 699f458cf7ca: Pull complete 17:35:44 765212b225bb: Pull complete 17:35:45 f23df028b6ca: Pull complete 17:35:45 d65c8cfc05b1: Pull complete 17:36:00 2437ff75d9bd: Pull complete 17:36:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:36:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:01 prd-ubuntu20.04-docker-arm64-4c-16g-117746 does not seem to be running inside a container 17:36:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:36:03 $ docker top c71e7068659085d2a57d89c2d63bad5bb01d886171224d6b668a825ab0abcebe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:04 ---> job-cost.sh 17:36:04 lf-activate-venv: SKIPPING 17:36:04 INFO: No Stack... 17:36:05 INFO: Retrieving Pricing Info for: v3-standard-4 17:36:06 INFO: Archiving Costs [Pipeline] sh 17:36:06 + cut -d, -f6 17:36:06 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 17:36:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] 17:36:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] did not exist. Created. 17:36:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:36:07 /w/workspace/device-sdk-go/2@tmp/durable-3f67173a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:36:07 + echo total: 0.10999999940395355 [Pipeline] stash 17:36:07 Warning: overwriting stash ‘stack-cost’ 17:36:08 Stashed 1 file(s) [Pipeline] } 17:36:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1252-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:36:08 $ docker stop --time=1 c71e7068659085d2a57d89c2d63bad5bb01d886171224d6b668a825ab0abcebe 17:36:09 $ docker rm -f c71e7068659085d2a57d89c2d63bad5bb01d886171224d6b668a825ab0abcebe [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 17:36:10 provisioning config files... 17:36:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config9270929964170570894tmp [Pipeline] { [Pipeline] sh 17:36:10 + set +x 17:36:10 + + bash -s -- 17:36:10 curl -s https://codecov.io/bash 17:36:10 17:36:10 _____ _ 17:36:10 / ____| | | 17:36:10 | | ___ __| | ___ ___ _____ __ 17:36:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:36:10 | |___| (_) | (_| | __/ (_| (_) \ V / 17:36:10 \_____\___/ \__,_|\___|\___\___/ \_/ 17:36:10 Bash-1.0.6 17:36:10 17:36:10 17:36:10 ==> git version 2.25.1 found 17:36:10 ==> 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 17:36:10 Release-Date: 2020-01-08 17:36:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:36:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:36:10 ==> Jenkins CI detected. 17:36:10 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1252 17:36:10 project root: . 17:36:10 --> token set from env 17:36:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:36:10 ==> Running gcov in . (disable via -X gcov) 17:36:10 ==> Python coveragepy not found 17:36:10 ==> Searching for coverage reports in: 17:36:10 + . 17:36:10 -> Found 1 reports 17:36:10 ==> Detecting git/mercurial file structure 17:36:10 ==> Reading reports 17:36:10 + ./coverage.out bytes=101760 17:36:10 ==> Appending adjustments 17:36:10 https://docs.codecov.io/docs/fixing-reports 17:36:10 + Found adjustments 17:36:10 ==> Gzipping contents 17:36:10 16K /tmp/codecov.b3senn.gz 17:36:10 ==> Uploading reports 17:36:10 url: https://codecov.io 17:36:10 query: branch=PR-1252&commit=5bba170451d0dce67eb273271a2ef719c3573c6c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1252%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1252&job=&cmd_args= 17:36:10 -> Pinging Codecov 17:36: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-1252&commit=5bba170451d0dce67eb273271a2ef719c3573c6c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1252%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1252&job=&cmd_args= 17:36:11 -> Uploading to 17:36:11 https://storage.googleapis.com/codecov/v4/raw/2022-11-01/7E55EF52A471D76F132DFD9A03CDDE97/5bba170451d0dce67eb273271a2ef719c3573c6c/f66694c8-ba84-4bb9-a0b0-8c2bcf53777f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221101T173610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42649fcd514f5c2bc9a1996247d6c3eb8c848e65772975028c317d327952dfa1 17:36:11 % Total % Received % Xferd Average Speed Time Time Time Current 17:36:11 Dload Upload Total Spent Left Speed 17:36:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14706 0 0 100 14706 0 63115 --:--:-- --:--:-- --:--:-- 63387 17:36:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5bba170451d0dce67eb273271a2ef719c3573c6c [Pipeline] } 17:36:11 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 17:36:12 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives ] 17:36:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives 17:36:12 total 16 17:36:12 drwxr-xr-x 3 root root 4096 Nov 1 17:26 . 17:36:12 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:27 .. 17:36:12 drwxr-xr-x 2 root root 4096 Nov 1 17:26 cost 17:36:12 -rw-r--r-- 1 root root 86 Nov 1 17:26 cost.csv 17:36:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives 17:36:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives 17:36:12 total 16 17:36:12 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:26 . 17:36:12 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:27 .. 17:36:12 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 17:26 cost 17:36:12 -rw-r--r-- 1 jenkins jenkins 86 Nov 1 17:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:36:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:36:13 ---> package-listing.sh 17:36:13 ++ facter osfamily 17:36:13 ++ tr '[:upper:]' '[:lower:]' 17:36:13 + OS_FAMILY=debian 17:36:13 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1252 17:36:13 + START_PACKAGES=/tmp/packages_start.txt 17:36:13 + END_PACKAGES=/tmp/packages_end.txt 17:36:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:36:13 + PACKAGES=/tmp/packages_start.txt 17:36:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1252 ']' 17:36:13 + PACKAGES=/tmp/packages_end.txt 17:36:13 + case "${OS_FAMILY}" in 17:36:13 + dpkg -l 17:36:13 + grep '^ii' 17:36:13 + '[' -f /tmp/packages_start.txt ']' 17:36:13 + '[' -f /tmp/packages_end.txt ']' 17:36:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:36:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1252 ']' 17:36:13 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/ 17:36:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1252/archives/ [Pipeline] echo 17:36:13 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-1252/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:36:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:14 prd-ubuntu20.04-docker-8c-8g-117745 does not seem to be running inside a container 17:36:14 $ 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-1252/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-1252 -v /w/workspace/gexfoundry_device-sdk-go_PR-1252:/w/workspace/gexfoundry_device-sdk-go_PR-1252:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:36:14 $ docker top 58d7677f02e8899471995d14425bd71bc1740fc9a3f65eefb82e20056af3cdb1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:15 + touch /tmp/pre-build-complete [Pipeline] sh 17:36:15 + mkdir -p /var/log/sysstat [Pipeline] sh 17:36:15 + ls /var/log/sa-host 17:36:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:15 provisioning config files... 17:36:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1252@tmp/config343978456443797918tmp [Pipeline] { [Pipeline] echo 17:36:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:36:16 ---> create-netrc.sh [Pipeline] } 17:36:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:36:16 ---> python-tools-install.sh [Pipeline] echo 17:36:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:36:16 ---> sudo-logs.sh 17:36:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:36:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:36:17 ---> job-cost.sh 17:36:17 lf-activate-venv: SKIPPING 17:36:17 DEBUG: total: 0.2199999988079071 17:36:17 INFO: Retrieving Stack Cost... 17:36:17 INFO: Retrieving Pricing Info for: v3-standard-8 17:36:17 INFO: Archiving Costs [Pipeline] echo 17:36:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:36:18 ---> logs-deploy.sh 17:36:18 lf-activate-venv: SKIPPING 17:36:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1252/2 17:36:18 INFO: archiving workspace using pattern(s): 17:36:19 Archives upload complete. 17:36:19 INFO: archiving logs to Nexus