Pull request #1181 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1d2b327230836791ee67d209d46e90ff392335da+4287cc1d4c262ca519b36d36f1d06a90bcd6f745 (f436f9c305612d96ebde1d3af22d92377688d3ff) 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-ssh14756557329170764994.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-ssh17554408755159300212.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-1181/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-1181/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2171332988356908412.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-1181/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6803011419712669620.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-ssh8461018893774037940.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-1181/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-1181/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4334966432859501336.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-15210 in /w/workspace/gexfoundry_device-sdk-go_PR-1181 [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-1181 # 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 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 into PR head commit 1d2b327230836791ee67d209d46e90ff392335da Merge succeeded, producing 1d2b327230836791ee67d209d46e90ff392335da Checking out Revision 1d2b327230836791ee67d209d46e90ff392335da (PR-1181) > 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/1181/head:refs/remotes/origin/PR-1181 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d2b327230836791ee67d209d46e90ff392335da # 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 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d2b327230836791ee67d209d46e90ff392335da # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4" 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-21T04:06:23.075Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-21T04:06:23.247Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-21T04:06:23.336Z] ========================================================= [2022-06-21T04:06:23.336Z] EdgeX Global Pipelines Version Info [2022-06-21T04:06:23.336Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:06:24.139Z] ------------------- [2022-06-21T04:06:24.139Z] stable info: [2022-06-21T04:06:24.139Z] ------------------- [2022-06-21T04:06:24.139Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-21T04:06:24.139Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-21T04:06:24.139Z] Message: update stable to v1.0.234 [2022-06-21T04:06:24.711Z] ------------------- [2022-06-21T04:06:24.711Z] experimental info: [2022-06-21T04:06:24.711Z] ------------------- [2022-06-21T04:06:24.711Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-21T04:06:24.711Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-21T04:06:24.711Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-21T04:06:25.119Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-06-21T04:06:25.155Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-06-21T04:06:25.194Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-21T04:06:25.234Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-21T04:06:25.270Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-21T04:06:25.311Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-21T04:06:25.349Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-21T04:06:25.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-06-21T04:06:25.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-21T04:06:25.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-21T04:06:25.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-21T04:06:25.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-06-21T04:06:25.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-21T04:06:25.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-21T04:06:25.667Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-21T04:06:25.708Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-21T04:06:25.746Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-21T04:06:25.783Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-21T04:06:25.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-21T04:06:25.864Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-21T04:06:25.906Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-21T04:06:25.947Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-21T04:06:25.989Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-21T04:06:26.029Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-21T04:06:26.073Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-21T04:06:26.111Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-21T04:06:26.153Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-21T04:06:26.195Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1181 [Pipeline] echo [2022-06-21T04:06:26.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1181 [Pipeline] echo [2022-06-21T04:06:26.275Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1181 [Pipeline] echo [2022-06-21T04:06:26.315Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d2b327230836791ee67d209d46e90ff392335da [Pipeline] echo [2022-06-21T04:06:26.358Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d2b327 [Pipeline] echo [2022-06-21T04:06:26.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T04:06:26.505Z] provisioning config files... [2022-06-21T04:06:26.524Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/config3281629551381289522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:06:26.876Z] ---> docker-login.sh [2022-06-21T04:06:26.877Z] nexus3.edgexfoundry.org:10001 [2022-06-21T04:06:27.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:06:27.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:06:27.139Z] Configure a credential helper to remove this warning. See [2022-06-21T04:06:27.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:06:27.139Z] [2022-06-21T04:06:27.139Z] Login Succeeded [2022-06-21T04:06:27.139Z] nexus3.edgexfoundry.org:10002 [2022-06-21T04:06:27.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:06:27.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:06:27.409Z] Configure a credential helper to remove this warning. See [2022-06-21T04:06:27.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:06:27.409Z] [2022-06-21T04:06:27.409Z] Login Succeeded [2022-06-21T04:06:27.409Z] nexus3.edgexfoundry.org:10003 [2022-06-21T04:06:27.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:06:27.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:06:27.673Z] Configure a credential helper to remove this warning. See [2022-06-21T04:06:27.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:06:27.673Z] [2022-06-21T04:06:27.673Z] Login Succeeded [2022-06-21T04:06:27.673Z] nexus3.edgexfoundry.org:10004 [2022-06-21T04:06:27.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:06:27.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:06:27.673Z] Configure a credential helper to remove this warning. See [2022-06-21T04:06:27.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:06:27.673Z] [2022-06-21T04:06:27.673Z] Login Succeeded [2022-06-21T04:06:27.673Z] docker.io [2022-06-21T04:06:27.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:06:28.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:06:28.247Z] Configure a credential helper to remove this warning. See [2022-06-21T04:06:28.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:06:28.247Z] [2022-06-21T04:06:28.247Z] Login Succeeded [2022-06-21T04:06:28.247Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T04:06:28.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-21T04:06:28.895Z] + git rev-list -1 --merges 1d2b327230836791ee67d209d46e90ff392335da~1..1d2b327230836791ee67d209d46e90ff392335da [Pipeline] echo [2022-06-21T04:06:28.947Z] -----------> git rev-list -1 --merges 1d2b327230836791ee67d209d46e90ff392335da~1..1d2b327230836791ee67d209d46e90ff392335da 1d2b327230836791ee67d209d46e90ff392335da [false] [Pipeline] sh [2022-06-21T04:06:29.259Z] + git log --format=format:%s -1 1d2b327230836791ee67d209d46e90ff392335da [Pipeline] echo [2022-06-21T04:06:29.296Z] ========================================================= [2022-06-21T04:06:29.296Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-21T04:06:29.296Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T04:06:29.731Z] + git log --format=format:%s -1 1d2b327230836791ee67d209d46e90ff392335da [Pipeline] echo [2022-06-21T04:06:29.760Z] [semverPrep] GIT_COMMIT: 1d2b327230836791ee67d209d46e90ff392335da, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 [Pipeline] echo [2022-06-21T04:06:29.790Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-21T04:06:30.180Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-21T04:06:30.180Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-21T04:06:30.180Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-21T04:06:30.180Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-21T04:06:30.180Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-21T04:06:30.180Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-21T04:06:30.180Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:06:30.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T04:06:30.678Z] [2022-06-21T04:06:30.678Z] 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-21T04:06:31.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T04:06:31.069Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-21T04:06:31.069Z] 42c077c10790: Pulling fs layer [2022-06-21T04:06:31.069Z] f63e77b7563a: Pulling fs layer [2022-06-21T04:06:31.069Z] bd5fdadae976: Pulling fs layer [2022-06-21T04:06:31.069Z] 205491f53016: Pulling fs layer [2022-06-21T04:06:31.069Z] df18705c85c3: Pulling fs layer [2022-06-21T04:06:31.069Z] bdb3f477010e: Pulling fs layer [2022-06-21T04:06:31.069Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-21T04:06:31.069Z] 2c6e9b1d212d: Pulling fs layer [2022-06-21T04:06:31.069Z] bdb3f477010e: Waiting [2022-06-21T04:06:31.069Z] df18705c85c3: Waiting [2022-06-21T04:06:31.069Z] bdb8f0575790: Pulling fs layer [2022-06-21T04:06:31.069Z] c8a8fc8e1c8f: Waiting [2022-06-21T04:06:31.069Z] 386e3cb2ff24: Pulling fs layer [2022-06-21T04:06:31.069Z] 2343380bae48: Pulling fs layer [2022-06-21T04:06:31.069Z] 2c6e9b1d212d: Waiting [2022-06-21T04:06:31.069Z] 386e3cb2ff24: Waiting [2022-06-21T04:06:31.069Z] 2343380bae48: Waiting [2022-06-21T04:06:31.069Z] 205491f53016: Waiting [2022-06-21T04:06:31.069Z] bdb8f0575790: Waiting [2022-06-21T04:06:31.069Z] f63e77b7563a: Download complete [2022-06-21T04:06:31.069Z] 205491f53016: Download complete [2022-06-21T04:06:31.330Z] df18705c85c3: Verifying Checksum [2022-06-21T04:06:31.330Z] df18705c85c3: Download complete [2022-06-21T04:06:31.330Z] bdb3f477010e: Verifying Checksum [2022-06-21T04:06:31.330Z] bdb3f477010e: Download complete [2022-06-21T04:06:31.330Z] bd5fdadae976: Verifying Checksum [2022-06-21T04:06:31.330Z] bd5fdadae976: Download complete [2022-06-21T04:06:31.330Z] 2c6e9b1d212d: Verifying Checksum [2022-06-21T04:06:31.330Z] 2c6e9b1d212d: Download complete [2022-06-21T04:06:31.330Z] bdb8f0575790: Download complete [2022-06-21T04:06:31.330Z] 386e3cb2ff24: Download complete [2022-06-21T04:06:31.330Z] 2343380bae48: Verifying Checksum [2022-06-21T04:06:31.330Z] 2343380bae48: Download complete [2022-06-21T04:06:31.330Z] 42c077c10790: Verifying Checksum [2022-06-21T04:06:31.330Z] 42c077c10790: Download complete [2022-06-21T04:06:31.592Z] c8a8fc8e1c8f: Download complete [2022-06-21T04:06:32.981Z] 42c077c10790: Pull complete [2022-06-21T04:06:32.981Z] f63e77b7563a: Pull complete [2022-06-21T04:06:33.553Z] bd5fdadae976: Pull complete [2022-06-21T04:06:33.553Z] 205491f53016: Pull complete [2022-06-21T04:06:33.815Z] df18705c85c3: Pull complete [2022-06-21T04:06:34.076Z] bdb3f477010e: Pull complete [2022-06-21T04:06:35.998Z] c8a8fc8e1c8f: Pull complete [2022-06-21T04:06:36.259Z] 2c6e9b1d212d: Pull complete [2022-06-21T04:06:36.259Z] bdb8f0575790: Pull complete [2022-06-21T04:06:36.520Z] 386e3cb2ff24: Pull complete [2022-06-21T04:06:36.520Z] 2343380bae48: Pull complete [2022-06-21T04:06:36.520Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-21T04:06:36.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T04:06:36.520Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T04:06:36.758Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2022-06-21T04:06:36.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1181 -v /w/workspace/gexfoundry_device-sdk-go_PR-1181:/w/workspace/gexfoundry_device-sdk-go_PR-1181:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-21T04:06:38.288Z] $ docker top ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 -eo pid,comm [2022-06-21T04:06:38.354Z] 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-21T04:06:38.354Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-21T04:06:38.482Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T04:06:38.482Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T04:06:38.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T04:06:38.628Z] $ docker exec ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 ssh-agent [2022-06-21T04:06:38.763Z] SSH_AUTH_SOCK=/tmp/ssh-kBEnS2N3mI7n/agent.32 [2022-06-21T04:06:38.763Z] SSH_AGENT_PID=38 [2022-06-21T04:06:38.771Z] Running ssh-add (command line suppressed) [2022-06-21T04:06:38.906Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/private_key_5351819710298542014.key (/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/private_key_5351819710298542014.key) [2022-06-21T04:06:38.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T04:06:39.259Z] + git tag --points-at HEAD [Pipeline] } [2022-06-21T04:06:39.294Z] $ docker exec --env ******** --env ******** ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 ssh-agent -k [2022-06-21T04:06:39.415Z] unset SSH_AUTH_SOCK; [2022-06-21T04:06:39.416Z] unset SSH_AGENT_PID; [2022-06-21T04:06:39.416Z] echo Agent pid 38 killed; [2022-06-21T04:06:39.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-21T04:06:39.512Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T04:06:39.512Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T04:06:39.663Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T04:06:39.672Z] $ docker exec ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 ssh-agent [2022-06-21T04:06:39.798Z] SSH_AUTH_SOCK=/tmp/ssh-i9xxYNUWF1hu/agent.71 [2022-06-21T04:06:39.798Z] SSH_AGENT_PID=77 [2022-06-21T04:06:39.805Z] Running ssh-add (command line suppressed) [2022-06-21T04:06:39.936Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/private_key_8113117546302863413.key (/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/private_key_8113117546302863413.key) [2022-06-21T04:06:39.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T04:06:40.285Z] + git semver init [2022-06-21T04:06:40.547Z] 2022-06-21 04:06:40,507 [run_init] DEBUG init version:0.0.0 force:False [2022-06-21T04:06:40.547Z] 2022-06-21 04:06:40,508 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver [2022-06-21T04:06:40.547Z] 2022-06-21 04:06:40,508 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver [2022-06-21T04:06:40.547Z] 2022-06-21 04:06:40,508 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1181, universal_newlines=False, shell=None, istream=None) [2022-06-21T04:06:41.489Z] 2022-06-21 04:06:41,305 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181/.git/info/exclude [2022-06-21T04:06:41.489Z] 2022-06-21 04:06:41,306 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver/PR-1181 with force:False [2022-06-21T04:06:41.489Z] 2022-06-21 04:06:41,306 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver/PR-1181 [2022-06-21T04:06:41.489Z] 2022-06-21 04:06:41,311 [execute] INFO git cat-file --batch-check [2022-06-21T04:06:41.489Z] 2022-06-21 04:06:41,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver, universal_newlines=False, shell=None, istream=) [2022-06-21T04:06:41.489Z] 2022-06-21 04:06:41,318 [execute] INFO git cat-file --batch [2022-06-21T04:06:41.489Z] 2022-06-21 04:06:41,318 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver, universal_newlines=False, shell=None, istream=) [2022-06-21T04:06:41.489Z] 2022-06-21 04:06:41,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver/PR-1181 [2022-06-21T04:06:41.489Z] 0.0.0 [Pipeline] } [2022-06-21T04:06:41.518Z] $ docker exec --env ******** --env ******** ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 ssh-agent -k [2022-06-21T04:06:41.630Z] unset SSH_AUTH_SOCK; [2022-06-21T04:06:41.631Z] unset SSH_AGENT_PID; [2022-06-21T04:06:41.631Z] echo Agent pid 77 killed; [2022-06-21T04:06:41.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-21T04:06:42.076Z] + git semver [Pipeline] } [2022-06-21T04:06:42.371Z] $ docker stop --time=1 ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 [2022-06-21T04:06:43.693Z] $ docker rm -f ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-21T04:06:44.120Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-21T04:06:44.440Z] Stashed 1 file(s) [Pipeline] echo [2022-06-21T04:06:44.454Z] [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-21T04:06:44.955Z] provisioning config files... [2022-06-21T04:06:44.969Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/config4979560374066090473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:06:45.323Z] ---> docker-login.sh [2022-06-21T04:06:45.323Z] nexus3.edgexfoundry.org:10001 [2022-06-21T04:06:45.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:06:45.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:06:45.323Z] Configure a credential helper to remove this warning. See [2022-06-21T04:06:45.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:06:45.323Z] [2022-06-21T04:06:45.323Z] Login Succeeded [2022-06-21T04:06:45.323Z] nexus3.edgexfoundry.org:10002 [2022-06-21T04:06:45.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:06:45.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:06:45.585Z] Configure a credential helper to remove this warning. See [2022-06-21T04:06:45.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:06:45.585Z] [2022-06-21T04:06:45.585Z] Login Succeeded [2022-06-21T04:06:45.585Z] nexus3.edgexfoundry.org:10003 [2022-06-21T04:06:45.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:06:45.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:06:45.585Z] Configure a credential helper to remove this warning. See [2022-06-21T04:06:45.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:06:45.585Z] [2022-06-21T04:06:45.585Z] Login Succeeded [2022-06-21T04:06:45.585Z] nexus3.edgexfoundry.org:10004 [2022-06-21T04:06:45.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:06:45.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:06:45.848Z] Configure a credential helper to remove this warning. See [2022-06-21T04:06:45.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:06:45.848Z] [2022-06-21T04:06:45.848Z] Login Succeeded [2022-06-21T04:06:45.848Z] docker.io [2022-06-21T04:06:45.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:06:46.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:06:46.108Z] Configure a credential helper to remove this warning. See [2022-06-21T04:06:46.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:06:46.108Z] [2022-06-21T04:06:46.108Z] Login Succeeded [2022-06-21T04:06:46.108Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T04:06:46.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-21T04:06:46.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T04:06:46.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T04:06:46.376Z] ========================================================= [2022-06-21T04:06:46.376Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-21T04:06:46.376Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:06:46.832Z] + 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-21T04:06:46.832Z] Sending build context to Docker daemon 9.63MB [2022-06-21T04:06:46.832Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T04:06:46.832Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-21T04:06:46.832Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-21T04:06:46.832Z] 59bf1c3509f3: Pulling fs layer [2022-06-21T04:06:46.832Z] 666ba61612fd: Pulling fs layer [2022-06-21T04:06:46.832Z] 8ed8ca486205: Pulling fs layer [2022-06-21T04:06:46.832Z] cc1cd167ecdc: Pulling fs layer [2022-06-21T04:06:46.832Z] c516ae0d96e1: Pulling fs layer [2022-06-21T04:06:46.832Z] 684cea983483: Pulling fs layer [2022-06-21T04:06:46.832Z] dd3240ac7de5: Pulling fs layer [2022-06-21T04:06:46.832Z] b1e948a4e11c: Pulling fs layer [2022-06-21T04:06:46.832Z] cc1cd167ecdc: Waiting [2022-06-21T04:06:46.832Z] c516ae0d96e1: Waiting [2022-06-21T04:06:46.832Z] 684cea983483: Waiting [2022-06-21T04:06:46.832Z] b1e948a4e11c: Waiting [2022-06-21T04:06:46.832Z] dd3240ac7de5: Waiting [2022-06-21T04:06:46.832Z] a8fd76ee1af6: Pulling fs layer [2022-06-21T04:06:46.832Z] 646ad004c059: Pulling fs layer [2022-06-21T04:06:46.832Z] a8fd76ee1af6: Waiting [2022-06-21T04:06:46.832Z] 8ed8ca486205: Verifying Checksum [2022-06-21T04:06:46.832Z] 8ed8ca486205: Download complete [2022-06-21T04:06:47.094Z] 666ba61612fd: Download complete [2022-06-21T04:06:47.094Z] c516ae0d96e1: Verifying Checksum [2022-06-21T04:06:47.094Z] c516ae0d96e1: Download complete [2022-06-21T04:06:47.094Z] 684cea983483: Download complete [2022-06-21T04:06:47.094Z] 59bf1c3509f3: Verifying Checksum [2022-06-21T04:06:47.094Z] 59bf1c3509f3: Download complete [2022-06-21T04:06:47.094Z] dd3240ac7de5: Verifying Checksum [2022-06-21T04:06:47.094Z] dd3240ac7de5: Download complete [2022-06-21T04:06:47.094Z] b1e948a4e11c: Verifying Checksum [2022-06-21T04:06:47.094Z] b1e948a4e11c: Download complete [2022-06-21T04:06:47.094Z] 59bf1c3509f3: Pull complete [2022-06-21T04:06:47.356Z] 666ba61612fd: Pull complete [2022-06-21T04:06:47.356Z] 8ed8ca486205: Pull complete [2022-06-21T04:06:47.625Z] 646ad004c059: Verifying Checksum [2022-06-21T04:06:47.625Z] 646ad004c059: Download complete [2022-06-21T04:06:47.625Z] a8fd76ee1af6: Verifying Checksum [2022-06-21T04:06:47.625Z] a8fd76ee1af6: Download complete [2022-06-21T04:06:47.625Z] cc1cd167ecdc: Verifying Checksum [2022-06-21T04:06:47.625Z] cc1cd167ecdc: Download complete [2022-06-21T04:06:51.831Z] cc1cd167ecdc: Pull complete [2022-06-21T04:06:51.831Z] c516ae0d96e1: Pull complete [2022-06-21T04:06:51.831Z] 684cea983483: Pull complete [2022-06-21T04:06:51.831Z] dd3240ac7de5: Pull complete [2022-06-21T04:06:52.091Z] b1e948a4e11c: Pull complete [2022-06-21T04:06:54.635Z] a8fd76ee1af6: Pull complete [2022-06-21T04:06:55.203Z] 646ad004c059: Pull complete [2022-06-21T04:06:55.203Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-21T04:06:55.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-21T04:06:55.203Z] ---> 8f69c11f6b0c [2022-06-21T04:06:55.203Z] Step 3/11 : ARG MAKE=make build [2022-06-21T04:06:57.115Z] ---> Running in c78f07703f99 [2022-06-21T04:06:57.115Z] Removing intermediate container c78f07703f99 [2022-06-21T04:06:57.115Z] ---> fb83dc2070b9 [2022-06-21T04:06:57.115Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-21T04:06:57.115Z] ---> Running in 84eb51ae04e7 [2022-06-21T04:06:57.115Z] Removing intermediate container 84eb51ae04e7 [2022-06-21T04:06:57.115Z] ---> 6db0aa5fdcae [2022-06-21T04:06:57.115Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-21T04:06:57.115Z] ---> Running in 90cbe850fa18 [2022-06-21T04:06:57.115Z] Removing intermediate container 90cbe850fa18 [2022-06-21T04:06:57.115Z] ---> 73b9bc301754 [2022-06-21T04:06:57.115Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T04:06:57.115Z] ---> Running in de36792f978b [2022-06-21T04:06:57.686Z] Removing intermediate container de36792f978b [2022-06-21T04:06:57.686Z] ---> f385516eefc4 [2022-06-21T04:06:57.686Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-21T04:06:57.947Z] ---> Running in fc1bfef29367 [2022-06-21T04:06:58.208Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T04:06:59.150Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-21T04:06:59.410Z] OK: 221 MiB in 52 packages [2022-06-21T04:06:59.670Z] Removing intermediate container fc1bfef29367 [2022-06-21T04:06:59.670Z] ---> 29532ad40f85 [2022-06-21T04:06:59.670Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-21T04:06:59.795Z] Still waiting to schedule task [2022-06-21T04:06:59.795Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-21T04:06:59.932Z] ---> 53413b01ac09 [2022-06-21T04:06:59.932Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T04:06:59.932Z] ---> Running in d7b2af962556 [2022-06-21T04:07:18.070Z] Removing intermediate container d7b2af962556 [2022-06-21T04:07:18.070Z] ---> cf989b9ad6b8 [2022-06-21T04:07:18.070Z] Step 10/11 : COPY . . [2022-06-21T04:07:18.070Z] ---> b2e025e24f7b [2022-06-21T04:07:18.070Z] Step 11/11 : RUN ${MAKE} [2022-06-21T04:07:18.070Z] ---> Running in 3fd799794a60 [2022-06-21T04:07:18.332Z] noop [2022-06-21T04:07:18.593Z] Removing intermediate container 3fd799794a60 [2022-06-21T04:07:18.593Z] ---> 1d0a3d24495e [2022-06-21T04:07:18.593Z] Successfully built 1d0a3d24495e [2022-06-21T04:07:18.593Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:07:19.033Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-21T04:07:19.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T04:07:19.203Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2022-06-21T04:07:19.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1181 -v /w/workspace/gexfoundry_device-sdk-go_PR-1181:/w/workspace/gexfoundry_device-sdk-go_PR-1181:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-21T04:07:19.664Z] $ docker top 0155927a6e0a759c151e6f13a28dfc944950da70f841214e6fa6ed9ee2f4f844 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T04:07:20.075Z] + go version [2022-06-21T04:07:20.075Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-21T04:07:20.113Z] $ docker stop --time=1 0155927a6e0a759c151e6f13a28dfc944950da70f841214e6fa6ed9ee2f4f844 [2022-06-21T04:07:21.404Z] $ docker rm -f 0155927a6e0a759c151e6f13a28dfc944950da70f841214e6fa6ed9ee2f4f844 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:07:22.200Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-21T04:07:22.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T04:07:22.357Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2022-06-21T04:07:22.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1181 -v /w/workspace/gexfoundry_device-sdk-go_PR-1181:/w/workspace/gexfoundry_device-sdk-go_PR-1181:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-21T04:07:22.796Z] $ docker top 3c9ca505e69d99849e0ab212bb283478c4076ed9c256cfe95ecd4bfc00576390 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-21T04:07:23.243Z] + make test [2022-06-21T04:07:23.243Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-21T04:07:28.527Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-21T04:07:43.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.123s coverage: 23.7% of statements [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-21T04:07:43.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements [2022-06-21T04:07:43.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 78.9% of statements [2022-06-21T04:07:43.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 10.8% of statements [2022-06-21T04:07:43.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.078s coverage: 60.0% of statements [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-21T04:07:43.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.090s coverage: 34.8% of statements [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-21T04:07:43.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 85.4% of statements [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-21T04:07:43.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.131s coverage: 65.1% of statements [2022-06-21T04:07:43.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.789s coverage: 89.2% of statements [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-21T04:07:43.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-06-21T04:07:43.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-21T04:07:58.308Z] GO111MODULE=on go vet ./... [2022-06-21T04:08:03.590Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-21T04:08:03.590Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-21T04:08:03.590Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-21T04:08:03.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-21T04:08:03.662Z] $ docker stop --time=1 3c9ca505e69d99849e0ab212bb283478c4076ed9c256cfe95ecd4bfc00576390 [2022-06-21T04:08:05.527Z] $ docker rm -f 3c9ca505e69d99849e0ab212bb283478c4076ed9c256cfe95ecd4bfc00576390 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-21T04:08:06.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-21T04:08:06.199Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-21T04:08:06.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-21T04:08:07.187Z] + ls -al . [2022-06-21T04:08:07.187Z] total 304 [2022-06-21T04:08:07.187Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 04:08 . [2022-06-21T04:08:07.187Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 04:06 .. [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 21 04:06 .dockerignore [2022-06-21T04:08:07.187Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 04:06 .git [2022-06-21T04:08:07.187Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 04:06 .github [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 21 04:06 .gitignore [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 21 04:06 .golangci.yml [2022-06-21T04:08:07.187Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 04:06 .semver [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 21 04:06 CHANGELOG.md [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 04:06 GOVERNANCE.md [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 21 04:06 Jenkinsfile [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 21 04:06 LICENSE [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 21 04:06 Makefile [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 21 04:06 OWNERS.md [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 21 04:06 README.md [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 04:06 VERSION [2022-06-21T04:08:07.187Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 04:06 bin [2022-06-21T04:08:07.187Z] -rw-r--r-- 1 jenkins jenkins 131190 Jun 21 04:07 coverage.out [2022-06-21T04:08:07.187Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 04:06 example [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 21 04:06 go.mod [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 35641 Jun 21 04:06 go.sum [2022-06-21T04:08:07.187Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 21 04:06 internal [2022-06-21T04:08:07.187Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 04:06 openapi [2022-06-21T04:08:07.187Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 04:06 pkg [2022-06-21T04:08:07.187Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 04:06 snap [2022-06-21T04:08:07.187Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 21 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:08:07.587Z] + 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=1d2b327230836791ee67d209d46e90ff392335da --label arch=amd64 --label version=0.0.0 . [2022-06-21T04:08:07.587Z] Sending build context to Docker daemon 9.762MB [2022-06-21T04:08:07.587Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T04:08:07.587Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-21T04:08:07.587Z] ---> 1d0a3d24495e [2022-06-21T04:08:07.587Z] Step 3/25 : ARG MAKE=make build [2022-06-21T04:08:07.850Z] ---> Running in 799d1ec2bb68 [2022-06-21T04:08:07.850Z] Removing intermediate container 799d1ec2bb68 [2022-06-21T04:08:07.850Z] ---> 80744e3aaee7 [2022-06-21T04:08:07.850Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-21T04:08:07.850Z] ---> Running in 4eadf5175696 [2022-06-21T04:08:08.112Z] Removing intermediate container 4eadf5175696 [2022-06-21T04:08:08.112Z] ---> 0c7f0171384b [2022-06-21T04:08:08.112Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-21T04:08:08.112Z] ---> Running in 7a60a766645b [2022-06-21T04:08:08.112Z] Removing intermediate container 7a60a766645b [2022-06-21T04:08:08.112Z] ---> dba8c944408b [2022-06-21T04:08:08.112Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T04:08:08.112Z] ---> Running in a60960767c00 [2022-06-21T04:08:08.681Z] Removing intermediate container a60960767c00 [2022-06-21T04:08:08.681Z] ---> 36ec7f1b21b4 [2022-06-21T04:08:08.681Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-21T04:08:08.681Z] ---> Running in f39d733881c7 [2022-06-21T04:08:09.251Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T04:08:09.823Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-21T04:08:10.086Z] OK: 221 MiB in 52 packages [2022-06-21T04:08:10.662Z] Removing intermediate container f39d733881c7 [2022-06-21T04:08:10.662Z] ---> 8ecdfbcfc010 [2022-06-21T04:08:10.662Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-21T04:08:10.662Z] ---> 1b3a9f7fa820 [2022-06-21T04:08:10.662Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T04:08:10.662Z] ---> Running in dbccb45473e1 [2022-06-21T04:08:11.611Z] Removing intermediate container dbccb45473e1 [2022-06-21T04:08:11.611Z] ---> c209ce749294 [2022-06-21T04:08:11.611Z] Step 10/25 : COPY . . [2022-06-21T04:08:11.873Z] ---> a97704458e2d [2022-06-21T04:08:11.873Z] Step 11/25 : RUN ${MAKE} [2022-06-21T04:08:11.873Z] ---> Running in da85c7caecb2 [2022-06-21T04:08:12.132Z] 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-21T04:08:30.235Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-21T04:08:32.146Z] Removing intermediate container da85c7caecb2 [2022-06-21T04:08:32.146Z] ---> 364a82cd2644 [2022-06-21T04:08:32.146Z] Step 12/25 : FROM alpine:3.14 [2022-06-21T04:08:32.405Z] 3.14: Pulling from library/alpine [2022-06-21T04:08:32.664Z] 8663204ce13b: Pulling fs layer [2022-06-21T04:08:32.924Z] 8663204ce13b: Verifying Checksum [2022-06-21T04:08:32.924Z] 8663204ce13b: Download complete [2022-06-21T04:08:32.924Z] 8663204ce13b: Pull complete [2022-06-21T04:08:32.924Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-21T04:08:32.924Z] Status: Downloaded newer image for alpine:3.14 [2022-06-21T04:08:32.924Z] ---> e04c818066af [2022-06-21T04:08:32.924Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-21T04:08:33.185Z] ---> Running in 281168ab7eb6 [2022-06-21T04:08:33.185Z] Removing intermediate container 281168ab7eb6 [2022-06-21T04:08:33.185Z] ---> b354945dd133 [2022-06-21T04:08:33.185Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T04:08:33.185Z] ---> Running in a7d149663e5c [2022-06-21T04:08:33.755Z] Removing intermediate container a7d149663e5c [2022-06-21T04:08:33.755Z] ---> af36a3c050a2 [2022-06-21T04:08:33.755Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-21T04:08:34.014Z] ---> Running in a15fd7749783 [2022-06-21T04:08:34.272Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-21T04:08:34.842Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-21T04:08:35.412Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-21T04:08:35.412Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-21T04:08:35.412Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-21T04:08:35.412Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-21T04:08:35.672Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-21T04:08:35.672Z] Executing busybox-1.33.1-r7.trigger [2022-06-21T04:08:35.672Z] OK: 8 MiB in 19 packages [2022-06-21T04:08:36.242Z] Removing intermediate container a15fd7749783 [2022-06-21T04:08:36.242Z] ---> cee3852e52d4 [2022-06-21T04:08:36.242Z] Step 16/25 : WORKDIR / [2022-06-21T04:08:36.242Z] ---> Running in 439d85c19644 [2022-06-21T04:08:36.242Z] Removing intermediate container 439d85c19644 [2022-06-21T04:08:36.242Z] ---> 584a2cbf8bbb [2022-06-21T04:08:36.242Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-21T04:08:36.242Z] ---> 2767c4c076ad [2022-06-21T04:08:36.242Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-21T04:08:36.259Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15212 in /w/workspace/gexfoundry_device-sdk-go_PR-1181 [Pipeline] { [Pipeline] ws [2022-06-21T04:08:36.300Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-06-21T04:08:36.376Z] The recommended git tool is: git [2022-06-21T04:08:36.813Z] ---> 91dfad961c88 [2022-06-21T04:08:36.813Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-21T04:08:37.075Z] ---> 061ad9cb54eb [2022-06-21T04:08:37.075Z] Step 20/25 : EXPOSE 59999 [2022-06-21T04:08:37.075Z] ---> Running in 830111aa87ab [2022-06-21T04:08:37.075Z] Removing intermediate container 830111aa87ab [2022-06-21T04:08:37.075Z] ---> 9b78dfff592b [2022-06-21T04:08:37.075Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-21T04:08:37.332Z] ---> Running in 60fe71b38a2a [2022-06-21T04:08:37.332Z] Removing intermediate container 60fe71b38a2a [2022-06-21T04:08:37.332Z] ---> 72348f3d974c [2022-06-21T04:08:37.332Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-21T04:08:37.332Z] ---> Running in 4ccb1e2c6242 [2022-06-21T04:08:37.592Z] Removing intermediate container 4ccb1e2c6242 [2022-06-21T04:08:37.592Z] ---> d648826fdb53 [2022-06-21T04:08:37.592Z] Step 23/25 : LABEL arch=amd64 [2022-06-21T04:08:37.592Z] ---> Running in 263b4b365cb0 [2022-06-21T04:08:37.592Z] Removing intermediate container 263b4b365cb0 [2022-06-21T04:08:37.592Z] ---> 41f2220851df [2022-06-21T04:08:37.592Z] Step 24/25 : LABEL git_sha=1d2b327230836791ee67d209d46e90ff392335da [2022-06-21T04:08:37.592Z] ---> Running in 62bd787ab283 [2022-06-21T04:08:37.859Z] Removing intermediate container 62bd787ab283 [2022-06-21T04:08:37.859Z] ---> 23740eb15b16 [2022-06-21T04:08:37.859Z] Step 25/25 : LABEL version=0.0.0 [2022-06-21T04:08:37.859Z] ---> Running in a47b4a17ba1e [2022-06-21T04:08:37.859Z] Removing intermediate container a47b4a17ba1e [2022-06-21T04:08:37.859Z] ---> da895fe20bec [2022-06-21T04:08:37.859Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-21T04:08:37.859Z] Successfully built da895fe20bec [2022-06-21T04:08:37.859Z] 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-21T04:08:38.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T04:08:38.710Z] [2022-06-21T04:08:38.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:08:39.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T04:08:39.093Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-21T04:08:39.093Z] 5eb5b503b376: Pulling fs layer [2022-06-21T04:08:39.093Z] 5c69ac0246d0: Pulling fs layer [2022-06-21T04:08:39.093Z] ec43610c2a17: Pulling fs layer [2022-06-21T04:08:39.093Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-21T04:08:39.093Z] 33b1e0a273af: Pulling fs layer [2022-06-21T04:08:39.093Z] 5d3b04190fa2: Pulling fs layer [2022-06-21T04:08:39.093Z] 2f39f015ded8: Pulling fs layer [2022-06-21T04:08:39.093Z] 33b1e0a273af: Waiting [2022-06-21T04:08:39.093Z] 3a2ae6a8a46f: Waiting [2022-06-21T04:08:39.093Z] 5d3b04190fa2: Waiting [2022-06-21T04:08:39.093Z] 2f39f015ded8: Waiting [2022-06-21T04:08:39.093Z] 5c69ac0246d0: Verifying Checksum [2022-06-21T04:08:39.093Z] 5c69ac0246d0: Download complete [2022-06-21T04:08:39.093Z] 3a2ae6a8a46f: Download complete [2022-06-21T04:08:39.093Z] 33b1e0a273af: Verifying Checksum [2022-06-21T04:08:39.093Z] 33b1e0a273af: Download complete [2022-06-21T04:08:39.093Z] ec43610c2a17: Verifying Checksum [2022-06-21T04:08:39.093Z] ec43610c2a17: Download complete [2022-06-21T04:08:39.093Z] 5d3b04190fa2: Verifying Checksum [2022-06-21T04:08:39.093Z] 5d3b04190fa2: Download complete [2022-06-21T04:08:39.352Z] 5eb5b503b376: Verifying Checksum [2022-06-21T04:08:39.352Z] 5eb5b503b376: Download complete [2022-06-21T04:08:39.921Z] 2f39f015ded8: Download complete [2022-06-21T04:08:40.859Z] 5eb5b503b376: Pull complete [2022-06-21T04:08:40.859Z] 5c69ac0246d0: Pull complete [2022-06-21T04:08:41.120Z] ec43610c2a17: Pull complete [2022-06-21T04:08:41.380Z] 3a2ae6a8a46f: Pull complete [2022-06-21T04:08:41.380Z] 33b1e0a273af: Pull complete [2022-06-21T04:08:41.638Z] 5d3b04190fa2: Pull complete [2022-06-21T04:08:42.357Z] using credential edgex-jenkins-ssh [2022-06-21T04:08:42.376Z] Cloning the remote Git repository [2022-06-21T04:08:42.438Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-06-21T04:08:42.509Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-06-21T04:08:42.600Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-21T04:08:42.601Z] > git --version # timeout=10 [2022-06-21T04:08:42.617Z] > git --version # 'git version 2.25.1' [2022-06-21T04:08:42.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-21T04:08:42.697Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-21T04:08:44.019Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-21T04:08:44.038Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-21T04:08:44.062Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-21T04:08:44.095Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-21T04:08:44.095Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-21T04:08:44.108Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1181/head:refs/remotes/origin/PR-1181 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-21T04:08:44.578Z] Merging remotes/origin/main commit 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 into PR head commit 1d2b327230836791ee67d209d46e90ff392335da [2022-06-21T04:08:44.792Z] Merge succeeded, producing 1d2b327230836791ee67d209d46e90ff392335da [2022-06-21T04:08:44.793Z] Checking out Revision 1d2b327230836791ee67d209d46e90ff392335da (PR-1181) [2022-06-21T04:08:44.601Z] > git config core.sparsecheckout # timeout=10 [2022-06-21T04:08:44.615Z] > git checkout -f 1d2b327230836791ee67d209d46e90ff392335da # timeout=10 [2022-06-21T04:08:44.722Z] > git remote # timeout=10 [2022-06-21T04:08:44.736Z] > git config --get remote.origin.url # timeout=10 [2022-06-21T04:08:44.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-21T04:08:44.760Z] > git merge 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 # timeout=10 [2022-06-21T04:08:44.782Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-21T04:08:44.803Z] > git config core.sparsecheckout # timeout=10 [2022-06-21T04:08:44.814Z] > git checkout -f 1d2b327230836791ee67d209d46e90ff392335da # timeout=10 [2022-06-21T04:08:46.917Z] 2f39f015ded8: Pull complete [2022-06-21T04:08:46.917Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-21T04:08:46.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T04:08:46.917Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T04:08:47.150Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2022-06-21T04:08:47.279Z] $ 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-1181 -v /w/workspace/gexfoundry_device-sdk-go_PR-1181:/w/workspace/gexfoundry_device-sdk-go_PR-1181:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-21T04:08:48.767Z] $ docker top dd99d6cfaccb8d57670bb3df567627ab1050de2866c677f842b82b67d9dc348e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [2022-06-21T04:08:48.946Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4" [Pipeline] sh [2022-06-21T04:08:49.004Z] > git --version # timeout=10 [2022-06-21T04:08:49.015Z] > git --version # 'git version 2.25.1' [2022-06-21T04:08:49.029Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-21T04:08:49.245Z] ---> job-cost.sh [2022-06-21T04:08:49.245Z] lf-activate-venv: SKIPPING [2022-06-21T04:08:49.245Z] INFO: No Stack... [2022-06-21T04:08:49.287Z] [2022-06-21T04:08:49.287Z] GitHub has been notified of this commit’s build result [2022-06-21T04:08:49.287Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-06-21T04:08:49.504Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2022-06-21T04:08:50.028Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-21T04:08:50.028Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-21T04:08:50.028Z] Dload Upload Total Spent Left Speed [2022-06-21T04:08:50.028Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 85090 0 --:--:-- --:--:-- --:--:-- 85090 [2022-06-21T04:08:50.076Z] INFO: Archiving Costs [Pipeline] sh [2022-06-21T04:08:50.389Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives/cost.csv [2022-06-21T04:08:50.389Z] + cut -d, -f6 [Pipeline] lock [2022-06-21T04:08:50.432Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] [2022-06-21T04:08:50.437Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] did not exist. Created. [2022-06-21T04:08:50.437Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2022-06-21T04:08:50.949Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-21T04:08:51.058Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-21T04:08:51.132Z] Stashed 1 file(s) [Pipeline] } [2022-06-21T04:08:51.155Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-21T04:08:51.237Z] $ docker stop --time=1 dd99d6cfaccb8d57670bb3df567627ab1050de2866c677f842b82b67d9dc348e [2022-06-21T04:08:51.309Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-21T04:08:51.309Z] + sudo tee /etc/docker/daemon.new [2022-06-21T04:08:51.309Z] { [2022-06-21T04:08:51.309Z] "registry-mirrors": [ [2022-06-21T04:08:51.309Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-21T04:08:51.309Z] ], [2022-06-21T04:08:51.309Z] "bip": "10.250.0.254/24", [2022-06-21T04:08:51.309Z] "hosts": [ [2022-06-21T04:08:51.309Z] "tcp://0.0.0.0:5555", [2022-06-21T04:08:51.309Z] "unix:///var/run/docker.sock" [2022-06-21T04:08:51.309Z] ], [2022-06-21T04:08:51.309Z] "mtu": 1458, [2022-06-21T04:08:51.309Z] "selinux-enabled": true, [2022-06-21T04:08:51.309Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-21T04:08:51.309Z] } [2022-06-21T04:08:52.406Z] $ docker rm -f dd99d6cfaccb8d57670bb3df567627ab1050de2866c677f842b82b67d9dc348e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-21T04:08:52.870Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-21T04:08:53.216Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T04:09:11.596Z] provisioning config files... [2022-06-21T04:09:11.620Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1007495595926016068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:09:12.005Z] ---> docker-login.sh [2022-06-21T04:09:12.005Z] nexus3.edgexfoundry.org:10001 [2022-06-21T04:09:12.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:09:12.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:09:12.868Z] Configure a credential helper to remove this warning. See [2022-06-21T04:09:12.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:09:12.868Z] [2022-06-21T04:09:12.868Z] Login Succeeded [2022-06-21T04:09:12.868Z] nexus3.edgexfoundry.org:10002 [2022-06-21T04:09:13.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:09:13.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:09:13.140Z] Configure a credential helper to remove this warning. See [2022-06-21T04:09:13.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:09:13.140Z] [2022-06-21T04:09:13.140Z] Login Succeeded [2022-06-21T04:09:13.140Z] nexus3.edgexfoundry.org:10003 [2022-06-21T04:09:13.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:09:13.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:09:13.685Z] Configure a credential helper to remove this warning. See [2022-06-21T04:09:13.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:09:13.685Z] [2022-06-21T04:09:13.685Z] Login Succeeded [2022-06-21T04:09:13.685Z] nexus3.edgexfoundry.org:10004 [2022-06-21T04:09:13.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:09:13.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:09:13.956Z] Configure a credential helper to remove this warning. See [2022-06-21T04:09:13.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:09:13.956Z] [2022-06-21T04:09:13.956Z] Login Succeeded [2022-06-21T04:09:13.956Z] docker.io [2022-06-21T04:09:14.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T04:09:14.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T04:09:14.825Z] Configure a credential helper to remove this warning. See [2022-06-21T04:09:14.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T04:09:14.825Z] [2022-06-21T04:09:14.825Z] Login Succeeded [2022-06-21T04:09:14.825Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T04:09:14.854Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-21T04:09:15.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T04:09:15.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T04:09:15.299Z] ========================================================= [2022-06-21T04:09:15.299Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-21T04:09:15.299Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:09:15.807Z] + 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-21T04:09:16.086Z] Sending build context to Docker daemon 5.16MB [2022-06-21T04:09:16.086Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T04:09:16.086Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-21T04:09:16.363Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-21T04:09:16.364Z] 9b3977197b4f: Pulling fs layer [2022-06-21T04:09:16.364Z] 1a89e8eeedd5: Pulling fs layer [2022-06-21T04:09:16.364Z] 94645a83ff95: Pulling fs layer [2022-06-21T04:09:16.364Z] e6fb740bc735: Pulling fs layer [2022-06-21T04:09:16.364Z] 3a77bd46dcc9: Pulling fs layer [2022-06-21T04:09:16.364Z] 355e64cbe906: Pulling fs layer [2022-06-21T04:09:16.364Z] 63ab81a10011: Pulling fs layer [2022-06-21T04:09:16.364Z] 555d1d1c4555: Pulling fs layer [2022-06-21T04:09:16.364Z] 7d9057610161: Pulling fs layer [2022-06-21T04:09:16.364Z] e6fb740bc735: Waiting [2022-06-21T04:09:16.364Z] 3a77bd46dcc9: Waiting [2022-06-21T04:09:16.364Z] 355e64cbe906: Waiting [2022-06-21T04:09:16.364Z] 63ab81a10011: Waiting [2022-06-21T04:09:16.364Z] 555d1d1c4555: Waiting [2022-06-21T04:09:16.364Z] 7d9057610161: Waiting [2022-06-21T04:09:16.364Z] 94645a83ff95: Download complete [2022-06-21T04:09:16.364Z] 1a89e8eeedd5: Verifying Checksum [2022-06-21T04:09:16.364Z] 1a89e8eeedd5: Download complete [2022-06-21T04:09:16.364Z] 3a77bd46dcc9: Verifying Checksum [2022-06-21T04:09:16.364Z] 3a77bd46dcc9: Download complete [2022-06-21T04:09:16.364Z] 355e64cbe906: Verifying Checksum [2022-06-21T04:09:16.364Z] 355e64cbe906: Download complete [2022-06-21T04:09:16.364Z] 9b3977197b4f: Verifying Checksum [2022-06-21T04:09:16.364Z] 9b3977197b4f: Download complete [2022-06-21T04:09:16.364Z] 63ab81a10011: Verifying Checksum [2022-06-21T04:09:16.364Z] 63ab81a10011: Download complete [2022-06-21T04:09:17.355Z] 9b3977197b4f: Pull complete [2022-06-21T04:09:17.355Z] 7d9057610161: Verifying Checksum [2022-06-21T04:09:17.355Z] 7d9057610161: Download complete [2022-06-21T04:09:17.959Z] 1a89e8eeedd5: Pull complete [2022-06-21T04:09:18.235Z] 94645a83ff95: Pull complete [2022-06-21T04:09:18.836Z] 555d1d1c4555: Verifying Checksum [2022-06-21T04:09:18.836Z] 555d1d1c4555: Download complete [2022-06-21T04:09:19.109Z] e6fb740bc735: Download complete [2022-06-21T04:09:31.519Z] e6fb740bc735: Pull complete [2022-06-21T04:09:31.795Z] 3a77bd46dcc9: Pull complete [2022-06-21T04:09:32.069Z] 355e64cbe906: Pull complete [2022-06-21T04:09:32.344Z] 63ab81a10011: Pull complete [2022-06-21T04:09:39.066Z] 555d1d1c4555: Pull complete [2022-06-21T04:09:40.051Z] 7d9057610161: Pull complete [2022-06-21T04:09:40.051Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-21T04:09:40.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-21T04:09:40.325Z] ---> 819e984ddca1 [2022-06-21T04:09:40.325Z] Step 3/11 : ARG MAKE=make build [2022-06-21T04:09:42.314Z] ---> Running in 511945e03438 [2022-06-21T04:09:42.314Z] Removing intermediate container 511945e03438 [2022-06-21T04:09:42.314Z] ---> 43dc30e4423f [2022-06-21T04:09:42.314Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-21T04:09:42.314Z] ---> Running in ac2077747fee [2022-06-21T04:09:42.943Z] Removing intermediate container ac2077747fee [2022-06-21T04:09:42.943Z] ---> 218ac036d3c3 [2022-06-21T04:09:42.943Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-21T04:09:42.943Z] ---> Running in b11a9ae957a5 [2022-06-21T04:09:44.386Z] Removing intermediate container b11a9ae957a5 [2022-06-21T04:09:44.386Z] ---> 012ac63b86b9 [2022-06-21T04:09:44.386Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T04:09:44.386Z] ---> Running in b48f4d8613e2 [2022-06-21T04:09:46.382Z] Removing intermediate container b48f4d8613e2 [2022-06-21T04:09:46.382Z] ---> cd3d1bf90fc2 [2022-06-21T04:09:46.382Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-21T04:09:46.382Z] ---> Running in 1cec363b6c88 [2022-06-21T04:09:47.363Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T04:09:47.961Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T04:09:48.947Z] OK: 220 MiB in 52 packages [2022-06-21T04:09:49.944Z] Removing intermediate container 1cec363b6c88 [2022-06-21T04:09:49.944Z] ---> c44caf8da6a8 [2022-06-21T04:09:49.944Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-21T04:09:50.559Z] ---> 8ef92403a591 [2022-06-21T04:09:50.559Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T04:09:50.559Z] ---> Running in ecd00dba3fed [2022-06-21T04:10:37.555Z] Removing intermediate container ecd00dba3fed [2022-06-21T04:10:37.555Z] ---> a10214c31d6f [2022-06-21T04:10:37.555Z] Step 10/11 : COPY . . [2022-06-21T04:10:37.555Z] ---> 8d79f139f022 [2022-06-21T04:10:37.555Z] Step 11/11 : RUN ${MAKE} [2022-06-21T04:10:37.555Z] ---> Running in f426d884914d [2022-06-21T04:10:37.555Z] noop [2022-06-21T04:10:37.555Z] Removing intermediate container f426d884914d [2022-06-21T04:10:37.555Z] ---> 6794cdccfd91 [2022-06-21T04:10:37.555Z] Successfully built 6794cdccfd91 [2022-06-21T04:10:37.555Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:10:38.042Z] + docker inspect -f . ci-base-image-arm64 [2022-06-21T04:10:38.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T04:10:38.380Z] prd-ubuntu20.04-docker-arm64-4c-16g-15212 does not seem to be running inside a container [2022-06-21T04:10:38.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-21T04:10:39.851Z] $ docker top 537173a66265cb7b69e17bfb61b38212fb4811241f8d7ba7d969236d4e55d631 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T04:10:40.824Z] + go version [2022-06-21T04:10:40.824Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-21T04:10:40.868Z] $ docker stop --time=1 537173a66265cb7b69e17bfb61b38212fb4811241f8d7ba7d969236d4e55d631 [2022-06-21T04:10:42.570Z] $ docker rm -f 537173a66265cb7b69e17bfb61b38212fb4811241f8d7ba7d969236d4e55d631 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:10:43.519Z] + docker inspect -f . ci-base-image-arm64 [2022-06-21T04:10:43.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T04:10:43.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-15212 does not seem to be running inside a container [2022-06-21T04:10:43.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-21T04:10:45.256Z] $ docker top 4f374cafeaecad1f7034c586af3285d778c7a8364cb36a907431cbb9212d7196 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-21T04:10:46.273Z] + make test [2022-06-21T04:10:46.273Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-21T04:11:18.639Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-21T04:13:10.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-21T04:13:10.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-21T04:13:10.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-21T04:13:10.544Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.462s coverage: 23.7% of statements [2022-06-21T04:13:10.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-21T04:13:10.544Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.335s coverage: 27.6% of statements [2022-06-21T04:13:10.544Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.331s coverage: 78.9% of statements [2022-06-21T04:13:10.544Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.273s coverage: 10.8% of statements [2022-06-21T04:13:13.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.374s coverage: 60.0% of statements [2022-06-21T04:13:13.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-21T04:13:13.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-21T04:13:16.627Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.435s coverage: 34.8% of statements [2022-06-21T04:13:16.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-21T04:13:18.628Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.273s coverage: 85.4% of statements [2022-06-21T04:13:18.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-21T04:13:18.628Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-21T04:13:18.628Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.538s coverage: 65.1% of statements [2022-06-21T04:13:21.264Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.160s coverage: 89.2% of statements [2022-06-21T04:13:21.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-21T04:13:24.657Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.243s coverage: 4.7% of statements [2022-06-21T04:13:24.657Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-21T04:13:24.935Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-21T04:13:24.935Z] GO111MODULE=on go vet ./... [2022-06-21T04:15:01.843Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-21T04:15:01.843Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-21T04:15:01.843Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-21T04:15:01.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-21T04:15:01.927Z] $ docker stop --time=1 4f374cafeaecad1f7034c586af3285d778c7a8364cb36a907431cbb9212d7196 [2022-06-21T04:15:03.740Z] $ docker rm -f 4f374cafeaecad1f7034c586af3285d778c7a8364cb36a907431cbb9212d7196 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-21T04:15:05.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-21T04:15:05.369Z] Warning: overwriting stash ‘coverage-report’ [2022-06-21T04:15:06.014Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T04:15:06.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-21T04:15:06.992Z] + ls -al . [2022-06-21T04:15:06.992Z] total 300 [2022-06-21T04:15:06.992Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 04:14 . [2022-06-21T04:15:06.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 04:08 .. [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 21 04:08 .dockerignore [2022-06-21T04:15:06.992Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 04:08 .git [2022-06-21T04:15:06.992Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 04:08 .github [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 21 04:08 .gitignore [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 21 04:08 .golangci.yml [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 21 04:08 CHANGELOG.md [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 04:08 GOVERNANCE.md [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 21 04:08 Jenkinsfile [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 21 04:08 LICENSE [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 21 04:08 Makefile [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 21 04:08 OWNERS.md [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 21 04:08 README.md [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 04:06 VERSION [2022-06-21T04:15:06.992Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 04:08 bin [2022-06-21T04:15:06.992Z] -rw-r--r-- 1 jenkins jenkins 131190 Jun 21 04:13 coverage.out [2022-06-21T04:15:06.992Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 04:08 example [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 21 04:08 go.mod [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 35641 Jun 21 04:08 go.sum [2022-06-21T04:15:06.992Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 21 04:08 internal [2022-06-21T04:15:06.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 04:08 openapi [2022-06-21T04:15:06.992Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 04:08 pkg [2022-06-21T04:15:06.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 04:08 snap [2022-06-21T04:15:06.992Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 21 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:15:07.448Z] + 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=1d2b327230836791ee67d209d46e90ff392335da --label arch=arm64 --label version=0.0.0 . [2022-06-21T04:15:08.054Z] Sending build context to Docker daemon 5.292MB [2022-06-21T04:15:08.054Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T04:15:08.054Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-21T04:15:08.054Z] ---> 6794cdccfd91 [2022-06-21T04:15:08.054Z] Step 3/25 : ARG MAKE=make build [2022-06-21T04:15:08.054Z] ---> Running in 35392f297802 [2022-06-21T04:15:08.657Z] Removing intermediate container 35392f297802 [2022-06-21T04:15:08.657Z] ---> ab903f2efb4c [2022-06-21T04:15:08.657Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-21T04:15:08.657Z] ---> Running in 88920d32bfb8 [2022-06-21T04:15:08.933Z] Removing intermediate container 88920d32bfb8 [2022-06-21T04:15:08.933Z] ---> 22bafc42ce2b [2022-06-21T04:15:08.933Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-21T04:15:08.933Z] ---> Running in dfbb2d9beccf [2022-06-21T04:15:09.223Z] Removing intermediate container dfbb2d9beccf [2022-06-21T04:15:09.223Z] ---> 3802ddcf53b2 [2022-06-21T04:15:09.223Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T04:15:09.498Z] ---> Running in 09c3c79fff15 [2022-06-21T04:15:10.949Z] Removing intermediate container 09c3c79fff15 [2022-06-21T04:15:10.949Z] ---> 046e9e6211b8 [2022-06-21T04:15:10.949Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-21T04:15:11.233Z] ---> Running in e5f5d782b484 [2022-06-21T04:15:12.225Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T04:15:13.210Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T04:15:13.811Z] OK: 220 MiB in 52 packages [2022-06-21T04:15:14.796Z] Removing intermediate container e5f5d782b484 [2022-06-21T04:15:14.796Z] ---> 92c494beb4ee [2022-06-21T04:15:14.796Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-21T04:15:15.393Z] ---> f04ed67f01b5 [2022-06-21T04:15:15.393Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T04:15:15.393Z] ---> Running in f6cec0502d13 [2022-06-21T04:15:17.373Z] Removing intermediate container f6cec0502d13 [2022-06-21T04:15:17.373Z] ---> 385fbe9d17df [2022-06-21T04:15:17.373Z] Step 10/25 : COPY . . [2022-06-21T04:15:18.365Z] ---> 3fa943a625ce [2022-06-21T04:15:18.365Z] Step 11/25 : RUN ${MAKE} [2022-06-21T04:15:18.642Z] ---> Running in acf418328359 [2022-06-21T04:15:19.626Z] 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-21T04:17:26.528Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-21T04:17:26.528Z] Removing intermediate container acf418328359 [2022-06-21T04:17:26.528Z] ---> a5a9b9243331 [2022-06-21T04:17:26.528Z] Step 12/25 : FROM alpine:3.14 [2022-06-21T04:17:26.528Z] 3.14: Pulling from library/alpine [2022-06-21T04:17:26.528Z] 455c02918c45: Pulling fs layer [2022-06-21T04:17:26.528Z] 455c02918c45: Verifying Checksum [2022-06-21T04:17:26.528Z] 455c02918c45: Download complete [2022-06-21T04:17:26.528Z] 455c02918c45: Pull complete [2022-06-21T04:17:26.528Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-21T04:17:26.528Z] Status: Downloaded newer image for alpine:3.14 [2022-06-21T04:17:26.528Z] ---> ac73e934f311 [2022-06-21T04:17:26.528Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-21T04:17:26.528Z] ---> Running in 8d34ef376534 [2022-06-21T04:17:26.528Z] Removing intermediate container 8d34ef376534 [2022-06-21T04:17:26.528Z] ---> ec455b28e345 [2022-06-21T04:17:26.528Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T04:17:26.807Z] ---> Running in b24875226191 [2022-06-21T04:17:28.265Z] Removing intermediate container b24875226191 [2022-06-21T04:17:28.265Z] ---> a736c5715de0 [2022-06-21T04:17:28.265Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-21T04:17:28.555Z] ---> Running in 3eb5d4674f9b [2022-06-21T04:17:29.548Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-21T04:17:30.528Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-21T04:17:31.121Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-21T04:17:31.393Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-21T04:17:31.393Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-21T04:17:31.393Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-21T04:17:31.664Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-21T04:17:31.664Z] Executing busybox-1.33.1-r7.trigger [2022-06-21T04:17:31.664Z] OK: 8 MiB in 19 packages [2022-06-21T04:17:32.643Z] Removing intermediate container 3eb5d4674f9b [2022-06-21T04:17:32.643Z] ---> 62432933c089 [2022-06-21T04:17:32.643Z] Step 16/25 : WORKDIR / [2022-06-21T04:17:32.643Z] ---> Running in 760ebc737fc5 [2022-06-21T04:17:32.918Z] Removing intermediate container 760ebc737fc5 [2022-06-21T04:17:32.918Z] ---> e88c89c4f6af [2022-06-21T04:17:32.918Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-21T04:17:33.514Z] ---> fbbd19498772 [2022-06-21T04:17:33.514Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-21T04:17:34.952Z] ---> 99eb2ad3a64b [2022-06-21T04:17:34.952Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-21T04:17:35.236Z] ---> 558e66be759c [2022-06-21T04:17:35.236Z] Step 20/25 : EXPOSE 59999 [2022-06-21T04:17:35.512Z] ---> Running in 1519c791c998 [2022-06-21T04:17:35.794Z] Removing intermediate container 1519c791c998 [2022-06-21T04:17:35.794Z] ---> 69dcb2c3524f [2022-06-21T04:17:35.794Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-21T04:17:35.794Z] ---> Running in 18ba50277583 [2022-06-21T04:17:36.065Z] Removing intermediate container 18ba50277583 [2022-06-21T04:17:36.065Z] ---> 5ce8e81c559f [2022-06-21T04:17:36.066Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-21T04:17:36.066Z] ---> Running in 4493314e09da [2022-06-21T04:17:36.342Z] Removing intermediate container 4493314e09da [2022-06-21T04:17:36.342Z] ---> 86219302f727 [2022-06-21T04:17:36.342Z] Step 23/25 : LABEL arch=arm64 [2022-06-21T04:17:36.616Z] ---> Running in 9a0e1523e5b3 [2022-06-21T04:17:36.890Z] Removing intermediate container 9a0e1523e5b3 [2022-06-21T04:17:36.890Z] ---> ec7707f79dd3 [2022-06-21T04:17:36.890Z] Step 24/25 : LABEL git_sha=1d2b327230836791ee67d209d46e90ff392335da [2022-06-21T04:17:36.890Z] ---> Running in bc5751a7a962 [2022-06-21T04:17:37.162Z] Removing intermediate container bc5751a7a962 [2022-06-21T04:17:37.162Z] ---> 28c9b91b2817 [2022-06-21T04:17:37.162Z] Step 25/25 : LABEL version=0.0.0 [2022-06-21T04:17:37.162Z] ---> Running in 7888b886f624 [2022-06-21T04:17:37.435Z] Removing intermediate container 7888b886f624 [2022-06-21T04:17:37.435Z] ---> 827fa79ff0be [2022-06-21T04:17:37.435Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-21T04:17:37.435Z] Successfully built 827fa79ff0be [2022-06-21T04:17:37.435Z] 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-21T04:17:38.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T04:17:38.226Z] [2022-06-21T04:17:38.226Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:17:38.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T04:17:38.909Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-21T04:17:38.909Z] 8998bd30e6a1: Pulling fs layer [2022-06-21T04:17:38.909Z] 04944245beec: Pulling fs layer [2022-06-21T04:17:38.909Z] 699f458cf7ca: Pulling fs layer [2022-06-21T04:17:38.909Z] 765212b225bb: Pulling fs layer [2022-06-21T04:17:38.909Z] f23df028b6ca: Pulling fs layer [2022-06-21T04:17:38.909Z] d65c8cfc05b1: Pulling fs layer [2022-06-21T04:17:38.909Z] 2437ff75d9bd: Pulling fs layer [2022-06-21T04:17:38.909Z] 765212b225bb: Waiting [2022-06-21T04:17:38.909Z] 2437ff75d9bd: Waiting [2022-06-21T04:17:38.909Z] f23df028b6ca: Waiting [2022-06-21T04:17:38.909Z] d65c8cfc05b1: Waiting [2022-06-21T04:17:38.909Z] 04944245beec: Verifying Checksum [2022-06-21T04:17:38.909Z] 04944245beec: Download complete [2022-06-21T04:17:38.909Z] 765212b225bb: Download complete [2022-06-21T04:17:38.909Z] f23df028b6ca: Download complete [2022-06-21T04:17:38.909Z] d65c8cfc05b1: Verifying Checksum [2022-06-21T04:17:38.909Z] d65c8cfc05b1: Download complete [2022-06-21T04:17:39.184Z] 699f458cf7ca: Verifying Checksum [2022-06-21T04:17:39.184Z] 699f458cf7ca: Download complete [2022-06-21T04:17:39.459Z] 8998bd30e6a1: Verifying Checksum [2022-06-21T04:17:39.459Z] 8998bd30e6a1: Download complete [2022-06-21T04:17:42.085Z] 2437ff75d9bd: Verifying Checksum [2022-06-21T04:17:42.085Z] 2437ff75d9bd: Download complete [2022-06-21T04:17:43.539Z] 8998bd30e6a1: Pull complete [2022-06-21T04:17:43.813Z] 04944245beec: Pull complete [2022-06-21T04:17:45.241Z] 699f458cf7ca: Pull complete [2022-06-21T04:17:45.515Z] 765212b225bb: Pull complete [2022-06-21T04:17:46.111Z] f23df028b6ca: Pull complete [2022-06-21T04:17:46.383Z] d65c8cfc05b1: Pull complete [2022-06-21T04:18:01.477Z] 2437ff75d9bd: Pull complete [2022-06-21T04:18:01.477Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-21T04:18:01.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T04:18:01.477Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T04:18:01.855Z] prd-ubuntu20.04-docker-arm64-4c-16g-15212 does not seem to be running inside a container [2022-06-21T04:18:01.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-21T04:18:04.642Z] $ docker top 4ae8b357bfd321083b2614c20bb8b0a337ab5e15e1b8a33a4e101c5ccb3f7649 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:18:05.624Z] ---> job-cost.sh [2022-06-21T04:18:05.624Z] lf-activate-venv: SKIPPING [2022-06-21T04:18:05.624Z] INFO: No Stack... [2022-06-21T04:18:06.220Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-21T04:18:07.204Z] INFO: Archiving Costs [Pipeline] sh [2022-06-21T04:18:07.892Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-06-21T04:18:07.892Z] + cut -d, -f6 [Pipeline] lock [2022-06-21T04:18:07.985Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] [2022-06-21T04:18:07.990Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] did not exist. Created. [2022-06-21T04:18:07.990Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-21T04:18:08.755Z] /w/workspace/device-sdk-go/1@tmp/durable-b82a152b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-21T04:18:09.599Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-21T04:18:09.637Z] Warning: overwriting stash ‘stack-cost’ [2022-06-21T04:18:09.750Z] Stashed 1 file(s) [Pipeline] } [2022-06-21T04:18:09.765Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-21T04:18:09.851Z] $ docker stop --time=1 4ae8b357bfd321083b2614c20bb8b0a337ab5e15e1b8a33a4e101c5ccb3f7649 [2022-06-21T04:18:11.435Z] $ docker rm -f 4ae8b357bfd321083b2614c20bb8b0a337ab5e15e1b8a33a4e101c5ccb3f7649 [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-21T04:18:12.488Z] provisioning config files... [2022-06-21T04:18:12.498Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/config6823465964686016902tmp [Pipeline] { [Pipeline] sh [2022-06-21T04:18:12.829Z] + set +x [2022-06-21T04:18:12.829Z] + curl -s https://codecov.io/bash [2022-06-21T04:18:12.829Z] + bash -s -- [2022-06-21T04:18:12.829Z] [2022-06-21T04:18:12.829Z] _____ _ [2022-06-21T04:18:12.829Z] / ____| | | [2022-06-21T04:18:12.829Z] | | ___ __| | ___ ___ _____ __ [2022-06-21T04:18:12.829Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-21T04:18:12.829Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-21T04:18:12.829Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-21T04:18:12.829Z] Bash-1.0.6 [2022-06-21T04:18:12.829Z] [2022-06-21T04:18:12.829Z] [2022-06-21T04:18:12.829Z] ==> git version 2.25.1 found [2022-06-21T04:18:12.829Z] ==> 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-21T04:18:12.829Z] Release-Date: 2020-01-08 [2022-06-21T04:18:12.829Z] 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-21T04:18:12.829Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-21T04:18:12.829Z] ==> Jenkins CI detected. [2022-06-21T04:18:12.829Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1181 [2022-06-21T04:18:12.829Z] project root: . [2022-06-21T04:18:12.829Z] --> token set from env [2022-06-21T04:18:12.829Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-21T04:18:12.829Z] ==> Running gcov in . (disable via -X gcov) [2022-06-21T04:18:12.829Z] ==> Python coveragepy not found [2022-06-21T04:18:12.829Z] ==> Searching for coverage reports in: [2022-06-21T04:18:12.829Z] + . [2022-06-21T04:18:12.829Z] -> Found 1 reports [2022-06-21T04:18:12.829Z] ==> Detecting git/mercurial file structure [2022-06-21T04:18:12.829Z] ==> Reading reports [2022-06-21T04:18:13.089Z] + ./coverage.out bytes=131190 [2022-06-21T04:18:13.089Z] ==> Appending adjustments [2022-06-21T04:18:13.089Z] https://docs.codecov.io/docs/fixing-reports [2022-06-21T04:18:13.348Z] + Found adjustments [2022-06-21T04:18:13.348Z] ==> Gzipping contents [2022-06-21T04:18:13.348Z] 20K /tmp/codecov.e89mwS.gz [2022-06-21T04:18:13.348Z] ==> Uploading reports [2022-06-21T04:18:13.348Z] url: https://codecov.io [2022-06-21T04:18:13.348Z] query: branch=PR-1181&commit=1d2b327230836791ee67d209d46e90ff392335da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1181%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1181&job=&cmd_args= [2022-06-21T04:18:13.348Z] -> Pinging Codecov [2022-06-21T04:18:13.348Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1181&commit=1d2b327230836791ee67d209d46e90ff392335da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1181%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1181&job=&cmd_args= [2022-06-21T04:18:13.609Z] -> Uploading to [2022-06-21T04:18:13.609Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-21/7E55EF52A471D76F132DFD9A03CDDE97/1d2b327230836791ee67d209d46e90ff392335da/f1d997af-b31d-43e1-8f58-35386e0b4de3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220621T041813Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e45a0d903e9b1bea8b72a5cf5c421755251c104173a1fca342f01d5bd7453d62 [2022-06-21T04:18:13.609Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-21T04:18:13.609Z] Dload Upload Total Spent Left Speed [2022-06-21T04:18:13.871Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16852 0 0 100 16852 0 75569 --:--:-- --:--:-- --:--:-- 75569 [2022-06-21T04:18:13.871Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1d2b327230836791ee67d209d46e90ff392335da [Pipeline] } [2022-06-21T04:18:13.895Z] 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-21T04:18:15.528Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives ] [2022-06-21T04:18:15.528Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives [2022-06-21T04:18:15.528Z] total 16 [2022-06-21T04:18:15.528Z] drwxr-xr-x 3 root root 4096 Jun 21 04:08 . [2022-06-21T04:18:15.528Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 21 04:08 .. [2022-06-21T04:18:15.528Z] drwxr-xr-x 2 root root 4096 Jun 21 04:08 cost [2022-06-21T04:18:15.528Z] -rw-r--r-- 1 root root 85 Jun 21 04:08 cost.csv [2022-06-21T04:18:15.528Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives [2022-06-21T04:18:15.528Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives [2022-06-21T04:18:15.528Z] total 16 [2022-06-21T04:18:15.528Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 04:08 . [2022-06-21T04:18:15.528Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 21 04:08 .. [2022-06-21T04:18:15.528Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 04:08 cost [2022-06-21T04:18:15.528Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 21 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:18:15.860Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:18:16.755Z] ---> package-listing.sh [2022-06-21T04:18:16.756Z] ++ facter osfamily [2022-06-21T04:18:16.756Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-21T04:18:17.015Z] + OS_FAMILY=debian [2022-06-21T04:18:17.015Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1181 [2022-06-21T04:18:17.015Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-21T04:18:17.015Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-21T04:18:17.015Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-21T04:18:17.015Z] + PACKAGES=/tmp/packages_start.txt [2022-06-21T04:18:17.015Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1181 ']' [2022-06-21T04:18:17.015Z] + PACKAGES=/tmp/packages_end.txt [2022-06-21T04:18:17.015Z] + case "${OS_FAMILY}" in [2022-06-21T04:18:17.015Z] + dpkg -l [2022-06-21T04:18:17.015Z] + grep '^ii' [2022-06-21T04:18:17.015Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-21T04:18:17.015Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-21T04:18:17.015Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-21T04:18:17.015Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1181 ']' [2022-06-21T04:18:17.015Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives/ [2022-06-21T04:18:17.015Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives/ [Pipeline] echo [2022-06-21T04:18:17.048Z] 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-1181/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-21T04:18:17.343Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T04:18:17.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T04:18:17.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T04:18:18.135Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2022-06-21T04:18:18.174Z] $ 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-1181/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-1181 -v /w/workspace/gexfoundry_device-sdk-go_PR-1181:/w/workspace/gexfoundry_device-sdk-go_PR-1181:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-21T04:18:18.408Z] $ docker top 5d8ff04e1ff8af8b22e3fec2a09ad48354ceea2cceb6d48ae6cde17cef2297df -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T04:18:18.817Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-21T04:18:19.127Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-21T04:18:19.442Z] + ls /var/log/sa-host [2022-06-21T04:18:19.442Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T04:18:19.628Z] provisioning config files... [2022-06-21T04:18:19.641Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/config5207106771380149461tmp [Pipeline] { [Pipeline] echo [2022-06-21T04:18:19.688Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:18:20.002Z] ---> create-netrc.sh [Pipeline] } [2022-06-21T04:18:20.030Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:18:20.437Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-21T04:18:20.470Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:18:20.784Z] ---> sudo-logs.sh [2022-06-21T04:18:20.785Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-21T04:18:20.894Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:18:21.211Z] ---> job-cost.sh [2022-06-21T04:18:21.212Z] lf-activate-venv: SKIPPING [2022-06-21T04:18:21.212Z] DEBUG: total: 0.2199999988079071 [2022-06-21T04:18:21.212Z] INFO: Retrieving Stack Cost... [2022-06-21T04:18:21.785Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-21T04:18:22.358Z] INFO: Archiving Costs [Pipeline] echo [2022-06-21T04:18:22.389Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T04:18:22.701Z] ---> logs-deploy.sh [2022-06-21T04:18:22.701Z] lf-activate-venv: SKIPPING [2022-06-21T04:18:22.701Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1181/1 [2022-06-21T04:18:22.701Z] INFO: archiving workspace using pattern(s): [2022-06-21T04:18:23.641Z] Archives upload complete. [2022-06-21T04:18:23.641Z] INFO: archiving logs to Nexus