Pull request #1228 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c62688e0678e0ae3027ef2ee08e318d1aa5a87c9+4cdfac307ff5ecfa9b334dec4fe858139c1fd9cb (b97b1949ef380d9172cb8e586e58017b530bd499) 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-ssh14769211589158129181.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-ssh5676263909107791376.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15275648505197819087.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12430256156667975189.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16031759326215289190.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1228/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1228/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9056307303073141835.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7133 in /w/workspace/gexfoundry_device-sdk-go_PR-1228 [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-1228 # 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/1228/head:refs/remotes/origin/PR-1228 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4cdfac307ff5ecfa9b334dec4fe858139c1fd9cb into PR head commit c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 Merge succeeded, producing c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 Checking out Revision c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 (PR-1228) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-05T04:49:30.336Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-05T04:49:30.512Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 # 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 4cdfac307ff5ecfa9b334dec4fe858139c1fd9cb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-05T04:49:30.614Z] ========================================================= [2022-10-05T04:49:30.614Z] EdgeX Global Pipelines Version Info [2022-10-05T04:49:30.614Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-05T04:49:31.361Z] ------------------- [2022-10-05T04:49:31.361Z] stable info: [2022-10-05T04:49:31.361Z] ------------------- [2022-10-05T04:49:31.361Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-05T04:49:31.361Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-05T04:49:31.361Z] Message: update stable to v1.0.239 [2022-10-05T04:49:31.932Z] ------------------- [2022-10-05T04:49:31.932Z] experimental info: [2022-10-05T04:49:31.932Z] ------------------- [2022-10-05T04:49:31.932Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-05T04:49:31.932Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-05T04:49:31.932Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-05T04:49:32.191Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-05T04:49:32.232Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-05T04:49:32.270Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-05T04:49:32.309Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-05T04:49:32.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-05T04:49:32.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-05T04:49:32.426Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-05T04:49:32.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-05T04:49:32.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-05T04:49:32.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-05T04:49:32.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-05T04:49:32.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-05T04:49:32.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-05T04:49:32.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-05T04:49:32.743Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-05T04:49:32.783Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-05T04:49:32.825Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-05T04:49:32.866Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-05T04:49:32.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-05T04:49:32.943Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-05T04:49:32.980Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-05T04:49:33.017Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-05T04:49:33.054Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-05T04:49:33.095Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-05T04:49:33.137Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-05T04:49:33.177Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-05T04:49:33.288Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-05T04:49:33.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1228 [Pipeline] echo [2022-10-05T04:49:33.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1228 [Pipeline] echo [2022-10-05T04:49:33.409Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1228 [Pipeline] echo [2022-10-05T04:49:33.447Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [Pipeline] echo [2022-10-05T04:49:33.484Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c62688e [Pipeline] echo [2022-10-05T04:49:33.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-05T04:49:33.636Z] provisioning config files... [2022-10-05T04:49:33.652Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/config5231398666762209049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-05T04:49:33.996Z] ---> docker-login.sh [2022-10-05T04:49:33.997Z] nexus3.edgexfoundry.org:10001 [2022-10-05T04:49:34.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:49:34.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:49:34.526Z] Configure a credential helper to remove this warning. See [2022-10-05T04:49:34.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:49:34.526Z] [2022-10-05T04:49:34.526Z] Login Succeeded [2022-10-05T04:49:34.526Z] nexus3.edgexfoundry.org:10002 [2022-10-05T04:49:34.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:49:34.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:49:34.526Z] Configure a credential helper to remove this warning. See [2022-10-05T04:49:34.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:49:34.526Z] [2022-10-05T04:49:34.526Z] Login Succeeded [2022-10-05T04:49:34.526Z] nexus3.edgexfoundry.org:10003 [2022-10-05T04:49:34.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:49:34.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:49:34.787Z] Configure a credential helper to remove this warning. See [2022-10-05T04:49:34.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:49:34.787Z] [2022-10-05T04:49:34.787Z] Login Succeeded [2022-10-05T04:49:34.787Z] nexus3.edgexfoundry.org:10004 [2022-10-05T04:49:34.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:49:34.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:49:34.787Z] Configure a credential helper to remove this warning. See [2022-10-05T04:49:34.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:49:34.787Z] [2022-10-05T04:49:34.787Z] Login Succeeded [2022-10-05T04:49:34.787Z] docker.io [2022-10-05T04:49:34.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:49:35.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:49:35.358Z] Configure a credential helper to remove this warning. See [2022-10-05T04:49:35.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:49:35.358Z] [2022-10-05T04:49:35.358Z] Login Succeeded [2022-10-05T04:49:35.358Z] ---> docker-login.sh ends [Pipeline] } [2022-10-05T04:49:35.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-05T04:49:35.987Z] + git rev-list -1 --merges c62688e0678e0ae3027ef2ee08e318d1aa5a87c9~1..c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [Pipeline] echo [2022-10-05T04:49:36.043Z] -----------> git rev-list -1 --merges c62688e0678e0ae3027ef2ee08e318d1aa5a87c9~1..c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [false] [Pipeline] sh [2022-10-05T04:49:36.353Z] + git log --format=format:%s -1 c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [Pipeline] echo [2022-10-05T04:49:36.386Z] ========================================================= [2022-10-05T04:49:36.386Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-05T04:49:36.386Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-05T04:49:36.799Z] + git log --format=format:%s -1 c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [Pipeline] echo [2022-10-05T04:49:36.838Z] [semverPrep] GIT_COMMIT: c62688e0678e0ae3027ef2ee08e318d1aa5a87c9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-10-05T04:49:36.864Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-05T04:49:37.254Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-05T04:49:37.254Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-05T04:49:37.254Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-05T04:49:37.254Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-05T04:49:37.254Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-05T04:49:37.254Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-05T04:49:37.254Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:49:37.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-05T04:49:37.733Z] [2022-10-05T04:49:37.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:49:38.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-05T04:49:38.109Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-05T04:49:38.109Z] b85a868b505f: Pulling fs layer [2022-10-05T04:49:38.109Z] e2be974225ed: Pulling fs layer [2022-10-05T04:49:38.109Z] 339a4e72a1f5: Pulling fs layer [2022-10-05T04:49:38.109Z] 988bab9f4d93: Pulling fs layer [2022-10-05T04:49:38.109Z] 1469e6f7b9e6: Pulling fs layer [2022-10-05T04:49:38.109Z] eaf3925da568: Pulling fs layer [2022-10-05T04:49:38.109Z] bab4dde63d76: Pulling fs layer [2022-10-05T04:49:38.109Z] bde34c3a00c8: Pulling fs layer [2022-10-05T04:49:38.109Z] b352a97aabf1: Pulling fs layer [2022-10-05T04:49:38.109Z] 4872d77fe225: Pulling fs layer [2022-10-05T04:49:38.109Z] 5851b861e8e6: Pulling fs layer [2022-10-05T04:49:38.109Z] 988bab9f4d93: Waiting [2022-10-05T04:49:38.109Z] 1469e6f7b9e6: Waiting [2022-10-05T04:49:38.109Z] eaf3925da568: Waiting [2022-10-05T04:49:38.109Z] bab4dde63d76: Waiting [2022-10-05T04:49:38.109Z] bde34c3a00c8: Waiting [2022-10-05T04:49:38.109Z] b352a97aabf1: Waiting [2022-10-05T04:49:38.109Z] 4872d77fe225: Waiting [2022-10-05T04:49:38.109Z] 5851b861e8e6: Waiting [2022-10-05T04:49:38.109Z] e2be974225ed: Download complete [2022-10-05T04:49:38.109Z] 988bab9f4d93: Download complete [2022-10-05T04:49:38.369Z] 1469e6f7b9e6: Verifying Checksum [2022-10-05T04:49:38.369Z] 1469e6f7b9e6: Download complete [2022-10-05T04:49:38.369Z] eaf3925da568: Download complete [2022-10-05T04:49:38.369Z] 339a4e72a1f5: Verifying Checksum [2022-10-05T04:49:38.369Z] 339a4e72a1f5: Download complete [2022-10-05T04:49:38.369Z] bde34c3a00c8: Verifying Checksum [2022-10-05T04:49:38.369Z] bde34c3a00c8: Download complete [2022-10-05T04:49:38.369Z] b352a97aabf1: Download complete [2022-10-05T04:49:38.369Z] 4872d77fe225: Verifying Checksum [2022-10-05T04:49:38.369Z] 4872d77fe225: Download complete [2022-10-05T04:49:38.369Z] 5851b861e8e6: Verifying Checksum [2022-10-05T04:49:38.369Z] 5851b861e8e6: Download complete [2022-10-05T04:49:38.369Z] b85a868b505f: Verifying Checksum [2022-10-05T04:49:38.369Z] b85a868b505f: Download complete [2022-10-05T04:49:38.628Z] bab4dde63d76: Verifying Checksum [2022-10-05T04:49:38.628Z] bab4dde63d76: Download complete [2022-10-05T04:49:40.012Z] b85a868b505f: Pull complete [2022-10-05T04:49:40.012Z] e2be974225ed: Pull complete [2022-10-05T04:49:40.272Z] 339a4e72a1f5: Pull complete [2022-10-05T04:49:40.533Z] 988bab9f4d93: Pull complete [2022-10-05T04:49:40.791Z] 1469e6f7b9e6: Pull complete [2022-10-05T04:49:40.791Z] eaf3925da568: Pull complete [2022-10-05T04:49:42.698Z] bab4dde63d76: Pull complete [2022-10-05T04:49:42.698Z] bde34c3a00c8: Pull complete [2022-10-05T04:49:42.960Z] b352a97aabf1: Pull complete [2022-10-05T04:49:42.960Z] 4872d77fe225: Pull complete [2022-10-05T04:49:42.960Z] 5851b861e8e6: Pull complete [2022-10-05T04:49:43.219Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-05T04:49:43.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-05T04:49:43.219Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T04:49:43.437Z] prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container [2022-10-05T04:49:43.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1228 -v /w/workspace/gexfoundry_device-sdk-go_PR-1228:/w/workspace/gexfoundry_device-sdk-go_PR-1228:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1228@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-05T04:49:45.121Z] $ docker top 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b -eo pid,comm [2022-10-05T04:49:45.188Z] 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-10-05T04:49:45.188Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-05T04:49:45.326Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-05T04:49:45.326Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-05T04:49:45.453Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-05T04:49:45.445Z] $ docker exec 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b ssh-agent [2022-10-05T04:49:45.577Z] SSH_AUTH_SOCK=/tmp/ssh-pAS9PzAwt7XA/agent.32 [2022-10-05T04:49:45.577Z] SSH_AGENT_PID=38 [2022-10-05T04:49:45.583Z] Running ssh-add (command line suppressed) [2022-10-05T04:49:45.683Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/private_key_12689172226325123171.key (/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/private_key_12689172226325123171.key) [2022-10-05T04:49:45.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-05T04:49:46.037Z] + git tag --points-at HEAD [Pipeline] } [2022-10-05T04:49:46.052Z] $ docker exec --env ******** --env ******** 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b ssh-agent -k [2022-10-05T04:49:46.157Z] unset SSH_AUTH_SOCK; [2022-10-05T04:49:46.157Z] unset SSH_AGENT_PID; [2022-10-05T04:49:46.157Z] echo Agent pid 38 killed; [2022-10-05T04:49:46.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-05T04:49:46.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-05T04:49:46.258Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-05T04:49:46.395Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-05T04:49:46.388Z] $ docker exec 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b ssh-agent [2022-10-05T04:49:46.526Z] SSH_AUTH_SOCK=/tmp/ssh-VRc9Yu8lid7w/agent.70 [2022-10-05T04:49:46.526Z] SSH_AGENT_PID=76 [2022-10-05T04:49:46.530Z] Running ssh-add (command line suppressed) [2022-10-05T04:49:46.633Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/private_key_2345072027236792876.key (/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/private_key_2345072027236792876.key) [2022-10-05T04:49:46.659Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-05T04:49:46.989Z] + git semver init [2022-10-05T04:49:47.249Z] 2022-10-05 04:49:47,164 [run_init] DEBUG init version:0.0.0 force:False [2022-10-05T04:49:47.249Z] 2022-10-05 04:49:47,165 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver [2022-10-05T04:49:47.249Z] 2022-10-05 04:49:47,166 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver [2022-10-05T04:49:47.249Z] 2022-10-05 04:49:47,166 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1228, universal_newlines=False, shell=None, istream=None) [2022-10-05T04:49:48.189Z] 2022-10-05 04:49:48,169 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228/.git/info/exclude [2022-10-05T04:49:48.189Z] 2022-10-05 04:49:48,170 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver/PR-1228 with force:False [2022-10-05T04:49:48.189Z] 2022-10-05 04:49:48,170 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver/PR-1228 [2022-10-05T04:49:48.189Z] 2022-10-05 04:49:48,174 [execute] INFO git cat-file --batch-check [2022-10-05T04:49:48.189Z] 2022-10-05 04:49:48,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver, universal_newlines=False, shell=None, istream=) [2022-10-05T04:49:48.448Z] 2022-10-05 04:49:48,181 [execute] INFO git cat-file --batch [2022-10-05T04:49:48.448Z] 2022-10-05 04:49:48,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver, universal_newlines=False, shell=None, istream=) [2022-10-05T04:49:48.448Z] 2022-10-05 04:49:48,187 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver/PR-1228 [2022-10-05T04:49:48.448Z] 0.0.0 [Pipeline] } [2022-10-05T04:49:48.463Z] $ docker exec --env ******** --env ******** 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b ssh-agent -k [2022-10-05T04:49:48.570Z] unset SSH_AUTH_SOCK; [2022-10-05T04:49:48.571Z] unset SSH_AGENT_PID; [2022-10-05T04:49:48.571Z] echo Agent pid 76 killed; [2022-10-05T04:49:48.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-05T04:49:49.019Z] + git semver [Pipeline] } [2022-10-05T04:49:49.292Z] $ docker stop --time=1 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b [2022-10-05T04:49:50.643Z] $ docker rm -f 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-05T04:49:51.055Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-05T04:49:51.296Z] Stashed 1 file(s) [Pipeline] echo [2022-10-05T04:49:51.311Z] [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-10-05T04:49:51.841Z] provisioning config files... [2022-10-05T04:49:51.851Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/config11395792460308486815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-05T04:49:52.189Z] ---> docker-login.sh [2022-10-05T04:49:52.189Z] nexus3.edgexfoundry.org:10001 [2022-10-05T04:49:52.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:49:52.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:49:52.189Z] Configure a credential helper to remove this warning. See [2022-10-05T04:49:52.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:49:52.189Z] [2022-10-05T04:49:52.189Z] Login Succeeded [2022-10-05T04:49:52.189Z] nexus3.edgexfoundry.org:10002 [2022-10-05T04:49:52.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:49:52.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:49:52.189Z] Configure a credential helper to remove this warning. See [2022-10-05T04:49:52.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:49:52.189Z] [2022-10-05T04:49:52.189Z] Login Succeeded [2022-10-05T04:49:52.189Z] nexus3.edgexfoundry.org:10003 [2022-10-05T04:49:52.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:49:52.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:49:52.449Z] Configure a credential helper to remove this warning. See [2022-10-05T04:49:52.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:49:52.449Z] [2022-10-05T04:49:52.449Z] Login Succeeded [2022-10-05T04:49:52.449Z] nexus3.edgexfoundry.org:10004 [2022-10-05T04:49:52.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:49:52.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:49:52.449Z] Configure a credential helper to remove this warning. See [2022-10-05T04:49:52.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:49:52.449Z] [2022-10-05T04:49:52.449Z] Login Succeeded [2022-10-05T04:49:52.449Z] docker.io [2022-10-05T04:49:52.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:49:52.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:49:52.968Z] Configure a credential helper to remove this warning. See [2022-10-05T04:49:52.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:49:52.968Z] [2022-10-05T04:49:52.968Z] Login Succeeded [2022-10-05T04:49:52.968Z] ---> docker-login.sh ends [Pipeline] } [2022-10-05T04:49:52.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-05T04:49:53.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-05T04:49:53.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-05T04:49:53.258Z] ========================================================= [2022-10-05T04:49:53.258Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-05T04:49:53.258Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:49:53.729Z] + 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-10-05T04:49:53.729Z] Sending build context to Docker daemon 9.983MB [2022-10-05T04:49:53.729Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-05T04:49:53.729Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-05T04:49:53.729Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-05T04:49:53.729Z] 2408cc74d12b: Pulling fs layer [2022-10-05T04:49:53.729Z] ea60b727a1ce: Pulling fs layer [2022-10-05T04:49:53.729Z] 30c4a7721957: Pulling fs layer [2022-10-05T04:49:53.729Z] 370296b7ddb6: Pulling fs layer [2022-10-05T04:49:53.729Z] 7c6cee850709: Pulling fs layer [2022-10-05T04:49:53.729Z] aa9baa53a306: Pulling fs layer [2022-10-05T04:49:53.729Z] 8b309c321861: Pulling fs layer [2022-10-05T04:49:53.729Z] d8d76fd02f46: Pulling fs layer [2022-10-05T04:49:53.729Z] fa31f396de31: Pulling fs layer [2022-10-05T04:49:53.729Z] 7c6cee850709: Waiting [2022-10-05T04:49:53.729Z] fa31f396de31: Waiting [2022-10-05T04:49:53.729Z] d8d76fd02f46: Waiting [2022-10-05T04:49:53.729Z] aa9baa53a306: Waiting [2022-10-05T04:49:53.729Z] 370296b7ddb6: Waiting [2022-10-05T04:49:53.729Z] 8b309c321861: Waiting [2022-10-05T04:49:53.729Z] 30c4a7721957: Verifying Checksum [2022-10-05T04:49:53.729Z] 30c4a7721957: Download complete [2022-10-05T04:49:53.989Z] ea60b727a1ce: Verifying Checksum [2022-10-05T04:49:53.989Z] ea60b727a1ce: Download complete [2022-10-05T04:49:53.989Z] 7c6cee850709: Download complete [2022-10-05T04:49:53.989Z] aa9baa53a306: Verifying Checksum [2022-10-05T04:49:53.989Z] aa9baa53a306: Download complete [2022-10-05T04:49:53.989Z] 2408cc74d12b: Verifying Checksum [2022-10-05T04:49:53.989Z] 2408cc74d12b: Download complete [2022-10-05T04:49:53.989Z] 8b309c321861: Download complete [2022-10-05T04:49:53.989Z] 2408cc74d12b: Pull complete [2022-10-05T04:49:54.249Z] ea60b727a1ce: Pull complete [2022-10-05T04:49:54.249Z] 30c4a7721957: Pull complete [2022-10-05T04:49:54.508Z] fa31f396de31: Verifying Checksum [2022-10-05T04:49:54.508Z] fa31f396de31: Download complete [2022-10-05T04:49:54.508Z] d8d76fd02f46: Verifying Checksum [2022-10-05T04:49:54.508Z] d8d76fd02f46: Download complete [2022-10-05T04:49:54.766Z] 370296b7ddb6: Verifying Checksum [2022-10-05T04:49:54.766Z] 370296b7ddb6: Download complete [2022-10-05T04:49:58.952Z] 370296b7ddb6: Pull complete [2022-10-05T04:49:58.952Z] 7c6cee850709: Pull complete [2022-10-05T04:49:58.952Z] aa9baa53a306: Pull complete [2022-10-05T04:49:58.952Z] 8b309c321861: Pull complete [2022-10-05T04:50:00.852Z] d8d76fd02f46: Pull complete [2022-10-05T04:50:01.785Z] fa31f396de31: Pull complete [2022-10-05T04:50:01.785Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-05T04:50:01.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-05T04:50:01.785Z] ---> cef68f9685f8 [2022-10-05T04:50:01.785Z] Step 3/11 : ARG MAKE=make build [2022-10-05T04:50:03.692Z] ---> Running in 22a767281f0b [2022-10-05T04:50:03.692Z] Removing intermediate container 22a767281f0b [2022-10-05T04:50:03.692Z] ---> 3a5ffaef1927 [2022-10-05T04:50:03.692Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-05T04:50:03.692Z] ---> Running in 0fa4bd4d030e [2022-10-05T04:50:03.692Z] Removing intermediate container 0fa4bd4d030e [2022-10-05T04:50:03.692Z] ---> bb2f832daa9b [2022-10-05T04:50:03.692Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-05T04:50:03.950Z] ---> Running in cc26eed463d1 [2022-10-05T04:50:03.950Z] Removing intermediate container cc26eed463d1 [2022-10-05T04:50:03.950Z] ---> 8d310dc4fe25 [2022-10-05T04:50:03.950Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-05T04:50:03.950Z] ---> Running in 7a543d93d633 [2022-10-05T04:50:04.889Z] Removing intermediate container 7a543d93d633 [2022-10-05T04:50:04.889Z] ---> 5b3623b2cecb [2022-10-05T04:50:04.889Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-05T04:50:04.889Z] ---> Running in 8a45c97e71e5 [2022-10-05T04:50:04.889Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-05T04:50:05.826Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-05T04:50:06.085Z] OK: 211 MiB in 51 packages [2022-10-05T04:50:06.651Z] Removing intermediate container 8a45c97e71e5 [2022-10-05T04:50:06.652Z] ---> 3adbc4a37df3 [2022-10-05T04:50:06.652Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-05T04:50:06.652Z] ---> 5b142258ae41 [2022-10-05T04:50:06.652Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-05T04:50:06.652Z] ---> Running in 8c14889da997 [2022-10-05T04:50:06.687Z] Still waiting to schedule task [2022-10-05T04:50:06.688Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-05T04:50:24.736Z] Removing intermediate container 8c14889da997 [2022-10-05T04:50:24.736Z] ---> 21db79720974 [2022-10-05T04:50:24.736Z] Step 10/11 : COPY . . [2022-10-05T04:50:24.996Z] ---> ce0e04156edd [2022-10-05T04:50:24.996Z] Step 11/11 : RUN ${MAKE} [2022-10-05T04:50:24.996Z] ---> Running in 4e4ae17d7be4 [2022-10-05T04:50:25.256Z] noop [2022-10-05T04:50:25.523Z] Removing intermediate container 4e4ae17d7be4 [2022-10-05T04:50:25.523Z] ---> 58d68620eea9 [2022-10-05T04:50:25.523Z] Successfully built 58d68620eea9 [2022-10-05T04:50:25.523Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:50:25.966Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-05T04:50:25.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T04:50:26.115Z] prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container [2022-10-05T04:50:26.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1228 -v /w/workspace/gexfoundry_device-sdk-go_PR-1228:/w/workspace/gexfoundry_device-sdk-go_PR-1228:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1228@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 ******** ci-base-image-x86_64 cat [2022-10-05T04:50:26.559Z] $ docker top 2787b6020ecb5cccf6aa9dbed8b4c6042d824548f424bd5c1a66cd7449a0660c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-05T04:50:26.958Z] + go version [2022-10-05T04:50:26.958Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-05T04:50:26.995Z] $ docker stop --time=1 2787b6020ecb5cccf6aa9dbed8b4c6042d824548f424bd5c1a66cd7449a0660c [2022-10-05T04:50:28.527Z] $ docker rm -f 2787b6020ecb5cccf6aa9dbed8b4c6042d824548f424bd5c1a66cd7449a0660c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:50:29.208Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-05T04:50:29.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T04:50:29.340Z] prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container [2022-10-05T04:50:29.377Z] $ 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-1228 -v /w/workspace/gexfoundry_device-sdk-go_PR-1228:/w/workspace/gexfoundry_device-sdk-go_PR-1228:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1228@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 ******** ci-base-image-x86_64 cat [2022-10-05T04:50:29.765Z] $ docker top fb33622c1024aeb8285de95494ea3fc7931c98bf1016f27b73a4a293972391ab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-05T04:50:30.160Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1228 [Pipeline] fileExists [Pipeline] sh [2022-10-05T04:50:30.518Z] + make test [2022-10-05T04:50:30.518Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-05T04:50:37.076Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-05T04:50:51.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements [2022-10-05T04:50:51.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.066s coverage: 78.9% of statements [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-05T04:50:51.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.092s coverage: 60.0% of statements [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-05T04:50:51.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-05T04:50:51.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 65.1% of statements [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-05T04:50:51.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.749s coverage: 89.2% of statements [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-05T04:50:51.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements [2022-10-05T04:50:51.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-05T04:51:10.034Z] 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-10-05T04:51:10.034Z] GO111MODULE=on go vet ./... [2022-10-05T04:51:11.934Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-05T04:51:11.934Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-05T04:51:11.934Z] ./bin/test-attribution-txt.sh [2022-10-05T04:51:11.934Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-05T04:51:11.934Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-05T04:51:11.934Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-05T04:51:11.934Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-05T04:51:12.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-05T04:51:12.100Z] $ docker stop --time=1 fb33622c1024aeb8285de95494ea3fc7931c98bf1016f27b73a4a293972391ab [2022-10-05T04:51:14.132Z] $ docker rm -f fb33622c1024aeb8285de95494ea3fc7931c98bf1016f27b73a4a293972391ab [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-05T04:51:14.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-05T04:51:14.815Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-05T04:51:15.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-05T04:51:15.815Z] + ls -al . [2022-10-05T04:51:15.815Z] total 276 [2022-10-05T04:51:15.815Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 04:50 . [2022-10-05T04:51:15.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:49 .. [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 04:49 .dockerignore [2022-10-05T04:51:15.815Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:50 .git [2022-10-05T04:51:15.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:49 .github [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 5 04:49 .gitignore [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 5 04:49 .golangci.yml [2022-10-05T04:51:15.815Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 04:49 .semver [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 5 04:49 CHANGELOG.md [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:49 GOVERNANCE.md [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 5 04:49 Jenkinsfile [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 04:49 LICENSE [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 5 04:49 Makefile [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 04:49 OWNERS.md [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 5 04:49 README.md [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:49 VERSION [2022-10-05T04:51:15.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:49 bin [2022-10-05T04:51:15.815Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 5 04:50 coverage.out [2022-10-05T04:51:15.815Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 04:49 example [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 5 04:49 go.mod [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 5 04:49 go.sum [2022-10-05T04:51:15.815Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 5 04:49 internal [2022-10-05T04:51:15.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:49 openapi [2022-10-05T04:51:15.815Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 5 04:49 pkg [2022-10-05T04:51:15.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:49 snap [2022-10-05T04:51:15.815Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 04:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:51:16.195Z] + 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=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 --label arch=amd64 --label version=0.0.0 . [2022-10-05T04:51:16.195Z] Sending build context to Docker daemon 10.09MB [2022-10-05T04:51:16.195Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-05T04:51:16.195Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-05T04:51:16.195Z] ---> 58d68620eea9 [2022-10-05T04:51:16.195Z] Step 3/25 : ARG MAKE=make build [2022-10-05T04:51:16.195Z] ---> Running in 9e3c589caf2d [2022-10-05T04:51:16.454Z] Removing intermediate container 9e3c589caf2d [2022-10-05T04:51:16.454Z] ---> 6f3ffb33a0f3 [2022-10-05T04:51:16.454Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-05T04:51:16.454Z] ---> Running in eca7cd84a945 [2022-10-05T04:51:16.454Z] Removing intermediate container eca7cd84a945 [2022-10-05T04:51:16.454Z] ---> 8b64be37728c [2022-10-05T04:51:16.454Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-05T04:51:16.454Z] ---> Running in 185d1fa1d6d2 [2022-10-05T04:51:16.713Z] Removing intermediate container 185d1fa1d6d2 [2022-10-05T04:51:16.713Z] ---> f700ab9bff44 [2022-10-05T04:51:16.713Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-05T04:51:16.713Z] ---> Running in a2c74a3995ac [2022-10-05T04:51:17.280Z] Removing intermediate container a2c74a3995ac [2022-10-05T04:51:17.280Z] ---> d81bf3a0ceb9 [2022-10-05T04:51:17.280Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-05T04:51:17.280Z] ---> Running in b8d1593886e8 [2022-10-05T04:51:17.538Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-05T04:51:18.475Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-05T04:51:18.734Z] OK: 211 MiB in 51 packages [2022-10-05T04:51:19.299Z] Removing intermediate container b8d1593886e8 [2022-10-05T04:51:19.299Z] ---> b631120e8718 [2022-10-05T04:51:19.299Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-05T04:51:19.299Z] ---> 1382c9a69cf7 [2022-10-05T04:51:19.299Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-05T04:51:19.299Z] ---> Running in 642f1fc633b8 [2022-10-05T04:51:19.867Z] Removing intermediate container 642f1fc633b8 [2022-10-05T04:51:19.868Z] ---> 6933e0b584b6 [2022-10-05T04:51:19.868Z] Step 10/25 : COPY . . [2022-10-05T04:51:20.435Z] ---> 593373ea6523 [2022-10-05T04:51:20.435Z] Step 11/25 : RUN ${MAKE} [2022-10-05T04:51:20.435Z] ---> Running in 67a13ca97e77 [2022-10-05T04:51:20.435Z] 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-10-05T04:51:36.419Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7134 in /w/workspace/gexfoundry_device-sdk-go_PR-1228 [Pipeline] { [Pipeline] ws [2022-10-05T04:51:36.461Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-05T04:51:36.529Z] The recommended git tool is: git [2022-10-05T04:51:38.503Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-05T04:51:39.070Z] Removing intermediate container 67a13ca97e77 [2022-10-05T04:51:39.070Z] ---> 137c8f9e6537 [2022-10-05T04:51:39.070Z] Step 12/25 : FROM alpine:3.16 [2022-10-05T04:51:39.637Z] 3.16: Pulling from library/alpine [2022-10-05T04:51:39.897Z] 213ec9aee27d: Pulling fs layer [2022-10-05T04:51:39.897Z] 213ec9aee27d: Verifying Checksum [2022-10-05T04:51:39.897Z] 213ec9aee27d: Download complete [2022-10-05T04:51:40.155Z] 213ec9aee27d: Pull complete [2022-10-05T04:51:40.156Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-05T04:51:40.156Z] Status: Downloaded newer image for alpine:3.16 [2022-10-05T04:51:40.156Z] ---> 9c6f07244728 [2022-10-05T04:51:40.156Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-05T04:51:40.415Z] ---> Running in 661c314529ad [2022-10-05T04:51:40.415Z] Removing intermediate container 661c314529ad [2022-10-05T04:51:40.415Z] ---> 2f4ad4013ab4 [2022-10-05T04:51:40.415Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-05T04:51:40.415Z] ---> Running in 6107ee1e7b34 [2022-10-05T04:51:40.982Z] Removing intermediate container 6107ee1e7b34 [2022-10-05T04:51:40.982Z] ---> 3246de0bce9e [2022-10-05T04:51:40.982Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-05T04:51:40.982Z] ---> Running in 5fc1968d4bff [2022-10-05T04:51:41.246Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-05T04:51:41.353Z] using credential edgex-jenkins-ssh [2022-10-05T04:51:41.368Z] Cloning the remote Git repository [2022-10-05T04:51:42.185Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-05T04:51:42.445Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-05T04:51:41.411Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-05T04:51:41.491Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-05T04:51:41.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-05T04:51:41.622Z] > git --version # timeout=10 [2022-10-05T04:51:41.642Z] > git --version # 'git version 2.25.1' [2022-10-05T04:51:41.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-05T04:51:41.690Z] Verifying host key using known hosts file [2022-10-05T04:51:41.889Z] 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-10-05T04:51:41.901Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-05T04:51:42.703Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-05T04:51:42.703Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-05T04:51:42.703Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-05T04:51:42.961Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-05T04:51:42.961Z] Executing busybox-1.35.0-r17.trigger [2022-10-05T04:51:42.961Z] OK: 8 MiB in 19 packages [2022-10-05T04:51:43.528Z] Removing intermediate container 5fc1968d4bff [2022-10-05T04:51:43.528Z] ---> cf61c4329790 [2022-10-05T04:51:43.528Z] Step 16/25 : WORKDIR / [2022-10-05T04:51:43.528Z] ---> Running in 2a0b306e2101 [2022-10-05T04:51:43.528Z] Removing intermediate container 2a0b306e2101 [2022-10-05T04:51:43.528Z] ---> dd2dadc81f40 [2022-10-05T04:51:43.528Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-05T04:51:43.786Z] ---> 18ef59f771e8 [2022-10-05T04:51:43.786Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-05T04:51:43.434Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-05T04:51:43.462Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-05T04:51:44.353Z] ---> f1727eae00ff [2022-10-05T04:51:44.353Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-05T04:51:44.611Z] ---> 215e2bf91dfa [2022-10-05T04:51:44.611Z] Step 20/25 : EXPOSE 59999 [2022-10-05T04:51:44.611Z] ---> Running in d9cf835c592e [2022-10-05T04:51:44.874Z] Merging remotes/origin/main commit 4cdfac307ff5ecfa9b334dec4fe858139c1fd9cb into PR head commit c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [2022-10-05T04:51:44.882Z] Removing intermediate container d9cf835c592e [2022-10-05T04:51:44.882Z] ---> baab92547a17 [2022-10-05T04:51:44.882Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-05T04:51:44.882Z] ---> Running in 75bb22a0549c [2022-10-05T04:51:44.882Z] Removing intermediate container 75bb22a0549c [2022-10-05T04:51:44.882Z] ---> 303f964bf562 [2022-10-05T04:51:44.882Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-05T04:51:44.882Z] ---> Running in 15d528b8aec6 [2022-10-05T04:51:45.098Z] Merge succeeded, producing c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [2022-10-05T04:51:45.098Z] Checking out Revision c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 (PR-1228) [2022-10-05T04:51:45.140Z] Removing intermediate container 15d528b8aec6 [2022-10-05T04:51:45.140Z] ---> d4c5b76cd123 [2022-10-05T04:51:45.140Z] Step 23/25 : LABEL arch=amd64 [2022-10-05T04:51:45.140Z] ---> Running in b16ae167267b [2022-10-05T04:51:45.140Z] Removing intermediate container b16ae167267b [2022-10-05T04:51:45.140Z] ---> 3a61c1676435 [2022-10-05T04:51:45.140Z] Step 24/25 : LABEL git_sha=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [2022-10-05T04:51:45.140Z] ---> Running in 9885b9537b81 [2022-10-05T04:51:44.272Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-05T04:51:44.312Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-05T04:51:44.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-05T04:51:44.318Z] Verifying host key using known hosts file [2022-10-05T04:51:44.324Z] 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-10-05T04:51:44.335Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1228/head:refs/remotes/origin/PR-1228 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-05T04:51:44.893Z] > git config core.sparsecheckout # timeout=10 [2022-10-05T04:51:44.908Z] > git checkout -f c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 # timeout=10 [2022-10-05T04:51:45.011Z] > git remote # timeout=10 [2022-10-05T04:51:45.027Z] > git config --get remote.origin.url # timeout=10 [2022-10-05T04:51:45.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-05T04:51:45.045Z] Verifying host key using known hosts file [2022-10-05T04:51:45.048Z] 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-10-05T04:51:45.059Z] > git merge 4cdfac307ff5ecfa9b334dec4fe858139c1fd9cb # timeout=10 [2022-10-05T04:51:45.085Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-05T04:51:45.106Z] > git config core.sparsecheckout # timeout=10 [2022-10-05T04:51:45.119Z] > git checkout -f c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 # timeout=10 [2022-10-05T04:51:45.399Z] Removing intermediate container 9885b9537b81 [2022-10-05T04:51:45.399Z] ---> 3f9b9cd9ea2f [2022-10-05T04:51:45.399Z] Step 25/25 : LABEL version=0.0.0 [2022-10-05T04:51:45.399Z] ---> Running in 01159bc5cf8b [2022-10-05T04:51:45.399Z] Removing intermediate container 01159bc5cf8b [2022-10-05T04:51:45.399Z] ---> 24e39fdefd24 [2022-10-05T04:51:45.399Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-05T04:51:45.399Z] Successfully built 24e39fdefd24 [2022-10-05T04:51:45.399Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2022-10-05T04:51:45.625Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" Stage "Docker Push" skipped due to when conditional [Pipeline] } [2022-10-05T04:51:45.672Z] > git --version # timeout=10 [2022-10-05T04:51:45.683Z] > git --version # 'git version 2.25.1' [2022-10-05T04:51:45.700Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-10-05T04:51:46.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-05T04:51:46.275Z] [2022-10-05T04:51:46.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:51:46.753Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-05T04:51:46.753Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-05T04:51:46.753Z] Dload Upload Total Spent Left Speed [2022-10-05T04:51:46.753Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78273 0 --:--:-- --:--:-- --:--:-- 78273 [2022-10-05T04:51:46.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-05T04:51:46.847Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-05T04:51:46.847Z] 5eb5b503b376: Pulling fs layer [2022-10-05T04:51:46.847Z] 5c69ac0246d0: Pulling fs layer [2022-10-05T04:51:46.847Z] ec43610c2a17: Pulling fs layer [2022-10-05T04:51:46.847Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-05T04:51:46.847Z] 33b1e0a273af: Pulling fs layer [2022-10-05T04:51:46.847Z] 5d3b04190fa2: Pulling fs layer [2022-10-05T04:51:46.847Z] 2f39f015ded8: Pulling fs layer [2022-10-05T04:51:46.847Z] 2f39f015ded8: Waiting [2022-10-05T04:51:46.847Z] 5d3b04190fa2: Waiting [2022-10-05T04:51:46.847Z] 3a2ae6a8a46f: Waiting [2022-10-05T04:51:46.847Z] 33b1e0a273af: Waiting [2022-10-05T04:51:46.847Z] 5c69ac0246d0: Verifying Checksum [2022-10-05T04:51:46.847Z] 5c69ac0246d0: Download complete [2022-10-05T04:51:46.847Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-05T04:51:46.847Z] 3a2ae6a8a46f: Download complete [2022-10-05T04:51:46.847Z] 33b1e0a273af: Verifying Checksum [2022-10-05T04:51:46.847Z] 33b1e0a273af: Download complete [Pipeline] sh [2022-10-05T04:51:47.108Z] 5d3b04190fa2: Verifying Checksum [2022-10-05T04:51:47.109Z] 5d3b04190fa2: Download complete [2022-10-05T04:51:47.109Z] ec43610c2a17: Verifying Checksum [2022-10-05T04:51:47.109Z] ec43610c2a17: Download complete [2022-10-05T04:51:47.109Z] 5eb5b503b376: Verifying Checksum [2022-10-05T04:51:47.109Z] 5eb5b503b376: Download complete [2022-10-05T04:51:47.320Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-05T04:51:47.659Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-05T04:51:47.659Z] + sudo tee /etc/docker/daemon.new [2022-10-05T04:51:47.659Z] { [2022-10-05T04:51:47.659Z] "registry-mirrors": [ [2022-10-05T04:51:47.659Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-05T04:51:47.659Z] ], [2022-10-05T04:51:47.659Z] "bip": "10.250.0.254/24", [2022-10-05T04:51:47.659Z] "hosts": [ [2022-10-05T04:51:47.659Z] "tcp://0.0.0.0:5555", [2022-10-05T04:51:47.659Z] "unix:///var/run/docker.sock" [2022-10-05T04:51:47.659Z] ], [2022-10-05T04:51:47.659Z] "mtu": 1458, [2022-10-05T04:51:47.659Z] "selinux-enabled": true, [2022-10-05T04:51:47.659Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-05T04:51:47.659Z] } [2022-10-05T04:51:47.676Z] 2f39f015ded8: Download complete [Pipeline] sh [2022-10-05T04:51:48.018Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-05T04:51:48.242Z] 5eb5b503b376: Pull complete [2022-10-05T04:51:48.370Z] + sudo service docker restart [2022-10-05T04:51:48.501Z] 5c69ac0246d0: Pull complete [2022-10-05T04:51:48.760Z] ec43610c2a17: Pull complete [2022-10-05T04:51:48.760Z] 3a2ae6a8a46f: Pull complete [2022-10-05T04:51:49.020Z] 33b1e0a273af: Pull complete [2022-10-05T04:51:49.020Z] 5d3b04190fa2: Pull complete [2022-10-05T04:51:53.206Z] 2f39f015ded8: Pull complete [2022-10-05T04:51:53.206Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-05T04:51:53.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-05T04:51:53.206Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T04:51:53.433Z] prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container [2022-10-05T04:51:53.470Z] $ 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-1228 -v /w/workspace/gexfoundry_device-sdk-go_PR-1228:/w/workspace/gexfoundry_device-sdk-go_PR-1228:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1228@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-05T04:51:55.087Z] $ docker top 02235c672c53540d923a4085eedb135de8b4d89f80dbc3a8e6aafd6d5d20a4b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-05T04:51:55.536Z] ---> job-cost.sh [2022-10-05T04:51:55.536Z] lf-activate-venv: SKIPPING [2022-10-05T04:51:55.536Z] INFO: No Stack... [2022-10-05T04:51:56.102Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-05T04:51:56.361Z] INFO: Archiving Costs [Pipeline] sh [2022-10-05T04:51:56.673Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives/cost.csv [2022-10-05T04:51:56.673Z] + cut -d, -f6 [Pipeline] lock [2022-10-05T04:51:56.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] [2022-10-05T04:51:56.725Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] did not exist. Created. [2022-10-05T04:51:56.725Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-05T04:51:57.118Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-05T04:51:57.174Z] Stashed 1 file(s) [Pipeline] } [2022-10-05T04:51:57.201Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-05T04:51:57.287Z] $ docker stop --time=1 02235c672c53540d923a4085eedb135de8b4d89f80dbc3a8e6aafd6d5d20a4b4 [2022-10-05T04:51:58.493Z] $ docker rm -f 02235c672c53540d923a4085eedb135de8b4d89f80dbc3a8e6aafd6d5d20a4b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-05T04:52:06.693Z] provisioning config files... [2022-10-05T04:52:06.716Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4970669457796959246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-05T04:52:07.103Z] ---> docker-login.sh [2022-10-05T04:52:07.104Z] nexus3.edgexfoundry.org:10001 [2022-10-05T04:52:07.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:52:07.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:52:07.690Z] Configure a credential helper to remove this warning. See [2022-10-05T04:52:07.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:52:07.690Z] [2022-10-05T04:52:07.690Z] Login Succeeded [2022-10-05T04:52:07.690Z] nexus3.edgexfoundry.org:10002 [2022-10-05T04:52:07.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:52:07.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:52:07.962Z] Configure a credential helper to remove this warning. See [2022-10-05T04:52:07.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:52:07.962Z] [2022-10-05T04:52:07.962Z] Login Succeeded [2022-10-05T04:52:07.962Z] nexus3.edgexfoundry.org:10003 [2022-10-05T04:52:08.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:52:08.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:52:08.505Z] Configure a credential helper to remove this warning. See [2022-10-05T04:52:08.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:52:08.505Z] [2022-10-05T04:52:08.505Z] Login Succeeded [2022-10-05T04:52:08.505Z] nexus3.edgexfoundry.org:10004 [2022-10-05T04:52:08.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:52:08.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:52:08.777Z] Configure a credential helper to remove this warning. See [2022-10-05T04:52:08.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:52:08.777Z] [2022-10-05T04:52:08.777Z] Login Succeeded [2022-10-05T04:52:08.777Z] docker.io [2022-10-05T04:52:09.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-05T04:52:09.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-05T04:52:09.311Z] Configure a credential helper to remove this warning. See [2022-10-05T04:52:09.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-05T04:52:09.311Z] [2022-10-05T04:52:09.311Z] Login Succeeded [2022-10-05T04:52:09.311Z] ---> docker-login.sh ends [Pipeline] } [2022-10-05T04:52:09.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-05T04:52:09.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-05T04:52:09.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-05T04:52:09.697Z] ========================================================= [2022-10-05T04:52:09.697Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-05T04:52:09.697Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:52:10.184Z] + 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-10-05T04:52:10.463Z] Sending build context to Docker daemon 5.361MB [2022-10-05T04:52:10.463Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-05T04:52:10.463Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-05T04:52:10.734Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-05T04:52:10.734Z] b3c136eddcbf: Pulling fs layer [2022-10-05T04:52:10.734Z] c0a3192eca97: Pulling fs layer [2022-10-05T04:52:10.734Z] a050256f5b6f: Pulling fs layer [2022-10-05T04:52:10.734Z] 656be50a0ddc: Pulling fs layer [2022-10-05T04:52:10.734Z] 2bbca73fdf42: Pulling fs layer [2022-10-05T04:52:10.734Z] f607e4fc86c3: Pulling fs layer [2022-10-05T04:52:10.734Z] 4d572c569a2c: Pulling fs layer [2022-10-05T04:52:10.734Z] fcf976331f73: Pulling fs layer [2022-10-05T04:52:10.734Z] 656be50a0ddc: Waiting [2022-10-05T04:52:10.734Z] f607e4fc86c3: Waiting [2022-10-05T04:52:10.734Z] 4d572c569a2c: Waiting [2022-10-05T04:52:10.734Z] fcf976331f73: Waiting [2022-10-05T04:52:10.734Z] 2bbca73fdf42: Waiting [2022-10-05T04:52:10.734Z] a050256f5b6f: Download complete [2022-10-05T04:52:10.734Z] c0a3192eca97: Verifying Checksum [2022-10-05T04:52:10.734Z] c0a3192eca97: Download complete [2022-10-05T04:52:10.734Z] 2bbca73fdf42: Verifying Checksum [2022-10-05T04:52:10.734Z] 2bbca73fdf42: Download complete [2022-10-05T04:52:10.734Z] f607e4fc86c3: Verifying Checksum [2022-10-05T04:52:10.734Z] f607e4fc86c3: Download complete [2022-10-05T04:52:10.734Z] b3c136eddcbf: Verifying Checksum [2022-10-05T04:52:10.734Z] b3c136eddcbf: Download complete [2022-10-05T04:52:11.709Z] b3c136eddcbf: Pull complete [2022-10-05T04:52:11.979Z] fcf976331f73: Verifying Checksum [2022-10-05T04:52:11.979Z] fcf976331f73: Download complete [2022-10-05T04:52:12.254Z] c0a3192eca97: Pull complete [2022-10-05T04:52:12.523Z] a050256f5b6f: Pull complete [2022-10-05T04:52:13.114Z] 4d572c569a2c: Verifying Checksum [2022-10-05T04:52:13.114Z] 4d572c569a2c: Download complete [2022-10-05T04:52:13.701Z] 656be50a0ddc: Verifying Checksum [2022-10-05T04:52:13.701Z] 656be50a0ddc: Download complete [2022-10-05T04:52:26.124Z] 656be50a0ddc: Pull complete [2022-10-05T04:52:26.124Z] 2bbca73fdf42: Pull complete [2022-10-05T04:52:26.124Z] f607e4fc86c3: Pull complete [2022-10-05T04:52:32.792Z] 4d572c569a2c: Pull complete [2022-10-05T04:52:34.206Z] fcf976331f73: Pull complete [2022-10-05T04:52:34.206Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-05T04:52:34.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-05T04:52:34.206Z] ---> 3970a7415f9e [2022-10-05T04:52:34.206Z] Step 3/11 : ARG MAKE=make build [2022-10-05T04:52:36.162Z] ---> Running in 50a16b4281ee [2022-10-05T04:52:36.162Z] Removing intermediate container 50a16b4281ee [2022-10-05T04:52:36.162Z] ---> f17479eb1eb1 [2022-10-05T04:52:36.162Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-05T04:52:36.162Z] ---> Running in 4b7e6c3bc95c [2022-10-05T04:52:36.428Z] Removing intermediate container 4b7e6c3bc95c [2022-10-05T04:52:36.428Z] ---> 5b50f1e2877a [2022-10-05T04:52:36.428Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-05T04:52:36.694Z] ---> Running in 0cea0f8959ae [2022-10-05T04:52:36.962Z] Removing intermediate container 0cea0f8959ae [2022-10-05T04:52:36.962Z] ---> 96e668056dde [2022-10-05T04:52:36.962Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-05T04:52:36.962Z] ---> Running in 79ef862ae688 [2022-10-05T04:52:38.939Z] Removing intermediate container 79ef862ae688 [2022-10-05T04:52:38.939Z] ---> 689b12ab748a [2022-10-05T04:52:38.939Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-05T04:52:38.939Z] ---> Running in bcba3bcc96a5 [2022-10-05T04:52:39.897Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-05T04:52:40.477Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-05T04:52:41.432Z] OK: 221 MiB in 51 packages [2022-10-05T04:52:42.414Z] Removing intermediate container bcba3bcc96a5 [2022-10-05T04:52:42.414Z] ---> 1af8ad0119a3 [2022-10-05T04:52:42.414Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-05T04:52:43.003Z] ---> af5187931be1 [2022-10-05T04:52:43.003Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-05T04:52:43.003Z] ---> Running in 9743fde50c22 [2022-10-05T04:53:29.847Z] Removing intermediate container 9743fde50c22 [2022-10-05T04:53:29.847Z] ---> 853514f4cd03 [2022-10-05T04:53:29.847Z] Step 10/11 : COPY . . [2022-10-05T04:53:29.847Z] ---> 43e3409dfb49 [2022-10-05T04:53:29.847Z] Step 11/11 : RUN ${MAKE} [2022-10-05T04:53:29.847Z] ---> Running in db41c0724786 [2022-10-05T04:53:30.116Z] noop [2022-10-05T04:53:30.702Z] Removing intermediate container db41c0724786 [2022-10-05T04:53:30.702Z] ---> 820179fbf9fc [2022-10-05T04:53:30.969Z] Successfully built 820179fbf9fc [2022-10-05T04:53:30.969Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:53:31.453Z] + docker inspect -f . ci-base-image-arm64 [2022-10-05T04:53:31.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T04:53:31.702Z] prd-ubuntu20.04-docker-arm64-4c-16g-7134 does not seem to be running inside a container [2022-10-05T04:53:31.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2022-10-05T04:53:32.898Z] $ docker top a10980f1c96d63c3c4b299ef8a28546bd0fd7e38e5c4b3089564187a2ecbaf91 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-05T04:53:33.783Z] + go version [2022-10-05T04:53:33.783Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-05T04:53:33.818Z] $ docker stop --time=1 a10980f1c96d63c3c4b299ef8a28546bd0fd7e38e5c4b3089564187a2ecbaf91 [2022-10-05T04:53:35.422Z] $ docker rm -f a10980f1c96d63c3c4b299ef8a28546bd0fd7e38e5c4b3089564187a2ecbaf91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:53:36.247Z] + docker inspect -f . ci-base-image-arm64 [2022-10-05T04:53:36.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T04:53:36.508Z] prd-ubuntu20.04-docker-arm64-4c-16g-7134 does not seem to be running inside a container [2022-10-05T04:53:36.573Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2022-10-05T04:53:37.745Z] $ docker top 08345fade32c6d4723b6a6a582968a904548372131687381858bf3b97c9b7087 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-05T04:53:38.281Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-05T04:53:38.666Z] + make test [2022-10-05T04:53:38.666Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-05T04:54:10.917Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-05T04:56:17.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-05T04:56:17.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-05T04:56:17.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-05T04:56:17.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-05T04:56:17.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-05T04:56:17.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.526s coverage: 27.6% of statements [2022-10-05T04:56:17.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.422s coverage: 78.9% of statements [2022-10-05T04:56:17.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-05T04:56:17.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.630s coverage: 60.0% of statements [2022-10-05T04:56:17.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-05T04:56:17.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-05T04:56:21.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.573s coverage: 54.4% of statements [2022-10-05T04:56:21.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-05T04:56:21.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-05T04:56:21.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-05T04:56:21.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-05T04:56:21.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.495s coverage: 65.1% of statements [2022-10-05T04:56:21.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-05T04:56:21.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-05T04:56:21.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.910s coverage: 89.2% of statements [2022-10-05T04:56:21.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-05T04:56:23.834Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.247s coverage: 4.7% of statements [2022-10-05T04:56:23.834Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-05T04:56:24.421Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-05T04:56:24.421Z] GO111MODULE=on go vet ./... [2022-10-05T04:58:01.098Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-05T04:58:01.098Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-05T04:58:01.098Z] ./bin/test-attribution-txt.sh [2022-10-05T04:58:01.370Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-05T04:58:01.370Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-05T04:58:01.370Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-05T04:58:01.370Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-05T04:58:01.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-05T04:58:01.708Z] $ docker stop --time=1 08345fade32c6d4723b6a6a582968a904548372131687381858bf3b97c9b7087 [2022-10-05T04:58:03.427Z] $ docker rm -f 08345fade32c6d4723b6a6a582968a904548372131687381858bf3b97c9b7087 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-05T04:58:04.793Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-05T04:58:04.827Z] Warning: overwriting stash ‘coverage-report’ [2022-10-05T04:58:05.307Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-05T04:58:05.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-05T04:58:06.229Z] + ls -al . [2022-10-05T04:58:06.229Z] total 272 [2022-10-05T04:58:06.229Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 04:53 . [2022-10-05T04:58:06.229Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:51 .. [2022-10-05T04:58:06.229Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 04:51 .dockerignore [2022-10-05T04:58:06.229Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:51 .git [2022-10-05T04:58:06.229Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:51 .github [2022-10-05T04:58:06.229Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 5 04:51 .gitignore [2022-10-05T04:58:06.229Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 5 04:51 .golangci.yml [2022-10-05T04:58:06.229Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 5 04:51 CHANGELOG.md [2022-10-05T04:58:06.229Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:51 GOVERNANCE.md [2022-10-05T04:58:06.229Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 5 04:51 Jenkinsfile [2022-10-05T04:58:06.229Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 04:51 LICENSE [2022-10-05T04:58:06.229Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 5 04:51 Makefile [2022-10-05T04:58:06.229Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 04:51 OWNERS.md [2022-10-05T04:58:06.229Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 5 04:51 README.md [2022-10-05T04:58:06.230Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:49 VERSION [2022-10-05T04:58:06.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:51 bin [2022-10-05T04:58:06.230Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 5 04:56 coverage.out [2022-10-05T04:58:06.230Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 04:51 example [2022-10-05T04:58:06.230Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 5 04:51 go.mod [2022-10-05T04:58:06.230Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 5 04:51 go.sum [2022-10-05T04:58:06.230Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 5 04:51 internal [2022-10-05T04:58:06.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:51 openapi [2022-10-05T04:58:06.230Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 5 04:51 pkg [2022-10-05T04:58:06.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:51 snap [2022-10-05T04:58:06.230Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 04:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T04:58:06.636Z] + 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=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 --label arch=arm64 --label version=0.0.0 . [2022-10-05T04:58:07.245Z] Sending build context to Docker daemon 5.463MB [2022-10-05T04:58:07.245Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-05T04:58:07.245Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-05T04:58:07.245Z] ---> 820179fbf9fc [2022-10-05T04:58:07.245Z] Step 3/25 : ARG MAKE=make build [2022-10-05T04:58:07.512Z] ---> Running in a1b5ecb70260 [2022-10-05T04:58:07.780Z] Removing intermediate container a1b5ecb70260 [2022-10-05T04:58:07.780Z] ---> 2bebdaf4a512 [2022-10-05T04:58:07.780Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-05T04:58:07.780Z] ---> Running in 554eea0fe0e8 [2022-10-05T04:58:08.048Z] Removing intermediate container 554eea0fe0e8 [2022-10-05T04:58:08.048Z] ---> 35d67ca23907 [2022-10-05T04:58:08.048Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-05T04:58:08.048Z] ---> Running in 35c7063a4ea0 [2022-10-05T04:58:08.317Z] Removing intermediate container 35c7063a4ea0 [2022-10-05T04:58:08.317Z] ---> 150295464dd6 [2022-10-05T04:58:08.317Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-05T04:58:08.588Z] ---> Running in 35dbaed29208 [2022-10-05T04:58:09.999Z] Removing intermediate container 35dbaed29208 [2022-10-05T04:58:09.999Z] ---> 9c4173132c9a [2022-10-05T04:58:09.999Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-05T04:58:09.999Z] ---> Running in 1fd9072ee664 [2022-10-05T04:58:10.967Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-05T04:58:11.924Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-05T04:58:12.881Z] OK: 221 MiB in 51 packages [2022-10-05T04:58:13.844Z] Removing intermediate container 1fd9072ee664 [2022-10-05T04:58:13.844Z] ---> 8e51eab6d5e9 [2022-10-05T04:58:13.844Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-05T04:58:14.114Z] ---> c75148fffa41 [2022-10-05T04:58:14.114Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-05T04:58:14.114Z] ---> Running in 6d29551c8237 [2022-10-05T04:58:16.054Z] Removing intermediate container 6d29551c8237 [2022-10-05T04:58:16.054Z] ---> 552c1a0f703d [2022-10-05T04:58:16.054Z] Step 10/25 : COPY . . [2022-10-05T04:58:17.012Z] ---> 5837f4edea13 [2022-10-05T04:58:17.012Z] Step 11/25 : RUN ${MAKE} [2022-10-05T04:58:17.012Z] ---> Running in 61e8d449a55a [2022-10-05T04:58:17.968Z] 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-10-05T05:00:39.644Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-05T05:00:39.644Z] Removing intermediate container 61e8d449a55a [2022-10-05T05:00:39.644Z] ---> 04bd9be4328e [2022-10-05T05:00:39.644Z] Step 12/25 : FROM alpine:3.16 [2022-10-05T05:00:39.644Z] 3.16: Pulling from library/alpine [2022-10-05T05:00:39.644Z] 9b18e9b68314: Pulling fs layer [2022-10-05T05:00:39.644Z] 9b18e9b68314: Verifying Checksum [2022-10-05T05:00:39.644Z] 9b18e9b68314: Download complete [2022-10-05T05:00:39.644Z] 9b18e9b68314: Pull complete [2022-10-05T05:00:39.644Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-05T05:00:39.644Z] Status: Downloaded newer image for alpine:3.16 [2022-10-05T05:00:39.644Z] ---> a6215f271958 [2022-10-05T05:00:39.644Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-05T05:00:39.644Z] ---> Running in a94ee378dc61 [2022-10-05T05:00:39.644Z] Removing intermediate container a94ee378dc61 [2022-10-05T05:00:39.644Z] ---> d2ba23fa09e9 [2022-10-05T05:00:39.644Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-05T05:00:39.644Z] ---> Running in c19b52bea9fd [2022-10-05T05:00:39.644Z] Removing intermediate container c19b52bea9fd [2022-10-05T05:00:39.644Z] ---> 13d45451af27 [2022-10-05T05:00:39.644Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-05T05:00:39.644Z] ---> Running in 71bf204a9ec3 [2022-10-05T05:00:39.644Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-05T05:00:39.644Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-05T05:00:39.644Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-05T05:00:39.644Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-05T05:00:39.644Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-05T05:00:39.644Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-05T05:00:39.644Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-05T05:00:39.644Z] Executing busybox-1.35.0-r17.trigger [2022-10-05T05:00:39.644Z] OK: 8 MiB in 19 packages [2022-10-05T05:00:40.607Z] Removing intermediate container 71bf204a9ec3 [2022-10-05T05:00:40.607Z] ---> 4b016fe08b94 [2022-10-05T05:00:40.607Z] Step 16/25 : WORKDIR / [2022-10-05T05:00:40.607Z] ---> Running in 33e1e13c2314 [2022-10-05T05:00:41.192Z] Removing intermediate container 33e1e13c2314 [2022-10-05T05:00:41.192Z] ---> 6a6d4334e8a4 [2022-10-05T05:00:41.192Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-05T05:00:41.460Z] ---> e8c20e275273 [2022-10-05T05:00:41.460Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-05T05:00:42.874Z] ---> 159c87acb4cf [2022-10-05T05:00:42.874Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-05T05:00:43.460Z] ---> 5cf6f0dca1bc [2022-10-05T05:00:43.460Z] Step 20/25 : EXPOSE 59999 [2022-10-05T05:00:43.460Z] ---> Running in df25f093ec22 [2022-10-05T05:00:43.729Z] Removing intermediate container df25f093ec22 [2022-10-05T05:00:43.729Z] ---> 8ca17d6a5271 [2022-10-05T05:00:43.729Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-05T05:00:43.729Z] ---> Running in 4f5db1af8fbe [2022-10-05T05:00:44.075Z] Removing intermediate container 4f5db1af8fbe [2022-10-05T05:00:44.075Z] ---> b4aba8f4d969 [2022-10-05T05:00:44.075Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-05T05:00:44.355Z] ---> Running in 70f7bfced861 [2022-10-05T05:00:44.631Z] Removing intermediate container 70f7bfced861 [2022-10-05T05:00:44.631Z] ---> edabe6dbeb63 [2022-10-05T05:00:44.631Z] Step 23/25 : LABEL arch=arm64 [2022-10-05T05:00:44.631Z] ---> Running in 10825ee3d5c2 [2022-10-05T05:00:44.924Z] Removing intermediate container 10825ee3d5c2 [2022-10-05T05:00:44.924Z] ---> d4899057cb09 [2022-10-05T05:00:44.924Z] Step 24/25 : LABEL git_sha=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [2022-10-05T05:00:45.197Z] ---> Running in 3380fdd26b6a [2022-10-05T05:00:45.474Z] Removing intermediate container 3380fdd26b6a [2022-10-05T05:00:45.474Z] ---> 08b131f33495 [2022-10-05T05:00:45.474Z] Step 25/25 : LABEL version=0.0.0 [2022-10-05T05:00:45.474Z] ---> Running in 531d40bdf718 [2022-10-05T05:00:45.746Z] Removing intermediate container 531d40bdf718 [2022-10-05T05:00:45.746Z] ---> 3f4ebeef2f35 [2022-10-05T05:00:45.746Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-05T05:00:45.746Z] Successfully built 3f4ebeef2f35 [2022-10-05T05:00:45.746Z] 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-10-05T05:00:46.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-05T05:00:46.527Z] [2022-10-05T05:00:46.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T05:00:46.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-05T05:00:47.199Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-05T05:00:47.199Z] 8998bd30e6a1: Pulling fs layer [2022-10-05T05:00:47.199Z] 04944245beec: Pulling fs layer [2022-10-05T05:00:47.199Z] 699f458cf7ca: Pulling fs layer [2022-10-05T05:00:47.199Z] 765212b225bb: Pulling fs layer [2022-10-05T05:00:47.199Z] f23df028b6ca: Pulling fs layer [2022-10-05T05:00:47.199Z] d65c8cfc05b1: Pulling fs layer [2022-10-05T05:00:47.199Z] 2437ff75d9bd: Pulling fs layer [2022-10-05T05:00:47.199Z] f23df028b6ca: Waiting [2022-10-05T05:00:47.199Z] d65c8cfc05b1: Waiting [2022-10-05T05:00:47.199Z] 2437ff75d9bd: Waiting [2022-10-05T05:00:47.199Z] 765212b225bb: Waiting [2022-10-05T05:00:47.199Z] 04944245beec: Verifying Checksum [2022-10-05T05:00:47.199Z] 04944245beec: Download complete [2022-10-05T05:00:47.199Z] 765212b225bb: Download complete [2022-10-05T05:00:47.468Z] f23df028b6ca: Verifying Checksum [2022-10-05T05:00:47.468Z] f23df028b6ca: Download complete [2022-10-05T05:00:47.468Z] d65c8cfc05b1: Verifying Checksum [2022-10-05T05:00:47.468Z] d65c8cfc05b1: Download complete [2022-10-05T05:00:47.468Z] 699f458cf7ca: Verifying Checksum [2022-10-05T05:00:47.468Z] 699f458cf7ca: Download complete [2022-10-05T05:00:48.052Z] 8998bd30e6a1: Verifying Checksum [2022-10-05T05:00:48.052Z] 8998bd30e6a1: Download complete [2022-10-05T05:00:49.996Z] 2437ff75d9bd: Verifying Checksum [2022-10-05T05:00:49.996Z] 2437ff75d9bd: Download complete [2022-10-05T05:00:51.941Z] 8998bd30e6a1: Pull complete [2022-10-05T05:00:52.529Z] 04944245beec: Pull complete [2022-10-05T05:00:53.940Z] 699f458cf7ca: Pull complete [2022-10-05T05:00:53.940Z] 765212b225bb: Pull complete [2022-10-05T05:00:54.908Z] f23df028b6ca: Pull complete [2022-10-05T05:00:55.178Z] d65c8cfc05b1: Pull complete [2022-10-05T05:01:10.180Z] 2437ff75d9bd: Pull complete [2022-10-05T05:01:10.180Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-05T05:01:10.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-05T05:01:10.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T05:01:10.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-7134 does not seem to be running inside a container [2022-10-05T05:01:10.579Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-05T05:01:13.171Z] $ docker top f8344484eb487ca86259efbd727b1dd4898d75e88b0a40d8d0ae6a8001f57710 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-05T05:01:14.081Z] ---> job-cost.sh [2022-10-05T05:01:14.081Z] lf-activate-venv: SKIPPING [2022-10-05T05:01:14.081Z] INFO: No Stack... [2022-10-05T05:01:14.665Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-05T05:01:15.624Z] INFO: Archiving Costs [Pipeline] sh [2022-10-05T05:01:15.966Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-05T05:01:15.966Z] + cut -d, -f6 [Pipeline] lock [2022-10-05T05:01:16.051Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] [2022-10-05T05:01:16.056Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] did not exist. Created. [2022-10-05T05:01:16.056Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-05T05:01:16.460Z] /w/workspace/device-sdk-go/1@tmp/durable-a1f007bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-05T05:01:16.821Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-05T05:01:16.854Z] Warning: overwriting stash ‘stack-cost’ [2022-10-05T05:01:16.909Z] Stashed 1 file(s) [Pipeline] } [2022-10-05T05:01:16.925Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-05T05:01:17.001Z] $ docker stop --time=1 f8344484eb487ca86259efbd727b1dd4898d75e88b0a40d8d0ae6a8001f57710 [2022-10-05T05:01:18.455Z] $ docker rm -f f8344484eb487ca86259efbd727b1dd4898d75e88b0a40d8d0ae6a8001f57710 [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-10-05T05:01:19.459Z] provisioning config files... [2022-10-05T05:01:19.465Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/config13162732146576767251tmp [Pipeline] { [Pipeline] sh [2022-10-05T05:01:19.810Z] + set +x [2022-10-05T05:01:19.810Z] + curl -s https://codecov.io/bash [2022-10-05T05:01:19.810Z] + bash -s -- [2022-10-05T05:01:19.810Z] [2022-10-05T05:01:19.810Z] _____ _ [2022-10-05T05:01:19.810Z] / ____| | | [2022-10-05T05:01:19.810Z] | | ___ __| | ___ ___ _____ __ [2022-10-05T05:01:19.810Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-05T05:01:19.810Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-05T05:01:19.810Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-05T05:01:19.810Z] Bash-1.0.6 [2022-10-05T05:01:19.810Z] [2022-10-05T05:01:19.810Z] [2022-10-05T05:01:19.810Z] ==> git version 2.25.1 found [2022-10-05T05:01:19.810Z] ==> 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-10-05T05:01:19.810Z] Release-Date: 2020-01-08 [2022-10-05T05:01:19.810Z] 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-10-05T05:01:19.810Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-05T05:01:19.810Z] ==> Jenkins CI detected. [2022-10-05T05:01:19.810Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1228 [2022-10-05T05:01:19.810Z] project root: . [2022-10-05T05:01:19.810Z] --> token set from env [2022-10-05T05:01:19.810Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-05T05:01:19.810Z] ==> Running gcov in . (disable via -X gcov) [2022-10-05T05:01:19.810Z] ==> Python coveragepy not found [2022-10-05T05:01:19.810Z] ==> Searching for coverage reports in: [2022-10-05T05:01:19.810Z] + . [2022-10-05T05:01:19.810Z] -> Found 1 reports [2022-10-05T05:01:19.810Z] ==> Detecting git/mercurial file structure [2022-10-05T05:01:19.810Z] ==> Reading reports [2022-10-05T05:01:19.810Z] + ./coverage.out bytes=101009 [2022-10-05T05:01:19.810Z] ==> Appending adjustments [2022-10-05T05:01:19.810Z] https://docs.codecov.io/docs/fixing-reports [2022-10-05T05:01:20.380Z] + Found adjustments [2022-10-05T05:01:20.380Z] ==> Gzipping contents [2022-10-05T05:01:20.380Z] 16K /tmp/codecov.7NcLpJ.gz [2022-10-05T05:01:20.380Z] ==> Uploading reports [2022-10-05T05:01:20.380Z] url: https://codecov.io [2022-10-05T05:01:20.380Z] query: branch=PR-1228&commit=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1228%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1228&job=&cmd_args= [2022-10-05T05:01:20.380Z] -> Pinging Codecov [2022-10-05T05:01:20.380Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1228&commit=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1228%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1228&job=&cmd_args= [2022-10-05T05:01:20.639Z] -> Uploading to [2022-10-05T05:01:20.639Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-05/7E55EF52A471D76F132DFD9A03CDDE97/c62688e0678e0ae3027ef2ee08e318d1aa5a87c9/6f2f427f-ceee-412c-8517-c893ab351653.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221005T050120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0125310f2ff18126ba8991f3c15f9fe063db3cb6e2958b609b0f4029cd2c2745 [2022-10-05T05:01:20.639Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-05T05:01:20.639Z] Dload Upload Total Spent Left Speed [2022-10-05T05:01:20.899Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14579 0 0 100 14579 0 66268 --:--:-- --:--:-- --:--:-- 65968 100 14579 0 0 100 14579 0 58083 --:--:-- --:--:-- --:--:-- 57853 [2022-10-05T05:01:20.899Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [Pipeline] } [2022-10-05T05:01:20.926Z] 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-10-05T05:01:22.654Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives ] [2022-10-05T05:01:22.654Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives [2022-10-05T05:01:22.654Z] total 16 [2022-10-05T05:01:22.654Z] drwxr-xr-x 3 root root 4096 Oct 5 04:51 . [2022-10-05T05:01:22.654Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:51 .. [2022-10-05T05:01:22.654Z] drwxr-xr-x 2 root root 4096 Oct 5 04:51 cost [2022-10-05T05:01:22.654Z] -rw-r--r-- 1 root root 86 Oct 5 04:51 cost.csv [2022-10-05T05:01:22.654Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives [2022-10-05T05:01:22.654Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives [2022-10-05T05:01:22.654Z] total 16 [2022-10-05T05:01:22.654Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 04:51 . [2022-10-05T05:01:22.654Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:51 .. [2022-10-05T05:01:22.654Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 5 04:51 cost [2022-10-05T05:01:22.654Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 5 04:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-05T05:01:22.977Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-05T05:01:23.861Z] ---> package-listing.sh [2022-10-05T05:01:23.861Z] ++ facter osfamily [2022-10-05T05:01:23.861Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-05T05:01:24.120Z] + OS_FAMILY=debian [2022-10-05T05:01:24.120Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1228 [2022-10-05T05:01:24.120Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-05T05:01:24.120Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-05T05:01:24.120Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-05T05:01:24.120Z] + PACKAGES=/tmp/packages_start.txt [2022-10-05T05:01:24.120Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1228 ']' [2022-10-05T05:01:24.120Z] + PACKAGES=/tmp/packages_end.txt [2022-10-05T05:01:24.120Z] + case "${OS_FAMILY}" in [2022-10-05T05:01:24.120Z] + dpkg -l [2022-10-05T05:01:24.120Z] + grep '^ii' [2022-10-05T05:01:24.120Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-05T05:01:24.120Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-05T05:01:24.120Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-05T05:01:24.120Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1228 ']' [2022-10-05T05:01:24.120Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives/ [2022-10-05T05:01:24.120Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives/ [Pipeline] echo [2022-10-05T05:01:24.155Z] 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-1228/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-05T05:01:24.445Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-05T05:01:25.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-05T05:01:25.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-05T05:01:25.210Z] prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container [2022-10-05T05:01:25.253Z] $ 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-1228/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-1228 -v /w/workspace/gexfoundry_device-sdk-go_PR-1228:/w/workspace/gexfoundry_device-sdk-go_PR-1228:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1228@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-05T05:01:25.464Z] $ docker top 539990c79e1a94e6cef1e0f4891f701a0a07707234248d8b75d64ae44610c0f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-05T05:01:25.834Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-05T05:01:26.147Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-05T05:01:26.455Z] + ls /var/log/sa-host [2022-10-05T05:01:26.455Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-05T05:01:26.659Z] provisioning config files... [2022-10-05T05:01:26.667Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/config12985269941763993682tmp [Pipeline] { [Pipeline] echo [2022-10-05T05:01:26.716Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-05T05:01:27.023Z] ---> create-netrc.sh [Pipeline] } [2022-10-05T05:01:27.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-05T05:01:27.446Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-05T05:01:27.479Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-05T05:01:27.793Z] ---> sudo-logs.sh [2022-10-05T05:01:27.793Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-05T05:01:27.877Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-05T05:01:28.185Z] ---> job-cost.sh [2022-10-05T05:01:28.185Z] lf-activate-venv: SKIPPING [2022-10-05T05:01:28.185Z] DEBUG: total: 0.2199999988079071 [2022-10-05T05:01:28.185Z] INFO: Retrieving Stack Cost... [2022-10-05T05:01:28.752Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-05T05:01:29.010Z] INFO: Archiving Costs [Pipeline] echo [2022-10-05T05:01:29.048Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-05T05:01:29.354Z] ---> logs-deploy.sh [2022-10-05T05:01:29.354Z] lf-activate-venv: SKIPPING [2022-10-05T05:01:29.354Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1228/1 [2022-10-05T05:01:29.354Z] INFO: archiving workspace using pattern(s): [2022-10-05T05:01:30.290Z] Archives upload complete. [2022-10-05T05:01:30.290Z] INFO: archiving logs to Nexus