Branch indexing 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9867ceccc81c4680e14fc13c8919f6907f05772+c582db119472e089660f4546ea857b2fbcd79f76 (494570c41746af89f2651a893569727e0560734f) 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-ssh2620663799054330162.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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-ssh2096346422901952194.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-1196/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-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14939532993956269419.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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-ssh9096187469767162298.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1196/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-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17936031092687352278.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1318 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [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-1196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c582db119472e089660f4546ea857b2fbcd79f76 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing eb02d557af5a8de536f33d4ffc2f370c412e40c0 Checking out Revision eb02d557af5a8de536f33d4ffc2f370c412e40c0 (PR-1196) > git config core.sparsecheckout # timeout=10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge c582db119472e089660f4546ea857b2fbcd79f76 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb02d557af5a8de536f33d4ffc2f370c412e40c0 # timeout=10 Commit message: "Merge commit 'c582db119472e089660f4546ea857b2fbcd79f76' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 3c4fa9c6120d51801d901573f3ce82a88b532ea7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T06:43:12.600Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T06:43:12.656Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T06:43:12.671Z] ========================================================= [2022-09-27T06:43:12.671Z] EdgeX Global Pipelines Version Info [2022-09-27T06:43:12.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:43:13.379Z] ------------------- [2022-09-27T06:43:13.379Z] stable info: [2022-09-27T06:43:13.379Z] ------------------- [2022-09-27T06:43:13.379Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T06:43:13.379Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T06:43:13.379Z] Message: update stable to v1.0.239 [2022-09-27T06:43:13.948Z] ------------------- [2022-09-27T06:43:13.948Z] experimental info: [2022-09-27T06:43:13.948Z] ------------------- [2022-09-27T06:43:13.948Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T06:43:13.948Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T06:43:13.948Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T06:43:14.139Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-27T06:43:14.152Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-27T06:43:14.170Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T06:43:14.186Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T06:43:14.198Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T06:43:14.210Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T06:43:14.225Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T06:43:14.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-27T06:43:14.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T06:43:14.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T06:43:14.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T06:43:14.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-27T06:43:14.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T06:43:14.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T06:43:14.332Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T06:43:14.345Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T06:43:14.359Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T06:43:14.370Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T06:43:14.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T06:43:14.395Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T06:43:14.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-27T06:43:14.428Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-27T06:43:14.441Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T06:43:14.455Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T06:43:14.464Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T06:43:14.481Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T06:43:14.497Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T06:43:14.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo [2022-09-27T06:43:14.523Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo [2022-09-27T06:43:14.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo [2022-09-27T06:43:14.551Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb02d557af5a8de536f33d4ffc2f370c412e40c0 [Pipeline] echo [2022-09-27T06:43:14.567Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb02d55 [Pipeline] echo [2022-09-27T06:43:14.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T06:43:14.618Z] provisioning config files... [2022-09-27T06:43:14.632Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config5082988095170898960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:43:14.936Z] ---> docker-login.sh [2022-09-27T06:43:14.936Z] nexus3.edgexfoundry.org:10001 [2022-09-27T06:43:15.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:43:15.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:43:15.200Z] Configure a credential helper to remove this warning. See [2022-09-27T06:43:15.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:43:15.200Z] [2022-09-27T06:43:15.200Z] Login Succeeded [2022-09-27T06:43:15.200Z] nexus3.edgexfoundry.org:10002 [2022-09-27T06:43:15.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:43:15.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:43:15.200Z] Configure a credential helper to remove this warning. See [2022-09-27T06:43:15.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:43:15.200Z] [2022-09-27T06:43:15.200Z] Login Succeeded [2022-09-27T06:43:15.200Z] nexus3.edgexfoundry.org:10003 [2022-09-27T06:43:15.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:43:15.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:43:15.460Z] Configure a credential helper to remove this warning. See [2022-09-27T06:43:15.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:43:15.460Z] [2022-09-27T06:43:15.460Z] Login Succeeded [2022-09-27T06:43:15.460Z] nexus3.edgexfoundry.org:10004 [2022-09-27T06:43:15.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:43:15.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:43:15.460Z] Configure a credential helper to remove this warning. See [2022-09-27T06:43:15.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:43:15.460Z] [2022-09-27T06:43:15.460Z] Login Succeeded [2022-09-27T06:43:15.460Z] docker.io [2022-09-27T06:43:15.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:43:16.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:43:16.031Z] Configure a credential helper to remove this warning. See [2022-09-27T06:43:16.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:43:16.031Z] [2022-09-27T06:43:16.031Z] Login Succeeded [2022-09-27T06:43:16.031Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T06:43:16.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T06:43:16.400Z] + git rev-list -1 --merges eb02d557af5a8de536f33d4ffc2f370c412e40c0~1..eb02d557af5a8de536f33d4ffc2f370c412e40c0 [Pipeline] echo [2022-09-27T06:43:16.435Z] -----------> git rev-list -1 --merges eb02d557af5a8de536f33d4ffc2f370c412e40c0~1..eb02d557af5a8de536f33d4ffc2f370c412e40c0 eb02d557af5a8de536f33d4ffc2f370c412e40c0 [2022-09-27T06:43:16.435Z] eb02d557af5a8de536f33d4ffc2f370c412e40c0 [false] [Pipeline] sh [2022-09-27T06:43:16.725Z] + git log --format=format:%s -1 eb02d557af5a8de536f33d4ffc2f370c412e40c0 [Pipeline] echo [2022-09-27T06:43:16.741Z] ========================================================= [2022-09-27T06:43:16.741Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T06:43:16.741Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T06:43:17.066Z] + git log --format=format:%s -1 eb02d557af5a8de536f33d4ffc2f370c412e40c0 [Pipeline] echo [2022-09-27T06:43:17.079Z] [semverPrep] GIT_COMMIT: eb02d557af5a8de536f33d4ffc2f370c412e40c0, Commit Message: Merge commit 'c582db119472e089660f4546ea857b2fbcd79f76' into HEAD [Pipeline] echo [2022-09-27T06:43:17.089Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T06:43:17.467Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T06:43:17.467Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T06:43:17.467Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T06:43:17.467Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T06:43:17.467Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T06:43:17.467Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T06:43:17.467Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:43:17.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T06:43:17.893Z] [2022-09-27T06:43:17.893Z] 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-27T06:43:18.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T06:43:18.224Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T06:43:18.224Z] b85a868b505f: Pulling fs layer [2022-09-27T06:43:18.224Z] e2be974225ed: Pulling fs layer [2022-09-27T06:43:18.224Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T06:43:18.224Z] 988bab9f4d93: Pulling fs layer [2022-09-27T06:43:18.224Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T06:43:18.224Z] eaf3925da568: Pulling fs layer [2022-09-27T06:43:18.224Z] bab4dde63d76: Pulling fs layer [2022-09-27T06:43:18.224Z] bde34c3a00c8: Pulling fs layer [2022-09-27T06:43:18.224Z] b352a97aabf1: Pulling fs layer [2022-09-27T06:43:18.224Z] 4872d77fe225: Pulling fs layer [2022-09-27T06:43:18.224Z] 5851b861e8e6: Pulling fs layer [2022-09-27T06:43:18.224Z] 1469e6f7b9e6: Waiting [2022-09-27T06:43:18.224Z] eaf3925da568: Waiting [2022-09-27T06:43:18.224Z] 5851b861e8e6: Waiting [2022-09-27T06:43:18.224Z] bde34c3a00c8: Waiting [2022-09-27T06:43:18.224Z] 4872d77fe225: Waiting [2022-09-27T06:43:18.224Z] 988bab9f4d93: Waiting [2022-09-27T06:43:18.224Z] bab4dde63d76: Waiting [2022-09-27T06:43:18.224Z] b352a97aabf1: Waiting [2022-09-27T06:43:18.224Z] e2be974225ed: Verifying Checksum [2022-09-27T06:43:18.224Z] e2be974225ed: Download complete [2022-09-27T06:43:18.224Z] 988bab9f4d93: Verifying Checksum [2022-09-27T06:43:18.224Z] 988bab9f4d93: Download complete [2022-09-27T06:43:18.484Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T06:43:18.484Z] 1469e6f7b9e6: Download complete [2022-09-27T06:43:18.484Z] eaf3925da568: Verifying Checksum [2022-09-27T06:43:18.484Z] eaf3925da568: Download complete [2022-09-27T06:43:18.484Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T06:43:18.484Z] 339a4e72a1f5: Download complete [2022-09-27T06:43:18.484Z] bde34c3a00c8: Verifying Checksum [2022-09-27T06:43:18.484Z] bde34c3a00c8: Download complete [2022-09-27T06:43:18.484Z] b352a97aabf1: Download complete [2022-09-27T06:43:18.484Z] 4872d77fe225: Verifying Checksum [2022-09-27T06:43:18.484Z] 4872d77fe225: Download complete [2022-09-27T06:43:18.484Z] 5851b861e8e6: Verifying Checksum [2022-09-27T06:43:18.484Z] 5851b861e8e6: Download complete [2022-09-27T06:43:18.484Z] b85a868b505f: Verifying Checksum [2022-09-27T06:43:18.484Z] b85a868b505f: Download complete [2022-09-27T06:43:18.745Z] bab4dde63d76: Verifying Checksum [2022-09-27T06:43:18.745Z] bab4dde63d76: Download complete [2022-09-27T06:43:19.681Z] b85a868b505f: Pull complete [2022-09-27T06:43:19.681Z] e2be974225ed: Pull complete [2022-09-27T06:43:20.249Z] 339a4e72a1f5: Pull complete [2022-09-27T06:43:20.249Z] 988bab9f4d93: Pull complete [2022-09-27T06:43:20.508Z] 1469e6f7b9e6: Pull complete [2022-09-27T06:43:20.508Z] eaf3925da568: Pull complete [2022-09-27T06:43:22.440Z] bab4dde63d76: Pull complete [2022-09-27T06:43:22.440Z] bde34c3a00c8: Pull complete [2022-09-27T06:43:22.700Z] b352a97aabf1: Pull complete [2022-09-27T06:43:22.700Z] 4872d77fe225: Pull complete [2022-09-27T06:43:22.960Z] 5851b861e8e6: Pull complete [2022-09-27T06:43:22.960Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T06:43:22.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T06:43:22.960Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T06:43:23.050Z] prd-ubuntu20.04-docker-8c-8g-1318 does not seem to be running inside a container [2022-09-27T06:43:23.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-27T06:43:24.381Z] $ docker top 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb -eo pid,comm [2022-09-27T06:43:24.449Z] 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-27T06:43:24.449Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T06:43:24.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T06:43:24.486Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T06:43:24.605Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T06:43:24.606Z] $ docker exec 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb ssh-agent [2022-09-27T06:43:24.722Z] SSH_AUTH_SOCK=/tmp/ssh-IIpMWarRNwJD/agent.31 [2022-09-27T06:43:24.722Z] SSH_AGENT_PID=37 [2022-09-27T06:43:24.729Z] Running ssh-add (command line suppressed) [2022-09-27T06:43:24.822Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_3906646745106379302.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_3906646745106379302.key) [2022-09-27T06:43:24.835Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T06:43:25.122Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T06:43:25.136Z] $ docker exec --env ******** --env ******** 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb ssh-agent -k [2022-09-27T06:43:25.234Z] unset SSH_AUTH_SOCK; [2022-09-27T06:43:25.234Z] unset SSH_AGENT_PID; [2022-09-27T06:43:25.235Z] echo Agent pid 37 killed; [2022-09-27T06:43:25.246Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T06:43:25.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T06:43:25.270Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T06:43:25.387Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T06:43:25.388Z] $ docker exec 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb ssh-agent [2022-09-27T06:43:25.511Z] SSH_AUTH_SOCK=/tmp/ssh-QTZA3z58IV1J/agent.69 [2022-09-27T06:43:25.511Z] SSH_AGENT_PID=75 [2022-09-27T06:43:25.516Z] Running ssh-add (command line suppressed) [2022-09-27T06:43:25.602Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_13944180788110732501.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_13944180788110732501.key) [2022-09-27T06:43:25.619Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T06:43:25.906Z] + git semver init [2022-09-27T06:43:26.165Z] 2022-09-27 06:43:26,086 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T06:43:26.165Z] 2022-09-27 06:43:26,087 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-09-27T06:43:26.165Z] 2022-09-27 06:43:26,088 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-09-27T06:43:26.165Z] 2022-09-27 06:43:26,088 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196, universal_newlines=False, shell=None, istream=None) [2022-09-27T06:43:27.104Z] 2022-09-27 06:43:27,080 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude [2022-09-27T06:43:27.104Z] 2022-09-27 06:43:27,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 with force:False [2022-09-27T06:43:27.104Z] 2022-09-27 06:43:27,081 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-09-27T06:43:27.104Z] 2022-09-27 06:43:27,085 [execute] INFO git cat-file --batch-check [2022-09-27T06:43:27.104Z] 2022-09-27 06:43:27,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T06:43:27.104Z] 2022-09-27 06:43:27,091 [execute] INFO git cat-file --batch [2022-09-27T06:43:27.104Z] 2022-09-27 06:43:27,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T06:43:27.104Z] 2022-09-27 06:43:27,096 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-09-27T06:43:27.104Z] 0.0.0 [Pipeline] } [2022-09-27T06:43:27.371Z] $ docker exec --env ******** --env ******** 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb ssh-agent -k [2022-09-27T06:43:27.476Z] unset SSH_AUTH_SOCK; [2022-09-27T06:43:27.477Z] unset SSH_AGENT_PID; [2022-09-27T06:43:27.477Z] echo Agent pid 75 killed; [2022-09-27T06:43:27.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T06:43:27.786Z] + git semver [Pipeline] } [2022-09-27T06:43:28.057Z] $ docker stop --time=1 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb [2022-09-27T06:43:29.338Z] $ docker rm -f 43b45a0de51160e6cb4610ab273a1b91a8a14bf4fb0cb2b99ff166b2133caffb [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T06:43:29.673Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T06:43:29.854Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T06:43:29.856Z] [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-27T06:43:29.985Z] provisioning config files... [2022-09-27T06:43:29.994Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config2544864245371936764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:43:30.287Z] ---> docker-login.sh [2022-09-27T06:43:30.287Z] nexus3.edgexfoundry.org:10001 [2022-09-27T06:43:30.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:43:30.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:43:30.287Z] Configure a credential helper to remove this warning. See [2022-09-27T06:43:30.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:43:30.287Z] [2022-09-27T06:43:30.287Z] Login Succeeded [2022-09-27T06:43:30.287Z] nexus3.edgexfoundry.org:10002 [2022-09-27T06:43:30.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:43:30.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:43:30.287Z] Configure a credential helper to remove this warning. See [2022-09-27T06:43:30.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:43:30.287Z] [2022-09-27T06:43:30.287Z] Login Succeeded [2022-09-27T06:43:30.287Z] nexus3.edgexfoundry.org:10003 [2022-09-27T06:43:30.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:43:30.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:43:30.546Z] Configure a credential helper to remove this warning. See [2022-09-27T06:43:30.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:43:30.546Z] [2022-09-27T06:43:30.546Z] Login Succeeded [2022-09-27T06:43:30.546Z] nexus3.edgexfoundry.org:10004 [2022-09-27T06:43:30.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:43:30.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:43:30.546Z] Configure a credential helper to remove this warning. See [2022-09-27T06:43:30.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:43:30.546Z] [2022-09-27T06:43:30.546Z] Login Succeeded [2022-09-27T06:43:30.546Z] docker.io [2022-09-27T06:43:30.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:43:31.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:43:31.064Z] Configure a credential helper to remove this warning. See [2022-09-27T06:43:31.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:43:31.064Z] [2022-09-27T06:43:31.064Z] Login Succeeded [2022-09-27T06:43:31.064Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T06:43:31.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T06:43:31.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T06:43:31.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T06:43:31.143Z] ========================================================= [2022-09-27T06:43:31.143Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T06:43:31.143Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:43:31.447Z] + 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-27T06:43:31.447Z] Sending build context to Docker daemon 9.913MB [2022-09-27T06:43:31.447Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T06:43:31.447Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T06:43:31.447Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T06:43:31.447Z] 2408cc74d12b: Pulling fs layer [2022-09-27T06:43:31.447Z] ea60b727a1ce: Pulling fs layer [2022-09-27T06:43:31.447Z] 30c4a7721957: Pulling fs layer [2022-09-27T06:43:31.447Z] 370296b7ddb6: Pulling fs layer [2022-09-27T06:43:31.447Z] 7c6cee850709: Pulling fs layer [2022-09-27T06:43:31.447Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T06:43:31.447Z] d94ebbe4e438: Pulling fs layer [2022-09-27T06:43:31.447Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T06:43:31.447Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T06:43:31.447Z] 370296b7ddb6: Waiting [2022-09-27T06:43:31.447Z] 7c6cee850709: Waiting [2022-09-27T06:43:31.447Z] 39a5fcdaea64: Waiting [2022-09-27T06:43:31.447Z] d94ebbe4e438: Waiting [2022-09-27T06:43:31.447Z] bcfd1f05c69d: Waiting [2022-09-27T06:43:31.447Z] 59ccb84bbe0f: Waiting [2022-09-27T06:43:31.447Z] 30c4a7721957: Verifying Checksum [2022-09-27T06:43:31.447Z] 30c4a7721957: Download complete [2022-09-27T06:43:31.447Z] ea60b727a1ce: Verifying Checksum [2022-09-27T06:43:31.447Z] ea60b727a1ce: Download complete [2022-09-27T06:43:31.447Z] 7c6cee850709: Download complete [2022-09-27T06:43:31.707Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T06:43:31.707Z] 39a5fcdaea64: Download complete [2022-09-27T06:43:31.707Z] 2408cc74d12b: Verifying Checksum [2022-09-27T06:43:31.707Z] 2408cc74d12b: Download complete [2022-09-27T06:43:31.707Z] d94ebbe4e438: Download complete [2022-09-27T06:43:31.707Z] 2408cc74d12b: Pull complete [2022-09-27T06:43:31.968Z] ea60b727a1ce: Pull complete [2022-09-27T06:43:31.968Z] 30c4a7721957: Pull complete [2022-09-27T06:43:32.230Z] 59ccb84bbe0f: Download complete [2022-09-27T06:43:32.230Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T06:43:32.230Z] bcfd1f05c69d: Download complete [2022-09-27T06:43:32.230Z] 370296b7ddb6: Verifying Checksum [2022-09-27T06:43:32.230Z] 370296b7ddb6: Download complete [2022-09-27T06:43:36.433Z] 370296b7ddb6: Pull complete [2022-09-27T06:43:36.433Z] 7c6cee850709: Pull complete [2022-09-27T06:43:36.433Z] 39a5fcdaea64: Pull complete [2022-09-27T06:43:36.433Z] d94ebbe4e438: Pull complete [2022-09-27T06:43:38.329Z] bcfd1f05c69d: Pull complete [2022-09-27T06:43:39.263Z] 59ccb84bbe0f: Pull complete [2022-09-27T06:43:39.263Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T06:43:39.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T06:43:39.263Z] ---> a4fb48ad2a94 [2022-09-27T06:43:39.263Z] Step 3/11 : ARG MAKE=make build [2022-09-27T06:43:40.649Z] ---> Running in 4fda01f40dc5 [2022-09-27T06:43:40.649Z] Removing intermediate container 4fda01f40dc5 [2022-09-27T06:43:40.649Z] ---> 4d8410bffdc6 [2022-09-27T06:43:40.649Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-27T06:43:40.649Z] ---> Running in 0ee6b6a83509 [2022-09-27T06:43:40.649Z] Removing intermediate container 0ee6b6a83509 [2022-09-27T06:43:40.649Z] ---> 548e95f71bf3 [2022-09-27T06:43:40.649Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T06:43:40.909Z] ---> Running in 311ece995883 [2022-09-27T06:43:40.909Z] Removing intermediate container 311ece995883 [2022-09-27T06:43:40.909Z] ---> e7c8fa6a441c [2022-09-27T06:43:40.909Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T06:43:40.909Z] ---> Running in 4c3d3f828307 [2022-09-27T06:43:41.475Z] Removing intermediate container 4c3d3f828307 [2022-09-27T06:43:41.475Z] ---> 075aa80cfcfb [2022-09-27T06:43:41.475Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T06:43:41.475Z] ---> Running in 966b9b503f00 [2022-09-27T06:43:41.734Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T06:43:42.669Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T06:43:42.929Z] OK: 211 MiB in 51 packages [2022-09-27T06:43:43.495Z] Removing intermediate container 966b9b503f00 [2022-09-27T06:43:43.495Z] ---> 952811caebd7 [2022-09-27T06:43:43.495Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T06:43:43.495Z] ---> 7b6731e1977f [2022-09-27T06:43:43.495Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T06:43:43.495Z] ---> Running in eaac71b53733 [2022-09-27T06:43:44.946Z] Still waiting to schedule task [2022-09-27T06:43:44.947Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1316’ [2022-09-27T06:44:01.662Z] Removing intermediate container eaac71b53733 [2022-09-27T06:44:01.662Z] ---> 063de2eb178f [2022-09-27T06:44:01.662Z] Step 10/11 : COPY . . [2022-09-27T06:44:01.662Z] ---> d3e29a223f1b [2022-09-27T06:44:01.662Z] Step 11/11 : RUN ${MAKE} [2022-09-27T06:44:01.921Z] ---> Running in 4cc1495ee51d [2022-09-27T06:44:02.181Z] noop [2022-09-27T06:44:02.440Z] Removing intermediate container 4cc1495ee51d [2022-09-27T06:44:02.440Z] ---> 1c8042cf7fa3 [2022-09-27T06:44:02.440Z] Successfully built 1c8042cf7fa3 [2022-09-27T06:44:02.440Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:44:02.742Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T06:44:02.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T06:44:02.805Z] prd-ubuntu20.04-docker-8c-8g-1318 does not seem to be running inside a container [2022-09-27T06:44:02.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-27T06:44:03.193Z] $ docker top cb2111c6aeb40130ce942af30a8b8552a4bdba98f433c73f6b97358be8434aed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T06:44:03.541Z] + go version [2022-09-27T06:44:03.541Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T06:44:03.550Z] $ docker stop --time=1 cb2111c6aeb40130ce942af30a8b8552a4bdba98f433c73f6b97358be8434aed [2022-09-27T06:44:04.825Z] $ docker rm -f cb2111c6aeb40130ce942af30a8b8552a4bdba98f433c73f6b97358be8434aed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:44:05.226Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T06:44:05.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T06:44:05.301Z] prd-ubuntu20.04-docker-8c-8g-1318 does not seem to be running inside a container [2022-09-27T06:44:05.328Z] $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-27T06:44:05.666Z] $ docker top 9750a0f4959b3149e04cccd4d75b3868876f0f9ee8f7bdbcb1b55cb31d20d610 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T06:44:06.015Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh [2022-09-27T06:44:06.307Z] + make test [2022-09-27T06:44:06.307Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-27T06:44:12.870Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-27T06:44:27.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements [2022-09-27T06:44:27.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.059s coverage: 78.9% of statements [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-27T06:44:27.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.105s coverage: 60.0% of statements [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-27T06:44:27.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 54.4% of statements [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-27T06:44:27.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.108s coverage: 65.1% of statements [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-27T06:44:27.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.748s coverage: 89.2% of statements [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-27T06:44:27.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-09-27T06:44:27.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-27T06:44:42.612Z] 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-27T06:44:42.612Z] GO111MODULE=on go vet ./... [2022-09-27T06:44:45.139Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T06:44:45.139Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T06:44:45.397Z] ./bin/test-attribution-txt.sh [2022-09-27T06:44:45.397Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-27T06:44:45.397Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T06:44:45.397Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T06:44:45.397Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T06:44:45.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T06:44:45.420Z] $ docker stop --time=1 9750a0f4959b3149e04cccd4d75b3868876f0f9ee8f7bdbcb1b55cb31d20d610 [2022-09-27T06:44:47.870Z] $ docker rm -f 9750a0f4959b3149e04cccd4d75b3868876f0f9ee8f7bdbcb1b55cb31d20d610 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T06:44:48.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T06:44:48.410Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T06:44:48.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T06:44:49.198Z] + ls -al . [2022-09-27T06:44:49.198Z] total 276 [2022-09-27T06:44:49.198Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 06:44 . [2022-09-27T06:44:49.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:43 .. [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 06:43 .dockerignore [2022-09-27T06:44:49.198Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 06:44 .git [2022-09-27T06:44:49.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:43 .github [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 06:43 .gitignore [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 06:43 .golangci.yml [2022-09-27T06:44:49.198Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 06:43 .semver [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 06:43 CHANGELOG.md [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 06:43 GOVERNANCE.md [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 06:43 Jenkinsfile [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 06:43 LICENSE [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 06:43 Makefile [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 06:43 OWNERS.md [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 06:43 README.md [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 06:43 VERSION [2022-09-27T06:44:49.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:43 bin [2022-09-27T06:44:49.198Z] -rw-r--r-- 1 jenkins jenkins 100919 Sep 27 06:44 coverage.out [2022-09-27T06:44:49.198Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 06:43 example [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 06:43 go.mod [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 37485 Sep 27 06:43 go.sum [2022-09-27T06:44:49.198Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 06:43 internal [2022-09-27T06:44:49.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:43 openapi [2022-09-27T06:44:49.198Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 06:43 pkg [2022-09-27T06:44:49.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:43 snap [2022-09-27T06:44:49.198Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:44:49.505Z] + 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=eb02d557af5a8de536f33d4ffc2f370c412e40c0 --label arch=amd64 --label version=0.0.0 . [2022-09-27T06:44:49.505Z] Sending build context to Docker daemon 10.02MB [2022-09-27T06:44:49.505Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T06:44:49.505Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T06:44:49.505Z] ---> 1c8042cf7fa3 [2022-09-27T06:44:49.505Z] Step 3/25 : ARG MAKE=make build [2022-09-27T06:44:49.505Z] ---> Running in 1f648b9eb5fe [2022-09-27T06:44:49.764Z] Removing intermediate container 1f648b9eb5fe [2022-09-27T06:44:49.764Z] ---> 340eeeb530cc [2022-09-27T06:44:49.764Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-27T06:44:49.764Z] ---> Running in 10a3c213a4d8 [2022-09-27T06:44:49.764Z] Removing intermediate container 10a3c213a4d8 [2022-09-27T06:44:49.764Z] ---> f14b20f4bbc3 [2022-09-27T06:44:49.764Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T06:44:49.764Z] ---> Running in 2881750206b3 [2022-09-27T06:44:50.022Z] Removing intermediate container 2881750206b3 [2022-09-27T06:44:50.022Z] ---> 0e543b54477a [2022-09-27T06:44:50.022Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T06:44:50.022Z] ---> Running in 2fd80c7bd48c [2022-09-27T06:44:50.590Z] Removing intermediate container 2fd80c7bd48c [2022-09-27T06:44:50.590Z] ---> 68d3efafad0f [2022-09-27T06:44:50.590Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T06:44:50.590Z] ---> Running in 76f801962d05 [2022-09-27T06:44:50.848Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T06:44:51.785Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T06:44:52.045Z] OK: 211 MiB in 51 packages [2022-09-27T06:44:52.304Z] Removing intermediate container 76f801962d05 [2022-09-27T06:44:52.304Z] ---> c380a7dc4ff2 [2022-09-27T06:44:52.304Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-27T06:44:52.304Z] ---> fc55c9f55d68 [2022-09-27T06:44:52.304Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T06:44:52.304Z] ---> Running in 7c50fea75119 [2022-09-27T06:44:52.873Z] Removing intermediate container 7c50fea75119 [2022-09-27T06:44:52.873Z] ---> 3871b6b0ff7a [2022-09-27T06:44:52.873Z] Step 10/25 : COPY . . [2022-09-27T06:44:53.440Z] ---> 7235f291b4c3 [2022-09-27T06:44:53.440Z] Step 11/25 : RUN ${MAKE} [2022-09-27T06:44:53.440Z] ---> Running in 21dce814ca86 [2022-09-27T06:44:53.698Z] 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-27T06:45:11.781Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-27T06:45:13.679Z] Removing intermediate container 21dce814ca86 [2022-09-27T06:45:13.679Z] ---> 337b27e25e0b [2022-09-27T06:45:13.679Z] Step 12/25 : FROM alpine:3.16 [2022-09-27T06:45:14.245Z] 3.16: Pulling from library/alpine [2022-09-27T06:45:14.245Z] 213ec9aee27d: Pulling fs layer [2022-09-27T06:45:14.544Z] 213ec9aee27d: Verifying Checksum [2022-09-27T06:45:14.544Z] 213ec9aee27d: Download complete [2022-09-27T06:45:14.802Z] 213ec9aee27d: Pull complete [2022-09-27T06:45:14.802Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T06:45:14.802Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T06:45:14.802Z] ---> 9c6f07244728 [2022-09-27T06:45:14.802Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T06:45:14.802Z] ---> Running in 1fc71cfc10f2 [2022-09-27T06:45:14.802Z] Removing intermediate container 1fc71cfc10f2 [2022-09-27T06:45:14.802Z] ---> 9a04a4499eea [2022-09-27T06:45:14.802Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T06:45:14.802Z] ---> Running in d484b7d271fd [2022-09-27T06:45:15.367Z] Removing intermediate container d484b7d271fd [2022-09-27T06:45:15.367Z] ---> 283c70a49cb3 [2022-09-27T06:45:15.367Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-27T06:45:15.367Z] ---> Running in 9dd940332b58 [2022-09-27T06:45:15.624Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T06:45:16.558Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T06:45:16.816Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T06:45:17.075Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-27T06:45:17.075Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T06:45:17.075Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-27T06:45:17.335Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-27T06:45:17.335Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T06:45:17.335Z] OK: 8 MiB in 19 packages [2022-09-27T06:45:17.595Z] Removing intermediate container 9dd940332b58 [2022-09-27T06:45:17.595Z] ---> b17d9645b800 [2022-09-27T06:45:17.595Z] Step 16/25 : WORKDIR / [2022-09-27T06:45:17.854Z] ---> Running in 9a60d2cd46dd [2022-09-27T06:45:17.854Z] Removing intermediate container 9a60d2cd46dd [2022-09-27T06:45:17.854Z] ---> 9cd72b83f9d5 [2022-09-27T06:45:17.854Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-27T06:45:17.854Z] ---> efab3c182acc [2022-09-27T06:45:17.854Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-27T06:45:18.418Z] ---> 0873692f22de [2022-09-27T06:45:18.418Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-27T06:45:18.418Z] ---> 626456ce6712 [2022-09-27T06:45:18.418Z] Step 20/25 : EXPOSE 59999 [2022-09-27T06:45:18.418Z] ---> Running in 4fedbcfee906 [2022-09-27T06:45:18.677Z] Removing intermediate container 4fedbcfee906 [2022-09-27T06:45:18.677Z] ---> 33aefa8cf84f [2022-09-27T06:45:18.677Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-27T06:45:18.677Z] ---> Running in b971d86813ed [2022-09-27T06:45:18.677Z] Removing intermediate container b971d86813ed [2022-09-27T06:45:18.677Z] ---> d991c85b17a1 [2022-09-27T06:45:18.677Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T06:45:18.677Z] ---> Running in 36c063c7d5fb [2022-09-27T06:45:18.936Z] Removing intermediate container 36c063c7d5fb [2022-09-27T06:45:18.936Z] ---> 4f9c27c98857 [2022-09-27T06:45:18.936Z] Step 23/25 : LABEL arch=amd64 [2022-09-27T06:45:18.936Z] ---> Running in a4c419cbf18e [2022-09-27T06:45:18.936Z] Removing intermediate container a4c419cbf18e [2022-09-27T06:45:18.936Z] ---> b2b356c7ab18 [2022-09-27T06:45:18.936Z] Step 24/25 : LABEL git_sha=eb02d557af5a8de536f33d4ffc2f370c412e40c0 [2022-09-27T06:45:18.936Z] ---> Running in 06964acb934d [2022-09-27T06:45:18.936Z] Removing intermediate container 06964acb934d [2022-09-27T06:45:18.936Z] ---> d87f65d9c008 [2022-09-27T06:45:18.936Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T06:45:18.936Z] ---> Running in af3a933de514 [2022-09-27T06:45:19.197Z] Removing intermediate container af3a933de514 [2022-09-27T06:45:19.197Z] ---> eddbcf2ef0ac [2022-09-27T06:45:19.197Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T06:45:19.197Z] Successfully built eddbcf2ef0ac [2022-09-27T06:45:19.197Z] 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-27T06:45:19.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T06:45:19.614Z] [2022-09-27T06:45:19.614Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:45:19.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T06:45:19.907Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T06:45:19.907Z] 5eb5b503b376: Pulling fs layer [2022-09-27T06:45:19.907Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T06:45:19.907Z] ec43610c2a17: Pulling fs layer [2022-09-27T06:45:19.907Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T06:45:19.907Z] 33b1e0a273af: Pulling fs layer [2022-09-27T06:45:19.907Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T06:45:19.907Z] 2f39f015ded8: Pulling fs layer [2022-09-27T06:45:19.907Z] 3a2ae6a8a46f: Waiting [2022-09-27T06:45:19.907Z] 33b1e0a273af: Waiting [2022-09-27T06:45:19.907Z] 5d3b04190fa2: Waiting [2022-09-27T06:45:19.907Z] 2f39f015ded8: Waiting [2022-09-27T06:45:19.907Z] 5c69ac0246d0: Download complete [2022-09-27T06:45:19.907Z] 3a2ae6a8a46f: Download complete [2022-09-27T06:45:19.907Z] 33b1e0a273af: Verifying Checksum [2022-09-27T06:45:19.907Z] 33b1e0a273af: Download complete [2022-09-27T06:45:19.907Z] 5d3b04190fa2: Download complete [2022-09-27T06:45:20.166Z] ec43610c2a17: Verifying Checksum [2022-09-27T06:45:20.166Z] ec43610c2a17: Download complete [2022-09-27T06:45:20.166Z] 5eb5b503b376: Download complete [2022-09-27T06:45:20.734Z] 2f39f015ded8: Download complete [2022-09-27T06:45:21.303Z] 5eb5b503b376: Pull complete [2022-09-27T06:45:21.303Z] 5c69ac0246d0: Pull complete [2022-09-27T06:45:21.869Z] ec43610c2a17: Pull complete [2022-09-27T06:45:21.869Z] 3a2ae6a8a46f: Pull complete [2022-09-27T06:45:22.127Z] 33b1e0a273af: Pull complete [2022-09-27T06:45:22.127Z] 5d3b04190fa2: Pull complete [2022-09-27T06:45:26.307Z] 2f39f015ded8: Pull complete [2022-09-27T06:45:26.307Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T06:45:26.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T06:45:26.307Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T06:45:26.388Z] prd-ubuntu20.04-docker-8c-8g-1318 does not seem to be running inside a container [2022-09-27T06:45:26.417Z] $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-27T06:45:28.231Z] $ docker top f053be05f2694af281d4d768a4d54ec01460311245208838de6fadaf65d6bd6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:45:28.628Z] ---> job-cost.sh [2022-09-27T06:45:28.628Z] lf-activate-venv: SKIPPING [2022-09-27T06:45:28.628Z] INFO: No Stack... [2022-09-27T06:45:28.887Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T06:45:29.458Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T06:45:29.750Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv [2022-09-27T06:45:29.750Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T06:45:29.764Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] [2022-09-27T06:45:29.771Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] did not exist. Created. [2022-09-27T06:45:29.771Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T06:45:30.071Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T06:45:30.093Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T06:45:30.099Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T06:45:30.114Z] $ docker stop --time=1 f053be05f2694af281d4d768a4d54ec01460311245208838de6fadaf65d6bd6b [2022-09-27T06:45:31.285Z] $ docker rm -f f053be05f2694af281d4d768a4d54ec01460311245208838de6fadaf65d6bd6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T06:47:05.851Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1319 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws [2022-09-27T06:47:05.863Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2022-09-27T06:47:05.894Z] The recommended git tool is: git [2022-09-27T06:47:11.049Z] using credential edgex-jenkins-ssh [2022-09-27T06:47:11.065Z] Cloning the remote Git repository [2022-09-27T06:47:11.104Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-27T06:47:11.178Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2022-09-27T06:47:11.311Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-27T06:47:11.312Z] > git --version # timeout=10 [2022-09-27T06:47:11.332Z] > git --version # 'git version 2.25.1' [2022-09-27T06:47:11.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T06:47:11.378Z] Verifying host key using known hosts file [2022-09-27T06:47:11.577Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T06:47:11.591Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T06:47:13.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-27T06:47:13.148Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T06:47:14.675Z] Merging remotes/origin/main commit c582db119472e089660f4546ea857b2fbcd79f76 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 [2022-09-27T06:47:13.923Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-27T06:47:13.981Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-27T06:47:13.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T06:47:13.986Z] Verifying host key using known hosts file [2022-09-27T06:47:13.993Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T06:47:14.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T06:47:14.695Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T06:47:15.011Z] Merge succeeded, producing df7d07701170be5d8b91d82dd6fc1607c178b1ff [2022-09-27T06:47:15.012Z] Checking out Revision df7d07701170be5d8b91d82dd6fc1607c178b1ff (PR-1196) [2022-09-27T06:47:14.721Z] > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [2022-09-27T06:47:14.830Z] > git remote # timeout=10 [2022-09-27T06:47:14.849Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T06:47:14.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T06:47:14.874Z] Verifying host key using known hosts file [2022-09-27T06:47:14.878Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-27T06:47:14.886Z] > git merge c582db119472e089660f4546ea857b2fbcd79f76 # timeout=10 [2022-09-27T06:47:14.993Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T06:47:15.017Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T06:47:15.031Z] > git checkout -f df7d07701170be5d8b91d82dd6fc1607c178b1ff # timeout=10 [2022-09-27T06:47:18.525Z] Commit message: "Merge commit 'c582db119472e089660f4546ea857b2fbcd79f76' into HEAD" [2022-09-27T06:47:18.551Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T06:47:18.533Z] > git rev-list --no-walk 3c4fa9c6120d51801d901573f3ce82a88b532ea7 # timeout=10 [2022-09-27T06:47:19.481Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T06:47:19.481Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T06:47:19.481Z] Dload Upload Total Spent Left Speed [2022-09-27T06:47:19.481Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-09-27T06:47:20.210Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T06:47:20.536Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T06:47:20.536Z] + sudo tee /etc/docker/daemon.new [2022-09-27T06:47:20.536Z] { [2022-09-27T06:47:20.536Z] "registry-mirrors": [ [2022-09-27T06:47:20.536Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T06:47:20.536Z] ], [2022-09-27T06:47:20.536Z] "bip": "10.250.0.254/24", [2022-09-27T06:47:20.536Z] "hosts": [ [2022-09-27T06:47:20.536Z] "tcp://0.0.0.0:5555", [2022-09-27T06:47:20.536Z] "unix:///var/run/docker.sock" [2022-09-27T06:47:20.536Z] ], [2022-09-27T06:47:20.536Z] "mtu": 1458, [2022-09-27T06:47:20.536Z] "selinux-enabled": true, [2022-09-27T06:47:20.536Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T06:47:20.536Z] } [Pipeline] sh [2022-09-27T06:47:20.856Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T06:47:21.181Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T06:47:39.434Z] provisioning config files... [2022-09-27T06:47:39.457Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config12219804504436277933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:47:39.798Z] ---> docker-login.sh [2022-09-27T06:47:39.798Z] nexus3.edgexfoundry.org:10001 [2022-09-27T06:47:40.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:47:40.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:47:40.340Z] Configure a credential helper to remove this warning. See [2022-09-27T06:47:40.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:47:40.340Z] [2022-09-27T06:47:40.340Z] Login Succeeded [2022-09-27T06:47:40.340Z] nexus3.edgexfoundry.org:10002 [2022-09-27T06:47:40.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:47:40.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:47:40.610Z] Configure a credential helper to remove this warning. See [2022-09-27T06:47:40.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:47:40.610Z] [2022-09-27T06:47:40.610Z] Login Succeeded [2022-09-27T06:47:40.881Z] nexus3.edgexfoundry.org:10003 [2022-09-27T06:47:40.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:47:41.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:47:41.151Z] Configure a credential helper to remove this warning. See [2022-09-27T06:47:41.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:47:41.151Z] [2022-09-27T06:47:41.151Z] Login Succeeded [2022-09-27T06:47:41.151Z] nexus3.edgexfoundry.org:10004 [2022-09-27T06:47:41.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:47:41.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:47:41.422Z] Configure a credential helper to remove this warning. See [2022-09-27T06:47:41.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:47:41.422Z] [2022-09-27T06:47:41.422Z] Login Succeeded [2022-09-27T06:47:41.422Z] docker.io [2022-09-27T06:47:41.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T06:47:42.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T06:47:42.279Z] Configure a credential helper to remove this warning. See [2022-09-27T06:47:42.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T06:47:42.279Z] [2022-09-27T06:47:42.279Z] Login Succeeded [2022-09-27T06:47:42.279Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T06:47:42.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T06:47:42.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T06:47:42.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T06:47:42.461Z] ========================================================= [2022-09-27T06:47:42.461Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T06:47:42.461Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:47:42.795Z] + 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-27T06:47:43.064Z] Sending build context to Docker daemon 5.33MB [2022-09-27T06:47:43.064Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T06:47:43.064Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T06:47:43.341Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T06:47:43.341Z] b3c136eddcbf: Pulling fs layer [2022-09-27T06:47:43.341Z] c0a3192eca97: Pulling fs layer [2022-09-27T06:47:43.341Z] a050256f5b6f: Pulling fs layer [2022-09-27T06:47:43.341Z] 656be50a0ddc: Pulling fs layer [2022-09-27T06:47:43.341Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T06:47:43.341Z] 46d945488cbd: Pulling fs layer [2022-09-27T06:47:43.341Z] 8a5474983e97: Pulling fs layer [2022-09-27T06:47:43.341Z] 329c88fbcd65: Pulling fs layer [2022-09-27T06:47:43.341Z] 46d945488cbd: Waiting [2022-09-27T06:47:43.341Z] 8a5474983e97: Waiting [2022-09-27T06:47:43.341Z] 329c88fbcd65: Waiting [2022-09-27T06:47:43.341Z] 656be50a0ddc: Waiting [2022-09-27T06:47:43.341Z] 2bbca73fdf42: Waiting [2022-09-27T06:47:43.341Z] a050256f5b6f: Verifying Checksum [2022-09-27T06:47:43.341Z] a050256f5b6f: Download complete [2022-09-27T06:47:43.341Z] c0a3192eca97: Download complete [2022-09-27T06:47:43.341Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T06:47:43.341Z] 2bbca73fdf42: Download complete [2022-09-27T06:47:43.341Z] 46d945488cbd: Download complete [2022-09-27T06:47:43.341Z] b3c136eddcbf: Verifying Checksum [2022-09-27T06:47:43.341Z] b3c136eddcbf: Download complete [2022-09-27T06:47:44.320Z] b3c136eddcbf: Pull complete [2022-09-27T06:47:44.320Z] 329c88fbcd65: Verifying Checksum [2022-09-27T06:47:44.320Z] 329c88fbcd65: Download complete [2022-09-27T06:47:44.912Z] c0a3192eca97: Pull complete [2022-09-27T06:47:45.186Z] a050256f5b6f: Pull complete [2022-09-27T06:47:45.460Z] 8a5474983e97: Verifying Checksum [2022-09-27T06:47:45.460Z] 8a5474983e97: Download complete [2022-09-27T06:47:46.428Z] 656be50a0ddc: Verifying Checksum [2022-09-27T06:47:46.428Z] 656be50a0ddc: Download complete [2022-09-27T06:47:58.775Z] 656be50a0ddc: Pull complete [2022-09-27T06:47:58.775Z] 2bbca73fdf42: Pull complete [2022-09-27T06:47:58.775Z] 46d945488cbd: Pull complete [2022-09-27T06:48:04.128Z] 8a5474983e97: Pull complete [2022-09-27T06:48:06.082Z] 329c88fbcd65: Pull complete [2022-09-27T06:48:06.082Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T06:48:06.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T06:48:06.082Z] ---> ff4287adb874 [2022-09-27T06:48:06.082Z] Step 3/11 : ARG MAKE=make build [2022-09-27T06:48:07.494Z] ---> Running in 26b5df1ce04d [2022-09-27T06:48:07.762Z] Removing intermediate container 26b5df1ce04d [2022-09-27T06:48:07.762Z] ---> f40a4e18e714 [2022-09-27T06:48:07.762Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-27T06:48:08.035Z] ---> Running in 46d77aa3aacd [2022-09-27T06:48:08.302Z] Removing intermediate container 46d77aa3aacd [2022-09-27T06:48:08.302Z] ---> fb3fe64079b9 [2022-09-27T06:48:08.302Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T06:48:08.302Z] ---> Running in 6824075037c2 [2022-09-27T06:48:08.570Z] Removing intermediate container 6824075037c2 [2022-09-27T06:48:08.570Z] ---> cd3eb242980b [2022-09-27T06:48:08.570Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T06:48:08.837Z] ---> Running in a29f38d1bf6b [2022-09-27T06:48:10.795Z] Removing intermediate container a29f38d1bf6b [2022-09-27T06:48:10.795Z] ---> 99847d27b33b [2022-09-27T06:48:10.795Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T06:48:10.795Z] ---> Running in 8ecdde782f5c [2022-09-27T06:48:11.377Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T06:48:12.335Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T06:48:13.299Z] OK: 221 MiB in 51 packages [2022-09-27T06:48:14.714Z] Removing intermediate container 8ecdde782f5c [2022-09-27T06:48:14.714Z] ---> 359f0fbc87a9 [2022-09-27T06:48:14.714Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T06:48:15.299Z] ---> 9aabd744715d [2022-09-27T06:48:15.299Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T06:48:15.299Z] ---> Running in 145a8b1e3648 [2022-09-27T06:49:02.169Z] Removing intermediate container 145a8b1e3648 [2022-09-27T06:49:02.169Z] ---> 1ade26a6df0d [2022-09-27T06:49:02.169Z] Step 10/11 : COPY . . [2022-09-27T06:49:02.169Z] ---> fc20d26cac21 [2022-09-27T06:49:02.169Z] Step 11/11 : RUN ${MAKE} [2022-09-27T06:49:02.169Z] ---> Running in 464af448e48b [2022-09-27T06:49:03.148Z] noop [2022-09-27T06:49:03.731Z] Removing intermediate container 464af448e48b [2022-09-27T06:49:03.731Z] ---> e130aa7dadb2 [2022-09-27T06:49:03.731Z] Successfully built e130aa7dadb2 [2022-09-27T06:49:03.731Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:49:04.084Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T06:49:04.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T06:49:04.264Z] prd-ubuntu20.04-docker-arm64-4c-16g-1319 does not seem to be running inside a container [2022-09-27T06:49:04.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T06:49:05.495Z] $ docker top c8ba2b25b75c4cce11af0f76466bc5116defe1de1977775a6cb1594266a87bd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T06:49:06.317Z] + go version [2022-09-27T06:49:06.317Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T06:49:06.338Z] $ docker stop --time=1 c8ba2b25b75c4cce11af0f76466bc5116defe1de1977775a6cb1594266a87bd8 [2022-09-27T06:49:07.975Z] $ docker rm -f c8ba2b25b75c4cce11af0f76466bc5116defe1de1977775a6cb1594266a87bd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:49:08.546Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T06:49:08.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T06:49:08.718Z] prd-ubuntu20.04-docker-arm64-4c-16g-1319 does not seem to be running inside a container [2022-09-27T06:49:08.789Z] $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T06:49:09.983Z] $ docker top 6d8ce386cdc0758f82dc1753f0447feae99de94a45b0f8b01cd18bc23a5240af -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T06:49:10.800Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/11 [Pipeline] fileExists [Pipeline] sh [2022-09-27T06:49:11.122Z] + make test [2022-09-27T06:49:11.122Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-27T06:49:43.344Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-27T06:51:50.050Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-27T06:51:50.050Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-27T06:51:50.050Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-27T06:51:50.050Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-27T06:51:50.050Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-27T06:51:50.050Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.511s coverage: 27.6% of statements [2022-09-27T06:51:50.050Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.824s coverage: 78.9% of statements [2022-09-27T06:51:50.050Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-27T06:51:50.646Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.464s coverage: 60.0% of statements [2022-09-27T06:51:50.646Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-27T06:51:50.646Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-27T06:51:57.306Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.924s coverage: 54.4% of statements [2022-09-27T06:51:57.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-27T06:51:57.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-27T06:51:57.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-27T06:51:57.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-27T06:51:58.273Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.768s coverage: 65.1% of statements [2022-09-27T06:51:58.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-27T06:51:58.273Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-27T06:51:59.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.306s coverage: 89.2% of statements [2022-09-27T06:51:59.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-27T06:52:01.184Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.284s coverage: 4.7% of statements [2022-09-27T06:52:01.184Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-27T06:52:02.148Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T06:52:02.148Z] GO111MODULE=on go vet ./... [2022-09-27T06:53:54.072Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T06:53:54.072Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T06:53:54.072Z] ./bin/test-attribution-txt.sh [2022-09-27T06:53:54.072Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-27T06:53:54.072Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T06:53:54.072Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T06:53:54.072Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T06:53:54.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T06:53:54.110Z] $ docker stop --time=1 6d8ce386cdc0758f82dc1753f0447feae99de94a45b0f8b01cd18bc23a5240af [2022-09-27T06:53:56.150Z] $ docker rm -f 6d8ce386cdc0758f82dc1753f0447feae99de94a45b0f8b01cd18bc23a5240af [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T06:53:57.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T06:53:57.585Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T06:53:58.168Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T06:53:58.564Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T06:53:58.880Z] + ls -al . [2022-09-27T06:53:58.880Z] total 272 [2022-09-27T06:53:58.880Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 06:49 . [2022-09-27T06:53:58.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:47 .. [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 06:47 .dockerignore [2022-09-27T06:53:58.880Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 06:47 .git [2022-09-27T06:53:58.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:47 .github [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 06:47 .gitignore [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 06:47 .golangci.yml [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 06:47 CHANGELOG.md [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 06:47 GOVERNANCE.md [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 06:47 Jenkinsfile [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 06:47 LICENSE [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 06:47 Makefile [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 06:47 OWNERS.md [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 06:47 README.md [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 06:43 VERSION [2022-09-27T06:53:58.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 06:47 bin [2022-09-27T06:53:58.880Z] -rw-r--r-- 1 jenkins jenkins 100920 Sep 27 06:52 coverage.out [2022-09-27T06:53:58.880Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 06:47 example [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 06:47 go.mod [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 37485 Sep 27 06:47 go.sum [2022-09-27T06:53:58.880Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 06:47 internal [2022-09-27T06:53:58.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 06:47 openapi [2022-09-27T06:53:58.880Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 06:47 pkg [2022-09-27T06:53:58.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 06:47 snap [2022-09-27T06:53:58.880Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 06:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:53:59.224Z] + 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=df7d07701170be5d8b91d82dd6fc1607c178b1ff --label arch=arm64 --label version=0.0.0 . [2022-09-27T06:53:59.493Z] Sending build context to Docker daemon 5.432MB [2022-09-27T06:53:59.762Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T06:53:59.762Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T06:53:59.762Z] ---> e130aa7dadb2 [2022-09-27T06:53:59.762Z] Step 3/25 : ARG MAKE=make build [2022-09-27T06:53:59.762Z] ---> Running in 9228c2013611 [2022-09-27T06:54:00.031Z] Removing intermediate container 9228c2013611 [2022-09-27T06:54:00.031Z] ---> 9950a3535dd6 [2022-09-27T06:54:00.031Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-27T06:54:00.310Z] ---> Running in c14896b7a84b [2022-09-27T06:54:00.577Z] Removing intermediate container c14896b7a84b [2022-09-27T06:54:00.577Z] ---> e9d522f5fe5a [2022-09-27T06:54:00.577Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T06:54:00.577Z] ---> Running in ab31c7f8d2f4 [2022-09-27T06:54:00.854Z] Removing intermediate container ab31c7f8d2f4 [2022-09-27T06:54:00.854Z] ---> 023e173a17a2 [2022-09-27T06:54:00.854Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T06:54:00.854Z] ---> Running in c1ff5317d76b [2022-09-27T06:54:02.804Z] Removing intermediate container c1ff5317d76b [2022-09-27T06:54:02.804Z] ---> 016929d045a9 [2022-09-27T06:54:02.804Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T06:54:02.804Z] ---> Running in 063387d9505f [2022-09-27T06:54:03.392Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T06:54:04.353Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T06:54:05.326Z] OK: 221 MiB in 51 packages [2022-09-27T06:54:06.290Z] Removing intermediate container 063387d9505f [2022-09-27T06:54:06.290Z] ---> 2c463b13cb23 [2022-09-27T06:54:06.290Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-27T06:54:06.558Z] ---> b49a94bd37a4 [2022-09-27T06:54:06.558Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T06:54:06.558Z] ---> Running in 8a501a51f237 [2022-09-27T06:54:08.509Z] Removing intermediate container 8a501a51f237 [2022-09-27T06:54:08.509Z] ---> 4cc554cea48d [2022-09-27T06:54:08.509Z] Step 10/25 : COPY . . [2022-09-27T06:54:09.469Z] ---> 215031dfa7e7 [2022-09-27T06:54:09.469Z] Step 11/25 : RUN ${MAKE} [2022-09-27T06:54:09.469Z] ---> Running in cfb5ea68a3fa [2022-09-27T06:54:10.433Z] 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-27T06:56:17.074Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-27T06:56:18.483Z] Removing intermediate container cfb5ea68a3fa [2022-09-27T06:56:18.483Z] ---> 78baf894ab57 [2022-09-27T06:56:18.483Z] Step 12/25 : FROM alpine:3.16 [2022-09-27T06:56:19.441Z] 3.16: Pulling from library/alpine [2022-09-27T06:56:19.441Z] 9b18e9b68314: Pulling fs layer [2022-09-27T06:56:19.708Z] 9b18e9b68314: Verifying Checksum [2022-09-27T06:56:19.708Z] 9b18e9b68314: Download complete [2022-09-27T06:56:20.293Z] 9b18e9b68314: Pull complete [2022-09-27T06:56:20.293Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T06:56:20.293Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T06:56:20.293Z] ---> a6215f271958 [2022-09-27T06:56:20.293Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T06:56:20.293Z] ---> Running in c1472a4d2191 [2022-09-27T06:56:20.561Z] Removing intermediate container c1472a4d2191 [2022-09-27T06:56:20.561Z] ---> 0f1cf6deb72c [2022-09-27T06:56:20.561Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T06:56:20.830Z] ---> Running in 533e70751097 [2022-09-27T06:56:22.250Z] Removing intermediate container 533e70751097 [2022-09-27T06:56:22.250Z] ---> 6562e2036f90 [2022-09-27T06:56:22.250Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-27T06:56:22.518Z] ---> Running in 5e3e7fcbd0f9 [2022-09-27T06:56:23.477Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T06:56:24.058Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T06:56:25.013Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T06:56:25.277Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-27T06:56:25.277Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T06:56:25.541Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-27T06:56:25.541Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-27T06:56:25.806Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T06:56:25.807Z] OK: 8 MiB in 19 packages [2022-09-27T06:56:26.772Z] Removing intermediate container 5e3e7fcbd0f9 [2022-09-27T06:56:26.773Z] ---> 512606d26aa4 [2022-09-27T06:56:26.773Z] Step 16/25 : WORKDIR / [2022-09-27T06:56:26.773Z] ---> Running in ff2cb98fc5bf [2022-09-27T06:56:27.039Z] Removing intermediate container ff2cb98fc5bf [2022-09-27T06:56:27.039Z] ---> 1ee884d1be0c [2022-09-27T06:56:27.039Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-27T06:56:27.622Z] ---> 4eb891786390 [2022-09-27T06:56:27.622Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-27T06:56:29.029Z] ---> cf6d984c814b [2022-09-27T06:56:29.029Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-27T06:56:29.295Z] ---> fcdfa620b542 [2022-09-27T06:56:29.295Z] Step 20/25 : EXPOSE 59999 [2022-09-27T06:56:29.564Z] ---> Running in 0a1f0a385a6b [2022-09-27T06:56:29.835Z] Removing intermediate container 0a1f0a385a6b [2022-09-27T06:56:29.835Z] ---> b443338dadd0 [2022-09-27T06:56:29.835Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-27T06:56:29.835Z] ---> Running in b366a939cca7 [2022-09-27T06:56:30.104Z] Removing intermediate container b366a939cca7 [2022-09-27T06:56:30.104Z] ---> 8b4644d3c90d [2022-09-27T06:56:30.104Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T06:56:30.104Z] ---> Running in a40535dc615c [2022-09-27T06:56:30.371Z] Removing intermediate container a40535dc615c [2022-09-27T06:56:30.371Z] ---> 104a213bb163 [2022-09-27T06:56:30.371Z] Step 23/25 : LABEL arch=arm64 [2022-09-27T06:56:30.638Z] ---> Running in 45cd65049d83 [2022-09-27T06:56:30.906Z] Removing intermediate container 45cd65049d83 [2022-09-27T06:56:30.906Z] ---> f6f847e9ef9f [2022-09-27T06:56:30.906Z] Step 24/25 : LABEL git_sha=df7d07701170be5d8b91d82dd6fc1607c178b1ff [2022-09-27T06:56:30.906Z] ---> Running in 46b08a90c711 [2022-09-27T06:56:31.175Z] Removing intermediate container 46b08a90c711 [2022-09-27T06:56:31.175Z] ---> 1226e7b548f6 [2022-09-27T06:56:31.175Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T06:56:31.175Z] ---> Running in a879184ebe74 [2022-09-27T06:56:31.758Z] Removing intermediate container a879184ebe74 [2022-09-27T06:56:31.758Z] ---> bd3a1a76b486 [2022-09-27T06:56:31.758Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T06:56:31.758Z] Successfully built bd3a1a76b486 [2022-09-27T06:56:31.758Z] 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-27T06:56:32.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T06:56:32.200Z] [2022-09-27T06:56:32.200Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:56:32.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T06:56:32.532Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T06:56:32.532Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T06:56:32.532Z] 04944245beec: Pulling fs layer [2022-09-27T06:56:32.532Z] 699f458cf7ca: Pulling fs layer [2022-09-27T06:56:32.532Z] 765212b225bb: Pulling fs layer [2022-09-27T06:56:32.532Z] f23df028b6ca: Pulling fs layer [2022-09-27T06:56:32.532Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T06:56:32.532Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T06:56:32.532Z] f23df028b6ca: Waiting [2022-09-27T06:56:32.532Z] d65c8cfc05b1: Waiting [2022-09-27T06:56:32.532Z] 2437ff75d9bd: Waiting [2022-09-27T06:56:32.532Z] 765212b225bb: Waiting [2022-09-27T06:56:32.803Z] 04944245beec: Verifying Checksum [2022-09-27T06:56:32.803Z] 04944245beec: Download complete [2022-09-27T06:56:32.803Z] 765212b225bb: Download complete [2022-09-27T06:56:32.803Z] f23df028b6ca: Verifying Checksum [2022-09-27T06:56:32.803Z] f23df028b6ca: Download complete [2022-09-27T06:56:32.803Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T06:56:32.803Z] d65c8cfc05b1: Download complete [2022-09-27T06:56:32.803Z] 699f458cf7ca: Verifying Checksum [2022-09-27T06:56:32.803Z] 699f458cf7ca: Download complete [2022-09-27T06:56:33.392Z] 8998bd30e6a1: Verifying Checksum [2022-09-27T06:56:33.392Z] 8998bd30e6a1: Download complete [2022-09-27T06:56:35.975Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T06:56:35.975Z] 2437ff75d9bd: Download complete [2022-09-27T06:56:36.935Z] 8998bd30e6a1: Pull complete [2022-09-27T06:56:37.541Z] 04944245beec: Pull complete [2022-09-27T06:56:38.961Z] 699f458cf7ca: Pull complete [2022-09-27T06:56:38.961Z] 765212b225bb: Pull complete [2022-09-27T06:56:39.919Z] f23df028b6ca: Pull complete [2022-09-27T06:56:40.184Z] d65c8cfc05b1: Pull complete [2022-09-27T06:56:55.175Z] 2437ff75d9bd: Pull complete [2022-09-27T06:56:55.175Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T06:56:55.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T06:56:55.175Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T06:56:55.354Z] prd-ubuntu20.04-docker-arm64-4c-16g-1319 does not seem to be running inside a container [2022-09-27T06:56:55.425Z] $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T06:56:58.076Z] $ docker top 53733e1547484c533464b6676b7aa4e13927cec7db88c1ae2fdc5fb89ff2d7b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:56:58.915Z] ---> job-cost.sh [2022-09-27T06:56:58.915Z] lf-activate-venv: SKIPPING [2022-09-27T06:56:58.915Z] INFO: No Stack... [2022-09-27T06:56:59.497Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T06:57:00.079Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T06:57:00.714Z] + cat /w/workspace/device-sdk-go/11/archives/cost.csv [2022-09-27T06:57:00.714Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T06:57:00.780Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] [2022-09-27T06:57:00.789Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] did not exist. Created. [2022-09-27T06:57:00.789Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T06:57:01.444Z] /w/workspace/device-sdk-go/11@tmp/durable-452773f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T06:57:02.092Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T06:57:02.112Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T06:57:02.169Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T06:57:02.176Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T06:57:02.197Z] $ docker stop --time=1 53733e1547484c533464b6676b7aa4e13927cec7db88c1ae2fdc5fb89ff2d7b3 [2022-09-27T06:57:03.706Z] $ docker rm -f 53733e1547484c533464b6676b7aa4e13927cec7db88c1ae2fdc5fb89ff2d7b3 [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-27T06:57:04.135Z] provisioning config files... [2022-09-27T06:57:04.142Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config16018629648246935353tmp [Pipeline] { [Pipeline] sh [2022-09-27T06:57:04.435Z] + set +x [2022-09-27T06:57:04.435Z] + curl -s https://codecov.io/bash [2022-09-27T06:57:04.435Z] + bash -s -- [2022-09-27T06:57:04.435Z] [2022-09-27T06:57:04.435Z] _____ _ [2022-09-27T06:57:04.435Z] / ____| | | [2022-09-27T06:57:04.435Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T06:57:04.435Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T06:57:04.435Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T06:57:04.435Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T06:57:04.435Z] Bash-1.0.6 [2022-09-27T06:57:04.435Z] [2022-09-27T06:57:04.435Z] [2022-09-27T06:57:04.435Z] ==> git version 2.25.1 found [2022-09-27T06:57:04.435Z] ==> 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-27T06:57:04.435Z] Release-Date: 2020-01-08 [2022-09-27T06:57:04.435Z] 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-27T06:57:04.435Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T06:57:04.435Z] ==> Jenkins CI detected. [2022-09-27T06:57:04.435Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-09-27T06:57:04.435Z] project root: . [2022-09-27T06:57:04.435Z] --> token set from env [2022-09-27T06:57:04.435Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T06:57:04.435Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T06:57:04.435Z] ==> Python coveragepy not found [2022-09-27T06:57:04.435Z] ==> Searching for coverage reports in: [2022-09-27T06:57:04.435Z] + . [2022-09-27T06:57:04.435Z] -> Found 1 reports [2022-09-27T06:57:04.435Z] ==> Detecting git/mercurial file structure [2022-09-27T06:57:04.435Z] ==> Reading reports [2022-09-27T06:57:04.693Z] + ./coverage.out bytes=100920 [2022-09-27T06:57:04.693Z] ==> Appending adjustments [2022-09-27T06:57:04.693Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T06:57:04.951Z] + Found adjustments [2022-09-27T06:57:04.951Z] ==> Gzipping contents [2022-09-27T06:57:04.951Z] 16K /tmp/codecov.HjqjeQ.gz [2022-09-27T06:57:04.951Z] ==> Uploading reports [2022-09-27T06:57:04.951Z] url: https://codecov.io [2022-09-27T06:57:04.951Z] query: branch=PR-1196&commit=eb02d557af5a8de536f33d4ffc2f370c412e40c0&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-09-27T06:57:04.951Z] -> Pinging Codecov [2022-09-27T06:57:04.951Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1196&commit=eb02d557af5a8de536f33d4ffc2f370c412e40c0&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-09-27T06:57:05.215Z] -> Uploading to [2022-09-27T06:57:05.215Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/7E55EF52A471D76F132DFD9A03CDDE97/eb02d557af5a8de536f33d4ffc2f370c412e40c0/876d55dc-6bac-4230-820a-448eea945d56.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T065705Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=375a1080cd8b4997bb19e701edfe5f018b955fe43ef590bf836234a4ad58fd8c [2022-09-27T06:57:05.215Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T06:57:05.215Z] Dload Upload Total Spent Left Speed [2022-09-27T06:57:05.473Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14510 0 0 100 14510 0 70780 --:--:-- --:--:-- --:--:-- 70436 100 14510 0 0 100 14510 0 60711 --:--:-- --:--:-- --:--:-- 60458 [2022-09-27T06:57:05.473Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/eb02d557af5a8de536f33d4ffc2f370c412e40c0 [Pipeline] } [2022-09-27T06:57:05.479Z] 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-27T06:57:06.163Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] [2022-09-27T06:57:06.164Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-27T06:57:06.164Z] total 16 [2022-09-27T06:57:06.164Z] drwxr-xr-x 3 root root 4096 Sep 27 06:45 . [2022-09-27T06:57:06.164Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 06:45 .. [2022-09-27T06:57:06.164Z] drwxr-xr-x 2 root root 4096 Sep 27 06:45 cost [2022-09-27T06:57:06.164Z] -rw-r--r-- 1 root root 87 Sep 27 06:45 cost.csv [2022-09-27T06:57:06.164Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-27T06:57:06.164Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-09-27T06:57:06.164Z] total 16 [2022-09-27T06:57:06.164Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 06:45 . [2022-09-27T06:57:06.164Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 06:45 .. [2022-09-27T06:57:06.164Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 06:45 cost [2022-09-27T06:57:06.164Z] -rw-r--r-- 1 jenkins jenkins 87 Sep 27 06:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:57:06.453Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:57:07.311Z] ---> package-listing.sh [2022-09-27T06:57:07.311Z] ++ facter osfamily [2022-09-27T06:57:07.311Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T06:57:07.569Z] + OS_FAMILY=debian [2022-09-27T06:57:07.570Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-09-27T06:57:07.570Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T06:57:07.570Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T06:57:07.570Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T06:57:07.570Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T06:57:07.570Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-09-27T06:57:07.570Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T06:57:07.570Z] + case "${OS_FAMILY}" in [2022-09-27T06:57:07.570Z] + dpkg -l [2022-09-27T06:57:07.570Z] + grep '^ii' [2022-09-27T06:57:07.570Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T06:57:07.570Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T06:57:07.570Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T06:57:07.570Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-09-27T06:57:07.570Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [2022-09-27T06:57:07.570Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [Pipeline] echo [2022-09-27T06:57:07.580Z] 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-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T06:57:07.857Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T06:57:08.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T06:57:08.414Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T06:57:08.479Z] prd-ubuntu20.04-docker-8c-8g-1318 does not seem to be running inside a container [2022-09-27T06:57:08.507Z] $ 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-1196/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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-27T06:57:08.704Z] $ docker top f9762c18690a12f9d6b4185993b921593613481a6e00bc884e70b616fded1161 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T06:57:09.049Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T06:57:09.333Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T06:57:09.618Z] + ls /var/log/sa-host [2022-09-27T06:57:09.618Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T06:57:09.763Z] provisioning config files... [2022-09-27T06:57:09.771Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config8385428123480141698tmp [Pipeline] { [Pipeline] echo [2022-09-27T06:57:09.785Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:57:10.069Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T06:57:10.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:57:10.407Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T06:57:10.416Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:57:10.698Z] ---> sudo-logs.sh [2022-09-27T06:57:10.698Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T06:57:10.731Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:57:11.015Z] ---> job-cost.sh [2022-09-27T06:57:11.015Z] lf-activate-venv: SKIPPING [2022-09-27T06:57:11.015Z] DEBUG: total: 0.2199999988079071 [2022-09-27T06:57:11.015Z] INFO: Retrieving Stack Cost... [2022-09-27T06:57:11.584Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T06:57:11.843Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T06:57:11.853Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T06:57:12.134Z] ---> logs-deploy.sh [2022-09-27T06:57:12.134Z] lf-activate-venv: SKIPPING [2022-09-27T06:57:12.134Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/11 [2022-09-27T06:57:12.134Z] INFO: archiving workspace using pattern(s): [2022-09-27T06:57:13.074Z] Archives upload complete. [2022-09-27T06:57:13.074Z] INFO: archiving logs to Nexus