Pull request #1180 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 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 rather than a1088c257568f950bc1d2f1e33e52c0595660ab9 Obtained Jenkinsfile from 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 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-ssh14884925284194769397.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-ssh1077868029664625869.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-1180/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-1180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10340071146621316157.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-1180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4287279029139230318.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-ssh10185463786349247448.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-1180/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-1180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh40782663954969959.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15123 in /w/workspace/gexfoundry_device-sdk-go_PR-1180 [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-1180 # 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 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 into PR head commit a1088c257568f950bc1d2f1e33e52c0595660ab9 Merge succeeded, producing a1088c257568f950bc1d2f1e33e52c0595660ab9 Checking out Revision a1088c257568f950bc1d2f1e33e52c0595660ab9 (PR-1180) > 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/1180/head:refs/remotes/origin/PR-1180 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1088c257568f950bc1d2f1e33e52c0595660ab9 # 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 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1088c257568f950bc1d2f1e33e52c0595660ab9 # timeout=10 Commit message: "fix: Put cmd return 400 when updating empty string to NonString type" 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-20T06:52:08.746Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-20T06:52:08.897Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-20T06:52:08.980Z] ========================================================= [2022-06-20T06:52:08.980Z] EdgeX Global Pipelines Version Info [2022-06-20T06:52:08.980Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-20T06:52:09.767Z] ------------------- [2022-06-20T06:52:09.767Z] stable info: [2022-06-20T06:52:09.767Z] ------------------- [2022-06-20T06:52:09.767Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-20T06:52:09.767Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T06:52:09.767Z] Message: update stable to v1.0.234 [2022-06-20T06:52:10.341Z] ------------------- [2022-06-20T06:52:10.341Z] experimental info: [2022-06-20T06:52:10.341Z] ------------------- [2022-06-20T06:52:10.341Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-20T06:52:10.341Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T06:52:10.341Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-20T06:52:10.682Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-06-20T06:52:10.721Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-06-20T06:52:10.757Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-20T06:52:10.801Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-20T06:52:10.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-20T06:52:10.879Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-20T06:52:10.915Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-20T06:52:10.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-06-20T06:52:10.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-20T06:52:11.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-20T06:52:11.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-20T06:52:11.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-06-20T06:52:11.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-20T06:52:11.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-20T06:52:11.219Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T06:52:11.254Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T06:52:11.294Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T06:52:11.335Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T06:52:11.371Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-20T06:52:11.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-20T06:52:11.449Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-20T06:52:11.486Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-20T06:52:11.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-20T06:52:11.561Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-20T06:52:11.592Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-20T06:52:11.631Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-20T06:52:11.671Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-20T06:52:11.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1180 [Pipeline] echo [2022-06-20T06:52:11.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1180 [Pipeline] echo [2022-06-20T06:52:11.797Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1180 [Pipeline] echo [2022-06-20T06:52:11.840Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1088c257568f950bc1d2f1e33e52c0595660ab9 [Pipeline] echo [2022-06-20T06:52:11.882Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1088c2 [Pipeline] echo [2022-06-20T06:52:11.920Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T06:52:12.034Z] provisioning config files... [2022-06-20T06:52:12.051Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp/config2002514626437199683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T06:52:12.396Z] ---> docker-login.sh [2022-06-20T06:52:12.396Z] nexus3.edgexfoundry.org:10001 [2022-06-20T06:52:12.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:52:12.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:52:12.659Z] Configure a credential helper to remove this warning. See [2022-06-20T06:52:12.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:52:12.659Z] [2022-06-20T06:52:12.659Z] Login Succeeded [2022-06-20T06:52:12.659Z] nexus3.edgexfoundry.org:10002 [2022-06-20T06:52:12.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:52:12.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:52:12.920Z] Configure a credential helper to remove this warning. See [2022-06-20T06:52:12.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:52:12.920Z] [2022-06-20T06:52:12.920Z] Login Succeeded [2022-06-20T06:52:12.920Z] nexus3.edgexfoundry.org:10003 [2022-06-20T06:52:12.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:52:12.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:52:12.920Z] Configure a credential helper to remove this warning. See [2022-06-20T06:52:12.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:52:12.920Z] [2022-06-20T06:52:12.920Z] Login Succeeded [2022-06-20T06:52:12.920Z] nexus3.edgexfoundry.org:10004 [2022-06-20T06:52:13.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:52:13.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:52:13.182Z] Configure a credential helper to remove this warning. See [2022-06-20T06:52:13.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:52:13.182Z] [2022-06-20T06:52:13.182Z] Login Succeeded [2022-06-20T06:52:13.182Z] docker.io [2022-06-20T06:52:13.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:52:13.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:52:13.704Z] Configure a credential helper to remove this warning. See [2022-06-20T06:52:13.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:52:13.704Z] [2022-06-20T06:52:13.704Z] Login Succeeded [2022-06-20T06:52:13.704Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T06:52:13.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-20T06:52:14.370Z] + git rev-list -1 --merges a1088c257568f950bc1d2f1e33e52c0595660ab9~1..a1088c257568f950bc1d2f1e33e52c0595660ab9 [Pipeline] echo [2022-06-20T06:52:14.417Z] -----------> git rev-list -1 --merges a1088c257568f950bc1d2f1e33e52c0595660ab9~1..a1088c257568f950bc1d2f1e33e52c0595660ab9 a1088c257568f950bc1d2f1e33e52c0595660ab9 [false] [Pipeline] sh [2022-06-20T06:52:14.732Z] + git log --format=format:%s -1 a1088c257568f950bc1d2f1e33e52c0595660ab9 [Pipeline] echo [2022-06-20T06:52:14.767Z] ========================================================= [2022-06-20T06:52:14.767Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-20T06:52:14.767Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T06:52:15.232Z] + git log --format=format:%s -1 a1088c257568f950bc1d2f1e33e52c0595660ab9 [Pipeline] echo [2022-06-20T06:52:15.268Z] [semverPrep] GIT_COMMIT: a1088c257568f950bc1d2f1e33e52c0595660ab9, Commit Message: fix: Put cmd return 400 when updating empty string to NonString type [Pipeline] echo [2022-06-20T06:52:15.297Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-20T06:52:15.694Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-20T06:52:15.695Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-20T06:52:15.695Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-20T06:52:15.695Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-20T06:52:15.695Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-20T06:52:15.695Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-20T06:52:15.695Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T06:52:16.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T06:52:16.192Z] [2022-06-20T06:52:16.192Z] 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-20T06:52:16.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T06:52:16.574Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-20T06:52:16.574Z] 42c077c10790: Pulling fs layer [2022-06-20T06:52:16.574Z] f63e77b7563a: Pulling fs layer [2022-06-20T06:52:16.574Z] bd5fdadae976: Pulling fs layer [2022-06-20T06:52:16.574Z] 205491f53016: Pulling fs layer [2022-06-20T06:52:16.574Z] df18705c85c3: Pulling fs layer [2022-06-20T06:52:16.574Z] bdb3f477010e: Pulling fs layer [2022-06-20T06:52:16.574Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-20T06:52:16.574Z] 205491f53016: Waiting [2022-06-20T06:52:16.574Z] df18705c85c3: Waiting [2022-06-20T06:52:16.574Z] bdb3f477010e: Waiting [2022-06-20T06:52:16.574Z] 2c6e9b1d212d: Pulling fs layer [2022-06-20T06:52:16.574Z] bdb8f0575790: Pulling fs layer [2022-06-20T06:52:16.574Z] c8a8fc8e1c8f: Waiting [2022-06-20T06:52:16.574Z] 2c6e9b1d212d: Waiting [2022-06-20T06:52:16.574Z] 386e3cb2ff24: Pulling fs layer [2022-06-20T06:52:16.574Z] 2343380bae48: Pulling fs layer [2022-06-20T06:52:16.574Z] f63e77b7563a: Verifying Checksum [2022-06-20T06:52:16.574Z] f63e77b7563a: Download complete [2022-06-20T06:52:16.574Z] 205491f53016: Verifying Checksum [2022-06-20T06:52:16.835Z] df18705c85c3: Verifying Checksum [2022-06-20T06:52:16.836Z] df18705c85c3: Download complete [2022-06-20T06:52:16.836Z] bd5fdadae976: Verifying Checksum [2022-06-20T06:52:16.836Z] bd5fdadae976: Download complete [2022-06-20T06:52:16.836Z] bdb3f477010e: Verifying Checksum [2022-06-20T06:52:16.836Z] bdb3f477010e: Download complete [2022-06-20T06:52:16.836Z] 2c6e9b1d212d: Download complete [2022-06-20T06:52:16.836Z] bdb8f0575790: Verifying Checksum [2022-06-20T06:52:16.836Z] 386e3cb2ff24: Verifying Checksum [2022-06-20T06:52:16.836Z] 386e3cb2ff24: Download complete [2022-06-20T06:52:16.836Z] 2343380bae48: Download complete [2022-06-20T06:52:16.836Z] 42c077c10790: Verifying Checksum [2022-06-20T06:52:16.836Z] 42c077c10790: Download complete [2022-06-20T06:52:17.101Z] c8a8fc8e1c8f: Download complete [2022-06-20T06:52:18.486Z] 42c077c10790: Pull complete [2022-06-20T06:52:18.486Z] f63e77b7563a: Pull complete [2022-06-20T06:52:19.067Z] bd5fdadae976: Pull complete [2022-06-20T06:52:19.067Z] 205491f53016: Pull complete [2022-06-20T06:52:19.637Z] df18705c85c3: Pull complete [2022-06-20T06:52:19.637Z] bdb3f477010e: Pull complete [2022-06-20T06:52:21.548Z] c8a8fc8e1c8f: Pull complete [2022-06-20T06:52:21.548Z] 2c6e9b1d212d: Pull complete [2022-06-20T06:52:21.810Z] bdb8f0575790: Pull complete [2022-06-20T06:52:21.810Z] 386e3cb2ff24: Pull complete [2022-06-20T06:52:22.073Z] 2343380bae48: Pull complete [2022-06-20T06:52:22.073Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-20T06:52:22.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T06:52:22.073Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T06:52:22.299Z] prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container [2022-06-20T06:52:22.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1180 -v /w/workspace/gexfoundry_device-sdk-go_PR-1180:/w/workspace/gexfoundry_device-sdk-go_PR-1180:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1180@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-20T06:52:23.734Z] $ docker top 518d26d8fdcf78e00cbdc04cc3a962a8358a6e7abac9ef48a7dcf90b4e9a0fe7 -eo pid,comm [2022-06-20T06:52:23.798Z] 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-20T06:52:23.798Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-20T06:52:23.907Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T06:52:23.908Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T06:52:24.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T06:52:24.048Z] $ docker exec 518d26d8fdcf78e00cbdc04cc3a962a8358a6e7abac9ef48a7dcf90b4e9a0fe7 ssh-agent [2022-06-20T06:52:24.165Z] SSH_AUTH_SOCK=/tmp/ssh-QhVotcJ1zKnS/agent.33 [2022-06-20T06:52:24.165Z] SSH_AGENT_PID=39 [2022-06-20T06:52:24.173Z] Running ssh-add (command line suppressed) [2022-06-20T06:52:24.313Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp/private_key_3713186350126414091.key (/w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp/private_key_3713186350126414091.key) [2022-06-20T06:52:24.323Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T06:52:24.657Z] + git tag --points-at HEAD [Pipeline] } [2022-06-20T06:52:24.693Z] $ docker exec --env ******** --env ******** 518d26d8fdcf78e00cbdc04cc3a962a8358a6e7abac9ef48a7dcf90b4e9a0fe7 ssh-agent -k [2022-06-20T06:52:24.809Z] unset SSH_AUTH_SOCK; [2022-06-20T06:52:24.809Z] unset SSH_AGENT_PID; [2022-06-20T06:52:24.809Z] echo Agent pid 39 killed; [2022-06-20T06:52:24.817Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-20T06:52:24.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T06:52:24.902Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T06:52:25.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T06:52:25.048Z] $ docker exec 518d26d8fdcf78e00cbdc04cc3a962a8358a6e7abac9ef48a7dcf90b4e9a0fe7 ssh-agent [2022-06-20T06:52:25.177Z] SSH_AUTH_SOCK=/tmp/ssh-RzoTTvoCvhbS/agent.71 [2022-06-20T06:52:25.177Z] SSH_AGENT_PID=77 [2022-06-20T06:52:25.183Z] Running ssh-add (command line suppressed) [2022-06-20T06:52:25.325Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp/private_key_2408838055373419145.key (/w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp/private_key_2408838055373419145.key) [2022-06-20T06:52:25.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T06:52:25.666Z] + git semver init [2022-06-20T06:52:25.928Z] 2022-06-20 06:52:25,857 [run_init] DEBUG init version:0.0.0 force:False [2022-06-20T06:52:25.928Z] 2022-06-20 06:52:25,858 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1180/.semver [2022-06-20T06:52:25.928Z] 2022-06-20 06:52:25,858 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1180/.semver [2022-06-20T06:52:25.928Z] 2022-06-20 06:52:25,858 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1180/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1180, universal_newlines=False, shell=None, istream=None) [2022-06-20T06:52:26.874Z] 2022-06-20 06:52:26,683 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1180/.git/info/exclude [2022-06-20T06:52:26.874Z] 2022-06-20 06:52:26,684 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1180/.semver/PR-1180 with force:False [2022-06-20T06:52:26.874Z] 2022-06-20 06:52:26,684 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1180/.semver/PR-1180 [2022-06-20T06:52:26.874Z] 2022-06-20 06:52:26,688 [execute] INFO git cat-file --batch-check [2022-06-20T06:52:26.874Z] 2022-06-20 06:52:26,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1180/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T06:52:26.874Z] 2022-06-20 06:52:26,696 [execute] INFO git cat-file --batch [2022-06-20T06:52:26.874Z] 2022-06-20 06:52:26,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1180/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T06:52:26.874Z] 2022-06-20 06:52:26,702 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1180/.semver/PR-1180 [2022-06-20T06:52:26.874Z] 0.0.0 [Pipeline] } [2022-06-20T06:52:26.908Z] $ docker exec --env ******** --env ******** 518d26d8fdcf78e00cbdc04cc3a962a8358a6e7abac9ef48a7dcf90b4e9a0fe7 ssh-agent -k [2022-06-20T06:52:27.047Z] unset SSH_AUTH_SOCK; [2022-06-20T06:52:27.048Z] unset SSH_AGENT_PID; [2022-06-20T06:52:27.048Z] echo Agent pid 77 killed; [2022-06-20T06:52:27.056Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-20T06:52:27.492Z] + git semver [Pipeline] } [2022-06-20T06:52:27.790Z] $ docker stop --time=1 518d26d8fdcf78e00cbdc04cc3a962a8358a6e7abac9ef48a7dcf90b4e9a0fe7 [2022-06-20T06:52:29.115Z] $ docker rm -f 518d26d8fdcf78e00cbdc04cc3a962a8358a6e7abac9ef48a7dcf90b4e9a0fe7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T06:52:29.531Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-20T06:52:29.865Z] Stashed 1 file(s) [Pipeline] echo [2022-06-20T06:52:29.881Z] [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-20T06:52:30.440Z] provisioning config files... [2022-06-20T06:52:30.451Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp/config7256670493683035638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T06:52:30.793Z] ---> docker-login.sh [2022-06-20T06:52:30.793Z] nexus3.edgexfoundry.org:10001 [2022-06-20T06:52:30.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:52:30.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:52:30.793Z] Configure a credential helper to remove this warning. See [2022-06-20T06:52:30.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:52:30.793Z] [2022-06-20T06:52:30.793Z] Login Succeeded [2022-06-20T06:52:30.793Z] nexus3.edgexfoundry.org:10002 [2022-06-20T06:52:30.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:52:31.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:52:31.054Z] Configure a credential helper to remove this warning. See [2022-06-20T06:52:31.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:52:31.054Z] [2022-06-20T06:52:31.054Z] Login Succeeded [2022-06-20T06:52:31.054Z] nexus3.edgexfoundry.org:10003 [2022-06-20T06:52:31.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:52:31.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:52:31.054Z] Configure a credential helper to remove this warning. See [2022-06-20T06:52:31.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:52:31.054Z] [2022-06-20T06:52:31.054Z] Login Succeeded [2022-06-20T06:52:31.054Z] nexus3.edgexfoundry.org:10004 [2022-06-20T06:52:31.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:52:31.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:52:31.317Z] Configure a credential helper to remove this warning. See [2022-06-20T06:52:31.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:52:31.317Z] [2022-06-20T06:52:31.317Z] Login Succeeded [2022-06-20T06:52:31.317Z] docker.io [2022-06-20T06:52:31.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:52:31.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:52:31.577Z] Configure a credential helper to remove this warning. See [2022-06-20T06:52:31.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:52:31.577Z] [2022-06-20T06:52:31.577Z] Login Succeeded [2022-06-20T06:52:31.577Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T06:52:31.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T06:52:31.798Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T06:52:31.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T06:52:31.876Z] ========================================================= [2022-06-20T06:52:31.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-20T06:52:31.876Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T06:52:32.418Z] + 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-20T06:52:32.418Z] Sending build context to Docker daemon 9.74MB [2022-06-20T06:52:32.418Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T06:52:32.418Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-20T06:52:32.418Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-20T06:52:32.418Z] 59bf1c3509f3: Pulling fs layer [2022-06-20T06:52:32.418Z] 666ba61612fd: Pulling fs layer [2022-06-20T06:52:32.418Z] 8ed8ca486205: Pulling fs layer [2022-06-20T06:52:32.418Z] cc1cd167ecdc: Pulling fs layer [2022-06-20T06:52:32.418Z] c516ae0d96e1: Pulling fs layer [2022-06-20T06:52:32.418Z] 684cea983483: Pulling fs layer [2022-06-20T06:52:32.418Z] dd3240ac7de5: Pulling fs layer [2022-06-20T06:52:32.418Z] b1e948a4e11c: Pulling fs layer [2022-06-20T06:52:32.418Z] a8fd76ee1af6: Pulling fs layer [2022-06-20T06:52:32.418Z] 684cea983483: Waiting [2022-06-20T06:52:32.418Z] c516ae0d96e1: Waiting [2022-06-20T06:52:32.418Z] dd3240ac7de5: Waiting [2022-06-20T06:52:32.418Z] b1e948a4e11c: Waiting [2022-06-20T06:52:32.418Z] a8fd76ee1af6: Waiting [2022-06-20T06:52:32.418Z] cc1cd167ecdc: Waiting [2022-06-20T06:52:32.418Z] 646ad004c059: Pulling fs layer [2022-06-20T06:52:32.418Z] 646ad004c059: Waiting [2022-06-20T06:52:32.418Z] 8ed8ca486205: Verifying Checksum [2022-06-20T06:52:32.418Z] 8ed8ca486205: Download complete [2022-06-20T06:52:32.680Z] 666ba61612fd: Download complete [2022-06-20T06:52:32.680Z] c516ae0d96e1: Verifying Checksum [2022-06-20T06:52:32.680Z] c516ae0d96e1: Download complete [2022-06-20T06:52:32.680Z] 684cea983483: Download complete [2022-06-20T06:52:32.680Z] 59bf1c3509f3: Verifying Checksum [2022-06-20T06:52:32.680Z] 59bf1c3509f3: Download complete [2022-06-20T06:52:32.680Z] dd3240ac7de5: Verifying Checksum [2022-06-20T06:52:32.680Z] dd3240ac7de5: Download complete [2022-06-20T06:52:32.680Z] b1e948a4e11c: Verifying Checksum [2022-06-20T06:52:32.680Z] b1e948a4e11c: Download complete [2022-06-20T06:52:32.680Z] 59bf1c3509f3: Pull complete [2022-06-20T06:52:32.945Z] 666ba61612fd: Pull complete [2022-06-20T06:52:32.945Z] 8ed8ca486205: Pull complete [2022-06-20T06:52:33.206Z] a8fd76ee1af6: Verifying Checksum [2022-06-20T06:52:33.206Z] a8fd76ee1af6: Download complete [2022-06-20T06:52:33.206Z] 646ad004c059: Verifying Checksum [2022-06-20T06:52:33.206Z] 646ad004c059: Download complete [2022-06-20T06:52:33.206Z] cc1cd167ecdc: Verifying Checksum [2022-06-20T06:52:33.206Z] cc1cd167ecdc: Download complete [2022-06-20T06:52:37.403Z] cc1cd167ecdc: Pull complete [2022-06-20T06:52:37.403Z] c516ae0d96e1: Pull complete [2022-06-20T06:52:37.664Z] 684cea983483: Pull complete [2022-06-20T06:52:37.664Z] dd3240ac7de5: Pull complete [2022-06-20T06:52:37.664Z] b1e948a4e11c: Pull complete [2022-06-20T06:52:40.205Z] a8fd76ee1af6: Pull complete [2022-06-20T06:52:40.776Z] 646ad004c059: Pull complete [2022-06-20T06:52:40.776Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-20T06:52:40.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T06:52:40.776Z] ---> 8f69c11f6b0c [2022-06-20T06:52:40.776Z] Step 3/11 : ARG MAKE=make build [2022-06-20T06:52:42.163Z] ---> Running in f3c27613819b [2022-06-20T06:52:42.423Z] Removing intermediate container f3c27613819b [2022-06-20T06:52:42.423Z] ---> 2e6fa31c6793 [2022-06-20T06:52:42.423Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-20T06:52:42.423Z] ---> Running in cb24c49a1374 [2022-06-20T06:52:42.423Z] Removing intermediate container cb24c49a1374 [2022-06-20T06:52:42.423Z] ---> 8c2397f50eb4 [2022-06-20T06:52:42.423Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-20T06:52:42.423Z] ---> Running in 6451a8bbc582 [2022-06-20T06:52:42.685Z] Removing intermediate container 6451a8bbc582 [2022-06-20T06:52:42.685Z] ---> ad18e9a82241 [2022-06-20T06:52:42.685Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T06:52:42.685Z] ---> Running in 024fea1c794d [2022-06-20T06:52:43.254Z] Removing intermediate container 024fea1c794d [2022-06-20T06:52:43.254Z] ---> 9540cf5221f7 [2022-06-20T06:52:43.254Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-20T06:52:43.254Z] ---> Running in 7e3449cf6443 [2022-06-20T06:52:43.517Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T06:52:44.459Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T06:52:45.034Z] OK: 221 MiB in 52 packages [2022-06-20T06:52:45.275Z] Still waiting to schedule task [2022-06-20T06:52:45.275Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-20T06:52:45.297Z] Removing intermediate container 7e3449cf6443 [2022-06-20T06:52:45.297Z] ---> d11e90ccf4ac [2022-06-20T06:52:45.297Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-20T06:52:45.557Z] ---> dd553a7cbf3b [2022-06-20T06:52:45.557Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T06:52:45.557Z] ---> Running in f4787ef98f3d [2022-06-20T06:53:03.689Z] Removing intermediate container f4787ef98f3d [2022-06-20T06:53:03.689Z] ---> e5fb5ef3499b [2022-06-20T06:53:03.689Z] Step 10/11 : COPY . . [2022-06-20T06:53:03.689Z] ---> d92ab00d151f [2022-06-20T06:53:03.689Z] Step 11/11 : RUN ${MAKE} [2022-06-20T06:53:03.689Z] ---> Running in 71454dbb5ff3 [2022-06-20T06:53:03.951Z] noop [2022-06-20T06:53:04.211Z] Removing intermediate container 71454dbb5ff3 [2022-06-20T06:53:04.211Z] ---> f4fa1dd86313 [2022-06-20T06:53:04.211Z] Successfully built f4fa1dd86313 [2022-06-20T06:53:04.211Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T06:53:04.663Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T06:53:04.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T06:53:04.907Z] prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container [2022-06-20T06:53:04.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1180 -v /w/workspace/gexfoundry_device-sdk-go_PR-1180:/w/workspace/gexfoundry_device-sdk-go_PR-1180:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1180@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-20T06:53:05.445Z] $ docker top c09b9cc8d819cd5ec96d2663c06b8b31c85fa356728008529849b933565abf5d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T06:53:05.863Z] + go version [2022-06-20T06:53:05.864Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-20T06:53:05.900Z] $ docker stop --time=1 c09b9cc8d819cd5ec96d2663c06b8b31c85fa356728008529849b933565abf5d [2022-06-20T06:53:07.190Z] $ docker rm -f c09b9cc8d819cd5ec96d2663c06b8b31c85fa356728008529849b933565abf5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T06:53:07.894Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T06:53:07.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T06:53:08.047Z] prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container [2022-06-20T06:53:08.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1180 -v /w/workspace/gexfoundry_device-sdk-go_PR-1180:/w/workspace/gexfoundry_device-sdk-go_PR-1180:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1180@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-20T06:53:08.504Z] $ docker top d00489f208e9e6b09ecc5ff21e583907a647af0b5b5ee2364787de4773a5c829 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T06:53:08.946Z] + make test [2022-06-20T06:53:08.946Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-20T06:53:15.521Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-20T06:53:27.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-20T06:53:27.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-20T06:53:27.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-20T06:53:27.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.068s coverage: 23.7% of statements [2022-06-20T06:53:27.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-20T06:53:27.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.076s coverage: 27.6% of statements [2022-06-20T06:53:27.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2022-06-20T06:53:27.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.098s coverage: 10.8% of statements [2022-06-20T06:53:27.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.082s coverage: 60.0% of statements [2022-06-20T06:53:27.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-20T06:53:27.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-20T06:53:27.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 34.8% of statements [2022-06-20T06:53:27.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-20T06:53:28.320Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 85.4% of statements [2022-06-20T06:53:28.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-20T06:53:28.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-20T06:53:28.320Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 65.1% of statements [2022-06-20T06:53:28.320Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.792s coverage: 89.2% of statements [2022-06-20T06:53:28.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-20T06:53:28.320Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-06-20T06:53:28.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-20T06:53:43.212Z] GO111MODULE=on go vet ./... [2022-06-20T06:53:47.414Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T06:53:47.414Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T06:53:47.414Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T06:53:47.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T06:53:47.733Z] $ docker stop --time=1 d00489f208e9e6b09ecc5ff21e583907a647af0b5b5ee2364787de4773a5c829 [2022-06-20T06:53:49.962Z] $ docker rm -f d00489f208e9e6b09ecc5ff21e583907a647af0b5b5ee2364787de4773a5c829 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T06:53:50.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T06:53:50.596Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-20T06:53:51.235Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T06:53:51.554Z] + ls -al . [2022-06-20T06:53:51.554Z] total 304 [2022-06-20T06:53:51.554Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 20 06:53 . [2022-06-20T06:53:51.554Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 06:52 .. [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 20 06:52 .dockerignore [2022-06-20T06:53:51.554Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 06:52 .git [2022-06-20T06:53:51.554Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 06:52 .github [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 20 06:52 .gitignore [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 20 06:52 .golangci.yml [2022-06-20T06:53:51.554Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 06:52 .semver [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 20 06:52 CHANGELOG.md [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 06:52 GOVERNANCE.md [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 20 06:52 Jenkinsfile [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 20 06:52 LICENSE [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 20 06:52 Makefile [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 20 06:52 OWNERS.md [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 20 06:52 README.md [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 06:52 VERSION [2022-06-20T06:53:51.554Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 06:52 bin [2022-06-20T06:53:51.554Z] -rw-r--r-- 1 jenkins jenkins 131190 Jun 20 06:53 coverage.out [2022-06-20T06:53:51.554Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 20 06:52 example [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 20 06:52 go.mod [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 34801 Jun 20 06:52 go.sum [2022-06-20T06:53:51.554Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 20 06:52 internal [2022-06-20T06:53:51.554Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 06:52 openapi [2022-06-20T06:53:51.554Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 20 06:52 pkg [2022-06-20T06:53:51.554Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 06:52 snap [2022-06-20T06:53:51.554Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 20 06:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T06:53:51.952Z] + 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=a1088c257568f950bc1d2f1e33e52c0595660ab9 --label arch=amd64 --label version=0.0.0 . [2022-06-20T06:53:51.952Z] Sending build context to Docker daemon 9.872MB [2022-06-20T06:53:51.952Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T06:53:51.952Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-20T06:53:51.952Z] ---> f4fa1dd86313 [2022-06-20T06:53:51.952Z] Step 3/25 : ARG MAKE=make build [2022-06-20T06:53:52.214Z] ---> Running in 42f936221de4 [2022-06-20T06:53:52.214Z] Removing intermediate container 42f936221de4 [2022-06-20T06:53:52.214Z] ---> 905c08c437eb [2022-06-20T06:53:52.214Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-20T06:53:52.214Z] ---> Running in e8dcb31bd56b [2022-06-20T06:53:52.214Z] Removing intermediate container e8dcb31bd56b [2022-06-20T06:53:52.214Z] ---> a47867224f14 [2022-06-20T06:53:52.214Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-20T06:53:52.474Z] ---> Running in c73cf937adc5 [2022-06-20T06:53:52.474Z] Removing intermediate container c73cf937adc5 [2022-06-20T06:53:52.474Z] ---> 77a8e0679fc2 [2022-06-20T06:53:52.474Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T06:53:52.474Z] ---> Running in edd0706ed5bf [2022-06-20T06:53:53.049Z] Removing intermediate container edd0706ed5bf [2022-06-20T06:53:53.049Z] ---> 239a3b9334d6 [2022-06-20T06:53:53.049Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-20T06:53:53.049Z] ---> Running in d636172ff026 [2022-06-20T06:53:53.310Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T06:53:54.249Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T06:53:54.510Z] OK: 221 MiB in 52 packages [2022-06-20T06:53:54.772Z] Removing intermediate container d636172ff026 [2022-06-20T06:53:54.772Z] ---> cb4a5e821137 [2022-06-20T06:53:54.772Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-20T06:53:55.035Z] ---> c7cac6e4275f [2022-06-20T06:53:55.035Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T06:53:55.035Z] ---> Running in bfb4c4085d9c [2022-06-20T06:53:55.606Z] Removing intermediate container bfb4c4085d9c [2022-06-20T06:53:55.606Z] ---> 997125af8fed [2022-06-20T06:53:55.606Z] Step 10/25 : COPY . . [2022-06-20T06:53:56.178Z] ---> e697138bc59a [2022-06-20T06:53:56.178Z] Step 11/25 : RUN ${MAKE} [2022-06-20T06:53:56.178Z] ---> Running in 8782405c776a [2022-06-20T06:53:56.437Z] 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-20T06:54:14.544Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-20T06:54:15.113Z] Removing intermediate container 8782405c776a [2022-06-20T06:54:15.113Z] ---> 8eaa1e2ecc43 [2022-06-20T06:54:15.113Z] Step 12/25 : FROM alpine:3.14 [2022-06-20T06:54:15.685Z] 3.14: Pulling from library/alpine [2022-06-20T06:54:15.944Z] 8663204ce13b: Pulling fs layer [2022-06-20T06:54:15.944Z] 8663204ce13b: Verifying Checksum [2022-06-20T06:54:15.944Z] 8663204ce13b: Download complete [2022-06-20T06:54:16.207Z] 8663204ce13b: Pull complete [2022-06-20T06:54:16.207Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T06:54:16.207Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T06:54:16.207Z] ---> e04c818066af [2022-06-20T06:54:16.207Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-20T06:54:16.207Z] ---> Running in f32234bde949 [2022-06-20T06:54:16.469Z] Removing intermediate container f32234bde949 [2022-06-20T06:54:16.469Z] ---> 1605648b8fdc [2022-06-20T06:54:16.469Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T06:54:16.469Z] ---> Running in 22601c885964 [2022-06-20T06:54:17.042Z] Removing intermediate container 22601c885964 [2022-06-20T06:54:17.042Z] ---> b655f0fe7254 [2022-06-20T06:54:17.042Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-20T06:54:17.042Z] ---> Running in b22aed07ffb7 [2022-06-20T06:54:17.302Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-20T06:54:17.553Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15124 in /w/workspace/gexfoundry_device-sdk-go_PR-1180 [Pipeline] { [Pipeline] ws [2022-06-20T06:54:17.595Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-06-20T06:54:17.692Z] The recommended git tool is: git [2022-06-20T06:54:18.244Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-20T06:54:18.504Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T06:54:18.504Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-20T06:54:18.504Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T06:54:18.763Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-20T06:54:18.763Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-20T06:54:18.763Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T06:54:18.763Z] OK: 8 MiB in 19 packages [2022-06-20T06:54:19.331Z] Removing intermediate container b22aed07ffb7 [2022-06-20T06:54:19.332Z] ---> 6f281e9a0f96 [2022-06-20T06:54:19.332Z] Step 16/25 : WORKDIR / [2022-06-20T06:54:19.332Z] ---> Running in f0803a2bdb95 [2022-06-20T06:54:19.332Z] Removing intermediate container f0803a2bdb95 [2022-06-20T06:54:19.332Z] ---> 4523861630fa [2022-06-20T06:54:19.332Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-20T06:54:19.592Z] ---> 9ecaf453cfc3 [2022-06-20T06:54:19.592Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-20T06:54:20.161Z] ---> 248adc76585b [2022-06-20T06:54:20.161Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-20T06:54:20.420Z] ---> e26cf9a7a670 [2022-06-20T06:54:20.420Z] Step 20/25 : EXPOSE 59999 [2022-06-20T06:54:20.420Z] ---> Running in ab43303a510c [2022-06-20T06:54:20.420Z] Removing intermediate container ab43303a510c [2022-06-20T06:54:20.420Z] ---> d960b1abe316 [2022-06-20T06:54:20.420Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-20T06:54:20.420Z] ---> Running in 390b4d675d63 [2022-06-20T06:54:20.681Z] Removing intermediate container 390b4d675d63 [2022-06-20T06:54:20.681Z] ---> c2dc758b8b56 [2022-06-20T06:54:20.681Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-20T06:54:20.681Z] ---> Running in b758f1b91186 [2022-06-20T06:54:20.681Z] Removing intermediate container b758f1b91186 [2022-06-20T06:54:20.681Z] ---> 43d9a245b17a [2022-06-20T06:54:20.681Z] Step 23/25 : LABEL arch=amd64 [2022-06-20T06:54:20.681Z] ---> Running in 5af473063e48 [2022-06-20T06:54:20.942Z] Removing intermediate container 5af473063e48 [2022-06-20T06:54:20.942Z] ---> 03f29c609939 [2022-06-20T06:54:20.942Z] Step 24/25 : LABEL git_sha=a1088c257568f950bc1d2f1e33e52c0595660ab9 [2022-06-20T06:54:20.942Z] ---> Running in 36933a078f4e [2022-06-20T06:54:20.942Z] Removing intermediate container 36933a078f4e [2022-06-20T06:54:20.942Z] ---> 1ec5f081bd2f [2022-06-20T06:54:20.942Z] Step 25/25 : LABEL version=0.0.0 [2022-06-20T06:54:21.205Z] ---> Running in 0e4adac0a01a [2022-06-20T06:54:21.205Z] Removing intermediate container 0e4adac0a01a [2022-06-20T06:54:21.205Z] ---> 1fbe973cd7aa [2022-06-20T06:54:21.205Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T06:54:21.205Z] Successfully built 1fbe973cd7aa [2022-06-20T06:54:21.205Z] 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-20T06:54:22.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T06:54:22.044Z] [2022-06-20T06:54:22.044Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T06:54:22.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T06:54:22.418Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-20T06:54:22.418Z] 5eb5b503b376: Pulling fs layer [2022-06-20T06:54:22.418Z] 5c69ac0246d0: Pulling fs layer [2022-06-20T06:54:22.418Z] ec43610c2a17: Pulling fs layer [2022-06-20T06:54:22.418Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-20T06:54:22.418Z] 33b1e0a273af: Pulling fs layer [2022-06-20T06:54:22.418Z] 5d3b04190fa2: Pulling fs layer [2022-06-20T06:54:22.418Z] 2f39f015ded8: Pulling fs layer [2022-06-20T06:54:22.418Z] 33b1e0a273af: Waiting [2022-06-20T06:54:22.418Z] 5d3b04190fa2: Waiting [2022-06-20T06:54:22.418Z] 3a2ae6a8a46f: Waiting [2022-06-20T06:54:22.418Z] 2f39f015ded8: Waiting [2022-06-20T06:54:22.418Z] 5c69ac0246d0: Verifying Checksum [2022-06-20T06:54:22.418Z] 5c69ac0246d0: Download complete [2022-06-20T06:54:22.418Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-20T06:54:22.418Z] 3a2ae6a8a46f: Download complete [2022-06-20T06:54:22.418Z] ec43610c2a17: Verifying Checksum [2022-06-20T06:54:22.418Z] ec43610c2a17: Download complete [2022-06-20T06:54:22.418Z] 33b1e0a273af: Verifying Checksum [2022-06-20T06:54:22.418Z] 33b1e0a273af: Download complete [2022-06-20T06:54:22.418Z] 5d3b04190fa2: Verifying Checksum [2022-06-20T06:54:22.418Z] 5d3b04190fa2: Download complete [2022-06-20T06:54:22.679Z] 5eb5b503b376: Download complete [2022-06-20T06:54:23.247Z] 2f39f015ded8: Download complete [2022-06-20T06:54:23.816Z] 5eb5b503b376: Pull complete [2022-06-20T06:54:24.074Z] 5c69ac0246d0: Pull complete [2022-06-20T06:54:24.524Z] using credential edgex-jenkins-ssh [2022-06-20T06:54:24.543Z] Cloning the remote Git repository [2022-06-20T06:54:24.639Z] ec43610c2a17: Pull complete [2022-06-20T06:54:24.639Z] 3a2ae6a8a46f: Pull complete [2022-06-20T06:54:24.897Z] 33b1e0a273af: Pull complete [2022-06-20T06:54:24.897Z] 5d3b04190fa2: Pull complete [2022-06-20T06:54:24.597Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-06-20T06:54:24.663Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-06-20T06:54:24.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-20T06:54:24.750Z] > git --version # timeout=10 [2022-06-20T06:54:24.769Z] > git --version # 'git version 2.25.1' [2022-06-20T06:54:24.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T06:54:24.900Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T06:54:26.249Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-20T06:54:26.265Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T06:54:26.292Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-20T06:54:26.325Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-20T06:54:26.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T06:54:26.338Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1180/head:refs/remotes/origin/PR-1180 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-20T06:54:26.883Z] Merging remotes/origin/main commit 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 into PR head commit a1088c257568f950bc1d2f1e33e52c0595660ab9 [2022-06-20T06:54:27.117Z] Merge succeeded, producing a1088c257568f950bc1d2f1e33e52c0595660ab9 [2022-06-20T06:54:27.118Z] Checking out Revision a1088c257568f950bc1d2f1e33e52c0595660ab9 (PR-1180) [2022-06-20T06:54:26.907Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T06:54:26.927Z] > git checkout -f a1088c257568f950bc1d2f1e33e52c0595660ab9 # timeout=10 [2022-06-20T06:54:27.038Z] > git remote # timeout=10 [2022-06-20T06:54:27.057Z] > git config --get remote.origin.url # timeout=10 [2022-06-20T06:54:27.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T06:54:27.083Z] > git merge 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 # timeout=10 [2022-06-20T06:54:27.105Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-20T06:54:27.129Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T06:54:27.140Z] > git checkout -f a1088c257568f950bc1d2f1e33e52c0595660ab9 # timeout=10 [2022-06-20T06:54:29.092Z] 2f39f015ded8: Pull complete [2022-06-20T06:54:29.092Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-20T06:54:29.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T06:54:29.092Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T06:54:29.316Z] prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container [2022-06-20T06:54:29.363Z] $ 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-1180 -v /w/workspace/gexfoundry_device-sdk-go_PR-1180:/w/workspace/gexfoundry_device-sdk-go_PR-1180:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1180@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-20T06:54:31.124Z] $ docker top 08c38344be9c931963bc369c148a81fe2a67a5a48eb9db01bcab0b7da4fec711 -eo pid,comm [Pipeline] { [2022-06-20T06:54:31.293Z] Commit message: "fix: Put cmd return 400 when updating empty string to NonString type" [Pipeline] libraryResource [Pipeline] sh [2022-06-20T06:54:31.354Z] > git --version # timeout=10 [2022-06-20T06:54:31.363Z] > git --version # 'git version 2.25.1' [2022-06-20T06:54:31.374Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T06:54:31.632Z] ---> job-cost.sh [2022-06-20T06:54:31.632Z] lf-activate-venv: SKIPPING [2022-06-20T06:54:31.632Z] INFO: No Stack... [2022-06-20T06:54:31.635Z] [2022-06-20T06:54:31.635Z] GitHub has been notified of this commit’s build result [2022-06-20T06:54:31.635Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T06:54:31.901Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T06:54:32.389Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-20T06:54:32.389Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T06:54:32.389Z] Dload Upload Total Spent Left Speed [2022-06-20T06:54:32.389Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 53043 0 --:--:-- --:--:-- --:--:-- 53043 [2022-06-20T06:54:32.470Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T06:54:32.784Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1180/archives/cost.csv [2022-06-20T06:54:32.784Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T06:54:32.826Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1180-1-stack-cost] [2022-06-20T06:54:32.830Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1180-1-stack-cost] did not exist. Created. [2022-06-20T06:54:32.830Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1180-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2022-06-20T06:54:33.249Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-20T06:54:33.368Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-20T06:54:33.416Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T06:54:33.444Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1180-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T06:54:33.525Z] $ docker stop --time=1 08c38344be9c931963bc369c148a81fe2a67a5a48eb9db01bcab0b7da4fec711 [2022-06-20T06:54:33.602Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-20T06:54:33.602Z] + sudo tee /etc/docker/daemon.new [2022-06-20T06:54:33.602Z] { [2022-06-20T06:54:33.602Z] "registry-mirrors": [ [2022-06-20T06:54:33.602Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-20T06:54:33.602Z] ], [2022-06-20T06:54:33.602Z] "bip": "10.250.0.254/24", [2022-06-20T06:54:33.602Z] "hosts": [ [2022-06-20T06:54:33.602Z] "tcp://0.0.0.0:5555", [2022-06-20T06:54:33.602Z] "unix:///var/run/docker.sock" [2022-06-20T06:54:33.602Z] ], [2022-06-20T06:54:33.602Z] "mtu": 1458, [2022-06-20T06:54:33.602Z] "selinux-enabled": true, [2022-06-20T06:54:33.602Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-20T06:54:33.602Z] } [2022-06-20T06:54:34.705Z] $ docker rm -f 08c38344be9c931963bc369c148a81fe2a67a5a48eb9db01bcab0b7da4fec711 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-20T06:54:35.158Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-20T06:54:35.514Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T06:54:54.090Z] provisioning config files... [2022-06-20T06:54:54.119Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8502964677750094899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T06:54:54.519Z] ---> docker-login.sh [2022-06-20T06:54:54.519Z] nexus3.edgexfoundry.org:10001 [2022-06-20T06:54:55.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:54:55.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:54:55.393Z] Configure a credential helper to remove this warning. See [2022-06-20T06:54:55.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:54:55.393Z] [2022-06-20T06:54:55.393Z] Login Succeeded [2022-06-20T06:54:55.393Z] nexus3.edgexfoundry.org:10002 [2022-06-20T06:54:55.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:54:55.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:54:55.667Z] Configure a credential helper to remove this warning. See [2022-06-20T06:54:55.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:54:55.667Z] [2022-06-20T06:54:55.667Z] Login Succeeded [2022-06-20T06:54:55.667Z] nexus3.edgexfoundry.org:10003 [2022-06-20T06:54:56.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:54:56.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:54:56.271Z] Configure a credential helper to remove this warning. See [2022-06-20T06:54:56.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:54:56.271Z] [2022-06-20T06:54:56.271Z] Login Succeeded [2022-06-20T06:54:56.271Z] nexus3.edgexfoundry.org:10004 [2022-06-20T06:54:56.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:54:56.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:54:56.547Z] Configure a credential helper to remove this warning. See [2022-06-20T06:54:56.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:54:56.547Z] [2022-06-20T06:54:56.547Z] Login Succeeded [2022-06-20T06:54:56.547Z] docker.io [2022-06-20T06:54:57.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T06:54:57.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T06:54:57.423Z] Configure a credential helper to remove this warning. See [2022-06-20T06:54:57.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T06:54:57.423Z] [2022-06-20T06:54:57.423Z] Login Succeeded [2022-06-20T06:54:57.423Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T06:54:57.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T06:54:57.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T06:54:57.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T06:54:57.888Z] ========================================================= [2022-06-20T06:54:57.888Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-20T06:54:57.888Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T06:54:58.394Z] + 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-20T06:54:58.678Z] Sending build context to Docker daemon 5.22MB [2022-06-20T06:54:58.951Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T06:54:58.951Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-20T06:54:58.951Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-20T06:54:58.951Z] 9b3977197b4f: Pulling fs layer [2022-06-20T06:54:58.951Z] 1a89e8eeedd5: Pulling fs layer [2022-06-20T06:54:58.951Z] 94645a83ff95: Pulling fs layer [2022-06-20T06:54:58.951Z] e6fb740bc735: Pulling fs layer [2022-06-20T06:54:58.951Z] 3a77bd46dcc9: Pulling fs layer [2022-06-20T06:54:58.951Z] 355e64cbe906: Pulling fs layer [2022-06-20T06:54:58.951Z] 63ab81a10011: Pulling fs layer [2022-06-20T06:54:58.951Z] 555d1d1c4555: Pulling fs layer [2022-06-20T06:54:58.951Z] 7d9057610161: Pulling fs layer [2022-06-20T06:54:58.951Z] e6fb740bc735: Waiting [2022-06-20T06:54:58.951Z] 3a77bd46dcc9: Waiting [2022-06-20T06:54:58.951Z] 355e64cbe906: Waiting [2022-06-20T06:54:58.951Z] 7d9057610161: Waiting [2022-06-20T06:54:58.951Z] 63ab81a10011: Waiting [2022-06-20T06:54:58.951Z] 555d1d1c4555: Waiting [2022-06-20T06:54:58.951Z] 1a89e8eeedd5: Verifying Checksum [2022-06-20T06:54:58.951Z] 1a89e8eeedd5: Download complete [2022-06-20T06:54:58.951Z] 3a77bd46dcc9: Verifying Checksum [2022-06-20T06:54:58.951Z] 3a77bd46dcc9: Download complete [2022-06-20T06:54:58.951Z] 355e64cbe906: Verifying Checksum [2022-06-20T06:54:58.951Z] 355e64cbe906: Download complete [2022-06-20T06:54:58.951Z] 9b3977197b4f: Download complete [2022-06-20T06:54:58.951Z] 63ab81a10011: Verifying Checksum [2022-06-20T06:54:58.951Z] 63ab81a10011: Download complete [2022-06-20T06:54:59.948Z] 9b3977197b4f: Pull complete [2022-06-20T06:54:59.948Z] 7d9057610161: Verifying Checksum [2022-06-20T06:54:59.948Z] 7d9057610161: Download complete [2022-06-20T06:55:00.557Z] 1a89e8eeedd5: Pull complete [2022-06-20T06:55:00.834Z] 94645a83ff95: Pull complete [2022-06-20T06:55:01.112Z] 555d1d1c4555: Verifying Checksum [2022-06-20T06:55:01.112Z] 555d1d1c4555: Download complete [2022-06-20T06:55:01.710Z] e6fb740bc735: Verifying Checksum [2022-06-20T06:55:01.710Z] e6fb740bc735: Download complete [2022-06-20T06:55:14.120Z] e6fb740bc735: Pull complete [2022-06-20T06:55:14.120Z] 3a77bd46dcc9: Pull complete [2022-06-20T06:55:14.120Z] 355e64cbe906: Pull complete [2022-06-20T06:55:14.396Z] 63ab81a10011: Pull complete [2022-06-20T06:55:21.127Z] 555d1d1c4555: Pull complete [2022-06-20T06:55:22.576Z] 7d9057610161: Pull complete [2022-06-20T06:55:22.576Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-20T06:55:22.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T06:55:22.576Z] ---> 819e984ddca1 [2022-06-20T06:55:22.576Z] Step 3/11 : ARG MAKE=make build [2022-06-20T06:55:24.563Z] ---> Running in d7a8ce0fbfa9 [2022-06-20T06:55:24.563Z] Removing intermediate container d7a8ce0fbfa9 [2022-06-20T06:55:24.563Z] ---> a6b4a90236ca [2022-06-20T06:55:24.563Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-20T06:55:24.563Z] ---> Running in e37d53f13712 [2022-06-20T06:55:24.841Z] Removing intermediate container e37d53f13712 [2022-06-20T06:55:24.841Z] ---> b260d051a357 [2022-06-20T06:55:24.841Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-20T06:55:25.120Z] ---> Running in cf42f9b2935d [2022-06-20T06:55:26.563Z] Removing intermediate container cf42f9b2935d [2022-06-20T06:55:26.563Z] ---> c4f1debe514d [2022-06-20T06:55:26.563Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T06:55:26.563Z] ---> Running in f7f9ac87fd2b [2022-06-20T06:55:28.557Z] Removing intermediate container f7f9ac87fd2b [2022-06-20T06:55:28.557Z] ---> 7b85c07d9b14 [2022-06-20T06:55:28.557Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-20T06:55:28.557Z] ---> Running in 2839703729dc [2022-06-20T06:55:29.156Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T06:55:30.142Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T06:55:31.124Z] OK: 220 MiB in 52 packages [2022-06-20T06:55:31.723Z] Removing intermediate container 2839703729dc [2022-06-20T06:55:31.723Z] ---> 18915546e947 [2022-06-20T06:55:31.723Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-20T06:55:32.324Z] ---> dc17161112f5 [2022-06-20T06:55:32.324Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T06:55:32.324Z] ---> Running in f4ffac12ca1b [2022-06-20T06:56:19.334Z] Removing intermediate container f4ffac12ca1b [2022-06-20T06:56:19.334Z] ---> 6c89be648ecd [2022-06-20T06:56:19.334Z] Step 10/11 : COPY . . [2022-06-20T06:56:19.334Z] ---> 121b8f0a7819 [2022-06-20T06:56:19.334Z] Step 11/11 : RUN ${MAKE} [2022-06-20T06:56:19.334Z] ---> Running in 757fbf3e2b80 [2022-06-20T06:56:19.334Z] noop [2022-06-20T06:56:19.334Z] Removing intermediate container 757fbf3e2b80 [2022-06-20T06:56:19.334Z] ---> c3e27328f61a [2022-06-20T06:56:19.334Z] Successfully built c3e27328f61a [2022-06-20T06:56:19.334Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T06:56:19.817Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T06:56:19.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T06:56:20.137Z] prd-ubuntu20.04-docker-arm64-4c-16g-15124 does not seem to be running inside a container [2022-06-20T06:56:20.236Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-06-20T06:56:21.585Z] $ docker top e7e20a643476a3a8fa64871188c42d7752e447a028741ec79d4c2c73b95186ce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T06:56:22.539Z] + go version [2022-06-20T06:56:22.540Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-20T06:56:22.580Z] $ docker stop --time=1 e7e20a643476a3a8fa64871188c42d7752e447a028741ec79d4c2c73b95186ce [2022-06-20T06:56:24.208Z] $ docker rm -f e7e20a643476a3a8fa64871188c42d7752e447a028741ec79d4c2c73b95186ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T06:56:25.154Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T06:56:25.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T06:56:25.485Z] prd-ubuntu20.04-docker-arm64-4c-16g-15124 does not seem to be running inside a container [2022-06-20T06:56:25.580Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-06-20T06:56:26.855Z] $ docker top c865139ae68825564e3801ac6ad6252f7b17c5bbcfb3e8ac845bc231651e334a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T06:56:27.840Z] + make test [2022-06-20T06:56:27.840Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-20T06:56:54.657Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-20T06:58:31.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-20T06:58:31.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-20T06:58:31.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-20T06:58:39.841Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.618s coverage: 23.7% of statements [2022-06-20T06:58:39.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-20T06:58:39.841Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.327s coverage: 27.6% of statements [2022-06-20T06:58:39.841Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.357s coverage: 78.9% of statements [2022-06-20T06:58:39.841Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.237s coverage: 10.8% of statements [2022-06-20T06:58:44.178Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.349s coverage: 60.0% of statements [2022-06-20T06:58:44.178Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-20T06:58:44.178Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-20T06:58:46.829Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.398s coverage: 34.8% of statements [2022-06-20T06:58:46.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-20T06:58:48.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.279s coverage: 85.4% of statements [2022-06-20T06:58:48.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-20T06:58:48.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-20T06:58:48.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.484s coverage: 65.1% of statements [2022-06-20T06:58:51.445Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.181s coverage: 89.2% of statements [2022-06-20T06:58:51.445Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-20T06:58:52.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.225s coverage: 4.7% of statements [2022-06-20T06:58:52.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-20T06:58:53.477Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-20T06:58:53.477Z] GO111MODULE=on go vet ./... [2022-06-20T07:00:15.305Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T07:00:15.305Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T07:00:15.305Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T07:00:16.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T07:00:16.818Z] $ docker stop --time=1 c865139ae68825564e3801ac6ad6252f7b17c5bbcfb3e8ac845bc231651e334a [2022-06-20T07:00:18.683Z] $ docker rm -f c865139ae68825564e3801ac6ad6252f7b17c5bbcfb3e8ac845bc231651e334a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T07:00:20.024Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T07:00:20.060Z] Warning: overwriting stash ‘coverage-report’ [2022-06-20T07:00:20.620Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T07:00:21.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T07:00:21.578Z] + ls -al . [2022-06-20T07:00:21.578Z] total 300 [2022-06-20T07:00:21.578Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 07:00 . [2022-06-20T07:00:21.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 06:54 .. [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 20 06:54 .dockerignore [2022-06-20T07:00:21.578Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 06:54 .git [2022-06-20T07:00:21.578Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 06:54 .github [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 20 06:54 .gitignore [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 20 06:54 .golangci.yml [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 20 06:54 CHANGELOG.md [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 06:54 GOVERNANCE.md [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 20 06:54 Jenkinsfile [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 20 06:54 LICENSE [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 20 06:54 Makefile [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 20 06:54 OWNERS.md [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 20 06:54 README.md [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 06:52 VERSION [2022-06-20T07:00:21.578Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 06:54 bin [2022-06-20T07:00:21.578Z] -rw-r--r-- 1 jenkins jenkins 131190 Jun 20 06:58 coverage.out [2022-06-20T07:00:21.578Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 20 06:54 example [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 20 06:54 go.mod [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 34801 Jun 20 06:54 go.sum [2022-06-20T07:00:21.578Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 20 06:54 internal [2022-06-20T07:00:21.578Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 06:54 openapi [2022-06-20T07:00:21.578Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 20 06:54 pkg [2022-06-20T07:00:21.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 06:54 snap [2022-06-20T07:00:21.578Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 20 06:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T07:00:22.018Z] + 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=a1088c257568f950bc1d2f1e33e52c0595660ab9 --label arch=arm64 --label version=0.0.0 . [2022-06-20T07:00:22.294Z] Sending build context to Docker daemon 5.352MB [2022-06-20T07:00:22.571Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T07:00:22.571Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-20T07:00:22.571Z] ---> c3e27328f61a [2022-06-20T07:00:22.571Z] Step 3/25 : ARG MAKE=make build [2022-06-20T07:00:22.571Z] ---> Running in 372e28275d85 [2022-06-20T07:00:22.847Z] Removing intermediate container 372e28275d85 [2022-06-20T07:00:22.847Z] ---> 6d5f99478567 [2022-06-20T07:00:22.847Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-20T07:00:23.131Z] ---> Running in 729f09207e31 [2022-06-20T07:00:23.407Z] Removing intermediate container 729f09207e31 [2022-06-20T07:00:23.407Z] ---> 777a3f063f0d [2022-06-20T07:00:23.407Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-20T07:00:23.407Z] ---> Running in a09d4643fda5 [2022-06-20T07:00:23.691Z] Removing intermediate container a09d4643fda5 [2022-06-20T07:00:23.691Z] ---> c405b23ea22d [2022-06-20T07:00:23.691Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T07:00:23.691Z] ---> Running in bec30c79895f [2022-06-20T07:00:25.672Z] Removing intermediate container bec30c79895f [2022-06-20T07:00:25.672Z] ---> 9f92e8202c5e [2022-06-20T07:00:25.672Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-20T07:00:25.672Z] ---> Running in 648b26193bb1 [2022-06-20T07:00:26.656Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T07:00:27.255Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T07:00:28.236Z] OK: 220 MiB in 52 packages [2022-06-20T07:00:28.836Z] Removing intermediate container 648b26193bb1 [2022-06-20T07:00:28.836Z] ---> 27a46f8b801c [2022-06-20T07:00:28.836Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-20T07:00:29.440Z] ---> dc7a2b3f23c6 [2022-06-20T07:00:29.440Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T07:00:29.440Z] ---> Running in 8b4a0354fe49 [2022-06-20T07:00:31.427Z] Removing intermediate container 8b4a0354fe49 [2022-06-20T07:00:31.427Z] ---> ce40598a9578 [2022-06-20T07:00:31.427Z] Step 10/25 : COPY . . [2022-06-20T07:00:32.416Z] ---> 036a295f1fcb [2022-06-20T07:00:32.416Z] Step 11/25 : RUN ${MAKE} [2022-06-20T07:00:32.416Z] ---> Running in ac4ce4849d25 [2022-06-20T07:00:33.407Z] 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-20T07:02:25.314Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-20T07:02:27.937Z] Removing intermediate container ac4ce4849d25 [2022-06-20T07:02:27.937Z] ---> 66f7dacbd257 [2022-06-20T07:02:27.937Z] Step 12/25 : FROM alpine:3.14 [2022-06-20T07:02:28.533Z] 3.14: Pulling from library/alpine [2022-06-20T07:02:28.533Z] 455c02918c45: Pulling fs layer [2022-06-20T07:02:28.811Z] 455c02918c45: Verifying Checksum [2022-06-20T07:02:28.811Z] 455c02918c45: Download complete [2022-06-20T07:02:29.409Z] 455c02918c45: Pull complete [2022-06-20T07:02:29.409Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T07:02:29.409Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T07:02:29.409Z] ---> ac73e934f311 [2022-06-20T07:02:29.409Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-20T07:02:29.409Z] ---> Running in f20413e9987f [2022-06-20T07:02:29.684Z] Removing intermediate container f20413e9987f [2022-06-20T07:02:29.684Z] ---> 462c4dd10894 [2022-06-20T07:02:29.684Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T07:02:29.684Z] ---> Running in 1522917af9d1 [2022-06-20T07:02:31.667Z] Removing intermediate container 1522917af9d1 [2022-06-20T07:02:31.667Z] ---> b4534565a89c [2022-06-20T07:02:31.667Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-20T07:02:31.667Z] ---> Running in fac3e8061ef7 [2022-06-20T07:02:32.264Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-20T07:02:33.241Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-20T07:02:34.221Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T07:02:34.221Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-20T07:02:34.221Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T07:02:34.221Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-20T07:02:34.561Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-20T07:02:34.561Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T07:02:34.561Z] OK: 8 MiB in 19 packages [2022-06-20T07:02:35.169Z] Removing intermediate container fac3e8061ef7 [2022-06-20T07:02:35.169Z] ---> 0688c9862689 [2022-06-20T07:02:35.169Z] Step 16/25 : WORKDIR / [2022-06-20T07:02:35.444Z] ---> Running in ff5a1c03013e [2022-06-20T07:02:35.721Z] Removing intermediate container ff5a1c03013e [2022-06-20T07:02:35.721Z] ---> cf776fe8c5ba [2022-06-20T07:02:35.721Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-20T07:02:36.322Z] ---> e8134489afe1 [2022-06-20T07:02:36.322Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-20T07:02:37.765Z] ---> a5a1fd231e6c [2022-06-20T07:02:37.765Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-20T07:02:38.366Z] ---> e5d629e8d2a1 [2022-06-20T07:02:38.366Z] Step 20/25 : EXPOSE 59999 [2022-06-20T07:02:38.366Z] ---> Running in d35413de70be [2022-06-20T07:02:38.644Z] Removing intermediate container d35413de70be [2022-06-20T07:02:38.644Z] ---> 1b80db82a44e [2022-06-20T07:02:38.644Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-20T07:02:38.644Z] ---> Running in ffc4cdae0251 [2022-06-20T07:02:38.922Z] Removing intermediate container ffc4cdae0251 [2022-06-20T07:02:38.922Z] ---> 4dfb07411b96 [2022-06-20T07:02:38.922Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-20T07:02:39.198Z] ---> Running in 0591aa6691c9 [2022-06-20T07:02:39.473Z] Removing intermediate container 0591aa6691c9 [2022-06-20T07:02:39.473Z] ---> fb035123e3b1 [2022-06-20T07:02:39.473Z] Step 23/25 : LABEL arch=arm64 [2022-06-20T07:02:39.473Z] ---> Running in 04b35996991d [2022-06-20T07:02:39.749Z] Removing intermediate container 04b35996991d [2022-06-20T07:02:39.749Z] ---> d21ac37e0c39 [2022-06-20T07:02:39.749Z] Step 24/25 : LABEL git_sha=a1088c257568f950bc1d2f1e33e52c0595660ab9 [2022-06-20T07:02:39.749Z] ---> Running in 5f0e4fc77468 [2022-06-20T07:02:40.028Z] Removing intermediate container 5f0e4fc77468 [2022-06-20T07:02:40.028Z] ---> 1d37100e50bd [2022-06-20T07:02:40.028Z] Step 25/25 : LABEL version=0.0.0 [2022-06-20T07:02:40.309Z] ---> Running in 5fb113532850 [2022-06-20T07:02:40.582Z] Removing intermediate container 5fb113532850 [2022-06-20T07:02:40.582Z] ---> 8f521f1b923e [2022-06-20T07:02:40.582Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T07:02:40.582Z] Successfully built 8f521f1b923e [2022-06-20T07:02:40.582Z] 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-20T07:02:41.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T07:02:41.392Z] [2022-06-20T07:02:41.392Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T07:02:41.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T07:02:41.807Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-20T07:02:41.807Z] 8998bd30e6a1: Pulling fs layer [2022-06-20T07:02:41.807Z] 04944245beec: Pulling fs layer [2022-06-20T07:02:41.807Z] 699f458cf7ca: Pulling fs layer [2022-06-20T07:02:41.807Z] 765212b225bb: Pulling fs layer [2022-06-20T07:02:41.807Z] f23df028b6ca: Pulling fs layer [2022-06-20T07:02:41.807Z] d65c8cfc05b1: Pulling fs layer [2022-06-20T07:02:41.807Z] 2437ff75d9bd: Pulling fs layer [2022-06-20T07:02:41.807Z] f23df028b6ca: Waiting [2022-06-20T07:02:42.085Z] d65c8cfc05b1: Waiting [2022-06-20T07:02:42.085Z] 2437ff75d9bd: Waiting [2022-06-20T07:02:42.085Z] 765212b225bb: Waiting [2022-06-20T07:02:42.085Z] 04944245beec: Verifying Checksum [2022-06-20T07:02:42.085Z] 04944245beec: Download complete [2022-06-20T07:02:42.085Z] 765212b225bb: Verifying Checksum [2022-06-20T07:02:42.085Z] 765212b225bb: Download complete [2022-06-20T07:02:42.085Z] f23df028b6ca: Verifying Checksum [2022-06-20T07:02:42.085Z] f23df028b6ca: Download complete [2022-06-20T07:02:42.085Z] d65c8cfc05b1: Verifying Checksum [2022-06-20T07:02:42.085Z] d65c8cfc05b1: Download complete [2022-06-20T07:02:42.363Z] 699f458cf7ca: Verifying Checksum [2022-06-20T07:02:42.363Z] 699f458cf7ca: Download complete [2022-06-20T07:02:42.638Z] 8998bd30e6a1: Verifying Checksum [2022-06-20T07:02:42.638Z] 8998bd30e6a1: Download complete [2022-06-20T07:02:45.267Z] 2437ff75d9bd: Verifying Checksum [2022-06-20T07:02:45.267Z] 2437ff75d9bd: Download complete [2022-06-20T07:02:47.251Z] 8998bd30e6a1: Pull complete [2022-06-20T07:02:47.251Z] 04944245beec: Pull complete [2022-06-20T07:02:49.240Z] 699f458cf7ca: Pull complete [2022-06-20T07:02:49.240Z] 765212b225bb: Pull complete [2022-06-20T07:02:49.839Z] f23df028b6ca: Pull complete [2022-06-20T07:02:50.113Z] d65c8cfc05b1: Pull complete [2022-06-20T07:03:05.236Z] 2437ff75d9bd: Pull complete [2022-06-20T07:03:05.236Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-20T07:03:05.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T07:03:05.236Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T07:03:05.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-15124 does not seem to be running inside a container [2022-06-20T07:03:05.685Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-20T07:03:08.130Z] $ docker top 8a777db37d29b2a622a8869ebedde6e18250893c63c300904f398265ed2d7905 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T07:03:09.101Z] ---> job-cost.sh [2022-06-20T07:03:09.101Z] lf-activate-venv: SKIPPING [2022-06-20T07:03:09.101Z] INFO: No Stack... [2022-06-20T07:03:09.374Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-20T07:03:10.351Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T07:03:11.044Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-06-20T07:03:11.044Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T07:03:11.131Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1180-1-stack-cost] [2022-06-20T07:03:11.136Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1180-1-stack-cost] did not exist. Created. [2022-06-20T07:03:11.137Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1180-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T07:03:11.942Z] /w/workspace/device-sdk-go/1@tmp/durable-039596ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-20T07:03:12.642Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-20T07:03:12.674Z] Warning: overwriting stash ‘stack-cost’ [2022-06-20T07:03:12.738Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T07:03:12.752Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1180-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T07:03:12.835Z] $ docker stop --time=1 8a777db37d29b2a622a8869ebedde6e18250893c63c300904f398265ed2d7905 [2022-06-20T07:03:14.352Z] $ docker rm -f 8a777db37d29b2a622a8869ebedde6e18250893c63c300904f398265ed2d7905 [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-20T07:03:15.348Z] provisioning config files... [2022-06-20T07:03:15.357Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp/config45427290769302357tmp [Pipeline] { [Pipeline] sh [2022-06-20T07:03:15.688Z] + set +x [2022-06-20T07:03:15.688Z] + curl -s https://codecov.io/bash [2022-06-20T07:03:15.688Z] + bash -s -- [2022-06-20T07:03:15.951Z] [2022-06-20T07:03:15.951Z] _____ _ [2022-06-20T07:03:15.951Z] / ____| | | [2022-06-20T07:03:15.951Z] | | ___ __| | ___ ___ _____ __ [2022-06-20T07:03:15.951Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-20T07:03:15.951Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-20T07:03:15.951Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-20T07:03:15.951Z] Bash-1.0.6 [2022-06-20T07:03:15.951Z] [2022-06-20T07:03:15.951Z] [2022-06-20T07:03:15.951Z] ==> git version 2.25.1 found [2022-06-20T07:03:15.951Z] ==> 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-20T07:03:15.951Z] Release-Date: 2020-01-08 [2022-06-20T07:03:15.951Z] 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-20T07:03:15.951Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-20T07:03:15.951Z] ==> Jenkins CI detected. [2022-06-20T07:03:15.951Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1180 [2022-06-20T07:03:15.951Z] project root: . [2022-06-20T07:03:15.951Z] --> token set from env [2022-06-20T07:03:15.951Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-20T07:03:15.951Z] ==> Running gcov in . (disable via -X gcov) [2022-06-20T07:03:15.951Z] ==> Python coveragepy not found [2022-06-20T07:03:15.951Z] ==> Searching for coverage reports in: [2022-06-20T07:03:15.951Z] + . [2022-06-20T07:03:15.951Z] -> Found 1 reports [2022-06-20T07:03:15.951Z] ==> Detecting git/mercurial file structure [2022-06-20T07:03:15.951Z] ==> Reading reports [2022-06-20T07:03:15.951Z] + ./coverage.out bytes=131190 [2022-06-20T07:03:15.951Z] ==> Appending adjustments [2022-06-20T07:03:15.951Z] https://docs.codecov.io/docs/fixing-reports [2022-06-20T07:03:16.212Z] + Found adjustments [2022-06-20T07:03:16.212Z] ==> Gzipping contents [2022-06-20T07:03:16.212Z] 20K /tmp/codecov.An4zHc.gz [2022-06-20T07:03:16.212Z] ==> Uploading reports [2022-06-20T07:03:16.212Z] url: https://codecov.io [2022-06-20T07:03:16.212Z] query: branch=PR-1180&commit=a1088c257568f950bc1d2f1e33e52c0595660ab9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1180%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1180&job=&cmd_args= [2022-06-20T07:03:16.212Z] -> Pinging Codecov [2022-06-20T07:03:16.212Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1180&commit=a1088c257568f950bc1d2f1e33e52c0595660ab9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1180%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1180&job=&cmd_args= [2022-06-20T07:03:16.472Z] -> Uploading to [2022-06-20T07:03:16.472Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-20/7E55EF52A471D76F132DFD9A03CDDE97/a1088c257568f950bc1d2f1e33e52c0595660ab9/e2c01834-a46f-4c70-8b1f-37583c21a6b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220620%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220620T070316Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb0be5ccdd3fcd45bd85d2556af14d62f7f317446ba5dc2664d6ceffe69b77d6 [2022-06-20T07:03:16.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T07:03:16.472Z] Dload Upload Total Spent Left Speed [2022-06-20T07:03:16.736Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16881 0 0 100 16881 0 68344 --:--:-- --:--:-- --:--:-- 68344 [2022-06-20T07:03:16.736Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a1088c257568f950bc1d2f1e33e52c0595660ab9 [Pipeline] } [2022-06-20T07:03:16.762Z] 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-20T07:03:18.540Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1180/archives ] [2022-06-20T07:03:18.540Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1180/archives [2022-06-20T07:03:18.540Z] total 16 [2022-06-20T07:03:18.540Z] drwxr-xr-x 3 root root 4096 Jun 20 06:54 . [2022-06-20T07:03:18.540Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 20 06:54 .. [2022-06-20T07:03:18.540Z] drwxr-xr-x 2 root root 4096 Jun 20 06:54 cost [2022-06-20T07:03:18.540Z] -rw-r--r-- 1 root root 85 Jun 20 06:54 cost.csv [2022-06-20T07:03:18.540Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1180/archives [2022-06-20T07:03:18.540Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1180/archives [2022-06-20T07:03:18.540Z] total 16 [2022-06-20T07:03:18.540Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 06:54 . [2022-06-20T07:03:18.540Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 20 06:54 .. [2022-06-20T07:03:18.540Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 06:54 cost [2022-06-20T07:03:18.540Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 20 06:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-20T07:03:18.879Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T07:03:19.782Z] ---> package-listing.sh [2022-06-20T07:03:19.782Z] ++ facter osfamily [2022-06-20T07:03:19.782Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-20T07:03:20.042Z] + OS_FAMILY=debian [2022-06-20T07:03:20.042Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1180 [2022-06-20T07:03:20.042Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-20T07:03:20.042Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-20T07:03:20.042Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-20T07:03:20.042Z] + PACKAGES=/tmp/packages_start.txt [2022-06-20T07:03:20.042Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1180 ']' [2022-06-20T07:03:20.042Z] + PACKAGES=/tmp/packages_end.txt [2022-06-20T07:03:20.042Z] + case "${OS_FAMILY}" in [2022-06-20T07:03:20.042Z] + dpkg -l [2022-06-20T07:03:20.042Z] + grep '^ii' [2022-06-20T07:03:20.042Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-20T07:03:20.042Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-20T07:03:20.042Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-20T07:03:20.042Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1180 ']' [2022-06-20T07:03:20.042Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1180/archives/ [2022-06-20T07:03:20.042Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1180/archives/ [Pipeline] echo [2022-06-20T07:03:20.076Z] 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-1180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-20T07:03:20.370Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T07:03:21.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T07:03:21.009Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T07:03:21.194Z] prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container [2022-06-20T07:03:21.233Z] $ 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-1180/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-1180 -v /w/workspace/gexfoundry_device-sdk-go_PR-1180:/w/workspace/gexfoundry_device-sdk-go_PR-1180:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1180@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-20T07:03:21.462Z] $ docker top a5449971463c656697cb79eb6c2beaabbd2a723f9a450f16b00a92744ea41edb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T07:03:21.864Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-20T07:03:22.176Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-20T07:03:22.485Z] + ls /var/log/sa-host [2022-06-20T07:03:22.485Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T07:03:22.664Z] provisioning config files... [2022-06-20T07:03:22.673Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1180@tmp/config2811677498215078920tmp [Pipeline] { [Pipeline] echo [2022-06-20T07:03:22.723Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T07:03:23.031Z] ---> create-netrc.sh [Pipeline] } [2022-06-20T07:03:23.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-20T07:03:23.467Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-20T07:03:23.496Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T07:03:23.806Z] ---> sudo-logs.sh [2022-06-20T07:03:23.806Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-20T07:03:23.885Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T07:03:24.206Z] ---> job-cost.sh [2022-06-20T07:03:24.207Z] lf-activate-venv: SKIPPING [2022-06-20T07:03:24.207Z] DEBUG: total: 0.2199999988079071 [2022-06-20T07:03:24.207Z] INFO: Retrieving Stack Cost... [2022-06-20T07:03:24.777Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T07:03:25.038Z] INFO: Archiving Costs [Pipeline] echo [2022-06-20T07:03:25.076Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T07:03:25.391Z] ---> logs-deploy.sh [2022-06-20T07:03:25.391Z] lf-activate-venv: SKIPPING [2022-06-20T07:03:25.391Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1180/1 [2022-06-20T07:03:25.391Z] INFO: archiving workspace using pattern(s): [2022-06-20T07:03:26.329Z] Archives upload complete. [2022-06-20T07:03:26.329Z] INFO: archiving logs to Nexus