Pull request #1224 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca1effda2e49e13bc8030218052c86e178bc40c3+238ac69fab1befba96aeb5fe41e06f86e376d8a9 (8a0ced4cc5587d8d75dcd832aefda620c8d7eaa2) 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-ssh7884258400851290163.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-ssh14470159091914531393.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-1224/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-1224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh358840962987685043.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-1224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3928271130961917756.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-ssh13169019564469101647.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-1224/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-1224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7338002055898825535.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-5971 in /w/workspace/gexfoundry_device-sdk-go_PR-1224 [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-1224 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1224/head:refs/remotes/origin/PR-1224 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 238ac69fab1befba96aeb5fe41e06f86e376d8a9 into PR head commit ca1effda2e49e13bc8030218052c86e178bc40c3 Merge succeeded, producing ca1effda2e49e13bc8030218052c86e178bc40c3 Checking out Revision ca1effda2e49e13bc8030218052c86e178bc40c3 (PR-1224) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-30T04:19:52.422Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f ca1effda2e49e13bc8030218052c86e178bc40c3 # 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 238ac69fab1befba96aeb5fe41e06f86e376d8a9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca1effda2e49e13bc8030218052c86e178bc40c3 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-30T04:19:52.572Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-30T04:19:52.662Z] ========================================================= [2022-09-30T04:19:52.662Z] EdgeX Global Pipelines Version Info [2022-09-30T04:19:52.662Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:19:53.387Z] ------------------- [2022-09-30T04:19:53.387Z] stable info: [2022-09-30T04:19:53.387Z] ------------------- [2022-09-30T04:19:53.387Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-30T04:19:53.387Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-30T04:19:53.387Z] Message: update stable to v1.0.239 [2022-09-30T04:19:53.955Z] ------------------- [2022-09-30T04:19:53.955Z] experimental info: [2022-09-30T04:19:53.955Z] ------------------- [2022-09-30T04:19:53.955Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-30T04:19:53.955Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-30T04:19:53.955Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-30T04:19:54.268Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-30T04:19:54.310Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-30T04:19:54.348Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-30T04:19:54.388Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-30T04:19:54.427Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-30T04:19:54.467Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-30T04:19:54.510Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-30T04:19:54.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-30T04:19:54.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-30T04:19:54.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-30T04:19:54.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-30T04:19:54.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-30T04:19:54.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-30T04:19:54.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-30T04:19:54.843Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-30T04:19:54.883Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-30T04:19:54.921Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-30T04:19:54.960Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-30T04:19:54.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-30T04:19:55.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-30T04:19:55.079Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-30T04:19:55.121Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-30T04:19:55.163Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-30T04:19:55.196Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-30T04:19:55.231Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-30T04:19:55.268Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-30T04:19:55.302Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-30T04:19:55.347Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1224 [Pipeline] echo [2022-09-30T04:19:55.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1224 [Pipeline] echo [2022-09-30T04:19:55.421Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1224 [Pipeline] echo [2022-09-30T04:19:55.462Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca1effda2e49e13bc8030218052c86e178bc40c3 [Pipeline] echo [2022-09-30T04:19:55.503Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca1effd [Pipeline] echo [2022-09-30T04:19:55.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-30T04:19:55.657Z] provisioning config files... [2022-09-30T04:19:55.698Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config10609179599076777987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:19:56.034Z] ---> docker-login.sh [2022-09-30T04:19:56.034Z] nexus3.edgexfoundry.org:10001 [2022-09-30T04:19:56.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:19:56.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:19:56.553Z] Configure a credential helper to remove this warning. See [2022-09-30T04:19:56.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:19:56.553Z] [2022-09-30T04:19:56.553Z] Login Succeeded [2022-09-30T04:19:56.553Z] nexus3.edgexfoundry.org:10002 [2022-09-30T04:19:56.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:19:56.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:19:56.553Z] Configure a credential helper to remove this warning. See [2022-09-30T04:19:56.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:19:56.553Z] [2022-09-30T04:19:56.553Z] Login Succeeded [2022-09-30T04:19:56.553Z] nexus3.edgexfoundry.org:10003 [2022-09-30T04:19:56.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:19:56.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:19:56.814Z] Configure a credential helper to remove this warning. See [2022-09-30T04:19:56.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:19:56.814Z] [2022-09-30T04:19:56.814Z] Login Succeeded [2022-09-30T04:19:56.814Z] nexus3.edgexfoundry.org:10004 [2022-09-30T04:19:56.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:19:56.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:19:56.814Z] Configure a credential helper to remove this warning. See [2022-09-30T04:19:56.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:19:56.814Z] [2022-09-30T04:19:56.814Z] Login Succeeded [2022-09-30T04:19:56.814Z] docker.io [2022-09-30T04:19:56.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:19:57.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:19:57.382Z] Configure a credential helper to remove this warning. See [2022-09-30T04:19:57.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:19:57.382Z] [2022-09-30T04:19:57.382Z] Login Succeeded [2022-09-30T04:19:57.382Z] ---> docker-login.sh ends [Pipeline] } [2022-09-30T04:19:57.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-30T04:19:58.022Z] + git rev-list -1 --merges ca1effda2e49e13bc8030218052c86e178bc40c3~1..ca1effda2e49e13bc8030218052c86e178bc40c3 [Pipeline] echo [2022-09-30T04:19:58.078Z] -----------> git rev-list -1 --merges ca1effda2e49e13bc8030218052c86e178bc40c3~1..ca1effda2e49e13bc8030218052c86e178bc40c3 ca1effda2e49e13bc8030218052c86e178bc40c3 [false] [Pipeline] sh [2022-09-30T04:19:58.390Z] + git log --format=format:%s -1 ca1effda2e49e13bc8030218052c86e178bc40c3 [Pipeline] echo [2022-09-30T04:19:58.425Z] ========================================================= [2022-09-30T04:19:58.425Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-30T04:19:58.425Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-30T04:19:58.835Z] + git log --format=format:%s -1 ca1effda2e49e13bc8030218052c86e178bc40c3 [Pipeline] echo [2022-09-30T04:19:58.866Z] [semverPrep] GIT_COMMIT: ca1effda2e49e13bc8030218052c86e178bc40c3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-09-30T04:19:58.897Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-30T04:19:59.258Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-30T04:19:59.258Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-30T04:19:59.258Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-30T04:19:59.258Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-30T04:19:59.258Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-30T04:19:59.258Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-30T04:19:59.258Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:19:59.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-30T04:19:59.675Z] [2022-09-30T04:19:59.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:20:00.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-30T04:20:00.047Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-30T04:20:00.047Z] b85a868b505f: Pulling fs layer [2022-09-30T04:20:00.047Z] e2be974225ed: Pulling fs layer [2022-09-30T04:20:00.047Z] 339a4e72a1f5: Pulling fs layer [2022-09-30T04:20:00.047Z] 988bab9f4d93: Pulling fs layer [2022-09-30T04:20:00.047Z] 1469e6f7b9e6: Pulling fs layer [2022-09-30T04:20:00.047Z] eaf3925da568: Pulling fs layer [2022-09-30T04:20:00.047Z] bab4dde63d76: Pulling fs layer [2022-09-30T04:20:00.047Z] bde34c3a00c8: Pulling fs layer [2022-09-30T04:20:00.047Z] b352a97aabf1: Pulling fs layer [2022-09-30T04:20:00.047Z] eaf3925da568: Waiting [2022-09-30T04:20:00.047Z] 988bab9f4d93: Waiting [2022-09-30T04:20:00.047Z] bab4dde63d76: Waiting [2022-09-30T04:20:00.047Z] 1469e6f7b9e6: Waiting [2022-09-30T04:20:00.047Z] bde34c3a00c8: Waiting [2022-09-30T04:20:00.047Z] 4872d77fe225: Pulling fs layer [2022-09-30T04:20:00.047Z] b352a97aabf1: Waiting [2022-09-30T04:20:00.047Z] 5851b861e8e6: Pulling fs layer [2022-09-30T04:20:00.047Z] 4872d77fe225: Waiting [2022-09-30T04:20:00.047Z] 5851b861e8e6: Waiting [2022-09-30T04:20:00.047Z] e2be974225ed: Verifying Checksum [2022-09-30T04:20:00.047Z] e2be974225ed: Download complete [2022-09-30T04:20:00.047Z] 988bab9f4d93: Download complete [2022-09-30T04:20:00.307Z] 339a4e72a1f5: Download complete [2022-09-30T04:20:00.307Z] 1469e6f7b9e6: Verifying Checksum [2022-09-30T04:20:00.307Z] 1469e6f7b9e6: Download complete [2022-09-30T04:20:00.307Z] eaf3925da568: Verifying Checksum [2022-09-30T04:20:00.307Z] eaf3925da568: Download complete [2022-09-30T04:20:00.307Z] bde34c3a00c8: Verifying Checksum [2022-09-30T04:20:00.307Z] bde34c3a00c8: Download complete [2022-09-30T04:20:00.307Z] b352a97aabf1: Download complete [2022-09-30T04:20:00.307Z] 4872d77fe225: Download complete [2022-09-30T04:20:00.307Z] 5851b861e8e6: Download complete [2022-09-30T04:20:00.307Z] b85a868b505f: Verifying Checksum [2022-09-30T04:20:00.307Z] b85a868b505f: Download complete [2022-09-30T04:20:00.571Z] bab4dde63d76: Verifying Checksum [2022-09-30T04:20:00.571Z] bab4dde63d76: Download complete [2022-09-30T04:20:01.518Z] b85a868b505f: Pull complete [2022-09-30T04:20:01.778Z] e2be974225ed: Pull complete [2022-09-30T04:20:02.038Z] 339a4e72a1f5: Pull complete [2022-09-30T04:20:02.298Z] 988bab9f4d93: Pull complete [2022-09-30T04:20:02.557Z] 1469e6f7b9e6: Pull complete [2022-09-30T04:20:02.557Z] eaf3925da568: Pull complete [2022-09-30T04:20:04.461Z] bab4dde63d76: Pull complete [2022-09-30T04:20:04.461Z] bde34c3a00c8: Pull complete [2022-09-30T04:20:04.461Z] b352a97aabf1: Pull complete [2022-09-30T04:20:04.461Z] 4872d77fe225: Pull complete [2022-09-30T04:20:04.723Z] 5851b861e8e6: Pull complete [2022-09-30T04:20:04.723Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-30T04:20:04.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-30T04:20:04.723Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T04:20:04.945Z] prd-ubuntu20.04-docker-8c-8g-5971 does not seem to be running inside a container [2022-09-30T04:20:04.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1224 -v /w/workspace/gexfoundry_device-sdk-go_PR-1224:/w/workspace/gexfoundry_device-sdk-go_PR-1224:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1224@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-09-30T04:20:07.284Z] $ docker top 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 -eo pid,comm [2022-09-30T04:20:07.340Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-30T04:20:07.340Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-30T04:20:07.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-30T04:20:07.461Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-30T04:20:07.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-30T04:20:07.574Z] $ docker exec 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 ssh-agent [2022-09-30T04:20:07.695Z] SSH_AUTH_SOCK=/tmp/ssh-QEgaLcEzeWdm/agent.34 [2022-09-30T04:20:07.695Z] SSH_AGENT_PID=40 [2022-09-30T04:20:07.702Z] Running ssh-add (command line suppressed) [2022-09-30T04:20:07.815Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_14588591895070730955.key (/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_14588591895070730955.key) [2022-09-30T04:20:07.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-30T04:20:08.167Z] + git tag --points-at HEAD [Pipeline] } [2022-09-30T04:20:08.196Z] $ docker exec --env ******** --env ******** 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 ssh-agent -k [2022-09-30T04:20:08.294Z] unset SSH_AUTH_SOCK; [2022-09-30T04:20:08.295Z] unset SSH_AGENT_PID; [2022-09-30T04:20:08.295Z] echo Agent pid 40 killed; [2022-09-30T04:20:08.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-30T04:20:08.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-30T04:20:08.397Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-30T04:20:08.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-30T04:20:08.535Z] $ docker exec 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 ssh-agent [2022-09-30T04:20:08.637Z] SSH_AUTH_SOCK=/tmp/ssh-BOkHMS7qfX0Z/agent.72 [2022-09-30T04:20:08.637Z] SSH_AGENT_PID=78 [2022-09-30T04:20:08.642Z] Running ssh-add (command line suppressed) [2022-09-30T04:20:08.753Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_11361543722710312334.key (/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_11361543722710312334.key) [2022-09-30T04:20:08.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-30T04:20:09.097Z] + git semver init [2022-09-30T04:20:09.357Z] 2022-09-30 04:20:09,277 [run_init] DEBUG init version:0.0.0 force:False [2022-09-30T04:20:09.357Z] 2022-09-30 04:20:09,278 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver [2022-09-30T04:20:09.357Z] 2022-09-30 04:20:09,278 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver [2022-09-30T04:20:09.357Z] 2022-09-30 04:20:09,278 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1224, universal_newlines=False, shell=None, istream=None) [2022-09-30T04:20:10.736Z] 2022-09-30 04:20:10,311 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.git/info/exclude [2022-09-30T04:20:10.736Z] 2022-09-30 04:20:10,311 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver/PR-1224 with force:False [2022-09-30T04:20:10.736Z] 2022-09-30 04:20:10,311 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver/PR-1224 [2022-09-30T04:20:10.736Z] 2022-09-30 04:20:10,315 [execute] INFO git cat-file --batch-check [2022-09-30T04:20:10.736Z] 2022-09-30 04:20:10,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver, universal_newlines=False, shell=None, istream=) [2022-09-30T04:20:10.736Z] 2022-09-30 04:20:10,321 [execute] INFO git cat-file --batch [2022-09-30T04:20:10.736Z] 2022-09-30 04:20:10,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver, universal_newlines=False, shell=None, istream=) [2022-09-30T04:20:10.736Z] 2022-09-30 04:20:10,326 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver/PR-1224 [2022-09-30T04:20:10.736Z] 0.0.0 [Pipeline] } [2022-09-30T04:20:10.766Z] $ docker exec --env ******** --env ******** 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 ssh-agent -k [2022-09-30T04:20:10.862Z] unset SSH_AUTH_SOCK; [2022-09-30T04:20:10.863Z] unset SSH_AGENT_PID; [2022-09-30T04:20:10.863Z] echo Agent pid 78 killed; [2022-09-30T04:20:10.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-30T04:20:11.295Z] + git semver [Pipeline] } [2022-09-30T04:20:11.583Z] $ docker stop --time=1 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 [2022-09-30T04:20:12.869Z] $ docker rm -f 4808cbfc422083cae7d5a57de06fb892789cfd625a8f54e32c442d3cdc62ca70 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-30T04:20:13.260Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-30T04:20:13.491Z] Stashed 1 file(s) [Pipeline] echo [2022-09-30T04:20:13.508Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-30T04:20:14.082Z] provisioning config files... [2022-09-30T04:20:14.093Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config15625013028354192639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:20:14.440Z] ---> docker-login.sh [2022-09-30T04:20:14.440Z] nexus3.edgexfoundry.org:10001 [2022-09-30T04:20:14.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:20:14.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:20:14.440Z] Configure a credential helper to remove this warning. See [2022-09-30T04:20:14.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:20:14.440Z] [2022-09-30T04:20:14.440Z] Login Succeeded [2022-09-30T04:20:14.440Z] nexus3.edgexfoundry.org:10002 [2022-09-30T04:20:14.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:20:14.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:20:14.440Z] Configure a credential helper to remove this warning. See [2022-09-30T04:20:14.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:20:14.440Z] [2022-09-30T04:20:14.440Z] Login Succeeded [2022-09-30T04:20:14.440Z] nexus3.edgexfoundry.org:10003 [2022-09-30T04:20:14.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:20:14.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:20:14.700Z] Configure a credential helper to remove this warning. See [2022-09-30T04:20:14.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:20:14.700Z] [2022-09-30T04:20:14.700Z] Login Succeeded [2022-09-30T04:20:14.700Z] nexus3.edgexfoundry.org:10004 [2022-09-30T04:20:14.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:20:14.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:20:14.700Z] Configure a credential helper to remove this warning. See [2022-09-30T04:20:14.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:20:14.700Z] [2022-09-30T04:20:14.700Z] Login Succeeded [2022-09-30T04:20:14.700Z] docker.io [2022-09-30T04:20:14.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:20:15.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:20:15.270Z] Configure a credential helper to remove this warning. See [2022-09-30T04:20:15.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:20:15.270Z] [2022-09-30T04:20:15.270Z] Login Succeeded [2022-09-30T04:20:15.270Z] ---> docker-login.sh ends [Pipeline] } [2022-09-30T04:20:15.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-30T04:20:15.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-30T04:20:15.520Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-30T04:20:15.551Z] ========================================================= [2022-09-30T04:20:15.551Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-30T04:20:15.551Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:20:16.024Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-30T04:20:16.024Z] Sending build context to Docker daemon 9.935MB [2022-09-30T04:20:16.024Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-30T04:20:16.024Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-30T04:20:16.024Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-30T04:20:16.024Z] 2408cc74d12b: Pulling fs layer [2022-09-30T04:20:16.024Z] ea60b727a1ce: Pulling fs layer [2022-09-30T04:20:16.024Z] 30c4a7721957: Pulling fs layer [2022-09-30T04:20:16.024Z] 370296b7ddb6: Pulling fs layer [2022-09-30T04:20:16.024Z] 7c6cee850709: Pulling fs layer [2022-09-30T04:20:16.024Z] aa9baa53a306: Pulling fs layer [2022-09-30T04:20:16.024Z] 8b309c321861: Pulling fs layer [2022-09-30T04:20:16.024Z] d8d76fd02f46: Pulling fs layer [2022-09-30T04:20:16.024Z] fa31f396de31: Pulling fs layer [2022-09-30T04:20:16.024Z] 370296b7ddb6: Waiting [2022-09-30T04:20:16.024Z] 7c6cee850709: Waiting [2022-09-30T04:20:16.024Z] aa9baa53a306: Waiting [2022-09-30T04:20:16.024Z] 8b309c321861: Waiting [2022-09-30T04:20:16.024Z] fa31f396de31: Waiting [2022-09-30T04:20:16.024Z] 30c4a7721957: Verifying Checksum [2022-09-30T04:20:16.024Z] 30c4a7721957: Download complete [2022-09-30T04:20:16.024Z] ea60b727a1ce: Verifying Checksum [2022-09-30T04:20:16.024Z] ea60b727a1ce: Download complete [2022-09-30T04:20:16.287Z] 7c6cee850709: Verifying Checksum [2022-09-30T04:20:16.287Z] 7c6cee850709: Download complete [2022-09-30T04:20:16.287Z] aa9baa53a306: Verifying Checksum [2022-09-30T04:20:16.287Z] aa9baa53a306: Download complete [2022-09-30T04:20:16.287Z] 2408cc74d12b: Download complete [2022-09-30T04:20:16.287Z] 8b309c321861: Download complete [2022-09-30T04:20:16.287Z] 2408cc74d12b: Pull complete [2022-09-30T04:20:16.551Z] ea60b727a1ce: Pull complete [2022-09-30T04:20:16.551Z] 30c4a7721957: Pull complete [2022-09-30T04:20:16.812Z] fa31f396de31: Verifying Checksum [2022-09-30T04:20:16.812Z] fa31f396de31: Download complete [2022-09-30T04:20:17.071Z] 370296b7ddb6: Verifying Checksum [2022-09-30T04:20:17.071Z] 370296b7ddb6: Download complete [2022-09-30T04:20:17.071Z] d8d76fd02f46: Download complete [2022-09-30T04:20:21.258Z] 370296b7ddb6: Pull complete [2022-09-30T04:20:21.258Z] 7c6cee850709: Pull complete [2022-09-30T04:20:21.258Z] aa9baa53a306: Pull complete [2022-09-30T04:20:21.258Z] 8b309c321861: Pull complete [2022-09-30T04:20:22.630Z] d8d76fd02f46: Pull complete [2022-09-30T04:20:23.195Z] fa31f396de31: Pull complete [2022-09-30T04:20:23.454Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-09-30T04:20:23.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-30T04:20:23.454Z] ---> cef68f9685f8 [2022-09-30T04:20:23.454Z] Step 3/11 : ARG MAKE=make build [2022-09-30T04:20:26.739Z] ---> Running in 34e4911bb139 [2022-09-30T04:20:26.740Z] Removing intermediate container 34e4911bb139 [2022-09-30T04:20:26.740Z] ---> 2a5089b9d2ea [2022-09-30T04:20:26.740Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-30T04:20:26.740Z] ---> Running in 0cb51e287c11 [2022-09-30T04:20:26.740Z] Removing intermediate container 0cb51e287c11 [2022-09-30T04:20:26.740Z] ---> 3f83d076c4f5 [2022-09-30T04:20:26.740Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T04:20:26.740Z] ---> Running in d5cf2e92c3ff [2022-09-30T04:20:26.998Z] Removing intermediate container d5cf2e92c3ff [2022-09-30T04:20:26.998Z] ---> caf88b229807 [2022-09-30T04:20:26.998Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T04:20:26.998Z] ---> Running in 35c3b3a5f027 [2022-09-30T04:20:27.566Z] Removing intermediate container 35c3b3a5f027 [2022-09-30T04:20:27.566Z] ---> 3f7a14aa6cdc [2022-09-30T04:20:27.566Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-30T04:20:27.566Z] ---> Running in 87d96f15ad83 [2022-09-30T04:20:27.825Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-30T04:20:28.762Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-30T04:20:28.915Z] Still waiting to schedule task [2022-09-30T04:20:28.915Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-30T04:20:29.020Z] OK: 211 MiB in 51 packages [2022-09-30T04:20:29.279Z] Removing intermediate container 87d96f15ad83 [2022-09-30T04:20:29.279Z] ---> 4724b541e9d3 [2022-09-30T04:20:29.279Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-30T04:20:29.279Z] ---> 2a54016f1c26 [2022-09-30T04:20:29.279Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-30T04:20:29.279Z] ---> Running in 7c556f15a5d6 [2022-09-30T04:20:51.215Z] Removing intermediate container 7c556f15a5d6 [2022-09-30T04:20:51.215Z] ---> 14b53ee96daf [2022-09-30T04:20:51.215Z] Step 10/11 : COPY . . [2022-09-30T04:20:51.215Z] ---> f362a4b4c93b [2022-09-30T04:20:51.215Z] Step 11/11 : RUN ${MAKE} [2022-09-30T04:20:51.215Z] ---> Running in 515534ab4839 [2022-09-30T04:20:51.215Z] noop [2022-09-30T04:20:51.215Z] Removing intermediate container 515534ab4839 [2022-09-30T04:20:51.215Z] ---> 40e92eafef65 [2022-09-30T04:20:51.215Z] Successfully built 40e92eafef65 [2022-09-30T04:20:51.215Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:20:51.648Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-30T04:20:51.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T04:20:51.793Z] prd-ubuntu20.04-docker-8c-8g-5971 does not seem to be running inside a container [2022-09-30T04:20:51.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1224 -v /w/workspace/gexfoundry_device-sdk-go_PR-1224:/w/workspace/gexfoundry_device-sdk-go_PR-1224:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1224@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-09-30T04:20:52.207Z] $ docker top 08bfcdf8323a8dd0b9a6013c8ac601f17f003e8131e8c01da472cf5e5c251c9f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-30T04:20:52.607Z] + go version [2022-09-30T04:20:52.607Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-30T04:20:52.639Z] $ docker stop --time=1 08bfcdf8323a8dd0b9a6013c8ac601f17f003e8131e8c01da472cf5e5c251c9f [2022-09-30T04:20:53.909Z] $ docker rm -f 08bfcdf8323a8dd0b9a6013c8ac601f17f003e8131e8c01da472cf5e5c251c9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:20:54.624Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-30T04:20:54.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T04:20:54.770Z] prd-ubuntu20.04-docker-8c-8g-5971 does not seem to be running inside a container [2022-09-30T04:20:54.799Z] $ 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-1224 -v /w/workspace/gexfoundry_device-sdk-go_PR-1224:/w/workspace/gexfoundry_device-sdk-go_PR-1224:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1224@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-09-30T04:20:55.166Z] $ docker top b47423b61e55133c18a7e6d69f0eb714f2a581333aaa04558e1a96f94e3a7ec0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-30T04:20:55.557Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1224 [Pipeline] fileExists [Pipeline] sh [2022-09-30T04:20:55.910Z] + make test [2022-09-30T04:20:55.911Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-30T04:21:02.472Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-30T04:21:17.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements [2022-09-30T04:21:17.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-30T04:21:17.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.080s coverage: 60.0% of statements [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-30T04:21:17.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-30T04:21:17.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-30T04:21:17.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.758s coverage: 89.2% of statements [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-30T04:21:17.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-09-30T04:21:17.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-30T04:21:35.410Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-30T04:21:35.410Z] GO111MODULE=on go vet ./... [2022-09-30T04:21:35.977Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-30T04:21:35.977Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-30T04:21:35.977Z] ./bin/test-attribution-txt.sh [2022-09-30T04:21:35.977Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-30T04:21:35.977Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-30T04:21:35.977Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-30T04:21:35.977Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-30T04:21:36.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-30T04:21:36.047Z] $ docker stop --time=1 b47423b61e55133c18a7e6d69f0eb714f2a581333aaa04558e1a96f94e3a7ec0 [2022-09-30T04:21:39.679Z] $ docker rm -f b47423b61e55133c18a7e6d69f0eb714f2a581333aaa04558e1a96f94e3a7ec0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-30T04:21:40.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-30T04:21:40.296Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-30T04:21:40.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-30T04:21:41.219Z] + ls -al . [2022-09-30T04:21:41.219Z] total 276 [2022-09-30T04:21:41.219Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 04:20 . [2022-09-30T04:21:41.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:19 .. [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 04:19 .dockerignore [2022-09-30T04:21:41.219Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 04:21 .git [2022-09-30T04:21:41.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:19 .github [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 30 04:19 .gitignore [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 04:19 .golangci.yml [2022-09-30T04:21:41.219Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 04:20 .semver [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 30 04:19 CHANGELOG.md [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 04:19 GOVERNANCE.md [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 30 04:19 Jenkinsfile [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 04:19 LICENSE [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 30 04:19 Makefile [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 04:19 OWNERS.md [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 30 04:19 README.md [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 04:20 VERSION [2022-09-30T04:21:41.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:19 bin [2022-09-30T04:21:41.219Z] -rw-r--r-- 1 jenkins jenkins 100927 Sep 30 04:21 coverage.out [2022-09-30T04:21:41.219Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 04:19 example [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 30 04:19 go.mod [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 30 04:19 go.sum [2022-09-30T04:21:41.219Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 30 04:19 internal [2022-09-30T04:21:41.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 04:19 openapi [2022-09-30T04:21:41.219Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 04:19 pkg [2022-09-30T04:21:41.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:19 snap [2022-09-30T04:21:41.219Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:21:41.689Z] + 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=ca1effda2e49e13bc8030218052c86e178bc40c3 --label arch=amd64 --label version=0.0.0 . [2022-09-30T04:21:41.689Z] Sending build context to Docker daemon 10.04MB [2022-09-30T04:21:41.689Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-30T04:21:41.689Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-30T04:21:41.689Z] ---> 40e92eafef65 [2022-09-30T04:21:41.689Z] Step 3/25 : ARG MAKE=make build [2022-09-30T04:21:41.982Z] ---> Running in 3cb2f752d12b [2022-09-30T04:21:41.982Z] Removing intermediate container 3cb2f752d12b [2022-09-30T04:21:41.982Z] ---> 830b2c8cb8cf [2022-09-30T04:21:41.982Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-30T04:21:41.982Z] ---> Running in 05e37f772b37 [2022-09-30T04:21:41.982Z] Removing intermediate container 05e37f772b37 [2022-09-30T04:21:41.982Z] ---> 3fd1ff903594 [2022-09-30T04:21:41.982Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T04:21:42.335Z] ---> Running in 0721837f5e56 [2022-09-30T04:21:42.335Z] Removing intermediate container 0721837f5e56 [2022-09-30T04:21:42.335Z] ---> 0e18334c980c [2022-09-30T04:21:42.335Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T04:21:42.335Z] ---> Running in 6f38827094d8 [2022-09-30T04:21:42.936Z] Removing intermediate container 6f38827094d8 [2022-09-30T04:21:42.936Z] ---> 1462fc0e08fb [2022-09-30T04:21:42.936Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-30T04:21:42.936Z] ---> Running in 51262f0850d4 [2022-09-30T04:21:42.936Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-30T04:21:43.870Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-30T04:21:44.128Z] OK: 211 MiB in 51 packages [2022-09-30T04:21:44.694Z] Removing intermediate container 51262f0850d4 [2022-09-30T04:21:44.694Z] ---> f73d5b081c7a [2022-09-30T04:21:44.694Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-30T04:21:44.694Z] ---> f7cb5bfee830 [2022-09-30T04:21:44.694Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-30T04:21:44.694Z] ---> Running in a9cd7d0b2778 [2022-09-30T04:21:45.260Z] Removing intermediate container a9cd7d0b2778 [2022-09-30T04:21:45.260Z] ---> 5fe193d32b6e [2022-09-30T04:21:45.260Z] Step 10/25 : COPY . . [2022-09-30T04:21:45.825Z] ---> 9724a8a69f39 [2022-09-30T04:21:45.825Z] Step 11/25 : RUN ${MAKE} [2022-09-30T04:21:45.825Z] ---> Running in c622b0732cb0 [2022-09-30T04:21:46.082Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-30T04:22:04.163Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-30T04:22:06.691Z] Removing intermediate container c622b0732cb0 [2022-09-30T04:22:06.691Z] ---> 0705f66e30b0 [2022-09-30T04:22:06.691Z] Step 12/25 : FROM alpine:3.16 [2022-09-30T04:22:07.257Z] 3.16: Pulling from library/alpine [2022-09-30T04:22:07.514Z] 213ec9aee27d: Pulling fs layer [2022-09-30T04:22:07.777Z] 213ec9aee27d: Verifying Checksum [2022-09-30T04:22:07.777Z] 213ec9aee27d: Download complete [2022-09-30T04:22:07.777Z] 213ec9aee27d: Pull complete [2022-09-30T04:22:07.777Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-30T04:22:07.777Z] Status: Downloaded newer image for alpine:3.16 [2022-09-30T04:22:07.777Z] ---> 9c6f07244728 [2022-09-30T04:22:07.777Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T04:22:08.042Z] ---> Running in 52a09923998f [2022-09-30T04:22:08.042Z] Removing intermediate container 52a09923998f [2022-09-30T04:22:08.042Z] ---> 97f91cb90014 [2022-09-30T04:22:08.042Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T04:22:08.042Z] ---> Running in 6e5c7fb95c5f [2022-09-30T04:22:08.608Z] Removing intermediate container 6e5c7fb95c5f [2022-09-30T04:22:08.608Z] ---> 37dbf8edda22 [2022-09-30T04:22:08.608Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-30T04:22:08.608Z] ---> Running in b5e99a224b81 [2022-09-30T04:22:08.872Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-30T04:22:09.821Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-30T04:22:10.080Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-30T04:22:10.080Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-30T04:22:10.338Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-30T04:22:10.338Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-30T04:22:10.338Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-30T04:22:10.677Z] Executing busybox-1.35.0-r17.trigger [2022-09-30T04:22:10.677Z] OK: 8 MiB in 19 packages [2022-09-30T04:22:10.936Z] Removing intermediate container b5e99a224b81 [2022-09-30T04:22:10.936Z] ---> d4dc0113daf6 [2022-09-30T04:22:10.936Z] Step 16/25 : WORKDIR / [2022-09-30T04:22:10.936Z] ---> Running in bbb698b8e897 [2022-09-30T04:22:10.936Z] Removing intermediate container bbb698b8e897 [2022-09-30T04:22:10.936Z] ---> 88ee374ff654 [2022-09-30T04:22:10.936Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-30T04:22:11.193Z] ---> 2741c0607f4c [2022-09-30T04:22:11.193Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-30T04:22:11.759Z] ---> 9f33cc4a3ff4 [2022-09-30T04:22:11.759Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-30T04:22:12.019Z] ---> 2f456ec66555 [2022-09-30T04:22:12.019Z] Step 20/25 : EXPOSE 59999 [2022-09-30T04:22:12.019Z] ---> Running in e9e3a6ebfab6 [2022-09-30T04:22:12.019Z] Removing intermediate container e9e3a6ebfab6 [2022-09-30T04:22:12.019Z] ---> 788df3c0360b [2022-09-30T04:22:12.019Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-30T04:22:12.019Z] ---> Running in 71315d0a1b2a [2022-09-30T04:22:12.277Z] Removing intermediate container 71315d0a1b2a [2022-09-30T04:22:12.277Z] ---> efdf5b6973f8 [2022-09-30T04:22:12.277Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-30T04:22:12.278Z] ---> Running in d8832f25b08e [2022-09-30T04:22:12.278Z] Removing intermediate container d8832f25b08e [2022-09-30T04:22:12.278Z] ---> d28904a9673a [2022-09-30T04:22:12.278Z] Step 23/25 : LABEL arch=amd64 [2022-09-30T04:22:12.278Z] ---> Running in 495afebc337f [2022-09-30T04:22:12.278Z] Removing intermediate container 495afebc337f [2022-09-30T04:22:12.278Z] ---> ead0246cf954 [2022-09-30T04:22:12.278Z] Step 24/25 : LABEL git_sha=ca1effda2e49e13bc8030218052c86e178bc40c3 [2022-09-30T04:22:12.278Z] ---> Running in fa8098412922 [2022-09-30T04:22:12.535Z] Removing intermediate container fa8098412922 [2022-09-30T04:22:12.535Z] ---> 975a9d6d3fbb [2022-09-30T04:22:12.535Z] Step 25/25 : LABEL version=0.0.0 [2022-09-30T04:22:12.535Z] ---> Running in ce94a3290fd8 [2022-09-30T04:22:12.535Z] Removing intermediate container ce94a3290fd8 [2022-09-30T04:22:12.535Z] ---> d3e42445b460 [2022-09-30T04:22:12.535Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-30T04:22:12.535Z] Successfully built d3e42445b460 [2022-09-30T04:22:12.535Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:22:13.377Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-30T04:22:13.377Z] [2022-09-30T04:22:13.377Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:22:13.754Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-30T04:22:13.754Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-30T04:22:13.754Z] 5eb5b503b376: Pulling fs layer [2022-09-30T04:22:13.754Z] 5c69ac0246d0: Pulling fs layer [2022-09-30T04:22:13.754Z] ec43610c2a17: Pulling fs layer [2022-09-30T04:22:13.754Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-30T04:22:13.754Z] 33b1e0a273af: Pulling fs layer [2022-09-30T04:22:13.754Z] 5d3b04190fa2: Pulling fs layer [2022-09-30T04:22:13.754Z] 2f39f015ded8: Pulling fs layer [2022-09-30T04:22:13.754Z] 3a2ae6a8a46f: Waiting [2022-09-30T04:22:13.754Z] 33b1e0a273af: Waiting [2022-09-30T04:22:13.754Z] 5d3b04190fa2: Waiting [2022-09-30T04:22:13.754Z] 2f39f015ded8: Waiting [2022-09-30T04:22:13.754Z] 5c69ac0246d0: Download complete [2022-09-30T04:22:13.754Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-30T04:22:13.754Z] 3a2ae6a8a46f: Download complete [2022-09-30T04:22:13.754Z] 33b1e0a273af: Verifying Checksum [2022-09-30T04:22:13.754Z] 33b1e0a273af: Download complete [2022-09-30T04:22:14.016Z] 5d3b04190fa2: Verifying Checksum [2022-09-30T04:22:14.016Z] 5d3b04190fa2: Download complete [2022-09-30T04:22:14.016Z] ec43610c2a17: Verifying Checksum [2022-09-30T04:22:14.016Z] ec43610c2a17: Download complete [2022-09-30T04:22:14.016Z] 5eb5b503b376: Verifying Checksum [2022-09-30T04:22:14.016Z] 5eb5b503b376: Download complete [2022-09-30T04:22:14.587Z] 2f39f015ded8: Download complete [2022-09-30T04:22:15.153Z] 5eb5b503b376: Pull complete [2022-09-30T04:22:15.153Z] 5c69ac0246d0: Pull complete [2022-09-30T04:22:15.716Z] ec43610c2a17: Pull complete [2022-09-30T04:22:15.716Z] 3a2ae6a8a46f: Pull complete [2022-09-30T04:22:15.973Z] 33b1e0a273af: Pull complete [2022-09-30T04:22:15.973Z] 5d3b04190fa2: Pull complete [2022-09-30T04:22:20.151Z] 2f39f015ded8: Pull complete [2022-09-30T04:22:20.151Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-30T04:22:20.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-30T04:22:20.151Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T04:22:20.406Z] prd-ubuntu20.04-docker-8c-8g-5971 does not seem to be running inside a container [2022-09-30T04:22:20.432Z] $ 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-1224 -v /w/workspace/gexfoundry_device-sdk-go_PR-1224:/w/workspace/gexfoundry_device-sdk-go_PR-1224:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1224@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-09-30T04:22:23.368Z] $ docker top 1dae1131956220818631e63d610135da89c402c5f4f6eb46b8f7fd28113fbf55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:22:23.794Z] ---> job-cost.sh [2022-09-30T04:22:23.794Z] lf-activate-venv: SKIPPING [2022-09-30T04:22:23.794Z] INFO: No Stack... [2022-09-30T04:22:24.361Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-30T04:22:24.623Z] INFO: Archiving Costs [Pipeline] sh [2022-09-30T04:22:24.936Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives/cost.csv [2022-09-30T04:22:24.936Z] + cut -d, -f6 [Pipeline] lock [2022-09-30T04:22:24.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] [2022-09-30T04:22:24.978Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] did not exist. Created. [2022-09-30T04:22:24.978Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-30T04:22:25.363Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-30T04:22:25.414Z] Stashed 1 file(s) [Pipeline] } [2022-09-30T04:22:25.439Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-30T04:22:25.516Z] $ docker stop --time=1 1dae1131956220818631e63d610135da89c402c5f4f6eb46b8f7fd28113fbf55 [2022-09-30T04:22:26.679Z] $ docker rm -f 1dae1131956220818631e63d610135da89c402c5f4f6eb46b8f7fd28113fbf55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-30T04:24:48.665Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5995 in /w/workspace/gexfoundry_device-sdk-go_PR-1224 [Pipeline] { [Pipeline] ws [2022-09-30T04:24:48.705Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-09-30T04:24:48.777Z] The recommended git tool is: git [2022-09-30T04:24:54.196Z] using credential edgex-jenkins-ssh [2022-09-30T04:24:54.214Z] Cloning the remote Git repository [2022-09-30T04:24:54.255Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-30T04:24:54.335Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-09-30T04:24:54.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-30T04:24:54.484Z] > git --version # timeout=10 [2022-09-30T04:24:54.509Z] > git --version # 'git version 2.25.1' [2022-09-30T04:24:54.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-30T04:24:54.561Z] Verifying host key using known hosts file [2022-09-30T04:24:54.756Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-30T04:24:54.770Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-30T04:24:56.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-30T04:24:56.337Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-30T04:24:57.239Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-30T04:24:57.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-30T04:24:57.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-30T04:24:57.288Z] Verifying host key using known hosts file [2022-09-30T04:24:57.296Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-30T04:24:57.307Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1224/head:refs/remotes/origin/PR-1224 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-30T04:24:57.896Z] Merging remotes/origin/main commit 238ac69fab1befba96aeb5fe41e06f86e376d8a9 into PR head commit ca1effda2e49e13bc8030218052c86e178bc40c3 [2022-09-30T04:24:58.140Z] Merge succeeded, producing ca1effda2e49e13bc8030218052c86e178bc40c3 [2022-09-30T04:24:58.141Z] Checking out Revision ca1effda2e49e13bc8030218052c86e178bc40c3 (PR-1224) [2022-09-30T04:24:58.656Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-09-30T04:24:58.706Z] > git --version # timeout=10 [2022-09-30T04:24:58.716Z] > git --version # 'git version 2.25.1' [2022-09-30T04:24:58.730Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-30T04:24:57.911Z] > git config core.sparsecheckout # timeout=10 [2022-09-30T04:24:57.932Z] > git checkout -f ca1effda2e49e13bc8030218052c86e178bc40c3 # timeout=10 [2022-09-30T04:24:58.039Z] > git remote # timeout=10 [2022-09-30T04:24:58.060Z] > git config --get remote.origin.url # timeout=10 [2022-09-30T04:24:58.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-30T04:24:58.084Z] Verifying host key using known hosts file [2022-09-30T04:24:58.089Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-30T04:24:58.098Z] > git merge 238ac69fab1befba96aeb5fe41e06f86e376d8a9 # timeout=10 [2022-09-30T04:24:58.123Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-30T04:24:58.145Z] > git config core.sparsecheckout # timeout=10 [2022-09-30T04:24:58.163Z] > git checkout -f ca1effda2e49e13bc8030218052c86e178bc40c3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-30T04:24:59.873Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-30T04:24:59.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-30T04:24:59.873Z] Dload Upload Total Spent Left Speed [2022-09-30T04:24:59.873Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 98453 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 97689 [Pipeline] sh [2022-09-30T04:25:00.501Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-30T04:25:00.852Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-30T04:25:00.852Z] + sudo tee /etc/docker/daemon.new [2022-09-30T04:25:00.852Z] { [2022-09-30T04:25:00.852Z] "registry-mirrors": [ [2022-09-30T04:25:00.852Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-30T04:25:00.852Z] ], [2022-09-30T04:25:00.852Z] "bip": "10.250.0.254/24", [2022-09-30T04:25:00.852Z] "hosts": [ [2022-09-30T04:25:00.852Z] "tcp://0.0.0.0:5555", [2022-09-30T04:25:00.852Z] "unix:///var/run/docker.sock" [2022-09-30T04:25:00.852Z] ], [2022-09-30T04:25:00.852Z] "mtu": 1458, [2022-09-30T04:25:00.852Z] "selinux-enabled": true, [2022-09-30T04:25:00.852Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-30T04:25:00.852Z] } [Pipeline] sh [2022-09-30T04:25:01.201Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-30T04:25:01.561Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-30T04:25:19.912Z] provisioning config files... [2022-09-30T04:25:19.939Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7320414080571947966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:25:20.341Z] ---> docker-login.sh [2022-09-30T04:25:20.341Z] nexus3.edgexfoundry.org:10001 [2022-09-30T04:25:20.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:25:20.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:25:20.936Z] Configure a credential helper to remove this warning. See [2022-09-30T04:25:20.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:25:20.936Z] [2022-09-30T04:25:20.936Z] Login Succeeded [2022-09-30T04:25:20.936Z] nexus3.edgexfoundry.org:10002 [2022-09-30T04:25:21.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:25:21.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:25:21.482Z] Configure a credential helper to remove this warning. See [2022-09-30T04:25:21.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:25:21.482Z] [2022-09-30T04:25:21.482Z] Login Succeeded [2022-09-30T04:25:21.482Z] nexus3.edgexfoundry.org:10003 [2022-09-30T04:25:21.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:25:21.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:25:21.755Z] Configure a credential helper to remove this warning. See [2022-09-30T04:25:21.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:25:21.755Z] [2022-09-30T04:25:21.755Z] Login Succeeded [2022-09-30T04:25:21.755Z] nexus3.edgexfoundry.org:10004 [2022-09-30T04:25:22.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:25:22.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:25:22.028Z] Configure a credential helper to remove this warning. See [2022-09-30T04:25:22.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:25:22.028Z] [2022-09-30T04:25:22.028Z] Login Succeeded [2022-09-30T04:25:22.028Z] docker.io [2022-09-30T04:25:22.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T04:25:22.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T04:25:22.893Z] Configure a credential helper to remove this warning. See [2022-09-30T04:25:22.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T04:25:22.893Z] [2022-09-30T04:25:22.893Z] Login Succeeded [2022-09-30T04:25:22.893Z] ---> docker-login.sh ends [Pipeline] } [2022-09-30T04:25:22.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-30T04:25:23.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-30T04:25:23.257Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-30T04:25:23.287Z] ========================================================= [2022-09-30T04:25:23.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-30T04:25:23.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:25:23.789Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-30T04:25:24.058Z] Sending build context to Docker daemon 5.339MB [2022-09-30T04:25:24.058Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-30T04:25:24.058Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-30T04:25:24.328Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-30T04:25:24.328Z] b3c136eddcbf: Pulling fs layer [2022-09-30T04:25:24.328Z] c0a3192eca97: Pulling fs layer [2022-09-30T04:25:24.328Z] a050256f5b6f: Pulling fs layer [2022-09-30T04:25:24.328Z] 656be50a0ddc: Pulling fs layer [2022-09-30T04:25:24.328Z] 2bbca73fdf42: Pulling fs layer [2022-09-30T04:25:24.328Z] f607e4fc86c3: Pulling fs layer [2022-09-30T04:25:24.328Z] 4d572c569a2c: Pulling fs layer [2022-09-30T04:25:24.328Z] fcf976331f73: Pulling fs layer [2022-09-30T04:25:24.328Z] f607e4fc86c3: Waiting [2022-09-30T04:25:24.328Z] 4d572c569a2c: Waiting [2022-09-30T04:25:24.328Z] fcf976331f73: Waiting [2022-09-30T04:25:24.328Z] 656be50a0ddc: Waiting [2022-09-30T04:25:24.328Z] 2bbca73fdf42: Waiting [2022-09-30T04:25:24.328Z] a050256f5b6f: Download complete [2022-09-30T04:25:24.328Z] c0a3192eca97: Download complete [2022-09-30T04:25:24.328Z] 2bbca73fdf42: Verifying Checksum [2022-09-30T04:25:24.328Z] 2bbca73fdf42: Download complete [2022-09-30T04:25:24.328Z] f607e4fc86c3: Verifying Checksum [2022-09-30T04:25:24.328Z] f607e4fc86c3: Download complete [2022-09-30T04:25:24.328Z] b3c136eddcbf: Verifying Checksum [2022-09-30T04:25:24.328Z] b3c136eddcbf: Download complete [2022-09-30T04:25:25.770Z] b3c136eddcbf: Pull complete [2022-09-30T04:25:25.770Z] fcf976331f73: Verifying Checksum [2022-09-30T04:25:25.770Z] fcf976331f73: Download complete [2022-09-30T04:25:26.041Z] c0a3192eca97: Pull complete [2022-09-30T04:25:26.317Z] a050256f5b6f: Pull complete [2022-09-30T04:25:26.586Z] 4d572c569a2c: Verifying Checksum [2022-09-30T04:25:26.586Z] 4d572c569a2c: Download complete [2022-09-30T04:25:27.551Z] 656be50a0ddc: Verifying Checksum [2022-09-30T04:25:27.551Z] 656be50a0ddc: Download complete [2022-09-30T04:25:39.910Z] 656be50a0ddc: Pull complete [2022-09-30T04:25:39.910Z] 2bbca73fdf42: Pull complete [2022-09-30T04:25:39.910Z] f607e4fc86c3: Pull complete [2022-09-30T04:25:44.175Z] 4d572c569a2c: Pull complete [2022-09-30T04:25:47.621Z] fcf976331f73: Pull complete [2022-09-30T04:25:47.621Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-09-30T04:25:47.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-30T04:25:47.621Z] ---> 3970a7415f9e [2022-09-30T04:25:47.621Z] Step 3/11 : ARG MAKE=make build [2022-09-30T04:25:49.606Z] ---> Running in 8ecf10a79158 [2022-09-30T04:25:49.606Z] Removing intermediate container 8ecf10a79158 [2022-09-30T04:25:49.606Z] ---> 001747152e98 [2022-09-30T04:25:49.606Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-30T04:25:49.880Z] ---> Running in 3bbb979046a2 [2022-09-30T04:25:50.152Z] Removing intermediate container 3bbb979046a2 [2022-09-30T04:25:50.152Z] ---> 9167559c6f3d [2022-09-30T04:25:50.152Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T04:25:50.152Z] ---> Running in d756a235e6a6 [2022-09-30T04:25:50.817Z] Removing intermediate container d756a235e6a6 [2022-09-30T04:25:50.817Z] ---> 7359c1ef4afb [2022-09-30T04:25:50.817Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T04:25:50.817Z] ---> Running in e0f30677f081 [2022-09-30T04:25:52.810Z] Removing intermediate container e0f30677f081 [2022-09-30T04:25:52.810Z] ---> 4e9bb25549b7 [2022-09-30T04:25:52.810Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-30T04:25:52.810Z] ---> Running in 41758f3b2f43 [2022-09-30T04:25:53.775Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-30T04:25:54.743Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-30T04:25:55.711Z] OK: 221 MiB in 51 packages [2022-09-30T04:25:56.679Z] Removing intermediate container 41758f3b2f43 [2022-09-30T04:25:56.679Z] ---> 9f203877a44c [2022-09-30T04:25:56.679Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-30T04:25:56.952Z] ---> 01b43912b0aa [2022-09-30T04:25:56.952Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-30T04:25:57.232Z] ---> Running in 00ba8bba4328 [2022-09-30T04:26:53.662Z] Removing intermediate container 00ba8bba4328 [2022-09-30T04:26:53.662Z] ---> 5fb13734c4e6 [2022-09-30T04:26:53.662Z] Step 10/11 : COPY . . [2022-09-30T04:26:53.662Z] ---> 5fd788ffd102 [2022-09-30T04:26:53.662Z] Step 11/11 : RUN ${MAKE} [2022-09-30T04:26:53.662Z] ---> Running in 464724efa669 [2022-09-30T04:26:53.662Z] noop [2022-09-30T04:26:53.662Z] Removing intermediate container 464724efa669 [2022-09-30T04:26:53.662Z] ---> 77520cb730a9 [2022-09-30T04:26:53.662Z] Successfully built 77520cb730a9 [2022-09-30T04:26:53.662Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:26:54.136Z] + docker inspect -f . ci-base-image-arm64 [2022-09-30T04:26:54.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T04:26:54.410Z] prd-ubuntu20.04-docker-arm64-4c-16g-5995 does not seem to be running inside a container [2022-09-30T04:26:54.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-30T04:26:55.798Z] $ docker top d4748ce59cc8ea6c677636ca8bbf5c1e859e697f7f3ef7ce455f4ac5f93b475c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-30T04:26:56.723Z] + go version [2022-09-30T04:26:56.723Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-30T04:26:56.767Z] $ docker stop --time=1 d4748ce59cc8ea6c677636ca8bbf5c1e859e697f7f3ef7ce455f4ac5f93b475c [2022-09-30T04:26:58.429Z] $ docker rm -f d4748ce59cc8ea6c677636ca8bbf5c1e859e697f7f3ef7ce455f4ac5f93b475c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:26:59.288Z] + docker inspect -f . ci-base-image-arm64 [2022-09-30T04:26:59.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T04:26:59.558Z] prd-ubuntu20.04-docker-arm64-4c-16g-5995 does not seem to be running inside a container [2022-09-30T04:26:59.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-30T04:27:00.938Z] $ docker top 107c3191ec39d76bef8fc810422605073d97f72067810c6bdb4c0185a9350906 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-30T04:27:01.878Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-30T04:27:02.613Z] + make test [2022-09-30T04:27:02.613Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-30T04:27:41.526Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-30T04:30:18.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-30T04:30:18.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-30T04:30:18.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-30T04:30:18.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-30T04:30:18.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-30T04:30:18.260Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.529s coverage: 27.6% of statements [2022-09-30T04:30:18.260Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.556s coverage: 78.9% of statements [2022-09-30T04:30:18.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-30T04:30:18.260Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.589s coverage: 60.0% of statements [2022-09-30T04:30:18.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-30T04:30:18.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-30T04:30:20.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.650s coverage: 54.4% of statements [2022-09-30T04:30:20.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-30T04:30:20.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-30T04:30:20.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-30T04:30:20.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-30T04:30:20.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.566s coverage: 65.1% of statements [2022-09-30T04:30:20.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-30T04:30:20.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-30T04:30:22.293Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.672s coverage: 89.2% of statements [2022-09-30T04:30:22.293Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-30T04:30:25.650Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.275s coverage: 4.7% of statements [2022-09-30T04:30:25.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-30T04:30:26.235Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-30T04:30:26.235Z] GO111MODULE=on go vet ./... [2022-09-30T04:32:17.918Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-30T04:32:17.918Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-30T04:32:17.918Z] ./bin/test-attribution-txt.sh [2022-09-30T04:32:17.918Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-30T04:32:17.918Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-30T04:32:17.918Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-30T04:32:17.918Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-30T04:32:17.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-30T04:32:18.003Z] $ docker stop --time=1 107c3191ec39d76bef8fc810422605073d97f72067810c6bdb4c0185a9350906 [2022-09-30T04:32:19.850Z] $ docker rm -f 107c3191ec39d76bef8fc810422605073d97f72067810c6bdb4c0185a9350906 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-30T04:32:21.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-30T04:32:21.368Z] Warning: overwriting stash ‘coverage-report’ [2022-09-30T04:32:21.915Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-30T04:32:22.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-30T04:32:22.851Z] + ls -al . [2022-09-30T04:32:22.851Z] total 272 [2022-09-30T04:32:22.851Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 30 04:27 . [2022-09-30T04:32:22.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:24 .. [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 04:24 .dockerignore [2022-09-30T04:32:22.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 04:24 .git [2022-09-30T04:32:22.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:24 .github [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 30 04:24 .gitignore [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 04:24 .golangci.yml [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 30 04:24 CHANGELOG.md [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 04:24 GOVERNANCE.md [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 30 04:24 Jenkinsfile [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 04:24 LICENSE [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 30 04:24 Makefile [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 04:24 OWNERS.md [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 30 04:24 README.md [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 04:20 VERSION [2022-09-30T04:32:22.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:24 bin [2022-09-30T04:32:22.851Z] -rw-r--r-- 1 jenkins jenkins 100927 Sep 30 04:30 coverage.out [2022-09-30T04:32:22.851Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 04:24 example [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 30 04:24 go.mod [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 30 04:24 go.sum [2022-09-30T04:32:22.851Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 30 04:24 internal [2022-09-30T04:32:22.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 04:24 openapi [2022-09-30T04:32:22.851Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 04:24 pkg [2022-09-30T04:32:22.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:24 snap [2022-09-30T04:32:22.851Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 04:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:32:23.266Z] + 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=ca1effda2e49e13bc8030218052c86e178bc40c3 --label arch=arm64 --label version=0.0.0 . [2022-09-30T04:32:23.532Z] Sending build context to Docker daemon 5.441MB [2022-09-30T04:32:23.532Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-30T04:32:23.532Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-30T04:32:23.532Z] ---> 77520cb730a9 [2022-09-30T04:32:23.532Z] Step 3/25 : ARG MAKE=make build [2022-09-30T04:32:23.803Z] ---> Running in 38334e8efe5c [2022-09-30T04:32:24.080Z] Removing intermediate container 38334e8efe5c [2022-09-30T04:32:24.080Z] ---> af402bef83a7 [2022-09-30T04:32:24.080Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-30T04:32:24.080Z] ---> Running in 56a2dd4e8fd8 [2022-09-30T04:32:24.677Z] Removing intermediate container 56a2dd4e8fd8 [2022-09-30T04:32:24.677Z] ---> 7b3e9fa0ea9b [2022-09-30T04:32:24.677Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T04:32:24.677Z] ---> Running in 1a8bde978ab3 [2022-09-30T04:32:24.951Z] Removing intermediate container 1a8bde978ab3 [2022-09-30T04:32:24.951Z] ---> daa97e6024ce [2022-09-30T04:32:24.951Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T04:32:24.951Z] ---> Running in 0339e75b2314 [2022-09-30T04:32:26.898Z] Removing intermediate container 0339e75b2314 [2022-09-30T04:32:26.898Z] ---> 48997543ca6c [2022-09-30T04:32:26.898Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-30T04:32:26.898Z] ---> Running in 726ccc1c6d03 [2022-09-30T04:32:27.858Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-30T04:32:28.818Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-30T04:32:29.778Z] OK: 221 MiB in 51 packages [2022-09-30T04:32:30.744Z] Removing intermediate container 726ccc1c6d03 [2022-09-30T04:32:30.744Z] ---> 9cfb7ed062de [2022-09-30T04:32:30.744Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-30T04:32:31.012Z] ---> 5ba0a08b2b71 [2022-09-30T04:32:31.012Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-30T04:32:31.012Z] ---> Running in 6432e5357b18 [2022-09-30T04:32:32.966Z] Removing intermediate container 6432e5357b18 [2022-09-30T04:32:32.966Z] ---> 2218d3cd9480 [2022-09-30T04:32:32.966Z] Step 10/25 : COPY . . [2022-09-30T04:32:34.375Z] ---> c4fb09751942 [2022-09-30T04:32:34.375Z] Step 11/25 : RUN ${MAKE} [2022-09-30T04:32:34.375Z] ---> Running in 8471b97762f1 [2022-09-30T04:32:35.337Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-30T04:35:12.065Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-30T04:35:12.065Z] Removing intermediate container 8471b97762f1 [2022-09-30T04:35:12.065Z] ---> 42a09ad6b525 [2022-09-30T04:35:12.065Z] Step 12/25 : FROM alpine:3.16 [2022-09-30T04:35:12.065Z] 3.16: Pulling from library/alpine [2022-09-30T04:35:12.065Z] 9b18e9b68314: Pulling fs layer [2022-09-30T04:35:12.065Z] 9b18e9b68314: Verifying Checksum [2022-09-30T04:35:12.065Z] 9b18e9b68314: Download complete [2022-09-30T04:35:12.065Z] 9b18e9b68314: Pull complete [2022-09-30T04:35:12.065Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-30T04:35:12.065Z] Status: Downloaded newer image for alpine:3.16 [2022-09-30T04:35:12.065Z] ---> a6215f271958 [2022-09-30T04:35:12.065Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T04:35:12.065Z] ---> Running in fc94b99ad11b [2022-09-30T04:35:12.065Z] Removing intermediate container fc94b99ad11b [2022-09-30T04:35:12.065Z] ---> bf4c0f93992f [2022-09-30T04:35:12.065Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T04:35:12.065Z] ---> Running in 741c57c0834e [2022-09-30T04:35:12.065Z] Removing intermediate container 741c57c0834e [2022-09-30T04:35:12.065Z] ---> 2f71eb1a752d [2022-09-30T04:35:12.065Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-30T04:35:12.065Z] ---> Running in 99d4e0da713a [2022-09-30T04:35:12.336Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-30T04:35:13.304Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-30T04:35:14.766Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-30T04:35:14.766Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-30T04:35:14.766Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-30T04:35:15.043Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-30T04:35:15.043Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-30T04:35:15.043Z] Executing busybox-1.35.0-r17.trigger [2022-09-30T04:35:15.316Z] OK: 8 MiB in 19 packages [2022-09-30T04:35:16.361Z] Removing intermediate container 99d4e0da713a [2022-09-30T04:35:16.361Z] ---> d5d77a00b504 [2022-09-30T04:35:16.361Z] Step 16/25 : WORKDIR / [2022-09-30T04:35:16.361Z] ---> Running in 3ae360ef5bd6 [2022-09-30T04:35:16.640Z] Removing intermediate container 3ae360ef5bd6 [2022-09-30T04:35:16.640Z] ---> e8c8d8818599 [2022-09-30T04:35:16.640Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-30T04:35:17.234Z] ---> 7984ddeffe41 [2022-09-30T04:35:17.234Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-30T04:35:18.648Z] ---> ccc22845a87e [2022-09-30T04:35:18.648Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-30T04:35:19.232Z] ---> 508c8897e64c [2022-09-30T04:35:19.232Z] Step 20/25 : EXPOSE 59999 [2022-09-30T04:35:19.509Z] ---> Running in 00936fdfb0fb [2022-09-30T04:35:19.778Z] Removing intermediate container 00936fdfb0fb [2022-09-30T04:35:19.778Z] ---> ef3864d2fba7 [2022-09-30T04:35:19.778Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-30T04:35:19.778Z] ---> Running in 021bff26d800 [2022-09-30T04:35:20.047Z] Removing intermediate container 021bff26d800 [2022-09-30T04:35:20.047Z] ---> 9ad82c5d71c0 [2022-09-30T04:35:20.047Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-30T04:35:20.316Z] ---> Running in d7a729de8e68 [2022-09-30T04:35:20.584Z] Removing intermediate container d7a729de8e68 [2022-09-30T04:35:20.584Z] ---> a996f9a7f912 [2022-09-30T04:35:20.584Z] Step 23/25 : LABEL arch=arm64 [2022-09-30T04:35:20.584Z] ---> Running in dae046bbf461 [2022-09-30T04:35:20.853Z] Removing intermediate container dae046bbf461 [2022-09-30T04:35:20.853Z] ---> 9b83e6df3272 [2022-09-30T04:35:20.853Z] Step 24/25 : LABEL git_sha=ca1effda2e49e13bc8030218052c86e178bc40c3 [2022-09-30T04:35:21.124Z] ---> Running in 48234f513bec [2022-09-30T04:35:21.391Z] Removing intermediate container 48234f513bec [2022-09-30T04:35:21.391Z] ---> cec9f903ce9d [2022-09-30T04:35:21.391Z] Step 25/25 : LABEL version=0.0.0 [2022-09-30T04:35:21.391Z] ---> Running in 96f1ab120f2b [2022-09-30T04:35:21.659Z] Removing intermediate container 96f1ab120f2b [2022-09-30T04:35:21.659Z] ---> b54304d48a9a [2022-09-30T04:35:21.659Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-30T04:35:21.659Z] Successfully built b54304d48a9a [2022-09-30T04:35:21.928Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:35:22.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-30T04:35:22.725Z] [2022-09-30T04:35:22.725Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:35:23.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-30T04:35:24.095Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-30T04:35:24.095Z] 8998bd30e6a1: Pulling fs layer [2022-09-30T04:35:24.095Z] 04944245beec: Pulling fs layer [2022-09-30T04:35:24.095Z] 699f458cf7ca: Pulling fs layer [2022-09-30T04:35:24.095Z] 765212b225bb: Pulling fs layer [2022-09-30T04:35:24.095Z] f23df028b6ca: Pulling fs layer [2022-09-30T04:35:24.095Z] d65c8cfc05b1: Pulling fs layer [2022-09-30T04:35:24.095Z] 2437ff75d9bd: Pulling fs layer [2022-09-30T04:35:24.095Z] 765212b225bb: Waiting [2022-09-30T04:35:24.095Z] f23df028b6ca: Waiting [2022-09-30T04:35:24.095Z] d65c8cfc05b1: Waiting [2022-09-30T04:35:24.095Z] 2437ff75d9bd: Waiting [2022-09-30T04:35:24.095Z] 04944245beec: Verifying Checksum [2022-09-30T04:35:24.095Z] 04944245beec: Download complete [2022-09-30T04:35:24.366Z] 765212b225bb: Download complete [2022-09-30T04:35:24.366Z] f23df028b6ca: Verifying Checksum [2022-09-30T04:35:24.366Z] f23df028b6ca: Download complete [2022-09-30T04:35:24.366Z] d65c8cfc05b1: Verifying Checksum [2022-09-30T04:35:24.366Z] d65c8cfc05b1: Download complete [2022-09-30T04:35:24.366Z] 699f458cf7ca: Verifying Checksum [2022-09-30T04:35:24.366Z] 699f458cf7ca: Download complete [2022-09-30T04:35:24.955Z] 8998bd30e6a1: Verifying Checksum [2022-09-30T04:35:24.955Z] 8998bd30e6a1: Download complete [2022-09-30T04:35:27.545Z] 2437ff75d9bd: Verifying Checksum [2022-09-30T04:35:27.545Z] 2437ff75d9bd: Download complete [2022-09-30T04:35:28.957Z] 8998bd30e6a1: Pull complete [2022-09-30T04:35:29.541Z] 04944245beec: Pull complete [2022-09-30T04:35:30.950Z] 699f458cf7ca: Pull complete [2022-09-30T04:35:31.217Z] 765212b225bb: Pull complete [2022-09-30T04:35:32.179Z] f23df028b6ca: Pull complete [2022-09-30T04:35:32.179Z] d65c8cfc05b1: Pull complete [2022-09-30T04:35:47.170Z] 2437ff75d9bd: Pull complete [2022-09-30T04:35:47.170Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-30T04:35:47.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-30T04:35:47.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T04:35:47.495Z] prd-ubuntu20.04-docker-arm64-4c-16g-5995 does not seem to be running inside a container [2022-09-30T04:35:47.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-30T04:35:50.416Z] $ docker top f7f7e88e3945c60f2c8e4954b2a94e71b679b53f3caef20452e7b4bf0695effd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:35:51.336Z] ---> job-cost.sh [2022-09-30T04:35:51.336Z] lf-activate-venv: SKIPPING [2022-09-30T04:35:51.336Z] INFO: No Stack... [2022-09-30T04:35:51.920Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-30T04:35:52.882Z] INFO: Archiving Costs [Pipeline] sh [2022-09-30T04:35:53.544Z] + cut -d, -f6 [2022-09-30T04:35:53.544Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-09-30T04:35:53.633Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] [2022-09-30T04:35:53.640Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] did not exist. Created. [2022-09-30T04:35:53.640Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-30T04:35:54.378Z] /w/workspace/device-sdk-go/1@tmp/durable-21f9348f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-30T04:35:55.055Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-30T04:35:55.090Z] Warning: overwriting stash ‘stack-cost’ [2022-09-30T04:35:55.160Z] Stashed 1 file(s) [Pipeline] } [2022-09-30T04:35:55.176Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-30T04:35:55.271Z] $ docker stop --time=1 f7f7e88e3945c60f2c8e4954b2a94e71b679b53f3caef20452e7b4bf0695effd [2022-09-30T04:35:56.835Z] $ docker rm -f f7f7e88e3945c60f2c8e4954b2a94e71b679b53f3caef20452e7b4bf0695effd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-30T04:35:57.840Z] provisioning config files... [2022-09-30T04:35:57.846Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config7976807964505679025tmp [Pipeline] { [Pipeline] sh [2022-09-30T04:35:58.181Z] + set +x [2022-09-30T04:35:58.181Z] + curl -s https://codecov.io/bash [2022-09-30T04:35:58.181Z] + bash -s -- [2022-09-30T04:35:58.181Z] [2022-09-30T04:35:58.181Z] _____ _ [2022-09-30T04:35:58.181Z] / ____| | | [2022-09-30T04:35:58.181Z] | | ___ __| | ___ ___ _____ __ [2022-09-30T04:35:58.181Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-30T04:35:58.181Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-30T04:35:58.181Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-30T04:35:58.181Z] Bash-1.0.6 [2022-09-30T04:35:58.181Z] [2022-09-30T04:35:58.181Z] [2022-09-30T04:35:58.181Z] ==> git version 2.25.1 found [2022-09-30T04:35:58.181Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-30T04:35:58.181Z] Release-Date: 2020-01-08 [2022-09-30T04:35:58.181Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-30T04:35:58.181Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-30T04:35:58.181Z] ==> Jenkins CI detected. [2022-09-30T04:35:58.181Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1224 [2022-09-30T04:35:58.181Z] project root: . [2022-09-30T04:35:58.181Z] --> token set from env [2022-09-30T04:35:58.181Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-30T04:35:58.181Z] ==> Running gcov in . (disable via -X gcov) [2022-09-30T04:35:58.181Z] ==> Python coveragepy not found [2022-09-30T04:35:58.181Z] ==> Searching for coverage reports in: [2022-09-30T04:35:58.181Z] + . [2022-09-30T04:35:58.181Z] -> Found 1 reports [2022-09-30T04:35:58.181Z] ==> Detecting git/mercurial file structure [2022-09-30T04:35:58.181Z] ==> Reading reports [2022-09-30T04:35:58.181Z] + ./coverage.out bytes=100927 [2022-09-30T04:35:58.181Z] ==> Appending adjustments [2022-09-30T04:35:58.181Z] https://docs.codecov.io/docs/fixing-reports [2022-09-30T04:35:58.749Z] + Found adjustments [2022-09-30T04:35:58.749Z] ==> Gzipping contents [2022-09-30T04:35:58.749Z] 16K /tmp/codecov.BzSPHU.gz [2022-09-30T04:35:58.749Z] ==> Uploading reports [2022-09-30T04:35:58.749Z] url: https://codecov.io [2022-09-30T04:35:58.749Z] query: branch=PR-1224&commit=ca1effda2e49e13bc8030218052c86e178bc40c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1224%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1224&job=&cmd_args= [2022-09-30T04:35:58.749Z] -> Pinging Codecov [2022-09-30T04:35:58.749Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1224&commit=ca1effda2e49e13bc8030218052c86e178bc40c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1224%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1224&job=&cmd_args= [2022-09-30T04:35:59.008Z] -> Uploading to [2022-09-30T04:35:59.008Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-30/7E55EF52A471D76F132DFD9A03CDDE97/ca1effda2e49e13bc8030218052c86e178bc40c3/86b9261b-e21f-4b1a-849b-50cf7c8b6635.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220930T043558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93e7b9d6275742edbf5edc4715976e1c2362d10bcb8cfba10b849cece40f865c [2022-09-30T04:35:59.008Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-30T04:35:59.008Z] Dload Upload Total Spent Left Speed [2022-09-30T04:35:59.267Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14603 0 0 100 14603 0 71583 --:--:-- --:--:-- --:--:-- 71234 100 14603 0 0 100 14603 0 67606 --:--:-- --:--:-- --:--:-- 67294 [2022-09-30T04:35:59.267Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ca1effda2e49e13bc8030218052c86e178bc40c3 [Pipeline] } [2022-09-30T04:35:59.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-30T04:36:01.066Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives ] [2022-09-30T04:36:01.067Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives [2022-09-30T04:36:01.067Z] total 16 [2022-09-30T04:36:01.067Z] drwxr-xr-x 3 root root 4096 Sep 30 04:22 . [2022-09-30T04:36:01.067Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 04:22 .. [2022-09-30T04:36:01.067Z] drwxr-xr-x 2 root root 4096 Sep 30 04:22 cost [2022-09-30T04:36:01.067Z] -rw-r--r-- 1 root root 86 Sep 30 04:22 cost.csv [2022-09-30T04:36:01.067Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives [2022-09-30T04:36:01.067Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives [2022-09-30T04:36:01.067Z] total 16 [2022-09-30T04:36:01.067Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 04:22 . [2022-09-30T04:36:01.067Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 04:22 .. [2022-09-30T04:36:01.067Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 30 04:22 cost [2022-09-30T04:36:01.067Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 30 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:36:01.392Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:36:02.296Z] ---> package-listing.sh [2022-09-30T04:36:02.296Z] ++ facter osfamily [2022-09-30T04:36:02.296Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-30T04:36:02.557Z] + OS_FAMILY=debian [2022-09-30T04:36:02.557Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1224 [2022-09-30T04:36:02.557Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-30T04:36:02.557Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-30T04:36:02.557Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-30T04:36:02.557Z] + PACKAGES=/tmp/packages_start.txt [2022-09-30T04:36:02.557Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1224 ']' [2022-09-30T04:36:02.557Z] + PACKAGES=/tmp/packages_end.txt [2022-09-30T04:36:02.557Z] + case "${OS_FAMILY}" in [2022-09-30T04:36:02.557Z] + dpkg -l [2022-09-30T04:36:02.557Z] + grep '^ii' [2022-09-30T04:36:02.557Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-30T04:36:02.557Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-30T04:36:02.557Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-30T04:36:02.557Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1224 ']' [2022-09-30T04:36:02.557Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives/ [2022-09-30T04:36:02.557Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives/ [Pipeline] echo [2022-09-30T04:36:02.591Z] 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-1224/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-30T04:36:02.884Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T04:36:03.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-30T04:36:03.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T04:36:03.641Z] prd-ubuntu20.04-docker-8c-8g-5971 does not seem to be running inside a container [2022-09-30T04:36:03.669Z] $ 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-1224/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-1224 -v /w/workspace/gexfoundry_device-sdk-go_PR-1224:/w/workspace/gexfoundry_device-sdk-go_PR-1224:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-30T04:36:03.896Z] $ docker top 873ed617bfb26709b563c28cf4eff6e3fe98d2a05d05b4a7fbe42d99bdf82402 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-30T04:36:04.283Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-30T04:36:04.591Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-30T04:36:04.898Z] + ls /var/log/sa-host [2022-09-30T04:36:04.898Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-30T04:36:05.104Z] provisioning config files... [2022-09-30T04:36:05.113Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config6856896368863294958tmp [Pipeline] { [Pipeline] echo [2022-09-30T04:36:05.155Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:36:05.471Z] ---> create-netrc.sh [Pipeline] } [2022-09-30T04:36:05.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:36:05.886Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-30T04:36:05.915Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:36:06.226Z] ---> sudo-logs.sh [2022-09-30T04:36:06.226Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-30T04:36:06.308Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:36:06.622Z] ---> job-cost.sh [2022-09-30T04:36:06.622Z] lf-activate-venv: SKIPPING [2022-09-30T04:36:06.622Z] DEBUG: total: 0.2199999988079071 [2022-09-30T04:36:06.622Z] INFO: Retrieving Stack Cost... [2022-09-30T04:36:06.881Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-30T04:36:07.449Z] INFO: Archiving Costs [Pipeline] echo [2022-09-30T04:36:07.485Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-30T04:36:07.795Z] ---> logs-deploy.sh [2022-09-30T04:36:07.795Z] lf-activate-venv: SKIPPING [2022-09-30T04:36:07.795Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1224/1 [2022-09-30T04:36:07.795Z] INFO: archiving workspace using pattern(s): [2022-09-30T04:36:08.730Z] Archives upload complete. [2022-09-30T04:36:08.730Z] INFO: archiving logs to Nexus