Pull request #1224 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6be3e42720c496eddef1347f5ff85b7925ce2f9b+7dbdf76fddf8d5c49cfbe8a20277166ae9dac901 (8ab474458606d65196ce0f4c91b882beee0abf49) 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-ssh16282509643990537872.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-ssh14897845916909907056.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10374004097917620795.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2378814994358183846.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11117741792257820858.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6092’ Running on prd-ubuntu20.04-docker-8c-8g-6094 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 7dbdf76fddf8d5c49cfbe8a20277166ae9dac901 into PR head commit 6be3e42720c496eddef1347f5ff85b7925ce2f9b Merge succeeded, producing 6be3e42720c496eddef1347f5ff85b7925ce2f9b Checking out Revision 6be3e42720c496eddef1347f5ff85b7925ce2f9b (PR-1224) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-30T14:25:49.909Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-30T14:25:49.965Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-30T14:25:49.977Z] ========================================================= [2022-09-30T14:25:49.977Z] EdgeX Global Pipelines Version Info [2022-09-30T14:25:49.977Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 6be3e42720c496eddef1347f5ff85b7925ce2f9b # 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 7dbdf76fddf8d5c49cfbe8a20277166ae9dac901 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6be3e42720c496eddef1347f5ff85b7925ce2f9b # timeout=10 > git rev-list --no-walk ca1effda2e49e13bc8030218052c86e178bc40c3 # timeout=10 [2022-09-30T14:25:50.705Z] ------------------- [2022-09-30T14:25:50.705Z] stable info: [2022-09-30T14:25:50.705Z] ------------------- [2022-09-30T14:25:50.705Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-30T14:25:50.705Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-30T14:25:50.705Z] Message: update stable to v1.0.239 [2022-09-30T14:25:51.277Z] ------------------- [2022-09-30T14:25:51.277Z] experimental info: [2022-09-30T14:25:51.277Z] ------------------- [2022-09-30T14:25:51.277Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-30T14:25:51.277Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-30T14:25:51.277Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-30T14:25:51.446Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-30T14:25:51.456Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-30T14:25:51.467Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-30T14:25:51.479Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-30T14:25:51.495Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-30T14:25:51.511Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-30T14:25:51.519Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-30T14:25:51.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-30T14:25:51.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-30T14:25:51.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-30T14:25:51.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-30T14:25:51.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-30T14:25:51.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-30T14:25:51.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-30T14:25:51.613Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-30T14:25:51.629Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-30T14:25:51.642Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-30T14:25:51.653Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-30T14:25:51.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-30T14:25:51.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-30T14:25:51.686Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-30T14:25:51.699Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-30T14:25:51.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-30T14:25:51.720Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-30T14:25:51.732Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-30T14:25:51.746Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-30T14:25:51.756Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-30T14:25:51.768Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1224 [Pipeline] echo [2022-09-30T14:25:51.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1224 [Pipeline] echo [2022-09-30T14:25:51.791Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1224 [Pipeline] echo [2022-09-30T14:25:51.805Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6be3e42720c496eddef1347f5ff85b7925ce2f9b [Pipeline] echo [2022-09-30T14:25:51.822Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6be3e42 [Pipeline] echo [2022-09-30T14:25:51.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-30T14:25:51.879Z] provisioning config files... [2022-09-30T14:25:51.891Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config9490302621313424862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:25:52.188Z] ---> docker-login.sh [2022-09-30T14:25:52.188Z] nexus3.edgexfoundry.org:10001 [2022-09-30T14:25:52.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:25:52.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:25:52.449Z] Configure a credential helper to remove this warning. See [2022-09-30T14:25:52.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:25:52.449Z] [2022-09-30T14:25:52.449Z] Login Succeeded [2022-09-30T14:25:52.449Z] nexus3.edgexfoundry.org:10002 [2022-09-30T14:25:52.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:25:52.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:25:52.449Z] Configure a credential helper to remove this warning. See [2022-09-30T14:25:52.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:25:52.449Z] [2022-09-30T14:25:52.449Z] Login Succeeded [2022-09-30T14:25:52.449Z] nexus3.edgexfoundry.org:10003 [2022-09-30T14:25:52.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:25:52.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:25:52.709Z] Configure a credential helper to remove this warning. See [2022-09-30T14:25:52.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:25:52.709Z] [2022-09-30T14:25:52.709Z] Login Succeeded [2022-09-30T14:25:52.709Z] nexus3.edgexfoundry.org:10004 [2022-09-30T14:25:52.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:25:52.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:25:52.709Z] Configure a credential helper to remove this warning. See [2022-09-30T14:25:52.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:25:52.709Z] [2022-09-30T14:25:52.709Z] Login Succeeded [2022-09-30T14:25:52.709Z] docker.io [2022-09-30T14:25:52.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:25:53.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:25:53.227Z] Configure a credential helper to remove this warning. See [2022-09-30T14:25:53.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:25:53.227Z] [2022-09-30T14:25:53.227Z] Login Succeeded [2022-09-30T14:25:53.227Z] ---> docker-login.sh ends [Pipeline] } [2022-09-30T14:25:53.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-30T14:25:53.609Z] + git rev-list -1 --merges 6be3e42720c496eddef1347f5ff85b7925ce2f9b~1..6be3e42720c496eddef1347f5ff85b7925ce2f9b [Pipeline] echo [2022-09-30T14:25:53.642Z] -----------> git rev-list -1 --merges 6be3e42720c496eddef1347f5ff85b7925ce2f9b~1..6be3e42720c496eddef1347f5ff85b7925ce2f9b 6be3e42720c496eddef1347f5ff85b7925ce2f9b [false] [Pipeline] sh [2022-09-30T14:25:53.932Z] + git log --format=format:%s -1 6be3e42720c496eddef1347f5ff85b7925ce2f9b [Pipeline] echo [2022-09-30T14:25:53.947Z] ========================================================= [2022-09-30T14:25:53.947Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-30T14:25:53.947Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-30T14:25:54.276Z] + git log --format=format:%s -1 6be3e42720c496eddef1347f5ff85b7925ce2f9b [Pipeline] echo [2022-09-30T14:25:54.287Z] [semverPrep] GIT_COMMIT: 6be3e42720c496eddef1347f5ff85b7925ce2f9b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-09-30T14:25:54.296Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-30T14:25:54.643Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-30T14:25:54.643Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-30T14:25:54.643Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-30T14:25:54.643Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-30T14:25:54.643Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-30T14:25:54.643Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-30T14:25:54.643Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:25:54.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-30T14:25:54.999Z] [2022-09-30T14:25:54.999Z] 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-30T14:25:55.302Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-30T14:25:55.302Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-30T14:25:55.302Z] b85a868b505f: Pulling fs layer [2022-09-30T14:25:55.302Z] e2be974225ed: Pulling fs layer [2022-09-30T14:25:55.302Z] 339a4e72a1f5: Pulling fs layer [2022-09-30T14:25:55.302Z] 988bab9f4d93: Pulling fs layer [2022-09-30T14:25:55.302Z] 1469e6f7b9e6: Pulling fs layer [2022-09-30T14:25:55.302Z] eaf3925da568: Pulling fs layer [2022-09-30T14:25:55.302Z] bab4dde63d76: Pulling fs layer [2022-09-30T14:25:55.302Z] bde34c3a00c8: Pulling fs layer [2022-09-30T14:25:55.302Z] b352a97aabf1: Pulling fs layer [2022-09-30T14:25:55.302Z] 4872d77fe225: Pulling fs layer [2022-09-30T14:25:55.302Z] 5851b861e8e6: Pulling fs layer [2022-09-30T14:25:55.302Z] 988bab9f4d93: Waiting [2022-09-30T14:25:55.302Z] 1469e6f7b9e6: Waiting [2022-09-30T14:25:55.302Z] eaf3925da568: Waiting [2022-09-30T14:25:55.302Z] bab4dde63d76: Waiting [2022-09-30T14:25:55.302Z] bde34c3a00c8: Waiting [2022-09-30T14:25:55.302Z] b352a97aabf1: Waiting [2022-09-30T14:25:55.302Z] 4872d77fe225: Waiting [2022-09-30T14:25:55.302Z] 5851b861e8e6: Waiting [2022-09-30T14:25:55.302Z] 988bab9f4d93: Verifying Checksum [2022-09-30T14:25:55.302Z] 988bab9f4d93: Download complete [2022-09-30T14:25:55.563Z] 1469e6f7b9e6: Verifying Checksum [2022-09-30T14:25:55.563Z] 1469e6f7b9e6: Download complete [2022-09-30T14:25:55.563Z] eaf3925da568: Verifying Checksum [2022-09-30T14:25:55.563Z] eaf3925da568: Download complete [2022-09-30T14:25:55.563Z] 339a4e72a1f5: Verifying Checksum [2022-09-30T14:25:55.563Z] 339a4e72a1f5: Download complete [2022-09-30T14:25:55.563Z] bde34c3a00c8: Verifying Checksum [2022-09-30T14:25:55.563Z] bde34c3a00c8: Download complete [2022-09-30T14:25:55.563Z] b352a97aabf1: Download complete [2022-09-30T14:25:55.563Z] 4872d77fe225: Verifying Checksum [2022-09-30T14:25:55.563Z] 4872d77fe225: Download complete [2022-09-30T14:25:55.563Z] 5851b861e8e6: Verifying Checksum [2022-09-30T14:25:55.563Z] 5851b861e8e6: Download complete [2022-09-30T14:25:55.563Z] b85a868b505f: Verifying Checksum [2022-09-30T14:25:55.563Z] b85a868b505f: Download complete [2022-09-30T14:25:55.823Z] bab4dde63d76: Verifying Checksum [2022-09-30T14:25:55.823Z] bab4dde63d76: Download complete [2022-09-30T14:25:57.198Z] b85a868b505f: Pull complete [2022-09-30T14:25:57.198Z] e2be974225ed: Pull complete [2022-09-30T14:25:57.458Z] 339a4e72a1f5: Pull complete [2022-09-30T14:25:57.717Z] 988bab9f4d93: Pull complete [2022-09-30T14:25:57.975Z] 1469e6f7b9e6: Pull complete [2022-09-30T14:25:57.975Z] eaf3925da568: Pull complete [2022-09-30T14:25:59.883Z] bab4dde63d76: Pull complete [2022-09-30T14:25:59.883Z] bde34c3a00c8: Pull complete [2022-09-30T14:25:59.883Z] b352a97aabf1: Pull complete [2022-09-30T14:26:00.143Z] 4872d77fe225: Pull complete [2022-09-30T14:26:00.143Z] 5851b861e8e6: Pull complete [2022-09-30T14:26:00.143Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-30T14:26:00.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-30T14:26:00.143Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T14:26:00.238Z] prd-ubuntu20.04-docker-8c-8g-6094 does not seem to be running inside a container [2022-09-30T14:26:00.274Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-30T14:26:01.700Z] $ docker top b82df190cad089a2a55c2c219371a64efdd6fd2c8f6c04d2751aa93b0283f26e -eo pid,comm [2022-09-30T14:26:01.759Z] 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-30T14:26:01.759Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-30T14:26:01.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-30T14:26:01.801Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-30T14:26:01.916Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-30T14:26:01.921Z] $ docker exec b82df190cad089a2a55c2c219371a64efdd6fd2c8f6c04d2751aa93b0283f26e ssh-agent [2022-09-30T14:26:02.025Z] SSH_AUTH_SOCK=/tmp/ssh-KlLKaXEb9urx/agent.32 [2022-09-30T14:26:02.025Z] SSH_AGENT_PID=38 [2022-09-30T14:26:02.033Z] Running ssh-add (command line suppressed) [2022-09-30T14:26:02.132Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_13393383512923010354.key (/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_13393383512923010354.key) [2022-09-30T14:26:02.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-30T14:26:02.427Z] + git tag --points-at HEAD [Pipeline] } [2022-09-30T14:26:02.442Z] $ docker exec --env ******** --env ******** b82df190cad089a2a55c2c219371a64efdd6fd2c8f6c04d2751aa93b0283f26e ssh-agent -k [2022-09-30T14:26:02.545Z] unset SSH_AUTH_SOCK; [2022-09-30T14:26:02.545Z] unset SSH_AGENT_PID; [2022-09-30T14:26:02.545Z] echo Agent pid 38 killed; [2022-09-30T14:26:02.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-30T14:26:02.574Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-30T14:26:02.574Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-30T14:26:02.689Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-30T14:26:02.693Z] $ docker exec b82df190cad089a2a55c2c219371a64efdd6fd2c8f6c04d2751aa93b0283f26e ssh-agent [2022-09-30T14:26:02.797Z] SSH_AUTH_SOCK=/tmp/ssh-XdDrZNNaMt8X/agent.70 [2022-09-30T14:26:02.797Z] SSH_AGENT_PID=76 [2022-09-30T14:26:02.803Z] Running ssh-add (command line suppressed) [2022-09-30T14:26:02.912Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_10293241661237733519.key (/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/private_key_10293241661237733519.key) [2022-09-30T14:26:02.925Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-30T14:26:03.215Z] + git semver init [2022-09-30T14:26:03.475Z] 2022-09-30 14:26:03,400 [run_init] DEBUG init version:0.0.0 force:False [2022-09-30T14:26:03.475Z] 2022-09-30 14:26:03,401 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver [2022-09-30T14:26:03.475Z] 2022-09-30 14:26:03,401 [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-30T14:26:03.475Z] 2022-09-30 14:26:03,402 [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-30T14:26:04.419Z] 2022-09-30 14:26:04,383 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.git/info/exclude [2022-09-30T14:26:04.419Z] 2022-09-30 14:26:04,384 [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-30T14:26:04.419Z] 2022-09-30 14:26:04,384 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver/PR-1224 [2022-09-30T14:26:04.419Z] 2022-09-30 14:26:04,388 [execute] INFO git cat-file --batch-check [2022-09-30T14:26:04.419Z] 2022-09-30 14:26:04,389 [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-30T14:26:04.419Z] 2022-09-30 14:26:04,395 [execute] INFO git cat-file --batch [2022-09-30T14:26:04.419Z] 2022-09-30 14:26:04,395 [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-30T14:26:04.419Z] 2022-09-30 14:26:04,399 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1224/.semver/PR-1224 [2022-09-30T14:26:04.419Z] 0.0.0 [Pipeline] } [2022-09-30T14:26:04.438Z] $ docker exec --env ******** --env ******** b82df190cad089a2a55c2c219371a64efdd6fd2c8f6c04d2751aa93b0283f26e ssh-agent -k [2022-09-30T14:26:04.548Z] unset SSH_AUTH_SOCK; [2022-09-30T14:26:04.549Z] unset SSH_AGENT_PID; [2022-09-30T14:26:04.549Z] echo Agent pid 76 killed; [2022-09-30T14:26:04.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-30T14:26:04.861Z] + git semver [Pipeline] } [2022-09-30T14:26:05.137Z] $ docker stop --time=1 b82df190cad089a2a55c2c219371a64efdd6fd2c8f6c04d2751aa93b0283f26e [2022-09-30T14:26:06.439Z] $ docker rm -f b82df190cad089a2a55c2c219371a64efdd6fd2c8f6c04d2751aa93b0283f26e [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-30T14:26:06.776Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-30T14:26:06.989Z] Stashed 1 file(s) [Pipeline] echo [2022-09-30T14:26:06.992Z] [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-30T14:26:07.127Z] provisioning config files... [2022-09-30T14:26:07.136Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config4334854729052871199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:26:07.437Z] ---> docker-login.sh [2022-09-30T14:26:07.437Z] nexus3.edgexfoundry.org:10001 [2022-09-30T14:26:07.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:26:07.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:26:07.437Z] Configure a credential helper to remove this warning. See [2022-09-30T14:26:07.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:26:07.437Z] [2022-09-30T14:26:07.437Z] Login Succeeded [2022-09-30T14:26:07.437Z] nexus3.edgexfoundry.org:10002 [2022-09-30T14:26:07.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:26:07.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:26:07.437Z] Configure a credential helper to remove this warning. See [2022-09-30T14:26:07.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:26:07.437Z] [2022-09-30T14:26:07.437Z] Login Succeeded [2022-09-30T14:26:07.437Z] nexus3.edgexfoundry.org:10003 [2022-09-30T14:26:07.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:26:07.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:26:07.701Z] Configure a credential helper to remove this warning. See [2022-09-30T14:26:07.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:26:07.701Z] [2022-09-30T14:26:07.701Z] Login Succeeded [2022-09-30T14:26:07.701Z] nexus3.edgexfoundry.org:10004 [2022-09-30T14:26:07.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:26:07.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:26:07.961Z] Configure a credential helper to remove this warning. See [2022-09-30T14:26:07.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:26:07.961Z] [2022-09-30T14:26:07.961Z] Login Succeeded [2022-09-30T14:26:07.961Z] docker.io [2022-09-30T14:26:07.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:26:08.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:26:08.219Z] Configure a credential helper to remove this warning. See [2022-09-30T14:26:08.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:26:08.219Z] [2022-09-30T14:26:08.219Z] Login Succeeded [2022-09-30T14:26:08.219Z] ---> docker-login.sh ends [Pipeline] } [2022-09-30T14:26:08.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-30T14:26:08.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-30T14:26:08.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-30T14:26:08.309Z] ========================================================= [2022-09-30T14:26:08.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-30T14:26:08.309Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:26:08.613Z] + 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-30T14:26:08.614Z] Sending build context to Docker daemon 9.937MB [2022-09-30T14:26:08.614Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-30T14:26:08.614Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-30T14:26:08.614Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-30T14:26:08.614Z] 2408cc74d12b: Pulling fs layer [2022-09-30T14:26:08.614Z] ea60b727a1ce: Pulling fs layer [2022-09-30T14:26:08.614Z] 30c4a7721957: Pulling fs layer [2022-09-30T14:26:08.614Z] 370296b7ddb6: Pulling fs layer [2022-09-30T14:26:08.614Z] 7c6cee850709: Pulling fs layer [2022-09-30T14:26:08.614Z] aa9baa53a306: Pulling fs layer [2022-09-30T14:26:08.614Z] 8b309c321861: Pulling fs layer [2022-09-30T14:26:08.614Z] d8d76fd02f46: Pulling fs layer [2022-09-30T14:26:08.614Z] fa31f396de31: Pulling fs layer [2022-09-30T14:26:08.614Z] 370296b7ddb6: Waiting [2022-09-30T14:26:08.614Z] aa9baa53a306: Waiting [2022-09-30T14:26:08.614Z] 7c6cee850709: Waiting [2022-09-30T14:26:08.614Z] 8b309c321861: Waiting [2022-09-30T14:26:08.614Z] d8d76fd02f46: Waiting [2022-09-30T14:26:08.614Z] fa31f396de31: Waiting [2022-09-30T14:26:08.614Z] 30c4a7721957: Download complete [2022-09-30T14:26:08.614Z] ea60b727a1ce: Verifying Checksum [2022-09-30T14:26:08.614Z] ea60b727a1ce: Download complete [2022-09-30T14:26:08.875Z] 7c6cee850709: Verifying Checksum [2022-09-30T14:26:08.875Z] 7c6cee850709: Download complete [2022-09-30T14:26:08.875Z] aa9baa53a306: Verifying Checksum [2022-09-30T14:26:08.875Z] aa9baa53a306: Download complete [2022-09-30T14:26:08.875Z] 2408cc74d12b: Verifying Checksum [2022-09-30T14:26:08.875Z] 2408cc74d12b: Download complete [2022-09-30T14:26:08.875Z] 8b309c321861: Verifying Checksum [2022-09-30T14:26:08.875Z] 8b309c321861: Download complete [2022-09-30T14:26:08.875Z] 2408cc74d12b: Pull complete [2022-09-30T14:26:09.144Z] ea60b727a1ce: Pull complete [2022-09-30T14:26:09.144Z] 30c4a7721957: Pull complete [2022-09-30T14:26:09.748Z] fa31f396de31: Verifying Checksum [2022-09-30T14:26:09.748Z] fa31f396de31: Download complete [2022-09-30T14:26:09.748Z] d8d76fd02f46: Verifying Checksum [2022-09-30T14:26:09.748Z] d8d76fd02f46: Download complete [2022-09-30T14:26:10.009Z] 370296b7ddb6: Verifying Checksum [2022-09-30T14:26:10.009Z] 370296b7ddb6: Download complete [2022-09-30T14:26:14.205Z] 370296b7ddb6: Pull complete [2022-09-30T14:26:14.205Z] 7c6cee850709: Pull complete [2022-09-30T14:26:14.205Z] aa9baa53a306: Pull complete [2022-09-30T14:26:14.205Z] 8b309c321861: Pull complete [2022-09-30T14:26:16.736Z] d8d76fd02f46: Pull complete [2022-09-30T14:26:16.995Z] fa31f396de31: Pull complete [2022-09-30T14:26:16.995Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-09-30T14:26:16.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-30T14:26:16.995Z] ---> cef68f9685f8 [2022-09-30T14:26:16.995Z] Step 3/11 : ARG MAKE=make build [2022-09-30T14:26:18.900Z] ---> Running in 6382687de503 [2022-09-30T14:26:19.158Z] Removing intermediate container 6382687de503 [2022-09-30T14:26:19.158Z] ---> d2042be1d502 [2022-09-30T14:26:19.159Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-30T14:26:19.159Z] ---> Running in ea3ec6353d9d [2022-09-30T14:26:19.418Z] Removing intermediate container ea3ec6353d9d [2022-09-30T14:26:19.418Z] ---> c6e70cd37990 [2022-09-30T14:26:19.418Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T14:26:19.418Z] ---> Running in 8085a61c0b4b [2022-09-30T14:26:19.418Z] Removing intermediate container 8085a61c0b4b [2022-09-30T14:26:19.418Z] ---> 3bc39190e0a9 [2022-09-30T14:26:19.418Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T14:26:19.676Z] ---> Running in 363f5e89a1b1 [2022-09-30T14:26:20.243Z] Removing intermediate container 363f5e89a1b1 [2022-09-30T14:26:20.243Z] ---> 71d535bafcc9 [2022-09-30T14:26:20.243Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-30T14:26:20.243Z] ---> Running in 0c6c298affb6 [2022-09-30T14:26:20.503Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-30T14:26:21.440Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-30T14:26:21.699Z] OK: 211 MiB in 51 packages [2022-09-30T14:26:22.100Z] Still waiting to schedule task [2022-09-30T14:26:22.100Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6093’ [2022-09-30T14:26:22.270Z] Removing intermediate container 0c6c298affb6 [2022-09-30T14:26:22.271Z] ---> 0c761e5801e8 [2022-09-30T14:26:22.271Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-30T14:26:22.271Z] ---> 4bb5199e0e99 [2022-09-30T14:26:22.271Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-30T14:26:22.271Z] ---> Running in 1b89ad54c286 [2022-09-30T14:26:37.179Z] Removing intermediate container 1b89ad54c286 [2022-09-30T14:26:37.179Z] ---> 6820f0051df7 [2022-09-30T14:26:37.179Z] Step 10/11 : COPY . . [2022-09-30T14:26:37.745Z] ---> 3ef6dcf10532 [2022-09-30T14:26:37.745Z] Step 11/11 : RUN ${MAKE} [2022-09-30T14:26:37.745Z] ---> Running in 83688372b031 [2022-09-30T14:26:38.005Z] noop [2022-09-30T14:26:38.269Z] Removing intermediate container 83688372b031 [2022-09-30T14:26:38.269Z] ---> 88724c94832d [2022-09-30T14:26:38.269Z] Successfully built 88724c94832d [2022-09-30T14:26:38.529Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:26:38.837Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-30T14:26:38.838Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T14:26:38.901Z] prd-ubuntu20.04-docker-8c-8g-6094 does not seem to be running inside a container [2022-09-30T14:26:38.929Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-30T14:26:39.349Z] $ docker top 38831e7cfe56aacb00bc6b0fc488a2c1ddddb10e6e7240f05c26001173664f6a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-30T14:26:39.689Z] + go version [2022-09-30T14:26:39.689Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-30T14:26:39.700Z] $ docker stop --time=1 38831e7cfe56aacb00bc6b0fc488a2c1ddddb10e6e7240f05c26001173664f6a [2022-09-30T14:26:41.009Z] $ docker rm -f 38831e7cfe56aacb00bc6b0fc488a2c1ddddb10e6e7240f05c26001173664f6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:26:41.376Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-30T14:26:41.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T14:26:41.440Z] prd-ubuntu20.04-docker-8c-8g-6094 does not seem to be running inside a container [2022-09-30T14:26:41.466Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-30T14:26:41.829Z] $ docker top 166bbe354178b3bbee2aa8a1fc9918f035217b6cf4791697a61146b72c3e534f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-30T14:26:42.174Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1224 [Pipeline] fileExists [Pipeline] sh [2022-09-30T14:26:42.469Z] + make test [2022-09-30T14:26:42.469Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-30T14:26:49.036Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-30T14:27:03.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-30T14:27:03.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-30T14:27:03.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-30T14:27:03.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-30T14:27:03.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-30T14:27:03.906Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 27.6% of statements [2022-09-30T14:27:03.906Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements [2022-09-30T14:27:03.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-30T14:27:03.906Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.130s coverage: 60.0% of statements [2022-09-30T14:27:03.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-30T14:27:03.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-30T14:27:04.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.120s coverage: 54.4% of statements [2022-09-30T14:27:04.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-30T14:27:04.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-30T14:27:04.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-30T14:27:04.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-30T14:27:04.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 65.1% of statements [2022-09-30T14:27:04.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-30T14:27:04.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-30T14:27:04.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.774s coverage: 89.2% of statements [2022-09-30T14:27:04.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-30T14:27:04.423Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.072s coverage: 4.7% of statements [2022-09-30T14:27:04.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-30T14:27:22.500Z] 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-30T14:27:22.500Z] GO111MODULE=on go vet ./... [2022-09-30T14:27:23.873Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-30T14:27:23.873Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-30T14:27:23.873Z] ./bin/test-attribution-txt.sh [2022-09-30T14:27:23.873Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-30T14:27:24.132Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-30T14:27:24.132Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-30T14:27:24.132Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-30T14:27:24.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-30T14:27:24.158Z] $ docker stop --time=1 166bbe354178b3bbee2aa8a1fc9918f035217b6cf4791697a61146b72c3e534f [2022-09-30T14:27:26.284Z] $ docker rm -f 166bbe354178b3bbee2aa8a1fc9918f035217b6cf4791697a61146b72c3e534f [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-30T14:27:26.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-30T14:27:26.838Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-30T14:27:27.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-30T14:27:27.538Z] + ls -al . [2022-09-30T14:27:27.538Z] total 276 [2022-09-30T14:27:27.538Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 14:26 . [2022-09-30T14:27:27.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 14:25 .. [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 14:25 .dockerignore [2022-09-30T14:27:27.538Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 14:27 .git [2022-09-30T14:27:27.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 14:25 .github [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 30 14:25 .gitignore [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 14:25 .golangci.yml [2022-09-30T14:27:27.538Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 14:26 .semver [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 30 14:25 CHANGELOG.md [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 14:25 GOVERNANCE.md [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 30 14:25 Jenkinsfile [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 14:25 LICENSE [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 30 14:25 Makefile [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 14:25 OWNERS.md [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 30 14:25 README.md [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 14:26 VERSION [2022-09-30T14:27:27.538Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 14:25 bin [2022-09-30T14:27:27.538Z] -rw-r--r-- 1 jenkins jenkins 100927 Sep 30 14:27 coverage.out [2022-09-30T14:27:27.538Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 14:25 example [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 30 14:25 go.mod [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 30 14:25 go.sum [2022-09-30T14:27:27.538Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 30 14:25 internal [2022-09-30T14:27:27.538Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 14:25 openapi [2022-09-30T14:27:27.538Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 14:25 pkg [2022-09-30T14:27:27.538Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 14:25 snap [2022-09-30T14:27:27.538Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 14:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:27:27.879Z] + 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=6be3e42720c496eddef1347f5ff85b7925ce2f9b --label arch=amd64 --label version=0.0.0 . [2022-09-30T14:27:27.879Z] Sending build context to Docker daemon 10.04MB [2022-09-30T14:27:27.879Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-30T14:27:27.879Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-30T14:27:27.879Z] ---> 88724c94832d [2022-09-30T14:27:27.879Z] Step 3/25 : ARG MAKE=make build [2022-09-30T14:27:27.879Z] ---> Running in a45db1e97616 [2022-09-30T14:27:28.145Z] Removing intermediate container a45db1e97616 [2022-09-30T14:27:28.145Z] ---> 433d5e2e52ae [2022-09-30T14:27:28.145Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-30T14:27:28.145Z] ---> Running in d97725accd30 [2022-09-30T14:27:28.145Z] Removing intermediate container d97725accd30 [2022-09-30T14:27:28.145Z] ---> 8a71847209b7 [2022-09-30T14:27:28.145Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T14:27:28.145Z] ---> Running in d581323779a3 [2022-09-30T14:27:28.424Z] Removing intermediate container d581323779a3 [2022-09-30T14:27:28.424Z] ---> 054e3d141195 [2022-09-30T14:27:28.424Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T14:27:28.424Z] ---> Running in 4fdbebb4c17d [2022-09-30T14:27:29.008Z] Removing intermediate container 4fdbebb4c17d [2022-09-30T14:27:29.008Z] ---> a5813442de02 [2022-09-30T14:27:29.008Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-30T14:27:29.008Z] ---> Running in 5b90da6e1ab7 [2022-09-30T14:27:29.286Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-30T14:27:30.683Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-30T14:27:30.944Z] OK: 211 MiB in 51 packages [2022-09-30T14:27:31.524Z] Removing intermediate container 5b90da6e1ab7 [2022-09-30T14:27:31.524Z] ---> d7596a3f2826 [2022-09-30T14:27:31.524Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-30T14:27:31.524Z] ---> d1d5ad71809f [2022-09-30T14:27:31.524Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-30T14:27:31.524Z] ---> Running in 76cca762dfb4 [2022-09-30T14:27:32.467Z] Removing intermediate container 76cca762dfb4 [2022-09-30T14:27:32.467Z] ---> 04fbee2f9318 [2022-09-30T14:27:32.467Z] Step 10/25 : COPY . . [2022-09-30T14:27:32.726Z] ---> 0e9641cd91e2 [2022-09-30T14:27:32.726Z] Step 11/25 : RUN ${MAKE} [2022-09-30T14:27:32.726Z] ---> Running in 9e4c92ec5f02 [2022-09-30T14:27:32.986Z] 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-30T14:27:51.065Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-30T14:27:51.999Z] Removing intermediate container 9e4c92ec5f02 [2022-09-30T14:27:51.999Z] ---> ff5658461967 [2022-09-30T14:27:51.999Z] Step 12/25 : FROM alpine:3.16 [2022-09-30T14:27:52.566Z] 3.16: Pulling from library/alpine [2022-09-30T14:27:52.566Z] 213ec9aee27d: Pulling fs layer [2022-09-30T14:27:52.836Z] 213ec9aee27d: Verifying Checksum [2022-09-30T14:27:52.836Z] 213ec9aee27d: Download complete [2022-09-30T14:27:52.836Z] 213ec9aee27d: Pull complete [2022-09-30T14:27:52.836Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-30T14:27:52.836Z] Status: Downloaded newer image for alpine:3.16 [2022-09-30T14:27:52.836Z] ---> 9c6f07244728 [2022-09-30T14:27:52.836Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T14:27:53.095Z] ---> Running in 549d3847aa74 [2022-09-30T14:27:53.095Z] Removing intermediate container 549d3847aa74 [2022-09-30T14:27:53.095Z] ---> 1f8452f716b2 [2022-09-30T14:27:53.095Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T14:27:53.095Z] ---> Running in c28902f770f5 [2022-09-30T14:27:53.663Z] Removing intermediate container c28902f770f5 [2022-09-30T14:27:53.663Z] ---> 8c75b7694e36 [2022-09-30T14:27:53.663Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-30T14:27:53.663Z] ---> Running in ad7972e1adba [2022-09-30T14:27:54.230Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-30T14:27:54.797Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-30T14:27:55.364Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-30T14:27:55.364Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-30T14:27:55.364Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-30T14:27:55.627Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-30T14:27:55.627Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-30T14:27:55.627Z] Executing busybox-1.35.0-r17.trigger [2022-09-30T14:27:55.627Z] OK: 8 MiB in 19 packages [2022-09-30T14:27:56.203Z] Removing intermediate container ad7972e1adba [2022-09-30T14:27:56.203Z] ---> 47471266cd4e [2022-09-30T14:27:56.203Z] Step 16/25 : WORKDIR / [2022-09-30T14:27:56.203Z] ---> Running in 1c9f0b3b87fc [2022-09-30T14:27:56.203Z] Removing intermediate container 1c9f0b3b87fc [2022-09-30T14:27:56.203Z] ---> 245b1e765983 [2022-09-30T14:27:56.203Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-30T14:27:56.464Z] ---> a1f4d53d36e5 [2022-09-30T14:27:56.464Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-30T14:27:57.031Z] ---> 7fb34f939b6e [2022-09-30T14:27:57.031Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-30T14:27:57.289Z] ---> f8f979e5e1fd [2022-09-30T14:27:57.289Z] Step 20/25 : EXPOSE 59999 [2022-09-30T14:27:57.289Z] ---> Running in 0d4d1c5c09ca [2022-09-30T14:27:57.289Z] Removing intermediate container 0d4d1c5c09ca [2022-09-30T14:27:57.289Z] ---> 52ad1a2b0d44 [2022-09-30T14:27:57.289Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-30T14:27:57.289Z] ---> Running in 5053d7389c4f [2022-09-30T14:27:57.547Z] Removing intermediate container 5053d7389c4f [2022-09-30T14:27:57.547Z] ---> 7957c8ede11c [2022-09-30T14:27:57.547Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-30T14:27:57.547Z] ---> Running in c08f914e648b [2022-09-30T14:27:57.547Z] Removing intermediate container c08f914e648b [2022-09-30T14:27:57.547Z] ---> 722548ca64be [2022-09-30T14:27:57.547Z] Step 23/25 : LABEL arch=amd64 [2022-09-30T14:27:57.547Z] ---> Running in a548fc725b58 [2022-09-30T14:27:57.805Z] Removing intermediate container a548fc725b58 [2022-09-30T14:27:57.805Z] ---> 1281a2a0e219 [2022-09-30T14:27:57.805Z] Step 24/25 : LABEL git_sha=6be3e42720c496eddef1347f5ff85b7925ce2f9b [2022-09-30T14:27:57.805Z] ---> Running in 5cfb68b64707 [2022-09-30T14:27:57.805Z] Removing intermediate container 5cfb68b64707 [2022-09-30T14:27:57.805Z] ---> a641bb5e0a5d [2022-09-30T14:27:57.805Z] Step 25/25 : LABEL version=0.0.0 [2022-09-30T14:27:57.805Z] ---> Running in c77e0ec01787 [2022-09-30T14:27:58.064Z] Removing intermediate container c77e0ec01787 [2022-09-30T14:27:58.064Z] ---> 1953c1b5dc3b [2022-09-30T14:27:58.064Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-30T14:27:58.064Z] Successfully built 1953c1b5dc3b [2022-09-30T14:27:58.064Z] 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-30T14:27:58.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-30T14:27:58.502Z] [2022-09-30T14:27:58.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:27:58.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-30T14:27:58.802Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-30T14:27:58.802Z] 5eb5b503b376: Pulling fs layer [2022-09-30T14:27:58.802Z] 5c69ac0246d0: Pulling fs layer [2022-09-30T14:27:58.802Z] ec43610c2a17: Pulling fs layer [2022-09-30T14:27:58.802Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-30T14:27:58.802Z] 33b1e0a273af: Pulling fs layer [2022-09-30T14:27:58.802Z] 5d3b04190fa2: Pulling fs layer [2022-09-30T14:27:58.802Z] 2f39f015ded8: Pulling fs layer [2022-09-30T14:27:58.802Z] 33b1e0a273af: Waiting [2022-09-30T14:27:58.802Z] 5d3b04190fa2: Waiting [2022-09-30T14:27:58.802Z] 2f39f015ded8: Waiting [2022-09-30T14:27:58.802Z] 3a2ae6a8a46f: Waiting [2022-09-30T14:27:58.802Z] 5c69ac0246d0: Verifying Checksum [2022-09-30T14:27:58.802Z] 5c69ac0246d0: Download complete [2022-09-30T14:27:58.802Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-30T14:27:58.802Z] 3a2ae6a8a46f: Download complete [2022-09-30T14:27:59.063Z] 33b1e0a273af: Verifying Checksum [2022-09-30T14:27:59.063Z] 33b1e0a273af: Download complete [2022-09-30T14:27:59.063Z] ec43610c2a17: Verifying Checksum [2022-09-30T14:27:59.063Z] ec43610c2a17: Download complete [2022-09-30T14:27:59.063Z] 5d3b04190fa2: Verifying Checksum [2022-09-30T14:27:59.063Z] 5d3b04190fa2: Download complete [2022-09-30T14:27:59.063Z] 5eb5b503b376: Verifying Checksum [2022-09-30T14:27:59.063Z] 5eb5b503b376: Download complete [2022-09-30T14:27:59.629Z] 2f39f015ded8: Verifying Checksum [2022-09-30T14:27:59.629Z] 2f39f015ded8: Download complete [2022-09-30T14:28:00.197Z] 5eb5b503b376: Pull complete [2022-09-30T14:28:00.455Z] 5c69ac0246d0: Pull complete [2022-09-30T14:28:01.023Z] ec43610c2a17: Pull complete [2022-09-30T14:28:01.023Z] 3a2ae6a8a46f: Pull complete [2022-09-30T14:28:01.023Z] 33b1e0a273af: Pull complete [2022-09-30T14:28:01.280Z] 5d3b04190fa2: Pull complete [2022-09-30T14:28:05.466Z] 2f39f015ded8: Pull complete [2022-09-30T14:28:05.466Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-30T14:28:05.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-30T14:28:05.466Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T14:28:05.536Z] prd-ubuntu20.04-docker-8c-8g-6094 does not seem to be running inside a container [2022-09-30T14:28:05.567Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-30T14:28:07.214Z] $ docker top b2149d5655f6238bf4c04022589070e70706513648fd064311c40a27efb058f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:28:07.582Z] ---> job-cost.sh [2022-09-30T14:28:07.582Z] lf-activate-venv: SKIPPING [2022-09-30T14:28:07.582Z] INFO: No Stack... [2022-09-30T14:28:08.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-30T14:28:08.425Z] INFO: Archiving Costs [Pipeline] sh [2022-09-30T14:28:08.720Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives/cost.csv [2022-09-30T14:28:08.720Z] + cut -d, -f6 [Pipeline] lock [2022-09-30T14:28:08.733Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1224-2-stack-cost] [2022-09-30T14:28:08.739Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-2-stack-cost] did not exist. Created. [2022-09-30T14:28:08.739Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1224-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-30T14:28:09.034Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-30T14:28:09.072Z] Stashed 1 file(s) [Pipeline] } [2022-09-30T14:28:09.078Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-30T14:28:09.098Z] $ docker stop --time=1 b2149d5655f6238bf4c04022589070e70706513648fd064311c40a27efb058f4 [2022-09-30T14:28:10.296Z] $ docker rm -f b2149d5655f6238bf4c04022589070e70706513648fd064311c40a27efb058f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-30T14:29:15.256Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6095 in /w/workspace/gexfoundry_device-sdk-go_PR-1224 [Pipeline] { [Pipeline] ws [2022-09-30T14:29:15.269Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-09-30T14:29:15.308Z] The recommended git tool is: git [2022-09-30T14:29:20.850Z] using credential edgex-jenkins-ssh [2022-09-30T14:29:20.868Z] Cloning the remote Git repository [2022-09-30T14:29:20.916Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-30T14:29:20.997Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-09-30T14:29:21.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-30T14:29:21.162Z] > git --version # timeout=10 [2022-09-30T14:29:21.187Z] > git --version # 'git version 2.25.1' [2022-09-30T14:29:21.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-30T14:29:21.251Z] Verifying host key using known hosts file [2022-09-30T14:29:21.445Z] 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-30T14:29:21.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-30T14:29:23.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-30T14:29:23.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-30T14:29:23.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-30T14:29:23.998Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-30T14:29:23.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-30T14:29:24.005Z] Verifying host key using known hosts file [2022-09-30T14:29:24.012Z] 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-30T14:29:24.024Z] > 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-30T14:29:24.637Z] Merging remotes/origin/main commit 7dbdf76fddf8d5c49cfbe8a20277166ae9dac901 into PR head commit 6be3e42720c496eddef1347f5ff85b7925ce2f9b [2022-09-30T14:29:24.878Z] Merge succeeded, producing 6be3e42720c496eddef1347f5ff85b7925ce2f9b [2022-09-30T14:29:24.879Z] Checking out Revision 6be3e42720c496eddef1347f5ff85b7925ce2f9b (PR-1224) [2022-09-30T14:29:25.386Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-09-30T14:29:24.655Z] > git config core.sparsecheckout # timeout=10 [2022-09-30T14:29:24.670Z] > git checkout -f 6be3e42720c496eddef1347f5ff85b7925ce2f9b # timeout=10 [2022-09-30T14:29:24.774Z] > git remote # timeout=10 [2022-09-30T14:29:24.793Z] > git config --get remote.origin.url # timeout=10 [2022-09-30T14:29:24.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-30T14:29:24.822Z] Verifying host key using known hosts file [2022-09-30T14:29:24.826Z] 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-30T14:29:24.835Z] > git merge 7dbdf76fddf8d5c49cfbe8a20277166ae9dac901 # timeout=10 [2022-09-30T14:29:24.861Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-30T14:29:24.886Z] > git config core.sparsecheckout # timeout=10 [2022-09-30T14:29:24.898Z] > git checkout -f 6be3e42720c496eddef1347f5ff85b7925ce2f9b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-30T14:29:26.383Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-30T14:29:26.383Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-30T14:29:26.383Z] Dload Upload Total Spent Left Speed [2022-09-30T14:29:26.383Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-09-30T14:29:27.010Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-30T14:29:27.352Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-30T14:29:27.353Z] + sudo tee /etc/docker/daemon.new [2022-09-30T14:29:27.353Z] { [2022-09-30T14:29:27.353Z] "registry-mirrors": [ [2022-09-30T14:29:27.353Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-30T14:29:27.353Z] ], [2022-09-30T14:29:27.353Z] "bip": "10.250.0.254/24", [2022-09-30T14:29:27.353Z] "hosts": [ [2022-09-30T14:29:27.353Z] "tcp://0.0.0.0:5555", [2022-09-30T14:29:27.353Z] "unix:///var/run/docker.sock" [2022-09-30T14:29:27.353Z] ], [2022-09-30T14:29:27.353Z] "mtu": 1458, [2022-09-30T14:29:27.353Z] "selinux-enabled": true, [2022-09-30T14:29:27.353Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-30T14:29:27.353Z] } [Pipeline] sh [2022-09-30T14:29:27.696Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-30T14:29:28.031Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-30T14:29:46.327Z] provisioning config files... [2022-09-30T14:29:46.356Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config10171236465988218526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:29:46.711Z] ---> docker-login.sh [2022-09-30T14:29:46.711Z] nexus3.edgexfoundry.org:10001 [2022-09-30T14:29:47.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:29:47.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:29:47.581Z] Configure a credential helper to remove this warning. See [2022-09-30T14:29:47.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:29:47.581Z] [2022-09-30T14:29:47.581Z] Login Succeeded [2022-09-30T14:29:47.581Z] nexus3.edgexfoundry.org:10002 [2022-09-30T14:29:47.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:29:47.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:29:47.850Z] Configure a credential helper to remove this warning. See [2022-09-30T14:29:47.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:29:47.850Z] [2022-09-30T14:29:47.850Z] Login Succeeded [2022-09-30T14:29:47.850Z] nexus3.edgexfoundry.org:10003 [2022-09-30T14:29:48.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:29:48.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:29:48.391Z] Configure a credential helper to remove this warning. See [2022-09-30T14:29:48.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:29:48.391Z] [2022-09-30T14:29:48.391Z] Login Succeeded [2022-09-30T14:29:48.391Z] nexus3.edgexfoundry.org:10004 [2022-09-30T14:29:48.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:29:48.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:29:48.662Z] Configure a credential helper to remove this warning. See [2022-09-30T14:29:48.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:29:48.662Z] [2022-09-30T14:29:48.662Z] Login Succeeded [2022-09-30T14:29:48.662Z] docker.io [2022-09-30T14:29:48.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-30T14:29:49.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-30T14:29:49.200Z] Configure a credential helper to remove this warning. See [2022-09-30T14:29:49.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-30T14:29:49.200Z] [2022-09-30T14:29:49.200Z] Login Succeeded [2022-09-30T14:29:49.200Z] ---> docker-login.sh ends [Pipeline] } [2022-09-30T14:29:49.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-30T14:29:49.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-30T14:29:49.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-30T14:29:49.395Z] ========================================================= [2022-09-30T14:29:49.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-30T14:29:49.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:29:49.730Z] + 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-30T14:29:49.999Z] Sending build context to Docker daemon 5.338MB [2022-09-30T14:29:49.999Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-30T14:29:49.999Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-30T14:29:50.271Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-30T14:29:50.271Z] b3c136eddcbf: Pulling fs layer [2022-09-30T14:29:50.271Z] c0a3192eca97: Pulling fs layer [2022-09-30T14:29:50.271Z] a050256f5b6f: Pulling fs layer [2022-09-30T14:29:50.271Z] 656be50a0ddc: Pulling fs layer [2022-09-30T14:29:50.271Z] 2bbca73fdf42: Pulling fs layer [2022-09-30T14:29:50.271Z] f607e4fc86c3: Pulling fs layer [2022-09-30T14:29:50.271Z] 4d572c569a2c: Pulling fs layer [2022-09-30T14:29:50.271Z] fcf976331f73: Pulling fs layer [2022-09-30T14:29:50.271Z] f607e4fc86c3: Waiting [2022-09-30T14:29:50.271Z] fcf976331f73: Waiting [2022-09-30T14:29:50.271Z] 656be50a0ddc: Waiting [2022-09-30T14:29:50.271Z] 2bbca73fdf42: Waiting [2022-09-30T14:29:50.271Z] 4d572c569a2c: Waiting [2022-09-30T14:29:50.271Z] a050256f5b6f: Download complete [2022-09-30T14:29:50.271Z] c0a3192eca97: Verifying Checksum [2022-09-30T14:29:50.271Z] c0a3192eca97: Download complete [2022-09-30T14:29:50.271Z] 2bbca73fdf42: Verifying Checksum [2022-09-30T14:29:50.271Z] 2bbca73fdf42: Download complete [2022-09-30T14:29:50.271Z] f607e4fc86c3: Verifying Checksum [2022-09-30T14:29:50.271Z] f607e4fc86c3: Download complete [2022-09-30T14:29:50.271Z] b3c136eddcbf: Verifying Checksum [2022-09-30T14:29:51.262Z] b3c136eddcbf: Pull complete [2022-09-30T14:29:51.535Z] fcf976331f73: Verifying Checksum [2022-09-30T14:29:51.535Z] fcf976331f73: Download complete [2022-09-30T14:29:51.805Z] c0a3192eca97: Pull complete [2022-09-30T14:29:52.398Z] a050256f5b6f: Pull complete [2022-09-30T14:29:52.667Z] 4d572c569a2c: Verifying Checksum [2022-09-30T14:29:52.667Z] 4d572c569a2c: Download complete [2022-09-30T14:29:53.638Z] 656be50a0ddc: Verifying Checksum [2022-09-30T14:29:53.638Z] 656be50a0ddc: Download complete [2022-09-30T14:30:05.995Z] 656be50a0ddc: Pull complete [2022-09-30T14:30:05.995Z] 2bbca73fdf42: Pull complete [2022-09-30T14:30:05.995Z] f607e4fc86c3: Pull complete [2022-09-30T14:30:12.759Z] 4d572c569a2c: Pull complete [2022-09-30T14:30:14.770Z] fcf976331f73: Pull complete [2022-09-30T14:30:14.770Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-09-30T14:30:14.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-30T14:30:14.770Z] ---> 3970a7415f9e [2022-09-30T14:30:14.770Z] Step 3/11 : ARG MAKE=make build [2022-09-30T14:30:16.728Z] ---> Running in 268d14812b48 [2022-09-30T14:30:17.004Z] Removing intermediate container 268d14812b48 [2022-09-30T14:30:17.004Z] ---> 1261f3e140ac [2022-09-30T14:30:17.004Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-30T14:30:17.004Z] ---> Running in f39ac93b65d5 [2022-09-30T14:30:17.593Z] Removing intermediate container f39ac93b65d5 [2022-09-30T14:30:17.593Z] ---> c2488e9f49dc [2022-09-30T14:30:17.593Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T14:30:17.593Z] ---> Running in 788f45b86e2f [2022-09-30T14:30:17.865Z] Removing intermediate container 788f45b86e2f [2022-09-30T14:30:17.865Z] ---> b222ef3f79bd [2022-09-30T14:30:17.865Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T14:30:17.865Z] ---> Running in 055b12cfcae4 [2022-09-30T14:30:19.813Z] Removing intermediate container 055b12cfcae4 [2022-09-30T14:30:19.813Z] ---> 0339685ec960 [2022-09-30T14:30:19.813Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-30T14:30:19.813Z] ---> Running in 17359e4be5e8 [2022-09-30T14:30:20.778Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-30T14:30:21.737Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-30T14:30:22.701Z] OK: 221 MiB in 51 packages [2022-09-30T14:30:23.296Z] Removing intermediate container 17359e4be5e8 [2022-09-30T14:30:23.296Z] ---> b9e253010a4f [2022-09-30T14:30:23.296Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-30T14:30:23.887Z] ---> 1fb6c52ffac9 [2022-09-30T14:30:23.887Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-30T14:30:24.162Z] ---> Running in 5a59a77be504 [2022-09-30T14:31:11.053Z] Removing intermediate container 5a59a77be504 [2022-09-30T14:31:11.053Z] ---> 17e2892008a5 [2022-09-30T14:31:11.053Z] Step 10/11 : COPY . . [2022-09-30T14:31:12.464Z] ---> 8bb1eebfafc1 [2022-09-30T14:31:12.464Z] Step 11/11 : RUN ${MAKE} [2022-09-30T14:31:12.464Z] ---> Running in e9b2d4af1dc9 [2022-09-30T14:31:13.433Z] noop [2022-09-30T14:31:14.017Z] Removing intermediate container e9b2d4af1dc9 [2022-09-30T14:31:14.017Z] ---> 629ee98c9d74 [2022-09-30T14:31:14.017Z] Successfully built 629ee98c9d74 [2022-09-30T14:31:14.017Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:31:14.368Z] + docker inspect -f . ci-base-image-arm64 [2022-09-30T14:31:14.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T14:31:14.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-6095 does not seem to be running inside a container [2022-09-30T14:31:14.636Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-30T14:31:16.651Z] $ docker top 49c51f626221fdb27fb9de44e4cdc52fb5cf3929840e8acd513253b3076f1d9a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-30T14:31:17.470Z] + go version [2022-09-30T14:31:17.470Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-30T14:31:17.491Z] $ docker stop --time=1 49c51f626221fdb27fb9de44e4cdc52fb5cf3929840e8acd513253b3076f1d9a [2022-09-30T14:31:19.070Z] $ docker rm -f 49c51f626221fdb27fb9de44e4cdc52fb5cf3929840e8acd513253b3076f1d9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:31:19.582Z] + docker inspect -f . ci-base-image-arm64 [2022-09-30T14:31:19.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T14:31:19.749Z] prd-ubuntu20.04-docker-arm64-4c-16g-6095 does not seem to be running inside a container [2022-09-30T14:31:19.814Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-30T14:31:20.929Z] $ docker top d1668c1dbe1a6ccb374c20a03241026f23e2341ff1a7ed9ac1284dd12e201c10 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-30T14:31:21.426Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-09-30T14:31:21.752Z] + make test [2022-09-30T14:31:22.018Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-30T14:31:54.254Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-30T14:34:00.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-30T14:34:00.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-30T14:34:00.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-30T14:34:00.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-30T14:34:00.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-30T14:34:00.931Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.300s coverage: 27.6% of statements [2022-09-30T14:34:00.931Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.479s coverage: 78.9% of statements [2022-09-30T14:34:00.931Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-30T14:34:05.184Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.440s coverage: 60.0% of statements [2022-09-30T14:34:05.184Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-30T14:34:05.184Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-30T14:34:09.456Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.653s coverage: 54.4% of statements [2022-09-30T14:34:09.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-30T14:34:09.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-30T14:34:09.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-30T14:34:09.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-30T14:34:10.047Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.525s coverage: 65.1% of statements [2022-09-30T14:34:10.047Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-30T14:34:10.047Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-30T14:34:11.459Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.578s coverage: 89.2% of statements [2022-09-30T14:34:11.459Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-30T14:34:15.719Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.249s coverage: 4.7% of statements [2022-09-30T14:34:15.719Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-30T14:34:15.988Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-30T14:34:15.988Z] GO111MODULE=on go vet ./... [2022-09-30T14:35:52.675Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-30T14:35:52.675Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-30T14:35:52.675Z] ./bin/test-attribution-txt.sh [2022-09-30T14:35:52.675Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-30T14:35:52.675Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-30T14:35:52.675Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-30T14:35:52.675Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-30T14:35:52.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-30T14:35:52.706Z] $ docker stop --time=1 d1668c1dbe1a6ccb374c20a03241026f23e2341ff1a7ed9ac1284dd12e201c10 [2022-09-30T14:35:54.499Z] $ docker rm -f d1668c1dbe1a6ccb374c20a03241026f23e2341ff1a7ed9ac1284dd12e201c10 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-30T14:35:55.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-30T14:35:55.777Z] Warning: overwriting stash ‘coverage-report’ [2022-09-30T14:35:56.260Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-30T14:35:56.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-30T14:35:56.961Z] + ls -al . [2022-09-30T14:35:56.961Z] total 272 [2022-09-30T14:35:56.961Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 30 14:31 . [2022-09-30T14:35:56.961Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 14:29 .. [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 14:29 .dockerignore [2022-09-30T14:35:56.961Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 14:29 .git [2022-09-30T14:35:56.961Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 14:29 .github [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 30 14:29 .gitignore [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 14:29 .golangci.yml [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 30 14:29 CHANGELOG.md [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 14:29 GOVERNANCE.md [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 30 14:29 Jenkinsfile [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 14:29 LICENSE [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 30 14:29 Makefile [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 14:29 OWNERS.md [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 30 14:29 README.md [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 14:26 VERSION [2022-09-30T14:35:56.961Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 14:29 bin [2022-09-30T14:35:56.961Z] -rw-r--r-- 1 jenkins jenkins 100927 Sep 30 14:34 coverage.out [2022-09-30T14:35:56.961Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 14:29 example [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 30 14:29 go.mod [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 30 14:29 go.sum [2022-09-30T14:35:56.961Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 30 14:29 internal [2022-09-30T14:35:56.961Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 14:29 openapi [2022-09-30T14:35:56.961Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 14:29 pkg [2022-09-30T14:35:56.961Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 14:29 snap [2022-09-30T14:35:56.961Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 14:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:35:57.294Z] + 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=6be3e42720c496eddef1347f5ff85b7925ce2f9b --label arch=arm64 --label version=0.0.0 . [2022-09-30T14:35:57.561Z] Sending build context to Docker daemon 5.44MB [2022-09-30T14:35:57.561Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-30T14:35:57.561Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-30T14:35:57.561Z] ---> 629ee98c9d74 [2022-09-30T14:35:57.561Z] Step 3/25 : ARG MAKE=make build [2022-09-30T14:35:57.827Z] ---> Running in 4980bb86ba72 [2022-09-30T14:35:58.096Z] Removing intermediate container 4980bb86ba72 [2022-09-30T14:35:58.096Z] ---> 612018bba6b3 [2022-09-30T14:35:58.096Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-30T14:35:58.096Z] ---> Running in 7d401b93c091 [2022-09-30T14:35:58.364Z] Removing intermediate container 7d401b93c091 [2022-09-30T14:35:58.364Z] ---> 25dcc65ad981 [2022-09-30T14:35:58.364Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T14:35:58.632Z] ---> Running in 07108204769d [2022-09-30T14:35:58.896Z] Removing intermediate container 07108204769d [2022-09-30T14:35:58.896Z] ---> c293bf32d699 [2022-09-30T14:35:58.896Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T14:35:58.896Z] ---> Running in de8c74384a31 [2022-09-30T14:36:00.840Z] Removing intermediate container de8c74384a31 [2022-09-30T14:36:00.840Z] ---> 2e7bdaddea66 [2022-09-30T14:36:00.840Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-30T14:36:00.840Z] ---> Running in 3ec82a1cd369 [2022-09-30T14:36:01.424Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-30T14:36:02.379Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-30T14:36:03.339Z] OK: 221 MiB in 51 packages [2022-09-30T14:36:04.300Z] Removing intermediate container 3ec82a1cd369 [2022-09-30T14:36:04.300Z] ---> 445353561903 [2022-09-30T14:36:04.300Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-30T14:36:04.884Z] ---> b72cce952449 [2022-09-30T14:36:04.884Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-30T14:36:04.884Z] ---> Running in a8cac21c0e54 [2022-09-30T14:36:06.827Z] Removing intermediate container a8cac21c0e54 [2022-09-30T14:36:06.827Z] ---> 51bbea354826 [2022-09-30T14:36:06.827Z] Step 10/25 : COPY . . [2022-09-30T14:36:07.789Z] ---> 4bc0674cb270 [2022-09-30T14:36:07.789Z] Step 11/25 : RUN ${MAKE} [2022-09-30T14:36:07.789Z] ---> Running in 0cbd3a6c511e [2022-09-30T14:36:08.748Z] 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-30T14:38:15.628Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-30T14:38:15.628Z] Removing intermediate container 0cbd3a6c511e [2022-09-30T14:38:15.628Z] ---> b761173862f5 [2022-09-30T14:38:15.628Z] Step 12/25 : FROM alpine:3.16 [2022-09-30T14:38:15.628Z] 3.16: Pulling from library/alpine [2022-09-30T14:38:15.628Z] 9b18e9b68314: Pulling fs layer [2022-09-30T14:38:15.628Z] 9b18e9b68314: Verifying Checksum [2022-09-30T14:38:15.628Z] 9b18e9b68314: Download complete [2022-09-30T14:38:16.235Z] 9b18e9b68314: Pull complete [2022-09-30T14:38:16.235Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-30T14:38:16.235Z] Status: Downloaded newer image for alpine:3.16 [2022-09-30T14:38:16.235Z] ---> a6215f271958 [2022-09-30T14:38:16.235Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-30T14:38:16.505Z] ---> Running in c41dfcb8208e [2022-09-30T14:38:16.778Z] Removing intermediate container c41dfcb8208e [2022-09-30T14:38:16.778Z] ---> f3800b1dcc63 [2022-09-30T14:38:16.778Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-30T14:38:16.778Z] ---> Running in 3161ee084a41 [2022-09-30T14:38:18.744Z] Removing intermediate container 3161ee084a41 [2022-09-30T14:38:18.744Z] ---> 4923259087e4 [2022-09-30T14:38:18.744Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-30T14:38:18.744Z] ---> Running in 1f654f521c93 [2022-09-30T14:38:19.326Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-30T14:38:20.281Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-30T14:38:21.237Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-30T14:38:21.237Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-30T14:38:21.237Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-30T14:38:21.502Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-30T14:38:21.502Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-30T14:38:21.766Z] Executing busybox-1.35.0-r17.trigger [2022-09-30T14:38:21.766Z] OK: 8 MiB in 19 packages [2022-09-30T14:38:22.729Z] Removing intermediate container 1f654f521c93 [2022-09-30T14:38:22.729Z] ---> 2431ce3403d3 [2022-09-30T14:38:22.729Z] Step 16/25 : WORKDIR / [2022-09-30T14:38:22.729Z] ---> Running in b234c1fabbb4 [2022-09-30T14:38:22.997Z] Removing intermediate container b234c1fabbb4 [2022-09-30T14:38:22.997Z] ---> e963a72dae13 [2022-09-30T14:38:22.997Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-30T14:38:23.580Z] ---> 36b8bc33febd [2022-09-30T14:38:23.580Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-30T14:38:25.008Z] ---> 8cf630c7136b [2022-09-30T14:38:25.008Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-30T14:38:25.275Z] ---> c8677e95838e [2022-09-30T14:38:25.275Z] Step 20/25 : EXPOSE 59999 [2022-09-30T14:38:25.275Z] ---> Running in 0200c3935c5b [2022-09-30T14:38:25.542Z] Removing intermediate container 0200c3935c5b [2022-09-30T14:38:25.542Z] ---> 414761a7702a [2022-09-30T14:38:25.542Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-30T14:38:25.542Z] ---> Running in 1ddc133480cc [2022-09-30T14:38:25.815Z] Removing intermediate container 1ddc133480cc [2022-09-30T14:38:25.815Z] ---> c96ec8086652 [2022-09-30T14:38:25.815Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-30T14:38:26.081Z] ---> Running in 3199783a3015 [2022-09-30T14:38:26.353Z] Removing intermediate container 3199783a3015 [2022-09-30T14:38:26.353Z] ---> 7de2d2420707 [2022-09-30T14:38:26.353Z] Step 23/25 : LABEL arch=arm64 [2022-09-30T14:38:26.353Z] ---> Running in 1464f44fe7a1 [2022-09-30T14:38:26.620Z] Removing intermediate container 1464f44fe7a1 [2022-09-30T14:38:26.620Z] ---> bb89b4fc33a6 [2022-09-30T14:38:26.620Z] Step 24/25 : LABEL git_sha=6be3e42720c496eddef1347f5ff85b7925ce2f9b [2022-09-30T14:38:26.620Z] ---> Running in aa976596dfb3 [2022-09-30T14:38:26.887Z] Removing intermediate container aa976596dfb3 [2022-09-30T14:38:26.887Z] ---> 36fa4bc24d8a [2022-09-30T14:38:26.887Z] Step 25/25 : LABEL version=0.0.0 [2022-09-30T14:38:27.153Z] ---> Running in e5ed85baff46 [2022-09-30T14:38:27.419Z] Removing intermediate container e5ed85baff46 [2022-09-30T14:38:27.419Z] ---> a5f0b5991816 [2022-09-30T14:38:27.419Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-30T14:38:27.419Z] Successfully built a5f0b5991816 [2022-09-30T14:38:27.419Z] 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-30T14:38:27.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-30T14:38:27.818Z] [2022-09-30T14:38:27.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:38:28.141Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-30T14:38:28.141Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-30T14:38:28.141Z] 8998bd30e6a1: Pulling fs layer [2022-09-30T14:38:28.141Z] 04944245beec: Pulling fs layer [2022-09-30T14:38:28.141Z] 699f458cf7ca: Pulling fs layer [2022-09-30T14:38:28.141Z] 765212b225bb: Pulling fs layer [2022-09-30T14:38:28.141Z] f23df028b6ca: Pulling fs layer [2022-09-30T14:38:28.141Z] d65c8cfc05b1: Pulling fs layer [2022-09-30T14:38:28.141Z] 2437ff75d9bd: Pulling fs layer [2022-09-30T14:38:28.141Z] f23df028b6ca: Waiting [2022-09-30T14:38:28.141Z] d65c8cfc05b1: Waiting [2022-09-30T14:38:28.141Z] 2437ff75d9bd: Waiting [2022-09-30T14:38:28.141Z] 765212b225bb: Waiting [2022-09-30T14:38:28.407Z] 04944245beec: Verifying Checksum [2022-09-30T14:38:28.407Z] 04944245beec: Download complete [2022-09-30T14:38:28.407Z] 765212b225bb: Download complete [2022-09-30T14:38:28.407Z] f23df028b6ca: Verifying Checksum [2022-09-30T14:38:28.407Z] f23df028b6ca: Download complete [2022-09-30T14:38:28.407Z] d65c8cfc05b1: Verifying Checksum [2022-09-30T14:38:28.407Z] d65c8cfc05b1: Download complete [2022-09-30T14:38:28.407Z] 699f458cf7ca: Verifying Checksum [2022-09-30T14:38:28.407Z] 699f458cf7ca: Download complete [2022-09-30T14:38:28.993Z] 8998bd30e6a1: Verifying Checksum [2022-09-30T14:38:28.993Z] 8998bd30e6a1: Download complete [2022-09-30T14:38:30.937Z] 2437ff75d9bd: Verifying Checksum [2022-09-30T14:38:30.937Z] 2437ff75d9bd: Download complete [2022-09-30T14:38:32.877Z] 8998bd30e6a1: Pull complete [2022-09-30T14:38:33.144Z] 04944245beec: Pull complete [2022-09-30T14:38:34.545Z] 699f458cf7ca: Pull complete [2022-09-30T14:38:34.545Z] 765212b225bb: Pull complete [2022-09-30T14:38:35.502Z] f23df028b6ca: Pull complete [2022-09-30T14:38:35.502Z] d65c8cfc05b1: Pull complete [2022-09-30T14:38:50.488Z] 2437ff75d9bd: Pull complete [2022-09-30T14:38:50.488Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-30T14:38:50.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-30T14:38:50.488Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T14:38:50.661Z] prd-ubuntu20.04-docker-arm64-4c-16g-6095 does not seem to be running inside a container [2022-09-30T14:38:50.729Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-30T14:38:53.167Z] $ docker top 1676cb24434b46bd5f54e1e4b79a8b06b8569557f8cca8bd50a497a67f251a1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:38:53.676Z] ---> job-cost.sh [2022-09-30T14:38:53.943Z] lf-activate-venv: SKIPPING [2022-09-30T14:38:53.943Z] INFO: No Stack... [2022-09-30T14:38:54.525Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-30T14:38:55.484Z] INFO: Archiving Costs [Pipeline] sh [2022-09-30T14:38:55.807Z] + + catcut /w/workspace/device-sdk-go/2/archives/cost.csv -d, [2022-09-30T14:38:55.807Z] -f6 [Pipeline] lock [2022-09-30T14:38:55.877Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1224-2-stack-cost] [2022-09-30T14:38:55.884Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-2-stack-cost] did not exist. Created. [2022-09-30T14:38:55.884Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1224-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-30T14:38:56.536Z] /w/workspace/device-sdk-go/2@tmp/durable-b512e4af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-30T14:38:56.865Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-30T14:38:56.888Z] Warning: overwriting stash ‘stack-cost’ [2022-09-30T14:38:56.942Z] Stashed 1 file(s) [Pipeline] } [2022-09-30T14:38:56.951Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1224-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-30T14:38:56.969Z] $ docker stop --time=1 1676cb24434b46bd5f54e1e4b79a8b06b8569557f8cca8bd50a497a67f251a1e [2022-09-30T14:38:58.429Z] $ docker rm -f 1676cb24434b46bd5f54e1e4b79a8b06b8569557f8cca8bd50a497a67f251a1e [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-30T14:38:58.824Z] provisioning config files... [2022-09-30T14:38:58.830Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config6244344093068197394tmp [Pipeline] { [Pipeline] sh [2022-09-30T14:38:59.119Z] + set +x [2022-09-30T14:38:59.119Z] + curl -s https://codecov.io/bash [2022-09-30T14:38:59.119Z] + bash -s -- [2022-09-30T14:38:59.119Z] [2022-09-30T14:38:59.119Z] _____ _ [2022-09-30T14:38:59.119Z] / ____| | | [2022-09-30T14:38:59.119Z] | | ___ __| | ___ ___ _____ __ [2022-09-30T14:38:59.119Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-30T14:38:59.119Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-30T14:38:59.119Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-30T14:38:59.119Z] Bash-1.0.6 [2022-09-30T14:38:59.119Z] [2022-09-30T14:38:59.119Z] [2022-09-30T14:38:59.119Z] ==> git version 2.25.1 found [2022-09-30T14:38:59.119Z] ==> 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-30T14:38:59.119Z] Release-Date: 2020-01-08 [2022-09-30T14:38:59.119Z] 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-30T14:38:59.119Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-30T14:38:59.119Z] ==> Jenkins CI detected. [2022-09-30T14:38:59.119Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1224 [2022-09-30T14:38:59.119Z] project root: . [2022-09-30T14:38:59.119Z] --> token set from env [2022-09-30T14:38:59.119Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-30T14:38:59.119Z] ==> Running gcov in . (disable via -X gcov) [2022-09-30T14:38:59.119Z] ==> Python coveragepy not found [2022-09-30T14:38:59.119Z] ==> Searching for coverage reports in: [2022-09-30T14:38:59.119Z] + . [2022-09-30T14:38:59.119Z] -> Found 1 reports [2022-09-30T14:38:59.119Z] ==> Detecting git/mercurial file structure [2022-09-30T14:38:59.119Z] ==> Reading reports [2022-09-30T14:38:59.119Z] + ./coverage.out bytes=100927 [2022-09-30T14:38:59.119Z] ==> Appending adjustments [2022-09-30T14:38:59.119Z] https://docs.codecov.io/docs/fixing-reports [2022-09-30T14:38:59.380Z] + Found adjustments [2022-09-30T14:38:59.380Z] ==> Gzipping contents [2022-09-30T14:38:59.380Z] 16K /tmp/codecov.FpEKgN.gz [2022-09-30T14:38:59.380Z] ==> Uploading reports [2022-09-30T14:38:59.380Z] url: https://codecov.io [2022-09-30T14:38:59.380Z] query: branch=PR-1224&commit=6be3e42720c496eddef1347f5ff85b7925ce2f9b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1224%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1224&job=&cmd_args= [2022-09-30T14:38:59.639Z] -> Pinging Codecov [2022-09-30T14:38:59.639Z] 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=6be3e42720c496eddef1347f5ff85b7925ce2f9b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1224%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1224&job=&cmd_args= [2022-09-30T14:38:59.897Z] -> Uploading to [2022-09-30T14:38:59.897Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-30/7E55EF52A471D76F132DFD9A03CDDE97/6be3e42720c496eddef1347f5ff85b7925ce2f9b/49e48fc6-b81c-4c81-8e2a-644c87413bfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220930T143859Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba91f2a222e3ad5f206b933cc55541adcdefcad2a32362dbfd8133886e51683a [2022-09-30T14:38:59.897Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-30T14:38:59.897Z] Dload Upload Total Spent Left Speed [2022-09-30T14:39:00.156Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14535 0 0 100 14535 0 59085 --:--:-- --:--:-- --:--:-- 59085 [2022-09-30T14:39:00.156Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6be3e42720c496eddef1347f5ff85b7925ce2f9b [Pipeline] } [2022-09-30T14:39:00.164Z] 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-30T14:39:00.808Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives ] [2022-09-30T14:39:00.808Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives [2022-09-30T14:39:00.808Z] total 16 [2022-09-30T14:39:00.808Z] drwxr-xr-x 3 root root 4096 Sep 30 14:28 . [2022-09-30T14:39:00.808Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 14:28 .. [2022-09-30T14:39:00.808Z] drwxr-xr-x 2 root root 4096 Sep 30 14:28 cost [2022-09-30T14:39:00.808Z] -rw-r--r-- 1 root root 86 Sep 30 14:28 cost.csv [2022-09-30T14:39:00.808Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives [2022-09-30T14:39:00.808Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives [2022-09-30T14:39:00.808Z] total 16 [2022-09-30T14:39:00.808Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 14:28 . [2022-09-30T14:39:00.808Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 14:28 .. [2022-09-30T14:39:00.808Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 30 14:28 cost [2022-09-30T14:39:00.808Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 30 14:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:39:01.096Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:39:01.954Z] ---> package-listing.sh [2022-09-30T14:39:01.954Z] ++ facter osfamily [2022-09-30T14:39:01.954Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-30T14:39:02.213Z] + OS_FAMILY=debian [2022-09-30T14:39:02.213Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1224 [2022-09-30T14:39:02.213Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-30T14:39:02.214Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-30T14:39:02.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-30T14:39:02.214Z] + PACKAGES=/tmp/packages_start.txt [2022-09-30T14:39:02.214Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1224 ']' [2022-09-30T14:39:02.214Z] + PACKAGES=/tmp/packages_end.txt [2022-09-30T14:39:02.214Z] + case "${OS_FAMILY}" in [2022-09-30T14:39:02.214Z] + dpkg -l [2022-09-30T14:39:02.214Z] + grep '^ii' [2022-09-30T14:39:02.214Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-30T14:39:02.214Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-30T14:39:02.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-30T14:39:02.214Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1224 ']' [2022-09-30T14:39:02.214Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1224/archives/ [2022-09-30T14:39:02.214Z] + 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-30T14:39:02.224Z] 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-30T14:39:02.523Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-30T14:39:02.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-30T14:39:02.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-30T14:39:02.890Z] prd-ubuntu20.04-docker-8c-8g-6094 does not seem to be running inside a container [2022-09-30T14:39:02.919Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-30T14:39:03.133Z] $ docker top 48a29c9f40be1b37989533dfa2e7c49ad94f2bbbf626812ce8e9d5003618d00a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-30T14:39:03.469Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-30T14:39:03.752Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-30T14:39:04.035Z] + ls /var/log/sa-host [2022-09-30T14:39:04.035Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-30T14:39:04.097Z] provisioning config files... [2022-09-30T14:39:04.104Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1224@tmp/config2065444393127100939tmp [Pipeline] { [Pipeline] echo [2022-09-30T14:39:04.115Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:39:04.394Z] ---> create-netrc.sh [Pipeline] } [2022-09-30T14:39:04.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:39:04.709Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-30T14:39:04.716Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:39:04.999Z] ---> sudo-logs.sh [2022-09-30T14:39:04.999Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-30T14:39:05.028Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:39:05.308Z] ---> job-cost.sh [2022-09-30T14:39:05.308Z] lf-activate-venv: SKIPPING [2022-09-30T14:39:05.308Z] DEBUG: total: 0.2199999988079071 [2022-09-30T14:39:05.308Z] INFO: Retrieving Stack Cost... [2022-09-30T14:39:05.567Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-30T14:39:06.134Z] INFO: Archiving Costs [Pipeline] echo [2022-09-30T14:39:06.145Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-30T14:39:06.428Z] ---> logs-deploy.sh [2022-09-30T14:39:06.428Z] lf-activate-venv: SKIPPING [2022-09-30T14:39:06.428Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1224/2 [2022-09-30T14:39:06.428Z] INFO: archiving workspace using pattern(s): [2022-09-30T14:39:07.365Z] Archives upload complete. [2022-09-30T14:39:07.365Z] INFO: archiving logs to Nexus