hahattan commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4784eae9ccf763c7ae31f1170af2777237b51f1a+98b98247f9133d8f7aed6314c982956ab2f73d9e (5143dffceb0afb33ce51a725b9f6504cd2c62285) 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-ssh9677115881795282166.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-ssh10112627364020695562.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-1210/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-1210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7405308611629525002.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-ssh9861726442081516103.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-1210/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-1210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17739213678995613836.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 ‘prd-ubuntu20.04-docker-8c-8g-3’ is offline Running on prd-ubuntu20.04-docker-8c-8g-419 in /w/workspace/gexfoundry_device-sdk-go_PR-1210 [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-1210 # 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/1210/head:refs/remotes/origin/PR-1210 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 98b98247f9133d8f7aed6314c982956ab2f73d9e into PR head commit 4784eae9ccf763c7ae31f1170af2777237b51f1a Merge succeeded, producing 4784eae9ccf763c7ae31f1170af2777237b51f1a Checking out Revision 4784eae9ccf763c7ae31f1170af2777237b51f1a (PR-1210) > git config core.sparsecheckout # timeout=10 > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # 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 98b98247f9133d8f7aed6314c982956ab2f73d9e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 Commit message: "refactor: refactor device command application layer" > git rev-list --no-walk 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-21T05:04:43.501Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-21T05:04:43.551Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-21T05:04:43.561Z] ========================================================= [2022-09-21T05:04:43.561Z] EdgeX Global Pipelines Version Info [2022-09-21T05:04:43.561Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:04:44.279Z] ------------------- [2022-09-21T05:04:44.279Z] stable info: [2022-09-21T05:04:44.279Z] ------------------- [2022-09-21T05:04:44.279Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-21T05:04:44.279Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T05:04:44.279Z] Message: update stable to v1.0.239 [2022-09-21T05:04:44.850Z] ------------------- [2022-09-21T05:04:44.850Z] experimental info: [2022-09-21T05:04:44.850Z] ------------------- [2022-09-21T05:04:44.850Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-21T05:04:44.850Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T05:04:44.850Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-21T05:04:45.028Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-21T05:04:45.047Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-21T05:04:45.064Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-21T05:04:45.077Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-21T05:04:45.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-21T05:04:45.106Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-21T05:04:45.123Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-21T05:04:45.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-21T05:04:45.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-21T05:04:45.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-21T05:04:45.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-21T05:04:45.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-21T05:04:45.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-21T05:04:45.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-21T05:04:45.241Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-21T05:04:45.251Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T05:04:45.264Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T05:04:45.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T05:04:45.295Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-21T05:04:45.308Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-21T05:04:45.325Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-21T05:04:45.339Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-21T05:04:45.355Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-21T05:04:45.371Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-21T05:04:45.387Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-21T05:04:45.406Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-21T05:04:45.421Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-21T05:04:45.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1210 [Pipeline] echo [2022-09-21T05:04:45.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1210 [Pipeline] echo [2022-09-21T05:04:45.458Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1210 [Pipeline] echo [2022-09-21T05:04:45.476Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo [2022-09-21T05:04:45.490Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4784eae [Pipeline] echo [2022-09-21T05:04:45.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T05:04:45.550Z] provisioning config files... [2022-09-21T05:04:45.564Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config14183551702597024977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:04:45.864Z] ---> docker-login.sh [2022-09-21T05:04:45.864Z] nexus3.edgexfoundry.org:10001 [2022-09-21T05:04:46.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:04:46.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:04:46.124Z] Configure a credential helper to remove this warning. See [2022-09-21T05:04:46.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:04:46.124Z] [2022-09-21T05:04:46.124Z] Login Succeeded [2022-09-21T05:04:46.124Z] nexus3.edgexfoundry.org:10002 [2022-09-21T05:04:46.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:04:46.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:04:46.382Z] Configure a credential helper to remove this warning. See [2022-09-21T05:04:46.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:04:46.382Z] [2022-09-21T05:04:46.382Z] Login Succeeded [2022-09-21T05:04:46.382Z] nexus3.edgexfoundry.org:10003 [2022-09-21T05:04:46.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:04:46.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:04:46.382Z] Configure a credential helper to remove this warning. See [2022-09-21T05:04:46.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:04:46.382Z] [2022-09-21T05:04:46.382Z] Login Succeeded [2022-09-21T05:04:46.382Z] nexus3.edgexfoundry.org:10004 [2022-09-21T05:04:46.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:04:46.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:04:46.644Z] Configure a credential helper to remove this warning. See [2022-09-21T05:04:46.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:04:46.644Z] [2022-09-21T05:04:46.644Z] Login Succeeded [2022-09-21T05:04:46.644Z] docker.io [2022-09-21T05:04:46.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:04:46.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:04:46.902Z] Configure a credential helper to remove this warning. See [2022-09-21T05:04:46.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:04:46.902Z] [2022-09-21T05:04:46.902Z] Login Succeeded [2022-09-21T05:04:46.902Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T05:04:46.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-21T05:04:47.284Z] + git rev-list -1 --merges 4784eae9ccf763c7ae31f1170af2777237b51f1a~1..4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo [2022-09-21T05:04:47.318Z] -----------> git rev-list -1 --merges 4784eae9ccf763c7ae31f1170af2777237b51f1a~1..4784eae9ccf763c7ae31f1170af2777237b51f1a 4784eae9ccf763c7ae31f1170af2777237b51f1a [false] [Pipeline] sh [2022-09-21T05:04:47.608Z] + git log --format=format:%s -1 4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo [2022-09-21T05:04:47.622Z] ========================================================= [2022-09-21T05:04:47.622Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-21T05:04:47.622Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T05:04:47.934Z] + git log --format=format:%s -1 4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] echo [2022-09-21T05:04:47.944Z] [semverPrep] GIT_COMMIT: 4784eae9ccf763c7ae31f1170af2777237b51f1a, Commit Message: refactor: refactor device command application layer [Pipeline] echo [2022-09-21T05:04:47.952Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-21T05:04:48.320Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-21T05:04:48.320Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-21T05:04:48.320Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-21T05:04:48.320Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-21T05:04:48.320Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-21T05:04:48.320Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-21T05:04:48.320Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:04:48.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T05:04:48.720Z] [2022-09-21T05:04:48.720Z] 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-21T05:04:49.035Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T05:04:49.035Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-21T05:04:49.035Z] b85a868b505f: Pulling fs layer [2022-09-21T05:04:49.035Z] e2be974225ed: Pulling fs layer [2022-09-21T05:04:49.035Z] 339a4e72a1f5: Pulling fs layer [2022-09-21T05:04:49.035Z] 988bab9f4d93: Pulling fs layer [2022-09-21T05:04:49.035Z] 1469e6f7b9e6: Pulling fs layer [2022-09-21T05:04:49.035Z] eaf3925da568: Pulling fs layer [2022-09-21T05:04:49.035Z] bab4dde63d76: Pulling fs layer [2022-09-21T05:04:49.035Z] bde34c3a00c8: Pulling fs layer [2022-09-21T05:04:49.035Z] b352a97aabf1: Pulling fs layer [2022-09-21T05:04:49.035Z] 4872d77fe225: Pulling fs layer [2022-09-21T05:04:49.035Z] 5851b861e8e6: Pulling fs layer [2022-09-21T05:04:49.035Z] bab4dde63d76: Waiting [2022-09-21T05:04:49.035Z] 4872d77fe225: Waiting [2022-09-21T05:04:49.035Z] 5851b861e8e6: Waiting [2022-09-21T05:04:49.035Z] eaf3925da568: Waiting [2022-09-21T05:04:49.035Z] 988bab9f4d93: Waiting [2022-09-21T05:04:49.035Z] b352a97aabf1: Waiting [2022-09-21T05:04:49.035Z] 1469e6f7b9e6: Waiting [2022-09-21T05:04:49.035Z] bde34c3a00c8: Waiting [2022-09-21T05:04:49.035Z] e2be974225ed: Download complete [2022-09-21T05:04:49.035Z] 988bab9f4d93: Verifying Checksum [2022-09-21T05:04:49.035Z] 988bab9f4d93: Download complete [2022-09-21T05:04:49.302Z] 1469e6f7b9e6: Download complete [2022-09-21T05:04:49.302Z] 339a4e72a1f5: Verifying Checksum [2022-09-21T05:04:49.302Z] 339a4e72a1f5: Download complete [2022-09-21T05:04:49.302Z] eaf3925da568: Verifying Checksum [2022-09-21T05:04:49.302Z] eaf3925da568: Download complete [2022-09-21T05:04:49.302Z] bde34c3a00c8: Verifying Checksum [2022-09-21T05:04:49.302Z] bde34c3a00c8: Download complete [2022-09-21T05:04:49.302Z] b352a97aabf1: Verifying Checksum [2022-09-21T05:04:49.302Z] b352a97aabf1: Download complete [2022-09-21T05:04:49.302Z] 4872d77fe225: Verifying Checksum [2022-09-21T05:04:49.302Z] 4872d77fe225: Download complete [2022-09-21T05:04:49.302Z] 5851b861e8e6: Verifying Checksum [2022-09-21T05:04:49.302Z] 5851b861e8e6: Download complete [2022-09-21T05:04:49.302Z] b85a868b505f: Verifying Checksum [2022-09-21T05:04:49.302Z] b85a868b505f: Download complete [2022-09-21T05:04:49.568Z] bab4dde63d76: Verifying Checksum [2022-09-21T05:04:49.568Z] bab4dde63d76: Download complete [2022-09-21T05:04:50.504Z] b85a868b505f: Pull complete [2022-09-21T05:04:50.763Z] e2be974225ed: Pull complete [2022-09-21T05:04:51.335Z] 339a4e72a1f5: Pull complete [2022-09-21T05:04:51.335Z] 988bab9f4d93: Pull complete [2022-09-21T05:04:51.597Z] 1469e6f7b9e6: Pull complete [2022-09-21T05:04:51.597Z] eaf3925da568: Pull complete [2022-09-21T05:04:53.500Z] bab4dde63d76: Pull complete [2022-09-21T05:04:53.500Z] bde34c3a00c8: Pull complete [2022-09-21T05:04:53.760Z] b352a97aabf1: Pull complete [2022-09-21T05:04:53.760Z] 4872d77fe225: Pull complete [2022-09-21T05:04:53.760Z] 5851b861e8e6: Pull complete [2022-09-21T05:04:53.760Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-21T05:04:53.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T05:04:53.760Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:04:53.898Z] prd-ubuntu20.04-docker-8c-8g-419 does not seem to be running inside a container [2022-09-21T05:04:53.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-21T05:04:55.725Z] $ docker top 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 -eo pid,comm [2022-09-21T05:04:55.782Z] 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-21T05:04:55.782Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-21T05:04:55.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T05:04:55.806Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T05:04:55.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T05:04:55.919Z] $ docker exec 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 ssh-agent [2022-09-21T05:04:56.032Z] SSH_AUTH_SOCK=/tmp/ssh-CcsFYZkzOoRG/agent.32 [2022-09-21T05:04:56.032Z] SSH_AGENT_PID=38 [2022-09-21T05:04:56.039Z] Running ssh-add (command line suppressed) [2022-09-21T05:04:56.155Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_12233081569228014104.key (/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_12233081569228014104.key) [2022-09-21T05:04:56.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T05:04:56.464Z] + git tag --points-at HEAD [Pipeline] } [2022-09-21T05:04:56.478Z] $ docker exec --env ******** --env ******** 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 ssh-agent -k [2022-09-21T05:04:56.596Z] unset SSH_AUTH_SOCK; [2022-09-21T05:04:56.596Z] unset SSH_AGENT_PID; [2022-09-21T05:04:56.596Z] echo Agent pid 38 killed; [2022-09-21T05:04:56.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-21T05:04:56.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T05:04:56.628Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T05:04:56.743Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T05:04:56.747Z] $ docker exec 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 ssh-agent [2022-09-21T05:04:56.882Z] SSH_AUTH_SOCK=/tmp/ssh-gTh49pnrHCDT/agent.71 [2022-09-21T05:04:56.882Z] SSH_AGENT_PID=77 [2022-09-21T05:04:56.887Z] Running ssh-add (command line suppressed) [2022-09-21T05:04:56.987Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_8380407724310401273.key (/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_8380407724310401273.key) [2022-09-21T05:04:56.999Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T05:04:57.285Z] + git semver init [2022-09-21T05:04:57.546Z] 2022-09-21 05:04:57,506 [run_init] DEBUG init version:0.0.0 force:False [2022-09-21T05:04:57.546Z] 2022-09-21 05:04:57,507 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver [2022-09-21T05:04:57.546Z] 2022-09-21 05:04:57,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver [2022-09-21T05:04:57.546Z] 2022-09-21 05:04:57,507 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210, universal_newlines=False, shell=None, istream=None) [2022-09-21T05:04:58.485Z] 2022-09-21 05:04:58,462 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.git/info/exclude [2022-09-21T05:04:58.485Z] 2022-09-21 05:04:58,463 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 with force:False [2022-09-21T05:04:58.485Z] 2022-09-21 05:04:58,463 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 [2022-09-21T05:04:58.485Z] 2022-09-21 05:04:58,468 [execute] INFO git cat-file --batch-check [2022-09-21T05:04:58.485Z] 2022-09-21 05:04:58,468 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T05:04:58.485Z] 2022-09-21 05:04:58,475 [execute] INFO git cat-file --batch [2022-09-21T05:04:58.485Z] 2022-09-21 05:04:58,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T05:04:58.485Z] 2022-09-21 05:04:58,482 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 [2022-09-21T05:04:58.485Z] 0.0.0 [Pipeline] } [2022-09-21T05:04:58.764Z] $ docker exec --env ******** --env ******** 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 ssh-agent -k [2022-09-21T05:04:58.865Z] unset SSH_AUTH_SOCK; [2022-09-21T05:04:58.866Z] unset SSH_AGENT_PID; [2022-09-21T05:04:58.866Z] echo Agent pid 77 killed; [2022-09-21T05:04:58.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-21T05:04:59.186Z] + git semver [Pipeline] } [2022-09-21T05:04:59.461Z] $ docker stop --time=1 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 [2022-09-21T05:05:00.777Z] $ docker rm -f 24f8c14c9fd9920bf6988a67533483184b7daea39e993af0206f57fc8d976250 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T05:05:01.115Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-21T05:05:01.298Z] Stashed 1 file(s) [Pipeline] echo [2022-09-21T05:05:01.301Z] [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-21T05:05:01.425Z] provisioning config files... [2022-09-21T05:05:01.433Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config1020538270321281216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:05:01.727Z] ---> docker-login.sh [2022-09-21T05:05:01.727Z] nexus3.edgexfoundry.org:10001 [2022-09-21T05:05:01.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:05:01.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:05:01.728Z] Configure a credential helper to remove this warning. See [2022-09-21T05:05:01.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:05:01.728Z] [2022-09-21T05:05:01.728Z] Login Succeeded [2022-09-21T05:05:01.728Z] nexus3.edgexfoundry.org:10002 [2022-09-21T05:05:01.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:05:01.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:05:01.728Z] Configure a credential helper to remove this warning. See [2022-09-21T05:05:01.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:05:01.728Z] [2022-09-21T05:05:01.728Z] Login Succeeded [2022-09-21T05:05:01.728Z] nexus3.edgexfoundry.org:10003 [2022-09-21T05:05:01.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:05:01.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:05:01.986Z] Configure a credential helper to remove this warning. See [2022-09-21T05:05:01.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:05:01.986Z] [2022-09-21T05:05:01.986Z] Login Succeeded [2022-09-21T05:05:01.986Z] nexus3.edgexfoundry.org:10004 [2022-09-21T05:05:01.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:05:01.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:05:01.986Z] Configure a credential helper to remove this warning. See [2022-09-21T05:05:01.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:05:01.986Z] [2022-09-21T05:05:01.986Z] Login Succeeded [2022-09-21T05:05:01.986Z] docker.io [2022-09-21T05:05:02.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:05:02.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:05:02.506Z] Configure a credential helper to remove this warning. See [2022-09-21T05:05:02.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:05:02.506Z] [2022-09-21T05:05:02.506Z] Login Succeeded [2022-09-21T05:05:02.506Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T05:05:02.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T05:05:02.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T05:05:02.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T05:05:02.577Z] ========================================================= [2022-09-21T05:05:02.577Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-21T05:05:02.577Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:05:02.872Z] + 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-21T05:05:02.872Z] Sending build context to Docker daemon 9.866MB [2022-09-21T05:05:02.872Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T05:05:02.872Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-21T05:05:03.136Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-21T05:05:03.136Z] 2408cc74d12b: Pulling fs layer [2022-09-21T05:05:03.136Z] ea60b727a1ce: Pulling fs layer [2022-09-21T05:05:03.136Z] 30c4a7721957: Pulling fs layer [2022-09-21T05:05:03.136Z] 370296b7ddb6: Pulling fs layer [2022-09-21T05:05:03.136Z] 7c6cee850709: Pulling fs layer [2022-09-21T05:05:03.136Z] 39a5fcdaea64: Pulling fs layer [2022-09-21T05:05:03.136Z] d94ebbe4e438: Pulling fs layer [2022-09-21T05:05:03.136Z] bcfd1f05c69d: Pulling fs layer [2022-09-21T05:05:03.136Z] 59ccb84bbe0f: Pulling fs layer [2022-09-21T05:05:03.136Z] bcfd1f05c69d: Waiting [2022-09-21T05:05:03.136Z] 7c6cee850709: Waiting [2022-09-21T05:05:03.136Z] 39a5fcdaea64: Waiting [2022-09-21T05:05:03.136Z] 59ccb84bbe0f: Waiting [2022-09-21T05:05:03.136Z] d94ebbe4e438: Waiting [2022-09-21T05:05:03.137Z] 370296b7ddb6: Waiting [2022-09-21T05:05:03.137Z] 30c4a7721957: Download complete [2022-09-21T05:05:03.137Z] ea60b727a1ce: Verifying Checksum [2022-09-21T05:05:03.137Z] ea60b727a1ce: Download complete [2022-09-21T05:05:03.137Z] 7c6cee850709: Verifying Checksum [2022-09-21T05:05:03.137Z] 7c6cee850709: Download complete [2022-09-21T05:05:03.137Z] 39a5fcdaea64: Download complete [2022-09-21T05:05:03.137Z] 2408cc74d12b: Download complete [2022-09-21T05:05:03.137Z] d94ebbe4e438: Verifying Checksum [2022-09-21T05:05:03.137Z] d94ebbe4e438: Download complete [2022-09-21T05:05:03.408Z] 2408cc74d12b: Pull complete [2022-09-21T05:05:03.408Z] ea60b727a1ce: Pull complete [2022-09-21T05:05:03.408Z] 30c4a7721957: Pull complete [2022-09-21T05:05:03.679Z] 59ccb84bbe0f: Verifying Checksum [2022-09-21T05:05:03.679Z] 59ccb84bbe0f: Download complete [2022-09-21T05:05:03.941Z] 370296b7ddb6: Verifying Checksum [2022-09-21T05:05:03.941Z] 370296b7ddb6: Download complete [2022-09-21T05:05:03.941Z] bcfd1f05c69d: Verifying Checksum [2022-09-21T05:05:03.941Z] bcfd1f05c69d: Download complete [2022-09-21T05:05:08.126Z] 370296b7ddb6: Pull complete [2022-09-21T05:05:08.126Z] 7c6cee850709: Pull complete [2022-09-21T05:05:08.126Z] 39a5fcdaea64: Pull complete [2022-09-21T05:05:08.126Z] d94ebbe4e438: Pull complete [2022-09-21T05:05:10.030Z] bcfd1f05c69d: Pull complete [2022-09-21T05:05:10.974Z] 59ccb84bbe0f: Pull complete [2022-09-21T05:05:10.974Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-21T05:05:10.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-21T05:05:10.974Z] ---> a4fb48ad2a94 [2022-09-21T05:05:10.974Z] Step 3/11 : ARG MAKE=make build [2022-09-21T05:05:14.276Z] ---> Running in 71a685932296 [2022-09-21T05:05:14.276Z] Removing intermediate container 71a685932296 [2022-09-21T05:05:14.276Z] ---> 15f22ce76820 [2022-09-21T05:05:14.276Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-21T05:05:14.276Z] ---> Running in 8db875f42d2f [2022-09-21T05:05:14.276Z] Removing intermediate container 8db875f42d2f [2022-09-21T05:05:14.276Z] ---> 86b996fb54f8 [2022-09-21T05:05:14.276Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:05:14.276Z] ---> Running in 28528e9991ea [2022-09-21T05:05:14.276Z] Removing intermediate container 28528e9991ea [2022-09-21T05:05:14.276Z] ---> 35ab20ad6214 [2022-09-21T05:05:14.276Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:05:14.276Z] ---> Running in 096a6bf22d68 [2022-09-21T05:05:14.844Z] Removing intermediate container 096a6bf22d68 [2022-09-21T05:05:14.844Z] ---> d5b354d5274a [2022-09-21T05:05:14.844Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-21T05:05:14.844Z] ---> Running in 71fad5a5c155 [2022-09-21T05:05:15.412Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T05:05:15.980Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T05:05:16.395Z] Still waiting to schedule task [2022-09-21T05:05:16.395Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-418’ is offline [2022-09-21T05:05:16.547Z] OK: 211 MiB in 51 packages [2022-09-21T05:05:16.806Z] Removing intermediate container 71fad5a5c155 [2022-09-21T05:05:16.806Z] ---> 30ba8b5bd4ff [2022-09-21T05:05:16.806Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-21T05:05:17.064Z] ---> 577caaccd664 [2022-09-21T05:05:17.064Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T05:05:17.064Z] ---> Running in 7102d320141a [2022-09-21T05:05:35.154Z] Removing intermediate container 7102d320141a [2022-09-21T05:05:35.154Z] ---> 8debb9cbe1b4 [2022-09-21T05:05:35.154Z] Step 10/11 : COPY . . [2022-09-21T05:05:35.755Z] ---> 5c0d8cba1b0e [2022-09-21T05:05:35.755Z] Step 11/11 : RUN ${MAKE} [2022-09-21T05:05:35.755Z] ---> Running in e4afb45ca0f9 [2022-09-21T05:05:36.014Z] noop [2022-09-21T05:05:36.272Z] Removing intermediate container e4afb45ca0f9 [2022-09-21T05:05:36.272Z] ---> e88861712914 [2022-09-21T05:05:36.272Z] Successfully built e88861712914 [2022-09-21T05:05:36.272Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:05:36.584Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T05:05:36.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:05:36.657Z] prd-ubuntu20.04-docker-8c-8g-419 does not seem to be running inside a container [2022-09-21T05:05:36.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-21T05:05:37.056Z] $ docker top a33a38a6f02b881f7e2a3335bbf645aa339f93f3d2601c0fda59eb72d896bd93 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T05:05:37.401Z] + go version [2022-09-21T05:05:37.401Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-21T05:05:37.413Z] $ docker stop --time=1 a33a38a6f02b881f7e2a3335bbf645aa339f93f3d2601c0fda59eb72d896bd93 [2022-09-21T05:05:38.725Z] $ docker rm -f a33a38a6f02b881f7e2a3335bbf645aa339f93f3d2601c0fda59eb72d896bd93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:05:39.122Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T05:05:39.122Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:05:39.189Z] prd-ubuntu20.04-docker-8c-8g-419 does not seem to be running inside a container [2022-09-21T05:05:39.216Z] $ 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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-21T05:05:39.586Z] $ docker top 3c638ff52222f9c9bbcb9c093f3da9a1b0b80db6e6216ce057caf043354a1581 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T05:05:39.922Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1210 [Pipeline] fileExists [Pipeline] sh [2022-09-21T05:05:40.214Z] + make test [2022-09-21T05:05:40.214Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-21T05:05:46.780Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-21T05:05:58.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-21T05:05:58.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-21T05:05:58.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-21T05:05:58.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-21T05:05:58.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-21T05:05:58.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 27.6% of statements [2022-09-21T05:05:58.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 78.9% of statements [2022-09-21T05:05:58.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-21T05:05:58.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.122s coverage: 60.0% of statements [2022-09-21T05:05:58.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-21T05:05:58.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-21T05:05:59.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements [2022-09-21T05:05:59.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-21T05:05:59.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-21T05:05:59.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-21T05:05:59.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements [2022-09-21T05:05:59.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-21T05:05:59.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-21T05:05:59.554Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.798s coverage: 89.2% of statements [2022-09-21T05:05:59.554Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-21T05:05:59.813Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.5% of statements [2022-09-21T05:05:59.813Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-21T05:06:17.919Z] 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-21T05:06:17.919Z] GO111MODULE=on go vet ./... [2022-09-21T05:06:19.295Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T05:06:19.295Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T05:06:19.296Z] ./bin/test-attribution-txt.sh [2022-09-21T05:06:19.296Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-21T05:06:19.296Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-21T05:06:19.296Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-21T05:06:19.296Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-21T05:06:19.296Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-21T05:06:19.296Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-21T05:06:19.296Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-21T05:06:19.296Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-21T05:06:19.307Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T05:06:19.320Z] $ docker stop --time=1 3c638ff52222f9c9bbcb9c093f3da9a1b0b80db6e6216ce057caf043354a1581 [2022-09-21T05:06:22.443Z] $ docker rm -f 3c638ff52222f9c9bbcb9c093f3da9a1b0b80db6e6216ce057caf043354a1581 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T05:06:22.971Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T05:06:23.033Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-21T05:06:23.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T05:06:23.832Z] + ls -al . [2022-09-21T05:06:23.832Z] total 276 [2022-09-21T05:06:23.832Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 05:05 . [2022-09-21T05:06:23.832Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:04 .. [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 21 05:04 .dockerignore [2022-09-21T05:06:23.832Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 05:06 .git [2022-09-21T05:06:23.832Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:04 .github [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 21 05:04 .gitignore [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 05:04 .golangci.yml [2022-09-21T05:06:23.832Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 05:04 .semver [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 21 05:04 CHANGELOG.md [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 05:04 GOVERNANCE.md [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 21 05:04 Jenkinsfile [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 21 05:04 LICENSE [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 21 05:04 Makefile [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 21 05:04 OWNERS.md [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 21 05:04 README.md [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 05:05 VERSION [2022-09-21T05:06:23.832Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:04 bin [2022-09-21T05:06:23.832Z] -rw-r--r-- 1 jenkins jenkins 101642 Sep 21 05:05 coverage.out [2022-09-21T05:06:23.832Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 21 05:04 example [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 21 05:04 go.mod [2022-09-21T05:06:23.832Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 21 05:04 go.sum [2022-09-21T05:06:23.832Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 21 05:04 internal [2022-09-21T05:06:23.832Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 05:04 openapi [2022-09-21T05:06:23.832Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 05:04 pkg [2022-09-21T05:06:23.832Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:04 snap [2022-09-21T05:06:23.833Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 21 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:06:24.134Z] + 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=4784eae9ccf763c7ae31f1170af2777237b51f1a --label arch=amd64 --label version=0.0.0 . [2022-09-21T05:06:24.134Z] Sending build context to Docker daemon 9.968MB [2022-09-21T05:06:24.134Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T05:06:24.134Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-21T05:06:24.134Z] ---> e88861712914 [2022-09-21T05:06:24.134Z] Step 3/25 : ARG MAKE=make build [2022-09-21T05:06:24.394Z] ---> Running in 858ee9224008 [2022-09-21T05:06:24.394Z] Removing intermediate container 858ee9224008 [2022-09-21T05:06:24.394Z] ---> f20554bc3b24 [2022-09-21T05:06:24.394Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-21T05:06:24.394Z] ---> Running in 32fcdf4db31a [2022-09-21T05:06:24.653Z] Removing intermediate container 32fcdf4db31a [2022-09-21T05:06:24.653Z] ---> 77a657d1f089 [2022-09-21T05:06:24.653Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:06:24.653Z] ---> Running in 54ecb9c60d46 [2022-09-21T05:06:24.653Z] Removing intermediate container 54ecb9c60d46 [2022-09-21T05:06:24.653Z] ---> 6dc9f0965b20 [2022-09-21T05:06:24.653Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:06:24.653Z] ---> Running in f73ed0edc2fb [2022-09-21T05:06:25.222Z] Removing intermediate container f73ed0edc2fb [2022-09-21T05:06:25.222Z] ---> 891193b944c0 [2022-09-21T05:06:25.222Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-21T05:06:25.481Z] ---> Running in c581d296b788 [2022-09-21T05:06:25.741Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T05:06:26.679Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T05:06:26.679Z] OK: 211 MiB in 51 packages [2022-09-21T05:06:27.247Z] Removing intermediate container c581d296b788 [2022-09-21T05:06:27.247Z] ---> 90647bf8e4d4 [2022-09-21T05:06:27.247Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-21T05:06:27.247Z] ---> 1332da9632e0 [2022-09-21T05:06:27.247Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T05:06:27.247Z] ---> Running in b0299dc7bf63 [2022-09-21T05:06:27.815Z] Removing intermediate container b0299dc7bf63 [2022-09-21T05:06:27.815Z] ---> 787bd3cb6214 [2022-09-21T05:06:27.815Z] Step 10/25 : COPY . . [2022-09-21T05:06:28.383Z] ---> 1c0f32abf55a [2022-09-21T05:06:28.384Z] Step 11/25 : RUN ${MAKE} [2022-09-21T05:06:28.384Z] ---> Running in f01e086ccd19 [2022-09-21T05:06:28.643Z] 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-21T05:06:46.730Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-21T05:06:50.016Z] Removing intermediate container f01e086ccd19 [2022-09-21T05:06:50.016Z] ---> 097726beb0bd [2022-09-21T05:06:50.016Z] Step 12/25 : FROM alpine:3.16 [2022-09-21T05:06:50.276Z] 3.16: Pulling from library/alpine [2022-09-21T05:06:50.276Z] 213ec9aee27d: Pulling fs layer [2022-09-21T05:06:50.534Z] 213ec9aee27d: Verifying Checksum [2022-09-21T05:06:50.534Z] 213ec9aee27d: Download complete [2022-09-21T05:06:50.793Z] 213ec9aee27d: Pull complete [2022-09-21T05:06:50.793Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-21T05:06:50.793Z] Status: Downloaded newer image for alpine:3.16 [2022-09-21T05:06:50.793Z] ---> 9c6f07244728 [2022-09-21T05:06:50.793Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:06:50.793Z] ---> Running in 2a53d8c52ad7 [2022-09-21T05:06:50.998Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-420 in /w/workspace/gexfoundry_device-sdk-go_PR-1210 [Pipeline] { [Pipeline] ws [2022-09-21T05:06:51.010Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2022-09-21T05:06:51.046Z] The recommended git tool is: git [2022-09-21T05:06:51.053Z] Removing intermediate container 2a53d8c52ad7 [2022-09-21T05:06:51.053Z] ---> 214e9083385c [2022-09-21T05:06:51.053Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:06:51.053Z] ---> Running in 4eb71b570b27 [2022-09-21T05:06:51.620Z] Removing intermediate container 4eb71b570b27 [2022-09-21T05:06:51.620Z] ---> cd1e35b66fca [2022-09-21T05:06:51.620Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-21T05:06:51.620Z] ---> Running in 078156a89d80 [2022-09-21T05:06:51.878Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T05:06:52.814Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T05:06:53.074Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-21T05:06:53.074Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-21T05:06:53.332Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-21T05:06:53.898Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-21T05:06:53.898Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-21T05:06:54.156Z] Executing busybox-1.35.0-r17.trigger [2022-09-21T05:06:54.156Z] OK: 8 MiB in 19 packages [2022-09-21T05:06:54.414Z] Removing intermediate container 078156a89d80 [2022-09-21T05:06:54.414Z] ---> 08db9da46000 [2022-09-21T05:06:54.414Z] Step 16/25 : WORKDIR / [2022-09-21T05:06:54.414Z] ---> Running in e91eac397939 [2022-09-21T05:06:54.672Z] Removing intermediate container e91eac397939 [2022-09-21T05:06:54.672Z] ---> 9890f2a18ead [2022-09-21T05:06:54.672Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-21T05:06:54.672Z] ---> 7abfec214bc3 [2022-09-21T05:06:54.672Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-21T05:06:55.604Z] ---> d7edef288f17 [2022-09-21T05:06:55.604Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-21T05:06:55.604Z] ---> 3b94bf2f0051 [2022-09-21T05:06:55.604Z] Step 20/25 : EXPOSE 59999 [2022-09-21T05:06:55.604Z] ---> Running in 5e6a3fe46670 [2022-09-21T05:06:55.604Z] Removing intermediate container 5e6a3fe46670 [2022-09-21T05:06:55.604Z] ---> c28bfd5da437 [2022-09-21T05:06:55.604Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-21T05:06:55.604Z] ---> Running in a518bfa5cd94 [2022-09-21T05:06:55.865Z] Removing intermediate container a518bfa5cd94 [2022-09-21T05:06:55.865Z] ---> 7259653f049c [2022-09-21T05:06:55.865Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-21T05:06:55.865Z] ---> Running in d9d80d08036a [2022-09-21T05:06:55.865Z] Removing intermediate container d9d80d08036a [2022-09-21T05:06:55.865Z] ---> 17f4befbee42 [2022-09-21T05:06:55.865Z] Step 23/25 : LABEL arch=amd64 [2022-09-21T05:06:55.865Z] ---> Running in 1f3efbed41e1 [2022-09-21T05:06:56.124Z] Removing intermediate container 1f3efbed41e1 [2022-09-21T05:06:56.124Z] ---> ab7f17da13ac [2022-09-21T05:06:56.124Z] Step 24/25 : LABEL git_sha=4784eae9ccf763c7ae31f1170af2777237b51f1a [2022-09-21T05:06:56.124Z] ---> Running in 70ee2a9e65b0 [2022-09-21T05:06:56.124Z] Removing intermediate container 70ee2a9e65b0 [2022-09-21T05:06:56.124Z] ---> e4b5772bb956 [2022-09-21T05:06:56.124Z] Step 25/25 : LABEL version=0.0.0 [2022-09-21T05:06:56.124Z] ---> Running in d65605d659cb [2022-09-21T05:06:56.332Z] using credential edgex-jenkins-ssh [2022-09-21T05:06:56.350Z] Cloning the remote Git repository [2022-09-21T05:06:56.381Z] Removing intermediate container d65605d659cb [2022-09-21T05:06:56.381Z] ---> 739ff2e7166c [2022-09-21T05:06:56.381Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T05:06:56.381Z] Successfully built 739ff2e7166c [2022-09-21T05:06:56.381Z] 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-21T05:06:56.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T05:06:56.807Z] [2022-09-21T05:06:56.807Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:06:57.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T05:06:57.102Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-21T05:06:57.102Z] 5eb5b503b376: Pulling fs layer [2022-09-21T05:06:57.102Z] 5c69ac0246d0: Pulling fs layer [2022-09-21T05:06:57.102Z] ec43610c2a17: Pulling fs layer [2022-09-21T05:06:57.102Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-21T05:06:57.102Z] 33b1e0a273af: Pulling fs layer [2022-09-21T05:06:57.102Z] 5d3b04190fa2: Pulling fs layer [2022-09-21T05:06:57.102Z] 2f39f015ded8: Pulling fs layer [2022-09-21T05:06:57.102Z] 3a2ae6a8a46f: Waiting [2022-09-21T05:06:57.102Z] 33b1e0a273af: Waiting [2022-09-21T05:06:57.102Z] 5d3b04190fa2: Waiting [2022-09-21T05:06:57.102Z] 2f39f015ded8: Waiting [2022-09-21T05:06:57.102Z] 5c69ac0246d0: Verifying Checksum [2022-09-21T05:06:57.102Z] 5c69ac0246d0: Download complete [2022-09-21T05:06:57.102Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-21T05:06:57.102Z] 3a2ae6a8a46f: Download complete [2022-09-21T05:06:57.102Z] 33b1e0a273af: Verifying Checksum [2022-09-21T05:06:57.102Z] 33b1e0a273af: Download complete [2022-09-21T05:06:57.102Z] 5d3b04190fa2: Verifying Checksum [2022-09-21T05:06:57.102Z] 5d3b04190fa2: Download complete [2022-09-21T05:06:56.394Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-21T05:06:56.461Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2022-09-21T05:06:56.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-21T05:06:56.622Z] > git --version # timeout=10 [2022-09-21T05:06:56.643Z] > git --version # 'git version 2.25.1' [2022-09-21T05:06:56.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T05:06:56.697Z] Verifying host key using known hosts file [2022-09-21T05:06:56.895Z] 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-21T05:06:56.908Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T05:06:57.362Z] ec43610c2a17: Verifying Checksum [2022-09-21T05:06:57.362Z] ec43610c2a17: Download complete [2022-09-21T05:06:57.362Z] 5eb5b503b376: Verifying Checksum [2022-09-21T05:06:57.362Z] 5eb5b503b376: Download complete [2022-09-21T05:06:57.928Z] 2f39f015ded8: Download complete [2022-09-21T05:06:58.497Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-21T05:06:58.524Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T05:06:58.873Z] 5eb5b503b376: Pull complete [2022-09-21T05:06:58.873Z] 5c69ac0246d0: Pull complete [2022-09-21T05:06:59.444Z] ec43610c2a17: Pull complete [2022-09-21T05:06:59.445Z] 3a2ae6a8a46f: Pull complete [2022-09-21T05:06:59.704Z] 33b1e0a273af: Pull complete [2022-09-21T05:06:59.704Z] 5d3b04190fa2: Pull complete [2022-09-21T05:06:59.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-21T05:06:59.524Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-21T05:06:59.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T05:06:59.531Z] Verifying host key using known hosts file [2022-09-21T05:06:59.538Z] 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-21T05:06:59.553Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1210/head:refs/remotes/origin/PR-1210 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-21T05:07:00.271Z] Merging remotes/origin/main commit 98b98247f9133d8f7aed6314c982956ab2f73d9e into PR head commit 4784eae9ccf763c7ae31f1170af2777237b51f1a [2022-09-21T05:07:00.559Z] Merge succeeded, producing 4784eae9ccf763c7ae31f1170af2777237b51f1a [2022-09-21T05:07:00.560Z] Checking out Revision 4784eae9ccf763c7ae31f1170af2777237b51f1a (PR-1210) [2022-09-21T05:07:00.290Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T05:07:00.312Z] > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 [2022-09-21T05:07:00.443Z] > git remote # timeout=10 [2022-09-21T05:07:00.465Z] > git config --get remote.origin.url # timeout=10 [2022-09-21T05:07:00.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T05:07:00.487Z] Verifying host key using known hosts file [2022-09-21T05:07:00.491Z] 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-21T05:07:00.501Z] > git merge 98b98247f9133d8f7aed6314c982956ab2f73d9e # timeout=10 [2022-09-21T05:07:00.532Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-21T05:07:00.562Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T05:07:00.579Z] > git checkout -f 4784eae9ccf763c7ae31f1170af2777237b51f1a # timeout=10 [2022-09-21T05:07:04.157Z] Commit message: "refactor: refactor device command application layer" [2022-09-21T05:07:04.546Z] [2022-09-21T05:07:04.546Z] GitHub has been notified of this commit’s build result [2022-09-21T05:07:04.546Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T05:07:04.972Z] 2f39f015ded8: Pull complete [2022-09-21T05:07:04.972Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-21T05:07:04.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T05:07:04.972Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:07:05.054Z] prd-ubuntu20.04-docker-8c-8g-419 does not seem to be running inside a container [2022-09-21T05:07:05.085Z] $ 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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T05:07:05.086Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-21T05:07:05.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T05:07:05.086Z] Dload Upload Total Spent Left Speed [2022-09-21T05:07:05.086Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 81831 0 --:--:-- --:--:-- --:--:-- 81831 [2022-09-21T05:07:08.526Z] $ docker top a1f6551b7cd016e7e7be2844d74321cacd13f49cc48d2b8cf6e04b7313bd1ec9 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:07:08.904Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-21T05:07:08.980Z] ---> job-cost.sh [2022-09-21T05:07:08.980Z] lf-activate-venv: SKIPPING [2022-09-21T05:07:08.980Z] INFO: No Stack... [2022-09-21T05:07:09.239Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T05:07:09.241Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-21T05:07:09.241Z] + sudo tee /etc/docker/daemon.new [2022-09-21T05:07:09.241Z] { [2022-09-21T05:07:09.241Z] "registry-mirrors": [ [2022-09-21T05:07:09.241Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-21T05:07:09.241Z] ], [2022-09-21T05:07:09.241Z] "bip": "10.250.0.254/24", [2022-09-21T05:07:09.241Z] "hosts": [ [2022-09-21T05:07:09.241Z] "tcp://0.0.0.0:5555", [2022-09-21T05:07:09.241Z] "unix:///var/run/docker.sock" [2022-09-21T05:07:09.241Z] ], [2022-09-21T05:07:09.241Z] "mtu": 1458, [2022-09-21T05:07:09.241Z] "selinux-enabled": true, [2022-09-21T05:07:09.241Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-21T05:07:09.241Z] } [Pipeline] sh [2022-09-21T05:07:09.586Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-21T05:07:09.807Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T05:07:09.933Z] + sudo service docker restart [2022-09-21T05:07:10.099Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/cost.csv [2022-09-21T05:07:10.099Z] + cut -d, -f6 [Pipeline] lock [2022-09-21T05:07:10.111Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] [2022-09-21T05:07:10.116Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] did not exist. Created. [2022-09-21T05:07:10.116Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T05:07:10.409Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-21T05:07:10.440Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T05:07:10.450Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-21T05:07:10.467Z] $ docker stop --time=1 a1f6551b7cd016e7e7be2844d74321cacd13f49cc48d2b8cf6e04b7313bd1ec9 [2022-09-21T05:07:11.645Z] $ docker rm -f a1f6551b7cd016e7e7be2844d74321cacd13f49cc48d2b8cf6e04b7313bd1ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T05:07:28.204Z] provisioning config files... [2022-09-21T05:07:28.231Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config13942537724629067094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:07:28.581Z] ---> docker-login.sh [2022-09-21T05:07:28.581Z] nexus3.edgexfoundry.org:10001 [2022-09-21T05:07:28.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:07:29.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:07:29.123Z] Configure a credential helper to remove this warning. See [2022-09-21T05:07:29.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:07:29.123Z] [2022-09-21T05:07:29.123Z] Login Succeeded [2022-09-21T05:07:29.123Z] nexus3.edgexfoundry.org:10002 [2022-09-21T05:07:29.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:07:29.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:07:29.665Z] Configure a credential helper to remove this warning. See [2022-09-21T05:07:29.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:07:29.665Z] [2022-09-21T05:07:29.665Z] Login Succeeded [2022-09-21T05:07:29.665Z] nexus3.edgexfoundry.org:10003 [2022-09-21T05:07:29.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:07:29.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:07:29.934Z] Configure a credential helper to remove this warning. See [2022-09-21T05:07:29.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:07:29.934Z] [2022-09-21T05:07:29.934Z] Login Succeeded [2022-09-21T05:07:29.934Z] nexus3.edgexfoundry.org:10004 [2022-09-21T05:07:30.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:07:30.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:07:30.203Z] Configure a credential helper to remove this warning. See [2022-09-21T05:07:30.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:07:30.203Z] [2022-09-21T05:07:30.203Z] Login Succeeded [2022-09-21T05:07:30.476Z] docker.io [2022-09-21T05:07:30.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T05:07:31.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T05:07:31.066Z] Configure a credential helper to remove this warning. See [2022-09-21T05:07:31.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T05:07:31.066Z] [2022-09-21T05:07:31.066Z] Login Succeeded [2022-09-21T05:07:31.066Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T05:07:31.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T05:07:31.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T05:07:31.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T05:07:31.272Z] ========================================================= [2022-09-21T05:07:31.272Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-21T05:07:31.272Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:07:31.623Z] + 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-21T05:07:31.892Z] Sending build context to Docker daemon 5.327MB [2022-09-21T05:07:31.892Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T05:07:31.892Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-21T05:07:32.162Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-21T05:07:32.162Z] b3c136eddcbf: Pulling fs layer [2022-09-21T05:07:32.162Z] c0a3192eca97: Pulling fs layer [2022-09-21T05:07:32.162Z] a050256f5b6f: Pulling fs layer [2022-09-21T05:07:32.162Z] 656be50a0ddc: Pulling fs layer [2022-09-21T05:07:32.162Z] 2bbca73fdf42: Pulling fs layer [2022-09-21T05:07:32.162Z] 46d945488cbd: Pulling fs layer [2022-09-21T05:07:32.162Z] 8a5474983e97: Pulling fs layer [2022-09-21T05:07:32.162Z] 329c88fbcd65: Pulling fs layer [2022-09-21T05:07:32.162Z] 2bbca73fdf42: Waiting [2022-09-21T05:07:32.162Z] 46d945488cbd: Waiting [2022-09-21T05:07:32.162Z] 8a5474983e97: Waiting [2022-09-21T05:07:32.162Z] 656be50a0ddc: Waiting [2022-09-21T05:07:32.162Z] 329c88fbcd65: Waiting [2022-09-21T05:07:32.162Z] a050256f5b6f: Verifying Checksum [2022-09-21T05:07:32.162Z] a050256f5b6f: Download complete [2022-09-21T05:07:32.162Z] c0a3192eca97: Verifying Checksum [2022-09-21T05:07:32.162Z] c0a3192eca97: Download complete [2022-09-21T05:07:32.162Z] 2bbca73fdf42: Verifying Checksum [2022-09-21T05:07:32.162Z] 2bbca73fdf42: Download complete [2022-09-21T05:07:32.162Z] 46d945488cbd: Verifying Checksum [2022-09-21T05:07:32.162Z] 46d945488cbd: Download complete [2022-09-21T05:07:32.162Z] b3c136eddcbf: Verifying Checksum [2022-09-21T05:07:32.162Z] b3c136eddcbf: Download complete [2022-09-21T05:07:33.141Z] b3c136eddcbf: Pull complete [2022-09-21T05:07:33.424Z] 329c88fbcd65: Verifying Checksum [2022-09-21T05:07:33.424Z] 329c88fbcd65: Download complete [2022-09-21T05:07:33.697Z] c0a3192eca97: Pull complete [2022-09-21T05:07:34.298Z] a050256f5b6f: Pull complete [2022-09-21T05:07:34.568Z] 8a5474983e97: Verifying Checksum [2022-09-21T05:07:34.568Z] 8a5474983e97: Download complete [2022-09-21T05:07:35.159Z] 656be50a0ddc: Verifying Checksum [2022-09-21T05:07:35.159Z] 656be50a0ddc: Download complete [2022-09-21T05:07:47.512Z] 656be50a0ddc: Pull complete [2022-09-21T05:07:47.512Z] 2bbca73fdf42: Pull complete [2022-09-21T05:07:47.512Z] 46d945488cbd: Pull complete [2022-09-21T05:07:52.864Z] 8a5474983e97: Pull complete [2022-09-21T05:07:54.831Z] 329c88fbcd65: Pull complete [2022-09-21T05:07:54.832Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-21T05:07:54.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-21T05:07:54.832Z] ---> ff4287adb874 [2022-09-21T05:07:54.832Z] Step 3/11 : ARG MAKE=make build [2022-09-21T05:07:56.784Z] ---> Running in 2aad0f10e910 [2022-09-21T05:07:57.053Z] Removing intermediate container 2aad0f10e910 [2022-09-21T05:07:57.053Z] ---> ddfaf7d1bf6a [2022-09-21T05:07:57.053Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-21T05:07:57.053Z] ---> Running in 5debae3a0318 [2022-09-21T05:07:57.322Z] Removing intermediate container 5debae3a0318 [2022-09-21T05:07:57.322Z] ---> d4730b4459a6 [2022-09-21T05:07:57.322Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:07:57.590Z] ---> Running in 44a3b5d8bfd6 [2022-09-21T05:07:57.858Z] Removing intermediate container 44a3b5d8bfd6 [2022-09-21T05:07:57.858Z] ---> 62065dca6920 [2022-09-21T05:07:57.858Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:07:57.858Z] ---> Running in b8718ca92f97 [2022-09-21T05:07:59.808Z] Removing intermediate container b8718ca92f97 [2022-09-21T05:07:59.808Z] ---> 486d5d866f41 [2022-09-21T05:07:59.808Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-21T05:07:59.808Z] ---> Running in 46bac4abc103 [2022-09-21T05:08:00.770Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T05:08:01.731Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T05:08:02.700Z] OK: 221 MiB in 51 packages [2022-09-21T05:08:03.289Z] Removing intermediate container 46bac4abc103 [2022-09-21T05:08:03.289Z] ---> 1536962e84da [2022-09-21T05:08:03.289Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-21T05:08:03.883Z] ---> e7f8c737ad00 [2022-09-21T05:08:03.883Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T05:08:03.883Z] ---> Running in 50697b8106ec [2022-09-21T05:08:50.779Z] Removing intermediate container 50697b8106ec [2022-09-21T05:08:50.779Z] ---> 50243f071969 [2022-09-21T05:08:50.779Z] Step 10/11 : COPY . . [2022-09-21T05:08:50.779Z] ---> 75108f995c59 [2022-09-21T05:08:50.779Z] Step 11/11 : RUN ${MAKE} [2022-09-21T05:08:51.048Z] ---> Running in e566a4891b2f [2022-09-21T05:08:52.024Z] noop [2022-09-21T05:08:52.628Z] Removing intermediate container e566a4891b2f [2022-09-21T05:08:52.628Z] ---> 44535d163a9f [2022-09-21T05:08:52.628Z] Successfully built 44535d163a9f [2022-09-21T05:08:52.628Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:08:52.975Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T05:08:52.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:08:53.166Z] prd-ubuntu20.04-docker-arm64-4c-16g-420 does not seem to be running inside a container [2022-09-21T05:08:53.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-21T05:08:54.438Z] $ docker top 7f58b2c25d3b6bc26cc2f4db1f0d51076b496510beebf40ccb0ba2b566c67b7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T05:08:55.268Z] + go version [2022-09-21T05:08:55.269Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-21T05:08:55.290Z] $ docker stop --time=1 7f58b2c25d3b6bc26cc2f4db1f0d51076b496510beebf40ccb0ba2b566c67b7b [2022-09-21T05:08:56.906Z] $ docker rm -f 7f58b2c25d3b6bc26cc2f4db1f0d51076b496510beebf40ccb0ba2b566c67b7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:08:57.422Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T05:08:57.422Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:08:57.590Z] prd-ubuntu20.04-docker-arm64-4c-16g-420 does not seem to be running inside a container [2022-09-21T05:08:57.656Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-21T05:08:58.817Z] $ docker top d217d4eba4659b010500b787e7cf1c220e73df3987f3ed1165809846355d6ba8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T05:08:59.662Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh [2022-09-21T05:09:00.329Z] + make test [2022-09-21T05:09:00.329Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-21T05:09:39.218Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-21T05:11:45.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-21T05:11:45.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-21T05:11:45.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-21T05:11:45.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-21T05:11:45.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-21T05:11:52.589Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.457s coverage: 27.6% of statements [2022-09-21T05:11:54.527Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.420s coverage: 78.9% of statements [2022-09-21T05:11:54.528Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-21T05:11:57.883Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.569s coverage: 60.0% of statements [2022-09-21T05:11:57.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-21T05:11:57.883Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-21T05:12:01.230Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.737s coverage: 54.4% of statements [2022-09-21T05:12:01.230Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-21T05:12:01.230Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-21T05:12:01.230Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-21T05:12:05.510Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.609s coverage: 65.1% of statements [2022-09-21T05:12:05.510Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-21T05:12:05.510Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-21T05:12:05.510Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.537s coverage: 89.2% of statements [2022-09-21T05:12:05.510Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-21T05:12:07.465Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.372s coverage: 4.5% of statements [2022-09-21T05:12:07.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-21T05:12:08.047Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-21T05:12:08.047Z] GO111MODULE=on go vet ./... [2022-09-21T05:13:44.701Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T05:13:44.701Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T05:13:44.701Z] ./bin/test-attribution-txt.sh [2022-09-21T05:13:44.701Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-21T05:13:44.701Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-21T05:13:44.701Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-21T05:13:44.701Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-21T05:13:44.701Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-21T05:13:44.701Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-21T05:13:44.701Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-21T05:13:44.701Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-21T05:13:44.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T05:13:44.740Z] $ docker stop --time=1 d217d4eba4659b010500b787e7cf1c220e73df3987f3ed1165809846355d6ba8 [2022-09-21T05:13:46.530Z] $ docker rm -f d217d4eba4659b010500b787e7cf1c220e73df3987f3ed1165809846355d6ba8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T05:13:47.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T05:13:47.891Z] Warning: overwriting stash ‘coverage-report’ [2022-09-21T05:13:48.538Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T05:13:48.911Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T05:13:49.235Z] + ls -al . [2022-09-21T05:13:49.235Z] total 272 [2022-09-21T05:13:49.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 05:09 . [2022-09-21T05:13:49.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:06 .. [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 21 05:07 .dockerignore [2022-09-21T05:13:49.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 05:07 .git [2022-09-21T05:13:49.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:07 .github [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 21 05:07 .gitignore [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 05:07 .golangci.yml [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 21 05:07 CHANGELOG.md [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 05:07 GOVERNANCE.md [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 21 05:07 Jenkinsfile [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 21 05:07 LICENSE [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 21 05:07 Makefile [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 21 05:07 OWNERS.md [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 21 05:07 README.md [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 05:05 VERSION [2022-09-21T05:13:49.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 05:07 bin [2022-09-21T05:13:49.235Z] -rw-r--r-- 1 jenkins jenkins 101642 Sep 21 05:12 coverage.out [2022-09-21T05:13:49.235Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 21 05:07 example [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 21 05:07 go.mod [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 21 05:07 go.sum [2022-09-21T05:13:49.235Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 21 05:07 internal [2022-09-21T05:13:49.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 05:07 openapi [2022-09-21T05:13:49.235Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 05:07 pkg [2022-09-21T05:13:49.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 05:07 snap [2022-09-21T05:13:49.235Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 21 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:13:49.597Z] + 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=4784eae9ccf763c7ae31f1170af2777237b51f1a --label arch=arm64 --label version=0.0.0 . [2022-09-21T05:13:49.867Z] Sending build context to Docker daemon 5.429MB [2022-09-21T05:13:50.151Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T05:13:50.151Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-21T05:13:50.151Z] ---> 44535d163a9f [2022-09-21T05:13:50.151Z] Step 3/25 : ARG MAKE=make build [2022-09-21T05:13:50.151Z] ---> Running in f92f7e4fc494 [2022-09-21T05:13:50.435Z] Removing intermediate container f92f7e4fc494 [2022-09-21T05:13:50.435Z] ---> b63b7a9410b4 [2022-09-21T05:13:50.435Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-21T05:13:50.706Z] ---> Running in f28f736c108f [2022-09-21T05:13:50.983Z] Removing intermediate container f28f736c108f [2022-09-21T05:13:50.983Z] ---> c636ecdfb72e [2022-09-21T05:13:50.983Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:13:50.983Z] ---> Running in ffccc149c6ba [2022-09-21T05:13:51.254Z] Removing intermediate container ffccc149c6ba [2022-09-21T05:13:51.254Z] ---> f7ef227651ad [2022-09-21T05:13:51.254Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:13:51.533Z] ---> Running in 6cad5f018497 [2022-09-21T05:13:53.480Z] Removing intermediate container 6cad5f018497 [2022-09-21T05:13:53.480Z] ---> 182911005631 [2022-09-21T05:13:53.480Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-21T05:13:53.480Z] ---> Running in e4e9db40e35c [2022-09-21T05:13:54.440Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T05:13:55.399Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T05:13:56.359Z] OK: 221 MiB in 51 packages [2022-09-21T05:13:57.319Z] Removing intermediate container e4e9db40e35c [2022-09-21T05:13:57.319Z] ---> e9e590caeb3c [2022-09-21T05:13:57.319Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-21T05:13:57.908Z] ---> fcb1bbcea07f [2022-09-21T05:13:57.908Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T05:13:57.908Z] ---> Running in 5b382dfe1b2d [2022-09-21T05:13:59.851Z] Removing intermediate container 5b382dfe1b2d [2022-09-21T05:13:59.851Z] ---> ff6a677f64b8 [2022-09-21T05:13:59.851Z] Step 10/25 : COPY . . [2022-09-21T05:14:00.815Z] ---> ba831e290fcc [2022-09-21T05:14:00.815Z] Step 11/25 : RUN ${MAKE} [2022-09-21T05:14:01.082Z] ---> Running in cdd021917d07 [2022-09-21T05:14:02.043Z] 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-21T05:16:23.728Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-21T05:16:23.728Z] Removing intermediate container cdd021917d07 [2022-09-21T05:16:23.728Z] ---> 87fa6b6303a9 [2022-09-21T05:16:23.728Z] Step 12/25 : FROM alpine:3.16 [2022-09-21T05:16:23.728Z] 3.16: Pulling from library/alpine [2022-09-21T05:16:23.728Z] 9b18e9b68314: Pulling fs layer [2022-09-21T05:16:23.728Z] 9b18e9b68314: Verifying Checksum [2022-09-21T05:16:23.728Z] 9b18e9b68314: Download complete [2022-09-21T05:16:23.996Z] 9b18e9b68314: Pull complete [2022-09-21T05:16:23.996Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-21T05:16:23.996Z] Status: Downloaded newer image for alpine:3.16 [2022-09-21T05:16:23.996Z] ---> a6215f271958 [2022-09-21T05:16:23.996Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T05:16:23.996Z] ---> Running in 73ebb7117f91 [2022-09-21T05:16:24.264Z] Removing intermediate container 73ebb7117f91 [2022-09-21T05:16:24.264Z] ---> 873d7e53fd2a [2022-09-21T05:16:24.264Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T05:16:24.540Z] ---> Running in 477b6440c6e2 [2022-09-21T05:16:26.486Z] Removing intermediate container 477b6440c6e2 [2022-09-21T05:16:26.486Z] ---> c566965e0157 [2022-09-21T05:16:26.486Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-21T05:16:26.486Z] ---> Running in 941740b9b718 [2022-09-21T05:16:27.448Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T05:16:28.411Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T05:16:29.373Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-21T05:16:29.373Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-21T05:16:29.373Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-21T05:16:29.640Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-21T05:16:29.640Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-21T05:16:29.640Z] Executing busybox-1.35.0-r17.trigger [2022-09-21T05:16:29.909Z] OK: 8 MiB in 19 packages [2022-09-21T05:16:30.873Z] Removing intermediate container 941740b9b718 [2022-09-21T05:16:30.873Z] ---> 43185da55448 [2022-09-21T05:16:30.873Z] Step 16/25 : WORKDIR / [2022-09-21T05:16:30.873Z] ---> Running in 8f9006085a9b [2022-09-21T05:16:31.140Z] Removing intermediate container 8f9006085a9b [2022-09-21T05:16:31.140Z] ---> 3f2bd2aef370 [2022-09-21T05:16:31.140Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-21T05:16:31.722Z] ---> e3ee4e23cfa2 [2022-09-21T05:16:31.722Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-21T05:16:33.127Z] ---> 6d1d533323a9 [2022-09-21T05:16:33.127Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-21T05:16:33.393Z] ---> 4f3f4db21247 [2022-09-21T05:16:33.393Z] Step 20/25 : EXPOSE 59999 [2022-09-21T05:16:33.660Z] ---> Running in 48f817fc3ca4 [2022-09-21T05:16:33.928Z] Removing intermediate container 48f817fc3ca4 [2022-09-21T05:16:33.928Z] ---> 5e752ab53a30 [2022-09-21T05:16:33.928Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-21T05:16:33.928Z] ---> Running in 002a001c1ffb [2022-09-21T05:16:34.194Z] Removing intermediate container 002a001c1ffb [2022-09-21T05:16:34.194Z] ---> 6e4dcd60454d [2022-09-21T05:16:34.194Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-21T05:16:34.194Z] ---> Running in 6e6b622479dd [2022-09-21T05:16:34.460Z] Removing intermediate container 6e6b622479dd [2022-09-21T05:16:34.460Z] ---> 93e456924b61 [2022-09-21T05:16:34.460Z] Step 23/25 : LABEL arch=arm64 [2022-09-21T05:16:34.726Z] ---> Running in 4cda2a6da865 [2022-09-21T05:16:34.993Z] Removing intermediate container 4cda2a6da865 [2022-09-21T05:16:34.993Z] ---> cd5e53dfd8b9 [2022-09-21T05:16:34.993Z] Step 24/25 : LABEL git_sha=4784eae9ccf763c7ae31f1170af2777237b51f1a [2022-09-21T05:16:34.993Z] ---> Running in ace4b22f6420 [2022-09-21T05:16:35.269Z] Removing intermediate container ace4b22f6420 [2022-09-21T05:16:35.269Z] ---> b311f05ec595 [2022-09-21T05:16:35.269Z] Step 25/25 : LABEL version=0.0.0 [2022-09-21T05:16:35.269Z] ---> Running in 089016ceecf2 [2022-09-21T05:16:35.535Z] Removing intermediate container 089016ceecf2 [2022-09-21T05:16:35.535Z] ---> fcb5524b1175 [2022-09-21T05:16:35.535Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T05:16:35.801Z] Successfully built fcb5524b1175 [2022-09-21T05:16:35.801Z] 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-21T05:16:36.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T05:16:36.240Z] [2022-09-21T05:16:36.240Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:16:36.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T05:16:36.592Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-21T05:16:36.592Z] 8998bd30e6a1: Pulling fs layer [2022-09-21T05:16:36.592Z] 04944245beec: Pulling fs layer [2022-09-21T05:16:36.592Z] 699f458cf7ca: Pulling fs layer [2022-09-21T05:16:36.592Z] 765212b225bb: Pulling fs layer [2022-09-21T05:16:36.592Z] f23df028b6ca: Pulling fs layer [2022-09-21T05:16:36.592Z] d65c8cfc05b1: Pulling fs layer [2022-09-21T05:16:36.592Z] 2437ff75d9bd: Pulling fs layer [2022-09-21T05:16:36.592Z] 765212b225bb: Waiting [2022-09-21T05:16:36.592Z] f23df028b6ca: Waiting [2022-09-21T05:16:36.592Z] d65c8cfc05b1: Waiting [2022-09-21T05:16:36.592Z] 2437ff75d9bd: Waiting [2022-09-21T05:16:36.861Z] 04944245beec: Verifying Checksum [2022-09-21T05:16:36.861Z] 04944245beec: Download complete [2022-09-21T05:16:36.861Z] 765212b225bb: Verifying Checksum [2022-09-21T05:16:36.861Z] 765212b225bb: Download complete [2022-09-21T05:16:36.861Z] f23df028b6ca: Verifying Checksum [2022-09-21T05:16:36.861Z] f23df028b6ca: Download complete [2022-09-21T05:16:36.861Z] d65c8cfc05b1: Verifying Checksum [2022-09-21T05:16:36.861Z] d65c8cfc05b1: Download complete [2022-09-21T05:16:37.130Z] 699f458cf7ca: Download complete [2022-09-21T05:16:37.397Z] 8998bd30e6a1: Verifying Checksum [2022-09-21T05:16:37.397Z] 8998bd30e6a1: Download complete [2022-09-21T05:16:39.972Z] 2437ff75d9bd: Verifying Checksum [2022-09-21T05:16:39.972Z] 2437ff75d9bd: Download complete [2022-09-21T05:16:41.395Z] 8998bd30e6a1: Pull complete [2022-09-21T05:16:41.666Z] 04944245beec: Pull complete [2022-09-21T05:16:43.069Z] 699f458cf7ca: Pull complete [2022-09-21T05:16:43.069Z] 765212b225bb: Pull complete [2022-09-21T05:16:44.022Z] f23df028b6ca: Pull complete [2022-09-21T05:16:44.023Z] d65c8cfc05b1: Pull complete [2022-09-21T05:16:56.318Z] 2437ff75d9bd: Pull complete [2022-09-21T05:16:56.318Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-21T05:16:56.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T05:16:56.318Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:16:56.520Z] prd-ubuntu20.04-docker-arm64-4c-16g-420 does not seem to be running inside a container [2022-09-21T05:16:56.585Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-21T05:16:59.379Z] $ docker top 72245e43b9de84f69b187d7dee0e412b43489fcf63b6a8156304b9e398e26ece -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:17:00.209Z] ---> job-cost.sh [2022-09-21T05:17:00.209Z] lf-activate-venv: SKIPPING [2022-09-21T05:17:00.209Z] INFO: No Stack... [2022-09-21T05:17:00.791Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-21T05:17:01.749Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T05:17:02.386Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2022-09-21T05:17:02.386Z] + cut -d, -f6 [Pipeline] lock [2022-09-21T05:17:02.454Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] [2022-09-21T05:17:02.463Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] did not exist. Created. [2022-09-21T05:17:02.463Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T05:17:03.119Z] /w/workspace/device-sdk-go/6@tmp/durable-65742b23/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-21T05:17:03.450Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-21T05:17:03.470Z] Warning: overwriting stash ‘stack-cost’ [2022-09-21T05:17:03.550Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T05:17:03.557Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-21T05:17:03.580Z] $ docker stop --time=1 72245e43b9de84f69b187d7dee0e412b43489fcf63b6a8156304b9e398e26ece [2022-09-21T05:17:05.088Z] $ docker rm -f 72245e43b9de84f69b187d7dee0e412b43489fcf63b6a8156304b9e398e26ece [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-21T05:17:05.482Z] provisioning config files... [2022-09-21T05:17:05.488Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config16145964839178411654tmp [Pipeline] { [Pipeline] sh [2022-09-21T05:17:05.776Z] + set +x [2022-09-21T05:17:05.776Z] + curl -s https://codecov.io/bash [2022-09-21T05:17:05.776Z] + bash -s -- [2022-09-21T05:17:06.035Z] [2022-09-21T05:17:06.035Z] _____ _ [2022-09-21T05:17:06.035Z] / ____| | | [2022-09-21T05:17:06.035Z] | | ___ __| | ___ ___ _____ __ [2022-09-21T05:17:06.035Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-21T05:17:06.035Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-21T05:17:06.035Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-21T05:17:06.035Z] Bash-1.0.6 [2022-09-21T05:17:06.035Z] [2022-09-21T05:17:06.035Z] [2022-09-21T05:17:06.035Z] ==> git version 2.25.1 found [2022-09-21T05:17:06.035Z] ==> 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-21T05:17:06.035Z] Release-Date: 2020-01-08 [2022-09-21T05:17:06.035Z] 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-21T05:17:06.035Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-21T05:17:06.035Z] ==> Jenkins CI detected. [2022-09-21T05:17:06.035Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1210 [2022-09-21T05:17:06.035Z] project root: . [2022-09-21T05:17:06.035Z] --> token set from env [2022-09-21T05:17:06.035Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-21T05:17:06.035Z] ==> Running gcov in . (disable via -X gcov) [2022-09-21T05:17:06.035Z] ==> Python coveragepy not found [2022-09-21T05:17:06.035Z] ==> Searching for coverage reports in: [2022-09-21T05:17:06.035Z] + . [2022-09-21T05:17:06.035Z] -> Found 1 reports [2022-09-21T05:17:06.035Z] ==> Detecting git/mercurial file structure [2022-09-21T05:17:06.035Z] ==> Reading reports [2022-09-21T05:17:06.035Z] + ./coverage.out bytes=101642 [2022-09-21T05:17:06.035Z] ==> Appending adjustments [2022-09-21T05:17:06.035Z] https://docs.codecov.io/docs/fixing-reports [2022-09-21T05:17:06.295Z] + Found adjustments [2022-09-21T05:17:06.295Z] ==> Gzipping contents [2022-09-21T05:17:06.295Z] 16K /tmp/codecov.10vBZ0.gz [2022-09-21T05:17:06.295Z] ==> Uploading reports [2022-09-21T05:17:06.295Z] url: https://codecov.io [2022-09-21T05:17:06.295Z] query: branch=PR-1210&commit=4784eae9ccf763c7ae31f1170af2777237b51f1a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1210%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1210&job=&cmd_args= [2022-09-21T05:17:06.295Z] -> Pinging Codecov [2022-09-21T05:17:06.295Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1210&commit=4784eae9ccf763c7ae31f1170af2777237b51f1a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1210%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1210&job=&cmd_args= [2022-09-21T05:17:06.862Z] -> Uploading to [2022-09-21T05:17:06.862Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-21/7E55EF52A471D76F132DFD9A03CDDE97/4784eae9ccf763c7ae31f1170af2777237b51f1a/5a31cb9d-ea3e-4daf-a15c-775dd201315a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T051706Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2d55ed933064eda37da7487cc7310eccc826e936f1c4b26a3487326f8e60149 [2022-09-21T05:17:06.862Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T05:17:06.862Z] Dload Upload Total Spent Left Speed [2022-09-21T05:17:07.122Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14491 0 0 100 14491 0 65868 --:--:-- --:--:-- --:--:-- 65570 100 14491 0 0 100 14491 0 57733 --:--:-- --:--:-- --:--:-- 57733 [2022-09-21T05:17:07.122Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4784eae9ccf763c7ae31f1170af2777237b51f1a [Pipeline] } [2022-09-21T05:17:07.130Z] 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-21T05:17:07.804Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives ] [2022-09-21T05:17:07.804Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives [2022-09-21T05:17:07.804Z] total 16 [2022-09-21T05:17:07.804Z] drwxr-xr-x 3 root root 4096 Sep 21 05:07 . [2022-09-21T05:17:07.804Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 05:07 .. [2022-09-21T05:17:07.804Z] drwxr-xr-x 2 root root 4096 Sep 21 05:07 cost [2022-09-21T05:17:07.804Z] -rw-r--r-- 1 root root 86 Sep 21 05:07 cost.csv [2022-09-21T05:17:07.804Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives [2022-09-21T05:17:07.804Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives [2022-09-21T05:17:07.804Z] total 16 [2022-09-21T05:17:07.804Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 05:07 . [2022-09-21T05:17:07.804Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 05:07 .. [2022-09-21T05:17:07.804Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 05:07 cost [2022-09-21T05:17:07.804Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 21 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:17:08.087Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:17:08.944Z] ---> package-listing.sh [2022-09-21T05:17:08.944Z] ++ facter osfamily [2022-09-21T05:17:08.944Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-21T05:17:09.203Z] + OS_FAMILY=debian [2022-09-21T05:17:09.203Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1210 [2022-09-21T05:17:09.203Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-21T05:17:09.203Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-21T05:17:09.203Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-21T05:17:09.203Z] + PACKAGES=/tmp/packages_start.txt [2022-09-21T05:17:09.203Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1210 ']' [2022-09-21T05:17:09.203Z] + PACKAGES=/tmp/packages_end.txt [2022-09-21T05:17:09.203Z] + case "${OS_FAMILY}" in [2022-09-21T05:17:09.203Z] + dpkg -l [2022-09-21T05:17:09.203Z] + grep '^ii' [2022-09-21T05:17:09.203Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-21T05:17:09.203Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-21T05:17:09.203Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-21T05:17:09.203Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1210 ']' [2022-09-21T05:17:09.203Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/ [2022-09-21T05:17:09.203Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/ [Pipeline] echo [2022-09-21T05:17:09.215Z] 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-1210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-21T05:17:09.500Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T05:17:09.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T05:17:09.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T05:17:09.867Z] prd-ubuntu20.04-docker-8c-8g-419 does not seem to be running inside a container [2022-09-21T05:17:09.899Z] $ 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-1210/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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T05:17:10.113Z] $ docker top a5d7b7b6dc982b3b708106adbc71aa471702a8ada35a040bbeb3d96eea69888f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T05:17:10.456Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-21T05:17:10.746Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-21T05:17:11.036Z] + ls /var/log/sa-host [2022-09-21T05:17:11.036Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T05:17:11.184Z] provisioning config files... [2022-09-21T05:17:11.191Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config8898119716596142742tmp [Pipeline] { [Pipeline] echo [2022-09-21T05:17:11.202Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:17:11.483Z] ---> create-netrc.sh [Pipeline] } [2022-09-21T05:17:11.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:17:11.818Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-21T05:17:11.825Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:17:12.104Z] ---> sudo-logs.sh [2022-09-21T05:17:12.105Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-21T05:17:12.133Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:17:12.414Z] ---> job-cost.sh [2022-09-21T05:17:12.414Z] lf-activate-venv: SKIPPING [2022-09-21T05:17:12.414Z] DEBUG: total: 0.2199999988079071 [2022-09-21T05:17:12.414Z] INFO: Retrieving Stack Cost... [2022-09-21T05:17:12.985Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T05:17:13.247Z] INFO: Archiving Costs [Pipeline] echo [2022-09-21T05:17:13.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T05:17:13.548Z] ---> logs-deploy.sh [2022-09-21T05:17:13.548Z] lf-activate-venv: SKIPPING [2022-09-21T05:17:13.548Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1210/6 [2022-09-21T05:17:13.548Z] INFO: archiving workspace using pattern(s): [2022-09-21T05:17:14.935Z] Archives upload complete. [2022-09-21T05:17:14.935Z] INFO: archiving logs to Nexus [2022-09-21T05:17:15.505Z] ---> uname -a: [2022-09-21T05:17:15.505Z] Linux prd-ubuntu20-04-docker-8c-8g-419 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-09-21T05:17:15.505Z] [2022-09-21T05:17:15.505Z] [2022-09-21T05:17:15.505Z] ---> lscpu: [2022-09-21T05:17:15.505Z] Architecture: x86_64 [2022-09-21T05:17:15.505Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-21T05:17:15.505Z] Byte Order: Little Endian [2022-09-21T05:17:15.505Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-21T05:17:15.505Z] CPU(s): 8 [2022-09-21T05:17:15.505Z] On-line CPU(s) list: 0-7 [2022-09-21T05:17:15.505Z] Thread(s) per core: 1 [2022-09-21T05:17:15.505Z] Core(s) per socket: 1 [2022-09-21T05:17:15.505Z] Socket(s): 8 [2022-09-21T05:17:15.505Z] NUMA node(s): 1 [2022-09-21T05:17:15.505Z] Vendor ID: AuthenticAMD [2022-09-21T05:17:15.505Z] CPU family: 23 [2022-09-21T05:17:15.505Z] Model: 49 [2022-09-21T05:17:15.505Z] Model name: AMD EPYC-Rome Processor [2022-09-21T05:17:15.505Z] Stepping: 0 [2022-09-21T05:17:15.505Z] CPU MHz: 2800.002 [2022-09-21T05:17:15.505Z] BogoMIPS: 5600.00 [2022-09-21T05:17:15.505Z] Virtualization: AMD-V [2022-09-21T05:17:15.505Z] Hypervisor vendor: KVM [2022-09-21T05:17:15.505Z] Virtualization type: full [2022-09-21T05:17:15.505Z] L1d cache: 256 KiB [2022-09-21T05:17:15.505Z] L1i cache: 256 KiB [2022-09-21T05:17:15.505Z] L2 cache: 4 MiB [2022-09-21T05:17:15.505Z] L3 cache: 128 MiB [2022-09-21T05:17:15.505Z] NUMA node0 CPU(s): 0-7 [2022-09-21T05:17:15.505Z] Vulnerability Itlb multihit: Not affected [2022-09-21T05:17:15.505Z] Vulnerability L1tf: Not affected [2022-09-21T05:17:15.505Z] Vulnerability Mds: Not affected [2022-09-21T05:17:15.505Z] Vulnerability Meltdown: Not affected [2022-09-21T05:17:15.505Z] Vulnerability Mmio stale data: Not affected [2022-09-21T05:17:15.505Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-21T05:17:15.505Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-21T05:17:15.505Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-21T05:17:15.505Z] Vulnerability Srbds: Not affected [2022-09-21T05:17:15.505Z] Vulnerability Tsx async abort: Not affected [2022-09-21T05:17:15.505Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-21T05:17:15.505Z] [2022-09-21T05:17:15.505Z] [2022-09-21T05:17:15.505Z] ---> nproc: [2022-09-21T05:17:15.505Z] 8 [2022-09-21T05:17:15.505Z] [2022-09-21T05:17:15.505Z] [2022-09-21T05:17:15.505Z] ---> df -h: [2022-09-21T05:17:15.505Z] Filesystem Size Used Avail Use% Mounted on [2022-09-21T05:17:15.505Z] overlay 155G 12G 144G 8% / [2022-09-21T05:17:15.505Z] tmpfs 64M 0 64M 0% /dev [2022-09-21T05:17:15.505Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-09-21T05:17:15.505Z] shm 64M 0 64M 0% /dev/shm [2022-09-21T05:17:15.505Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-09-21T05:17:15.505Z] [2022-09-21T05:17:15.505Z]