Pull request #1214 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d34c26de534f7f36f56e7b532991befab685f6c2+e5efdee9dd9df15b49fe73e0060b5d971241be0d (c1c12f158667981e68f31b5cd8f3ad84762c227d) 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-ssh6146757670554021037.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-ssh7825977855924137127.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-1214/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-1214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4499442315628578145.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-1214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2082599043663206110.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-ssh9615087998680848925.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-1214/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-1214/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh692694555118271708.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-527 in /w/workspace/gexfoundry_device-sdk-go_PR-1214 [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-1214 # 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/1214/head:refs/remotes/origin/PR-1214 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit d34c26de534f7f36f56e7b532991befab685f6c2 Merge succeeded, producing d34c26de534f7f36f56e7b532991befab685f6c2 Checking out Revision d34c26de534f7f36f56e7b532991befab685f6c2 (PR-1214) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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-09-22T04:07:20.785Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T04:07:20.956Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f d34c26de534f7f36f56e7b532991befab685f6c2 # 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 e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d34c26de534f7f36f56e7b532991befab685f6c2 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T04:07:21.052Z] ========================================================= [2022-09-22T04:07:21.052Z] EdgeX Global Pipelines Version Info [2022-09-22T04:07:21.052Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:07:21.798Z] ------------------- [2022-09-22T04:07:21.798Z] stable info: [2022-09-22T04:07:21.798Z] ------------------- [2022-09-22T04:07:21.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T04:07:21.798Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T04:07:21.798Z] Message: update stable to v1.0.239 [2022-09-22T04:07:22.369Z] ------------------- [2022-09-22T04:07:22.369Z] experimental info: [2022-09-22T04:07:22.369Z] ------------------- [2022-09-22T04:07:22.369Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T04:07:22.370Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T04:07:22.370Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T04:07:22.625Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-22T04:07:22.663Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-22T04:07:22.706Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T04:07:22.742Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T04:07:22.783Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T04:07:22.825Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T04:07:22.868Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T04:07:22.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-22T04:07:22.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T04:07:22.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T04:07:23.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T04:07:23.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-22T04:07:23.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T04:07:23.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T04:07:23.184Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T04:07:23.223Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T04:07:23.257Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T04:07:23.294Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T04:07:23.332Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T04:07:23.372Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T04:07:23.408Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-22T04:07:23.443Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-22T04:07:23.477Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T04:07:23.514Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T04:07:23.553Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T04:07:23.588Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T04:07:23.629Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T04:07:23.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1214 [Pipeline] echo [2022-09-22T04:07:23.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1214 [Pipeline] echo [2022-09-22T04:07:23.736Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1214 [Pipeline] echo [2022-09-22T04:07:23.773Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d34c26de534f7f36f56e7b532991befab685f6c2 [Pipeline] echo [2022-09-22T04:07:23.809Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d34c26d [Pipeline] echo [2022-09-22T04:07:23.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T04:07:23.952Z] provisioning config files... [2022-09-22T04:07:23.967Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config8422388449979792194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:07:24.308Z] ---> docker-login.sh [2022-09-22T04:07:24.309Z] nexus3.edgexfoundry.org:10001 [2022-09-22T04:07:24.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:07:24.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:07:24.568Z] Configure a credential helper to remove this warning. See [2022-09-22T04:07:24.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:07:24.568Z] [2022-09-22T04:07:24.568Z] Login Succeeded [2022-09-22T04:07:24.568Z] nexus3.edgexfoundry.org:10002 [2022-09-22T04:07:24.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:07:24.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:07:24.568Z] Configure a credential helper to remove this warning. See [2022-09-22T04:07:24.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:07:24.568Z] [2022-09-22T04:07:24.568Z] Login Succeeded [2022-09-22T04:07:24.568Z] nexus3.edgexfoundry.org:10003 [2022-09-22T04:07:24.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:07:24.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:07:24.835Z] Configure a credential helper to remove this warning. See [2022-09-22T04:07:24.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:07:24.835Z] [2022-09-22T04:07:24.835Z] Login Succeeded [2022-09-22T04:07:24.835Z] nexus3.edgexfoundry.org:10004 [2022-09-22T04:07:24.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:07:24.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:07:24.835Z] Configure a credential helper to remove this warning. See [2022-09-22T04:07:24.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:07:24.835Z] [2022-09-22T04:07:24.835Z] Login Succeeded [2022-09-22T04:07:24.835Z] docker.io [2022-09-22T04:07:24.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:07:25.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:07:25.407Z] Configure a credential helper to remove this warning. See [2022-09-22T04:07:25.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:07:25.407Z] [2022-09-22T04:07:25.407Z] Login Succeeded [2022-09-22T04:07:25.407Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T04:07:25.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T04:07:26.070Z] + git rev-list -1 --merges d34c26de534f7f36f56e7b532991befab685f6c2~1..d34c26de534f7f36f56e7b532991befab685f6c2 [Pipeline] echo [2022-09-22T04:07:26.113Z] -----------> git rev-list -1 --merges d34c26de534f7f36f56e7b532991befab685f6c2~1..d34c26de534f7f36f56e7b532991befab685f6c2 d34c26de534f7f36f56e7b532991befab685f6c2 [false] [Pipeline] sh [2022-09-22T04:07:26.421Z] + git log --format=format:%s -1 d34c26de534f7f36f56e7b532991befab685f6c2 [Pipeline] echo [2022-09-22T04:07:26.460Z] ========================================================= [2022-09-22T04:07:26.460Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T04:07:26.460Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T04:07:26.887Z] + git log --format=format:%s -1 d34c26de534f7f36f56e7b532991befab685f6c2 [Pipeline] echo [2022-09-22T04:07:26.918Z] [semverPrep] GIT_COMMIT: d34c26de534f7f36f56e7b532991befab685f6c2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-09-22T04:07:26.943Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T04:07:27.309Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T04:07:27.310Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T04:07:27.310Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T04:07:27.310Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T04:07:27.310Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T04:07:27.310Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T04:07:27.310Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:07:27.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T04:07:27.740Z] [2022-09-22T04:07:27.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:07:28.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T04:07:28.119Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T04:07:28.119Z] b85a868b505f: Pulling fs layer [2022-09-22T04:07:28.119Z] e2be974225ed: Pulling fs layer [2022-09-22T04:07:28.119Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T04:07:28.119Z] 988bab9f4d93: Pulling fs layer [2022-09-22T04:07:28.119Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T04:07:28.119Z] eaf3925da568: Pulling fs layer [2022-09-22T04:07:28.119Z] bab4dde63d76: Pulling fs layer [2022-09-22T04:07:28.119Z] bde34c3a00c8: Pulling fs layer [2022-09-22T04:07:28.119Z] b352a97aabf1: Pulling fs layer [2022-09-22T04:07:28.119Z] 4872d77fe225: Pulling fs layer [2022-09-22T04:07:28.119Z] 5851b861e8e6: Pulling fs layer [2022-09-22T04:07:28.119Z] bde34c3a00c8: Waiting [2022-09-22T04:07:28.119Z] b352a97aabf1: Waiting [2022-09-22T04:07:28.119Z] 4872d77fe225: Waiting [2022-09-22T04:07:28.119Z] 5851b861e8e6: Waiting [2022-09-22T04:07:28.119Z] 1469e6f7b9e6: Waiting [2022-09-22T04:07:28.119Z] 988bab9f4d93: Waiting [2022-09-22T04:07:28.119Z] eaf3925da568: Waiting [2022-09-22T04:07:28.119Z] bab4dde63d76: Waiting [2022-09-22T04:07:28.119Z] e2be974225ed: Download complete [2022-09-22T04:07:28.119Z] 988bab9f4d93: Download complete [2022-09-22T04:07:28.382Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T04:07:28.382Z] 1469e6f7b9e6: Download complete [2022-09-22T04:07:28.382Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T04:07:28.382Z] 339a4e72a1f5: Download complete [2022-09-22T04:07:28.382Z] eaf3925da568: Verifying Checksum [2022-09-22T04:07:28.382Z] eaf3925da568: Download complete [2022-09-22T04:07:28.382Z] bde34c3a00c8: Download complete [2022-09-22T04:07:28.382Z] b352a97aabf1: Verifying Checksum [2022-09-22T04:07:28.382Z] b352a97aabf1: Download complete [2022-09-22T04:07:28.382Z] 4872d77fe225: Verifying Checksum [2022-09-22T04:07:28.382Z] 5851b861e8e6: Download complete [2022-09-22T04:07:28.382Z] b85a868b505f: Verifying Checksum [2022-09-22T04:07:28.382Z] b85a868b505f: Download complete [2022-09-22T04:07:28.641Z] bab4dde63d76: Verifying Checksum [2022-09-22T04:07:28.641Z] bab4dde63d76: Download complete [2022-09-22T04:07:30.038Z] b85a868b505f: Pull complete [2022-09-22T04:07:30.038Z] e2be974225ed: Pull complete [2022-09-22T04:07:30.298Z] 339a4e72a1f5: Pull complete [2022-09-22T04:07:30.561Z] 988bab9f4d93: Pull complete [2022-09-22T04:07:30.820Z] 1469e6f7b9e6: Pull complete [2022-09-22T04:07:30.820Z] eaf3925da568: Pull complete [2022-09-22T04:07:32.721Z] bab4dde63d76: Pull complete [2022-09-22T04:07:32.721Z] bde34c3a00c8: Pull complete [2022-09-22T04:07:32.721Z] b352a97aabf1: Pull complete [2022-09-22T04:07:32.721Z] 4872d77fe225: Pull complete [2022-09-22T04:07:32.982Z] 5851b861e8e6: Pull complete [2022-09-22T04:07:32.982Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T04:07:32.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T04:07:32.982Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:07:33.215Z] prd-ubuntu20.04-docker-8c-8g-527 does not seem to be running inside a container [2022-09-22T04:07:33.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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-09-22T04:07:34.349Z] $ docker top 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c -eo pid,comm [2022-09-22T04:07:34.413Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-22T04:07:34.413Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T04:07:34.540Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T04:07:34.540Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T04:07:34.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T04:07:34.658Z] $ docker exec 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c ssh-agent [2022-09-22T04:07:34.759Z] SSH_AUTH_SOCK=/tmp/ssh-ZKSb9Pw6NpYZ/agent.32 [2022-09-22T04:07:34.760Z] SSH_AGENT_PID=38 [2022-09-22T04:07:34.766Z] Running ssh-add (command line suppressed) [2022-09-22T04:07:34.866Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_1769646341652041369.key (/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_1769646341652041369.key) [2022-09-22T04:07:34.880Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T04:07:35.214Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T04:07:35.240Z] $ docker exec --env ******** --env ******** 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c ssh-agent -k [2022-09-22T04:07:35.360Z] unset SSH_AUTH_SOCK; [2022-09-22T04:07:35.361Z] unset SSH_AGENT_PID; [2022-09-22T04:07:35.361Z] echo Agent pid 38 killed; [2022-09-22T04:07:35.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T04:07:35.461Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T04:07:35.461Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T04:07:35.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T04:07:35.573Z] $ docker exec 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c ssh-agent [2022-09-22T04:07:35.693Z] SSH_AUTH_SOCK=/tmp/ssh-Vjm7e7N34k7G/agent.70 [2022-09-22T04:07:35.693Z] SSH_AGENT_PID=77 [2022-09-22T04:07:35.697Z] Running ssh-add (command line suppressed) [2022-09-22T04:07:35.791Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_2540985591434984678.key (/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_2540985591434984678.key) [2022-09-22T04:07:35.807Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T04:07:36.136Z] + git semver init [2022-09-22T04:07:36.396Z] 2022-09-22 04:07:36,331 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T04:07:36.396Z] 2022-09-22 04:07:36,332 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver [2022-09-22T04:07:36.396Z] 2022-09-22 04:07:36,333 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver [2022-09-22T04:07:36.396Z] 2022-09-22 04:07:36,333 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214, universal_newlines=False, shell=None, istream=None) [2022-09-22T04:07:37.336Z] 2022-09-22 04:07:37,280 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.git/info/exclude [2022-09-22T04:07:37.336Z] 2022-09-22 04:07:37,281 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 with force:False [2022-09-22T04:07:37.336Z] 2022-09-22 04:07:37,281 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 [2022-09-22T04:07:37.336Z] 2022-09-22 04:07:37,285 [execute] INFO git cat-file --batch-check [2022-09-22T04:07:37.336Z] 2022-09-22 04:07:37,285 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T04:07:37.336Z] 2022-09-22 04:07:37,290 [execute] INFO git cat-file --batch [2022-09-22T04:07:37.336Z] 2022-09-22 04:07:37,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T04:07:37.336Z] 2022-09-22 04:07:37,296 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 [2022-09-22T04:07:37.336Z] 0.0.0 [Pipeline] } [2022-09-22T04:07:37.359Z] $ docker exec --env ******** --env ******** 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c ssh-agent -k [2022-09-22T04:07:37.461Z] unset SSH_AUTH_SOCK; [2022-09-22T04:07:37.461Z] unset SSH_AGENT_PID; [2022-09-22T04:07:37.461Z] echo Agent pid 77 killed; [2022-09-22T04:07:37.472Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T04:07:37.902Z] + git semver [Pipeline] } [2022-09-22T04:07:38.183Z] $ docker stop --time=1 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c [2022-09-22T04:07:39.474Z] $ docker rm -f 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T04:07:39.883Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T04:07:40.115Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T04:07:40.131Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T04:07:40.728Z] provisioning config files... [2022-09-22T04:07:40.739Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config1106169168459563008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:07:41.095Z] ---> docker-login.sh [2022-09-22T04:07:41.095Z] nexus3.edgexfoundry.org:10001 [2022-09-22T04:07:41.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:07:41.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:07:41.095Z] Configure a credential helper to remove this warning. See [2022-09-22T04:07:41.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:07:41.095Z] [2022-09-22T04:07:41.095Z] Login Succeeded [2022-09-22T04:07:41.095Z] nexus3.edgexfoundry.org:10002 [2022-09-22T04:07:41.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:07:41.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:07:41.095Z] Configure a credential helper to remove this warning. See [2022-09-22T04:07:41.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:07:41.095Z] [2022-09-22T04:07:41.095Z] Login Succeeded [2022-09-22T04:07:41.095Z] nexus3.edgexfoundry.org:10003 [2022-09-22T04:07:41.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:07:41.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:07:41.354Z] Configure a credential helper to remove this warning. See [2022-09-22T04:07:41.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:07:41.354Z] [2022-09-22T04:07:41.354Z] Login Succeeded [2022-09-22T04:07:41.354Z] nexus3.edgexfoundry.org:10004 [2022-09-22T04:07:41.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:07:41.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:07:41.354Z] Configure a credential helper to remove this warning. See [2022-09-22T04:07:41.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:07:41.354Z] [2022-09-22T04:07:41.354Z] Login Succeeded [2022-09-22T04:07:41.354Z] docker.io [2022-09-22T04:07:41.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:07:41.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:07:41.873Z] Configure a credential helper to remove this warning. See [2022-09-22T04:07:41.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:07:41.873Z] [2022-09-22T04:07:41.873Z] Login Succeeded [2022-09-22T04:07:41.873Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T04:07:41.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T04:07:42.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T04:07:42.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T04:07:42.161Z] ========================================================= [2022-09-22T04:07:42.161Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T04:07:42.161Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:07:42.622Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T04:07:42.622Z] Sending build context to Docker daemon 9.854MB [2022-09-22T04:07:42.622Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T04:07:42.622Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T04:07:42.622Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T04:07:42.622Z] 2408cc74d12b: Pulling fs layer [2022-09-22T04:07:42.622Z] ea60b727a1ce: Pulling fs layer [2022-09-22T04:07:42.622Z] 30c4a7721957: Pulling fs layer [2022-09-22T04:07:42.622Z] 370296b7ddb6: Pulling fs layer [2022-09-22T04:07:42.622Z] 7c6cee850709: Pulling fs layer [2022-09-22T04:07:42.622Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T04:07:42.622Z] d94ebbe4e438: Pulling fs layer [2022-09-22T04:07:42.622Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T04:07:42.622Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T04:07:42.622Z] 7c6cee850709: Waiting [2022-09-22T04:07:42.622Z] 39a5fcdaea64: Waiting [2022-09-22T04:07:42.622Z] d94ebbe4e438: Waiting [2022-09-22T04:07:42.622Z] bcfd1f05c69d: Waiting [2022-09-22T04:07:42.622Z] 59ccb84bbe0f: Waiting [2022-09-22T04:07:42.622Z] 370296b7ddb6: Waiting [2022-09-22T04:07:42.622Z] 30c4a7721957: Verifying Checksum [2022-09-22T04:07:42.622Z] ea60b727a1ce: Verifying Checksum [2022-09-22T04:07:42.622Z] ea60b727a1ce: Download complete [2022-09-22T04:07:42.622Z] 7c6cee850709: Verifying Checksum [2022-09-22T04:07:42.622Z] 7c6cee850709: Download complete [2022-09-22T04:07:42.885Z] 39a5fcdaea64: Download complete [2022-09-22T04:07:42.885Z] 2408cc74d12b: Verifying Checksum [2022-09-22T04:07:42.885Z] d94ebbe4e438: Verifying Checksum [2022-09-22T04:07:42.885Z] d94ebbe4e438: Download complete [2022-09-22T04:07:42.885Z] 2408cc74d12b: Pull complete [2022-09-22T04:07:43.145Z] ea60b727a1ce: Pull complete [2022-09-22T04:07:43.145Z] 30c4a7721957: Pull complete [2022-09-22T04:07:43.145Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T04:07:43.145Z] 59ccb84bbe0f: Download complete [2022-09-22T04:07:43.404Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T04:07:43.404Z] bcfd1f05c69d: Download complete [2022-09-22T04:07:43.663Z] 370296b7ddb6: Verifying Checksum [2022-09-22T04:07:43.664Z] 370296b7ddb6: Download complete [2022-09-22T04:07:47.852Z] 370296b7ddb6: Pull complete [2022-09-22T04:07:47.852Z] 7c6cee850709: Pull complete [2022-09-22T04:07:47.852Z] 39a5fcdaea64: Pull complete [2022-09-22T04:07:47.852Z] d94ebbe4e438: Pull complete [2022-09-22T04:07:49.227Z] bcfd1f05c69d: Pull complete [2022-09-22T04:07:49.796Z] 59ccb84bbe0f: Pull complete [2022-09-22T04:07:49.796Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T04:07:49.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T04:07:49.796Z] ---> a4fb48ad2a94 [2022-09-22T04:07:49.796Z] Step 3/11 : ARG MAKE=make build [2022-09-22T04:07:51.176Z] ---> Running in 1d5fab8ee3cb [2022-09-22T04:07:51.176Z] Removing intermediate container 1d5fab8ee3cb [2022-09-22T04:07:51.176Z] ---> cf62c3dbc1ca [2022-09-22T04:07:51.176Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T04:07:51.176Z] ---> Running in e032ba1b7f17 [2022-09-22T04:07:51.435Z] Removing intermediate container e032ba1b7f17 [2022-09-22T04:07:51.435Z] ---> 3c9f11e90be5 [2022-09-22T04:07:51.435Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:07:51.435Z] ---> Running in fce5f90574de [2022-09-22T04:07:51.435Z] Removing intermediate container fce5f90574de [2022-09-22T04:07:51.435Z] ---> c40347df2a17 [2022-09-22T04:07:51.435Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:07:51.435Z] ---> Running in e2e1517d46e0 [2022-09-22T04:07:52.004Z] Removing intermediate container e2e1517d46e0 [2022-09-22T04:07:52.004Z] ---> 0244716961c4 [2022-09-22T04:07:52.004Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T04:07:52.004Z] ---> Running in 384f433b07de [2022-09-22T04:07:52.263Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T04:07:53.201Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T04:07:53.462Z] OK: 211 MiB in 51 packages [2022-09-22T04:07:53.721Z] Removing intermediate container 384f433b07de [2022-09-22T04:07:53.721Z] ---> 37fe852aaae4 [2022-09-22T04:07:53.721Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T04:07:53.980Z] ---> ee572e82cd75 [2022-09-22T04:07:53.980Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T04:07:53.980Z] ---> Running in 590fb93bd2b1 [2022-09-22T04:07:55.547Z] Still waiting to schedule task [2022-09-22T04:07:55.547Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-530’ is offline [2022-09-22T04:08:08.860Z] Removing intermediate container 590fb93bd2b1 [2022-09-22T04:08:08.860Z] ---> 16d53c0421b6 [2022-09-22T04:08:08.860Z] Step 10/11 : COPY . . [2022-09-22T04:08:08.860Z] ---> 9ff502d51828 [2022-09-22T04:08:08.860Z] Step 11/11 : RUN ${MAKE} [2022-09-22T04:08:08.860Z] ---> Running in c0dddf1783a8 [2022-09-22T04:08:08.860Z] noop [2022-09-22T04:08:08.860Z] Removing intermediate container c0dddf1783a8 [2022-09-22T04:08:08.860Z] ---> 079a0dc19b9c [2022-09-22T04:08:08.861Z] Successfully built 079a0dc19b9c [2022-09-22T04:08:08.861Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:08:09.309Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T04:08:09.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:08:09.451Z] prd-ubuntu20.04-docker-8c-8g-527 does not seem to be running inside a container [2022-09-22T04:08:09.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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-09-22T04:08:09.842Z] $ docker top cc4c843e4cb24b84fb9e2833a8eb963861b2423e4f2eb7af32c70d996cb96df5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T04:08:10.224Z] + go version [2022-09-22T04:08:10.224Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T04:08:10.252Z] $ docker stop --time=1 cc4c843e4cb24b84fb9e2833a8eb963861b2423e4f2eb7af32c70d996cb96df5 [2022-09-22T04:08:11.537Z] $ docker rm -f cc4c843e4cb24b84fb9e2833a8eb963861b2423e4f2eb7af32c70d996cb96df5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:08:12.242Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T04:08:12.242Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:08:12.387Z] prd-ubuntu20.04-docker-8c-8g-527 does not seem to be running inside a container [2022-09-22T04:08:12.417Z] $ 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-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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-09-22T04:08:12.778Z] $ docker top 9be33c2f4a660440020611f099dc76cab8752014f20c4d14dfc99afbd6c0ccb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T04:08:13.174Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1214 [Pipeline] fileExists [Pipeline] sh [2022-09-22T04:08:13.529Z] + make test [2022-09-22T04:08:13.529Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T04:08:20.095Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T04:08:34.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 27.6% of statements [2022-09-22T04:08:34.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.060s coverage: 78.9% of statements [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T04:08:34.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.071s coverage: 60.0% of statements [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T04:08:34.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T04:08:34.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 65.1% of statements [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T04:08:34.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.768s coverage: 89.2% of statements [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T04:08:34.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.5% of statements [2022-09-22T04:08:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T04:08:53.070Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-22T04:08:53.070Z] GO111MODULE=on go vet ./... [2022-09-22T04:08:53.330Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T04:08:53.330Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T04:08:53.330Z] ./bin/test-attribution-txt.sh [2022-09-22T04:08:53.589Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T04:08:53.589Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-22T04:08:53.589Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-22T04:08:53.589Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-22T04:08:53.589Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T04:08:53.590Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T04:08:53.590Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-22T04:08:53.590Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T04:08:53.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T04:08:53.652Z] $ docker stop --time=1 9be33c2f4a660440020611f099dc76cab8752014f20c4d14dfc99afbd6c0ccb6 [2022-09-22T04:08:56.529Z] $ docker rm -f 9be33c2f4a660440020611f099dc76cab8752014f20c4d14dfc99afbd6c0ccb6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T04:08:57.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T04:08:57.188Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T04:08:57.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T04:08:58.068Z] + ls -al . [2022-09-22T04:08:58.068Z] total 276 [2022-09-22T04:08:58.068Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 04:08 . [2022-09-22T04:08:58.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:07 .. [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 04:07 .dockerignore [2022-09-22T04:08:58.068Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:08 .git [2022-09-22T04:08:58.068Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:07 .github [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 04:07 .gitignore [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 04:07 .golangci.yml [2022-09-22T04:08:58.068Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 04:07 .semver [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 04:07 CHANGELOG.md [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 04:07 GOVERNANCE.md [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 04:07 Jenkinsfile [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 04:07 LICENSE [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 04:07 Makefile [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 04:07 OWNERS.md [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 04:07 README.md [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 04:07 VERSION [2022-09-22T04:08:58.068Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:07 bin [2022-09-22T04:08:58.068Z] -rw-r--r-- 1 jenkins jenkins 101642 Sep 22 04:08 coverage.out [2022-09-22T04:08:58.068Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 04:07 example [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 04:07 go.mod [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 04:07 go.sum [2022-09-22T04:08:58.068Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 04:07 internal [2022-09-22T04:08:58.068Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:07 openapi [2022-09-22T04:08:58.068Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 04:07 pkg [2022-09-22T04:08:58.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:07 snap [2022-09-22T04:08:58.068Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:08:58.444Z] + 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=d34c26de534f7f36f56e7b532991befab685f6c2 --label arch=amd64 --label version=0.0.0 . [2022-09-22T04:08:58.444Z] Sending build context to Docker daemon 9.956MB [2022-09-22T04:08:58.444Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T04:08:58.444Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T04:08:58.444Z] ---> 079a0dc19b9c [2022-09-22T04:08:58.444Z] Step 3/25 : ARG MAKE=make build [2022-09-22T04:08:58.444Z] ---> Running in b04b469e3832 [2022-09-22T04:08:58.704Z] Removing intermediate container b04b469e3832 [2022-09-22T04:08:58.704Z] ---> 5e36eaed67e3 [2022-09-22T04:08:58.704Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T04:08:58.704Z] ---> Running in d4cd411d95fd [2022-09-22T04:08:58.704Z] Removing intermediate container d4cd411d95fd [2022-09-22T04:08:58.704Z] ---> f6b9c8ea8118 [2022-09-22T04:08:58.704Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:08:58.704Z] ---> Running in 7e28ad440be1 [2022-09-22T04:08:58.963Z] Removing intermediate container 7e28ad440be1 [2022-09-22T04:08:58.963Z] ---> bf8fba6cb75a [2022-09-22T04:08:58.963Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:08:58.963Z] ---> Running in 0f78921e3c12 [2022-09-22T04:08:59.531Z] Removing intermediate container 0f78921e3c12 [2022-09-22T04:08:59.531Z] ---> 9ff2573cc8b1 [2022-09-22T04:08:59.531Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T04:08:59.531Z] ---> Running in 5fcf1778a766 [2022-09-22T04:08:59.790Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T04:09:00.726Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T04:09:00.986Z] OK: 211 MiB in 51 packages [2022-09-22T04:09:01.246Z] Removing intermediate container 5fcf1778a766 [2022-09-22T04:09:01.246Z] ---> f14dfe094248 [2022-09-22T04:09:01.246Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T04:09:01.505Z] ---> f21ba67769d3 [2022-09-22T04:09:01.505Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T04:09:01.505Z] ---> Running in 1dca8cee885e [2022-09-22T04:09:02.072Z] Removing intermediate container 1dca8cee885e [2022-09-22T04:09:02.072Z] ---> 41e3cf350a4b [2022-09-22T04:09:02.072Z] Step 10/25 : COPY . . [2022-09-22T04:09:02.331Z] ---> 3e336a00bce0 [2022-09-22T04:09:02.331Z] Step 11/25 : RUN ${MAKE} [2022-09-22T04:09:02.592Z] ---> Running in 2a1ee683a042 [2022-09-22T04:09:02.592Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-22T04:09:20.677Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T04:09:22.579Z] Removing intermediate container 2a1ee683a042 [2022-09-22T04:09:22.579Z] ---> ce30f4b32587 [2022-09-22T04:09:22.579Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T04:09:23.146Z] 3.16: Pulling from library/alpine [2022-09-22T04:09:23.146Z] 213ec9aee27d: Pulling fs layer [2022-09-22T04:09:23.405Z] 213ec9aee27d: Verifying Checksum [2022-09-22T04:09:23.405Z] 213ec9aee27d: Download complete [2022-09-22T04:09:23.405Z] 213ec9aee27d: Pull complete [2022-09-22T04:09:23.663Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T04:09:23.663Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T04:09:23.663Z] ---> 9c6f07244728 [2022-09-22T04:09:23.663Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:09:23.663Z] ---> Running in 156cd7be8d53 [2022-09-22T04:09:23.663Z] Removing intermediate container 156cd7be8d53 [2022-09-22T04:09:23.663Z] ---> f46bf155f69b [2022-09-22T04:09:23.663Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:09:23.663Z] ---> Running in 21a80fdd1a64 [2022-09-22T04:09:24.230Z] Removing intermediate container 21a80fdd1a64 [2022-09-22T04:09:24.230Z] ---> 151e20ca59d7 [2022-09-22T04:09:24.230Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T04:09:24.230Z] ---> Running in ed072122723b [2022-09-22T04:09:24.487Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T04:09:25.432Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T04:09:25.689Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T04:09:25.689Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T04:09:25.948Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T04:09:25.948Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T04:09:25.948Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T04:09:26.207Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T04:09:26.207Z] OK: 8 MiB in 19 packages [2022-09-22T04:09:26.478Z] Removing intermediate container ed072122723b [2022-09-22T04:09:26.478Z] ---> 126c1651c690 [2022-09-22T04:09:26.478Z] Step 16/25 : WORKDIR / [2022-09-22T04:09:26.737Z] ---> Running in 864842f37c43 [2022-09-22T04:09:26.737Z] Removing intermediate container 864842f37c43 [2022-09-22T04:09:26.737Z] ---> daba033273cd [2022-09-22T04:09:26.737Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T04:09:26.737Z] ---> d84cd8860090 [2022-09-22T04:09:26.737Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T04:09:27.671Z] ---> 6aed95c5c64f [2022-09-22T04:09:27.671Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T04:09:27.671Z] ---> 88a575233534 [2022-09-22T04:09:27.671Z] Step 20/25 : EXPOSE 59999 [2022-09-22T04:09:27.671Z] ---> Running in e12f1fa73a82 [2022-09-22T04:09:27.671Z] Removing intermediate container e12f1fa73a82 [2022-09-22T04:09:27.671Z] ---> 51a652fb1364 [2022-09-22T04:09:27.671Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T04:09:27.671Z] ---> Running in 29ccb9f0ea3a [2022-09-22T04:09:27.929Z] Removing intermediate container 29ccb9f0ea3a [2022-09-22T04:09:27.929Z] ---> 86eb4582fcc2 [2022-09-22T04:09:27.929Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T04:09:27.929Z] ---> Running in d88978aacf28 [2022-09-22T04:09:27.929Z] Removing intermediate container d88978aacf28 [2022-09-22T04:09:27.929Z] ---> f3630b44b9e4 [2022-09-22T04:09:27.929Z] Step 23/25 : LABEL arch=amd64 [2022-09-22T04:09:27.929Z] ---> Running in 95517ccec17f [2022-09-22T04:09:27.929Z] Removing intermediate container 95517ccec17f [2022-09-22T04:09:27.929Z] ---> bd26c3be6c4c [2022-09-22T04:09:27.929Z] Step 24/25 : LABEL git_sha=d34c26de534f7f36f56e7b532991befab685f6c2 [2022-09-22T04:09:27.929Z] ---> Running in 5d9a97f5794a [2022-09-22T04:09:28.187Z] Removing intermediate container 5d9a97f5794a [2022-09-22T04:09:28.187Z] ---> 40055fcf08bc [2022-09-22T04:09:28.187Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T04:09:28.187Z] ---> Running in 632ff3f30d4c [2022-09-22T04:09:28.187Z] Removing intermediate container 632ff3f30d4c [2022-09-22T04:09:28.187Z] ---> 0d0eaf69659a [2022-09-22T04:09:28.187Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T04:09:28.187Z] Successfully built 0d0eaf69659a [2022-09-22T04:09:28.187Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:09:29.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T04:09:29.010Z] [2022-09-22T04:09:29.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:09:29.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T04:09:29.377Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T04:09:29.377Z] 5eb5b503b376: Pulling fs layer [2022-09-22T04:09:29.377Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T04:09:29.377Z] ec43610c2a17: Pulling fs layer [2022-09-22T04:09:29.377Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T04:09:29.377Z] 33b1e0a273af: Pulling fs layer [2022-09-22T04:09:29.377Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T04:09:29.377Z] 2f39f015ded8: Pulling fs layer [2022-09-22T04:09:29.377Z] 33b1e0a273af: Waiting [2022-09-22T04:09:29.377Z] 5d3b04190fa2: Waiting [2022-09-22T04:09:29.377Z] 2f39f015ded8: Waiting [2022-09-22T04:09:29.377Z] 3a2ae6a8a46f: Waiting [2022-09-22T04:09:29.377Z] 5c69ac0246d0: Download complete [2022-09-22T04:09:29.377Z] 3a2ae6a8a46f: Download complete [2022-09-22T04:09:29.377Z] 33b1e0a273af: Verifying Checksum [2022-09-22T04:09:29.377Z] 33b1e0a273af: Download complete [2022-09-22T04:09:29.377Z] 5d3b04190fa2: Download complete [2022-09-22T04:09:29.377Z] ec43610c2a17: Verifying Checksum [2022-09-22T04:09:29.377Z] ec43610c2a17: Download complete [2022-09-22T04:09:29.636Z] 5eb5b503b376: Download complete [2022-09-22T04:09:30.201Z] 2f39f015ded8: Download complete [2022-09-22T04:09:30.765Z] 5eb5b503b376: Pull complete [2022-09-22T04:09:30.765Z] 5c69ac0246d0: Pull complete [2022-09-22T04:09:31.330Z] ec43610c2a17: Pull complete [2022-09-22T04:09:31.330Z] 3a2ae6a8a46f: Pull complete [2022-09-22T04:09:31.588Z] 33b1e0a273af: Pull complete [2022-09-22T04:09:31.588Z] 5d3b04190fa2: Pull complete [2022-09-22T04:09:35.768Z] 2f39f015ded8: Pull complete [2022-09-22T04:09:35.768Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T04:09:35.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T04:09:35.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:09:35.984Z] prd-ubuntu20.04-docker-8c-8g-527 does not seem to be running inside a container [2022-09-22T04:09:36.011Z] $ 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-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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-09-22T04:09:40.174Z] $ docker top 3cb3d1205b6ba303a45d378602f28bae158cc7afe68275cb035f0bd857a5bd7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:09:40.610Z] ---> job-cost.sh [2022-09-22T04:09:40.610Z] lf-activate-venv: SKIPPING [2022-09-22T04:09:40.610Z] INFO: No Stack... [2022-09-22T04:09:40.868Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T04:09:41.436Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T04:09:41.755Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/cost.csv [2022-09-22T04:09:41.755Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T04:09:41.798Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] [2022-09-22T04:09:41.802Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] did not exist. Created. [2022-09-22T04:09:41.802Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T04:09:42.177Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T04:09:42.220Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T04:09:42.246Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T04:09:42.311Z] $ docker stop --time=1 3cb3d1205b6ba303a45d378602f28bae158cc7afe68275cb035f0bd857a5bd7d [2022-09-22T04:09:43.473Z] $ docker rm -f 3cb3d1205b6ba303a45d378602f28bae158cc7afe68275cb035f0bd857a5bd7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T04:09:56.767Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-531 in /w/workspace/gexfoundry_device-sdk-go_PR-1214 [Pipeline] { [Pipeline] ws [2022-09-22T04:09:56.812Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-09-22T04:09:56.891Z] The recommended git tool is: git [2022-09-22T04:10:02.167Z] using credential edgex-jenkins-ssh [2022-09-22T04:10:02.179Z] Cloning the remote Git repository [2022-09-22T04:10:02.221Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T04:10:02.285Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-09-22T04:10:02.426Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T04:10:02.426Z] > git --version # timeout=10 [2022-09-22T04:10:02.450Z] > git --version # 'git version 2.25.1' [2022-09-22T04:10:02.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T04:10:02.495Z] Verifying host key using known hosts file [2022-09-22T04:10:02.692Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T04:10:02.705Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T04:10:04.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T04:10:04.207Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T04:10:04.998Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T04:10:05.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T04:10:05.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T04:10:05.036Z] Verifying host key using known hosts file [2022-09-22T04:10:05.043Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T04:10:05.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1214/head:refs/remotes/origin/PR-1214 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T04:10:05.603Z] Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit d34c26de534f7f36f56e7b532991befab685f6c2 [2022-09-22T04:10:05.824Z] Merge succeeded, producing d34c26de534f7f36f56e7b532991befab685f6c2 [2022-09-22T04:10:05.825Z] Checking out Revision d34c26de534f7f36f56e7b532991befab685f6c2 (PR-1214) [2022-09-22T04:10:06.267Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-09-22T04:10:06.312Z] > git --version # timeout=10 [2022-09-22T04:10:06.323Z] > git --version # 'git version 2.25.1' [2022-09-22T04:10:06.337Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T04:10:05.621Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T04:10:05.636Z] > git checkout -f d34c26de534f7f36f56e7b532991befab685f6c2 # timeout=10 [2022-09-22T04:10:05.741Z] > git remote # timeout=10 [2022-09-22T04:10:05.757Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T04:10:05.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T04:10:05.782Z] Verifying host key using known hosts file [2022-09-22T04:10:05.785Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T04:10:05.793Z] > git merge e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 [2022-09-22T04:10:05.813Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T04:10:05.832Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T04:10:05.847Z] > git checkout -f d34c26de534f7f36f56e7b532991befab685f6c2 # timeout=10 [2022-09-22T04:10:07.435Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T04:10:07.435Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T04:10:07.435Z] Dload Upload Total Spent Left Speed [2022-09-22T04:10:07.435Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh [2022-09-22T04:10:08.090Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T04:10:08.447Z] + sudo tee /etc/docker/daemon.new [2022-09-22T04:10:08.447Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T04:10:08.447Z] { [2022-09-22T04:10:08.447Z] "registry-mirrors": [ [2022-09-22T04:10:08.447Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T04:10:08.447Z] ], [2022-09-22T04:10:08.447Z] "bip": "10.250.0.254/24", [2022-09-22T04:10:08.447Z] "hosts": [ [2022-09-22T04:10:08.447Z] "tcp://0.0.0.0:5555", [2022-09-22T04:10:08.447Z] "unix:///var/run/docker.sock" [2022-09-22T04:10:08.447Z] ], [2022-09-22T04:10:08.448Z] "mtu": 1458, [2022-09-22T04:10:08.448Z] "selinux-enabled": true, [2022-09-22T04:10:08.448Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T04:10:08.448Z] } [Pipeline] sh [2022-09-22T04:10:08.791Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T04:10:09.138Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T04:10:27.487Z] provisioning config files... [2022-09-22T04:10:27.521Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12414467775863780745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:10:27.923Z] ---> docker-login.sh [2022-09-22T04:10:27.923Z] nexus3.edgexfoundry.org:10001 [2022-09-22T04:10:28.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:10:28.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:10:28.471Z] Configure a credential helper to remove this warning. See [2022-09-22T04:10:28.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:10:28.471Z] [2022-09-22T04:10:28.471Z] Login Succeeded [2022-09-22T04:10:28.471Z] nexus3.edgexfoundry.org:10002 [2022-09-22T04:10:28.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:10:29.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:10:29.014Z] Configure a credential helper to remove this warning. See [2022-09-22T04:10:29.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:10:29.014Z] [2022-09-22T04:10:29.014Z] Login Succeeded [2022-09-22T04:10:29.014Z] nexus3.edgexfoundry.org:10003 [2022-09-22T04:10:29.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:10:29.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:10:29.287Z] Configure a credential helper to remove this warning. See [2022-09-22T04:10:29.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:10:29.287Z] [2022-09-22T04:10:29.287Z] Login Succeeded [2022-09-22T04:10:29.287Z] nexus3.edgexfoundry.org:10004 [2022-09-22T04:10:29.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:10:29.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:10:29.559Z] Configure a credential helper to remove this warning. See [2022-09-22T04:10:29.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:10:29.559Z] [2022-09-22T04:10:29.559Z] Login Succeeded [2022-09-22T04:10:29.559Z] docker.io [2022-09-22T04:10:29.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T04:10:30.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T04:10:30.420Z] Configure a credential helper to remove this warning. See [2022-09-22T04:10:30.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T04:10:30.420Z] [2022-09-22T04:10:30.420Z] Login Succeeded [2022-09-22T04:10:30.420Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T04:10:30.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T04:10:30.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T04:10:30.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T04:10:30.801Z] ========================================================= [2022-09-22T04:10:30.801Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T04:10:30.801Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:10:31.279Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T04:10:31.550Z] Sending build context to Docker daemon 5.288MB [2022-09-22T04:10:31.550Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T04:10:31.550Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T04:10:31.821Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T04:10:31.821Z] b3c136eddcbf: Pulling fs layer [2022-09-22T04:10:31.821Z] c0a3192eca97: Pulling fs layer [2022-09-22T04:10:31.821Z] a050256f5b6f: Pulling fs layer [2022-09-22T04:10:31.821Z] 656be50a0ddc: Pulling fs layer [2022-09-22T04:10:31.821Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T04:10:31.821Z] 46d945488cbd: Pulling fs layer [2022-09-22T04:10:31.821Z] 8a5474983e97: Pulling fs layer [2022-09-22T04:10:31.821Z] 329c88fbcd65: Pulling fs layer [2022-09-22T04:10:31.821Z] 656be50a0ddc: Waiting [2022-09-22T04:10:31.821Z] 2bbca73fdf42: Waiting [2022-09-22T04:10:31.821Z] 46d945488cbd: Waiting [2022-09-22T04:10:31.821Z] 8a5474983e97: Waiting [2022-09-22T04:10:31.821Z] a050256f5b6f: Verifying Checksum [2022-09-22T04:10:31.821Z] a050256f5b6f: Download complete [2022-09-22T04:10:31.821Z] c0a3192eca97: Verifying Checksum [2022-09-22T04:10:31.821Z] c0a3192eca97: Download complete [2022-09-22T04:10:31.821Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T04:10:31.821Z] 2bbca73fdf42: Download complete [2022-09-22T04:10:31.821Z] 46d945488cbd: Verifying Checksum [2022-09-22T04:10:31.821Z] 46d945488cbd: Download complete [2022-09-22T04:10:31.821Z] b3c136eddcbf: Verifying Checksum [2022-09-22T04:10:31.821Z] b3c136eddcbf: Download complete [2022-09-22T04:10:32.807Z] b3c136eddcbf: Pull complete [2022-09-22T04:10:33.088Z] 329c88fbcd65: Verifying Checksum [2022-09-22T04:10:33.088Z] 329c88fbcd65: Download complete [2022-09-22T04:10:33.360Z] c0a3192eca97: Pull complete [2022-09-22T04:10:33.955Z] a050256f5b6f: Pull complete [2022-09-22T04:10:34.225Z] 8a5474983e97: Verifying Checksum [2022-09-22T04:10:34.225Z] 8a5474983e97: Download complete [2022-09-22T04:10:35.190Z] 656be50a0ddc: Verifying Checksum [2022-09-22T04:10:35.190Z] 656be50a0ddc: Download complete [2022-09-22T04:10:47.703Z] 656be50a0ddc: Pull complete [2022-09-22T04:10:47.703Z] 2bbca73fdf42: Pull complete [2022-09-22T04:10:47.703Z] 46d945488cbd: Pull complete [2022-09-22T04:10:54.393Z] 8a5474983e97: Pull complete [2022-09-22T04:10:55.371Z] 329c88fbcd65: Pull complete [2022-09-22T04:10:55.371Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T04:10:55.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T04:10:55.371Z] ---> ff4287adb874 [2022-09-22T04:10:55.371Z] Step 3/11 : ARG MAKE=make build [2022-09-22T04:10:57.323Z] ---> Running in e208295d36dd [2022-09-22T04:10:57.589Z] Removing intermediate container e208295d36dd [2022-09-22T04:10:57.589Z] ---> 7d32134c8fb3 [2022-09-22T04:10:57.589Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T04:10:57.864Z] ---> Running in 591680917efd [2022-09-22T04:10:58.132Z] Removing intermediate container 591680917efd [2022-09-22T04:10:58.132Z] ---> ab5d0aae5745 [2022-09-22T04:10:58.132Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:10:58.132Z] ---> Running in 9ad7e37c4152 [2022-09-22T04:10:58.399Z] Removing intermediate container 9ad7e37c4152 [2022-09-22T04:10:58.399Z] ---> 6dccc2deca5d [2022-09-22T04:10:58.399Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:10:58.399Z] ---> Running in 3926c055e7fa [2022-09-22T04:11:00.349Z] Removing intermediate container 3926c055e7fa [2022-09-22T04:11:00.349Z] ---> 02f3f81778f0 [2022-09-22T04:11:00.349Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T04:11:00.349Z] ---> Running in 303e861895a1 [2022-09-22T04:11:01.316Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T04:11:01.901Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T04:11:02.861Z] OK: 221 MiB in 51 packages [2022-09-22T04:11:03.826Z] Removing intermediate container 303e861895a1 [2022-09-22T04:11:03.826Z] ---> 0b79d9659e07 [2022-09-22T04:11:03.826Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T04:11:04.410Z] ---> 712e797a79a7 [2022-09-22T04:11:04.410Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T04:11:04.410Z] ---> Running in 31b1880a30fe [2022-09-22T04:11:51.278Z] Removing intermediate container 31b1880a30fe [2022-09-22T04:11:51.278Z] ---> 646dfa6ae799 [2022-09-22T04:11:51.278Z] Step 10/11 : COPY . . [2022-09-22T04:11:51.546Z] ---> 4146ae5c4c21 [2022-09-22T04:11:51.546Z] Step 11/11 : RUN ${MAKE} [2022-09-22T04:11:51.816Z] ---> Running in 103fe6f2a72c [2022-09-22T04:11:52.782Z] noop [2022-09-22T04:11:53.369Z] Removing intermediate container 103fe6f2a72c [2022-09-22T04:11:53.369Z] ---> 17ab55377f7d [2022-09-22T04:11:53.369Z] Successfully built 17ab55377f7d [2022-09-22T04:11:53.369Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:11:53.844Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T04:11:53.844Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:11:54.095Z] prd-ubuntu20.04-docker-arm64-4c-16g-531 does not seem to be running inside a container [2022-09-22T04:11:54.163Z] $ 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-09-22T04:11:55.418Z] $ docker top b89851144c891d5bff0496798977873b26c1c47a65f4b02acbffb61c176d0018 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T04:11:56.319Z] + go version [2022-09-22T04:11:56.319Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T04:11:56.356Z] $ docker stop --time=1 b89851144c891d5bff0496798977873b26c1c47a65f4b02acbffb61c176d0018 [2022-09-22T04:11:58.048Z] $ docker rm -f b89851144c891d5bff0496798977873b26c1c47a65f4b02acbffb61c176d0018 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:11:58.916Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T04:11:58.916Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:11:59.163Z] prd-ubuntu20.04-docker-arm64-4c-16g-531 does not seem to be running inside a container [2022-09-22T04:11:59.225Z] $ 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-09-22T04:12:00.470Z] $ docker top 36d056b470537d673228ad379371366cb47680484ae4b0216fa66011fbc0d98a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T04:12:01.353Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-22T04:12:01.738Z] + make test [2022-09-22T04:12:02.006Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T04:12:40.913Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T04:14:47.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T04:14:47.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T04:14:47.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T04:14:47.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T04:14:47.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T04:14:47.566Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.408s coverage: 27.6% of statements [2022-09-22T04:14:47.566Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.553s coverage: 78.9% of statements [2022-09-22T04:14:47.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T04:14:52.926Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.486s coverage: 60.0% of statements [2022-09-22T04:14:52.926Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T04:14:52.926Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T04:14:56.305Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.659s coverage: 54.4% of statements [2022-09-22T04:14:56.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T04:14:56.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T04:14:56.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T04:14:56.305Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.527s coverage: 65.1% of statements [2022-09-22T04:14:56.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T04:14:56.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T04:14:56.305Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.455s coverage: 89.2% of statements [2022-09-22T04:14:56.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T04:14:56.886Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.5% of statements [2022-09-22T04:14:56.886Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T04:14:57.846Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T04:14:57.846Z] GO111MODULE=on go vet ./... [2022-09-22T04:16:49.534Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T04:16:49.534Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T04:16:49.534Z] ./bin/test-attribution-txt.sh [2022-09-22T04:16:49.534Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T04:16:49.534Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-22T04:16:49.534Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-22T04:16:49.534Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-22T04:16:49.534Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T04:16:49.534Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T04:16:49.534Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-22T04:16:49.534Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T04:16:49.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T04:16:49.597Z] $ docker stop --time=1 36d056b470537d673228ad379371366cb47680484ae4b0216fa66011fbc0d98a [2022-09-22T04:16:51.384Z] $ docker rm -f 36d056b470537d673228ad379371366cb47680484ae4b0216fa66011fbc0d98a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T04:16:52.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T04:16:52.859Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T04:16:53.333Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T04:16:53.928Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T04:16:54.267Z] + ls -al . [2022-09-22T04:16:54.267Z] total 272 [2022-09-22T04:16:54.267Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 04:12 . [2022-09-22T04:16:54.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:10 .. [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 04:10 .dockerignore [2022-09-22T04:16:54.267Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:10 .git [2022-09-22T04:16:54.267Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:10 .github [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 04:10 .gitignore [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 04:10 .golangci.yml [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 04:10 CHANGELOG.md [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 04:10 GOVERNANCE.md [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 04:10 Jenkinsfile [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 04:10 LICENSE [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 04:10 Makefile [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 04:10 OWNERS.md [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 04:10 README.md [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 04:07 VERSION [2022-09-22T04:16:54.267Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:10 bin [2022-09-22T04:16:54.267Z] -rw-r--r-- 1 jenkins jenkins 101642 Sep 22 04:14 coverage.out [2022-09-22T04:16:54.267Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 04:10 example [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 04:10 go.mod [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 04:10 go.sum [2022-09-22T04:16:54.267Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 04:10 internal [2022-09-22T04:16:54.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:10 openapi [2022-09-22T04:16:54.267Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 04:10 pkg [2022-09-22T04:16:54.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:10 snap [2022-09-22T04:16:54.267Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:16:54.680Z] + 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=d34c26de534f7f36f56e7b532991befab685f6c2 --label arch=arm64 --label version=0.0.0 . [2022-09-22T04:16:54.949Z] Sending build context to Docker daemon 5.39MB [2022-09-22T04:16:54.949Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T04:16:54.949Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T04:16:54.949Z] ---> 17ab55377f7d [2022-09-22T04:16:54.949Z] Step 3/25 : ARG MAKE=make build [2022-09-22T04:16:55.217Z] ---> Running in 48caa40a7bc8 [2022-09-22T04:16:55.494Z] Removing intermediate container 48caa40a7bc8 [2022-09-22T04:16:55.494Z] ---> 70df818727e1 [2022-09-22T04:16:55.494Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T04:16:55.494Z] ---> Running in 3979f001b97c [2022-09-22T04:16:55.769Z] Removing intermediate container 3979f001b97c [2022-09-22T04:16:55.769Z] ---> bc4d3505de24 [2022-09-22T04:16:55.769Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:16:56.038Z] ---> Running in b419d6f30a80 [2022-09-22T04:16:56.306Z] Removing intermediate container b419d6f30a80 [2022-09-22T04:16:56.306Z] ---> 18d4b8e7c689 [2022-09-22T04:16:56.306Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:16:56.306Z] ---> Running in e31dd7390ca7 [2022-09-22T04:16:58.265Z] Removing intermediate container e31dd7390ca7 [2022-09-22T04:16:58.265Z] ---> b3f4f6269f48 [2022-09-22T04:16:58.265Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T04:16:58.265Z] ---> Running in 2400fb60ac66 [2022-09-22T04:16:58.848Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T04:17:00.257Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T04:17:01.219Z] OK: 221 MiB in 51 packages [2022-09-22T04:17:01.806Z] Removing intermediate container 2400fb60ac66 [2022-09-22T04:17:01.806Z] ---> 1d5693b2680e [2022-09-22T04:17:01.806Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T04:17:02.396Z] ---> 91a4dbffbc65 [2022-09-22T04:17:02.396Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T04:17:02.396Z] ---> Running in 17af870e50f0 [2022-09-22T04:17:04.348Z] Removing intermediate container 17af870e50f0 [2022-09-22T04:17:04.348Z] ---> 63dbb2347758 [2022-09-22T04:17:04.348Z] Step 10/25 : COPY . . [2022-09-22T04:17:05.761Z] ---> a09484baf2a6 [2022-09-22T04:17:05.761Z] Step 11/25 : RUN ${MAKE} [2022-09-22T04:17:05.761Z] ---> Running in b58f4329e3a0 [2022-09-22T04:17:06.737Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-22T04:19:28.517Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T04:19:29.125Z] Removing intermediate container b58f4329e3a0 [2022-09-22T04:19:29.125Z] ---> e847f220bdc3 [2022-09-22T04:19:29.125Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T04:19:30.097Z] 3.16: Pulling from library/alpine [2022-09-22T04:19:30.097Z] 9b18e9b68314: Pulling fs layer [2022-09-22T04:19:30.373Z] 9b18e9b68314: Verifying Checksum [2022-09-22T04:19:30.373Z] 9b18e9b68314: Download complete [2022-09-22T04:19:30.989Z] 9b18e9b68314: Pull complete [2022-09-22T04:19:30.989Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T04:19:30.989Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T04:19:30.989Z] ---> a6215f271958 [2022-09-22T04:19:30.989Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T04:19:31.259Z] ---> Running in 6719a7b5a474 [2022-09-22T04:19:31.529Z] Removing intermediate container 6719a7b5a474 [2022-09-22T04:19:31.529Z] ---> b2f8904ee809 [2022-09-22T04:19:31.529Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T04:19:31.529Z] ---> Running in 6577e526edf3 [2022-09-22T04:19:33.484Z] Removing intermediate container 6577e526edf3 [2022-09-22T04:19:33.484Z] ---> 83f03f9d22ea [2022-09-22T04:19:33.484Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T04:19:33.484Z] ---> Running in 1ffecb047b48 [2022-09-22T04:19:34.462Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T04:19:35.431Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T04:19:36.397Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T04:19:36.666Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T04:19:36.666Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T04:19:36.935Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T04:19:36.935Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T04:19:37.201Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T04:19:37.201Z] OK: 8 MiB in 19 packages [2022-09-22T04:19:38.172Z] Removing intermediate container 1ffecb047b48 [2022-09-22T04:19:38.172Z] ---> e43c5690b57b [2022-09-22T04:19:38.172Z] Step 16/25 : WORKDIR / [2022-09-22T04:19:38.172Z] ---> Running in b47fc18c46d7 [2022-09-22T04:19:38.439Z] Removing intermediate container b47fc18c46d7 [2022-09-22T04:19:38.439Z] ---> 5233dfbbf79a [2022-09-22T04:19:38.439Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T04:19:39.026Z] ---> a885b39dbe5e [2022-09-22T04:19:39.026Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T04:19:40.440Z] ---> a63b8d5fbe86 [2022-09-22T04:19:40.440Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T04:19:41.025Z] ---> c132c329b00f [2022-09-22T04:19:41.025Z] Step 20/25 : EXPOSE 59999 [2022-09-22T04:19:41.025Z] ---> Running in c8b63b212924 [2022-09-22T04:19:41.612Z] Removing intermediate container c8b63b212924 [2022-09-22T04:19:41.612Z] ---> b456b754a71a [2022-09-22T04:19:41.612Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T04:19:41.612Z] ---> Running in c3fa5abb4dd9 [2022-09-22T04:19:41.879Z] Removing intermediate container c3fa5abb4dd9 [2022-09-22T04:19:41.879Z] ---> 234a7939374c [2022-09-22T04:19:41.879Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T04:19:41.879Z] ---> Running in 373f25cf41f3 [2022-09-22T04:19:42.147Z] Removing intermediate container 373f25cf41f3 [2022-09-22T04:19:42.148Z] ---> 79ce393cc745 [2022-09-22T04:19:42.148Z] Step 23/25 : LABEL arch=arm64 [2022-09-22T04:19:42.426Z] ---> Running in 6d8febb7acb8 [2022-09-22T04:19:42.693Z] Removing intermediate container 6d8febb7acb8 [2022-09-22T04:19:42.693Z] ---> 0724cfef1e91 [2022-09-22T04:19:42.693Z] Step 24/25 : LABEL git_sha=d34c26de534f7f36f56e7b532991befab685f6c2 [2022-09-22T04:19:42.693Z] ---> Running in 9709325491b9 [2022-09-22T04:19:42.959Z] Removing intermediate container 9709325491b9 [2022-09-22T04:19:42.959Z] ---> c37a462616c4 [2022-09-22T04:19:42.959Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T04:19:42.959Z] ---> Running in 39a9bc6ff2bd [2022-09-22T04:19:43.542Z] Removing intermediate container 39a9bc6ff2bd [2022-09-22T04:19:43.542Z] ---> dce0339e45ea [2022-09-22T04:19:43.542Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T04:19:43.542Z] Successfully built dce0339e45ea [2022-09-22T04:19:43.542Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:19:44.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T04:19:44.347Z] [2022-09-22T04:19:44.347Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:19:44.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T04:19:44.756Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T04:19:44.756Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T04:19:44.756Z] 04944245beec: Pulling fs layer [2022-09-22T04:19:44.756Z] 699f458cf7ca: Pulling fs layer [2022-09-22T04:19:44.756Z] 765212b225bb: Pulling fs layer [2022-09-22T04:19:44.756Z] f23df028b6ca: Pulling fs layer [2022-09-22T04:19:44.757Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T04:19:44.757Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T04:19:44.757Z] 765212b225bb: Waiting [2022-09-22T04:19:44.757Z] f23df028b6ca: Waiting [2022-09-22T04:19:44.757Z] d65c8cfc05b1: Waiting [2022-09-22T04:19:44.757Z] 2437ff75d9bd: Waiting [2022-09-22T04:19:45.024Z] 04944245beec: Verifying Checksum [2022-09-22T04:19:45.024Z] 04944245beec: Download complete [2022-09-22T04:19:45.024Z] 765212b225bb: Verifying Checksum [2022-09-22T04:19:45.024Z] 765212b225bb: Download complete [2022-09-22T04:19:45.024Z] f23df028b6ca: Download complete [2022-09-22T04:19:45.024Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T04:19:45.024Z] d65c8cfc05b1: Download complete [2022-09-22T04:19:45.295Z] 699f458cf7ca: Verifying Checksum [2022-09-22T04:19:45.295Z] 699f458cf7ca: Download complete [2022-09-22T04:19:45.562Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T04:19:45.562Z] 8998bd30e6a1: Download complete [2022-09-22T04:19:47.503Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T04:19:47.503Z] 2437ff75d9bd: Download complete [2022-09-22T04:19:49.445Z] 8998bd30e6a1: Pull complete [2022-09-22T04:19:49.712Z] 04944245beec: Pull complete [2022-09-22T04:19:51.119Z] 699f458cf7ca: Pull complete [2022-09-22T04:19:51.119Z] 765212b225bb: Pull complete [2022-09-22T04:19:51.702Z] f23df028b6ca: Pull complete [2022-09-22T04:19:51.968Z] d65c8cfc05b1: Pull complete [2022-09-22T04:20:06.957Z] 2437ff75d9bd: Pull complete [2022-09-22T04:20:06.957Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T04:20:06.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T04:20:06.957Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:20:07.278Z] prd-ubuntu20.04-docker-arm64-4c-16g-531 does not seem to be running inside a container [2022-09-22T04:20:07.322Z] $ 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-09-22T04:20:09.737Z] $ docker top c6de6b5b153119546cb831a4464902dc659752f38005ef1e60763a3336fa7804 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:20:10.633Z] ---> job-cost.sh [2022-09-22T04:20:10.633Z] lf-activate-venv: SKIPPING [2022-09-22T04:20:10.633Z] INFO: No Stack... [2022-09-22T04:20:11.210Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T04:20:12.160Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T04:20:12.495Z] + cut -d, -f6 [2022-09-22T04:20:12.495Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-09-22T04:20:12.832Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] [2022-09-22T04:20:12.837Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] did not exist. Created. [2022-09-22T04:20:12.838Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T04:20:13.243Z] /w/workspace/device-sdk-go/1@tmp/durable-a617386d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T04:20:13.907Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T04:20:13.940Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T04:20:13.996Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T04:20:14.011Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T04:20:14.082Z] $ docker stop --time=1 c6de6b5b153119546cb831a4464902dc659752f38005ef1e60763a3336fa7804 [2022-09-22T04:20:15.599Z] $ docker rm -f c6de6b5b153119546cb831a4464902dc659752f38005ef1e60763a3336fa7804 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-22T04:20:16.570Z] provisioning config files... [2022-09-22T04:20:16.584Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config16273835453016686758tmp [Pipeline] { [Pipeline] sh [2022-09-22T04:20:16.909Z] + set +x [2022-09-22T04:20:16.909Z] + + curlbash -s -s https://codecov.io/bash -- [2022-09-22T04:20:16.909Z] [2022-09-22T04:20:16.909Z] [2022-09-22T04:20:16.909Z] _____ _ [2022-09-22T04:20:16.909Z] / ____| | | [2022-09-22T04:20:16.909Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T04:20:16.909Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T04:20:16.909Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T04:20:16.909Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T04:20:16.910Z] Bash-1.0.6 [2022-09-22T04:20:16.910Z] [2022-09-22T04:20:16.910Z] [2022-09-22T04:20:16.910Z] ==> git version 2.25.1 found [2022-09-22T04:20:16.910Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-22T04:20:16.910Z] Release-Date: 2020-01-08 [2022-09-22T04:20:16.910Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-22T04:20:16.910Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T04:20:16.910Z] ==> Jenkins CI detected. [2022-09-22T04:20:16.910Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1214 [2022-09-22T04:20:16.910Z] project root: . [2022-09-22T04:20:16.910Z] --> token set from env [2022-09-22T04:20:16.910Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T04:20:16.910Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T04:20:16.910Z] ==> Python coveragepy not found [2022-09-22T04:20:16.910Z] ==> Searching for coverage reports in: [2022-09-22T04:20:16.910Z] + . [2022-09-22T04:20:16.910Z] -> Found 1 reports [2022-09-22T04:20:16.910Z] ==> Detecting git/mercurial file structure [2022-09-22T04:20:16.910Z] ==> Reading reports [2022-09-22T04:20:16.910Z] + ./coverage.out bytes=101642 [2022-09-22T04:20:16.910Z] ==> Appending adjustments [2022-09-22T04:20:16.910Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T04:20:17.168Z] + Found adjustments [2022-09-22T04:20:17.168Z] ==> Gzipping contents [2022-09-22T04:20:17.168Z] 16K /tmp/codecov.VMCllf.gz [2022-09-22T04:20:17.168Z] ==> Uploading reports [2022-09-22T04:20:17.168Z] url: https://codecov.io [2022-09-22T04:20:17.168Z] query: branch=PR-1214&commit=d34c26de534f7f36f56e7b532991befab685f6c2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1214%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1214&job=&cmd_args= [2022-09-22T04:20:17.168Z] -> Pinging Codecov [2022-09-22T04:20:17.169Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1214&commit=d34c26de534f7f36f56e7b532991befab685f6c2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1214%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1214&job=&cmd_args= [2022-09-22T04:20:17.737Z] -> Uploading to [2022-09-22T04:20:17.737Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/d34c26de534f7f36f56e7b532991befab685f6c2/84b8270c-f4be-47e9-a113-53edd3873a09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T042017Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4be50ff8a6b1553e264f20b22300f93688c4991bf93906f581e701d1b9ad7fc2 [2022-09-22T04:20:17.737Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T04:20:17.737Z] Dload Upload Total Spent Left Speed [2022-09-22T04:20:17.737Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14457 0 0 100 14457 0 64540 --:--:-- --:--:-- --:--:-- 64540 [2022-09-22T04:20:17.996Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d34c26de534f7f36f56e7b532991befab685f6c2 [Pipeline] } [2022-09-22T04:20:18.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-22T04:20:19.725Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives ] [2022-09-22T04:20:19.725Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives [2022-09-22T04:20:19.725Z] total 16 [2022-09-22T04:20:19.725Z] drwxr-xr-x 3 root root 4096 Sep 22 04:09 . [2022-09-22T04:20:19.725Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 04:09 .. [2022-09-22T04:20:19.725Z] drwxr-xr-x 2 root root 4096 Sep 22 04:09 cost [2022-09-22T04:20:19.725Z] -rw-r--r-- 1 root root 86 Sep 22 04:09 cost.csv [2022-09-22T04:20:19.725Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives [2022-09-22T04:20:19.725Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives [2022-09-22T04:20:19.725Z] total 16 [2022-09-22T04:20:19.725Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 04:09 . [2022-09-22T04:20:19.725Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 04:09 .. [2022-09-22T04:20:19.725Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 04:09 cost [2022-09-22T04:20:19.725Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 22 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:20:20.051Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:20:20.934Z] ---> package-listing.sh [2022-09-22T04:20:20.934Z] ++ facter osfamily [2022-09-22T04:20:20.934Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T04:20:21.193Z] + OS_FAMILY=debian [2022-09-22T04:20:21.193Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1214 [2022-09-22T04:20:21.193Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T04:20:21.193Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T04:20:21.193Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T04:20:21.193Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T04:20:21.193Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1214 ']' [2022-09-22T04:20:21.193Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T04:20:21.193Z] + case "${OS_FAMILY}" in [2022-09-22T04:20:21.193Z] + dpkg -l [2022-09-22T04:20:21.193Z] + grep '^ii' [2022-09-22T04:20:21.193Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T04:20:21.193Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T04:20:21.193Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T04:20:21.193Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1214 ']' [2022-09-22T04:20:21.193Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/ [2022-09-22T04:20:21.193Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/ [Pipeline] echo [2022-09-22T04:20:21.228Z] 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-1214/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T04:20:21.518Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T04:20:22.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T04:20:22.130Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T04:20:22.265Z] prd-ubuntu20.04-docker-8c-8g-527 does not seem to be running inside a container [2022-09-22T04:20:22.295Z] $ 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-1214/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-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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-09-22T04:20:22.534Z] $ docker top bf07f58aa315d7bae881bfd75a0fb386c3b2a49561b975d817e52091de6e0544 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T04:20:22.923Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T04:20:23.231Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T04:20:23.542Z] + ls /var/log/sa-host [2022-09-22T04:20:23.542Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T04:20:23.669Z] provisioning config files... [2022-09-22T04:20:23.678Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config3892352808606060369tmp [Pipeline] { [Pipeline] echo [2022-09-22T04:20:23.722Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:20:24.033Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T04:20:24.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:20:24.457Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T04:20:24.490Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:20:24.804Z] ---> sudo-logs.sh [2022-09-22T04:20:24.804Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T04:20:24.891Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:20:25.198Z] ---> job-cost.sh [2022-09-22T04:20:25.198Z] lf-activate-venv: SKIPPING [2022-09-22T04:20:25.198Z] DEBUG: total: 0.2199999988079071 [2022-09-22T04:20:25.198Z] INFO: Retrieving Stack Cost... [2022-09-22T04:20:25.770Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T04:20:26.337Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T04:20:26.373Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T04:20:26.681Z] ---> logs-deploy.sh [2022-09-22T04:20:26.681Z] lf-activate-venv: SKIPPING [2022-09-22T04:20:26.681Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1214/1 [2022-09-22T04:20:26.681Z] INFO: archiving workspace using pattern(s): [2022-09-22T04:20:27.617Z] Archives upload complete. [2022-09-22T04:20:27.617Z] INFO: archiving logs to Nexus