Pull request #1229 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a528ab06ee98ec1da46e4224911058fb396f8bdf+71d557e94127766e3dd7859e57e7c834f188cfad (52c5609c90661a0815a26c3fbff105221dda3c15) 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-ssh16485804085923584478.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-ssh11714610736272935753.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-1229/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-1229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8646398785601748753.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-1229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17335557827072936099.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-ssh12422284707968272821.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-1229/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-1229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9451077657660417491.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7244 in /w/workspace/gexfoundry_device-sdk-go_PR-1229 [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-1229 # 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 Merging remotes/origin/main commit 71d557e94127766e3dd7859e57e7c834f188cfad into PR head commit a528ab06ee98ec1da46e4224911058fb396f8bdf Merge succeeded, producing a528ab06ee98ec1da46e4224911058fb396f8bdf Checking out Revision a528ab06ee98ec1da46e4224911058fb396f8bdf (PR-1229) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > 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/1229/head:refs/remotes/origin/PR-1229 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a528ab06ee98ec1da46e4224911058fb396f8bdf # 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 71d557e94127766e3dd7859e57e7c834f188cfad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a528ab06ee98ec1da46e4224911058fb396f8bdf # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-06T04:07:19.388Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-06T04:07:19.575Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-06T04:07:19.693Z] ========================================================= [2022-10-06T04:07:19.693Z] EdgeX Global Pipelines Version Info [2022-10-06T04:07:19.693Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:07:20.506Z] ------------------- [2022-10-06T04:07:20.506Z] stable info: [2022-10-06T04:07:20.506Z] ------------------- [2022-10-06T04:07:20.506Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-06T04:07:20.506Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T04:07:20.506Z] Message: update stable to v1.0.239 [2022-10-06T04:07:21.076Z] ------------------- [2022-10-06T04:07:21.076Z] experimental info: [2022-10-06T04:07:21.076Z] ------------------- [2022-10-06T04:07:21.076Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-06T04:07:21.076Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T04:07:21.076Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-06T04:07:21.389Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-06T04:07:21.429Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-06T04:07:21.470Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-06T04:07:21.509Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-06T04:07:21.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-06T04:07:21.587Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-06T04:07:21.632Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-06T04:07:21.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-06T04:07:21.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-06T04:07:21.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-06T04:07:21.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-06T04:07:21.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-06T04:07:21.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-06T04:07:21.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-06T04:07:21.960Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T04:07:22.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T04:07:22.040Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T04:07:22.077Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T04:07:22.118Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-06T04:07:22.162Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-06T04:07:22.202Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-06T04:07:22.244Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-06T04:07:22.285Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-06T04:07:22.324Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-06T04:07:22.366Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-06T04:07:22.405Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-06T04:07:22.441Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-06T04:07:22.482Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1229 [Pipeline] echo [2022-10-06T04:07:22.521Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1229 [Pipeline] echo [2022-10-06T04:07:22.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1229 [Pipeline] echo [2022-10-06T04:07:22.599Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a528ab06ee98ec1da46e4224911058fb396f8bdf [Pipeline] echo [2022-10-06T04:07:22.637Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a528ab0 [Pipeline] echo [2022-10-06T04:07:22.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T04:07:22.780Z] provisioning config files... [2022-10-06T04:07:22.794Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/config14310576919716203708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:07:23.130Z] ---> docker-login.sh [2022-10-06T04:07:23.130Z] nexus3.edgexfoundry.org:10001 [2022-10-06T04:07:23.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:07:23.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:07:23.389Z] Configure a credential helper to remove this warning. See [2022-10-06T04:07:23.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:07:23.389Z] [2022-10-06T04:07:23.389Z] Login Succeeded [2022-10-06T04:07:23.389Z] nexus3.edgexfoundry.org:10002 [2022-10-06T04:07:23.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:07:23.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:07:23.389Z] Configure a credential helper to remove this warning. See [2022-10-06T04:07:23.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:07:23.389Z] [2022-10-06T04:07:23.389Z] Login Succeeded [2022-10-06T04:07:23.389Z] nexus3.edgexfoundry.org:10003 [2022-10-06T04:07:23.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:07:23.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:07:23.649Z] Configure a credential helper to remove this warning. See [2022-10-06T04:07:23.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:07:23.649Z] [2022-10-06T04:07:23.649Z] Login Succeeded [2022-10-06T04:07:23.649Z] nexus3.edgexfoundry.org:10004 [2022-10-06T04:07:23.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:07:23.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:07:23.649Z] Configure a credential helper to remove this warning. See [2022-10-06T04:07:23.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:07:23.649Z] [2022-10-06T04:07:23.649Z] Login Succeeded [2022-10-06T04:07:23.649Z] docker.io [2022-10-06T04:07:23.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:07:24.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:07:24.168Z] Configure a credential helper to remove this warning. See [2022-10-06T04:07:24.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:07:24.168Z] [2022-10-06T04:07:24.168Z] Login Succeeded [2022-10-06T04:07:24.168Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T04:07:24.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-06T04:07:24.836Z] + git rev-list -1 --merges a528ab06ee98ec1da46e4224911058fb396f8bdf~1..a528ab06ee98ec1da46e4224911058fb396f8bdf [Pipeline] echo [2022-10-06T04:07:24.876Z] -----------> git rev-list -1 --merges a528ab06ee98ec1da46e4224911058fb396f8bdf~1..a528ab06ee98ec1da46e4224911058fb396f8bdf a528ab06ee98ec1da46e4224911058fb396f8bdf [false] [Pipeline] sh [2022-10-06T04:07:25.184Z] + git log --format=format:%s -1 a528ab06ee98ec1da46e4224911058fb396f8bdf [Pipeline] echo [2022-10-06T04:07:25.218Z] ========================================================= [2022-10-06T04:07:25.218Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-06T04:07:25.218Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T04:07:25.656Z] + git log --format=format:%s -1 a528ab06ee98ec1da46e4224911058fb396f8bdf [Pipeline] echo [2022-10-06T04:07:25.688Z] [semverPrep] GIT_COMMIT: a528ab06ee98ec1da46e4224911058fb396f8bdf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-06T04:07:25.722Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-06T04:07:26.181Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-06T04:07:26.181Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-06T04:07:26.181Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-06T04:07:26.181Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-06T04:07:26.181Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-06T04:07:26.181Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-06T04:07:26.181Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:07:26.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T04:07:26.660Z] [2022-10-06T04:07:26.660Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:07:27.036Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T04:07:27.036Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-06T04:07:27.036Z] b85a868b505f: Pulling fs layer [2022-10-06T04:07:27.036Z] e2be974225ed: Pulling fs layer [2022-10-06T04:07:27.036Z] 339a4e72a1f5: Pulling fs layer [2022-10-06T04:07:27.036Z] 988bab9f4d93: Pulling fs layer [2022-10-06T04:07:27.036Z] 1469e6f7b9e6: Pulling fs layer [2022-10-06T04:07:27.036Z] eaf3925da568: Pulling fs layer [2022-10-06T04:07:27.036Z] 988bab9f4d93: Waiting [2022-10-06T04:07:27.036Z] bab4dde63d76: Pulling fs layer [2022-10-06T04:07:27.036Z] bde34c3a00c8: Pulling fs layer [2022-10-06T04:07:27.036Z] b352a97aabf1: Pulling fs layer [2022-10-06T04:07:27.036Z] 4872d77fe225: Pulling fs layer [2022-10-06T04:07:27.036Z] eaf3925da568: Waiting [2022-10-06T04:07:27.036Z] b352a97aabf1: Waiting [2022-10-06T04:07:27.036Z] bde34c3a00c8: Waiting [2022-10-06T04:07:27.036Z] bab4dde63d76: Waiting [2022-10-06T04:07:27.036Z] 4872d77fe225: Waiting [2022-10-06T04:07:27.036Z] 5851b861e8e6: Pulling fs layer [2022-10-06T04:07:27.036Z] 5851b861e8e6: Waiting [2022-10-06T04:07:27.036Z] e2be974225ed: Verifying Checksum [2022-10-06T04:07:27.036Z] e2be974225ed: Download complete [2022-10-06T04:07:27.036Z] 988bab9f4d93: Verifying Checksum [2022-10-06T04:07:27.036Z] 988bab9f4d93: Download complete [2022-10-06T04:07:27.296Z] 339a4e72a1f5: Verifying Checksum [2022-10-06T04:07:27.296Z] 339a4e72a1f5: Download complete [2022-10-06T04:07:27.296Z] 1469e6f7b9e6: Verifying Checksum [2022-10-06T04:07:27.296Z] 1469e6f7b9e6: Download complete [2022-10-06T04:07:27.296Z] eaf3925da568: Verifying Checksum [2022-10-06T04:07:27.296Z] eaf3925da568: Download complete [2022-10-06T04:07:27.296Z] bde34c3a00c8: Download complete [2022-10-06T04:07:27.296Z] b352a97aabf1: Download complete [2022-10-06T04:07:27.296Z] 4872d77fe225: Download complete [2022-10-06T04:07:27.296Z] 5851b861e8e6: Verifying Checksum [2022-10-06T04:07:27.296Z] 5851b861e8e6: Download complete [2022-10-06T04:07:27.296Z] b85a868b505f: Download complete [2022-10-06T04:07:27.556Z] bab4dde63d76: Verifying Checksum [2022-10-06T04:07:27.556Z] bab4dde63d76: Download complete [2022-10-06T04:07:28.488Z] b85a868b505f: Pull complete [2022-10-06T04:07:28.746Z] e2be974225ed: Pull complete [2022-10-06T04:07:29.376Z] 339a4e72a1f5: Pull complete [2022-10-06T04:07:29.376Z] 988bab9f4d93: Pull complete [2022-10-06T04:07:29.634Z] 1469e6f7b9e6: Pull complete [2022-10-06T04:07:29.634Z] eaf3925da568: Pull complete [2022-10-06T04:07:31.535Z] bab4dde63d76: Pull complete [2022-10-06T04:07:31.535Z] bde34c3a00c8: Pull complete [2022-10-06T04:07:31.793Z] b352a97aabf1: Pull complete [2022-10-06T04:07:31.793Z] 4872d77fe225: Pull complete [2022-10-06T04:07:32.052Z] 5851b861e8e6: Pull complete [2022-10-06T04:07:32.052Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-06T04:07:32.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T04:07:32.052Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:07:32.272Z] prd-ubuntu20.04-docker-8c-8g-7244 does not seem to be running inside a container [2022-10-06T04:07:32.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1229 -v /w/workspace/gexfoundry_device-sdk-go_PR-1229:/w/workspace/gexfoundry_device-sdk-go_PR-1229:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1229@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-06T04:07:36.747Z] $ docker top e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be -eo pid,comm [2022-10-06T04:07:36.816Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-06T04:07:36.817Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-06T04:07:36.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T04:07:36.943Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T04:07:37.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T04:07:37.065Z] $ docker exec e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be ssh-agent [2022-10-06T04:07:37.193Z] SSH_AUTH_SOCK=/tmp/ssh-hPYusmVI834u/agent.13 [2022-10-06T04:07:37.193Z] SSH_AGENT_PID=19 [2022-10-06T04:07:37.200Z] Running ssh-add (command line suppressed) [2022-10-06T04:07:37.325Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/private_key_16106218305530759253.key (/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/private_key_16106218305530759253.key) [2022-10-06T04:07:37.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T04:07:37.659Z] + git tag --points-at HEAD [Pipeline] } [2022-10-06T04:07:37.685Z] $ docker exec --env ******** --env ******** e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be ssh-agent -k [2022-10-06T04:07:37.792Z] unset SSH_AUTH_SOCK; [2022-10-06T04:07:37.792Z] unset SSH_AGENT_PID; [2022-10-06T04:07:37.792Z] echo Agent pid 19 killed; [2022-10-06T04:07:37.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-06T04:07:37.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T04:07:37.885Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T04:07:38.002Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T04:07:38.007Z] $ docker exec e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be ssh-agent [2022-10-06T04:07:38.117Z] SSH_AUTH_SOCK=/tmp/ssh-l0r6Ep6diiqX/agent.69 [2022-10-06T04:07:38.118Z] SSH_AGENT_PID=75 [2022-10-06T04:07:38.122Z] Running ssh-add (command line suppressed) [2022-10-06T04:07:38.230Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/private_key_11752178157561582970.key (/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/private_key_11752178157561582970.key) [2022-10-06T04:07:38.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T04:07:38.574Z] + git semver init [2022-10-06T04:07:38.835Z] 2022-10-06 04:07:38,750 [run_init] DEBUG init version:0.0.0 force:False [2022-10-06T04:07:38.835Z] 2022-10-06 04:07:38,751 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver [2022-10-06T04:07:38.835Z] 2022-10-06 04:07:38,751 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver [2022-10-06T04:07:38.835Z] 2022-10-06 04:07:38,751 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1229, universal_newlines=False, shell=None, istream=None) [2022-10-06T04:07:40.214Z] 2022-10-06 04:07:39,810 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229/.git/info/exclude [2022-10-06T04:07:40.214Z] 2022-10-06 04:07:39,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver/PR-1229 with force:False [2022-10-06T04:07:40.214Z] 2022-10-06 04:07:39,811 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver/PR-1229 [2022-10-06T04:07:40.214Z] 2022-10-06 04:07:39,813 [execute] INFO git cat-file --batch-check [2022-10-06T04:07:40.214Z] 2022-10-06 04:07:39,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver, universal_newlines=False, shell=None, istream=) [2022-10-06T04:07:40.214Z] 2022-10-06 04:07:39,819 [execute] INFO git cat-file --batch [2022-10-06T04:07:40.214Z] 2022-10-06 04:07:39,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver, universal_newlines=False, shell=None, istream=) [2022-10-06T04:07:40.214Z] 2022-10-06 04:07:39,824 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1229/.semver/PR-1229 [2022-10-06T04:07:40.214Z] 0.0.0 [Pipeline] } [2022-10-06T04:07:40.241Z] $ docker exec --env ******** --env ******** e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be ssh-agent -k [2022-10-06T04:07:40.332Z] unset SSH_AUTH_SOCK; [2022-10-06T04:07:40.332Z] unset SSH_AGENT_PID; [2022-10-06T04:07:40.332Z] echo Agent pid 75 killed; [2022-10-06T04:07:40.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-06T04:07:40.772Z] + git semver [Pipeline] } [2022-10-06T04:07:41.056Z] $ docker stop --time=1 e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be [2022-10-06T04:07:42.426Z] $ docker rm -f e6c6bfc877312fb0af7ab4ad6ddcb0d627f1125814436ad083e0ce40177791be [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T04:07:42.820Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-06T04:07:43.048Z] Stashed 1 file(s) [Pipeline] echo [2022-10-06T04:07:43.069Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T04:07:43.783Z] provisioning config files... [2022-10-06T04:07:43.795Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/config17692407859445999036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:07:44.133Z] ---> docker-login.sh [2022-10-06T04:07:44.133Z] nexus3.edgexfoundry.org:10001 [2022-10-06T04:07:44.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:07:44.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:07:44.133Z] Configure a credential helper to remove this warning. See [2022-10-06T04:07:44.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:07:44.133Z] [2022-10-06T04:07:44.133Z] Login Succeeded [2022-10-06T04:07:44.133Z] nexus3.edgexfoundry.org:10002 [2022-10-06T04:07:44.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:07:44.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:07:44.133Z] Configure a credential helper to remove this warning. See [2022-10-06T04:07:44.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:07:44.133Z] [2022-10-06T04:07:44.133Z] Login Succeeded [2022-10-06T04:07:44.133Z] nexus3.edgexfoundry.org:10003 [2022-10-06T04:07:44.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:07:44.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:07:44.394Z] Configure a credential helper to remove this warning. See [2022-10-06T04:07:44.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:07:44.394Z] [2022-10-06T04:07:44.394Z] Login Succeeded [2022-10-06T04:07:44.394Z] nexus3.edgexfoundry.org:10004 [2022-10-06T04:07:44.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:07:44.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:07:44.394Z] Configure a credential helper to remove this warning. See [2022-10-06T04:07:44.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:07:44.394Z] [2022-10-06T04:07:44.394Z] Login Succeeded [2022-10-06T04:07:44.394Z] docker.io [2022-10-06T04:07:44.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:07:44.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:07:44.915Z] Configure a credential helper to remove this warning. See [2022-10-06T04:07:44.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:07:44.915Z] [2022-10-06T04:07:44.915Z] Login Succeeded [2022-10-06T04:07:44.915Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T04:07:44.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T04:07:45.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T04:07:45.151Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T04:07:45.181Z] ========================================================= [2022-10-06T04:07:45.181Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-06T04:07:45.181Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:07:45.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-10-06T04:07:45.622Z] Sending build context to Docker daemon 9.985MB [2022-10-06T04:07:45.622Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T04:07:45.622Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-06T04:07:45.622Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-06T04:07:45.622Z] 2408cc74d12b: Pulling fs layer [2022-10-06T04:07:45.622Z] ea60b727a1ce: Pulling fs layer [2022-10-06T04:07:45.622Z] 30c4a7721957: Pulling fs layer [2022-10-06T04:07:45.622Z] 370296b7ddb6: Pulling fs layer [2022-10-06T04:07:45.622Z] 7c6cee850709: Pulling fs layer [2022-10-06T04:07:45.622Z] aa9baa53a306: Pulling fs layer [2022-10-06T04:07:45.622Z] 8b309c321861: Pulling fs layer [2022-10-06T04:07:45.622Z] d8d76fd02f46: Pulling fs layer [2022-10-06T04:07:45.622Z] fa31f396de31: Pulling fs layer [2022-10-06T04:07:45.622Z] 370296b7ddb6: Waiting [2022-10-06T04:07:45.622Z] 7c6cee850709: Waiting [2022-10-06T04:07:45.622Z] aa9baa53a306: Waiting [2022-10-06T04:07:45.622Z] 8b309c321861: Waiting [2022-10-06T04:07:45.622Z] fa31f396de31: Waiting [2022-10-06T04:07:45.622Z] d8d76fd02f46: Waiting [2022-10-06T04:07:45.622Z] 30c4a7721957: Verifying Checksum [2022-10-06T04:07:45.622Z] 30c4a7721957: Download complete [2022-10-06T04:07:45.622Z] ea60b727a1ce: Download complete [2022-10-06T04:07:45.881Z] 7c6cee850709: Verifying Checksum [2022-10-06T04:07:45.881Z] 7c6cee850709: Download complete [2022-10-06T04:07:45.881Z] aa9baa53a306: Verifying Checksum [2022-10-06T04:07:45.881Z] aa9baa53a306: Download complete [2022-10-06T04:07:45.881Z] 2408cc74d12b: Verifying Checksum [2022-10-06T04:07:45.881Z] 2408cc74d12b: Download complete [2022-10-06T04:07:45.881Z] 8b309c321861: Verifying Checksum [2022-10-06T04:07:45.881Z] 8b309c321861: Download complete [2022-10-06T04:07:45.881Z] 2408cc74d12b: Pull complete [2022-10-06T04:07:46.140Z] ea60b727a1ce: Pull complete [2022-10-06T04:07:46.140Z] 30c4a7721957: Pull complete [2022-10-06T04:07:46.140Z] fa31f396de31: Verifying Checksum [2022-10-06T04:07:46.140Z] fa31f396de31: Download complete [2022-10-06T04:07:46.709Z] 370296b7ddb6: Verifying Checksum [2022-10-06T04:07:46.709Z] 370296b7ddb6: Download complete [2022-10-06T04:07:46.709Z] d8d76fd02f46: Verifying Checksum [2022-10-06T04:07:46.709Z] d8d76fd02f46: Download complete [2022-10-06T04:07:49.988Z] 370296b7ddb6: Pull complete [2022-10-06T04:07:49.988Z] 7c6cee850709: Pull complete [2022-10-06T04:07:49.988Z] aa9baa53a306: Pull complete [2022-10-06T04:07:49.988Z] 8b309c321861: Pull complete [2022-10-06T04:07:51.889Z] d8d76fd02f46: Pull complete [2022-10-06T04:07:52.835Z] fa31f396de31: Pull complete [2022-10-06T04:07:52.835Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-06T04:07:52.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-06T04:07:52.835Z] ---> cef68f9685f8 [2022-10-06T04:07:52.835Z] Step 3/11 : ARG MAKE=make build [2022-10-06T04:07:58.114Z] ---> Running in a7af2b7ea312 [2022-10-06T04:07:58.114Z] Removing intermediate container a7af2b7ea312 [2022-10-06T04:07:58.114Z] ---> b0e7c68e675a [2022-10-06T04:07:58.114Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-06T04:07:58.114Z] ---> Running in 885e26ae2b4f [2022-10-06T04:07:58.114Z] Removing intermediate container 885e26ae2b4f [2022-10-06T04:07:58.114Z] ---> 58792d73c547 [2022-10-06T04:07:58.114Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T04:07:58.114Z] ---> Running in db253a49bc4e [2022-10-06T04:07:58.114Z] Removing intermediate container db253a49bc4e [2022-10-06T04:07:58.114Z] ---> d61b4fcef1d9 [2022-10-06T04:07:58.114Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T04:07:58.114Z] ---> Running in 6668ffcadbd8 [2022-10-06T04:07:58.619Z] Still waiting to schedule task [2022-10-06T04:07:58.619Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-06T04:07:59.051Z] Removing intermediate container 6668ffcadbd8 [2022-10-06T04:07:59.051Z] ---> 8ec9eeec56a6 [2022-10-06T04:07:59.051Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-06T04:07:59.310Z] ---> Running in 22c6027500f3 [2022-10-06T04:07:59.879Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T04:08:00.447Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T04:08:01.017Z] OK: 211 MiB in 51 packages [2022-10-06T04:08:01.585Z] Removing intermediate container 22c6027500f3 [2022-10-06T04:08:01.585Z] ---> 8860c1290cdc [2022-10-06T04:08:01.585Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-06T04:08:01.845Z] ---> 29a9f7291caf [2022-10-06T04:08:01.845Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T04:08:02.114Z] ---> Running in 1099565c9624 [2022-10-06T04:08:24.060Z] Removing intermediate container 1099565c9624 [2022-10-06T04:08:24.060Z] ---> 3e81e0c2a5ef [2022-10-06T04:08:24.060Z] Step 10/11 : COPY . . [2022-10-06T04:08:24.060Z] ---> e80d4cbb77e0 [2022-10-06T04:08:24.060Z] Step 11/11 : RUN ${MAKE} [2022-10-06T04:08:24.060Z] ---> Running in 4ae762943fce [2022-10-06T04:08:24.060Z] noop [2022-10-06T04:08:24.060Z] Removing intermediate container 4ae762943fce [2022-10-06T04:08:24.060Z] ---> 75deed64ae08 [2022-10-06T04:08:24.060Z] Successfully built 75deed64ae08 [2022-10-06T04:08:24.060Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:08:24.519Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T04:08:24.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:08:24.731Z] prd-ubuntu20.04-docker-8c-8g-7244 does not seem to be running inside a container [2022-10-06T04:08:24.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1229 -v /w/workspace/gexfoundry_device-sdk-go_PR-1229:/w/workspace/gexfoundry_device-sdk-go_PR-1229:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1229@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-x86_64 cat [2022-10-06T04:08:25.114Z] $ docker top f76c5cec1aa52e29b289fa584497931a06969c6570569cc5930707527acf8542 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T04:08:25.506Z] + go version [2022-10-06T04:08:25.506Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-06T04:08:25.544Z] $ docker stop --time=1 f76c5cec1aa52e29b289fa584497931a06969c6570569cc5930707527acf8542 [2022-10-06T04:08:26.837Z] $ docker rm -f f76c5cec1aa52e29b289fa584497931a06969c6570569cc5930707527acf8542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:08:27.539Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T04:08:27.539Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:08:27.677Z] prd-ubuntu20.04-docker-8c-8g-7244 does not seem to be running inside a container [2022-10-06T04:08:27.706Z] $ 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-1229 -v /w/workspace/gexfoundry_device-sdk-go_PR-1229:/w/workspace/gexfoundry_device-sdk-go_PR-1229:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1229@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-x86_64 cat [2022-10-06T04:08:28.188Z] $ docker top 710a05d2f48947248f0526670ad35533d45160dcdf243351f7153080e14c4c49 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T04:08:28.571Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1229 [Pipeline] fileExists [Pipeline] sh [2022-10-06T04:08:28.922Z] + make test [2022-10-06T04:08:28.923Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-06T04:08:35.484Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-06T04:08:50.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-10-06T04:08:50.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.118s coverage: 78.9% of statements [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-06T04:08:50.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.072s coverage: 60.0% of statements [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-06T04:08:50.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.119s coverage: 54.4% of statements [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-06T04:08:50.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 65.1% of statements [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-06T04:08:50.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.748s coverage: 89.2% of statements [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-06T04:08:50.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-10-06T04:08:50.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-06T04:09:05.218Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-06T04:09:05.218Z] GO111MODULE=on go vet ./... [2022-10-06T04:09:08.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T04:09:08.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T04:09:08.506Z] ./bin/test-attribution-txt.sh [2022-10-06T04:09:08.506Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-06T04:09:08.506Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-06T04:09:08.506Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-06T04:09:08.506Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-06T04:09:08.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-06T04:09:08.573Z] $ docker stop --time=1 710a05d2f48947248f0526670ad35533d45160dcdf243351f7153080e14c4c49 [2022-10-06T04:09:12.197Z] $ docker rm -f 710a05d2f48947248f0526670ad35533d45160dcdf243351f7153080e14c4c49 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T04:09:12.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-06T04:09:12.906Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-06T04:09:13.629Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-06T04:09:13.940Z] + ls -al . [2022-10-06T04:09:13.941Z] total 276 [2022-10-06T04:09:13.941Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 04:08 . [2022-10-06T04:09:13.941Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:07 .. [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 04:07 .dockerignore [2022-10-06T04:09:13.941Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:08 .git [2022-10-06T04:09:13.941Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:07 .github [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 6 04:07 .gitignore [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 6 04:07 .golangci.yml [2022-10-06T04:09:13.941Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:07 .semver [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 6 04:07 CHANGELOG.md [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:07 GOVERNANCE.md [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 6 04:07 Jenkinsfile [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 04:07 LICENSE [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 6 04:07 Makefile [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 6 04:07 OWNERS.md [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 6 04:07 README.md [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:07 VERSION [2022-10-06T04:09:13.941Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:07 bin [2022-10-06T04:09:13.941Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 6 04:08 coverage.out [2022-10-06T04:09:13.941Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 04:07 example [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 6 04:07 go.mod [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 6 04:07 go.sum [2022-10-06T04:09:13.941Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 6 04:07 internal [2022-10-06T04:09:13.941Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:07 openapi [2022-10-06T04:09:13.941Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 6 04:07 pkg [2022-10-06T04:09:13.941Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:07 snap [2022-10-06T04:09:13.941Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:09:14.347Z] + 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=a528ab06ee98ec1da46e4224911058fb396f8bdf --label arch=amd64 --label version=0.0.0 . [2022-10-06T04:09:14.347Z] Sending build context to Docker daemon 10.09MB [2022-10-06T04:09:14.347Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T04:09:14.347Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-06T04:09:14.347Z] ---> 75deed64ae08 [2022-10-06T04:09:14.347Z] Step 3/25 : ARG MAKE=make build [2022-10-06T04:09:14.606Z] ---> Running in 3bf6dc42665e [2022-10-06T04:09:14.606Z] Removing intermediate container 3bf6dc42665e [2022-10-06T04:09:14.606Z] ---> 5a85204738e3 [2022-10-06T04:09:14.606Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-06T04:09:14.606Z] ---> Running in b39af7bb1ad9 [2022-10-06T04:09:14.606Z] Removing intermediate container b39af7bb1ad9 [2022-10-06T04:09:14.606Z] ---> ff7f856eb6ff [2022-10-06T04:09:14.606Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T04:09:14.606Z] ---> Running in 8861cc9dabea [2022-10-06T04:09:14.866Z] Removing intermediate container 8861cc9dabea [2022-10-06T04:09:14.866Z] ---> 7c9ebe764232 [2022-10-06T04:09:14.866Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T04:09:14.866Z] ---> Running in d1b854fd0886 [2022-10-06T04:09:15.444Z] Removing intermediate container d1b854fd0886 [2022-10-06T04:09:15.444Z] ---> ee86c3368e76 [2022-10-06T04:09:15.444Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-06T04:09:15.444Z] ---> Running in e3cd7c96017e [2022-10-06T04:09:15.444Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T04:09:16.379Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T04:09:16.638Z] OK: 211 MiB in 51 packages [2022-10-06T04:09:17.206Z] Removing intermediate container e3cd7c96017e [2022-10-06T04:09:17.206Z] ---> 6b2e655914cc [2022-10-06T04:09:17.206Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-06T04:09:17.206Z] ---> 5736fd5382af [2022-10-06T04:09:17.207Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T04:09:17.207Z] ---> Running in 1231a6cc47a8 [2022-10-06T04:09:17.774Z] Removing intermediate container 1231a6cc47a8 [2022-10-06T04:09:17.774Z] ---> 31d93a025a97 [2022-10-06T04:09:17.774Z] Step 10/25 : COPY . . [2022-10-06T04:09:18.452Z] ---> 0451b3423590 [2022-10-06T04:09:18.452Z] Step 11/25 : RUN ${MAKE} [2022-10-06T04:09:18.711Z] ---> Running in 41b40d56d2a7 [2022-10-06T04:09:19.276Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-06T04:09:37.372Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-06T04:09:41.023Z] Removing intermediate container 41b40d56d2a7 [2022-10-06T04:09:41.023Z] ---> bfa9e07d8d6f [2022-10-06T04:09:41.023Z] Step 12/25 : FROM alpine:3.16 [2022-10-06T04:09:41.593Z] 3.16: Pulling from library/alpine [2022-10-06T04:09:42.547Z] 213ec9aee27d: Pulling fs layer [2022-10-06T04:09:42.547Z] 213ec9aee27d: Verifying Checksum [2022-10-06T04:09:42.547Z] 213ec9aee27d: Download complete [2022-10-06T04:09:43.119Z] 213ec9aee27d: Pull complete [2022-10-06T04:09:43.377Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-06T04:09:43.377Z] Status: Downloaded newer image for alpine:3.16 [2022-10-06T04:09:43.377Z] ---> 9c6f07244728 [2022-10-06T04:09:43.377Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T04:09:44.394Z] ---> Running in d5bf174d0f29 [2022-10-06T04:09:44.979Z] Removing intermediate container d5bf174d0f29 [2022-10-06T04:09:44.979Z] ---> 1062472e5a89 [2022-10-06T04:09:44.979Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T04:09:45.252Z] ---> Running in 22d4cfe23316 [2022-10-06T04:09:47.867Z] Removing intermediate container 22d4cfe23316 [2022-10-06T04:09:47.867Z] ---> a278fb57f98b [2022-10-06T04:09:47.867Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-06T04:09:47.867Z] ---> Running in 3d2a240005b8 [2022-10-06T04:09:48.141Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T04:09:49.122Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T04:09:49.392Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-06T04:09:49.392Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-06T04:09:49.966Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-06T04:09:49.966Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-06T04:09:49.966Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-06T04:09:49.966Z] Executing busybox-1.35.0-r17.trigger [2022-10-06T04:09:49.966Z] OK: 8 MiB in 19 packages [2022-10-06T04:09:50.537Z] Removing intermediate container 3d2a240005b8 [2022-10-06T04:09:50.537Z] ---> 4a02833427f9 [2022-10-06T04:09:50.537Z] Step 16/25 : WORKDIR / [2022-10-06T04:09:50.537Z] ---> Running in 119386ee54de [2022-10-06T04:09:50.537Z] Removing intermediate container 119386ee54de [2022-10-06T04:09:50.537Z] ---> 6b353022c1c3 [2022-10-06T04:09:50.537Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-06T04:09:50.797Z] ---> bba806daec5b [2022-10-06T04:09:50.797Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-06T04:09:51.418Z] ---> aa02b3786120 [2022-10-06T04:09:51.418Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-06T04:09:51.679Z] ---> 46243db0b786 [2022-10-06T04:09:51.679Z] Step 20/25 : EXPOSE 59999 [2022-10-06T04:09:51.679Z] ---> Running in aaf55b225013 [2022-10-06T04:09:51.679Z] Removing intermediate container aaf55b225013 [2022-10-06T04:09:51.679Z] ---> c93a95687e99 [2022-10-06T04:09:51.679Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-06T04:09:51.679Z] ---> Running in 38cbef50ccbb [2022-10-06T04:09:51.959Z] Removing intermediate container 38cbef50ccbb [2022-10-06T04:09:51.959Z] ---> c7646a65b2d0 [2022-10-06T04:09:51.959Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-06T04:09:51.959Z] ---> Running in 901eafdc5089 [2022-10-06T04:09:51.959Z] Removing intermediate container 901eafdc5089 [2022-10-06T04:09:51.959Z] ---> 6fd4bf092201 [2022-10-06T04:09:51.959Z] Step 23/25 : LABEL arch=amd64 [2022-10-06T04:09:51.959Z] ---> Running in 764e649a43d3 [2022-10-06T04:09:51.959Z] Removing intermediate container 764e649a43d3 [2022-10-06T04:09:51.959Z] ---> 4e96b52cc7a3 [2022-10-06T04:09:51.959Z] Step 24/25 : LABEL git_sha=a528ab06ee98ec1da46e4224911058fb396f8bdf [2022-10-06T04:09:51.959Z] ---> Running in 4e50cd328c2a [2022-10-06T04:09:52.232Z] Removing intermediate container 4e50cd328c2a [2022-10-06T04:09:52.232Z] ---> f9000f247722 [2022-10-06T04:09:52.232Z] Step 25/25 : LABEL version=0.0.0 [2022-10-06T04:09:52.232Z] ---> Running in 9d7869ad2cd1 [2022-10-06T04:09:52.232Z] Removing intermediate container 9d7869ad2cd1 [2022-10-06T04:09:52.232Z] ---> 30d763c386ce [2022-10-06T04:09:52.232Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-06T04:09:52.232Z] Successfully built 30d763c386ce [2022-10-06T04:09:52.232Z] 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-10-06T04:09:53.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T04:09:53.074Z] [2022-10-06T04:09:53.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:09:53.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T04:09:53.494Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-06T04:09:53.494Z] 5eb5b503b376: Pulling fs layer [2022-10-06T04:09:53.494Z] 5c69ac0246d0: Pulling fs layer [2022-10-06T04:09:53.494Z] ec43610c2a17: Pulling fs layer [2022-10-06T04:09:53.494Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-06T04:09:53.494Z] 33b1e0a273af: Pulling fs layer [2022-10-06T04:09:53.494Z] 5d3b04190fa2: Pulling fs layer [2022-10-06T04:09:53.494Z] 2f39f015ded8: Pulling fs layer [2022-10-06T04:09:53.494Z] 33b1e0a273af: Waiting [2022-10-06T04:09:53.494Z] 5d3b04190fa2: Waiting [2022-10-06T04:09:53.494Z] 2f39f015ded8: Waiting [2022-10-06T04:09:53.494Z] 3a2ae6a8a46f: Waiting [2022-10-06T04:09:53.494Z] 5c69ac0246d0: Verifying Checksum [2022-10-06T04:09:53.494Z] 5c69ac0246d0: Download complete [2022-10-06T04:09:53.494Z] 3a2ae6a8a46f: Download complete [2022-10-06T04:09:53.768Z] 33b1e0a273af: Verifying Checksum [2022-10-06T04:09:53.768Z] 33b1e0a273af: Download complete [2022-10-06T04:09:53.768Z] 5d3b04190fa2: Verifying Checksum [2022-10-06T04:09:53.768Z] 5d3b04190fa2: Download complete [2022-10-06T04:09:53.768Z] ec43610c2a17: Verifying Checksum [2022-10-06T04:09:53.768Z] ec43610c2a17: Download complete [2022-10-06T04:09:53.768Z] 5eb5b503b376: Verifying Checksum [2022-10-06T04:09:53.768Z] 5eb5b503b376: Download complete [2022-10-06T04:09:54.761Z] 2f39f015ded8: Verifying Checksum [2022-10-06T04:09:54.761Z] 2f39f015ded8: Download complete [2022-10-06T04:09:55.036Z] 5eb5b503b376: Pull complete [2022-10-06T04:09:55.036Z] 5c69ac0246d0: Pull complete [2022-10-06T04:09:55.306Z] ec43610c2a17: Pull complete [2022-10-06T04:09:55.570Z] 3a2ae6a8a46f: Pull complete [2022-10-06T04:09:55.570Z] 33b1e0a273af: Pull complete [2022-10-06T04:09:55.829Z] 5d3b04190fa2: Pull complete [2022-10-06T04:09:59.158Z] 2f39f015ded8: Pull complete [2022-10-06T04:09:59.158Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-06T04:09:59.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T04:09:59.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:09:59.356Z] prd-ubuntu20.04-docker-8c-8g-7244 does not seem to be running inside a container [2022-10-06T04:09:59.386Z] $ 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-1229 -v /w/workspace/gexfoundry_device-sdk-go_PR-1229:/w/workspace/gexfoundry_device-sdk-go_PR-1229:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1229@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:latest cat [2022-10-06T04:10:04.289Z] $ docker top 5144bc21b4871db227cb552e9955cc0be3e329f335a197792821db796d58c1a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:10:04.708Z] ---> job-cost.sh [2022-10-06T04:10:04.708Z] lf-activate-venv: SKIPPING [2022-10-06T04:10:04.708Z] INFO: No Stack... [2022-10-06T04:10:04.967Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T04:10:05.229Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T04:10:05.539Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives/cost.csv [2022-10-06T04:10:05.539Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T04:10:05.575Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] [2022-10-06T04:10:05.580Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] did not exist. Created. [2022-10-06T04:10:05.580Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T04:10:05.959Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-06T04:10:06.011Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T04:10:06.034Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T04:10:06.115Z] $ docker stop --time=1 5144bc21b4871db227cb552e9955cc0be3e329f335a197792821db796d58c1a2 [2022-10-06T04:10:07.324Z] $ docker rm -f 5144bc21b4871db227cb552e9955cc0be3e329f335a197792821db796d58c1a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T04:10:41.453Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7247 in /w/workspace/gexfoundry_device-sdk-go_PR-1229 [Pipeline] { [Pipeline] ws [2022-10-06T04:10:41.491Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-06T04:10:41.607Z] The recommended git tool is: git [2022-10-06T04:10:50.171Z] using credential edgex-jenkins-ssh [2022-10-06T04:10:50.193Z] Cloning the remote Git repository [2022-10-06T04:10:50.256Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-06T04:10:50.391Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-06T04:10:50.569Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-06T04:10:50.570Z] > git --version # timeout=10 [2022-10-06T04:10:50.594Z] > git --version # 'git version 2.25.1' [2022-10-06T04:10:50.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T04:10:50.675Z] Verifying host key using known hosts file [2022-10-06T04:10:50.900Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T04:10:50.913Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T04:10:52.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-06T04:10:52.495Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T04:10:53.420Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-06T04:10:53.497Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-06T04:10:53.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T04:10:53.504Z] Verifying host key using known hosts file [2022-10-06T04:10:53.512Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T04:10:53.524Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1229/head:refs/remotes/origin/PR-1229 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-06T04:10:54.126Z] Merging remotes/origin/main commit 71d557e94127766e3dd7859e57e7c834f188cfad into PR head commit a528ab06ee98ec1da46e4224911058fb396f8bdf [2022-10-06T04:10:54.396Z] Merge succeeded, producing a528ab06ee98ec1da46e4224911058fb396f8bdf [2022-10-06T04:10:54.396Z] Checking out Revision a528ab06ee98ec1da46e4224911058fb396f8bdf (PR-1229) [2022-10-06T04:10:54.954Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-10-06T04:10:55.021Z] > git --version # timeout=10 [2022-10-06T04:10:55.034Z] > git --version # 'git version 2.25.1' [2022-10-06T04:10:55.051Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T04:10:54.154Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T04:10:54.173Z] > git checkout -f a528ab06ee98ec1da46e4224911058fb396f8bdf # timeout=10 [2022-10-06T04:10:54.298Z] > git remote # timeout=10 [2022-10-06T04:10:54.316Z] > git config --get remote.origin.url # timeout=10 [2022-10-06T04:10:54.338Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T04:10:54.343Z] Verifying host key using known hosts file [2022-10-06T04:10:54.347Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T04:10:54.356Z] > git merge 71d557e94127766e3dd7859e57e7c834f188cfad # timeout=10 [2022-10-06T04:10:54.386Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-06T04:10:54.412Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T04:10:54.425Z] > git checkout -f a528ab06ee98ec1da46e4224911058fb396f8bdf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T04:10:56.196Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-06T04:10:56.196Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-06T04:10:56.196Z] Dload Upload Total Spent Left Speed [2022-10-06T04:10:56.196Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh [2022-10-06T04:10:56.901Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-06T04:10:57.251Z] + sudo tee /etc/docker/daemon.new [2022-10-06T04:10:57.251Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-06T04:10:57.251Z] { [2022-10-06T04:10:57.251Z] "registry-mirrors": [ [2022-10-06T04:10:57.251Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-06T04:10:57.251Z] ], [2022-10-06T04:10:57.251Z] "bip": "10.250.0.254/24", [2022-10-06T04:10:57.251Z] "hosts": [ [2022-10-06T04:10:57.251Z] "tcp://0.0.0.0:5555", [2022-10-06T04:10:57.251Z] "unix:///var/run/docker.sock" [2022-10-06T04:10:57.251Z] ], [2022-10-06T04:10:57.251Z] "mtu": 1458, [2022-10-06T04:10:57.251Z] "selinux-enabled": true, [2022-10-06T04:10:57.251Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-06T04:10:57.251Z] } [Pipeline] sh [2022-10-06T04:10:57.593Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-06T04:10:57.949Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T04:11:16.271Z] provisioning config files... [2022-10-06T04:11:16.298Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16517451808718618552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:11:16.681Z] ---> docker-login.sh [2022-10-06T04:11:16.681Z] nexus3.edgexfoundry.org:10001 [2022-10-06T04:11:17.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:11:18.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:11:18.040Z] Configure a credential helper to remove this warning. See [2022-10-06T04:11:18.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:11:18.040Z] [2022-10-06T04:11:18.040Z] Login Succeeded [2022-10-06T04:11:18.040Z] nexus3.edgexfoundry.org:10002 [2022-10-06T04:11:18.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:11:18.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:11:18.310Z] Configure a credential helper to remove this warning. See [2022-10-06T04:11:18.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:11:18.310Z] [2022-10-06T04:11:18.310Z] Login Succeeded [2022-10-06T04:11:18.310Z] nexus3.edgexfoundry.org:10003 [2022-10-06T04:11:18.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:11:18.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:11:18.857Z] Configure a credential helper to remove this warning. See [2022-10-06T04:11:18.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:11:18.857Z] [2022-10-06T04:11:18.857Z] Login Succeeded [2022-10-06T04:11:18.857Z] nexus3.edgexfoundry.org:10004 [2022-10-06T04:11:19.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:11:19.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:11:19.127Z] Configure a credential helper to remove this warning. See [2022-10-06T04:11:19.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:11:19.127Z] [2022-10-06T04:11:19.127Z] Login Succeeded [2022-10-06T04:11:19.127Z] docker.io [2022-10-06T04:11:19.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:11:19.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:11:19.981Z] Configure a credential helper to remove this warning. See [2022-10-06T04:11:19.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:11:19.981Z] [2022-10-06T04:11:19.981Z] Login Succeeded [2022-10-06T04:11:19.981Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T04:11:20.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T04:11:20.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T04:11:20.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T04:11:20.355Z] ========================================================= [2022-10-06T04:11:20.355Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-06T04:11:20.355Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:11:20.844Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-06T04:11:21.113Z] Sending build context to Docker daemon 5.364MB [2022-10-06T04:11:21.113Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T04:11:21.113Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-06T04:11:21.385Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-06T04:11:21.385Z] b3c136eddcbf: Pulling fs layer [2022-10-06T04:11:21.385Z] c0a3192eca97: Pulling fs layer [2022-10-06T04:11:21.385Z] a050256f5b6f: Pulling fs layer [2022-10-06T04:11:21.385Z] 656be50a0ddc: Pulling fs layer [2022-10-06T04:11:21.385Z] 2bbca73fdf42: Pulling fs layer [2022-10-06T04:11:21.385Z] f607e4fc86c3: Pulling fs layer [2022-10-06T04:11:21.385Z] 4d572c569a2c: Pulling fs layer [2022-10-06T04:11:21.385Z] fcf976331f73: Pulling fs layer [2022-10-06T04:11:21.385Z] 656be50a0ddc: Waiting [2022-10-06T04:11:21.385Z] 2bbca73fdf42: Waiting [2022-10-06T04:11:21.385Z] f607e4fc86c3: Waiting [2022-10-06T04:11:21.385Z] 4d572c569a2c: Waiting [2022-10-06T04:11:21.385Z] fcf976331f73: Waiting [2022-10-06T04:11:21.386Z] a050256f5b6f: Download complete [2022-10-06T04:11:21.386Z] c0a3192eca97: Verifying Checksum [2022-10-06T04:11:21.386Z] c0a3192eca97: Download complete [2022-10-06T04:11:21.386Z] 2bbca73fdf42: Verifying Checksum [2022-10-06T04:11:21.386Z] 2bbca73fdf42: Download complete [2022-10-06T04:11:21.386Z] f607e4fc86c3: Download complete [2022-10-06T04:11:21.386Z] b3c136eddcbf: Verifying Checksum [2022-10-06T04:11:21.386Z] b3c136eddcbf: Download complete [2022-10-06T04:11:22.360Z] b3c136eddcbf: Pull complete [2022-10-06T04:11:22.630Z] fcf976331f73: Verifying Checksum [2022-10-06T04:11:22.630Z] fcf976331f73: Download complete [2022-10-06T04:11:22.904Z] c0a3192eca97: Pull complete [2022-10-06T04:11:23.172Z] a050256f5b6f: Pull complete [2022-10-06T04:11:23.757Z] 4d572c569a2c: Verifying Checksum [2022-10-06T04:11:23.757Z] 4d572c569a2c: Download complete [2022-10-06T04:11:24.406Z] 656be50a0ddc: Verifying Checksum [2022-10-06T04:11:24.406Z] 656be50a0ddc: Download complete [2022-10-06T04:11:36.749Z] 656be50a0ddc: Pull complete [2022-10-06T04:11:36.749Z] 2bbca73fdf42: Pull complete [2022-10-06T04:11:36.749Z] f607e4fc86c3: Pull complete [2022-10-06T04:11:42.112Z] 4d572c569a2c: Pull complete [2022-10-06T04:11:43.080Z] fcf976331f73: Pull complete [2022-10-06T04:11:43.080Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-06T04:11:43.080Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-06T04:11:43.080Z] ---> 3970a7415f9e [2022-10-06T04:11:43.080Z] Step 3/11 : ARG MAKE=make build [2022-10-06T04:11:45.044Z] ---> Running in 806677d42de3 [2022-10-06T04:11:45.316Z] Removing intermediate container 806677d42de3 [2022-10-06T04:11:45.316Z] ---> b0de64ff56c8 [2022-10-06T04:11:45.316Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-06T04:11:45.590Z] ---> Running in 13718823535c [2022-10-06T04:11:45.858Z] Removing intermediate container 13718823535c [2022-10-06T04:11:45.858Z] ---> e5567de99060 [2022-10-06T04:11:45.858Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T04:11:45.858Z] ---> Running in b595b0cde69a [2022-10-06T04:11:46.126Z] Removing intermediate container b595b0cde69a [2022-10-06T04:11:46.126Z] ---> ff3ecd200556 [2022-10-06T04:11:46.126Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T04:11:46.126Z] ---> Running in 43e56395c22b [2022-10-06T04:11:48.080Z] Removing intermediate container 43e56395c22b [2022-10-06T04:11:48.080Z] ---> 018b09530c91 [2022-10-06T04:11:48.080Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-06T04:11:48.080Z] ---> Running in e565f5bd147c [2022-10-06T04:11:49.042Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T04:11:50.003Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T04:11:50.965Z] OK: 221 MiB in 51 packages [2022-10-06T04:11:52.933Z] Removing intermediate container e565f5bd147c [2022-10-06T04:11:52.933Z] ---> 31ba26851a7d [2022-10-06T04:11:52.933Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-06T04:11:53.517Z] ---> 899b333e017f [2022-10-06T04:11:53.517Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T04:11:53.517Z] ---> Running in c3ab27cdf6e8 [2022-10-06T04:12:49.929Z] Removing intermediate container c3ab27cdf6e8 [2022-10-06T04:12:49.929Z] ---> f62bfcffe1f6 [2022-10-06T04:12:49.929Z] Step 10/11 : COPY . . [2022-10-06T04:12:49.929Z] ---> 524a947e831b [2022-10-06T04:12:49.929Z] Step 11/11 : RUN ${MAKE} [2022-10-06T04:12:49.929Z] ---> Running in 285fb7053b90 [2022-10-06T04:12:49.929Z] noop [2022-10-06T04:12:49.929Z] Removing intermediate container 285fb7053b90 [2022-10-06T04:12:49.929Z] ---> f7ab801210a3 [2022-10-06T04:12:49.929Z] Successfully built f7ab801210a3 [2022-10-06T04:12:49.929Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:12:50.409Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T04:12:50.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:12:50.675Z] prd-ubuntu20.04-docker-arm64-4c-16g-7247 does not seem to be running inside a container [2022-10-06T04:12:50.756Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-06T04:12:52.033Z] $ docker top 3d3d493bcc4876b142986fc216d35d55cc21bef82e203104958643115aabb974 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T04:12:52.917Z] + go version [2022-10-06T04:12:52.917Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-06T04:12:52.964Z] $ docker stop --time=1 3d3d493bcc4876b142986fc216d35d55cc21bef82e203104958643115aabb974 [2022-10-06T04:12:54.610Z] $ docker rm -f 3d3d493bcc4876b142986fc216d35d55cc21bef82e203104958643115aabb974 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:12:55.475Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T04:12:55.475Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:12:55.726Z] prd-ubuntu20.04-docker-arm64-4c-16g-7247 does not seem to be running inside a container [2022-10-06T04:12:55.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-06T04:12:57.059Z] $ docker top d390ea6fa55d64391bdd05628529290e07b03704428254e43645753654ed5bdb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T04:12:57.949Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-06T04:12:58.649Z] + make test [2022-10-06T04:12:58.649Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-06T04:13:37.539Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-06T04:15:44.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-06T04:15:44.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-06T04:15:44.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-06T04:15:44.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-06T04:15:44.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-06T04:15:44.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.263s coverage: 27.6% of statements [2022-10-06T04:15:44.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.326s coverage: 78.9% of statements [2022-10-06T04:15:44.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-06T04:15:44.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.396s coverage: 60.0% of statements [2022-10-06T04:15:44.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-06T04:15:44.536Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-06T04:15:47.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.728s coverage: 54.4% of statements [2022-10-06T04:15:47.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-06T04:15:47.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-06T04:15:47.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-06T04:15:47.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-06T04:15:49.329Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.482s coverage: 65.1% of statements [2022-10-06T04:15:49.329Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-06T04:15:49.329Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-06T04:15:51.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.325s coverage: 89.2% of statements [2022-10-06T04:15:51.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-06T04:15:53.244Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.284s coverage: 4.7% of statements [2022-10-06T04:15:53.244Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-06T04:15:54.215Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-06T04:15:54.215Z] GO111MODULE=on go vet ./... [2022-10-06T04:17:46.110Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T04:17:46.110Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T04:17:46.110Z] ./bin/test-attribution-txt.sh [2022-10-06T04:17:46.110Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-06T04:17:46.110Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-06T04:17:46.110Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-06T04:17:46.110Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-06T04:17:46.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-06T04:17:46.192Z] $ docker stop --time=1 d390ea6fa55d64391bdd05628529290e07b03704428254e43645753654ed5bdb [2022-10-06T04:17:48.083Z] $ docker rm -f d390ea6fa55d64391bdd05628529290e07b03704428254e43645753654ed5bdb [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T04:17:49.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-06T04:17:49.652Z] Warning: overwriting stash ‘coverage-report’ [2022-10-06T04:17:50.243Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T04:17:50.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-06T04:17:51.213Z] + ls -al . [2022-10-06T04:17:51.213Z] total 272 [2022-10-06T04:17:51.213Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 04:12 . [2022-10-06T04:17:51.213Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:10 .. [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 04:10 .dockerignore [2022-10-06T04:17:51.213Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:10 .git [2022-10-06T04:17:51.213Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:10 .github [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 6 04:10 .gitignore [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 6 04:10 .golangci.yml [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 6 04:10 CHANGELOG.md [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:10 GOVERNANCE.md [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 6 04:10 Jenkinsfile [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 04:10 LICENSE [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 6 04:10 Makefile [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 6 04:10 OWNERS.md [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 6 04:10 README.md [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:07 VERSION [2022-10-06T04:17:51.213Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:10 bin [2022-10-06T04:17:51.213Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 6 04:15 coverage.out [2022-10-06T04:17:51.213Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 04:10 example [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 6 04:10 go.mod [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 6 04:10 go.sum [2022-10-06T04:17:51.213Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 6 04:10 internal [2022-10-06T04:17:51.213Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:10 openapi [2022-10-06T04:17:51.213Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 6 04:10 pkg [2022-10-06T04:17:51.213Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:10 snap [2022-10-06T04:17:51.213Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:17:51.633Z] + 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=a528ab06ee98ec1da46e4224911058fb396f8bdf --label arch=arm64 --label version=0.0.0 . [2022-10-06T04:17:51.905Z] Sending build context to Docker daemon 5.466MB [2022-10-06T04:17:52.176Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T04:17:52.176Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-06T04:17:52.176Z] ---> f7ab801210a3 [2022-10-06T04:17:52.176Z] Step 3/25 : ARG MAKE=make build [2022-10-06T04:17:52.176Z] ---> Running in e5f6e6c6fa34 [2022-10-06T04:17:52.460Z] Removing intermediate container e5f6e6c6fa34 [2022-10-06T04:17:52.460Z] ---> 1121e1126176 [2022-10-06T04:17:52.460Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-06T04:17:52.729Z] ---> Running in e3c5a899e3f6 [2022-10-06T04:17:53.091Z] Removing intermediate container e3c5a899e3f6 [2022-10-06T04:17:53.091Z] ---> 5774d57a3da8 [2022-10-06T04:17:53.091Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T04:17:53.091Z] ---> Running in 2b093b4139bb [2022-10-06T04:17:53.399Z] Removing intermediate container 2b093b4139bb [2022-10-06T04:17:53.399Z] ---> d96ac482fdff [2022-10-06T04:17:53.399Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T04:17:53.673Z] ---> Running in c6f341878e22 [2022-10-06T04:17:55.700Z] Removing intermediate container c6f341878e22 [2022-10-06T04:17:55.700Z] ---> 59ea5253c8d1 [2022-10-06T04:17:55.700Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-06T04:17:55.700Z] ---> Running in c70fb7dd82b0 [2022-10-06T04:17:56.686Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T04:17:57.655Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T04:17:58.624Z] OK: 221 MiB in 51 packages [2022-10-06T04:17:59.594Z] Removing intermediate container c70fb7dd82b0 [2022-10-06T04:17:59.594Z] ---> dd1cc5dce924 [2022-10-06T04:17:59.594Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-06T04:18:00.184Z] ---> 4f41d0e16356 [2022-10-06T04:18:00.184Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T04:18:00.184Z] ---> Running in 0e0a7d7a5ec7 [2022-10-06T04:18:02.777Z] Removing intermediate container 0e0a7d7a5ec7 [2022-10-06T04:18:02.777Z] ---> 23d991d52aef [2022-10-06T04:18:02.777Z] Step 10/25 : COPY . . [2022-10-06T04:18:03.743Z] ---> 8e6b8133c56c [2022-10-06T04:18:03.743Z] Step 11/25 : RUN ${MAKE} [2022-10-06T04:18:03.743Z] ---> Running in 14663a929e62 [2022-10-06T04:18:04.712Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-06T04:20:41.479Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-06T04:20:41.479Z] Removing intermediate container 14663a929e62 [2022-10-06T04:20:41.479Z] ---> cde3320d4fbd [2022-10-06T04:20:41.479Z] Step 12/25 : FROM alpine:3.16 [2022-10-06T04:20:41.479Z] 3.16: Pulling from library/alpine [2022-10-06T04:20:41.479Z] 9b18e9b68314: Pulling fs layer [2022-10-06T04:20:41.479Z] 9b18e9b68314: Verifying Checksum [2022-10-06T04:20:41.479Z] 9b18e9b68314: Download complete [2022-10-06T04:20:41.479Z] 9b18e9b68314: Pull complete [2022-10-06T04:20:41.479Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-06T04:20:41.479Z] Status: Downloaded newer image for alpine:3.16 [2022-10-06T04:20:41.479Z] ---> a6215f271958 [2022-10-06T04:20:41.479Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-06T04:20:41.749Z] ---> Running in 7ba36c98e625 [2022-10-06T04:20:42.019Z] Removing intermediate container 7ba36c98e625 [2022-10-06T04:20:42.019Z] ---> 4b8aa8e91f5c [2022-10-06T04:20:42.019Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T04:20:42.287Z] ---> Running in 925f0bc2dc3d [2022-10-06T04:20:44.240Z] Removing intermediate container 925f0bc2dc3d [2022-10-06T04:20:44.240Z] ---> 96c416869cca [2022-10-06T04:20:44.240Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-06T04:20:44.240Z] ---> Running in d0a6624334db [2022-10-06T04:20:45.204Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T04:20:45.788Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T04:20:47.202Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-06T04:20:47.202Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-06T04:20:47.202Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-06T04:20:47.470Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-06T04:20:47.470Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-06T04:20:47.739Z] Executing busybox-1.35.0-r17.trigger [2022-10-06T04:20:47.739Z] OK: 8 MiB in 19 packages [2022-10-06T04:20:48.703Z] Removing intermediate container d0a6624334db [2022-10-06T04:20:48.703Z] ---> c34d3682005f [2022-10-06T04:20:48.703Z] Step 16/25 : WORKDIR / [2022-10-06T04:20:48.703Z] ---> Running in dae79a836aff [2022-10-06T04:20:48.973Z] Removing intermediate container dae79a836aff [2022-10-06T04:20:48.973Z] ---> b4304d2cffb0 [2022-10-06T04:20:48.973Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-06T04:20:49.562Z] ---> dc0d155a1dc7 [2022-10-06T04:20:49.562Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-06T04:20:51.514Z] ---> e621a08ac16f [2022-10-06T04:20:51.514Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-06T04:20:51.783Z] ---> 682c43295e5d [2022-10-06T04:20:51.783Z] Step 20/25 : EXPOSE 59999 [2022-10-06T04:20:51.783Z] ---> Running in c37d385f9dd8 [2022-10-06T04:20:52.053Z] Removing intermediate container c37d385f9dd8 [2022-10-06T04:20:52.053Z] ---> c852ef416fcf [2022-10-06T04:20:52.053Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-06T04:20:52.321Z] ---> Running in 13016a3fd56c [2022-10-06T04:20:52.592Z] Removing intermediate container 13016a3fd56c [2022-10-06T04:20:52.592Z] ---> b7616c7cbb6d [2022-10-06T04:20:52.592Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-06T04:20:52.592Z] ---> Running in 99158bc0b0ba [2022-10-06T04:20:52.861Z] Removing intermediate container 99158bc0b0ba [2022-10-06T04:20:52.861Z] ---> 33e27f4246c7 [2022-10-06T04:20:52.861Z] Step 23/25 : LABEL arch=arm64 [2022-10-06T04:20:53.129Z] ---> Running in 57dcbe8fc05b [2022-10-06T04:20:53.399Z] Removing intermediate container 57dcbe8fc05b [2022-10-06T04:20:53.399Z] ---> b5859c9d3729 [2022-10-06T04:20:53.399Z] Step 24/25 : LABEL git_sha=a528ab06ee98ec1da46e4224911058fb396f8bdf [2022-10-06T04:20:53.399Z] ---> Running in d6ada5cd9784 [2022-10-06T04:20:53.669Z] Removing intermediate container d6ada5cd9784 [2022-10-06T04:20:53.669Z] ---> 9b776a3df066 [2022-10-06T04:20:53.669Z] Step 25/25 : LABEL version=0.0.0 [2022-10-06T04:20:53.938Z] ---> Running in 1668fdaaffb5 [2022-10-06T04:20:54.206Z] Removing intermediate container 1668fdaaffb5 [2022-10-06T04:20:54.206Z] ---> e8ac5199fde6 [2022-10-06T04:20:54.206Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-06T04:20:54.206Z] Successfully built e8ac5199fde6 [2022-10-06T04:20:54.206Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:20:54.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T04:20:54.988Z] [2022-10-06T04:20:54.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:20:55.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T04:20:55.665Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-06T04:20:55.665Z] 8998bd30e6a1: Pulling fs layer [2022-10-06T04:20:55.665Z] 04944245beec: Pulling fs layer [2022-10-06T04:20:55.665Z] 699f458cf7ca: Pulling fs layer [2022-10-06T04:20:55.665Z] 765212b225bb: Pulling fs layer [2022-10-06T04:20:55.665Z] f23df028b6ca: Pulling fs layer [2022-10-06T04:20:55.665Z] d65c8cfc05b1: Pulling fs layer [2022-10-06T04:20:55.665Z] 2437ff75d9bd: Pulling fs layer [2022-10-06T04:20:55.665Z] 765212b225bb: Waiting [2022-10-06T04:20:55.665Z] f23df028b6ca: Waiting [2022-10-06T04:20:55.665Z] d65c8cfc05b1: Waiting [2022-10-06T04:20:55.665Z] 2437ff75d9bd: Waiting [2022-10-06T04:20:55.665Z] 04944245beec: Verifying Checksum [2022-10-06T04:20:55.665Z] 04944245beec: Download complete [2022-10-06T04:20:55.665Z] 765212b225bb: Verifying Checksum [2022-10-06T04:20:55.665Z] 765212b225bb: Download complete [2022-10-06T04:20:55.665Z] f23df028b6ca: Verifying Checksum [2022-10-06T04:20:55.665Z] f23df028b6ca: Download complete [2022-10-06T04:20:55.665Z] d65c8cfc05b1: Verifying Checksum [2022-10-06T04:20:55.665Z] d65c8cfc05b1: Download complete [2022-10-06T04:20:55.936Z] 699f458cf7ca: Verifying Checksum [2022-10-06T04:20:56.524Z] 8998bd30e6a1: Verifying Checksum [2022-10-06T04:20:56.524Z] 8998bd30e6a1: Download complete [2022-10-06T04:20:59.115Z] 2437ff75d9bd: Verifying Checksum [2022-10-06T04:20:59.115Z] 2437ff75d9bd: Download complete [2022-10-06T04:21:00.530Z] 8998bd30e6a1: Pull complete [2022-10-06T04:21:01.115Z] 04944245beec: Pull complete [2022-10-06T04:21:03.061Z] 699f458cf7ca: Pull complete [2022-10-06T04:21:03.330Z] 765212b225bb: Pull complete [2022-10-06T04:21:03.914Z] f23df028b6ca: Pull complete [2022-10-06T04:21:04.181Z] d65c8cfc05b1: Pull complete [2022-10-06T04:21:19.180Z] 2437ff75d9bd: Pull complete [2022-10-06T04:21:19.180Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-06T04:21:19.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T04:21:19.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:21:19.510Z] prd-ubuntu20.04-docker-arm64-4c-16g-7247 does not seem to be running inside a container [2022-10-06T04:21:19.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-06T04:21:22.387Z] $ docker top 150e2c1a2563feffa6e93f4cb6d164b3878199a391ab0412a0006d2b3322bd94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:21:23.269Z] ---> job-cost.sh [2022-10-06T04:21:23.269Z] lf-activate-venv: SKIPPING [2022-10-06T04:21:23.269Z] INFO: No Stack... [2022-10-06T04:21:23.853Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-06T04:21:24.812Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T04:21:25.475Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-06T04:21:25.475Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T04:21:25.530Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] [2022-10-06T04:21:25.535Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] did not exist. Created. [2022-10-06T04:21:25.535Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T04:21:26.270Z] /w/workspace/device-sdk-go/1@tmp/durable-8600850d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-06T04:21:26.940Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-06T04:21:26.973Z] Warning: overwriting stash ‘stack-cost’ [2022-10-06T04:21:27.038Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T04:21:27.054Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1229-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T04:21:27.136Z] $ docker stop --time=1 150e2c1a2563feffa6e93f4cb6d164b3878199a391ab0412a0006d2b3322bd94 [2022-10-06T04:21:28.674Z] $ docker rm -f 150e2c1a2563feffa6e93f4cb6d164b3878199a391ab0412a0006d2b3322bd94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-06T04:21:29.645Z] provisioning config files... [2022-10-06T04:21:29.657Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/config16812872951654158383tmp [Pipeline] { [Pipeline] sh [2022-10-06T04:21:29.984Z] + set +x [2022-10-06T04:21:29.984Z] + curl -s https://codecov.io/bash [2022-10-06T04:21:29.984Z] + bash -s -- [2022-10-06T04:21:29.984Z] [2022-10-06T04:21:29.984Z] _____ _ [2022-10-06T04:21:29.984Z] / ____| | | [2022-10-06T04:21:29.984Z] | | ___ __| | ___ ___ _____ __ [2022-10-06T04:21:29.984Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-06T04:21:29.984Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-06T04:21:29.984Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-06T04:21:29.984Z] Bash-1.0.6 [2022-10-06T04:21:29.984Z] [2022-10-06T04:21:29.984Z] [2022-10-06T04:21:29.984Z] ==> git version 2.25.1 found [2022-10-06T04:21:29.984Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-06T04:21:29.984Z] Release-Date: 2020-01-08 [2022-10-06T04:21:29.984Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-06T04:21:29.984Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-06T04:21:29.984Z] ==> Jenkins CI detected. [2022-10-06T04:21:29.984Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1229 [2022-10-06T04:21:29.984Z] project root: . [2022-10-06T04:21:29.984Z] --> token set from env [2022-10-06T04:21:29.984Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-06T04:21:29.984Z] ==> Running gcov in . (disable via -X gcov) [2022-10-06T04:21:29.984Z] ==> Python coveragepy not found [2022-10-06T04:21:29.984Z] ==> Searching for coverage reports in: [2022-10-06T04:21:29.984Z] + . [2022-10-06T04:21:29.984Z] -> Found 1 reports [2022-10-06T04:21:29.984Z] ==> Detecting git/mercurial file structure [2022-10-06T04:21:29.984Z] ==> Reading reports [2022-10-06T04:21:29.984Z] + ./coverage.out bytes=101009 [2022-10-06T04:21:29.984Z] ==> Appending adjustments [2022-10-06T04:21:29.984Z] https://docs.codecov.io/docs/fixing-reports [2022-10-06T04:21:30.243Z] + Found adjustments [2022-10-06T04:21:30.243Z] ==> Gzipping contents [2022-10-06T04:21:30.243Z] 16K /tmp/codecov.Tvnyfb.gz [2022-10-06T04:21:30.502Z] ==> Uploading reports [2022-10-06T04:21:30.502Z] url: https://codecov.io [2022-10-06T04:21:30.502Z] query: branch=PR-1229&commit=a528ab06ee98ec1da46e4224911058fb396f8bdf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1229%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1229&job=&cmd_args= [2022-10-06T04:21:30.502Z] -> Pinging Codecov [2022-10-06T04:21:30.502Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1229&commit=a528ab06ee98ec1da46e4224911058fb396f8bdf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1229%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1229&job=&cmd_args= [2022-10-06T04:21:30.763Z] -> Uploading to [2022-10-06T04:21:30.763Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-06/7E55EF52A471D76F132DFD9A03CDDE97/a528ab06ee98ec1da46e4224911058fb396f8bdf/6dc80373-e3d6-4db0-9723-12bc0a85aa2f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221006T042130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1356e833aefcce8e79992788f3f1f60f21223f166cbc03757a1aa18829e4ff1e [2022-10-06T04:21:30.763Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-06T04:21:30.763Z] Dload Upload Total Spent Left Speed [2022-10-06T04:21:31.022Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14601 0 0 100 14601 0 69199 --:--:-- --:--:-- --:--:-- 69199 [2022-10-06T04:21:31.022Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a528ab06ee98ec1da46e4224911058fb396f8bdf [Pipeline] } [2022-10-06T04:21:31.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-06T04:21:32.746Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives ] [2022-10-06T04:21:32.746Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives [2022-10-06T04:21:32.746Z] total 16 [2022-10-06T04:21:32.746Z] drwxr-xr-x 3 root root 4096 Oct 6 04:10 . [2022-10-06T04:21:32.746Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 6 04:10 .. [2022-10-06T04:21:32.746Z] drwxr-xr-x 2 root root 4096 Oct 6 04:10 cost [2022-10-06T04:21:32.746Z] -rw-r--r-- 1 root root 86 Oct 6 04:10 cost.csv [2022-10-06T04:21:32.746Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives [2022-10-06T04:21:32.746Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives [2022-10-06T04:21:32.746Z] total 16 [2022-10-06T04:21:32.746Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:10 . [2022-10-06T04:21:32.746Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 6 04:10 .. [2022-10-06T04:21:32.746Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 04:10 cost [2022-10-06T04:21:32.746Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 6 04:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:21:33.064Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:21:33.953Z] ---> package-listing.sh [2022-10-06T04:21:33.953Z] ++ facter osfamily [2022-10-06T04:21:33.953Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-06T04:21:34.212Z] + OS_FAMILY=debian [2022-10-06T04:21:34.212Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1229 [2022-10-06T04:21:34.212Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-06T04:21:34.212Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-06T04:21:34.212Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-06T04:21:34.212Z] + PACKAGES=/tmp/packages_start.txt [2022-10-06T04:21:34.212Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1229 ']' [2022-10-06T04:21:34.212Z] + PACKAGES=/tmp/packages_end.txt [2022-10-06T04:21:34.212Z] + case "${OS_FAMILY}" in [2022-10-06T04:21:34.212Z] + dpkg -l [2022-10-06T04:21:34.212Z] + grep '^ii' [2022-10-06T04:21:34.212Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-06T04:21:34.213Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-06T04:21:34.213Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-06T04:21:34.213Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1229 ']' [2022-10-06T04:21:34.213Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives/ [2022-10-06T04:21:34.213Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1229/archives/ [Pipeline] echo [2022-10-06T04:21:34.244Z] 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-1229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-06T04:21:34.550Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:21:35.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T04:21:35.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:21:35.308Z] prd-ubuntu20.04-docker-8c-8g-7244 does not seem to be running inside a container [2022-10-06T04:21:35.339Z] $ 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-1229/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-1229 -v /w/workspace/gexfoundry_device-sdk-go_PR-1229:/w/workspace/gexfoundry_device-sdk-go_PR-1229:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-06T04:21:35.538Z] $ docker top e6ebd02b434d26fd6961067f907d457aa43e0a144b12dd1b13d43cb111a97853 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T04:21:35.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-06T04:21:36.234Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-06T04:21:36.547Z] + ls /var/log/sa-host [2022-10-06T04:21:36.547Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T04:21:36.664Z] provisioning config files... [2022-10-06T04:21:36.674Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1229@tmp/config15858533608599550556tmp [Pipeline] { [Pipeline] echo [2022-10-06T04:21:36.722Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:21:37.030Z] ---> create-netrc.sh [Pipeline] } [2022-10-06T04:21:37.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:21:37.451Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-06T04:21:37.481Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:21:37.792Z] ---> sudo-logs.sh [2022-10-06T04:21:37.792Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-06T04:21:37.874Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:21:38.189Z] ---> job-cost.sh [2022-10-06T04:21:38.189Z] lf-activate-venv: SKIPPING [2022-10-06T04:21:38.189Z] DEBUG: total: 0.2199999988079071 [2022-10-06T04:21:38.189Z] INFO: Retrieving Stack Cost... [2022-10-06T04:21:38.762Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T04:21:39.333Z] INFO: Archiving Costs [Pipeline] echo [2022-10-06T04:21:39.364Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:21:39.674Z] ---> logs-deploy.sh [2022-10-06T04:21:39.674Z] lf-activate-venv: SKIPPING [2022-10-06T04:21:39.674Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1229/1 [2022-10-06T04:21:39.674Z] INFO: archiving workspace using pattern(s): [2022-10-06T04:21:40.612Z] Archives upload complete. [2022-10-06T04:21:40.612Z] INFO: archiving logs to Nexus