Pull request #1177 opened 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at f6d939e94ec53612eabda502d541349231dbf6bf rather than 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 Obtained Jenkinsfile from f6d939e94ec53612eabda502d541349231dbf6bf 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-ssh8241025680612825790.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh1700019292108318978.key > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1667720634258227055.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh723639801657215143.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14869929983438254177.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15268956189508295427.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2533 in /w/workspace/gexfoundry_device-sdk-go_PR-1177 [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-1177 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f6d939e94ec53612eabda502d541349231dbf6bf into PR head commit 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 Merge succeeded, producing 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 Checking out Revision 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 (PR-1177) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1177/head:refs/remotes/origin/PR-1177 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f6d939e94ec53612eabda502d541349231dbf6bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 # timeout=10 Commit message: "build: Upgrade go-mod-messaging and paho.mqtt lib" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T03:14:14.203Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T03:14:14.418Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T03:14:14.524Z] ========================================================= [2022-06-17T03:14:14.524Z] EdgeX Global Pipelines Version Info [2022-06-17T03:14:14.524Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:14:15.348Z] ------------------- [2022-06-17T03:14:15.348Z] stable info: [2022-06-17T03:14:15.348Z] ------------------- [2022-06-17T03:14:15.348Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T03:14:15.348Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T03:14:15.348Z] Message: update stable to v1.0.234 [2022-06-17T03:14:15.919Z] ------------------- [2022-06-17T03:14:15.919Z] experimental info: [2022-06-17T03:14:15.919Z] ------------------- [2022-06-17T03:14:15.919Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T03:14:15.919Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T03:14:15.919Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T03:14:16.391Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-06-17T03:14:16.430Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-06-17T03:14:16.469Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T03:14:16.510Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T03:14:16.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T03:14:16.587Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T03:14:16.626Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T03:14:16.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-06-17T03:14:16.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T03:14:16.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T03:14:16.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T03:14:16.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-06-17T03:14:16.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T03:14:16.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T03:14:16.943Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T03:14:16.983Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T03:14:17.022Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T03:14:17.064Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T03:14:17.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T03:14:17.151Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T03:14:17.191Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-17T03:14:17.232Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-17T03:14:17.275Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T03:14:17.313Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T03:14:17.353Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T03:14:17.391Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T03:14:17.431Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T03:14:17.473Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1177 [Pipeline] echo [2022-06-17T03:14:17.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1177 [Pipeline] echo [2022-06-17T03:14:17.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1177 [Pipeline] echo [2022-06-17T03:14:17.597Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [Pipeline] echo [2022-06-17T03:14:17.638Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 874504b [Pipeline] echo [2022-06-17T03:14:17.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T03:14:17.795Z] provisioning config files... [2022-06-17T03:14:17.810Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/config5158131240889170591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:14:18.167Z] ---> docker-login.sh [2022-06-17T03:14:18.167Z] nexus3.edgexfoundry.org:10001 [2022-06-17T03:14:18.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:14:18.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:14:18.430Z] Configure a credential helper to remove this warning. See [2022-06-17T03:14:18.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:14:18.430Z] [2022-06-17T03:14:18.430Z] Login Succeeded [2022-06-17T03:14:18.430Z] nexus3.edgexfoundry.org:10002 [2022-06-17T03:14:18.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:14:18.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:14:18.693Z] Configure a credential helper to remove this warning. See [2022-06-17T03:14:18.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:14:18.693Z] [2022-06-17T03:14:18.693Z] Login Succeeded [2022-06-17T03:14:18.693Z] nexus3.edgexfoundry.org:10003 [2022-06-17T03:14:18.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:14:18.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:14:18.693Z] Configure a credential helper to remove this warning. See [2022-06-17T03:14:18.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:14:18.693Z] [2022-06-17T03:14:18.693Z] Login Succeeded [2022-06-17T03:14:18.693Z] nexus3.edgexfoundry.org:10004 [2022-06-17T03:14:18.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:14:18.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:14:18.956Z] Configure a credential helper to remove this warning. See [2022-06-17T03:14:18.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:14:18.956Z] [2022-06-17T03:14:18.956Z] Login Succeeded [2022-06-17T03:14:18.956Z] docker.io [2022-06-17T03:14:18.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:14:19.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:14:19.218Z] Configure a credential helper to remove this warning. See [2022-06-17T03:14:19.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:14:19.218Z] [2022-06-17T03:14:19.218Z] Login Succeeded [2022-06-17T03:14:19.218Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T03:14:19.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T03:14:19.882Z] + git rev-list -1 --merges 874504b6ed41d91b5a3cde9fef16e2f9cda97e40~1..874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [Pipeline] echo [2022-06-17T03:14:19.945Z] -----------> git rev-list -1 --merges 874504b6ed41d91b5a3cde9fef16e2f9cda97e40~1..874504b6ed41d91b5a3cde9fef16e2f9cda97e40 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [false] [Pipeline] sh [2022-06-17T03:14:20.262Z] + git log --format=format:%s -1 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [Pipeline] echo [2022-06-17T03:14:20.298Z] ========================================================= [2022-06-17T03:14:20.298Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T03:14:20.298Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T03:14:20.749Z] + git log --format=format:%s -1 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [Pipeline] echo [2022-06-17T03:14:20.782Z] [semverPrep] GIT_COMMIT: 874504b6ed41d91b5a3cde9fef16e2f9cda97e40, Commit Message: build: Upgrade go-mod-messaging and paho.mqtt lib [Pipeline] echo [2022-06-17T03:14:20.809Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T03:14:21.194Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T03:14:21.194Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T03:14:21.194Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T03:14:21.194Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T03:14:21.194Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T03:14:21.194Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T03:14:21.194Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:14:21.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T03:14:21.658Z] [2022-06-17T03:14:21.658Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:14:22.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T03:14:22.048Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T03:14:22.048Z] 42c077c10790: Pulling fs layer [2022-06-17T03:14:22.048Z] f63e77b7563a: Pulling fs layer [2022-06-17T03:14:22.048Z] bd5fdadae976: Pulling fs layer [2022-06-17T03:14:22.048Z] 205491f53016: Pulling fs layer [2022-06-17T03:14:22.048Z] df18705c85c3: Pulling fs layer [2022-06-17T03:14:22.048Z] bdb3f477010e: Pulling fs layer [2022-06-17T03:14:22.048Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T03:14:22.048Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T03:14:22.048Z] bdb8f0575790: Pulling fs layer [2022-06-17T03:14:22.048Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T03:14:22.048Z] 2343380bae48: Pulling fs layer [2022-06-17T03:14:22.048Z] c8a8fc8e1c8f: Waiting [2022-06-17T03:14:22.048Z] bdb8f0575790: Waiting [2022-06-17T03:14:22.048Z] 386e3cb2ff24: Waiting [2022-06-17T03:14:22.048Z] 205491f53016: Waiting [2022-06-17T03:14:22.048Z] 2343380bae48: Waiting [2022-06-17T03:14:22.048Z] df18705c85c3: Waiting [2022-06-17T03:14:22.048Z] bdb3f477010e: Waiting [2022-06-17T03:14:22.048Z] 2c6e9b1d212d: Waiting [2022-06-17T03:14:22.048Z] f63e77b7563a: Verifying Checksum [2022-06-17T03:14:22.048Z] f63e77b7563a: Download complete [2022-06-17T03:14:22.048Z] 205491f53016: Verifying Checksum [2022-06-17T03:14:22.048Z] 205491f53016: Download complete [2022-06-17T03:14:22.310Z] df18705c85c3: Verifying Checksum [2022-06-17T03:14:22.310Z] df18705c85c3: Download complete [2022-06-17T03:14:22.310Z] bdb3f477010e: Verifying Checksum [2022-06-17T03:14:22.310Z] bdb3f477010e: Download complete [2022-06-17T03:14:22.310Z] bd5fdadae976: Verifying Checksum [2022-06-17T03:14:22.310Z] bd5fdadae976: Download complete [2022-06-17T03:14:22.310Z] 2c6e9b1d212d: Verifying Checksum [2022-06-17T03:14:22.310Z] 2c6e9b1d212d: Download complete [2022-06-17T03:14:22.310Z] bdb8f0575790: Verifying Checksum [2022-06-17T03:14:22.310Z] bdb8f0575790: Download complete [2022-06-17T03:14:22.310Z] 386e3cb2ff24: Verifying Checksum [2022-06-17T03:14:22.310Z] 386e3cb2ff24: Download complete [2022-06-17T03:14:22.310Z] 2343380bae48: Verifying Checksum [2022-06-17T03:14:22.310Z] 2343380bae48: Download complete [2022-06-17T03:14:22.310Z] 42c077c10790: Verifying Checksum [2022-06-17T03:14:22.310Z] 42c077c10790: Download complete [2022-06-17T03:14:22.570Z] c8a8fc8e1c8f: Download complete [2022-06-17T03:14:23.950Z] 42c077c10790: Pull complete [2022-06-17T03:14:23.950Z] f63e77b7563a: Pull complete [2022-06-17T03:14:24.521Z] bd5fdadae976: Pull complete [2022-06-17T03:14:24.521Z] 205491f53016: Pull complete [2022-06-17T03:14:24.793Z] df18705c85c3: Pull complete [2022-06-17T03:14:24.793Z] bdb3f477010e: Pull complete [2022-06-17T03:14:27.339Z] c8a8fc8e1c8f: Pull complete [2022-06-17T03:14:27.339Z] 2c6e9b1d212d: Pull complete [2022-06-17T03:14:27.339Z] bdb8f0575790: Pull complete [2022-06-17T03:14:27.339Z] 386e3cb2ff24: Pull complete [2022-06-17T03:14:27.339Z] 2343380bae48: Pull complete [2022-06-17T03:14:27.339Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T03:14:27.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T03:14:27.339Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:14:27.582Z] prd-ubuntu20.04-docker-8c-8g-2533 does not seem to be running inside a container [2022-06-17T03:14:27.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1177 -v /w/workspace/gexfoundry_device-sdk-go_PR-1177:/w/workspace/gexfoundry_device-sdk-go_PR-1177:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-17T03:14:29.059Z] $ docker top 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 -eo pid,comm [2022-06-17T03:14:29.143Z] 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-06-17T03:14:29.143Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T03:14:29.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T03:14:29.271Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T03:14:29.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T03:14:29.399Z] $ docker exec 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 ssh-agent [2022-06-17T03:14:29.545Z] SSH_AUTH_SOCK=/tmp/ssh-h2qf8L1aDO20/agent.34 [2022-06-17T03:14:29.545Z] SSH_AGENT_PID=40 [2022-06-17T03:14:29.553Z] Running ssh-add (command line suppressed) [2022-06-17T03:14:29.678Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/private_key_3121340121200550333.key (/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/private_key_3121340121200550333.key) [2022-06-17T03:14:29.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T03:14:30.041Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T03:14:30.065Z] $ docker exec --env ******** --env ******** 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 ssh-agent -k [2022-06-17T03:14:30.183Z] unset SSH_AUTH_SOCK; [2022-06-17T03:14:30.183Z] unset SSH_AGENT_PID; [2022-06-17T03:14:30.183Z] echo Agent pid 40 killed; [2022-06-17T03:14:30.204Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T03:14:30.296Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T03:14:30.296Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T03:14:30.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T03:14:30.427Z] $ docker exec 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 ssh-agent [2022-06-17T03:14:30.591Z] SSH_AUTH_SOCK=/tmp/ssh-rRlJhPVoOWnT/agent.75 [2022-06-17T03:14:30.591Z] SSH_AGENT_PID=81 [2022-06-17T03:14:30.598Z] Running ssh-add (command line suppressed) [2022-06-17T03:14:30.720Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/private_key_8444598917823491036.key (/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/private_key_8444598917823491036.key) [2022-06-17T03:14:30.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T03:14:31.088Z] + git semver init [2022-06-17T03:14:31.349Z] 2022-06-17 03:14:31,287 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T03:14:31.349Z] 2022-06-17 03:14:31,288 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver [2022-06-17T03:14:31.349Z] 2022-06-17 03:14:31,289 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver [2022-06-17T03:14:31.349Z] 2022-06-17 03:14:31,289 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1177, universal_newlines=False, shell=None, istream=None) [2022-06-17T03:14:32.292Z] 2022-06-17 03:14:32,081 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177/.git/info/exclude [2022-06-17T03:14:32.292Z] 2022-06-17 03:14:32,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver/PR-1177 with force:False [2022-06-17T03:14:32.292Z] 2022-06-17 03:14:32,081 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver/PR-1177 [2022-06-17T03:14:32.292Z] 2022-06-17 03:14:32,086 [execute] INFO git cat-file --batch-check [2022-06-17T03:14:32.292Z] 2022-06-17 03:14:32,087 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T03:14:32.292Z] 2022-06-17 03:14:32,093 [execute] INFO git cat-file --batch [2022-06-17T03:14:32.292Z] 2022-06-17 03:14:32,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T03:14:32.292Z] 2022-06-17 03:14:32,098 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver/PR-1177 [2022-06-17T03:14:32.292Z] 0.0.0 [Pipeline] } [2022-06-17T03:14:32.310Z] $ docker exec --env ******** --env ******** 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 ssh-agent -k [2022-06-17T03:14:32.432Z] unset SSH_AUTH_SOCK; [2022-06-17T03:14:32.432Z] unset SSH_AGENT_PID; [2022-06-17T03:14:32.433Z] echo Agent pid 81 killed; [2022-06-17T03:14:32.451Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T03:14:32.882Z] + git semver [Pipeline] } [2022-06-17T03:14:33.159Z] $ docker stop --time=1 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 [2022-06-17T03:14:34.504Z] $ docker rm -f 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T03:14:34.939Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T03:14:35.255Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T03:14:35.273Z] [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-06-17T03:14:35.971Z] provisioning config files... [2022-06-17T03:14:35.992Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/config7309743408697210232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:14:36.338Z] ---> docker-login.sh [2022-06-17T03:14:36.338Z] nexus3.edgexfoundry.org:10001 [2022-06-17T03:14:36.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:14:36.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:14:36.338Z] Configure a credential helper to remove this warning. See [2022-06-17T03:14:36.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:14:36.338Z] [2022-06-17T03:14:36.338Z] Login Succeeded [2022-06-17T03:14:36.338Z] nexus3.edgexfoundry.org:10002 [2022-06-17T03:14:36.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:14:36.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:14:36.599Z] Configure a credential helper to remove this warning. See [2022-06-17T03:14:36.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:14:36.599Z] [2022-06-17T03:14:36.599Z] Login Succeeded [2022-06-17T03:14:36.599Z] nexus3.edgexfoundry.org:10003 [2022-06-17T03:14:36.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:14:36.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:14:36.599Z] Configure a credential helper to remove this warning. See [2022-06-17T03:14:36.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:14:36.599Z] [2022-06-17T03:14:36.599Z] Login Succeeded [2022-06-17T03:14:36.599Z] nexus3.edgexfoundry.org:10004 [2022-06-17T03:14:36.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:14:36.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:14:36.863Z] Configure a credential helper to remove this warning. See [2022-06-17T03:14:36.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:14:36.863Z] [2022-06-17T03:14:36.863Z] Login Succeeded [2022-06-17T03:14:36.863Z] docker.io [2022-06-17T03:14:36.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:14:37.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:14:37.125Z] Configure a credential helper to remove this warning. See [2022-06-17T03:14:37.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:14:37.125Z] [2022-06-17T03:14:37.125Z] Login Succeeded [2022-06-17T03:14:37.125Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T03:14:37.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T03:14:37.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T03:14:37.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T03:14:37.414Z] ========================================================= [2022-06-17T03:14:37.414Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T03:14:37.414Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:14:37.902Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T03:14:37.902Z] Sending build context to Docker daemon 9.738MB [2022-06-17T03:14:37.902Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T03:14:37.902Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-17T03:14:37.902Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T03:14:37.902Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T03:14:37.902Z] 666ba61612fd: Pulling fs layer [2022-06-17T03:14:37.902Z] 8ed8ca486205: Pulling fs layer [2022-06-17T03:14:37.902Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T03:14:37.902Z] c516ae0d96e1: Pulling fs layer [2022-06-17T03:14:37.902Z] 684cea983483: Pulling fs layer [2022-06-17T03:14:37.902Z] dd3240ac7de5: Pulling fs layer [2022-06-17T03:14:37.902Z] b1e948a4e11c: Pulling fs layer [2022-06-17T03:14:37.902Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T03:14:37.902Z] 646ad004c059: Pulling fs layer [2022-06-17T03:14:37.902Z] cc1cd167ecdc: Waiting [2022-06-17T03:14:37.902Z] a8fd76ee1af6: Waiting [2022-06-17T03:14:37.902Z] dd3240ac7de5: Waiting [2022-06-17T03:14:37.902Z] c516ae0d96e1: Waiting [2022-06-17T03:14:37.902Z] b1e948a4e11c: Waiting [2022-06-17T03:14:37.902Z] 684cea983483: Waiting [2022-06-17T03:14:37.902Z] 646ad004c059: Waiting [2022-06-17T03:14:37.902Z] 8ed8ca486205: Download complete [2022-06-17T03:14:38.165Z] 666ba61612fd: Download complete [2022-06-17T03:14:38.165Z] c516ae0d96e1: Verifying Checksum [2022-06-17T03:14:38.165Z] c516ae0d96e1: Download complete [2022-06-17T03:14:38.165Z] 684cea983483: Download complete [2022-06-17T03:14:38.165Z] 59bf1c3509f3: Verifying Checksum [2022-06-17T03:14:38.165Z] 59bf1c3509f3: Download complete [2022-06-17T03:14:38.165Z] dd3240ac7de5: Download complete [2022-06-17T03:14:38.165Z] b1e948a4e11c: Verifying Checksum [2022-06-17T03:14:38.165Z] b1e948a4e11c: Download complete [2022-06-17T03:14:38.165Z] 59bf1c3509f3: Pull complete [2022-06-17T03:14:38.427Z] 666ba61612fd: Pull complete [2022-06-17T03:14:38.427Z] 8ed8ca486205: Pull complete [2022-06-17T03:14:38.687Z] 646ad004c059: Verifying Checksum [2022-06-17T03:14:38.687Z] 646ad004c059: Download complete [2022-06-17T03:14:38.687Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T03:14:38.687Z] a8fd76ee1af6: Download complete [2022-06-17T03:14:38.687Z] cc1cd167ecdc: Download complete [2022-06-17T03:14:42.887Z] cc1cd167ecdc: Pull complete [2022-06-17T03:14:42.887Z] c516ae0d96e1: Pull complete [2022-06-17T03:14:42.887Z] 684cea983483: Pull complete [2022-06-17T03:14:42.887Z] dd3240ac7de5: Pull complete [2022-06-17T03:14:43.151Z] b1e948a4e11c: Pull complete [2022-06-17T03:14:45.696Z] a8fd76ee1af6: Pull complete [2022-06-17T03:14:46.268Z] 646ad004c059: Pull complete [2022-06-17T03:14:46.268Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T03:14:46.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T03:14:46.268Z] ---> 8f69c11f6b0c [2022-06-17T03:14:46.268Z] Step 3/11 : ARG MAKE=make build [2022-06-17T03:14:47.668Z] ---> Running in e5db5ca1b706 [2022-06-17T03:14:47.668Z] Removing intermediate container e5db5ca1b706 [2022-06-17T03:14:47.668Z] ---> a66af8885dd7 [2022-06-17T03:14:47.668Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-17T03:14:47.931Z] ---> Running in ed5340d52d0c [2022-06-17T03:14:47.931Z] Removing intermediate container ed5340d52d0c [2022-06-17T03:14:47.931Z] ---> d0a789a75001 [2022-06-17T03:14:47.931Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T03:14:47.931Z] ---> Running in f1e72b4392d3 [2022-06-17T03:14:48.193Z] Removing intermediate container f1e72b4392d3 [2022-06-17T03:14:48.193Z] ---> 275e07defc7e [2022-06-17T03:14:48.193Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T03:14:48.193Z] ---> Running in 80b19c453842 [2022-06-17T03:14:48.766Z] Removing intermediate container 80b19c453842 [2022-06-17T03:14:48.766Z] ---> a05a488daebd [2022-06-17T03:14:48.766Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T03:14:48.766Z] ---> Running in 32f7e1dae7c3 [2022-06-17T03:14:49.029Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T03:14:49.972Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T03:14:50.235Z] OK: 221 MiB in 52 packages [2022-06-17T03:14:50.496Z] Removing intermediate container 32f7e1dae7c3 [2022-06-17T03:14:50.496Z] ---> bbb021124589 [2022-06-17T03:14:50.496Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-17T03:14:50.715Z] Still waiting to schedule task [2022-06-17T03:14:50.715Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-17T03:14:50.760Z] ---> ecd22c9a3086 [2022-06-17T03:14:50.760Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T03:14:50.760Z] ---> Running in 740c671656ec [2022-06-17T03:15:05.696Z] Removing intermediate container 740c671656ec [2022-06-17T03:15:05.697Z] ---> 52a57b712d41 [2022-06-17T03:15:05.697Z] Step 10/11 : COPY . . [2022-06-17T03:15:05.697Z] ---> 45e5692bea7b [2022-06-17T03:15:05.697Z] Step 11/11 : RUN ${MAKE} [2022-06-17T03:15:05.697Z] ---> Running in e2df10809c5a [2022-06-17T03:15:05.697Z] noop [2022-06-17T03:15:05.959Z] Removing intermediate container e2df10809c5a [2022-06-17T03:15:05.959Z] ---> f26ab2d11bba [2022-06-17T03:15:05.959Z] Successfully built f26ab2d11bba [2022-06-17T03:15:05.959Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:15:06.404Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T03:15:06.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:15:06.578Z] prd-ubuntu20.04-docker-8c-8g-2533 does not seem to be running inside a container [2022-06-17T03:15:06.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1177 -v /w/workspace/gexfoundry_device-sdk-go_PR-1177:/w/workspace/gexfoundry_device-sdk-go_PR-1177:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T03:15:07.044Z] $ docker top e0876b85516bfe9d4f88a07ddd446f2161fb8dcf6d9399bb904dd1142e2f615b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T03:15:07.584Z] + go version [2022-06-17T03:15:07.584Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T03:15:07.618Z] $ docker stop --time=1 e0876b85516bfe9d4f88a07ddd446f2161fb8dcf6d9399bb904dd1142e2f615b [2022-06-17T03:15:08.911Z] $ docker rm -f e0876b85516bfe9d4f88a07ddd446f2161fb8dcf6d9399bb904dd1142e2f615b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:15:09.658Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T03:15:09.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:15:09.826Z] prd-ubuntu20.04-docker-8c-8g-2533 does not seem to be running inside a container [2022-06-17T03:15:09.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1177 -v /w/workspace/gexfoundry_device-sdk-go_PR-1177:/w/workspace/gexfoundry_device-sdk-go_PR-1177:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T03:15:10.285Z] $ docker top e0d66be67a90af309525f21e63a25c17ddcde0cd03e16bd70cc429c903ae6753 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T03:15:10.736Z] + make test [2022-06-17T03:15:10.736Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-17T03:15:16.022Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-17T03:15:30.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.105s coverage: 23.3% of statements [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-17T03:15:30.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-06-17T03:15:30.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.107s coverage: 78.9% of statements [2022-06-17T03:15:30.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.077s coverage: 10.8% of statements [2022-06-17T03:15:30.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.075s coverage: 60.0% of statements [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-17T03:15:30.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 34.8% of statements [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-17T03:15:30.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 85.4% of statements [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-17T03:15:30.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.116s coverage: 65.1% of statements [2022-06-17T03:15:30.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.863s coverage: 89.2% of statements [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-17T03:15:30.917Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-06-17T03:15:30.917Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-17T03:15:45.817Z] GO111MODULE=on go vet ./... [2022-06-17T03:15:49.116Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T03:15:49.116Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T03:15:49.116Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T03:15:49.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T03:15:49.755Z] $ docker stop --time=1 e0d66be67a90af309525f21e63a25c17ddcde0cd03e16bd70cc429c903ae6753 [2022-06-17T03:15:52.023Z] $ docker rm -f e0d66be67a90af309525f21e63a25c17ddcde0cd03e16bd70cc429c903ae6753 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T03:15:52.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T03:15:52.658Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T03:15:53.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T03:15:53.620Z] + ls -al . [2022-06-17T03:15:53.620Z] total 300 [2022-06-17T03:15:53.620Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 17 03:15 . [2022-06-17T03:15:53.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:14 .. [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 03:14 .dockerignore [2022-06-17T03:15:53.620Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 03:14 .git [2022-06-17T03:15:53.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:14 .github [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 17 03:14 .gitignore [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 03:14 .golangci.yml [2022-06-17T03:15:53.620Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 03:14 .semver [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 17 03:14 CHANGELOG.md [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 03:14 GOVERNANCE.md [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 17 03:14 Jenkinsfile [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 17 03:14 LICENSE [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 17 03:14 Makefile [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 17 03:14 OWNERS.md [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 17 03:14 README.md [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 03:14 VERSION [2022-06-17T03:15:53.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:14 bin [2022-06-17T03:15:53.620Z] -rw-r--r-- 1 jenkins jenkins 131010 Jun 17 03:15 coverage.out [2022-06-17T03:15:53.620Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 03:14 example [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 17 03:14 go.mod [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 34801 Jun 17 03:14 go.sum [2022-06-17T03:15:53.620Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 17 03:14 internal [2022-06-17T03:15:53.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 03:14 openapi [2022-06-17T03:15:53.620Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 03:14 pkg [2022-06-17T03:15:53.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:14 snap [2022-06-17T03:15:53.620Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 17 03:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:15:54.019Z] + 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=874504b6ed41d91b5a3cde9fef16e2f9cda97e40 --label arch=amd64 --label version=0.0.0 . [2022-06-17T03:15:54.019Z] Sending build context to Docker daemon 9.87MB [2022-06-17T03:15:54.019Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T03:15:54.019Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-17T03:15:54.019Z] ---> f26ab2d11bba [2022-06-17T03:15:54.019Z] Step 3/25 : ARG MAKE=make build [2022-06-17T03:15:54.280Z] ---> Running in 30b7108678b1 [2022-06-17T03:15:54.280Z] Removing intermediate container 30b7108678b1 [2022-06-17T03:15:54.280Z] ---> 828bfed3ff7d [2022-06-17T03:15:54.280Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-17T03:15:54.280Z] ---> Running in d48b535bebae [2022-06-17T03:15:54.280Z] Removing intermediate container d48b535bebae [2022-06-17T03:15:54.280Z] ---> 78b4bb39499f [2022-06-17T03:15:54.280Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T03:15:54.541Z] ---> Running in a0826fe23071 [2022-06-17T03:15:54.541Z] Removing intermediate container a0826fe23071 [2022-06-17T03:15:54.541Z] ---> d906e96094f6 [2022-06-17T03:15:54.541Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T03:15:54.541Z] ---> Running in bc51cd618c0b [2022-06-17T03:15:55.113Z] Removing intermediate container bc51cd618c0b [2022-06-17T03:15:55.113Z] ---> 90e6553c0ef1 [2022-06-17T03:15:55.113Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T03:15:55.113Z] ---> Running in 9e1d83a21ad1 [2022-06-17T03:15:55.375Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T03:15:56.322Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T03:15:56.582Z] OK: 221 MiB in 52 packages [2022-06-17T03:15:57.154Z] Removing intermediate container 9e1d83a21ad1 [2022-06-17T03:15:57.154Z] ---> 09f71d107d0c [2022-06-17T03:15:57.154Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-17T03:15:57.154Z] ---> 15138171ccf2 [2022-06-17T03:15:57.154Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T03:15:57.154Z] ---> Running in 0e85deadcdcf [2022-06-17T03:15:58.134Z] Removing intermediate container 0e85deadcdcf [2022-06-17T03:15:58.134Z] ---> 40e7e464a0c7 [2022-06-17T03:15:58.134Z] Step 10/25 : COPY . . [2022-06-17T03:15:58.396Z] ---> d336d1d93c57 [2022-06-17T03:15:58.396Z] Step 11/25 : RUN ${MAKE} [2022-06-17T03:15:58.396Z] ---> Running in 1c4189e3c24f [2022-06-17T03:15:58.657Z] 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-06-17T03:16:16.786Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-17T03:16:19.325Z] Removing intermediate container 1c4189e3c24f [2022-06-17T03:16:19.325Z] ---> 951a0c0afba8 [2022-06-17T03:16:19.325Z] Step 12/25 : FROM alpine:3.14 [2022-06-17T03:16:19.898Z] 3.14: Pulling from library/alpine [2022-06-17T03:16:19.898Z] 8663204ce13b: Pulling fs layer [2022-06-17T03:16:20.159Z] 8663204ce13b: Verifying Checksum [2022-06-17T03:16:20.419Z] 8663204ce13b: Pull complete [2022-06-17T03:16:20.419Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T03:16:20.419Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T03:16:20.419Z] ---> e04c818066af [2022-06-17T03:16:20.419Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T03:16:20.419Z] ---> Running in d6d3ce7762f8 [2022-06-17T03:16:20.419Z] Removing intermediate container d6d3ce7762f8 [2022-06-17T03:16:20.419Z] ---> d7521a57a014 [2022-06-17T03:16:20.419Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T03:16:20.679Z] ---> Running in 57c8ee66f9d9 [2022-06-17T03:16:21.250Z] Removing intermediate container 57c8ee66f9d9 [2022-06-17T03:16:21.250Z] ---> 8d20b8f9c8e3 [2022-06-17T03:16:21.250Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-17T03:16:21.250Z] ---> Running in 022c7fdf4298 [2022-06-17T03:16:21.511Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-17T03:16:22.452Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-17T03:16:22.452Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T03:16:22.712Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-17T03:16:22.712Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T03:16:22.972Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-17T03:16:22.972Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-17T03:16:22.972Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T03:16:22.972Z] OK: 8 MiB in 19 packages [2022-06-17T03:16:23.542Z] Removing intermediate container 022c7fdf4298 [2022-06-17T03:16:23.542Z] ---> be59301d26b5 [2022-06-17T03:16:23.542Z] Step 16/25 : WORKDIR / [2022-06-17T03:16:23.542Z] ---> Running in 3458a0e80382 [2022-06-17T03:16:23.542Z] Removing intermediate container 3458a0e80382 [2022-06-17T03:16:23.542Z] ---> 7ebb83306a2d [2022-06-17T03:16:23.542Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-17T03:16:23.802Z] ---> 61f664b3283b [2022-06-17T03:16:23.802Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-17T03:16:24.372Z] ---> 2e21c7c24446 [2022-06-17T03:16:24.372Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-17T03:16:24.372Z] ---> 624af2791bde [2022-06-17T03:16:24.372Z] Step 20/25 : EXPOSE 59999 [2022-06-17T03:16:24.372Z] ---> Running in f3a427a07e6d [2022-06-17T03:16:24.631Z] Removing intermediate container f3a427a07e6d [2022-06-17T03:16:24.631Z] ---> c7d6e7254e3a [2022-06-17T03:16:24.631Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-17T03:16:24.631Z] ---> Running in d98bfb6d6c76 [2022-06-17T03:16:24.631Z] Removing intermediate container d98bfb6d6c76 [2022-06-17T03:16:24.631Z] ---> 993b310b77c2 [2022-06-17T03:16:24.631Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T03:16:24.631Z] ---> Running in 7b6ffe59b128 [2022-06-17T03:16:24.890Z] Removing intermediate container 7b6ffe59b128 [2022-06-17T03:16:24.890Z] ---> 0d8711d6f66d [2022-06-17T03:16:24.890Z] Step 23/25 : LABEL arch=amd64 [2022-06-17T03:16:24.890Z] ---> Running in c1a941f49317 [2022-06-17T03:16:24.890Z] Removing intermediate container c1a941f49317 [2022-06-17T03:16:24.890Z] ---> dac83d0c88bd [2022-06-17T03:16:24.890Z] Step 24/25 : LABEL git_sha=874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [2022-06-17T03:16:25.152Z] ---> Running in 2d778ecfc124 [2022-06-17T03:16:25.152Z] Removing intermediate container 2d778ecfc124 [2022-06-17T03:16:25.152Z] ---> 0318de56decb [2022-06-17T03:16:25.152Z] Step 25/25 : LABEL version=0.0.0 [2022-06-17T03:16:25.152Z] ---> Running in eb7f067ba1a3 [2022-06-17T03:16:25.152Z] Removing intermediate container eb7f067ba1a3 [2022-06-17T03:16:25.152Z] ---> 31d3367ae6e0 [2022-06-17T03:16:25.152Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T03:16:25.152Z] Successfully built 31d3367ae6e0 [2022-06-17T03:16:25.152Z] 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-06-17T03:16:25.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T03:16:25.960Z] [2022-06-17T03:16:25.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:16:26.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T03:16:26.343Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T03:16:26.343Z] 5eb5b503b376: Pulling fs layer [2022-06-17T03:16:26.343Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T03:16:26.343Z] ec43610c2a17: Pulling fs layer [2022-06-17T03:16:26.344Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T03:16:26.344Z] 33b1e0a273af: Pulling fs layer [2022-06-17T03:16:26.344Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T03:16:26.344Z] 2f39f015ded8: Pulling fs layer [2022-06-17T03:16:26.344Z] 3a2ae6a8a46f: Waiting [2022-06-17T03:16:26.344Z] 33b1e0a273af: Waiting [2022-06-17T03:16:26.344Z] 5d3b04190fa2: Waiting [2022-06-17T03:16:26.344Z] 2f39f015ded8: Waiting [2022-06-17T03:16:26.344Z] 5c69ac0246d0: Verifying Checksum [2022-06-17T03:16:26.344Z] 5c69ac0246d0: Download complete [2022-06-17T03:16:26.344Z] 3a2ae6a8a46f: Download complete [2022-06-17T03:16:26.344Z] 33b1e0a273af: Verifying Checksum [2022-06-17T03:16:26.344Z] 33b1e0a273af: Download complete [2022-06-17T03:16:26.344Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T03:16:26.344Z] 5d3b04190fa2: Download complete [2022-06-17T03:16:26.344Z] ec43610c2a17: Verifying Checksum [2022-06-17T03:16:26.344Z] ec43610c2a17: Download complete [2022-06-17T03:16:26.603Z] 5eb5b503b376: Verifying Checksum [2022-06-17T03:16:26.603Z] 5eb5b503b376: Download complete [2022-06-17T03:16:27.172Z] 2f39f015ded8: Download complete [2022-06-17T03:16:27.741Z] 5eb5b503b376: Pull complete [2022-06-17T03:16:28.004Z] 5c69ac0246d0: Pull complete [2022-06-17T03:16:28.574Z] ec43610c2a17: Pull complete [2022-06-17T03:16:28.574Z] 3a2ae6a8a46f: Pull complete [2022-06-17T03:16:28.574Z] 33b1e0a273af: Pull complete [2022-06-17T03:16:28.836Z] 5d3b04190fa2: Pull complete [2022-06-17T03:16:34.115Z] 2f39f015ded8: Pull complete [2022-06-17T03:16:34.115Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T03:16:34.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T03:16:34.115Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:16:34.330Z] prd-ubuntu20.04-docker-8c-8g-2533 does not seem to be running inside a container [2022-06-17T03:16:34.367Z] $ 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-1177 -v /w/workspace/gexfoundry_device-sdk-go_PR-1177:/w/workspace/gexfoundry_device-sdk-go_PR-1177:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T03:16:36.274Z] $ docker top b491f4d7aafea8d1cf1484beefb6d822d935d3d18f76bf39f709e8d3b06b5efc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:16:36.729Z] ---> job-cost.sh [2022-06-17T03:16:36.729Z] lf-activate-venv: SKIPPING [2022-06-17T03:16:36.729Z] INFO: No Stack... [2022-06-17T03:16:36.991Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T03:16:37.563Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T03:16:37.960Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives/cost.csv [2022-06-17T03:16:37.960Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T03:16:38.010Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] [2022-06-17T03:16:38.014Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] did not exist. Created. [2022-06-17T03:16:38.014Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T03:16:38.406Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T03:16:38.460Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T03:16:38.484Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T03:16:38.560Z] $ docker stop --time=1 b491f4d7aafea8d1cf1484beefb6d822d935d3d18f76bf39f709e8d3b06b5efc [2022-06-17T03:16:39.742Z] $ docker rm -f b491f4d7aafea8d1cf1484beefb6d822d935d3d18f76bf39f709e8d3b06b5efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T03:17:36.513Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2535 in /w/workspace/gexfoundry_device-sdk-go_PR-1177 [Pipeline] { [Pipeline] ws [2022-06-17T03:17:36.558Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-06-17T03:17:36.669Z] The recommended git tool is: git [2022-06-17T03:17:43.033Z] using credential edgex-jenkins-ssh [2022-06-17T03:17:43.049Z] Cloning the remote Git repository [2022-06-17T03:17:43.106Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-06-17T03:17:43.186Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-06-17T03:17:43.287Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-17T03:17:43.288Z] > git --version # timeout=10 [2022-06-17T03:17:43.310Z] > git --version # 'git version 2.25.1' [2022-06-17T03:17:43.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T03:17:43.379Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T03:17:45.524Z] Merging remotes/origin/main commit f6d939e94ec53612eabda502d541349231dbf6bf into PR head commit 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [2022-06-17T03:17:45.771Z] Merge succeeded, producing 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [2022-06-17T03:17:45.771Z] Checking out Revision 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 (PR-1177) [2022-06-17T03:17:44.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-17T03:17:44.790Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T03:17:44.856Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-17T03:17:44.901Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-17T03:17:44.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T03:17:44.948Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1177/head:refs/remotes/origin/PR-1177 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T03:17:45.547Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T03:17:45.565Z] > git checkout -f 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 # timeout=10 [2022-06-17T03:17:45.673Z] > git remote # timeout=10 [2022-06-17T03:17:45.688Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T03:17:45.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T03:17:45.730Z] > git merge f6d939e94ec53612eabda502d541349231dbf6bf # timeout=10 [2022-06-17T03:17:45.759Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T03:17:45.782Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T03:17:45.800Z] > git checkout -f 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 # timeout=10 [2022-06-17T03:17:49.990Z] Commit message: "build: Upgrade go-mod-messaging and paho.mqtt lib" [2022-06-17T03:17:50.050Z] > git --version # timeout=10 [2022-06-17T03:17:50.060Z] > git --version # 'git version 2.25.1' [2022-06-17T03:17:50.073Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T03:17:51.112Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T03:17:51.113Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T03:17:51.113Z] Dload Upload Total Spent Left Speed [2022-06-17T03:17:51.113Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10502 0 0 54134 0 --:--:-- --:--:-- --:--:-- 54134 100 12253 100 12253 0 0 62835 0 --:--:-- --:--:-- --:--:-- 62515 [Pipeline] sh [2022-06-17T03:17:51.929Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T03:17:52.293Z] + sudo tee /etc/docker/daemon.new [2022-06-17T03:17:52.293Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T03:17:52.293Z] { [2022-06-17T03:17:52.293Z] "registry-mirrors": [ [2022-06-17T03:17:52.293Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T03:17:52.293Z] ], [2022-06-17T03:17:52.293Z] "bip": "10.250.0.254/24", [2022-06-17T03:17:52.293Z] "hosts": [ [2022-06-17T03:17:52.293Z] "tcp://0.0.0.0:5555", [2022-06-17T03:17:52.293Z] "unix:///var/run/docker.sock" [2022-06-17T03:17:52.293Z] ], [2022-06-17T03:17:52.293Z] "mtu": 1458, [2022-06-17T03:17:52.293Z] "selinux-enabled": true, [2022-06-17T03:17:52.293Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T03:17:52.293Z] } [Pipeline] sh [2022-06-17T03:17:52.659Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T03:17:53.020Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T03:18:11.519Z] provisioning config files... [2022-06-17T03:18:11.546Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8287846191137280442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:18:11.966Z] ---> docker-login.sh [2022-06-17T03:18:11.967Z] nexus3.edgexfoundry.org:10001 [2022-06-17T03:18:12.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:18:12.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:18:12.834Z] Configure a credential helper to remove this warning. See [2022-06-17T03:18:12.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:18:12.834Z] [2022-06-17T03:18:12.834Z] Login Succeeded [2022-06-17T03:18:12.834Z] nexus3.edgexfoundry.org:10002 [2022-06-17T03:18:13.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:18:13.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:18:13.381Z] Configure a credential helper to remove this warning. See [2022-06-17T03:18:13.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:18:13.381Z] [2022-06-17T03:18:13.381Z] Login Succeeded [2022-06-17T03:18:13.381Z] nexus3.edgexfoundry.org:10003 [2022-06-17T03:18:13.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:18:13.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:18:13.656Z] Configure a credential helper to remove this warning. See [2022-06-17T03:18:13.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:18:13.656Z] [2022-06-17T03:18:13.656Z] Login Succeeded [2022-06-17T03:18:13.656Z] nexus3.edgexfoundry.org:10004 [2022-06-17T03:18:14.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:18:14.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:18:14.254Z] Configure a credential helper to remove this warning. See [2022-06-17T03:18:14.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:18:14.254Z] [2022-06-17T03:18:14.254Z] Login Succeeded [2022-06-17T03:18:14.254Z] docker.io [2022-06-17T03:18:14.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T03:18:15.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T03:18:15.127Z] Configure a credential helper to remove this warning. See [2022-06-17T03:18:15.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T03:18:15.127Z] [2022-06-17T03:18:15.127Z] Login Succeeded [2022-06-17T03:18:15.127Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T03:18:15.158Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T03:18:15.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T03:18:15.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T03:18:15.625Z] ========================================================= [2022-06-17T03:18:15.625Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T03:18:15.625Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:18:16.139Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T03:18:16.743Z] Sending build context to Docker daemon 5.224MB [2022-06-17T03:18:16.744Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T03:18:16.744Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-17T03:18:16.744Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T03:18:16.744Z] 9b3977197b4f: Pulling fs layer [2022-06-17T03:18:16.744Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T03:18:16.744Z] 94645a83ff95: Pulling fs layer [2022-06-17T03:18:16.744Z] e6fb740bc735: Pulling fs layer [2022-06-17T03:18:16.744Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T03:18:16.744Z] 355e64cbe906: Pulling fs layer [2022-06-17T03:18:16.744Z] 63ab81a10011: Pulling fs layer [2022-06-17T03:18:16.744Z] 555d1d1c4555: Pulling fs layer [2022-06-17T03:18:16.744Z] 7d9057610161: Pulling fs layer [2022-06-17T03:18:16.744Z] e6fb740bc735: Waiting [2022-06-17T03:18:16.744Z] 555d1d1c4555: Waiting [2022-06-17T03:18:16.744Z] 355e64cbe906: Waiting [2022-06-17T03:18:16.744Z] 7d9057610161: Waiting [2022-06-17T03:18:16.744Z] 63ab81a10011: Waiting [2022-06-17T03:18:16.744Z] 94645a83ff95: Download complete [2022-06-17T03:18:16.744Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T03:18:16.744Z] 1a89e8eeedd5: Download complete [2022-06-17T03:18:16.744Z] 3a77bd46dcc9: Download complete [2022-06-17T03:18:16.744Z] 355e64cbe906: Verifying Checksum [2022-06-17T03:18:16.744Z] 355e64cbe906: Download complete [2022-06-17T03:18:17.022Z] 63ab81a10011: Verifying Checksum [2022-06-17T03:18:17.022Z] 63ab81a10011: Download complete [2022-06-17T03:18:17.022Z] 9b3977197b4f: Verifying Checksum [2022-06-17T03:18:17.022Z] 9b3977197b4f: Download complete [2022-06-17T03:18:18.036Z] 9b3977197b4f: Pull complete [2022-06-17T03:18:18.036Z] 7d9057610161: Verifying Checksum [2022-06-17T03:18:18.036Z] 7d9057610161: Download complete [2022-06-17T03:18:18.641Z] 1a89e8eeedd5: Pull complete [2022-06-17T03:18:18.922Z] 94645a83ff95: Pull complete [2022-06-17T03:18:19.197Z] 555d1d1c4555: Verifying Checksum [2022-06-17T03:18:19.197Z] 555d1d1c4555: Download complete [2022-06-17T03:18:19.795Z] e6fb740bc735: Verifying Checksum [2022-06-17T03:18:19.795Z] e6fb740bc735: Download complete [2022-06-17T03:18:32.202Z] e6fb740bc735: Pull complete [2022-06-17T03:18:32.202Z] 3a77bd46dcc9: Pull complete [2022-06-17T03:18:32.202Z] 355e64cbe906: Pull complete [2022-06-17T03:18:32.202Z] 63ab81a10011: Pull complete [2022-06-17T03:18:38.933Z] 555d1d1c4555: Pull complete [2022-06-17T03:18:39.932Z] 7d9057610161: Pull complete [2022-06-17T03:18:39.932Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T03:18:39.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T03:18:39.932Z] ---> 819e984ddca1 [2022-06-17T03:18:39.933Z] Step 3/11 : ARG MAKE=make build [2022-06-17T03:18:41.934Z] ---> Running in 324188dd80bd [2022-06-17T03:18:42.208Z] Removing intermediate container 324188dd80bd [2022-06-17T03:18:42.208Z] ---> 77ac47cde3fa [2022-06-17T03:18:42.208Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-17T03:18:42.480Z] ---> Running in 710c483e05c9 [2022-06-17T03:18:42.759Z] Removing intermediate container 710c483e05c9 [2022-06-17T03:18:42.759Z] ---> 07f1d419350a [2022-06-17T03:18:42.759Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T03:18:42.759Z] ---> Running in 1715d26e21b5 [2022-06-17T03:18:44.212Z] Removing intermediate container 1715d26e21b5 [2022-06-17T03:18:44.212Z] ---> 33f1a9fab876 [2022-06-17T03:18:44.212Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T03:18:44.484Z] ---> Running in a0361191b0cf [2022-06-17T03:18:46.460Z] Removing intermediate container a0361191b0cf [2022-06-17T03:18:46.460Z] ---> f19a0a8c6fe9 [2022-06-17T03:18:46.460Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T03:18:46.460Z] ---> Running in 74acf4d653f9 [2022-06-17T03:18:47.446Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T03:18:48.430Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T03:18:49.416Z] OK: 220 MiB in 52 packages [2022-06-17T03:18:50.015Z] Removing intermediate container 74acf4d653f9 [2022-06-17T03:18:50.015Z] ---> eb79ffe5c835 [2022-06-17T03:18:50.015Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-17T03:18:50.625Z] ---> 97489ddd8166 [2022-06-17T03:18:50.625Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T03:18:50.905Z] ---> Running in f743b97af220 [2022-06-17T03:19:37.922Z] Removing intermediate container f743b97af220 [2022-06-17T03:19:37.922Z] ---> 707fb1ce5ae8 [2022-06-17T03:19:37.922Z] Step 10/11 : COPY . . [2022-06-17T03:19:37.922Z] ---> 7f20a2bb59cf [2022-06-17T03:19:37.922Z] Step 11/11 : RUN ${MAKE} [2022-06-17T03:19:37.922Z] ---> Running in e6ceca9fa0e2 [2022-06-17T03:19:37.922Z] noop [2022-06-17T03:19:38.520Z] Removing intermediate container e6ceca9fa0e2 [2022-06-17T03:19:38.520Z] ---> c6e90cf62087 [2022-06-17T03:19:38.520Z] Successfully built c6e90cf62087 [2022-06-17T03:19:38.520Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:19:39.010Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T03:19:39.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:19:39.338Z] prd-ubuntu20.04-docker-arm64-4c-16g-2535 does not seem to be running inside a container [2022-06-17T03:19:39.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T03:19:40.721Z] $ docker top 397a55d2e4e02477a9069b69dafdfa929e239fbf64d93243f8f3ebfbf87e4155 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T03:19:41.728Z] + go version [2022-06-17T03:19:41.728Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T03:19:41.765Z] $ docker stop --time=1 397a55d2e4e02477a9069b69dafdfa929e239fbf64d93243f8f3ebfbf87e4155 [2022-06-17T03:19:43.424Z] $ docker rm -f 397a55d2e4e02477a9069b69dafdfa929e239fbf64d93243f8f3ebfbf87e4155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:19:44.379Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T03:19:44.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:19:44.701Z] prd-ubuntu20.04-docker-arm64-4c-16g-2535 does not seem to be running inside a container [2022-06-17T03:19:44.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T03:19:46.139Z] $ docker top 79504277d7f22706a3d1f20bb9f264f3972042545bdb5a197e5b0439078e8fab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T03:19:47.148Z] + make test [2022-06-17T03:19:47.148Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-17T03:20:19.531Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-17T03:22:11.464Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-17T03:22:11.464Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-17T03:22:11.464Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-17T03:22:12.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.370s coverage: 23.3% of statements [2022-06-17T03:22:12.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-17T03:22:12.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.285s coverage: 27.6% of statements [2022-06-17T03:22:12.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.321s coverage: 78.9% of statements [2022-06-17T03:22:12.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.248s coverage: 10.8% of statements [2022-06-17T03:22:15.101Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.594s coverage: 60.0% of statements [2022-06-17T03:22:15.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-17T03:22:15.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-17T03:22:19.453Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.414s coverage: 34.8% of statements [2022-06-17T03:22:19.453Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-17T03:22:20.914Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.336s coverage: 85.4% of statements [2022-06-17T03:22:20.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-17T03:22:20.914Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-17T03:22:20.914Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.556s coverage: 65.1% of statements [2022-06-17T03:22:23.551Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.139s coverage: 89.2% of statements [2022-06-17T03:22:23.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-17T03:22:26.215Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.254s coverage: 4.7% of statements [2022-06-17T03:22:26.215Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-17T03:22:26.825Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T03:22:26.825Z] GO111MODULE=on go vet ./... [2022-06-17T03:23:48.673Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T03:23:48.673Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T03:23:48.673Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T03:23:50.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T03:23:50.176Z] $ docker stop --time=1 79504277d7f22706a3d1f20bb9f264f3972042545bdb5a197e5b0439078e8fab [2022-06-17T03:23:52.024Z] $ docker rm -f 79504277d7f22706a3d1f20bb9f264f3972042545bdb5a197e5b0439078e8fab [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T03:23:53.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T03:23:53.443Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T03:23:54.021Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T03:23:54.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T03:23:54.967Z] + ls -al . [2022-06-17T03:23:54.967Z] total 296 [2022-06-17T03:23:54.967Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 03:23 . [2022-06-17T03:23:54.967Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:17 .. [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 03:17 .dockerignore [2022-06-17T03:23:54.967Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 03:17 .git [2022-06-17T03:23:54.967Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:17 .github [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 17 03:17 .gitignore [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 03:17 .golangci.yml [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 17 03:17 CHANGELOG.md [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 03:17 GOVERNANCE.md [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 17 03:17 Jenkinsfile [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 17 03:17 LICENSE [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 17 03:17 Makefile [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 17 03:17 OWNERS.md [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 17 03:17 README.md [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 03:14 VERSION [2022-06-17T03:23:54.967Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:17 bin [2022-06-17T03:23:54.967Z] -rw-r--r-- 1 jenkins jenkins 131011 Jun 17 03:22 coverage.out [2022-06-17T03:23:54.967Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 03:17 example [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 17 03:17 go.mod [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 34801 Jun 17 03:17 go.sum [2022-06-17T03:23:54.967Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 17 03:17 internal [2022-06-17T03:23:54.967Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 03:17 openapi [2022-06-17T03:23:54.967Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 03:17 pkg [2022-06-17T03:23:54.967Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:17 snap [2022-06-17T03:23:54.967Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 17 03:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:23:55.403Z] + 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=874504b6ed41d91b5a3cde9fef16e2f9cda97e40 --label arch=arm64 --label version=0.0.0 . [2022-06-17T03:23:55.683Z] Sending build context to Docker daemon 5.356MB [2022-06-17T03:23:55.974Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T03:23:55.974Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-17T03:23:55.974Z] ---> c6e90cf62087 [2022-06-17T03:23:55.974Z] Step 3/25 : ARG MAKE=make build [2022-06-17T03:23:55.974Z] ---> Running in 914031b64613 [2022-06-17T03:23:56.252Z] Removing intermediate container 914031b64613 [2022-06-17T03:23:56.252Z] ---> 1e07e4dbf10d [2022-06-17T03:23:56.252Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-17T03:23:56.252Z] ---> Running in ec042b00ea91 [2022-06-17T03:23:56.850Z] Removing intermediate container ec042b00ea91 [2022-06-17T03:23:56.850Z] ---> c07e1f316633 [2022-06-17T03:23:56.850Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T03:23:56.850Z] ---> Running in 5fd29bb70e37 [2022-06-17T03:23:57.124Z] Removing intermediate container 5fd29bb70e37 [2022-06-17T03:23:57.124Z] ---> 252406d27ecf [2022-06-17T03:23:57.124Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T03:23:57.124Z] ---> Running in dda588f343b5 [2022-06-17T03:23:59.103Z] Removing intermediate container dda588f343b5 [2022-06-17T03:23:59.103Z] ---> 808b53d87b7f [2022-06-17T03:23:59.103Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T03:23:59.103Z] ---> Running in 7d7ef1522a73 [2022-06-17T03:23:59.698Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T03:24:00.674Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T03:24:01.652Z] OK: 220 MiB in 52 packages [2022-06-17T03:24:02.251Z] Removing intermediate container 7d7ef1522a73 [2022-06-17T03:24:02.251Z] ---> aae651ce19ce [2022-06-17T03:24:02.251Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-17T03:24:02.851Z] ---> f2ef50b27374 [2022-06-17T03:24:02.851Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T03:24:02.851Z] ---> Running in 915db8d4d8ca [2022-06-17T03:24:04.832Z] Removing intermediate container 915db8d4d8ca [2022-06-17T03:24:04.833Z] ---> fbc7c4a71a97 [2022-06-17T03:24:04.833Z] Step 10/25 : COPY . . [2022-06-17T03:24:05.806Z] ---> 66d8f4d5db9e [2022-06-17T03:24:05.806Z] Step 11/25 : RUN ${MAKE} [2022-06-17T03:24:05.806Z] ---> Running in a8d3c75d3d68 [2022-06-17T03:24:06.786Z] 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-06-17T03:25:58.601Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-17T03:26:01.215Z] Removing intermediate container a8d3c75d3d68 [2022-06-17T03:26:01.215Z] ---> 1f228ecbf0a7 [2022-06-17T03:26:01.215Z] Step 12/25 : FROM alpine:3.14 [2022-06-17T03:26:02.189Z] 3.14: Pulling from library/alpine [2022-06-17T03:26:02.189Z] 455c02918c45: Pulling fs layer [2022-06-17T03:26:02.464Z] 455c02918c45: Download complete [2022-06-17T03:26:02.739Z] 455c02918c45: Pull complete [2022-06-17T03:26:03.013Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T03:26:03.013Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T03:26:03.013Z] ---> ac73e934f311 [2022-06-17T03:26:03.013Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T03:26:03.013Z] ---> Running in 661f537c553c [2022-06-17T03:26:03.288Z] Removing intermediate container 661f537c553c [2022-06-17T03:26:03.288Z] ---> 582954e7ebfe [2022-06-17T03:26:03.288Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T03:26:03.288Z] ---> Running in f3f4974a778d [2022-06-17T03:26:05.270Z] Removing intermediate container f3f4974a778d [2022-06-17T03:26:05.270Z] ---> 7b04d731c8d0 [2022-06-17T03:26:05.270Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-17T03:26:05.270Z] ---> Running in 6f0413e80609 [2022-06-17T03:26:05.869Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-17T03:26:06.845Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-17T03:26:07.844Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T03:26:07.844Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-17T03:26:07.844Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T03:26:07.844Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-17T03:26:08.117Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-17T03:26:08.117Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T03:26:08.117Z] OK: 8 MiB in 19 packages [2022-06-17T03:26:09.098Z] Removing intermediate container 6f0413e80609 [2022-06-17T03:26:09.098Z] ---> a555e955df2f [2022-06-17T03:26:09.098Z] Step 16/25 : WORKDIR / [2022-06-17T03:26:09.098Z] ---> Running in 798c4793840d [2022-06-17T03:26:09.374Z] Removing intermediate container 798c4793840d [2022-06-17T03:26:09.374Z] ---> 7bae4f55fe1a [2022-06-17T03:26:09.374Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-17T03:26:09.973Z] ---> 849971ae00e8 [2022-06-17T03:26:09.973Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-17T03:26:11.413Z] ---> 478dfa8b3d80 [2022-06-17T03:26:11.413Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-17T03:26:12.013Z] ---> 5561b2d7c169 [2022-06-17T03:26:12.013Z] Step 20/25 : EXPOSE 59999 [2022-06-17T03:26:12.013Z] ---> Running in bbdea586d8e6 [2022-06-17T03:26:12.285Z] Removing intermediate container bbdea586d8e6 [2022-06-17T03:26:12.285Z] ---> d1717a2950d8 [2022-06-17T03:26:12.285Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-17T03:26:12.285Z] ---> Running in 59bcacc61a7f [2022-06-17T03:26:12.584Z] Removing intermediate container 59bcacc61a7f [2022-06-17T03:26:12.584Z] ---> 30ef37ec6aae [2022-06-17T03:26:12.584Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T03:26:12.862Z] ---> Running in 2e18b9fe4c80 [2022-06-17T03:26:13.144Z] Removing intermediate container 2e18b9fe4c80 [2022-06-17T03:26:13.144Z] ---> 451cfd87a976 [2022-06-17T03:26:13.144Z] Step 23/25 : LABEL arch=arm64 [2022-06-17T03:26:13.144Z] ---> Running in 62c672efa912 [2022-06-17T03:26:13.454Z] Removing intermediate container 62c672efa912 [2022-06-17T03:26:13.454Z] ---> dc078a203394 [2022-06-17T03:26:13.454Z] Step 24/25 : LABEL git_sha=874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [2022-06-17T03:26:13.454Z] ---> Running in 00c5b1ec8ee2 [2022-06-17T03:26:13.758Z] Removing intermediate container 00c5b1ec8ee2 [2022-06-17T03:26:13.758Z] ---> c504213f739c [2022-06-17T03:26:13.758Z] Step 25/25 : LABEL version=0.0.0 [2022-06-17T03:26:14.049Z] ---> Running in 2c3af4c64259 [2022-06-17T03:26:14.336Z] Removing intermediate container 2c3af4c64259 [2022-06-17T03:26:14.336Z] ---> 124f0c780c9a [2022-06-17T03:26:14.336Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T03:26:14.336Z] Successfully built 124f0c780c9a [2022-06-17T03:26:14.336Z] 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-06-17T03:26:15.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T03:26:15.182Z] [2022-06-17T03:26:15.182Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:26:15.605Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T03:26:15.881Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T03:26:15.881Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T03:26:15.881Z] 04944245beec: Pulling fs layer [2022-06-17T03:26:15.881Z] 699f458cf7ca: Pulling fs layer [2022-06-17T03:26:15.881Z] 765212b225bb: Pulling fs layer [2022-06-17T03:26:15.881Z] f23df028b6ca: Pulling fs layer [2022-06-17T03:26:15.881Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T03:26:15.881Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T03:26:15.881Z] 765212b225bb: Waiting [2022-06-17T03:26:15.881Z] f23df028b6ca: Waiting [2022-06-17T03:26:15.881Z] d65c8cfc05b1: Waiting [2022-06-17T03:26:15.881Z] 2437ff75d9bd: Waiting [2022-06-17T03:26:15.881Z] 04944245beec: Verifying Checksum [2022-06-17T03:26:15.881Z] 04944245beec: Download complete [2022-06-17T03:26:15.881Z] 765212b225bb: Verifying Checksum [2022-06-17T03:26:15.881Z] 765212b225bb: Download complete [2022-06-17T03:26:15.881Z] f23df028b6ca: Download complete [2022-06-17T03:26:15.881Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T03:26:15.881Z] d65c8cfc05b1: Download complete [2022-06-17T03:26:16.158Z] 699f458cf7ca: Verifying Checksum [2022-06-17T03:26:16.159Z] 699f458cf7ca: Download complete [2022-06-17T03:26:16.435Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T03:26:16.435Z] 8998bd30e6a1: Download complete [2022-06-17T03:26:19.062Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T03:26:19.062Z] 2437ff75d9bd: Download complete [2022-06-17T03:26:21.040Z] 8998bd30e6a1: Pull complete [2022-06-17T03:26:21.316Z] 04944245beec: Pull complete [2022-06-17T03:26:22.750Z] 699f458cf7ca: Pull complete [2022-06-17T03:26:23.033Z] 765212b225bb: Pull complete [2022-06-17T03:26:24.017Z] f23df028b6ca: Pull complete [2022-06-17T03:26:24.017Z] d65c8cfc05b1: Pull complete [2022-06-17T03:26:39.102Z] 2437ff75d9bd: Pull complete [2022-06-17T03:26:39.102Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T03:26:39.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T03:26:39.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:26:39.495Z] prd-ubuntu20.04-docker-arm64-4c-16g-2535 does not seem to be running inside a container [2022-06-17T03:26:39.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T03:26:42.063Z] $ docker top 789b82d438f7ca05bd948d3ca77335815d7bf196606661cedf1c67f37da398b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:26:43.045Z] ---> job-cost.sh [2022-06-17T03:26:43.045Z] lf-activate-venv: SKIPPING [2022-06-17T03:26:43.045Z] INFO: No Stack... [2022-06-17T03:26:43.638Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T03:26:44.609Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T03:26:45.286Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-06-17T03:26:45.286Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T03:26:45.365Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] [2022-06-17T03:26:45.369Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] did not exist. Created. [2022-06-17T03:26:45.369Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T03:26:46.105Z] /w/workspace/device-sdk-go/1@tmp/durable-5996d2f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T03:26:46.792Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T03:26:46.833Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T03:26:46.910Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T03:26:46.957Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T03:26:47.086Z] $ docker stop --time=1 789b82d438f7ca05bd948d3ca77335815d7bf196606661cedf1c67f37da398b4 [2022-06-17T03:26:48.589Z] $ docker rm -f 789b82d438f7ca05bd948d3ca77335815d7bf196606661cedf1c67f37da398b4 [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-06-17T03:26:49.626Z] provisioning config files... [2022-06-17T03:26:49.636Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/config6585225472784183885tmp [Pipeline] { [Pipeline] sh [2022-06-17T03:26:49.974Z] + set +x [2022-06-17T03:26:49.974Z] + curl -s https://codecov.io/bash [2022-06-17T03:26:49.974Z] + bash -s -- [2022-06-17T03:26:49.974Z] [2022-06-17T03:26:49.974Z] _____ _ [2022-06-17T03:26:49.974Z] / ____| | | [2022-06-17T03:26:49.974Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T03:26:49.974Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T03:26:49.974Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T03:26:49.974Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T03:26:49.974Z] Bash-1.0.6 [2022-06-17T03:26:49.974Z] [2022-06-17T03:26:49.974Z] [2022-06-17T03:26:49.974Z] ==> git version 2.25.1 found [2022-06-17T03:26:49.974Z] ==> 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-06-17T03:26:49.974Z] Release-Date: 2020-01-08 [2022-06-17T03:26:49.974Z] 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-06-17T03:26:49.974Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T03:26:49.974Z] ==> Jenkins CI detected. [2022-06-17T03:26:49.974Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1177 [2022-06-17T03:26:49.974Z] project root: . [2022-06-17T03:26:49.974Z] --> token set from env [2022-06-17T03:26:49.974Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T03:26:49.974Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T03:26:49.974Z] ==> Python coveragepy not found [2022-06-17T03:26:49.974Z] ==> Searching for coverage reports in: [2022-06-17T03:26:49.974Z] + . [2022-06-17T03:26:49.974Z] -> Found 1 reports [2022-06-17T03:26:49.974Z] ==> Detecting git/mercurial file structure [2022-06-17T03:26:49.974Z] ==> Reading reports [2022-06-17T03:26:50.237Z] + ./coverage.out bytes=131011 [2022-06-17T03:26:50.237Z] ==> Appending adjustments [2022-06-17T03:26:50.237Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T03:26:50.498Z] + Found adjustments [2022-06-17T03:26:50.499Z] ==> Gzipping contents [2022-06-17T03:26:50.499Z] 20K /tmp/codecov.aRWbHU.gz [2022-06-17T03:26:50.499Z] ==> Uploading reports [2022-06-17T03:26:50.499Z] url: https://codecov.io [2022-06-17T03:26:50.499Z] query: branch=PR-1177&commit=874504b6ed41d91b5a3cde9fef16e2f9cda97e40&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1177&job=&cmd_args= [2022-06-17T03:26:50.499Z] -> Pinging Codecov [2022-06-17T03:26:50.499Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1177&commit=874504b6ed41d91b5a3cde9fef16e2f9cda97e40&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1177&job=&cmd_args= [2022-06-17T03:26:50.759Z] -> Uploading to [2022-06-17T03:26:50.759Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/7E55EF52A471D76F132DFD9A03CDDE97/874504b6ed41d91b5a3cde9fef16e2f9cda97e40/7ca06240-68e1-4780-84e7-df8c1e26d732.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T032650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d10472984425f77b36928b106d64250ba9b6b26830c3087045b6ab2ae0923c0 [2022-06-17T03:26:50.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T03:26:50.759Z] Dload Upload Total Spent Left Speed [2022-06-17T03:26:51.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16836 0 0 100 16836 0 70443 --:--:-- --:--:-- --:--:-- 70443 [2022-06-17T03:26:51.023Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [Pipeline] } [2022-06-17T03:26:51.048Z] 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-06-17T03:26:52.755Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives ] [2022-06-17T03:26:52.755Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives [2022-06-17T03:26:52.755Z] total 16 [2022-06-17T03:26:52.755Z] drwxr-xr-x 3 root root 4096 Jun 17 03:16 . [2022-06-17T03:26:52.755Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 17 03:16 .. [2022-06-17T03:26:52.755Z] drwxr-xr-x 2 root root 4096 Jun 17 03:16 cost [2022-06-17T03:26:52.755Z] -rw-r--r-- 1 root root 85 Jun 17 03:16 cost.csv [2022-06-17T03:26:52.755Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives [2022-06-17T03:26:52.755Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives [2022-06-17T03:26:52.755Z] total 16 [2022-06-17T03:26:52.755Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 03:16 . [2022-06-17T03:26:52.755Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 17 03:16 .. [2022-06-17T03:26:52.755Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 03:16 cost [2022-06-17T03:26:52.755Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 17 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:26:53.094Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:26:53.991Z] ---> package-listing.sh [2022-06-17T03:26:53.991Z] ++ facter osfamily [2022-06-17T03:26:53.991Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T03:26:54.251Z] + OS_FAMILY=debian [2022-06-17T03:26:54.251Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1177 [2022-06-17T03:26:54.251Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T03:26:54.251Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T03:26:54.251Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T03:26:54.251Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T03:26:54.251Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1177 ']' [2022-06-17T03:26:54.251Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T03:26:54.251Z] + case "${OS_FAMILY}" in [2022-06-17T03:26:54.251Z] + dpkg -l [2022-06-17T03:26:54.251Z] + grep '^ii' [2022-06-17T03:26:54.251Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T03:26:54.251Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T03:26:54.251Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T03:26:54.251Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1177 ']' [2022-06-17T03:26:54.251Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives/ [2022-06-17T03:26:54.251Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives/ [Pipeline] echo [2022-06-17T03:26:54.287Z] 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-1177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T03:26:54.585Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T03:26:55.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T03:26:55.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T03:26:55.369Z] prd-ubuntu20.04-docker-8c-8g-2533 does not seem to be running inside a container [2022-06-17T03:26:55.412Z] $ 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-1177/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-1177 -v /w/workspace/gexfoundry_device-sdk-go_PR-1177:/w/workspace/gexfoundry_device-sdk-go_PR-1177:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T03:26:55.659Z] $ docker top 9fe07670798e9a3884fe8e63da5b91c21dce7d3a4f000a09b0270e265faa1e53 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T03:26:56.058Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T03:26:56.381Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T03:26:56.695Z] + ls /var/log/sa-host [2022-06-17T03:26:56.695Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T03:26:56.843Z] provisioning config files... [2022-06-17T03:26:56.853Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/config8411405669270186847tmp [Pipeline] { [Pipeline] echo [2022-06-17T03:26:56.902Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:26:57.216Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T03:26:57.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:26:57.641Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T03:26:57.673Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:26:57.993Z] ---> sudo-logs.sh [2022-06-17T03:26:57.993Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T03:26:58.072Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:26:58.385Z] ---> job-cost.sh [2022-06-17T03:26:58.385Z] lf-activate-venv: SKIPPING [2022-06-17T03:26:58.385Z] DEBUG: total: 0.2199999988079071 [2022-06-17T03:26:58.385Z] INFO: Retrieving Stack Cost... [2022-06-17T03:26:58.962Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T03:26:59.537Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T03:26:59.569Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T03:26:59.884Z] ---> logs-deploy.sh [2022-06-17T03:26:59.884Z] lf-activate-venv: SKIPPING [2022-06-17T03:26:59.884Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1177/1 [2022-06-17T03:26:59.884Z] INFO: archiving workspace using pattern(s): [2022-06-17T03:27:00.828Z] Archives upload complete. [2022-06-17T03:27:01.091Z] INFO: archiving logs to Nexus