Pull request #1202 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 05709587d91994e95fbbf030ae60546eede8820e rather than 00b9a24ffb44d8f1807231066c19aa1f6134bdec Obtained Jenkinsfile from 05709587d91994e95fbbf030ae60546eede8820e 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-ssh11139287174231295251.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh7054298198505509411.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-1202/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-1202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15543066255978207897.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-1202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8417122615923323508.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh16844362360113880093.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-1202/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-1202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14147470914502911640.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21260 in /w/workspace/gexfoundry_device-sdk-go_PR-1202 [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-1202 # 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 05709587d91994e95fbbf030ae60546eede8820e into PR head commit 00b9a24ffb44d8f1807231066c19aa1f6134bdec Merge succeeded, producing 00b9a24ffb44d8f1807231066c19aa1f6134bdec Checking out Revision 00b9a24ffb44d8f1807231066c19aa1f6134bdec (PR-1202) > 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/1202/head:refs/remotes/origin/PR-1202 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00b9a24ffb44d8f1807231066c19aa1f6134bdec # 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 05709587d91994e95fbbf030ae60546eede8820e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00b9a24ffb44d8f1807231066c19aa1f6134bdec # timeout=10 Commit message: "fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation." First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-27T19:00:58.108Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-27T19:00:58.298Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-27T19:00:58.401Z] ========================================================= [2022-07-27T19:00:58.401Z] EdgeX Global Pipelines Version Info [2022-07-27T19:00:58.401Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:00:59.204Z] ------------------- [2022-07-27T19:00:59.204Z] stable info: [2022-07-27T19:00:59.204Z] ------------------- [2022-07-27T19:00:59.204Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T19:00:59.204Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T19:00:59.204Z] Message: update stable to v1.0.238 [2022-07-27T19:00:59.781Z] ------------------- [2022-07-27T19:00:59.781Z] experimental info: [2022-07-27T19:00:59.781Z] ------------------- [2022-07-27T19:00:59.781Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-27T19:00:59.781Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-27T19:00:59.781Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-27T19:01:00.160Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-27T19:01:00.198Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-27T19:01:00.241Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-27T19:01:00.291Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-27T19:01:00.342Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-27T19:01:00.387Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-27T19:01:00.433Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-27T19:01:00.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-27T19:01:00.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-27T19:01:00.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-27T19:01:00.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-27T19:01:00.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-27T19:01:00.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-27T19:01:00.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-27T19:01:00.785Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-27T19:01:00.829Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T19:01:00.874Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T19:01:00.917Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-27T19:01:00.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-27T19:01:01.009Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-27T19:01:01.050Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-27T19:01:01.099Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-27T19:01:01.146Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-27T19:01:01.197Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-27T19:01:01.243Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-27T19:01:01.287Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-27T19:01:01.332Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-27T19:01:01.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1202 [Pipeline] echo [2022-07-27T19:01:01.420Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1202 [Pipeline] echo [2022-07-27T19:01:01.464Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1202 [Pipeline] echo [2022-07-27T19:01:01.507Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00b9a24ffb44d8f1807231066c19aa1f6134bdec [Pipeline] echo [2022-07-27T19:01:01.551Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00b9a24 [Pipeline] echo [2022-07-27T19:01:01.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T19:01:01.717Z] provisioning config files... [2022-07-27T19:01:01.731Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config8757228228765479254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:01:02.091Z] ---> docker-login.sh [2022-07-27T19:01:02.091Z] nexus3.edgexfoundry.org:10001 [2022-07-27T19:01:02.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:01:02.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:01:02.613Z] Configure a credential helper to remove this warning. See [2022-07-27T19:01:02.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:01:02.613Z] [2022-07-27T19:01:02.613Z] Login Succeeded [2022-07-27T19:01:02.613Z] nexus3.edgexfoundry.org:10002 [2022-07-27T19:01:02.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:01:02.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:01:02.876Z] Configure a credential helper to remove this warning. See [2022-07-27T19:01:02.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:01:02.876Z] [2022-07-27T19:01:02.876Z] Login Succeeded [2022-07-27T19:01:02.876Z] nexus3.edgexfoundry.org:10003 [2022-07-27T19:01:02.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:01:02.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:01:02.876Z] Configure a credential helper to remove this warning. See [2022-07-27T19:01:02.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:01:02.876Z] [2022-07-27T19:01:02.876Z] Login Succeeded [2022-07-27T19:01:02.876Z] nexus3.edgexfoundry.org:10004 [2022-07-27T19:01:03.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:01:03.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:01:03.140Z] Configure a credential helper to remove this warning. See [2022-07-27T19:01:03.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:01:03.140Z] [2022-07-27T19:01:03.140Z] Login Succeeded [2022-07-27T19:01:03.140Z] docker.io [2022-07-27T19:01:03.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:01:03.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:01:03.714Z] Configure a credential helper to remove this warning. See [2022-07-27T19:01:03.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:01:03.714Z] [2022-07-27T19:01:03.714Z] Login Succeeded [2022-07-27T19:01:03.714Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T19:01:03.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-27T19:01:04.410Z] + git rev-list -1 --merges 00b9a24ffb44d8f1807231066c19aa1f6134bdec~1..00b9a24ffb44d8f1807231066c19aa1f6134bdec [Pipeline] echo [2022-07-27T19:01:04.466Z] -----------> git rev-list -1 --merges 00b9a24ffb44d8f1807231066c19aa1f6134bdec~1..00b9a24ffb44d8f1807231066c19aa1f6134bdec 00b9a24ffb44d8f1807231066c19aa1f6134bdec [false] [Pipeline] sh [2022-07-27T19:01:04.781Z] + git log --format=format:%s -1 00b9a24ffb44d8f1807231066c19aa1f6134bdec [Pipeline] echo [2022-07-27T19:01:04.825Z] ========================================================= [2022-07-27T19:01:04.825Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-27T19:01:04.825Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T19:01:05.293Z] + git log --format=format:%s -1 00b9a24ffb44d8f1807231066c19aa1f6134bdec [Pipeline] echo [2022-07-27T19:01:05.323Z] [semverPrep] GIT_COMMIT: 00b9a24ffb44d8f1807231066c19aa1f6134bdec, Commit Message: fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation. [Pipeline] echo [2022-07-27T19:01:05.355Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-27T19:01:05.766Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-27T19:01:05.766Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-27T19:01:05.766Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-27T19:01:05.766Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-27T19:01:05.766Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-27T19:01:05.766Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-27T19:01:05.766Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:01:06.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T19:01:06.278Z] [2022-07-27T19:01:06.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:01:06.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T19:01:06.662Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-27T19:01:06.662Z] b85a868b505f: Pulling fs layer [2022-07-27T19:01:06.662Z] e2be974225ed: Pulling fs layer [2022-07-27T19:01:06.662Z] 339a4e72a1f5: Pulling fs layer [2022-07-27T19:01:06.662Z] 988bab9f4d93: Pulling fs layer [2022-07-27T19:01:06.662Z] 1469e6f7b9e6: Pulling fs layer [2022-07-27T19:01:06.662Z] eaf3925da568: Pulling fs layer [2022-07-27T19:01:06.662Z] 988bab9f4d93: Waiting [2022-07-27T19:01:06.662Z] 1469e6f7b9e6: Waiting [2022-07-27T19:01:06.662Z] bab4dde63d76: Pulling fs layer [2022-07-27T19:01:06.662Z] bde34c3a00c8: Pulling fs layer [2022-07-27T19:01:06.662Z] b352a97aabf1: Pulling fs layer [2022-07-27T19:01:06.662Z] 4872d77fe225: Pulling fs layer [2022-07-27T19:01:06.662Z] 5851b861e8e6: Pulling fs layer [2022-07-27T19:01:06.662Z] eaf3925da568: Waiting [2022-07-27T19:01:06.662Z] bab4dde63d76: Waiting [2022-07-27T19:01:06.662Z] bde34c3a00c8: Waiting [2022-07-27T19:01:06.662Z] 4872d77fe225: Waiting [2022-07-27T19:01:06.662Z] 5851b861e8e6: Waiting [2022-07-27T19:01:06.662Z] e2be974225ed: Verifying Checksum [2022-07-27T19:01:06.662Z] e2be974225ed: Download complete [2022-07-27T19:01:06.662Z] 988bab9f4d93: Verifying Checksum [2022-07-27T19:01:06.662Z] 988bab9f4d93: Download complete [2022-07-27T19:01:06.926Z] 1469e6f7b9e6: Verifying Checksum [2022-07-27T19:01:06.926Z] 1469e6f7b9e6: Download complete [2022-07-27T19:01:06.926Z] 339a4e72a1f5: Verifying Checksum [2022-07-27T19:01:06.926Z] 339a4e72a1f5: Download complete [2022-07-27T19:01:06.926Z] eaf3925da568: Verifying Checksum [2022-07-27T19:01:06.926Z] eaf3925da568: Download complete [2022-07-27T19:01:06.926Z] bde34c3a00c8: Verifying Checksum [2022-07-27T19:01:06.926Z] bde34c3a00c8: Download complete [2022-07-27T19:01:06.926Z] b352a97aabf1: Download complete [2022-07-27T19:01:06.926Z] 4872d77fe225: Verifying Checksum [2022-07-27T19:01:06.926Z] 4872d77fe225: Download complete [2022-07-27T19:01:06.926Z] 5851b861e8e6: Verifying Checksum [2022-07-27T19:01:06.926Z] b85a868b505f: Verifying Checksum [2022-07-27T19:01:06.926Z] b85a868b505f: Download complete [2022-07-27T19:01:07.495Z] bab4dde63d76: Verifying Checksum [2022-07-27T19:01:07.495Z] bab4dde63d76: Download complete [2022-07-27T19:01:08.066Z] b85a868b505f: Pull complete [2022-07-27T19:01:08.326Z] e2be974225ed: Pull complete [2022-07-27T19:01:08.899Z] 339a4e72a1f5: Pull complete [2022-07-27T19:01:08.899Z] 988bab9f4d93: Pull complete [2022-07-27T19:01:09.160Z] 1469e6f7b9e6: Pull complete [2022-07-27T19:01:09.160Z] eaf3925da568: Pull complete [2022-07-27T19:01:11.069Z] bab4dde63d76: Pull complete [2022-07-27T19:01:11.069Z] bde34c3a00c8: Pull complete [2022-07-27T19:01:11.069Z] b352a97aabf1: Pull complete [2022-07-27T19:01:11.330Z] 4872d77fe225: Pull complete [2022-07-27T19:01:11.330Z] 5851b861e8e6: Pull complete [2022-07-27T19:01:11.330Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-27T19:01:11.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-27T19:01:11.330Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T19:01:11.561Z] prd-ubuntu20.04-docker-8c-8g-21260 does not seem to be running inside a container [2022-07-27T19:01:11.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@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-devops/py-git-semver:0.1.4 cat [2022-07-27T19:01:12.839Z] $ docker top 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa -eo pid,comm [2022-07-27T19:01:12.904Z] 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-07-27T19:01:12.904Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-27T19:01:13.046Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T19:01:13.046Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T19:01:13.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T19:01:13.181Z] $ docker exec 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa ssh-agent [2022-07-27T19:01:13.294Z] SSH_AUTH_SOCK=/tmp/ssh-IKmXq8s4JcZE/agent.33 [2022-07-27T19:01:13.294Z] SSH_AGENT_PID=40 [2022-07-27T19:01:13.302Z] Running ssh-add (command line suppressed) [2022-07-27T19:01:13.429Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_1161196017983407548.key (/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_1161196017983407548.key) [2022-07-27T19:01:13.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T19:01:13.778Z] + git tag --points-at HEAD [Pipeline] } [2022-07-27T19:01:13.802Z] $ docker exec --env ******** --env ******** 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa ssh-agent -k [2022-07-27T19:01:13.910Z] unset SSH_AUTH_SOCK; [2022-07-27T19:01:13.911Z] unset SSH_AGENT_PID; [2022-07-27T19:01:13.911Z] echo Agent pid 40 killed; [2022-07-27T19:01:13.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-27T19:01:14.014Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-27T19:01:14.014Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-27T19:01:14.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-27T19:01:14.135Z] $ docker exec 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa ssh-agent [2022-07-27T19:01:14.266Z] SSH_AUTH_SOCK=/tmp/ssh-P51ZQ05x6jsd/agent.74 [2022-07-27T19:01:14.267Z] SSH_AGENT_PID=80 [2022-07-27T19:01:14.273Z] Running ssh-add (command line suppressed) [2022-07-27T19:01:14.380Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_1289067280516293027.key (/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/private_key_1289067280516293027.key) [2022-07-27T19:01:14.398Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-27T19:01:14.728Z] + git semver init [2022-07-27T19:01:14.989Z] 2022-07-27 19:01:14,926 [run_init] DEBUG init version:0.0.0 force:False [2022-07-27T19:01:14.989Z] 2022-07-27 19:01:14,927 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver [2022-07-27T19:01:14.989Z] 2022-07-27 19:01:14,928 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver [2022-07-27T19:01:14.989Z] 2022-07-27 19:01:14,928 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202, universal_newlines=False, shell=None, istream=None) [2022-07-27T19:01:15.935Z] 2022-07-27 19:01:15,707 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.git/info/exclude [2022-07-27T19:01:15.935Z] 2022-07-27 19:01:15,708 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 with force:False [2022-07-27T19:01:15.935Z] 2022-07-27 19:01:15,708 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 [2022-07-27T19:01:15.935Z] 2022-07-27 19:01:15,714 [execute] INFO git cat-file --batch-check [2022-07-27T19:01:15.935Z] 2022-07-27 19:01:15,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver, universal_newlines=False, shell=None, istream=) [2022-07-27T19:01:15.935Z] 2022-07-27 19:01:15,724 [execute] INFO git cat-file --batch [2022-07-27T19:01:15.935Z] 2022-07-27 19:01:15,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver, universal_newlines=False, shell=None, istream=) [2022-07-27T19:01:15.935Z] 2022-07-27 19:01:15,730 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1202/.semver/PR-1202 [2022-07-27T19:01:15.935Z] 0.0.0 [Pipeline] } [2022-07-27T19:01:15.970Z] $ docker exec --env ******** --env ******** 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa ssh-agent -k [2022-07-27T19:01:16.083Z] unset SSH_AUTH_SOCK; [2022-07-27T19:01:16.083Z] unset SSH_AGENT_PID; [2022-07-27T19:01:16.083Z] echo Agent pid 80 killed; [2022-07-27T19:01:16.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-27T19:01:16.521Z] + git semver [Pipeline] } [2022-07-27T19:01:16.810Z] $ docker stop --time=1 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa [2022-07-27T19:01:18.138Z] $ docker rm -f 7dc72eb41531e7328908b7257668d28df347bcd02cb5db47c55a3a99d6a54efa [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T19:01:18.547Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-27T19:01:18.891Z] Stashed 1 file(s) [Pipeline] echo [2022-07-27T19:01:18.910Z] [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-07-27T19:01:19.506Z] provisioning config files... [2022-07-27T19:01:19.517Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config6717380047118266002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:01:19.876Z] ---> docker-login.sh [2022-07-27T19:01:19.876Z] nexus3.edgexfoundry.org:10001 [2022-07-27T19:01:19.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:01:19.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:01:19.876Z] Configure a credential helper to remove this warning. See [2022-07-27T19:01:19.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:01:19.876Z] [2022-07-27T19:01:19.876Z] Login Succeeded [2022-07-27T19:01:19.876Z] nexus3.edgexfoundry.org:10002 [2022-07-27T19:01:19.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:01:20.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:01:20.138Z] Configure a credential helper to remove this warning. See [2022-07-27T19:01:20.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:01:20.138Z] [2022-07-27T19:01:20.138Z] Login Succeeded [2022-07-27T19:01:20.138Z] nexus3.edgexfoundry.org:10003 [2022-07-27T19:01:20.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:01:20.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:01:20.138Z] Configure a credential helper to remove this warning. See [2022-07-27T19:01:20.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:01:20.138Z] [2022-07-27T19:01:20.138Z] Login Succeeded [2022-07-27T19:01:20.138Z] nexus3.edgexfoundry.org:10004 [2022-07-27T19:01:20.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:01:20.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:01:20.398Z] Configure a credential helper to remove this warning. See [2022-07-27T19:01:20.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:01:20.398Z] [2022-07-27T19:01:20.398Z] Login Succeeded [2022-07-27T19:01:20.398Z] docker.io [2022-07-27T19:01:20.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:01:20.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:01:20.660Z] Configure a credential helper to remove this warning. See [2022-07-27T19:01:20.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:01:20.660Z] [2022-07-27T19:01:20.660Z] Login Succeeded [2022-07-27T19:01:20.660Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T19:01:20.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T19:01:20.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T19:01:20.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T19:01:20.961Z] ========================================================= [2022-07-27T19:01:20.961Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-27T19:01:20.961Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:01:21.443Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-27T19:01:21.443Z] Sending build context to Docker daemon 9.769MB [2022-07-27T19:01:21.443Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T19:01:21.443Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-27T19:01:21.443Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-27T19:01:21.443Z] 2408cc74d12b: Pulling fs layer [2022-07-27T19:01:21.443Z] ea60b727a1ce: Pulling fs layer [2022-07-27T19:01:21.443Z] 30c4a7721957: Pulling fs layer [2022-07-27T19:01:21.443Z] 370296b7ddb6: Pulling fs layer [2022-07-27T19:01:21.443Z] 7c6cee850709: Pulling fs layer [2022-07-27T19:01:21.443Z] 39a5fcdaea64: Pulling fs layer [2022-07-27T19:01:21.443Z] d94ebbe4e438: Pulling fs layer [2022-07-27T19:01:21.443Z] bcfd1f05c69d: Pulling fs layer [2022-07-27T19:01:21.443Z] 59ccb84bbe0f: Pulling fs layer [2022-07-27T19:01:21.443Z] 370296b7ddb6: Waiting [2022-07-27T19:01:21.443Z] 7c6cee850709: Waiting [2022-07-27T19:01:21.443Z] 39a5fcdaea64: Waiting [2022-07-27T19:01:21.443Z] d94ebbe4e438: Waiting [2022-07-27T19:01:21.443Z] bcfd1f05c69d: Waiting [2022-07-27T19:01:21.443Z] 59ccb84bbe0f: Waiting [2022-07-27T19:01:21.443Z] 30c4a7721957: Verifying Checksum [2022-07-27T19:01:21.443Z] 30c4a7721957: Download complete [2022-07-27T19:01:21.443Z] ea60b727a1ce: Download complete [2022-07-27T19:01:21.443Z] 7c6cee850709: Download complete [2022-07-27T19:01:21.703Z] 39a5fcdaea64: Verifying Checksum [2022-07-27T19:01:21.703Z] 39a5fcdaea64: Download complete [2022-07-27T19:01:21.703Z] 2408cc74d12b: Verifying Checksum [2022-07-27T19:01:21.703Z] 2408cc74d12b: Download complete [2022-07-27T19:01:21.703Z] d94ebbe4e438: Download complete [2022-07-27T19:01:21.703Z] 2408cc74d12b: Pull complete [2022-07-27T19:01:21.965Z] ea60b727a1ce: Pull complete [2022-07-27T19:01:21.965Z] 30c4a7721957: Pull complete [2022-07-27T19:01:21.965Z] 59ccb84bbe0f: Verifying Checksum [2022-07-27T19:01:21.965Z] 59ccb84bbe0f: Download complete [2022-07-27T19:01:22.225Z] bcfd1f05c69d: Verifying Checksum [2022-07-27T19:01:22.225Z] bcfd1f05c69d: Download complete [2022-07-27T19:01:22.484Z] 370296b7ddb6: Verifying Checksum [2022-07-27T19:01:22.484Z] 370296b7ddb6: Download complete [2022-07-27T19:01:26.681Z] 370296b7ddb6: Pull complete [2022-07-27T19:01:26.681Z] 7c6cee850709: Pull complete [2022-07-27T19:01:26.681Z] 39a5fcdaea64: Pull complete [2022-07-27T19:01:26.681Z] d94ebbe4e438: Pull complete [2022-07-27T19:01:28.587Z] bcfd1f05c69d: Pull complete [2022-07-27T19:01:28.848Z] 59ccb84bbe0f: Pull complete [2022-07-27T19:01:28.848Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-27T19:01:28.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-27T19:01:28.848Z] ---> a4fb48ad2a94 [2022-07-27T19:01:28.848Z] Step 3/11 : ARG MAKE=make build [2022-07-27T19:01:30.763Z] ---> Running in 21b12fef10d0 [2022-07-27T19:01:30.763Z] Removing intermediate container 21b12fef10d0 [2022-07-27T19:01:30.763Z] ---> 03b500bb11d3 [2022-07-27T19:01:30.763Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-27T19:01:30.763Z] ---> Running in 94a195700fee [2022-07-27T19:01:30.763Z] Removing intermediate container 94a195700fee [2022-07-27T19:01:30.763Z] ---> 408ef8da7a20 [2022-07-27T19:01:30.763Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T19:01:30.763Z] ---> Running in 70f75a85083e [2022-07-27T19:01:30.763Z] Removing intermediate container 70f75a85083e [2022-07-27T19:01:30.763Z] ---> 7e6512a953c2 [2022-07-27T19:01:30.763Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T19:01:31.028Z] ---> Running in 0cb7825a7f04 [2022-07-27T19:01:31.597Z] Removing intermediate container 0cb7825a7f04 [2022-07-27T19:01:31.597Z] ---> 42671f34451e [2022-07-27T19:01:31.597Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T19:01:31.597Z] ---> Running in 2318e40b7236 [2022-07-27T19:01:31.857Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T19:01:32.801Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T19:01:33.063Z] OK: 211 MiB in 51 packages [2022-07-27T19:01:33.325Z] Removing intermediate container 2318e40b7236 [2022-07-27T19:01:33.325Z] ---> c6af2249a4a0 [2022-07-27T19:01:33.325Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-27T19:01:33.585Z] ---> 2c3eca17062d [2022-07-27T19:01:33.585Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T19:01:33.585Z] ---> Running in 6e44fe555425 [2022-07-27T19:01:34.314Z] Still waiting to schedule task [2022-07-27T19:01:34.314Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-27T19:01:51.705Z] Removing intermediate container 6e44fe555425 [2022-07-27T19:01:51.705Z] ---> e5a4672e8561 [2022-07-27T19:01:51.705Z] Step 10/11 : COPY . . [2022-07-27T19:01:51.705Z] ---> 71509e09dbea [2022-07-27T19:01:51.705Z] Step 11/11 : RUN ${MAKE} [2022-07-27T19:01:51.705Z] ---> Running in 29799cfc4d1e [2022-07-27T19:01:51.705Z] noop [2022-07-27T19:01:51.705Z] Removing intermediate container 29799cfc4d1e [2022-07-27T19:01:51.705Z] ---> b5083cb759f7 [2022-07-27T19:01:51.705Z] Successfully built b5083cb759f7 [2022-07-27T19:01:51.705Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:01:52.156Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T19:01:52.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T19:01:52.324Z] prd-ubuntu20.04-docker-8c-8g-21260 does not seem to be running inside a container [2022-07-27T19:01:52.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-27T19:01:52.748Z] $ docker top 4d10dd582a95ac9e52ca4d3e2a03f5cdd711a75d64ee79edab7098385ffd9b04 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T19:01:53.141Z] + go version [2022-07-27T19:01:53.141Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-27T19:01:53.177Z] $ docker stop --time=1 4d10dd582a95ac9e52ca4d3e2a03f5cdd711a75d64ee79edab7098385ffd9b04 [2022-07-27T19:01:54.472Z] $ docker rm -f 4d10dd582a95ac9e52ca4d3e2a03f5cdd711a75d64ee79edab7098385ffd9b04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:01:55.210Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-27T19:01:55.210Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T19:01:55.370Z] prd-ubuntu20.04-docker-8c-8g-21260 does not seem to be running inside a container [2022-07-27T19:01:55.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-27T19:01:55.830Z] $ docker top 7c796ff2fc159c603064f46e48e9c585aa595d7db4c6048f161c3d308a4f25c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T19:01:56.280Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] fileExists [Pipeline] sh [2022-07-27T19:01:56.641Z] + make test [2022-07-27T19:01:56.642Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-27T19:02:03.219Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-27T19:02:15.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.080s coverage: 23.7% of statements [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-27T19:02:15.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.080s coverage: 27.6% of statements [2022-07-27T19:02:15.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.095s coverage: 78.9% of statements [2022-07-27T19:02:15.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 10.8% of statements [2022-07-27T19:02:15.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.068s coverage: 60.0% of statements [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-27T19:02:15.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 34.8% of statements [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-27T19:02:15.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.076s coverage: 85.4% of statements [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-27T19:02:15.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 65.1% of statements [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-27T19:02:15.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.758s coverage: 89.2% of statements [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-27T19:02:15.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-07-27T19:02:15.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-27T19:02:30.317Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-27T19:02:30.317Z] GO111MODULE=on go vet ./... [2022-07-27T19:02:32.227Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T19:02:32.227Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T19:02:32.227Z] ./bin/test-attribution-txt.sh [2022-07-27T19:02:32.227Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-27T19:02:32.227Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-27T19:02:32.227Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-27T19:02:32.227Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-27T19:02:32.227Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-27T19:02:32.227Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-27T19:02:32.227Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-27T19:02:32.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T19:02:32.300Z] $ docker stop --time=1 7c796ff2fc159c603064f46e48e9c585aa595d7db4c6048f161c3d308a4f25c0 [2022-07-27T19:02:34.505Z] $ docker rm -f 7c796ff2fc159c603064f46e48e9c585aa595d7db4c6048f161c3d308a4f25c0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T19:02:35.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T19:02:35.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-27T19:02:35.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T19:02:36.162Z] + ls -al . [2022-07-27T19:02:36.162Z] total 304 [2022-07-27T19:02:36.162Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 19:01 . [2022-07-27T19:02:36.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 19:00 .. [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 19:00 .dockerignore [2022-07-27T19:02:36.162Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 19:02 .git [2022-07-27T19:02:36.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 19:00 .github [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 19:00 .gitignore [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 19:00 .golangci.yml [2022-07-27T19:02:36.162Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 19:01 .semver [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 19:00 CHANGELOG.md [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 19:00 GOVERNANCE.md [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 19:00 Jenkinsfile [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 19:00 LICENSE [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 19:00 Makefile [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 19:00 OWNERS.md [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 19:00 README.md [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 19:01 VERSION [2022-07-27T19:02:36.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 19:00 bin [2022-07-27T19:02:36.162Z] -rw-r--r-- 1 jenkins jenkins 131596 Jul 27 19:02 coverage.out [2022-07-27T19:02:36.162Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 19:00 example [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 19:00 go.mod [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 19:00 go.sum [2022-07-27T19:02:36.162Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 19:00 internal [2022-07-27T19:02:36.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 19:00 openapi [2022-07-27T19:02:36.162Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 19:00 pkg [2022-07-27T19:02:36.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 19:00 snap [2022-07-27T19:02:36.162Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 19:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:02:36.567Z] + 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=00b9a24ffb44d8f1807231066c19aa1f6134bdec --label arch=amd64 --label version=0.0.0 . [2022-07-27T19:02:36.567Z] Sending build context to Docker daemon 9.902MB [2022-07-27T19:02:36.567Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T19:02:36.567Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-27T19:02:36.567Z] ---> b5083cb759f7 [2022-07-27T19:02:36.567Z] Step 3/25 : ARG MAKE=make build [2022-07-27T19:02:36.567Z] ---> Running in 895984653d2a [2022-07-27T19:02:36.827Z] Removing intermediate container 895984653d2a [2022-07-27T19:02:36.827Z] ---> a7d0f8b9fb7d [2022-07-27T19:02:36.827Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-27T19:02:36.827Z] ---> Running in faf4e7d76d0d [2022-07-27T19:02:36.827Z] Removing intermediate container faf4e7d76d0d [2022-07-27T19:02:36.827Z] ---> 3868d4e1c6d6 [2022-07-27T19:02:36.827Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T19:02:36.827Z] ---> Running in 948f38677bc6 [2022-07-27T19:02:37.088Z] Removing intermediate container 948f38677bc6 [2022-07-27T19:02:37.088Z] ---> 76a637683df0 [2022-07-27T19:02:37.088Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T19:02:37.088Z] ---> Running in 0f49dd0241dc [2022-07-27T19:02:37.659Z] Removing intermediate container 0f49dd0241dc [2022-07-27T19:02:37.659Z] ---> 02a433699787 [2022-07-27T19:02:37.659Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T19:02:37.659Z] ---> Running in e019c94c9124 [2022-07-27T19:02:37.919Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T19:02:38.863Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T19:02:39.125Z] OK: 211 MiB in 51 packages [2022-07-27T19:02:39.384Z] Removing intermediate container e019c94c9124 [2022-07-27T19:02:39.384Z] ---> 0cca50569b26 [2022-07-27T19:02:39.384Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-27T19:02:39.643Z] ---> 10b80050fa9e [2022-07-27T19:02:39.643Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T19:02:39.643Z] ---> Running in 14340f658bcc [2022-07-27T19:02:40.214Z] Removing intermediate container 14340f658bcc [2022-07-27T19:02:40.214Z] ---> 8eeaab076bfd [2022-07-27T19:02:40.214Z] Step 10/25 : COPY . . [2022-07-27T19:02:40.802Z] ---> d676ca92568d [2022-07-27T19:02:40.802Z] Step 11/25 : RUN ${MAKE} [2022-07-27T19:02:40.802Z] ---> Running in fe52521dda43 [2022-07-27T19:02:41.063Z] 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-07-27T19:02:55.978Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-27T19:02:59.276Z] Removing intermediate container fe52521dda43 [2022-07-27T19:02:59.276Z] ---> aaaaef0db564 [2022-07-27T19:02:59.276Z] Step 12/25 : FROM alpine:3.16 [2022-07-27T19:02:59.276Z] 3.16: Pulling from library/alpine [2022-07-27T19:02:59.538Z] 530afca65e2e: Pulling fs layer [2022-07-27T19:02:59.796Z] 530afca65e2e: Verifying Checksum [2022-07-27T19:02:59.796Z] 530afca65e2e: Download complete [2022-07-27T19:02:59.796Z] 530afca65e2e: Pull complete [2022-07-27T19:02:59.796Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-27T19:02:59.796Z] Status: Downloaded newer image for alpine:3.16 [2022-07-27T19:02:59.796Z] ---> d7d3d98c851f [2022-07-27T19:02:59.796Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T19:02:59.796Z] ---> Running in df4b4a3fea6e [2022-07-27T19:03:00.056Z] Removing intermediate container df4b4a3fea6e [2022-07-27T19:03:00.056Z] ---> 6476f9f3e889 [2022-07-27T19:03:00.056Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T19:03:00.056Z] ---> Running in 0cac473b5c8d [2022-07-27T19:03:00.625Z] Removing intermediate container 0cac473b5c8d [2022-07-27T19:03:00.625Z] ---> 12e7ea752346 [2022-07-27T19:03:00.625Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-27T19:03:00.625Z] ---> Running in 3c3522327977 [2022-07-27T19:03:00.887Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-27T19:03:01.831Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-27T19:03:02.093Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-27T19:03:02.093Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-27T19:03:02.354Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-27T19:03:02.354Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-27T19:03:02.354Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-27T19:03:02.615Z] Executing busybox-1.35.0-r15.trigger [2022-07-27T19:03:02.615Z] OK: 8 MiB in 19 packages [2022-07-27T19:03:02.875Z] Removing intermediate container 3c3522327977 [2022-07-27T19:03:02.875Z] ---> 65cc322a3b7d [2022-07-27T19:03:02.875Z] Step 16/25 : WORKDIR / [2022-07-27T19:03:02.875Z] ---> Running in 5d3e2057e370 [2022-07-27T19:03:03.135Z] Removing intermediate container 5d3e2057e370 [2022-07-27T19:03:03.135Z] ---> f6dfa6bd9516 [2022-07-27T19:03:03.135Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-27T19:03:03.135Z] ---> 7129a92b65b2 [2022-07-27T19:03:03.135Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-27T19:03:03.703Z] ---> 7be0070bbcf0 [2022-07-27T19:03:03.703Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-27T19:03:03.962Z] ---> c7a4dad85fcb [2022-07-27T19:03:03.962Z] Step 20/25 : EXPOSE 59999 [2022-07-27T19:03:03.962Z] ---> Running in 304d0da75bc2 [2022-07-27T19:03:03.962Z] Removing intermediate container 304d0da75bc2 [2022-07-27T19:03:03.962Z] ---> f5e37502fd00 [2022-07-27T19:03:03.962Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-27T19:03:03.962Z] ---> Running in 222a7622d765 [2022-07-27T19:03:04.222Z] Removing intermediate container 222a7622d765 [2022-07-27T19:03:04.222Z] ---> 5ae6757b0212 [2022-07-27T19:03:04.222Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-27T19:03:04.222Z] ---> Running in 61a8f53d8e05 [2022-07-27T19:03:04.222Z] Removing intermediate container 61a8f53d8e05 [2022-07-27T19:03:04.222Z] ---> abea0dfd8062 [2022-07-27T19:03:04.222Z] Step 23/25 : LABEL arch=amd64 [2022-07-27T19:03:04.222Z] ---> Running in eb504f5ab49a [2022-07-27T19:03:04.481Z] Removing intermediate container eb504f5ab49a [2022-07-27T19:03:04.481Z] ---> 15ee8cbbb2d5 [2022-07-27T19:03:04.481Z] Step 24/25 : LABEL git_sha=00b9a24ffb44d8f1807231066c19aa1f6134bdec [2022-07-27T19:03:04.481Z] ---> Running in 4044da563097 [2022-07-27T19:03:04.481Z] Removing intermediate container 4044da563097 [2022-07-27T19:03:04.481Z] ---> ac929ed7dfb5 [2022-07-27T19:03:04.481Z] Step 25/25 : LABEL version=0.0.0 [2022-07-27T19:03:04.741Z] ---> Running in f25f48c182fd [2022-07-27T19:03:04.741Z] Removing intermediate container f25f48c182fd [2022-07-27T19:03:04.741Z] ---> 7911ac8ed2af [2022-07-27T19:03:04.741Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T19:03:04.741Z] Successfully built 7911ac8ed2af [2022-07-27T19:03:04.741Z] 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-07-27T19:03:05.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T19:03:05.611Z] [2022-07-27T19:03:05.611Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:03:05.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T19:03:05.984Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-27T19:03:05.984Z] 5eb5b503b376: Pulling fs layer [2022-07-27T19:03:05.984Z] 5c69ac0246d0: Pulling fs layer [2022-07-27T19:03:05.984Z] ec43610c2a17: Pulling fs layer [2022-07-27T19:03:05.984Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-27T19:03:05.984Z] 33b1e0a273af: Pulling fs layer [2022-07-27T19:03:05.984Z] 5d3b04190fa2: Pulling fs layer [2022-07-27T19:03:05.984Z] 2f39f015ded8: Pulling fs layer [2022-07-27T19:03:05.984Z] 3a2ae6a8a46f: Waiting [2022-07-27T19:03:05.984Z] 2f39f015ded8: Waiting [2022-07-27T19:03:05.984Z] 33b1e0a273af: Waiting [2022-07-27T19:03:05.984Z] 5d3b04190fa2: Waiting [2022-07-27T19:03:05.984Z] 5c69ac0246d0: Verifying Checksum [2022-07-27T19:03:05.984Z] 5c69ac0246d0: Download complete [2022-07-27T19:03:05.984Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-27T19:03:05.984Z] 3a2ae6a8a46f: Download complete [2022-07-27T19:03:05.984Z] 33b1e0a273af: Verifying Checksum [2022-07-27T19:03:05.984Z] 33b1e0a273af: Download complete [2022-07-27T19:03:06.060Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21261 in /w/workspace/gexfoundry_device-sdk-go_PR-1202 [Pipeline] { [Pipeline] ws [2022-07-27T19:03:06.100Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-07-27T19:03:06.199Z] The recommended git tool is: git [2022-07-27T19:03:06.242Z] 5d3b04190fa2: Verifying Checksum [2022-07-27T19:03:06.242Z] 5d3b04190fa2: Download complete [2022-07-27T19:03:06.242Z] ec43610c2a17: Verifying Checksum [2022-07-27T19:03:06.242Z] ec43610c2a17: Download complete [2022-07-27T19:03:06.242Z] 5eb5b503b376: Download complete [2022-07-27T19:03:06.809Z] 2f39f015ded8: Verifying Checksum [2022-07-27T19:03:06.809Z] 2f39f015ded8: Download complete [2022-07-27T19:03:07.376Z] 5eb5b503b376: Pull complete [2022-07-27T19:03:07.635Z] 5c69ac0246d0: Pull complete [2022-07-27T19:03:08.203Z] ec43610c2a17: Pull complete [2022-07-27T19:03:08.203Z] 3a2ae6a8a46f: Pull complete [2022-07-27T19:03:08.462Z] 33b1e0a273af: Pull complete [2022-07-27T19:03:08.462Z] 5d3b04190fa2: Pull complete [2022-07-27T19:03:12.658Z] 2f39f015ded8: Pull complete [2022-07-27T19:03:12.658Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-27T19:03:12.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T19:03:12.658Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T19:03:12.886Z] prd-ubuntu20.04-docker-8c-8g-21260 does not seem to be running inside a container [2022-07-27T19:03:12.953Z] $ 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-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-27T19:03:13.411Z] using credential edgex-jenkins-ssh [2022-07-27T19:03:13.431Z] Cloning the remote Git repository [2022-07-27T19:03:13.494Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T19:03:13.576Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-07-27T19:03:13.662Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T19:03:13.663Z] > git --version # timeout=10 [2022-07-27T19:03:13.686Z] > git --version # 'git version 2.25.1' [2022-07-27T19:03:13.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T19:03:13.838Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T19:03:14.615Z] $ docker top cf493ddf99159047b0d0a2a23f4db605899331df242d0e4ca06f822e04e80443 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:03:15.122Z] ---> job-cost.sh [2022-07-27T19:03:15.122Z] lf-activate-venv: SKIPPING [2022-07-27T19:03:15.122Z] INFO: No Stack... [2022-07-27T19:03:15.323Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-27T19:03:15.383Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T19:03:15.955Z] INFO: Archiving Costs [Pipeline] sh [2022-07-27T19:03:16.030Z] Merging remotes/origin/main commit 05709587d91994e95fbbf030ae60546eede8820e into PR head commit 00b9a24ffb44d8f1807231066c19aa1f6134bdec [2022-07-27T19:03:16.272Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/cost.csv [2022-07-27T19:03:16.272Z] + cut -d, -f6 [Pipeline] lock [2022-07-27T19:03:16.308Z] Merge succeeded, producing 00b9a24ffb44d8f1807231066c19aa1f6134bdec [2022-07-27T19:03:16.309Z] Checking out Revision 00b9a24ffb44d8f1807231066c19aa1f6134bdec (PR-1202) [2022-07-27T19:03:16.312Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] [2022-07-27T19:03:16.317Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] did not exist. Created. [2022-07-27T19:03:16.318Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T19:03:16.717Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-27T19:03:15.360Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-27T19:03:15.386Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-27T19:03:15.427Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-27T19:03:15.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T19:03:15.444Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1202/head:refs/remotes/origin/PR-1202 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-27T19:03:16.051Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T19:03:16.070Z] > git checkout -f 00b9a24ffb44d8f1807231066c19aa1f6134bdec # timeout=10 [2022-07-27T19:03:16.200Z] > git remote # timeout=10 [2022-07-27T19:03:16.225Z] > git config --get remote.origin.url # timeout=10 [2022-07-27T19:03:16.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-27T19:03:16.260Z] > git merge 05709587d91994e95fbbf030ae60546eede8820e # timeout=10 [2022-07-27T19:03:16.286Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-27T19:03:16.316Z] > git config core.sparsecheckout # timeout=10 [2022-07-27T19:03:16.337Z] > git checkout -f 00b9a24ffb44d8f1807231066c19aa1f6134bdec # timeout=10 [2022-07-27T19:03:16.771Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T19:03:16.800Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-27T19:03:16.877Z] $ docker stop --time=1 cf493ddf99159047b0d0a2a23f4db605899331df242d0e4ca06f822e04e80443 [2022-07-27T19:03:18.027Z] $ docker rm -f cf493ddf99159047b0d0a2a23f4db605899331df242d0e4ca06f822e04e80443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-27T19:03:20.655Z] Commit message: "fix: added DriverConfigs and SetDeviceOPState to DeviceServiceSDK interface and implementation." [2022-07-27T19:03:20.712Z] > git --version # timeout=10 [2022-07-27T19:03:20.723Z] > git --version # 'git version 2.25.1' [2022-07-27T19:03:20.736Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T19:03:21.898Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-27T19:03:21.898Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T19:03:21.898Z] Dload Upload Total Spent Left Speed [2022-07-27T19:03:21.898Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-07-27T19:03:22.675Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-27T19:03:23.029Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-27T19:03:23.029Z] + sudo tee /etc/docker/daemon.new [2022-07-27T19:03:23.029Z] { [2022-07-27T19:03:23.029Z] "registry-mirrors": [ [2022-07-27T19:03:23.029Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-27T19:03:23.029Z] ], [2022-07-27T19:03:23.029Z] "bip": "10.250.0.254/24", [2022-07-27T19:03:23.029Z] "hosts": [ [2022-07-27T19:03:23.029Z] "tcp://0.0.0.0:5555", [2022-07-27T19:03:23.029Z] "unix:///var/run/docker.sock" [2022-07-27T19:03:23.029Z] ], [2022-07-27T19:03:23.029Z] "mtu": 1458, [2022-07-27T19:03:23.029Z] "selinux-enabled": true, [2022-07-27T19:03:23.029Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-27T19:03:23.029Z] } [Pipeline] sh [2022-07-27T19:03:23.384Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-27T19:03:23.736Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T19:03:42.300Z] provisioning config files... [2022-07-27T19:03:42.323Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config504301748438861053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:03:42.721Z] ---> docker-login.sh [2022-07-27T19:03:42.721Z] nexus3.edgexfoundry.org:10001 [2022-07-27T19:03:43.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:03:43.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:03:43.595Z] Configure a credential helper to remove this warning. See [2022-07-27T19:03:43.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:03:43.595Z] [2022-07-27T19:03:43.595Z] Login Succeeded [2022-07-27T19:03:43.595Z] nexus3.edgexfoundry.org:10002 [2022-07-27T19:03:43.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:03:43.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:03:43.868Z] Configure a credential helper to remove this warning. See [2022-07-27T19:03:43.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:03:43.868Z] [2022-07-27T19:03:43.868Z] Login Succeeded [2022-07-27T19:03:43.868Z] nexus3.edgexfoundry.org:10003 [2022-07-27T19:03:44.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:03:44.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:03:44.466Z] Configure a credential helper to remove this warning. See [2022-07-27T19:03:44.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:03:44.466Z] [2022-07-27T19:03:44.466Z] Login Succeeded [2022-07-27T19:03:44.466Z] nexus3.edgexfoundry.org:10004 [2022-07-27T19:03:44.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:03:44.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:03:44.739Z] Configure a credential helper to remove this warning. See [2022-07-27T19:03:44.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:03:44.739Z] [2022-07-27T19:03:44.739Z] Login Succeeded [2022-07-27T19:03:45.014Z] docker.io [2022-07-27T19:03:45.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-27T19:03:45.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-27T19:03:45.558Z] Configure a credential helper to remove this warning. See [2022-07-27T19:03:45.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-27T19:03:45.558Z] [2022-07-27T19:03:45.558Z] Login Succeeded [2022-07-27T19:03:45.558Z] ---> docker-login.sh ends [Pipeline] } [2022-07-27T19:03:45.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-27T19:03:45.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T19:03:45.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-27T19:03:46.015Z] ========================================================= [2022-07-27T19:03:46.015Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-27T19:03:46.015Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:03:46.524Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-27T19:03:46.801Z] Sending build context to Docker daemon 5.249MB [2022-07-27T19:03:47.079Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T19:03:47.079Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-27T19:03:47.079Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-27T19:03:47.079Z] b3c136eddcbf: Pulling fs layer [2022-07-27T19:03:47.079Z] c0a3192eca97: Pulling fs layer [2022-07-27T19:03:47.079Z] a050256f5b6f: Pulling fs layer [2022-07-27T19:03:47.079Z] 656be50a0ddc: Pulling fs layer [2022-07-27T19:03:47.079Z] 2bbca73fdf42: Pulling fs layer [2022-07-27T19:03:47.079Z] 46d945488cbd: Pulling fs layer [2022-07-27T19:03:47.079Z] 8a5474983e97: Pulling fs layer [2022-07-27T19:03:47.079Z] 329c88fbcd65: Pulling fs layer [2022-07-27T19:03:47.079Z] 656be50a0ddc: Waiting [2022-07-27T19:03:47.079Z] 2bbca73fdf42: Waiting [2022-07-27T19:03:47.079Z] 46d945488cbd: Waiting [2022-07-27T19:03:47.079Z] 8a5474983e97: Waiting [2022-07-27T19:03:47.079Z] 329c88fbcd65: Waiting [2022-07-27T19:03:47.079Z] a050256f5b6f: Verifying Checksum [2022-07-27T19:03:47.079Z] a050256f5b6f: Download complete [2022-07-27T19:03:47.079Z] c0a3192eca97: Verifying Checksum [2022-07-27T19:03:47.079Z] c0a3192eca97: Download complete [2022-07-27T19:03:47.079Z] 2bbca73fdf42: Verifying Checksum [2022-07-27T19:03:47.079Z] 2bbca73fdf42: Download complete [2022-07-27T19:03:47.079Z] 46d945488cbd: Verifying Checksum [2022-07-27T19:03:47.079Z] 46d945488cbd: Download complete [2022-07-27T19:03:47.079Z] b3c136eddcbf: Verifying Checksum [2022-07-27T19:03:48.071Z] b3c136eddcbf: Pull complete [2022-07-27T19:03:48.071Z] 329c88fbcd65: Verifying Checksum [2022-07-27T19:03:48.071Z] 329c88fbcd65: Download complete [2022-07-27T19:03:48.675Z] c0a3192eca97: Pull complete [2022-07-27T19:03:48.954Z] a050256f5b6f: Pull complete [2022-07-27T19:03:49.553Z] 8a5474983e97: Download complete [2022-07-27T19:03:50.151Z] 656be50a0ddc: Verifying Checksum [2022-07-27T19:03:50.151Z] 656be50a0ddc: Download complete [2022-07-27T19:04:02.576Z] 656be50a0ddc: Pull complete [2022-07-27T19:04:02.851Z] 2bbca73fdf42: Pull complete [2022-07-27T19:04:03.127Z] 46d945488cbd: Pull complete [2022-07-27T19:04:09.857Z] 8a5474983e97: Pull complete [2022-07-27T19:04:11.837Z] 329c88fbcd65: Pull complete [2022-07-27T19:04:11.837Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-27T19:04:11.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-27T19:04:11.837Z] ---> ff4287adb874 [2022-07-27T19:04:11.837Z] Step 3/11 : ARG MAKE=make build [2022-07-27T19:04:12.435Z] ---> Running in a57261ccf22a [2022-07-27T19:04:12.708Z] Removing intermediate container a57261ccf22a [2022-07-27T19:04:12.708Z] ---> 5c601924df20 [2022-07-27T19:04:12.708Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-27T19:04:12.708Z] ---> Running in d2bfc46d925e [2022-07-27T19:04:12.982Z] Removing intermediate container d2bfc46d925e [2022-07-27T19:04:12.982Z] ---> a2036cec7218 [2022-07-27T19:04:12.982Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T19:04:13.283Z] ---> Running in 58d990e9d834 [2022-07-27T19:04:13.558Z] Removing intermediate container 58d990e9d834 [2022-07-27T19:04:13.558Z] ---> 9cd570555832 [2022-07-27T19:04:13.558Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T19:04:13.558Z] ---> Running in 0b7d9f15d055 [2022-07-27T19:04:15.548Z] Removing intermediate container 0b7d9f15d055 [2022-07-27T19:04:15.548Z] ---> b3d2f9e2b22d [2022-07-27T19:04:15.548Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T19:04:15.548Z] ---> Running in b35cbb7a3a1f [2022-07-27T19:04:16.145Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T19:04:17.124Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T19:04:18.112Z] OK: 221 MiB in 51 packages [2022-07-27T19:04:20.097Z] Removing intermediate container b35cbb7a3a1f [2022-07-27T19:04:20.097Z] ---> 89c058c31503 [2022-07-27T19:04:20.097Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-27T19:04:20.391Z] ---> 34a34fa5ab0f [2022-07-27T19:04:20.391Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T19:04:20.391Z] ---> Running in dd3b98dd4498 [2022-07-27T19:05:07.381Z] Removing intermediate container dd3b98dd4498 [2022-07-27T19:05:07.381Z] ---> 304756602315 [2022-07-27T19:05:07.381Z] Step 10/11 : COPY . . [2022-07-27T19:05:07.381Z] ---> c50402860361 [2022-07-27T19:05:07.381Z] Step 11/11 : RUN ${MAKE} [2022-07-27T19:05:07.381Z] ---> Running in ccf4c98ae0e9 [2022-07-27T19:05:08.360Z] noop [2022-07-27T19:05:08.637Z] Removing intermediate container ccf4c98ae0e9 [2022-07-27T19:05:08.637Z] ---> 94bddeee61f1 [2022-07-27T19:05:08.909Z] Successfully built 94bddeee61f1 [2022-07-27T19:05:08.909Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:05:09.397Z] + docker inspect -f . ci-base-image-arm64 [2022-07-27T19:05:09.397Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T19:05:09.709Z] prd-ubuntu20.04-docker-arm64-4c-16g-21261 does not seem to be running inside a container [2022-07-27T19:05:09.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-27T19:05:11.058Z] $ docker top 6d86da1aad6def1a5e2763c715d8272a88d1a7828e46fde5110fa2ae1fa85cde -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T19:05:12.017Z] + go version [2022-07-27T19:05:12.017Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-27T19:05:12.047Z] $ docker stop --time=1 6d86da1aad6def1a5e2763c715d8272a88d1a7828e46fde5110fa2ae1fa85cde [2022-07-27T19:05:13.666Z] $ docker rm -f 6d86da1aad6def1a5e2763c715d8272a88d1a7828e46fde5110fa2ae1fa85cde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:05:14.662Z] + docker inspect -f . ci-base-image-arm64 [2022-07-27T19:05:14.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T19:05:14.978Z] prd-ubuntu20.04-docker-arm64-4c-16g-21261 does not seem to be running inside a container [2022-07-27T19:05:15.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-27T19:05:16.288Z] $ docker top df088660fe59aa4398c9b3e0096ff8609b7fd08e393c8d1bf664558cad01b3fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T19:05:17.250Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-27T19:05:17.981Z] + make test [2022-07-27T19:05:17.981Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-27T19:05:50.346Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-27T19:07:27.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-27T19:07:27.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-27T19:07:27.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-27T19:07:39.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.345s coverage: 23.7% of statements [2022-07-27T19:07:39.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-27T19:07:39.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.230s coverage: 27.6% of statements [2022-07-27T19:07:39.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.306s coverage: 78.9% of statements [2022-07-27T19:07:39.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.264s coverage: 10.8% of statements [2022-07-27T19:07:41.126Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.447s coverage: 60.0% of statements [2022-07-27T19:07:41.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-27T19:07:41.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-27T19:07:43.775Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.458s coverage: 34.8% of statements [2022-07-27T19:07:43.775Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-27T19:07:45.772Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.283s coverage: 85.4% of statements [2022-07-27T19:07:45.772Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-27T19:07:45.772Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-27T19:07:45.772Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.462s coverage: 65.1% of statements [2022-07-27T19:07:45.772Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-27T19:07:45.772Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-27T19:07:50.118Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.993s coverage: 89.2% of statements [2022-07-27T19:07:50.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-27T19:07:50.118Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.238s coverage: 4.7% of statements [2022-07-27T19:07:50.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-27T19:07:50.717Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-27T19:07:50.717Z] GO111MODULE=on go vet ./... [2022-07-27T19:09:12.582Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-27T19:09:12.582Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-27T19:09:12.582Z] ./bin/test-attribution-txt.sh [2022-07-27T19:09:12.582Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-27T19:09:12.582Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-27T19:09:12.582Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-27T19:09:12.582Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-27T19:09:12.582Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-27T19:09:12.582Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-27T19:09:12.582Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-27T19:09:12.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-27T19:09:12.656Z] $ docker stop --time=1 df088660fe59aa4398c9b3e0096ff8609b7fd08e393c8d1bf664558cad01b3fa [2022-07-27T19:09:14.547Z] $ docker rm -f df088660fe59aa4398c9b3e0096ff8609b7fd08e393c8d1bf664558cad01b3fa [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-27T19:09:15.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-27T19:09:16.024Z] Warning: overwriting stash ‘coverage-report’ [2022-07-27T19:09:16.608Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-27T19:09:17.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-27T19:09:17.616Z] + ls -al . [2022-07-27T19:09:17.616Z] total 300 [2022-07-27T19:09:17.616Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 19:05 . [2022-07-27T19:09:17.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 19:03 .. [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 19:03 .dockerignore [2022-07-27T19:09:17.616Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 19:03 .git [2022-07-27T19:09:17.616Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 19:03 .github [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 19:03 .gitignore [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 19:03 .golangci.yml [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 19:03 CHANGELOG.md [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 19:03 GOVERNANCE.md [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 19:03 Jenkinsfile [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 19:03 LICENSE [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 19:03 Makefile [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 19:03 OWNERS.md [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 19:03 README.md [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 19:01 VERSION [2022-07-27T19:09:17.616Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 19:03 bin [2022-07-27T19:09:17.616Z] -rw-r--r-- 1 jenkins jenkins 131596 Jul 27 19:07 coverage.out [2022-07-27T19:09:17.616Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 19:03 example [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 19:03 go.mod [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 19:03 go.sum [2022-07-27T19:09:17.616Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 19:03 internal [2022-07-27T19:09:17.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 19:03 openapi [2022-07-27T19:09:17.616Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 19:03 pkg [2022-07-27T19:09:17.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 19:03 snap [2022-07-27T19:09:17.616Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:09:18.075Z] + 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=00b9a24ffb44d8f1807231066c19aa1f6134bdec --label arch=arm64 --label version=0.0.0 . [2022-07-27T19:09:18.348Z] Sending build context to Docker daemon 5.382MB [2022-07-27T19:09:18.625Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-27T19:09:18.625Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-27T19:09:18.625Z] ---> 94bddeee61f1 [2022-07-27T19:09:18.625Z] Step 3/25 : ARG MAKE=make build [2022-07-27T19:09:18.625Z] ---> Running in 8c0f1d697eaf [2022-07-27T19:09:18.909Z] Removing intermediate container 8c0f1d697eaf [2022-07-27T19:09:18.909Z] ---> 414076411cf7 [2022-07-27T19:09:18.909Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-27T19:09:19.183Z] ---> Running in 099fe9691dd1 [2022-07-27T19:09:19.456Z] Removing intermediate container 099fe9691dd1 [2022-07-27T19:09:19.456Z] ---> eefad4937a5b [2022-07-27T19:09:19.456Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T19:09:19.456Z] ---> Running in 5bfa4ea8746b [2022-07-27T19:09:19.734Z] Removing intermediate container 5bfa4ea8746b [2022-07-27T19:09:19.734Z] ---> dae0844703bc [2022-07-27T19:09:19.734Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T19:09:19.734Z] ---> Running in b0f299c49c3e [2022-07-27T19:09:21.718Z] Removing intermediate container b0f299c49c3e [2022-07-27T19:09:21.718Z] ---> 41ef2990a1ab [2022-07-27T19:09:21.718Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-27T19:09:21.718Z] ---> Running in f031dbcb2805 [2022-07-27T19:09:22.317Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T19:09:23.299Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T19:09:24.286Z] OK: 221 MiB in 51 packages [2022-07-27T19:09:25.272Z] Removing intermediate container f031dbcb2805 [2022-07-27T19:09:25.272Z] ---> f9882c1bbf25 [2022-07-27T19:09:25.272Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-27T19:09:25.565Z] ---> aba791374eef [2022-07-27T19:09:25.565Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-27T19:09:25.565Z] ---> Running in 91c27d03208c [2022-07-27T19:09:27.565Z] Removing intermediate container 91c27d03208c [2022-07-27T19:09:27.565Z] ---> 6bde9299f9fb [2022-07-27T19:09:27.565Z] Step 10/25 : COPY . . [2022-07-27T19:09:29.008Z] ---> 6fd9f76140de [2022-07-27T19:09:29.008Z] Step 11/25 : RUN ${MAKE} [2022-07-27T19:09:29.008Z] ---> Running in 7474fb809717 [2022-07-27T19:09:30.000Z] 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-07-27T19:11:36.892Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-27T19:11:36.892Z] Removing intermediate container 7474fb809717 [2022-07-27T19:11:36.892Z] ---> 22572d251213 [2022-07-27T19:11:36.892Z] Step 12/25 : FROM alpine:3.16 [2022-07-27T19:11:36.892Z] 3.16: Pulling from library/alpine [2022-07-27T19:11:36.892Z] f97344484467: Pulling fs layer [2022-07-27T19:11:36.892Z] f97344484467: Verifying Checksum [2022-07-27T19:11:36.892Z] f97344484467: Download complete [2022-07-27T19:11:36.892Z] f97344484467: Pull complete [2022-07-27T19:11:36.892Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-27T19:11:36.892Z] Status: Downloaded newer image for alpine:3.16 [2022-07-27T19:11:36.892Z] ---> 3d81c46cd875 [2022-07-27T19:11:36.892Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-27T19:11:36.892Z] ---> Running in f44ca6c3305f [2022-07-27T19:11:36.892Z] Removing intermediate container f44ca6c3305f [2022-07-27T19:11:36.892Z] ---> 8249ddd2423b [2022-07-27T19:11:36.892Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-27T19:11:36.892Z] ---> Running in 5c446189d378 [2022-07-27T19:11:36.892Z] Removing intermediate container 5c446189d378 [2022-07-27T19:11:36.892Z] ---> bb37bedd7876 [2022-07-27T19:11:36.892Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-27T19:11:36.892Z] ---> Running in 014aa63ddb29 [2022-07-27T19:11:36.892Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-27T19:11:36.892Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-27T19:11:36.892Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-27T19:11:36.892Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-27T19:11:36.892Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-27T19:11:36.892Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-27T19:11:36.892Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-27T19:11:36.892Z] Executing busybox-1.35.0-r15.trigger [2022-07-27T19:11:36.892Z] OK: 8 MiB in 19 packages [2022-07-27T19:11:37.873Z] Removing intermediate container 014aa63ddb29 [2022-07-27T19:11:37.873Z] ---> 8e04dd0aeb1e [2022-07-27T19:11:37.873Z] Step 16/25 : WORKDIR / [2022-07-27T19:11:37.873Z] ---> Running in b055ba048365 [2022-07-27T19:11:38.151Z] Removing intermediate container b055ba048365 [2022-07-27T19:11:38.151Z] ---> a7e080126465 [2022-07-27T19:11:38.151Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-27T19:11:38.746Z] ---> c94e63a28697 [2022-07-27T19:11:38.746Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-27T19:11:40.195Z] ---> 64bfbb09faf1 [2022-07-27T19:11:40.195Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-27T19:11:40.810Z] ---> 3ce227fd6d98 [2022-07-27T19:11:40.810Z] Step 20/25 : EXPOSE 59999 [2022-07-27T19:11:40.810Z] ---> Running in b0c2cc796c99 [2022-07-27T19:11:41.096Z] Removing intermediate container b0c2cc796c99 [2022-07-27T19:11:41.096Z] ---> 8304233925d4 [2022-07-27T19:11:41.096Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-27T19:11:41.096Z] ---> Running in 8a9d6eea3d40 [2022-07-27T19:11:41.375Z] Removing intermediate container 8a9d6eea3d40 [2022-07-27T19:11:41.375Z] ---> 51d1cae5c7ae [2022-07-27T19:11:41.375Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-27T19:11:41.651Z] ---> Running in 8b92e0464474 [2022-07-27T19:11:41.924Z] Removing intermediate container 8b92e0464474 [2022-07-27T19:11:41.924Z] ---> 531cad0e6b19 [2022-07-27T19:11:41.924Z] Step 23/25 : LABEL arch=arm64 [2022-07-27T19:11:41.924Z] ---> Running in ca5da551f950 [2022-07-27T19:11:42.201Z] Removing intermediate container ca5da551f950 [2022-07-27T19:11:42.201Z] ---> 235a6a7a18c6 [2022-07-27T19:11:42.201Z] Step 24/25 : LABEL git_sha=00b9a24ffb44d8f1807231066c19aa1f6134bdec [2022-07-27T19:11:42.201Z] ---> Running in f413b254cc15 [2022-07-27T19:11:42.478Z] Removing intermediate container f413b254cc15 [2022-07-27T19:11:42.478Z] ---> fc3ee5640941 [2022-07-27T19:11:42.478Z] Step 25/25 : LABEL version=0.0.0 [2022-07-27T19:11:42.755Z] ---> Running in 95a3b60754f4 [2022-07-27T19:11:43.029Z] Removing intermediate container 95a3b60754f4 [2022-07-27T19:11:43.029Z] ---> 56b3661c6de1 [2022-07-27T19:11:43.029Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-27T19:11:43.029Z] Successfully built 56b3661c6de1 [2022-07-27T19:11:43.029Z] 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-07-27T19:11:43.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T19:11:43.926Z] [2022-07-27T19:11:43.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:11:44.355Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T19:11:44.639Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-27T19:11:44.639Z] 8998bd30e6a1: Pulling fs layer [2022-07-27T19:11:44.639Z] 04944245beec: Pulling fs layer [2022-07-27T19:11:44.639Z] 699f458cf7ca: Pulling fs layer [2022-07-27T19:11:44.639Z] 765212b225bb: Pulling fs layer [2022-07-27T19:11:44.639Z] f23df028b6ca: Pulling fs layer [2022-07-27T19:11:44.639Z] d65c8cfc05b1: Pulling fs layer [2022-07-27T19:11:44.639Z] 2437ff75d9bd: Pulling fs layer [2022-07-27T19:11:44.639Z] f23df028b6ca: Waiting [2022-07-27T19:11:44.639Z] d65c8cfc05b1: Waiting [2022-07-27T19:11:44.639Z] 2437ff75d9bd: Waiting [2022-07-27T19:11:44.639Z] 765212b225bb: Waiting [2022-07-27T19:11:44.639Z] 04944245beec: Verifying Checksum [2022-07-27T19:11:44.639Z] 04944245beec: Download complete [2022-07-27T19:11:44.639Z] 765212b225bb: Verifying Checksum [2022-07-27T19:11:44.639Z] 765212b225bb: Download complete [2022-07-27T19:11:44.639Z] f23df028b6ca: Download complete [2022-07-27T19:11:44.639Z] d65c8cfc05b1: Verifying Checksum [2022-07-27T19:11:44.639Z] d65c8cfc05b1: Download complete [2022-07-27T19:11:44.916Z] 699f458cf7ca: Verifying Checksum [2022-07-27T19:11:44.916Z] 699f458cf7ca: Download complete [2022-07-27T19:11:45.195Z] 8998bd30e6a1: Verifying Checksum [2022-07-27T19:11:45.195Z] 8998bd30e6a1: Download complete [2022-07-27T19:11:47.824Z] 2437ff75d9bd: Verifying Checksum [2022-07-27T19:11:47.824Z] 2437ff75d9bd: Download complete [2022-07-27T19:11:49.820Z] 8998bd30e6a1: Pull complete [2022-07-27T19:11:50.096Z] 04944245beec: Pull complete [2022-07-27T19:11:51.542Z] 699f458cf7ca: Pull complete [2022-07-27T19:11:51.542Z] 765212b225bb: Pull complete [2022-07-27T19:11:52.527Z] f23df028b6ca: Pull complete [2022-07-27T19:11:52.803Z] d65c8cfc05b1: Pull complete [2022-07-27T19:12:07.909Z] 2437ff75d9bd: Pull complete [2022-07-27T19:12:07.909Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-27T19:12:07.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-27T19:12:07.909Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T19:12:08.299Z] prd-ubuntu20.04-docker-arm64-4c-16g-21261 does not seem to be running inside a container [2022-07-27T19:12:08.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-27T19:12:10.882Z] $ docker top 13da9a6463ac9394b852abc61f92e2567c7b9ec90fa04260a84b855721ea98cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:12:11.877Z] ---> job-cost.sh [2022-07-27T19:12:11.877Z] lf-activate-venv: SKIPPING [2022-07-27T19:12:11.877Z] INFO: No Stack... [2022-07-27T19:12:12.473Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-27T19:12:13.066Z] INFO: Archiving Costs [Pipeline] sh [2022-07-27T19:12:13.749Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-07-27T19:12:13.750Z] + cut -d, -f6 [Pipeline] lock [2022-07-27T19:12:13.828Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] [2022-07-27T19:12:13.833Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] did not exist. Created. [2022-07-27T19:12:13.833Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-27T19:12:14.586Z] /w/workspace/device-sdk-go/1@tmp/durable-4fd7c011/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-27T19:12:15.291Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-27T19:12:15.329Z] Warning: overwriting stash ‘stack-cost’ [2022-07-27T19:12:15.388Z] Stashed 1 file(s) [Pipeline] } [2022-07-27T19:12:15.406Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1202-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-27T19:12:15.481Z] $ docker stop --time=1 13da9a6463ac9394b852abc61f92e2567c7b9ec90fa04260a84b855721ea98cc [2022-07-27T19:12:17.003Z] $ docker rm -f 13da9a6463ac9394b852abc61f92e2567c7b9ec90fa04260a84b855721ea98cc [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-07-27T19:12:18.037Z] provisioning config files... [2022-07-27T19:12:18.045Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config6326935833583061535tmp [Pipeline] { [Pipeline] sh [2022-07-27T19:12:18.377Z] + set +x [2022-07-27T19:12:18.377Z] + curl -s https://codecov.io/bash [2022-07-27T19:12:18.377Z] + bash -s -- [2022-07-27T19:12:18.377Z] [2022-07-27T19:12:18.377Z] _____ _ [2022-07-27T19:12:18.377Z] / ____| | | [2022-07-27T19:12:18.377Z] | | ___ __| | ___ ___ _____ __ [2022-07-27T19:12:18.377Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-27T19:12:18.377Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-27T19:12:18.377Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-27T19:12:18.377Z] Bash-1.0.6 [2022-07-27T19:12:18.377Z] [2022-07-27T19:12:18.377Z] [2022-07-27T19:12:18.377Z] ==> git version 2.25.1 found [2022-07-27T19:12:18.377Z] ==> 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-07-27T19:12:18.377Z] Release-Date: 2020-01-08 [2022-07-27T19:12:18.377Z] 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-07-27T19:12:18.377Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-27T19:12:18.377Z] ==> Jenkins CI detected. [2022-07-27T19:12:18.377Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1202 [2022-07-27T19:12:18.377Z] project root: . [2022-07-27T19:12:18.377Z] --> token set from env [2022-07-27T19:12:18.377Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-27T19:12:18.377Z] ==> Running gcov in . (disable via -X gcov) [2022-07-27T19:12:18.377Z] ==> Python coveragepy not found [2022-07-27T19:12:18.377Z] ==> Searching for coverage reports in: [2022-07-27T19:12:18.377Z] + . [2022-07-27T19:12:18.377Z] -> Found 1 reports [2022-07-27T19:12:18.377Z] ==> Detecting git/mercurial file structure [2022-07-27T19:12:18.377Z] ==> Reading reports [2022-07-27T19:12:18.377Z] + ./coverage.out bytes=131596 [2022-07-27T19:12:18.377Z] ==> Appending adjustments [2022-07-27T19:12:18.377Z] https://docs.codecov.io/docs/fixing-reports [2022-07-27T19:12:18.636Z] + Found adjustments [2022-07-27T19:12:18.636Z] ==> Gzipping contents [2022-07-27T19:12:18.636Z] 20K /tmp/codecov.RMbSCG.gz [2022-07-27T19:12:18.636Z] ==> Uploading reports [2022-07-27T19:12:18.636Z] url: https://codecov.io [2022-07-27T19:12:18.897Z] query: branch=PR-1202&commit=00b9a24ffb44d8f1807231066c19aa1f6134bdec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1202%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1202&job=&cmd_args= [2022-07-27T19:12:18.897Z] -> Pinging Codecov [2022-07-27T19:12:18.897Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1202&commit=00b9a24ffb44d8f1807231066c19aa1f6134bdec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1202%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1202&job=&cmd_args= [2022-07-27T19:12:19.158Z] -> Uploading to [2022-07-27T19:12:19.158Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-27/7E55EF52A471D76F132DFD9A03CDDE97/00b9a24ffb44d8f1807231066c19aa1f6134bdec/d44a8ff7-9d28-47a7-abd8-d8ae710b612e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T191218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c41f9a07e2cc0ea8b012146c81691e628824d8fcb1b5c9143de0cae040f02650 [2022-07-27T19:12:19.158Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-27T19:12:19.158Z] Dload Upload Total Spent Left Speed [2022-07-27T19:12:19.421Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17313 0 0 100 17313 0 67104 --:--:-- --:--:-- --:--:-- 67104 [2022-07-27T19:12:19.421Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/00b9a24ffb44d8f1807231066c19aa1f6134bdec [Pipeline] } [2022-07-27T19:12:19.447Z] 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-07-27T19:12:21.115Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives ] [2022-07-27T19:12:21.115Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives [2022-07-27T19:12:21.115Z] total 16 [2022-07-27T19:12:21.115Z] drwxr-xr-x 3 root root 4096 Jul 27 19:03 . [2022-07-27T19:12:21.115Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 19:03 .. [2022-07-27T19:12:21.115Z] drwxr-xr-x 2 root root 4096 Jul 27 19:03 cost [2022-07-27T19:12:21.115Z] -rw-r--r-- 1 root root 86 Jul 27 19:03 cost.csv [2022-07-27T19:12:21.115Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives [2022-07-27T19:12:21.115Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives [2022-07-27T19:12:21.115Z] total 16 [2022-07-27T19:12:21.115Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 19:03 . [2022-07-27T19:12:21.115Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 19:03 .. [2022-07-27T19:12:21.115Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 19:03 cost [2022-07-27T19:12:21.115Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 27 19:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:12:21.448Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:12:22.351Z] ---> package-listing.sh [2022-07-27T19:12:22.352Z] ++ facter osfamily [2022-07-27T19:12:22.352Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-27T19:12:22.612Z] + OS_FAMILY=debian [2022-07-27T19:12:22.612Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1202 [2022-07-27T19:12:22.612Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-27T19:12:22.612Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-27T19:12:22.612Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-27T19:12:22.612Z] + PACKAGES=/tmp/packages_start.txt [2022-07-27T19:12:22.612Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' [2022-07-27T19:12:22.612Z] + PACKAGES=/tmp/packages_end.txt [2022-07-27T19:12:22.612Z] + case "${OS_FAMILY}" in [2022-07-27T19:12:22.612Z] + dpkg -l [2022-07-27T19:12:22.612Z] + grep '^ii' [2022-07-27T19:12:22.612Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-27T19:12:22.612Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-27T19:12:22.612Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-27T19:12:22.612Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1202 ']' [2022-07-27T19:12:22.612Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/ [2022-07-27T19:12:22.612Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1202/archives/ [Pipeline] echo [2022-07-27T19:12:22.643Z] 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-1202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-27T19:12:22.942Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-27T19:12:23.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-27T19:12:23.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-27T19:12:23.741Z] prd-ubuntu20.04-docker-8c-8g-21260 does not seem to be running inside a container [2022-07-27T19:12:23.785Z] $ 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-1202/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-1202 -v /w/workspace/gexfoundry_device-sdk-go_PR-1202:/w/workspace/gexfoundry_device-sdk-go_PR-1202:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-27T19:12:24.027Z] $ docker top fafb2cf27d341ce919f9c29c999c8e8b6fa19bd3521c957808fcd26a7583bef5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-27T19:12:24.423Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-27T19:12:24.732Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-27T19:12:25.049Z] + ls /var/log/sa-host [2022-07-27T19:12:25.049Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-27T19:12:25.239Z] provisioning config files... [2022-07-27T19:12:25.248Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1202@tmp/config5954395936874171485tmp [Pipeline] { [Pipeline] echo [2022-07-27T19:12:25.297Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:12:25.615Z] ---> create-netrc.sh [Pipeline] } [2022-07-27T19:12:25.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:12:26.048Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-27T19:12:26.080Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:12:26.393Z] ---> sudo-logs.sh [2022-07-27T19:12:26.393Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-27T19:12:26.471Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:12:26.791Z] ---> job-cost.sh [2022-07-27T19:12:26.791Z] lf-activate-venv: SKIPPING [2022-07-27T19:12:26.791Z] DEBUG: total: 0.2199999988079071 [2022-07-27T19:12:26.791Z] INFO: Retrieving Stack Cost... [2022-07-27T19:12:27.363Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-27T19:12:27.623Z] INFO: Archiving Costs [Pipeline] echo [2022-07-27T19:12:27.653Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-27T19:12:27.961Z] ---> logs-deploy.sh [2022-07-27T19:12:27.961Z] lf-activate-venv: SKIPPING [2022-07-27T19:12:27.961Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1202/1 [2022-07-27T19:12:27.961Z] INFO: archiving workspace using pattern(s): [2022-07-27T19:12:28.905Z] Archives upload complete. [2022-07-27T19:12:29.167Z] INFO: archiving logs to Nexus [2022-07-27T19:12:29.738Z] ---> uname -a: [2022-07-27T19:12:29.738Z] Linux prd-ubuntu20-04-docker-8c-8g-21260 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-07-27T19:12:29.738Z] [2022-07-27T19:12:29.738Z] [2022-07-27T19:12:29.738Z] ---> lscpu: [2022-07-27T19:12:29.738Z] Architecture: x86_64 [2022-07-27T19:12:29.738Z] CPU op-mode(s): 32-bit, 64-bit [2022-07-27T19:12:29.738Z] Byte Order: Little Endian [2022-07-27T19:12:29.738Z] Address sizes: 40 bits physical, 48 bits virtual [2022-07-27T19:12:29.738Z] CPU(s): 8 [2022-07-27T19:12:29.738Z] On-line CPU(s) list: 0-7 [2022-07-27T19:12:29.738Z] Thread(s) per core: 1 [2022-07-27T19:12:29.738Z] Core(s) per socket: 1 [2022-07-27T19:12:29.738Z] Socket(s): 8 [2022-07-27T19:12:29.738Z] NUMA node(s): 1 [2022-07-27T19:12:29.738Z] Vendor ID: AuthenticAMD [2022-07-27T19:12:29.738Z] CPU family: 23 [2022-07-27T19:12:29.738Z] Model: 49 [2022-07-27T19:12:29.738Z] Model name: AMD EPYC-Rome Processor [2022-07-27T19:12:29.738Z] Stepping: 0 [2022-07-27T19:12:29.738Z] CPU MHz: 2799.998 [2022-07-27T19:12:29.738Z] BogoMIPS: 5599.99 [2022-07-27T19:12:29.738Z] Virtualization: AMD-V [2022-07-27T19:12:29.738Z] Hypervisor vendor: KVM [2022-07-27T19:12:29.738Z] Virtualization type: full [2022-07-27T19:12:29.739Z] L1d cache: 256 KiB [2022-07-27T19:12:29.739Z] L1i cache: 256 KiB [2022-07-27T19:12:29.739Z] L2 cache: 4 MiB [2022-07-27T19:12:29.739Z] L3 cache: 128 MiB [2022-07-27T19:12:29.739Z] NUMA node0 CPU(s): 0-7 [2022-07-27T19:12:29.739Z] Vulnerability Itlb multihit: Not affected [2022-07-27T19:12:29.739Z] Vulnerability L1tf: Not affected [2022-07-27T19:12:29.739Z] Vulnerability Mds: Not affected [2022-07-27T19:12:29.739Z] Vulnerability Meltdown: Not affected [2022-07-27T19:12:29.739Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-07-27T19:12:29.739Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-07-27T19:12:29.739Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-07-27T19:12:29.739Z] Vulnerability Srbds: Not affected [2022-07-27T19:12:29.739Z] Vulnerability Tsx async abort: Not affected [2022-07-27T19:12:29.739Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-07-27T19:12:29.739Z] [2022-07-27T19:12:29.739Z] [2022-07-27T19:12:29.739Z] ---> nproc: [2022-07-27T19:12:29.739Z] 8 [2022-07-27T19:12:29.739Z] [2022-07-27T19:12:29.739Z] [2022-07-27T19:12:29.739Z] ---> df -h: [2022-07-27T19:12:29.739Z] Filesystem Size Used Avail Use% Mounted on [2022-07-27T19:12:29.739Z] overlay 155G 11G 145G 7% / [2022-07-27T19:12:29.739Z] tmpfs 64M 0 64M 0% /dev [2022-07-27T19:12:29.739Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-07-27T19:12:29.739Z] shm 64M 0 64M 0% /dev/shm [2022-07-27T19:12:29.739Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-07-27T19:12:29.739Z] [2022-07-27T19:12:29.739Z]