Pull request #1210 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf+7128670c60762a554b6733602f52baa10dc88de3 (588d8a0363b24bf50e2a76c577ebf7a74eea7383) 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-ssh7928542421769644441.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2322186920712005803.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1210/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-1210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5776165046160452364.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8256121327841863986.key > 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-1210/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-1210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14255126615612854481.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-29899’ Running on prd-ubuntu20.04-docker-8c-8g-29911 in /w/workspace/gexfoundry_device-sdk-go_PR-1210 [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-1210 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf Merge succeeded, producing 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf Checking out Revision 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf (PR-1210) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1210/head:refs/remotes/origin/PR-1210 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf # timeout=10 Commit message: "refactor: refactor device command application layer" First time build. Skipping changelog. > git rev-list --no-walk ce0eda20731e7d7611a0ce08ef1809e8e03514e3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-20T01:26:52.312Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-20T01:26:52.376Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-20T01:26:52.395Z] ========================================================= [2022-09-20T01:26:52.396Z] EdgeX Global Pipelines Version Info [2022-09-20T01:26:52.396Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:26:53.141Z] ------------------- [2022-09-20T01:26:53.141Z] stable info: [2022-09-20T01:26:53.141Z] ------------------- [2022-09-20T01:26:53.141Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-20T01:26:53.141Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T01:26:53.141Z] Message: update stable to v1.0.239 [2022-09-20T01:26:53.715Z] ------------------- [2022-09-20T01:26:53.715Z] experimental info: [2022-09-20T01:26:53.715Z] ------------------- [2022-09-20T01:26:53.715Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-20T01:26:53.715Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T01:26:53.715Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-20T01:26:53.913Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-20T01:26:53.926Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-20T01:26:53.938Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-20T01:26:53.952Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-20T01:26:53.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-20T01:26:53.981Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-20T01:26:53.994Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-20T01:26:54.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-20T01:26:54.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-20T01:26:54.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-20T01:26:54.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-20T01:26:54.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-20T01:26:54.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-20T01:26:54.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-20T01:26:54.119Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-20T01:26:54.130Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T01:26:54.141Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T01:26:54.152Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T01:26:54.166Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-20T01:26:54.182Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-20T01:26:54.193Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-20T01:26:54.256Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-20T01:26:54.266Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-20T01:26:54.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-20T01:26:54.282Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-20T01:26:54.290Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-20T01:26:54.304Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-20T01:26:54.314Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1210 [Pipeline] echo [2022-09-20T01:26:54.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1210 [Pipeline] echo [2022-09-20T01:26:54.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1210 [Pipeline] echo [2022-09-20T01:26:54.348Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [Pipeline] echo [2022-09-20T01:26:54.359Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c7ef2e [Pipeline] echo [2022-09-20T01:26:54.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T01:26:54.412Z] provisioning config files... [2022-09-20T01:26:54.426Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config8153378321115533457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:26:54.757Z] ---> docker-login.sh [2022-09-20T01:26:54.757Z] nexus3.edgexfoundry.org:10001 [2022-09-20T01:26:55.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:26:55.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:26:55.280Z] Configure a credential helper to remove this warning. See [2022-09-20T01:26:55.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:26:55.280Z] [2022-09-20T01:26:55.280Z] Login Succeeded [2022-09-20T01:26:55.280Z] nexus3.edgexfoundry.org:10002 [2022-09-20T01:26:55.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:26:55.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:26:55.280Z] Configure a credential helper to remove this warning. See [2022-09-20T01:26:55.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:26:55.280Z] [2022-09-20T01:26:55.280Z] Login Succeeded [2022-09-20T01:26:55.280Z] nexus3.edgexfoundry.org:10003 [2022-09-20T01:26:55.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:26:55.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:26:55.542Z] Configure a credential helper to remove this warning. See [2022-09-20T01:26:55.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:26:55.542Z] [2022-09-20T01:26:55.542Z] Login Succeeded [2022-09-20T01:26:55.542Z] nexus3.edgexfoundry.org:10004 [2022-09-20T01:26:55.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:26:55.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:26:55.542Z] Configure a credential helper to remove this warning. See [2022-09-20T01:26:55.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:26:55.542Z] [2022-09-20T01:26:55.542Z] Login Succeeded [2022-09-20T01:26:55.542Z] docker.io [2022-09-20T01:26:55.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:26:56.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:26:56.066Z] Configure a credential helper to remove this warning. See [2022-09-20T01:26:56.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:26:56.066Z] [2022-09-20T01:26:56.066Z] Login Succeeded [2022-09-20T01:26:56.066Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T01:26:56.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-20T01:26:56.469Z] + git rev-list -1 --merges 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf~1..0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [Pipeline] echo [2022-09-20T01:26:56.571Z] -----------> git rev-list -1 --merges 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf~1..0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [false] [Pipeline] sh [2022-09-20T01:26:56.879Z] + git log --format=format:%s -1 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [Pipeline] echo [2022-09-20T01:26:56.895Z] ========================================================= [2022-09-20T01:26:56.895Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-20T01:26:56.895Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T01:26:57.229Z] + git log --format=format:%s -1 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [Pipeline] echo [2022-09-20T01:26:57.245Z] [semverPrep] GIT_COMMIT: 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf, Commit Message: refactor: refactor device command application layer [Pipeline] echo [2022-09-20T01:26:57.257Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-20T01:26:57.636Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-20T01:26:57.636Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-20T01:26:57.636Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-20T01:26:57.636Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-20T01:26:57.637Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-20T01:26:57.637Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-20T01:26:57.637Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:26:58.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T01:26:58.079Z] [2022-09-20T01:26:58.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:26:58.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T01:26:58.393Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-20T01:26:58.393Z] b85a868b505f: Pulling fs layer [2022-09-20T01:26:58.393Z] e2be974225ed: Pulling fs layer [2022-09-20T01:26:58.393Z] 339a4e72a1f5: Pulling fs layer [2022-09-20T01:26:58.393Z] 988bab9f4d93: Pulling fs layer [2022-09-20T01:26:58.393Z] 1469e6f7b9e6: Pulling fs layer [2022-09-20T01:26:58.393Z] eaf3925da568: Pulling fs layer [2022-09-20T01:26:58.393Z] bab4dde63d76: Pulling fs layer [2022-09-20T01:26:58.393Z] 988bab9f4d93: Waiting [2022-09-20T01:26:58.393Z] 1469e6f7b9e6: Waiting [2022-09-20T01:26:58.393Z] eaf3925da568: Waiting [2022-09-20T01:26:58.393Z] bde34c3a00c8: Pulling fs layer [2022-09-20T01:26:58.393Z] b352a97aabf1: Pulling fs layer [2022-09-20T01:26:58.393Z] 4872d77fe225: Pulling fs layer [2022-09-20T01:26:58.393Z] bab4dde63d76: Waiting [2022-09-20T01:26:58.393Z] bde34c3a00c8: Waiting [2022-09-20T01:26:58.393Z] b352a97aabf1: Waiting [2022-09-20T01:26:58.393Z] 5851b861e8e6: Pulling fs layer [2022-09-20T01:26:58.393Z] 4872d77fe225: Waiting [2022-09-20T01:26:58.393Z] 5851b861e8e6: Waiting [2022-09-20T01:26:58.393Z] e2be974225ed: Verifying Checksum [2022-09-20T01:26:58.393Z] e2be974225ed: Download complete [2022-09-20T01:26:58.393Z] 988bab9f4d93: Verifying Checksum [2022-09-20T01:26:58.393Z] 988bab9f4d93: Download complete [2022-09-20T01:26:58.654Z] 1469e6f7b9e6: Verifying Checksum [2022-09-20T01:26:58.654Z] 1469e6f7b9e6: Download complete [2022-09-20T01:26:58.654Z] eaf3925da568: Verifying Checksum [2022-09-20T01:26:58.654Z] eaf3925da568: Download complete [2022-09-20T01:26:58.654Z] 339a4e72a1f5: Verifying Checksum [2022-09-20T01:26:58.655Z] 339a4e72a1f5: Download complete [2022-09-20T01:26:58.655Z] bde34c3a00c8: Download complete [2022-09-20T01:26:58.655Z] b352a97aabf1: Download complete [2022-09-20T01:26:58.655Z] 4872d77fe225: Verifying Checksum [2022-09-20T01:26:58.655Z] 4872d77fe225: Download complete [2022-09-20T01:26:58.655Z] 5851b861e8e6: Download complete [2022-09-20T01:26:58.655Z] b85a868b505f: Verifying Checksum [2022-09-20T01:26:58.655Z] b85a868b505f: Download complete [2022-09-20T01:26:58.915Z] bab4dde63d76: Verifying Checksum [2022-09-20T01:26:58.915Z] bab4dde63d76: Download complete [2022-09-20T01:27:00.303Z] b85a868b505f: Pull complete [2022-09-20T01:27:00.303Z] e2be974225ed: Pull complete [2022-09-20T01:27:00.874Z] 339a4e72a1f5: Pull complete [2022-09-20T01:27:00.874Z] 988bab9f4d93: Pull complete [2022-09-20T01:27:01.134Z] 1469e6f7b9e6: Pull complete [2022-09-20T01:27:01.134Z] eaf3925da568: Pull complete [2022-09-20T01:27:03.039Z] bab4dde63d76: Pull complete [2022-09-20T01:27:03.039Z] bde34c3a00c8: Pull complete [2022-09-20T01:27:03.299Z] b352a97aabf1: Pull complete [2022-09-20T01:27:03.299Z] 4872d77fe225: Pull complete [2022-09-20T01:27:03.299Z] 5851b861e8e6: Pull complete [2022-09-20T01:27:03.299Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-20T01:27:03.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T01:27:03.299Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T01:27:03.402Z] prd-ubuntu20.04-docker-8c-8g-29911 does not seem to be running inside a container [2022-09-20T01:27:03.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 [2022-09-20T01:27:06.254Z] $ docker top 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 -eo pid,comm [2022-09-20T01:27:06.313Z] 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). [2022-09-20T01:27:06.313Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-20T01:27:06.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T01:27:06.350Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T01:27:06.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T01:27:06.488Z] $ docker exec 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 ssh-agent [2022-09-20T01:27:06.622Z] SSH_AUTH_SOCK=/tmp/ssh-w9WAmt38TQKm/agent.33 [2022-09-20T01:27:06.622Z] SSH_AGENT_PID=39 [2022-09-20T01:27:06.629Z] Running ssh-add (command line suppressed) [2022-09-20T01:27:06.753Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_4374484385536203650.key (/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_4374484385536203650.key) [2022-09-20T01:27:06.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T01:27:07.057Z] + git tag --points-at HEAD [Pipeline] } [2022-09-20T01:27:07.075Z] $ docker exec --env ******** --env ******** 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 ssh-agent -k [2022-09-20T01:27:07.191Z] unset SSH_AUTH_SOCK; [2022-09-20T01:27:07.192Z] unset SSH_AGENT_PID; [2022-09-20T01:27:07.192Z] echo Agent pid 39 killed; [2022-09-20T01:27:07.197Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-20T01:27:07.218Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T01:27:07.218Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T01:27:07.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T01:27:07.349Z] $ docker exec 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 ssh-agent [2022-09-20T01:27:07.471Z] SSH_AUTH_SOCK=/tmp/ssh-9Evf8ANFK0Vi/agent.73 [2022-09-20T01:27:07.471Z] SSH_AGENT_PID=79 [2022-09-20T01:27:07.476Z] Running ssh-add (command line suppressed) [2022-09-20T01:27:07.600Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_6579981477688105293.key (/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_6579981477688105293.key) [2022-09-20T01:27:07.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T01:27:07.899Z] + git semver init [2022-09-20T01:27:08.160Z] 2022-09-20 01:27:08,120 [run_init] DEBUG init version:0.0.0 force:False [2022-09-20T01:27:08.160Z] 2022-09-20 01:27:08,120 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver [2022-09-20T01:27:08.160Z] 2022-09-20 01:27:08,121 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver [2022-09-20T01:27:08.160Z] 2022-09-20 01:27:08,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210, universal_newlines=False, shell=None, istream=None) [2022-09-20T01:27:09.550Z] 2022-09-20 01:27:09,185 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.git/info/exclude [2022-09-20T01:27:09.550Z] 2022-09-20 01:27:09,186 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 with force:False [2022-09-20T01:27:09.550Z] 2022-09-20 01:27:09,186 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 [2022-09-20T01:27:09.550Z] 2022-09-20 01:27:09,190 [execute] INFO git cat-file --batch-check [2022-09-20T01:27:09.550Z] 2022-09-20 01:27:09,190 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T01:27:09.550Z] 2022-09-20 01:27:09,196 [execute] INFO git cat-file --batch [2022-09-20T01:27:09.550Z] 2022-09-20 01:27:09,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T01:27:09.550Z] 2022-09-20 01:27:09,201 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 [2022-09-20T01:27:09.550Z] 0.0.0 [Pipeline] } [2022-09-20T01:27:09.567Z] $ docker exec --env ******** --env ******** 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 ssh-agent -k [2022-09-20T01:27:09.682Z] unset SSH_AUTH_SOCK; [2022-09-20T01:27:09.682Z] unset SSH_AGENT_PID; [2022-09-20T01:27:09.683Z] echo Agent pid 79 killed; [2022-09-20T01:27:09.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-20T01:27:10.005Z] + git semver [Pipeline] } [2022-09-20T01:27:10.286Z] $ docker stop --time=1 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 [2022-09-20T01:27:11.584Z] $ docker rm -f 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T01:27:11.932Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-20T01:27:12.172Z] Stashed 1 file(s) [Pipeline] echo [2022-09-20T01:27:12.174Z] [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 [2022-09-20T01:27:12.327Z] provisioning config files... [2022-09-20T01:27:12.336Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config3929618788806674235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:27:12.632Z] ---> docker-login.sh [2022-09-20T01:27:12.632Z] nexus3.edgexfoundry.org:10001 [2022-09-20T01:27:12.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:27:12.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:27:12.632Z] Configure a credential helper to remove this warning. See [2022-09-20T01:27:12.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:27:12.632Z] [2022-09-20T01:27:12.632Z] Login Succeeded [2022-09-20T01:27:12.632Z] nexus3.edgexfoundry.org:10002 [2022-09-20T01:27:12.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:27:12.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:27:12.891Z] Configure a credential helper to remove this warning. See [2022-09-20T01:27:12.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:27:12.891Z] [2022-09-20T01:27:12.891Z] Login Succeeded [2022-09-20T01:27:12.891Z] nexus3.edgexfoundry.org:10003 [2022-09-20T01:27:12.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:27:12.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:27:12.891Z] Configure a credential helper to remove this warning. See [2022-09-20T01:27:12.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:27:12.891Z] [2022-09-20T01:27:12.891Z] Login Succeeded [2022-09-20T01:27:12.891Z] nexus3.edgexfoundry.org:10004 [2022-09-20T01:27:12.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:27:13.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:27:13.152Z] Configure a credential helper to remove this warning. See [2022-09-20T01:27:13.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:27:13.152Z] [2022-09-20T01:27:13.152Z] Login Succeeded [2022-09-20T01:27:13.152Z] docker.io [2022-09-20T01:27:13.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:27:13.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:27:13.411Z] Configure a credential helper to remove this warning. See [2022-09-20T01:27:13.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:27:13.411Z] [2022-09-20T01:27:13.411Z] Login Succeeded [2022-09-20T01:27:13.411Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T01:27:13.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T01:27:13.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T01:27:13.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T01:27:13.513Z] ========================================================= [2022-09-20T01:27:13.513Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-20T01:27:13.513Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:27:13.833Z] + 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 . [2022-09-20T01:27:13.833Z] Sending build context to Docker daemon 9.884MB [2022-09-20T01:27:13.833Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T01:27:13.833Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-20T01:27:13.833Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-20T01:27:13.833Z] 2408cc74d12b: Pulling fs layer [2022-09-20T01:27:13.833Z] ea60b727a1ce: Pulling fs layer [2022-09-20T01:27:13.833Z] 30c4a7721957: Pulling fs layer [2022-09-20T01:27:13.833Z] 370296b7ddb6: Pulling fs layer [2022-09-20T01:27:13.833Z] 7c6cee850709: Pulling fs layer [2022-09-20T01:27:13.833Z] 39a5fcdaea64: Pulling fs layer [2022-09-20T01:27:13.833Z] d94ebbe4e438: Pulling fs layer [2022-09-20T01:27:13.833Z] bcfd1f05c69d: Pulling fs layer [2022-09-20T01:27:13.833Z] 59ccb84bbe0f: Pulling fs layer [2022-09-20T01:27:13.833Z] 370296b7ddb6: Waiting [2022-09-20T01:27:13.833Z] 7c6cee850709: Waiting [2022-09-20T01:27:13.833Z] 39a5fcdaea64: Waiting [2022-09-20T01:27:13.833Z] d94ebbe4e438: Waiting [2022-09-20T01:27:13.833Z] bcfd1f05c69d: Waiting [2022-09-20T01:27:13.833Z] 59ccb84bbe0f: Waiting [2022-09-20T01:27:14.099Z] 30c4a7721957: Download complete [2022-09-20T01:27:14.099Z] ea60b727a1ce: Download complete [2022-09-20T01:27:14.099Z] 7c6cee850709: Verifying Checksum [2022-09-20T01:27:14.099Z] 7c6cee850709: Download complete [2022-09-20T01:27:14.099Z] 39a5fcdaea64: Verifying Checksum [2022-09-20T01:27:14.099Z] 39a5fcdaea64: Download complete [2022-09-20T01:27:14.099Z] 2408cc74d12b: Verifying Checksum [2022-09-20T01:27:14.099Z] 2408cc74d12b: Download complete [2022-09-20T01:27:14.099Z] d94ebbe4e438: Download complete [2022-09-20T01:27:14.099Z] 2408cc74d12b: Pull complete [2022-09-20T01:27:14.372Z] ea60b727a1ce: Pull complete [2022-09-20T01:27:14.372Z] 30c4a7721957: Pull complete [2022-09-20T01:27:14.372Z] 59ccb84bbe0f: Verifying Checksum [2022-09-20T01:27:14.372Z] 59ccb84bbe0f: Download complete [2022-09-20T01:27:14.959Z] 370296b7ddb6: Verifying Checksum [2022-09-20T01:27:14.959Z] 370296b7ddb6: Download complete [2022-09-20T01:27:14.959Z] bcfd1f05c69d: Verifying Checksum [2022-09-20T01:27:14.959Z] bcfd1f05c69d: Download complete [2022-09-20T01:27:19.160Z] 370296b7ddb6: Pull complete [2022-09-20T01:27:19.160Z] 7c6cee850709: Pull complete [2022-09-20T01:27:19.160Z] 39a5fcdaea64: Pull complete [2022-09-20T01:27:19.160Z] d94ebbe4e438: Pull complete [2022-09-20T01:27:21.070Z] bcfd1f05c69d: Pull complete [2022-09-20T01:27:21.648Z] 59ccb84bbe0f: Pull complete [2022-09-20T01:27:21.648Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-20T01:27:21.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-20T01:27:21.648Z] ---> a4fb48ad2a94 [2022-09-20T01:27:21.648Z] Step 3/11 : ARG MAKE=make build [2022-09-20T01:27:25.855Z] ---> Running in e4be80ba31ce [2022-09-20T01:27:25.855Z] Removing intermediate container e4be80ba31ce [2022-09-20T01:27:25.855Z] ---> 96f309625e84 [2022-09-20T01:27:25.855Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-20T01:27:25.855Z] ---> Running in 6c5bce29cc5a [2022-09-20T01:27:25.855Z] Removing intermediate container 6c5bce29cc5a [2022-09-20T01:27:25.855Z] ---> 23144baa6503 [2022-09-20T01:27:25.855Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T01:27:25.855Z] ---> Running in d3e4fffbe50d [2022-09-20T01:27:25.855Z] Removing intermediate container d3e4fffbe50d [2022-09-20T01:27:25.855Z] ---> 06413d3c0128 [2022-09-20T01:27:25.855Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T01:27:25.855Z] ---> Running in 5a7579e9b002 [2022-09-20T01:27:26.425Z] Removing intermediate container 5a7579e9b002 [2022-09-20T01:27:26.425Z] ---> 705766e71573 [2022-09-20T01:27:26.425Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T01:27:26.425Z] ---> Running in f71949a39b09 [2022-09-20T01:27:26.425Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T01:27:27.284Z] Still waiting to schedule task [2022-09-20T01:27:27.284Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-29909’ [2022-09-20T01:27:27.366Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T01:27:27.937Z] OK: 211 MiB in 51 packages [2022-09-20T01:27:28.196Z] Removing intermediate container f71949a39b09 [2022-09-20T01:27:28.196Z] ---> 806877e4dab2 [2022-09-20T01:27:28.196Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-20T01:27:28.196Z] ---> 9429ab470864 [2022-09-20T01:27:28.196Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T01:27:28.196Z] ---> Running in 8c19b700ed60 [2022-09-20T01:28:00.326Z] Removing intermediate container 8c19b700ed60 [2022-09-20T01:28:00.326Z] ---> 9df5ae320074 [2022-09-20T01:28:00.326Z] Step 10/11 : COPY . . [2022-09-20T01:28:00.326Z] ---> d99a9864c64e [2022-09-20T01:28:00.326Z] Step 11/11 : RUN ${MAKE} [2022-09-20T01:28:00.326Z] ---> Running in 9bbdf806299e [2022-09-20T01:28:00.326Z] noop [2022-09-20T01:28:00.326Z] Removing intermediate container 9bbdf806299e [2022-09-20T01:28:00.326Z] ---> 3853a1ed4c11 [2022-09-20T01:28:00.326Z] Successfully built 3853a1ed4c11 [2022-09-20T01:28:00.326Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:28:00.635Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T01:28:00.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T01:28:00.717Z] prd-ubuntu20.04-docker-8c-8g-29911 does not seem to be running inside a container [2022-09-20T01:28:00.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 [2022-09-20T01:28:01.109Z] $ docker top e74ab9a28c7e6e2b6e872e4ff74bca5c55dfe561d856395e0734e8843496249d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T01:28:01.460Z] + go version [2022-09-20T01:28:01.460Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-20T01:28:01.476Z] $ docker stop --time=1 e74ab9a28c7e6e2b6e872e4ff74bca5c55dfe561d856395e0734e8843496249d [2022-09-20T01:28:02.721Z] $ docker rm -f e74ab9a28c7e6e2b6e872e4ff74bca5c55dfe561d856395e0734e8843496249d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:28:03.148Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T01:28:03.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T01:28:03.225Z] prd-ubuntu20.04-docker-8c-8g-29911 does not seem to be running inside a container [2022-09-20T01:28:03.283Z] $ 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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 [2022-09-20T01:28:03.607Z] $ docker top 8f8251400d8f7ba600c8f114a0dc9c10dcd22dc3d7cdbf7929763f6b480a5bbc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T01:28:03.959Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1210 [Pipeline] fileExists [Pipeline] sh [2022-09-20T01:28:04.260Z] + make test [2022-09-20T01:28:04.260Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-20T01:28:09.543Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-20T01:28:21.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-20T01:28:21.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-20T01:28:21.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-20T01:28:21.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-20T01:28:21.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-20T01:28:22.319Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-09-20T01:28:22.319Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2022-09-20T01:28:22.319Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-20T01:28:22.319Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements [2022-09-20T01:28:22.319Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-20T01:28:22.319Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-20T01:28:22.579Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements [2022-09-20T01:28:22.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-20T01:28:22.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-20T01:28:22.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-20T01:28:22.579Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements [2022-09-20T01:28:22.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-20T01:28:22.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-20T01:28:22.579Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.760s coverage: 89.2% of statements [2022-09-20T01:28:22.579Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-20T01:28:22.840Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.5% of statements [2022-09-20T01:28:22.840Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-20T01:28:37.720Z] 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." [2022-09-20T01:28:37.720Z] GO111MODULE=on go vet ./... [2022-09-20T01:28:39.659Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T01:28:39.659Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T01:28:39.659Z] ./bin/test-attribution-txt.sh [2022-09-20T01:28:39.659Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-20T01:28:39.659Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-20T01:28:39.659Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-20T01:28:39.659Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-20T01:28:39.920Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-20T01:28:39.920Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-20T01:28:39.920Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-20T01:28:39.920Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-20T01:28:39.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T01:28:39.953Z] $ docker stop --time=1 8f8251400d8f7ba600c8f114a0dc9c10dcd22dc3d7cdbf7929763f6b480a5bbc [2022-09-20T01:28:43.999Z] $ docker rm -f 8f8251400d8f7ba600c8f114a0dc9c10dcd22dc3d7cdbf7929763f6b480a5bbc [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T01:28:44.500Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T01:28:44.561Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-20T01:28:45.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T01:28:45.365Z] + ls -al . [2022-09-20T01:28:45.365Z] total 276 [2022-09-20T01:28:45.365Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 01:28 . [2022-09-20T01:28:45.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 01:26 .. [2022-09-20T01:28:45.365Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 01:26 .dockerignore [2022-09-20T01:28:45.365Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 01:28 .git [2022-09-20T01:28:45.365Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 01:26 .github [2022-09-20T01:28:45.365Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 01:26 .gitignore [2022-09-20T01:28:45.365Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 01:26 .golangci.yml [2022-09-20T01:28:45.365Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 01:27 .semver [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 01:26 CHANGELOG.md [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 01:26 GOVERNANCE.md [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 01:26 Jenkinsfile [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 01:26 LICENSE [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 01:26 Makefile [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 01:26 OWNERS.md [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 01:26 README.md [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 01:27 VERSION [2022-09-20T01:28:45.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 01:26 bin [2022-09-20T01:28:45.366Z] -rw-r--r-- 1 jenkins jenkins 101642 Sep 20 01:28 coverage.out [2022-09-20T01:28:45.366Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 01:26 example [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 20 01:26 go.mod [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 20 01:26 go.sum [2022-09-20T01:28:45.366Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 20 01:26 internal [2022-09-20T01:28:45.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 01:26 openapi [2022-09-20T01:28:45.366Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 01:26 pkg [2022-09-20T01:28:45.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 01:26 snap [2022-09-20T01:28:45.366Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 01:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:28:45.681Z] + 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=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf --label arch=amd64 --label version=0.0.0 . [2022-09-20T01:28:45.681Z] Sending build context to Docker daemon 9.987MB [2022-09-20T01:28:45.681Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T01:28:45.681Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-20T01:28:45.681Z] ---> 3853a1ed4c11 [2022-09-20T01:28:45.681Z] Step 3/25 : ARG MAKE=make build [2022-09-20T01:28:45.941Z] ---> Running in f0058a85f3bb [2022-09-20T01:28:45.941Z] Removing intermediate container f0058a85f3bb [2022-09-20T01:28:45.941Z] ---> a381a7aa76d8 [2022-09-20T01:28:45.941Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-20T01:28:45.941Z] ---> Running in 6cf1ed47b978 [2022-09-20T01:28:46.201Z] Removing intermediate container 6cf1ed47b978 [2022-09-20T01:28:46.201Z] ---> 5b6256ce64a2 [2022-09-20T01:28:46.201Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T01:28:46.201Z] ---> Running in a197479b05a2 [2022-09-20T01:28:46.201Z] Removing intermediate container a197479b05a2 [2022-09-20T01:28:46.201Z] ---> c17c1454cf3f [2022-09-20T01:28:46.201Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T01:28:46.201Z] ---> Running in 7f244518cbd4 [2022-09-20T01:28:46.772Z] Removing intermediate container 7f244518cbd4 [2022-09-20T01:28:46.772Z] ---> 2c59e3942221 [2022-09-20T01:28:46.772Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T01:28:46.772Z] ---> Running in abbf65d54363 [2022-09-20T01:28:47.033Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T01:28:47.973Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T01:28:48.233Z] OK: 211 MiB in 51 packages [2022-09-20T01:28:48.493Z] Removing intermediate container abbf65d54363 [2022-09-20T01:28:48.493Z] ---> f0e539c8f1aa [2022-09-20T01:28:48.493Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-20T01:28:48.493Z] ---> cd8d6a53189c [2022-09-20T01:28:48.493Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T01:28:48.753Z] ---> Running in 20c43cd66b20 [2022-09-20T01:28:49.324Z] Removing intermediate container 20c43cd66b20 [2022-09-20T01:28:49.324Z] ---> a9cba5cc0b22 [2022-09-20T01:28:49.324Z] Step 10/25 : COPY . . [2022-09-20T01:28:49.894Z] ---> 00759bd1a0a6 [2022-09-20T01:28:49.894Z] Step 11/25 : RUN ${MAKE} [2022-09-20T01:28:49.894Z] ---> Running in 215bdebc01bd [2022-09-20T01:28:49.894Z] 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 [2022-09-20T01:29:07.992Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-20T01:29:11.317Z] Removing intermediate container 215bdebc01bd [2022-09-20T01:29:11.317Z] ---> 2d3b94a00e26 [2022-09-20T01:29:11.317Z] Step 12/25 : FROM alpine:3.16 [2022-09-20T01:29:11.317Z] 3.16: Pulling from library/alpine [2022-09-20T01:29:11.577Z] 213ec9aee27d: Pulling fs layer [2022-09-20T01:29:11.577Z] 213ec9aee27d: Download complete [2022-09-20T01:29:11.837Z] 213ec9aee27d: Pull complete [2022-09-20T01:29:11.837Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T01:29:11.837Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T01:29:11.837Z] ---> 9c6f07244728 [2022-09-20T01:29:11.837Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T01:29:12.097Z] ---> Running in 4295619e72aa [2022-09-20T01:29:12.097Z] Removing intermediate container 4295619e72aa [2022-09-20T01:29:12.097Z] ---> a1e9150dce1c [2022-09-20T01:29:12.097Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T01:29:12.097Z] ---> Running in 4100327723f2 [2022-09-20T01:29:12.667Z] Removing intermediate container 4100327723f2 [2022-09-20T01:29:12.667Z] ---> 7a9706a050bb [2022-09-20T01:29:12.667Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-20T01:29:12.667Z] ---> Running in 8b7b019f0862 [2022-09-20T01:29:12.928Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T01:29:13.875Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T01:29:14.135Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T01:29:14.135Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-20T01:29:14.394Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T01:29:14.395Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-20T01:29:14.655Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-20T01:29:14.655Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T01:29:14.655Z] OK: 8 MiB in 19 packages [2022-09-20T01:29:15.226Z] Removing intermediate container 8b7b019f0862 [2022-09-20T01:29:15.226Z] ---> 0da8a77c1b1e [2022-09-20T01:29:15.226Z] Step 16/25 : WORKDIR / [2022-09-20T01:29:15.226Z] ---> Running in a3f577ed5a83 [2022-09-20T01:29:15.226Z] Removing intermediate container a3f577ed5a83 [2022-09-20T01:29:15.226Z] ---> 6b928544e655 [2022-09-20T01:29:15.226Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-20T01:29:15.226Z] ---> 899f4f602254 [2022-09-20T01:29:15.226Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-20T01:29:16.198Z] ---> 37217504e506 [2022-09-20T01:29:16.198Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-20T01:29:16.198Z] ---> 6b975b84ae25 [2022-09-20T01:29:16.198Z] Step 20/25 : EXPOSE 59999 [2022-09-20T01:29:16.198Z] ---> Running in df879f2c2341 [2022-09-20T01:29:16.198Z] Removing intermediate container df879f2c2341 [2022-09-20T01:29:16.198Z] ---> 637b34dc79a6 [2022-09-20T01:29:16.198Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-20T01:29:16.198Z] ---> Running in 1e10715d29e5 [2022-09-20T01:29:16.458Z] Removing intermediate container 1e10715d29e5 [2022-09-20T01:29:16.458Z] ---> c9562229c594 [2022-09-20T01:29:16.458Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T01:29:16.458Z] ---> Running in 3cdf48f07e4b [2022-09-20T01:29:16.458Z] Removing intermediate container 3cdf48f07e4b [2022-09-20T01:29:16.458Z] ---> 53b57d11e5d4 [2022-09-20T01:29:16.458Z] Step 23/25 : LABEL arch=amd64 [2022-09-20T01:29:16.458Z] ---> Running in c3a16e5b7591 [2022-09-20T01:29:16.731Z] Removing intermediate container c3a16e5b7591 [2022-09-20T01:29:16.731Z] ---> 28ec5084aa69 [2022-09-20T01:29:16.731Z] Step 24/25 : LABEL git_sha=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [2022-09-20T01:29:16.731Z] ---> Running in d3e4338a77f1 [2022-09-20T01:29:16.731Z] Removing intermediate container d3e4338a77f1 [2022-09-20T01:29:16.731Z] ---> d4c0d924b2f3 [2022-09-20T01:29:16.731Z] Step 25/25 : LABEL version=0.0.0 [2022-09-20T01:29:16.731Z] ---> Running in d7c483693331 [2022-09-20T01:29:16.731Z] Removing intermediate container d7c483693331 [2022-09-20T01:29:16.731Z] ---> 15b56ba792b4 [2022-09-20T01:29:16.731Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T01:29:16.731Z] Successfully built 15b56ba792b4 [2022-09-20T01:29:16.992Z] 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 [2022-09-20T01:29:17.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T01:29:17.409Z] [2022-09-20T01:29:17.409Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:29:17.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T01:29:17.712Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-20T01:29:17.712Z] 5eb5b503b376: Pulling fs layer [2022-09-20T01:29:17.712Z] 5c69ac0246d0: Pulling fs layer [2022-09-20T01:29:17.712Z] ec43610c2a17: Pulling fs layer [2022-09-20T01:29:17.712Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-20T01:29:17.712Z] 33b1e0a273af: Pulling fs layer [2022-09-20T01:29:17.712Z] 5d3b04190fa2: Pulling fs layer [2022-09-20T01:29:17.712Z] 2f39f015ded8: Pulling fs layer [2022-09-20T01:29:17.712Z] 33b1e0a273af: Waiting [2022-09-20T01:29:17.712Z] 5d3b04190fa2: Waiting [2022-09-20T01:29:17.712Z] 3a2ae6a8a46f: Waiting [2022-09-20T01:29:17.712Z] 2f39f015ded8: Waiting [2022-09-20T01:29:17.712Z] 5c69ac0246d0: Verifying Checksum [2022-09-20T01:29:17.712Z] 5c69ac0246d0: Download complete [2022-09-20T01:29:17.713Z] 3a2ae6a8a46f: Download complete [2022-09-20T01:29:17.713Z] 33b1e0a273af: Verifying Checksum [2022-09-20T01:29:17.713Z] 33b1e0a273af: Download complete [2022-09-20T01:29:17.713Z] 5d3b04190fa2: Download complete [2022-09-20T01:29:17.971Z] ec43610c2a17: Verifying Checksum [2022-09-20T01:29:17.971Z] ec43610c2a17: Download complete [2022-09-20T01:29:17.971Z] 5eb5b503b376: Verifying Checksum [2022-09-20T01:29:17.971Z] 5eb5b503b376: Download complete [2022-09-20T01:29:18.540Z] 2f39f015ded8: Verifying Checksum [2022-09-20T01:29:18.540Z] 2f39f015ded8: Download complete [2022-09-20T01:29:19.107Z] 5eb5b503b376: Pull complete [2022-09-20T01:29:19.365Z] 5c69ac0246d0: Pull complete [2022-09-20T01:29:19.932Z] ec43610c2a17: Pull complete [2022-09-20T01:29:19.932Z] 3a2ae6a8a46f: Pull complete [2022-09-20T01:29:20.191Z] 33b1e0a273af: Pull complete [2022-09-20T01:29:20.191Z] 5d3b04190fa2: Pull complete [2022-09-20T01:29:24.385Z] 2f39f015ded8: Pull complete [2022-09-20T01:29:24.385Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-20T01:29:24.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T01:29:24.385Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T01:29:24.483Z] prd-ubuntu20.04-docker-8c-8g-29911 does not seem to be running inside a container [2022-09-20T01:29:24.526Z] $ 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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 [2022-09-20T01:29:28.474Z] $ docker top bfc1937c3aa29aaf55da22cea93bddec3c6d12aec311401fa14e46d0e9bd5369 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:29:28.881Z] ---> job-cost.sh [2022-09-20T01:29:28.881Z] lf-activate-venv: SKIPPING [2022-09-20T01:29:28.881Z] INFO: No Stack... [2022-09-20T01:29:29.450Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T01:29:29.710Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T01:29:30.012Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/cost.csv [2022-09-20T01:29:30.012Z] + cut -d, -f6 [Pipeline] lock [2022-09-20T01:29:30.028Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] [2022-09-20T01:29:30.034Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] did not exist. Created. [2022-09-20T01:29:30.035Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T01:29:30.342Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-20T01:29:30.407Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T01:29:30.414Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T01:29:30.433Z] $ docker stop --time=1 bfc1937c3aa29aaf55da22cea93bddec3c6d12aec311401fa14e46d0e9bd5369 [2022-09-20T01:29:31.593Z] $ docker rm -f bfc1937c3aa29aaf55da22cea93bddec3c6d12aec311401fa14e46d0e9bd5369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-20T01:30:01.469Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29914 in /w/workspace/gexfoundry_device-sdk-go_PR-1210 [Pipeline] { [Pipeline] ws [2022-09-20T01:30:01.481Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-09-20T01:30:01.554Z] The recommended git tool is: git [2022-09-20T01:30:08.866Z] using credential edgex-jenkins-ssh [2022-09-20T01:30:08.885Z] Cloning the remote Git repository [2022-09-20T01:30:08.968Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-20T01:30:09.059Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-09-20T01:30:09.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-20T01:30:09.230Z] > git --version # timeout=10 [2022-09-20T01:30:09.252Z] > git --version # 'git version 2.25.1' [2022-09-20T01:30:09.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T01:30:09.324Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T01:30:11.857Z] Merging remotes/origin/main commit 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [2022-09-20T01:30:11.072Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-20T01:30:11.093Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T01:30:11.122Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-20T01:30:11.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-20T01:30:11.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T01:30:11.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1210/head:refs/remotes/origin/PR-1210 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-20T01:30:11.876Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T01:30:11.900Z] > git checkout -f 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf # timeout=10 [2022-09-20T01:30:12.024Z] > git remote # timeout=10 [2022-09-20T01:30:12.044Z] > git config --get remote.origin.url # timeout=10 [2022-09-20T01:30:12.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T01:30:12.069Z] > git merge 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 [2022-09-20T01:30:12.112Z] Merge succeeded, producing 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [2022-09-20T01:30:12.113Z] Checking out Revision 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf (PR-1210) [2022-09-20T01:30:12.093Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-20T01:30:12.119Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T01:30:12.133Z] > git checkout -f 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf # timeout=10 [2022-09-20T01:30:16.367Z] Commit message: "refactor: refactor device command application layer" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T01:30:17.280Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-20T01:30:17.280Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T01:30:17.280Z] Dload Upload Total Spent Left Speed [2022-09-20T01:30:17.280Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-09-20T01:30:17.968Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-20T01:30:18.359Z] + sudo tee /etc/docker/daemon.new [2022-09-20T01:30:18.359Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-20T01:30:18.359Z] { [2022-09-20T01:30:18.359Z] "registry-mirrors": [ [2022-09-20T01:30:18.359Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-20T01:30:18.359Z] ], [2022-09-20T01:30:18.359Z] "bip": "10.250.0.254/24", [2022-09-20T01:30:18.359Z] "hosts": [ [2022-09-20T01:30:18.359Z] "tcp://0.0.0.0:5555", [2022-09-20T01:30:18.359Z] "unix:///var/run/docker.sock" [2022-09-20T01:30:18.359Z] ], [2022-09-20T01:30:18.359Z] "mtu": 1458, [2022-09-20T01:30:18.359Z] "selinux-enabled": true, [2022-09-20T01:30:18.359Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-20T01:30:18.359Z] } [Pipeline] sh [2022-09-20T01:30:18.729Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-20T01:30:19.077Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T01:30:37.440Z] provisioning config files... [2022-09-20T01:30:37.467Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5869892785617265496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:30:37.836Z] ---> docker-login.sh [2022-09-20T01:30:37.836Z] nexus3.edgexfoundry.org:10001 [2022-09-20T01:30:38.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:30:38.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:30:38.714Z] Configure a credential helper to remove this warning. See [2022-09-20T01:30:38.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:30:38.714Z] [2022-09-20T01:30:38.714Z] Login Succeeded [2022-09-20T01:30:38.714Z] nexus3.edgexfoundry.org:10002 [2022-09-20T01:30:38.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:30:39.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:30:39.263Z] Configure a credential helper to remove this warning. See [2022-09-20T01:30:39.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:30:39.263Z] [2022-09-20T01:30:39.263Z] Login Succeeded [2022-09-20T01:30:39.263Z] nexus3.edgexfoundry.org:10003 [2022-09-20T01:30:39.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:30:39.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:30:39.819Z] Configure a credential helper to remove this warning. See [2022-09-20T01:30:39.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:30:39.819Z] [2022-09-20T01:30:39.819Z] Login Succeeded [2022-09-20T01:30:39.819Z] nexus3.edgexfoundry.org:10004 [2022-09-20T01:30:40.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:30:40.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:30:40.099Z] Configure a credential helper to remove this warning. See [2022-09-20T01:30:40.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:30:40.099Z] [2022-09-20T01:30:40.099Z] Login Succeeded [2022-09-20T01:30:40.372Z] docker.io [2022-09-20T01:30:40.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T01:30:40.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T01:30:40.922Z] Configure a credential helper to remove this warning. See [2022-09-20T01:30:40.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T01:30:40.922Z] [2022-09-20T01:30:40.922Z] Login Succeeded [2022-09-20T01:30:40.922Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T01:30:40.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T01:30:41.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T01:30:41.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T01:30:41.565Z] ========================================================= [2022-09-20T01:30:41.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-20T01:30:41.565Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:30:41.945Z] + 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 . [2022-09-20T01:30:42.224Z] Sending build context to Docker daemon 5.345MB [2022-09-20T01:30:42.511Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T01:30:42.511Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-20T01:30:42.511Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-20T01:30:42.511Z] b3c136eddcbf: Pulling fs layer [2022-09-20T01:30:42.511Z] c0a3192eca97: Pulling fs layer [2022-09-20T01:30:42.511Z] a050256f5b6f: Pulling fs layer [2022-09-20T01:30:42.511Z] 656be50a0ddc: Pulling fs layer [2022-09-20T01:30:42.511Z] 2bbca73fdf42: Pulling fs layer [2022-09-20T01:30:42.511Z] 46d945488cbd: Pulling fs layer [2022-09-20T01:30:42.511Z] 8a5474983e97: Pulling fs layer [2022-09-20T01:30:42.511Z] 329c88fbcd65: Pulling fs layer [2022-09-20T01:30:42.511Z] 46d945488cbd: Waiting [2022-09-20T01:30:42.511Z] 8a5474983e97: Waiting [2022-09-20T01:30:42.511Z] 656be50a0ddc: Waiting [2022-09-20T01:30:42.511Z] 2bbca73fdf42: Waiting [2022-09-20T01:30:42.511Z] 329c88fbcd65: Waiting [2022-09-20T01:30:42.511Z] a050256f5b6f: Verifying Checksum [2022-09-20T01:30:42.511Z] a050256f5b6f: Download complete [2022-09-20T01:30:42.511Z] c0a3192eca97: Download complete [2022-09-20T01:30:42.511Z] 2bbca73fdf42: Verifying Checksum [2022-09-20T01:30:42.511Z] 2bbca73fdf42: Download complete [2022-09-20T01:30:42.785Z] 46d945488cbd: Verifying Checksum [2022-09-20T01:30:42.785Z] 46d945488cbd: Download complete [2022-09-20T01:30:42.785Z] b3c136eddcbf: Verifying Checksum [2022-09-20T01:30:43.802Z] b3c136eddcbf: Pull complete [2022-09-20T01:30:43.802Z] 329c88fbcd65: Verifying Checksum [2022-09-20T01:30:43.802Z] 329c88fbcd65: Download complete [2022-09-20T01:30:44.085Z] c0a3192eca97: Pull complete [2022-09-20T01:30:44.367Z] a050256f5b6f: Pull complete [2022-09-20T01:30:44.969Z] 8a5474983e97: Verifying Checksum [2022-09-20T01:30:44.969Z] 8a5474983e97: Download complete [2022-09-20T01:30:45.951Z] 656be50a0ddc: Verifying Checksum [2022-09-20T01:30:45.951Z] 656be50a0ddc: Download complete [2022-09-20T01:31:01.054Z] 656be50a0ddc: Pull complete [2022-09-20T01:31:01.054Z] 2bbca73fdf42: Pull complete [2022-09-20T01:31:01.054Z] 46d945488cbd: Pull complete [2022-09-20T01:31:06.483Z] 8a5474983e97: Pull complete [2022-09-20T01:31:08.473Z] 329c88fbcd65: Pull complete [2022-09-20T01:31:08.473Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-20T01:31:08.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-20T01:31:08.473Z] ---> ff4287adb874 [2022-09-20T01:31:08.473Z] Step 3/11 : ARG MAKE=make build [2022-09-20T01:31:09.467Z] ---> Running in acbb57d59d6b [2022-09-20T01:31:09.745Z] Removing intermediate container acbb57d59d6b [2022-09-20T01:31:09.745Z] ---> f91864bde05c [2022-09-20T01:31:09.745Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-20T01:31:09.745Z] ---> Running in bf6fe8e69c2f [2022-09-20T01:31:10.355Z] Removing intermediate container bf6fe8e69c2f [2022-09-20T01:31:10.355Z] ---> 3d76ab91260f [2022-09-20T01:31:10.355Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T01:31:10.355Z] ---> Running in 59c70fc7db49 [2022-09-20T01:31:11.794Z] Removing intermediate container 59c70fc7db49 [2022-09-20T01:31:11.794Z] ---> 3a283f89a4d4 [2022-09-20T01:31:11.794Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T01:31:12.070Z] ---> Running in 39e625871827 [2022-09-20T01:31:14.053Z] Removing intermediate container 39e625871827 [2022-09-20T01:31:14.053Z] ---> cb11657d4d3c [2022-09-20T01:31:14.053Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T01:31:14.053Z] ---> Running in c8e065a220cb [2022-09-20T01:31:15.030Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T01:31:15.626Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T01:31:16.610Z] OK: 221 MiB in 51 packages [2022-09-20T01:31:17.609Z] Removing intermediate container c8e065a220cb [2022-09-20T01:31:17.609Z] ---> 1fda3db61574 [2022-09-20T01:31:17.609Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-20T01:31:18.212Z] ---> b224403db6fd [2022-09-20T01:31:18.212Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T01:31:18.212Z] ---> Running in 18473a78183b [2022-09-20T01:32:05.222Z] Removing intermediate container 18473a78183b [2022-09-20T01:32:05.222Z] ---> 22474b7d6c10 [2022-09-20T01:32:05.222Z] Step 10/11 : COPY . . [2022-09-20T01:32:06.660Z] ---> cf4456800a6f [2022-09-20T01:32:06.660Z] Step 11/11 : RUN ${MAKE} [2022-09-20T01:32:06.660Z] ---> Running in 2a05e46d7c65 [2022-09-20T01:32:07.656Z] noop [2022-09-20T01:32:08.252Z] Removing intermediate container 2a05e46d7c65 [2022-09-20T01:32:08.252Z] ---> d6e160522433 [2022-09-20T01:32:08.252Z] Successfully built d6e160522433 [2022-09-20T01:32:08.252Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:32:08.622Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T01:32:08.622Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T01:32:08.873Z] prd-ubuntu20.04-docker-arm64-4c-16g-29914 does not seem to be running inside a container [2022-09-20T01:32:08.954Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-20T01:32:10.260Z] $ docker top e5da13b0cf2b20366f744cb770956caf172bbb429f34d5933eaa33c96df1e5ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T01:32:11.228Z] + go version [2022-09-20T01:32:11.228Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-20T01:32:11.252Z] $ docker stop --time=1 e5da13b0cf2b20366f744cb770956caf172bbb429f34d5933eaa33c96df1e5ff [2022-09-20T01:32:12.939Z] $ docker rm -f e5da13b0cf2b20366f744cb770956caf172bbb429f34d5933eaa33c96df1e5ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:32:13.556Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T01:32:13.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T01:32:13.823Z] prd-ubuntu20.04-docker-arm64-4c-16g-29914 does not seem to be running inside a container [2022-09-20T01:32:13.910Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-20T01:32:15.312Z] $ docker top dd05596e28cd82399c20df0364f21f22a33cb6e79d3855d0c0031d8afceb9087 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T01:32:16.277Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-09-20T01:32:16.956Z] + make test [2022-09-20T01:32:16.956Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-20T01:32:49.336Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-20T01:34:41.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-20T01:34:41.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-20T01:34:41.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-20T01:34:41.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-20T01:34:41.229Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-20T01:34:43.884Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.306s coverage: 27.6% of statements [2022-09-20T01:34:45.883Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.488s coverage: 78.9% of statements [2022-09-20T01:34:45.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-20T01:34:50.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.514s coverage: 60.0% of statements [2022-09-20T01:34:50.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-20T01:34:50.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-20T01:34:52.867Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.615s coverage: 54.4% of statements [2022-09-20T01:34:52.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-20T01:34:52.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-20T01:34:52.867Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-20T01:34:53.474Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.434s coverage: 65.1% of statements [2022-09-20T01:34:53.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-20T01:34:53.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-20T01:34:54.465Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.194s coverage: 89.2% of statements [2022-09-20T01:34:54.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-20T01:34:57.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.242s coverage: 4.5% of statements [2022-09-20T01:34:57.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-20T01:34:57.686Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-20T01:34:57.686Z] GO111MODULE=on go vet ./... [2022-09-20T01:36:34.576Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T01:36:34.576Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T01:36:34.576Z] ./bin/test-attribution-txt.sh [2022-09-20T01:36:34.576Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-20T01:36:34.576Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-20T01:36:34.576Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-20T01:36:34.576Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-20T01:36:34.576Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-20T01:36:34.576Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-20T01:36:34.576Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-20T01:36:34.576Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-20T01:36:34.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T01:36:34.612Z] $ docker stop --time=1 dd05596e28cd82399c20df0364f21f22a33cb6e79d3855d0c0031d8afceb9087 [2022-09-20T01:36:36.527Z] $ docker rm -f dd05596e28cd82399c20df0364f21f22a33cb6e79d3855d0c0031d8afceb9087 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T01:36:37.937Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T01:36:37.968Z] Warning: overwriting stash ‘coverage-report’ [2022-09-20T01:36:38.610Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T01:36:39.013Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T01:36:39.353Z] + ls -al . [2022-09-20T01:36:39.353Z] total 272 [2022-09-20T01:36:39.353Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 01:32 . [2022-09-20T01:36:39.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 01:30 .. [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 01:30 .dockerignore [2022-09-20T01:36:39.353Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 01:30 .git [2022-09-20T01:36:39.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 01:30 .github [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 01:30 .gitignore [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 01:30 .golangci.yml [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 01:30 CHANGELOG.md [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 01:30 GOVERNANCE.md [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 01:30 Jenkinsfile [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 01:30 LICENSE [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 01:30 Makefile [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 01:30 OWNERS.md [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 01:30 README.md [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 01:27 VERSION [2022-09-20T01:36:39.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 01:30 bin [2022-09-20T01:36:39.353Z] -rw-r--r-- 1 jenkins jenkins 101642 Sep 20 01:34 coverage.out [2022-09-20T01:36:39.353Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 01:30 example [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 20 01:30 go.mod [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 20 01:30 go.sum [2022-09-20T01:36:39.353Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 20 01:30 internal [2022-09-20T01:36:39.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 01:30 openapi [2022-09-20T01:36:39.353Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 01:30 pkg [2022-09-20T01:36:39.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 01:30 snap [2022-09-20T01:36:39.353Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:36:39.715Z] + 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=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf --label arch=arm64 --label version=0.0.0 . [2022-09-20T01:36:40.317Z] Sending build context to Docker daemon 5.447MB [2022-09-20T01:36:40.317Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T01:36:40.317Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-20T01:36:40.317Z] ---> d6e160522433 [2022-09-20T01:36:40.317Z] Step 3/25 : ARG MAKE=make build [2022-09-20T01:36:40.317Z] ---> Running in 03d3d4129967 [2022-09-20T01:36:40.594Z] Removing intermediate container 03d3d4129967 [2022-09-20T01:36:40.594Z] ---> aaf0ebea4757 [2022-09-20T01:36:40.594Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-20T01:36:40.594Z] ---> Running in 705df5efa268 [2022-09-20T01:36:41.200Z] Removing intermediate container 705df5efa268 [2022-09-20T01:36:41.200Z] ---> 5cdb38b3ec96 [2022-09-20T01:36:41.200Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T01:36:41.200Z] ---> Running in 069f46ed5c94 [2022-09-20T01:36:41.484Z] Removing intermediate container 069f46ed5c94 [2022-09-20T01:36:41.484Z] ---> c58a6ebde744 [2022-09-20T01:36:41.484Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T01:36:41.484Z] ---> Running in e19d659f79d8 [2022-09-20T01:36:43.472Z] Removing intermediate container e19d659f79d8 [2022-09-20T01:36:43.472Z] ---> fae5cf0af5a8 [2022-09-20T01:36:43.472Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-20T01:36:43.472Z] ---> Running in fac4b21374a0 [2022-09-20T01:36:44.454Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T01:36:45.441Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T01:36:46.424Z] OK: 221 MiB in 51 packages [2022-09-20T01:36:47.029Z] Removing intermediate container fac4b21374a0 [2022-09-20T01:36:47.029Z] ---> 24c70378c1d4 [2022-09-20T01:36:47.029Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-20T01:36:47.637Z] ---> ae2c20a96f6f [2022-09-20T01:36:47.637Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T01:36:47.637Z] ---> Running in 34bc50336bec [2022-09-20T01:36:49.638Z] Removing intermediate container 34bc50336bec [2022-09-20T01:36:49.638Z] ---> ae3a4eac8d87 [2022-09-20T01:36:49.638Z] Step 10/25 : COPY . . [2022-09-20T01:36:51.080Z] ---> 4b45b6152dfc [2022-09-20T01:36:51.080Z] Step 11/25 : RUN ${MAKE} [2022-09-20T01:36:51.080Z] ---> Running in a3e91d7c75e1 [2022-09-20T01:36:52.068Z] 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 [2022-09-20T01:38:58.974Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-20T01:39:03.289Z] Removing intermediate container a3e91d7c75e1 [2022-09-20T01:39:03.289Z] ---> 1bfb6f099910 [2022-09-20T01:39:03.289Z] Step 12/25 : FROM alpine:3.16 [2022-09-20T01:39:03.883Z] 3.16: Pulling from library/alpine [2022-09-20T01:39:04.157Z] 9b18e9b68314: Pulling fs layer [2022-09-20T01:39:04.431Z] 9b18e9b68314: Verifying Checksum [2022-09-20T01:39:04.431Z] 9b18e9b68314: Download complete [2022-09-20T01:39:05.026Z] 9b18e9b68314: Pull complete [2022-09-20T01:39:05.026Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T01:39:05.026Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T01:39:05.026Z] ---> a6215f271958 [2022-09-20T01:39:05.026Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-20T01:39:05.026Z] ---> Running in 8ae1dbb05ac0 [2022-09-20T01:39:05.301Z] Removing intermediate container 8ae1dbb05ac0 [2022-09-20T01:39:05.301Z] ---> 567c0830363d [2022-09-20T01:39:05.301Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T01:39:05.301Z] ---> Running in 723f22f3a8ad [2022-09-20T01:39:07.286Z] Removing intermediate container 723f22f3a8ad [2022-09-20T01:39:07.287Z] ---> 646e323cfbcb [2022-09-20T01:39:07.287Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-20T01:39:07.287Z] ---> Running in a2100a6af12e [2022-09-20T01:39:07.885Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T01:39:08.863Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T01:39:09.839Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T01:39:10.112Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-20T01:39:10.112Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T01:39:10.388Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-20T01:39:10.388Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-20T01:39:10.388Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T01:39:10.388Z] OK: 8 MiB in 19 packages [2022-09-20T01:39:11.373Z] Removing intermediate container a2100a6af12e [2022-09-20T01:39:11.373Z] ---> 0e460efaf83d [2022-09-20T01:39:11.373Z] Step 16/25 : WORKDIR / [2022-09-20T01:39:11.373Z] ---> Running in 66ea13ab472a [2022-09-20T01:39:11.649Z] Removing intermediate container 66ea13ab472a [2022-09-20T01:39:11.649Z] ---> b914c8a3d19a [2022-09-20T01:39:11.649Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-20T01:39:12.245Z] ---> 9dac2870542b [2022-09-20T01:39:12.245Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-20T01:39:13.685Z] ---> bbdec55517aa [2022-09-20T01:39:13.685Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-20T01:39:14.283Z] ---> 53c4f15ded9d [2022-09-20T01:39:14.283Z] Step 20/25 : EXPOSE 59999 [2022-09-20T01:39:14.283Z] ---> Running in 4ddbc14d10bc [2022-09-20T01:39:14.561Z] Removing intermediate container 4ddbc14d10bc [2022-09-20T01:39:14.561Z] ---> 1c67df63872a [2022-09-20T01:39:14.561Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-20T01:39:14.561Z] ---> Running in ab4122d18639 [2022-09-20T01:39:14.837Z] Removing intermediate container ab4122d18639 [2022-09-20T01:39:14.837Z] ---> a2f6b668885f [2022-09-20T01:39:14.837Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T01:39:15.111Z] ---> Running in 2347525ecc39 [2022-09-20T01:39:15.384Z] Removing intermediate container 2347525ecc39 [2022-09-20T01:39:15.384Z] ---> ac365cd3b144 [2022-09-20T01:39:15.384Z] Step 23/25 : LABEL arch=arm64 [2022-09-20T01:39:15.384Z] ---> Running in aa2efba2b179 [2022-09-20T01:39:15.659Z] Removing intermediate container aa2efba2b179 [2022-09-20T01:39:15.659Z] ---> 5c5b8f41ef32 [2022-09-20T01:39:15.659Z] Step 24/25 : LABEL git_sha=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [2022-09-20T01:39:15.659Z] ---> Running in 423061b63cba [2022-09-20T01:39:16.255Z] Removing intermediate container 423061b63cba [2022-09-20T01:39:16.255Z] ---> 1ad07bbbe045 [2022-09-20T01:39:16.255Z] Step 25/25 : LABEL version=0.0.0 [2022-09-20T01:39:16.255Z] ---> Running in 5c998de5e5ba [2022-09-20T01:39:16.528Z] Removing intermediate container 5c998de5e5ba [2022-09-20T01:39:16.528Z] ---> df6de2d24efd [2022-09-20T01:39:16.528Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T01:39:16.528Z] Successfully built df6de2d24efd [2022-09-20T01:39:16.528Z] 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 [2022-09-20T01:39:16.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T01:39:16.987Z] [2022-09-20T01:39:16.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:39:17.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T01:39:17.627Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-20T01:39:17.627Z] 8998bd30e6a1: Pulling fs layer [2022-09-20T01:39:17.627Z] 04944245beec: Pulling fs layer [2022-09-20T01:39:17.627Z] 699f458cf7ca: Pulling fs layer [2022-09-20T01:39:17.627Z] 765212b225bb: Pulling fs layer [2022-09-20T01:39:17.627Z] f23df028b6ca: Pulling fs layer [2022-09-20T01:39:17.627Z] d65c8cfc05b1: Pulling fs layer [2022-09-20T01:39:17.627Z] 2437ff75d9bd: Pulling fs layer [2022-09-20T01:39:17.627Z] f23df028b6ca: Waiting [2022-09-20T01:39:17.627Z] d65c8cfc05b1: Waiting [2022-09-20T01:39:17.627Z] 765212b225bb: Waiting [2022-09-20T01:39:17.627Z] 2437ff75d9bd: Waiting [2022-09-20T01:39:17.627Z] 04944245beec: Verifying Checksum [2022-09-20T01:39:17.627Z] 04944245beec: Download complete [2022-09-20T01:39:17.627Z] 765212b225bb: Download complete [2022-09-20T01:39:17.627Z] f23df028b6ca: Verifying Checksum [2022-09-20T01:39:17.627Z] f23df028b6ca: Download complete [2022-09-20T01:39:17.627Z] d65c8cfc05b1: Verifying Checksum [2022-09-20T01:39:17.627Z] d65c8cfc05b1: Download complete [2022-09-20T01:39:17.905Z] 699f458cf7ca: Verifying Checksum [2022-09-20T01:39:17.905Z] 699f458cf7ca: Download complete [2022-09-20T01:39:18.182Z] 8998bd30e6a1: Verifying Checksum [2022-09-20T01:39:18.182Z] 8998bd30e6a1: Download complete [2022-09-20T01:39:20.813Z] 2437ff75d9bd: Verifying Checksum [2022-09-20T01:39:20.813Z] 2437ff75d9bd: Download complete [2022-09-20T01:39:22.795Z] 8998bd30e6a1: Pull complete [2022-09-20T01:39:23.071Z] 04944245beec: Pull complete [2022-09-20T01:39:24.516Z] 699f458cf7ca: Pull complete [2022-09-20T01:39:24.791Z] 765212b225bb: Pull complete [2022-09-20T01:39:25.774Z] f23df028b6ca: Pull complete [2022-09-20T01:39:26.052Z] d65c8cfc05b1: Pull complete [2022-09-20T01:39:41.151Z] 2437ff75d9bd: Pull complete [2022-09-20T01:39:41.151Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-20T01:39:41.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T01:39:41.151Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T01:39:41.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-29914 does not seem to be running inside a container [2022-09-20T01:39:41.491Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-20T01:39:44.289Z] $ docker top 94dd455a5ace877d7227bee2ef047ad928170bee595bba356fb14b3f5b935c19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:39:45.225Z] ---> job-cost.sh [2022-09-20T01:39:45.225Z] lf-activate-venv: SKIPPING [2022-09-20T01:39:45.225Z] INFO: No Stack... [2022-09-20T01:39:45.823Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-20T01:39:46.800Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T01:39:47.467Z] + cut -d, -f6 [2022-09-20T01:39:47.467Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2022-09-20T01:39:47.556Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] [2022-09-20T01:39:47.562Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] did not exist. Created. [2022-09-20T01:39:47.562Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T01:39:48.301Z] /w/workspace/device-sdk-go/2@tmp/durable-7f07d67a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-20T01:39:49.010Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-20T01:39:49.038Z] Warning: overwriting stash ‘stack-cost’ [2022-09-20T01:39:49.112Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T01:39:49.119Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T01:39:49.139Z] $ docker stop --time=1 94dd455a5ace877d7227bee2ef047ad928170bee595bba356fb14b3f5b935c19 [2022-09-20T01:39:50.670Z] $ docker rm -f 94dd455a5ace877d7227bee2ef047ad928170bee595bba356fb14b3f5b935c19 [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 [2022-09-20T01:39:51.165Z] provisioning config files... [2022-09-20T01:39:51.174Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config8682240644998112422tmp [Pipeline] { [Pipeline] sh [2022-09-20T01:39:51.471Z] + set +x [2022-09-20T01:39:51.471Z] + curl -s https://codecov.io/bash [2022-09-20T01:39:51.471Z] + bash -s -- [2022-09-20T01:39:51.471Z] [2022-09-20T01:39:51.471Z] _____ _ [2022-09-20T01:39:51.471Z] / ____| | | [2022-09-20T01:39:51.471Z] | | ___ __| | ___ ___ _____ __ [2022-09-20T01:39:51.471Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-20T01:39:51.471Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-20T01:39:51.471Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-20T01:39:51.471Z] Bash-1.0.6 [2022-09-20T01:39:51.471Z] [2022-09-20T01:39:51.471Z] [2022-09-20T01:39:51.471Z] ==> git version 2.25.1 found [2022-09-20T01:39:51.471Z] ==> 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 [2022-09-20T01:39:51.471Z] Release-Date: 2020-01-08 [2022-09-20T01:39:51.471Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-20T01:39:51.471Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-20T01:39:51.471Z] ==> Jenkins CI detected. [2022-09-20T01:39:51.471Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1210 [2022-09-20T01:39:51.471Z] project root: . [2022-09-20T01:39:51.471Z] --> token set from env [2022-09-20T01:39:51.471Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-20T01:39:51.732Z] ==> Running gcov in . (disable via -X gcov) [2022-09-20T01:39:51.732Z] ==> Python coveragepy not found [2022-09-20T01:39:51.732Z] ==> Searching for coverage reports in: [2022-09-20T01:39:51.732Z] + . [2022-09-20T01:39:51.732Z] -> Found 1 reports [2022-09-20T01:39:51.732Z] ==> Detecting git/mercurial file structure [2022-09-20T01:39:51.732Z] ==> Reading reports [2022-09-20T01:39:51.732Z] + ./coverage.out bytes=101642 [2022-09-20T01:39:51.732Z] ==> Appending adjustments [2022-09-20T01:39:51.732Z] https://docs.codecov.io/docs/fixing-reports [2022-09-20T01:39:51.992Z] + Found adjustments [2022-09-20T01:39:51.992Z] ==> Gzipping contents [2022-09-20T01:39:51.992Z] 16K /tmp/codecov.FybGld.gz [2022-09-20T01:39:51.992Z] ==> Uploading reports [2022-09-20T01:39:51.992Z] url: https://codecov.io [2022-09-20T01:39:51.992Z] query: branch=PR-1210&commit=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1210%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1210&job=&cmd_args= [2022-09-20T01:39:51.992Z] -> Pinging Codecov [2022-09-20T01:39:51.992Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1210&commit=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1210%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1210&job=&cmd_args= [2022-09-20T01:39:52.252Z] -> Uploading to [2022-09-20T01:39:52.252Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-20/7E55EF52A471D76F132DFD9A03CDDE97/0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf/07e675ef-c615-42a5-88b6-dde802fb1583.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T013952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e57d7f95d74771314351c12929fe083dd34fd708ad649b5112c2353227154087 [2022-09-20T01:39:52.252Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T01:39:52.252Z] Dload Upload Total Spent Left Speed [2022-09-20T01:39:52.823Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14441 0 0 100 14441 0 52704 --:--:-- --:--:-- --:--:-- 52704 [2022-09-20T01:39:52.823Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [Pipeline] } [2022-09-20T01:39:52.831Z] 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 [2022-09-20T01:39:53.492Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives ] [2022-09-20T01:39:53.492Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives [2022-09-20T01:39:53.492Z] total 16 [2022-09-20T01:39:53.492Z] drwxr-xr-x 3 root root 4096 Sep 20 01:29 . [2022-09-20T01:39:53.492Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 01:29 .. [2022-09-20T01:39:53.492Z] drwxr-xr-x 2 root root 4096 Sep 20 01:29 cost [2022-09-20T01:39:53.492Z] -rw-r--r-- 1 root root 86 Sep 20 01:29 cost.csv [2022-09-20T01:39:53.492Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives [2022-09-20T01:39:53.492Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives [2022-09-20T01:39:53.492Z] total 16 [2022-09-20T01:39:53.492Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 01:29 . [2022-09-20T01:39:53.492Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 01:29 .. [2022-09-20T01:39:53.492Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 01:29 cost [2022-09-20T01:39:53.492Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:39:53.787Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:39:54.653Z] ---> package-listing.sh [2022-09-20T01:39:54.653Z] ++ facter osfamily [2022-09-20T01:39:54.653Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-20T01:39:54.913Z] + OS_FAMILY=debian [2022-09-20T01:39:54.913Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1210 [2022-09-20T01:39:54.913Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-20T01:39:54.913Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-20T01:39:54.913Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-20T01:39:54.913Z] + PACKAGES=/tmp/packages_start.txt [2022-09-20T01:39:54.913Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1210 ']' [2022-09-20T01:39:54.913Z] + PACKAGES=/tmp/packages_end.txt [2022-09-20T01:39:54.913Z] + case "${OS_FAMILY}" in [2022-09-20T01:39:54.913Z] + dpkg -l [2022-09-20T01:39:54.913Z] + grep '^ii' [2022-09-20T01:39:54.913Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-20T01:39:54.913Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-20T01:39:54.913Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-20T01:39:54.913Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1210 ']' [2022-09-20T01:39:54.913Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/ [2022-09-20T01:39:54.913Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/ [Pipeline] echo [2022-09-20T01:39:54.925Z] 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-1210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-20T01:39:55.205Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T01:39:55.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T01:39:55.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T01:39:55.843Z] prd-ubuntu20.04-docker-8c-8g-29911 does not seem to be running inside a container [2022-09-20T01:39:55.879Z] $ 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-1210/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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 [2022-09-20T01:39:56.105Z] $ docker top 93feefcaaa37a9e31363c3b14a7beb6450ff13079578b86efab2e92a152f129c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T01:39:56.464Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-20T01:39:56.754Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-20T01:39:57.043Z] + ls /var/log/sa-host [2022-09-20T01:39:57.043Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T01:39:57.216Z] provisioning config files... [2022-09-20T01:39:57.224Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config6698884286506592274tmp [Pipeline] { [Pipeline] echo [2022-09-20T01:39:57.240Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:39:57.526Z] ---> create-netrc.sh [Pipeline] } [2022-09-20T01:39:57.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:39:57.867Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-20T01:39:57.876Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:39:58.162Z] ---> sudo-logs.sh [2022-09-20T01:39:58.162Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-20T01:39:58.193Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:39:58.480Z] ---> job-cost.sh [2022-09-20T01:39:58.480Z] lf-activate-venv: SKIPPING [2022-09-20T01:39:58.480Z] DEBUG: total: 0.2199999988079071 [2022-09-20T01:39:58.480Z] INFO: Retrieving Stack Cost... [2022-09-20T01:39:58.739Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T01:39:59.310Z] INFO: Archiving Costs [Pipeline] echo [2022-09-20T01:39:59.322Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T01:39:59.610Z] ---> logs-deploy.sh [2022-09-20T01:39:59.610Z] lf-activate-venv: SKIPPING [2022-09-20T01:39:59.610Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1210/2 [2022-09-20T01:39:59.610Z] INFO: archiving workspace using pattern(s): [2022-09-20T01:40:00.550Z] Archives upload complete. [2022-09-20T01:40:00.810Z] INFO: archiving logs to Nexus