Pull request #1265 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 206823ae68d8fb2ee3979ae228d704166d891efc+c9819f1195e0e6250bc0958cba43b0a168ce6321 (93e8480dba6f2d8f17188b76310e97ef296bf8c1) 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-ssh14343859086189129095.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7945745806821074163.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1265/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-1265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17510732580734556847.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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-1265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15039269208298889942.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh17904838373887004788.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-1265/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-1265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17491371248948737997.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-121028 in /w/workspace/gexfoundry_device-sdk-go_PR-1265 [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-1265 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1265/head:refs/remotes/origin/PR-1265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c9819f1195e0e6250bc0958cba43b0a168ce6321 into PR head commit 206823ae68d8fb2ee3979ae228d704166d891efc Merge succeeded, producing 206823ae68d8fb2ee3979ae228d704166d891efc Checking out Revision 206823ae68d8fb2ee3979ae228d704166d891efc (PR-1265) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-13T04:04:21.545Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 206823ae68d8fb2ee3979ae228d704166d891efc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge c9819f1195e0e6250bc0958cba43b0a168ce6321 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 206823ae68d8fb2ee3979ae228d704166d891efc # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-13T04:04:21.722Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-13T04:04:21.820Z] ========================================================= [2022-12-13T04:04:21.820Z] EdgeX Global Pipelines Version Info [2022-12-13T04:04:21.820Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:04:22.540Z] ------------------- [2022-12-13T04:04:22.540Z] stable info: [2022-12-13T04:04:22.540Z] ------------------- [2022-12-13T04:04:22.540Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-13T04:04:22.540Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-13T04:04:22.540Z] Message: update stable to v1.0.244 [2022-12-13T04:04:23.109Z] ------------------- [2022-12-13T04:04:23.109Z] experimental info: [2022-12-13T04:04:23.109Z] ------------------- [2022-12-13T04:04:23.109Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-13T04:04:23.109Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-13T04:04:23.109Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-13T04:04:23.391Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-12-13T04:04:23.427Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-12-13T04:04:23.466Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-13T04:04:23.507Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-13T04:04:23.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-13T04:04:23.593Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-13T04:04:23.631Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-13T04:04:23.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-12-13T04:04:23.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-13T04:04:23.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-13T04:04:23.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-13T04:04:23.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-12-13T04:04:23.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-13T04:04:23.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-13T04:04:23.967Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-13T04:04:24.007Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-12-13T04:04:24.050Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-13T04:04:24.095Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-13T04:04:24.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-13T04:04:24.181Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-13T04:04:24.219Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-12-13T04:04:24.255Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-12-13T04:04:24.298Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-13T04:04:24.346Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-13T04:04:24.389Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-13T04:04:24.430Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-13T04:04:24.474Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-13T04:04:24.516Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1265 [Pipeline] echo [2022-12-13T04:04:24.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1265 [Pipeline] echo [2022-12-13T04:04:24.587Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1265 [Pipeline] echo [2022-12-13T04:04:24.628Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 206823ae68d8fb2ee3979ae228d704166d891efc [Pipeline] echo [2022-12-13T04:04:24.670Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 206823a [Pipeline] echo [2022-12-13T04:04:24.706Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T04:04:24.815Z] provisioning config files... [2022-12-13T04:04:24.828Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config15135894969013695998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:04:25.174Z] ---> docker-login.sh [2022-12-13T04:04:25.175Z] nexus3.edgexfoundry.org:10001 [2022-12-13T04:04:25.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:04:25.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:04:25.435Z] Configure a credential helper to remove this warning. See [2022-12-13T04:04:25.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:04:25.435Z] [2022-12-13T04:04:25.435Z] Login Succeeded [2022-12-13T04:04:25.435Z] nexus3.edgexfoundry.org:10002 [2022-12-13T04:04:25.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:04:25.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:04:25.695Z] Configure a credential helper to remove this warning. See [2022-12-13T04:04:25.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:04:25.695Z] [2022-12-13T04:04:25.695Z] Login Succeeded [2022-12-13T04:04:25.695Z] nexus3.edgexfoundry.org:10003 [2022-12-13T04:04:25.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:04:25.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:04:25.695Z] Configure a credential helper to remove this warning. See [2022-12-13T04:04:25.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:04:25.695Z] [2022-12-13T04:04:25.695Z] Login Succeeded [2022-12-13T04:04:25.695Z] nexus3.edgexfoundry.org:10004 [2022-12-13T04:04:25.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:04:25.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:04:25.695Z] Configure a credential helper to remove this warning. See [2022-12-13T04:04:25.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:04:25.695Z] [2022-12-13T04:04:25.695Z] Login Succeeded [2022-12-13T04:04:25.695Z] docker.io [2022-12-13T04:04:25.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:04:25.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:04:25.954Z] Configure a credential helper to remove this warning. See [2022-12-13T04:04:25.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:04:25.954Z] [2022-12-13T04:04:25.954Z] Login Succeeded [2022-12-13T04:04:25.954Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T04:04:25.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-13T04:04:26.629Z] + git rev-list -1 --merges 206823ae68d8fb2ee3979ae228d704166d891efc~1..206823ae68d8fb2ee3979ae228d704166d891efc [Pipeline] echo [2022-12-13T04:04:26.685Z] -----------> git rev-list -1 --merges 206823ae68d8fb2ee3979ae228d704166d891efc~1..206823ae68d8fb2ee3979ae228d704166d891efc 206823ae68d8fb2ee3979ae228d704166d891efc [false] [Pipeline] sh [2022-12-13T04:04:26.999Z] + git log --format=format:%s -1 206823ae68d8fb2ee3979ae228d704166d891efc [Pipeline] echo [2022-12-13T04:04:27.042Z] ========================================================= [2022-12-13T04:04:27.042Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-13T04:04:27.042Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-13T04:04:27.506Z] + git log --format=format:%s -1 206823ae68d8fb2ee3979ae228d704166d891efc [Pipeline] echo [2022-12-13T04:04:27.539Z] [semverPrep] GIT_COMMIT: 206823ae68d8fb2ee3979ae228d704166d891efc, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2022-12-13T04:04:27.566Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-13T04:04:27.956Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-13T04:04:27.956Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-13T04:04:27.956Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-13T04:04:27.956Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-13T04:04:27.956Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-13T04:04:27.956Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-13T04:04:27.956Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:04:28.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T04:04:28.403Z] [2022-12-13T04:04:28.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:04:28.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T04:04:28.796Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-13T04:04:28.796Z] b85a868b505f: Pulling fs layer [2022-12-13T04:04:28.796Z] e2be974225ed: Pulling fs layer [2022-12-13T04:04:28.796Z] 339a4e72a1f5: Pulling fs layer [2022-12-13T04:04:28.796Z] 988bab9f4d93: Pulling fs layer [2022-12-13T04:04:28.796Z] 1469e6f7b9e6: Pulling fs layer [2022-12-13T04:04:28.796Z] eaf3925da568: Pulling fs layer [2022-12-13T04:04:28.796Z] bab4dde63d76: Pulling fs layer [2022-12-13T04:04:28.796Z] bde34c3a00c8: Pulling fs layer [2022-12-13T04:04:28.796Z] b352a97aabf1: Pulling fs layer [2022-12-13T04:04:28.796Z] 4872d77fe225: Pulling fs layer [2022-12-13T04:04:28.796Z] 5851b861e8e6: Pulling fs layer [2022-12-13T04:04:28.796Z] 4872d77fe225: Waiting [2022-12-13T04:04:28.796Z] 988bab9f4d93: Waiting [2022-12-13T04:04:28.796Z] bab4dde63d76: Waiting [2022-12-13T04:04:28.796Z] b352a97aabf1: Waiting [2022-12-13T04:04:28.796Z] eaf3925da568: Waiting [2022-12-13T04:04:28.796Z] 5851b861e8e6: Waiting [2022-12-13T04:04:28.796Z] 1469e6f7b9e6: Waiting [2022-12-13T04:04:28.796Z] e2be974225ed: Verifying Checksum [2022-12-13T04:04:28.796Z] e2be974225ed: Download complete [2022-12-13T04:04:28.796Z] 988bab9f4d93: Verifying Checksum [2022-12-13T04:04:28.796Z] 988bab9f4d93: Download complete [2022-12-13T04:04:29.058Z] 1469e6f7b9e6: Verifying Checksum [2022-12-13T04:04:29.058Z] 1469e6f7b9e6: Download complete [2022-12-13T04:04:29.058Z] eaf3925da568: Verifying Checksum [2022-12-13T04:04:29.058Z] eaf3925da568: Download complete [2022-12-13T04:04:29.058Z] b85a868b505f: Verifying Checksum [2022-12-13T04:04:29.058Z] b85a868b505f: Download complete [2022-12-13T04:04:29.058Z] bde34c3a00c8: Download complete [2022-12-13T04:04:29.324Z] b352a97aabf1: Download complete [2022-12-13T04:04:29.324Z] 4872d77fe225: Verifying Checksum [2022-12-13T04:04:29.324Z] 4872d77fe225: Download complete [2022-12-13T04:04:29.324Z] 5851b861e8e6: Verifying Checksum [2022-12-13T04:04:29.324Z] 5851b861e8e6: Download complete [2022-12-13T04:04:29.584Z] bab4dde63d76: Verifying Checksum [2022-12-13T04:04:29.584Z] bab4dde63d76: Download complete [2022-12-13T04:04:29.842Z] 339a4e72a1f5: Verifying Checksum [2022-12-13T04:04:29.842Z] 339a4e72a1f5: Download complete [2022-12-13T04:04:30.414Z] b85a868b505f: Pull complete [2022-12-13T04:04:30.673Z] e2be974225ed: Pull complete [2022-12-13T04:04:31.244Z] 339a4e72a1f5: Pull complete [2022-12-13T04:04:31.244Z] 988bab9f4d93: Pull complete [2022-12-13T04:04:31.505Z] 1469e6f7b9e6: Pull complete [2022-12-13T04:04:31.505Z] eaf3925da568: Pull complete [2022-12-13T04:04:33.409Z] bab4dde63d76: Pull complete [2022-12-13T04:04:33.409Z] bde34c3a00c8: Pull complete [2022-12-13T04:04:33.669Z] b352a97aabf1: Pull complete [2022-12-13T04:04:33.669Z] 4872d77fe225: Pull complete [2022-12-13T04:04:33.927Z] 5851b861e8e6: Pull complete [2022-12-13T04:04:33.927Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-13T04:04:33.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T04:04:33.927Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T04:04:34.161Z] prd-ubuntu20.04-docker-8c-8g-121028 does not seem to be running inside a container [2022-12-13T04:04:34.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-13T04:04:35.691Z] $ docker top a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe -eo pid,comm [2022-12-13T04:04:35.756Z] 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-12-13T04:04:35.756Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-13T04:04:35.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-13T04:04:35.897Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-13T04:04:36.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-13T04:04:36.013Z] $ docker exec a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe ssh-agent [2022-12-13T04:04:36.133Z] SSH_AUTH_SOCK=/tmp/ssh-EiOC5OW69TER/agent.32 [2022-12-13T04:04:36.133Z] SSH_AGENT_PID=39 [2022-12-13T04:04:36.140Z] Running ssh-add (command line suppressed) [2022-12-13T04:04:36.243Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_10072522303078349273.key (/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_10072522303078349273.key) [2022-12-13T04:04:36.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-13T04:04:36.598Z] + git tag --points-at HEAD [Pipeline] } [2022-12-13T04:04:36.624Z] $ docker exec --env ******** --env ******** a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe ssh-agent -k [2022-12-13T04:04:36.747Z] unset SSH_AUTH_SOCK; [2022-12-13T04:04:36.747Z] unset SSH_AGENT_PID; [2022-12-13T04:04:36.747Z] echo Agent pid 39 killed; [2022-12-13T04:04:36.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-13T04:04:36.841Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-13T04:04:36.841Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-13T04:04:36.965Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-13T04:04:36.962Z] $ docker exec a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe ssh-agent [2022-12-13T04:04:37.079Z] SSH_AUTH_SOCK=/tmp/ssh-Mf9KVk9yxwGT/agent.71 [2022-12-13T04:04:37.079Z] SSH_AGENT_PID=77 [2022-12-13T04:04:37.085Z] Running ssh-add (command line suppressed) [2022-12-13T04:04:37.191Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_572022737903575853.key (/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/private_key_572022737903575853.key) [2022-12-13T04:04:37.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-13T04:04:37.542Z] + git semver init [2022-12-13T04:04:37.803Z] 2022-12-13 04:04:37,732 [run_init] DEBUG init version:0.0.0 force:False [2022-12-13T04:04:37.803Z] 2022-12-13 04:04:37,733 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver [2022-12-13T04:04:37.803Z] 2022-12-13 04:04:37,733 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver [2022-12-13T04:04:37.803Z] 2022-12-13 04:04:37,733 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1265, universal_newlines=False, shell=None, istream=None) [2022-12-13T04:04:38.742Z] 2022-12-13 04:04:38,669 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.git/info/exclude [2022-12-13T04:04:38.742Z] 2022-12-13 04:04:38,670 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver/PR-1265 with force:False [2022-12-13T04:04:38.742Z] 2022-12-13 04:04:38,670 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver/PR-1265 [2022-12-13T04:04:38.742Z] 2022-12-13 04:04:38,675 [execute] INFO git cat-file --batch-check [2022-12-13T04:04:38.742Z] 2022-12-13 04:04:38,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver, universal_newlines=False, shell=None, istream=) [2022-12-13T04:04:38.742Z] 2022-12-13 04:04:38,682 [execute] INFO git cat-file --batch [2022-12-13T04:04:38.742Z] 2022-12-13 04:04:38,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver, universal_newlines=False, shell=None, istream=) [2022-12-13T04:04:38.742Z] 2022-12-13 04:04:38,689 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1265/.semver/PR-1265 [2022-12-13T04:04:38.742Z] 0.0.0 [Pipeline] } [2022-12-13T04:04:38.759Z] $ docker exec --env ******** --env ******** a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe ssh-agent -k [2022-12-13T04:04:38.859Z] unset SSH_AUTH_SOCK; [2022-12-13T04:04:38.860Z] unset SSH_AGENT_PID; [2022-12-13T04:04:38.860Z] echo Agent pid 77 killed; [2022-12-13T04:04:38.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-13T04:04:39.300Z] + git semver [Pipeline] } [2022-12-13T04:04:39.579Z] $ docker stop --time=1 a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe [2022-12-13T04:04:40.919Z] $ docker rm -f a098d2b9714b6bf17ea7a46cb37dbebcf9689ce6307eb39c2c72d607051bbdfe [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-13T04:04:41.332Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-13T04:04:41.570Z] Stashed 1 file(s) [Pipeline] echo [2022-12-13T04:04:41.587Z] [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-12-13T04:04:42.193Z] provisioning config files... [2022-12-13T04:04:42.202Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config13684526721742568798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:04:42.556Z] ---> docker-login.sh [2022-12-13T04:04:42.556Z] nexus3.edgexfoundry.org:10001 [2022-12-13T04:04:42.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:04:42.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:04:42.556Z] Configure a credential helper to remove this warning. See [2022-12-13T04:04:42.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:04:42.556Z] [2022-12-13T04:04:42.556Z] Login Succeeded [2022-12-13T04:04:42.556Z] nexus3.edgexfoundry.org:10002 [2022-12-13T04:04:42.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:04:42.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:04:42.556Z] Configure a credential helper to remove this warning. See [2022-12-13T04:04:42.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:04:42.556Z] [2022-12-13T04:04:42.556Z] Login Succeeded [2022-12-13T04:04:42.821Z] nexus3.edgexfoundry.org:10003 [2022-12-13T04:04:42.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:04:42.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:04:42.821Z] Configure a credential helper to remove this warning. See [2022-12-13T04:04:42.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:04:42.821Z] [2022-12-13T04:04:42.821Z] Login Succeeded [2022-12-13T04:04:42.821Z] nexus3.edgexfoundry.org:10004 [2022-12-13T04:04:42.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:04:42.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:04:42.821Z] Configure a credential helper to remove this warning. See [2022-12-13T04:04:42.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:04:42.821Z] [2022-12-13T04:04:42.821Z] Login Succeeded [2022-12-13T04:04:42.821Z] docker.io [2022-12-13T04:04:43.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:04:43.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:04:43.085Z] Configure a credential helper to remove this warning. See [2022-12-13T04:04:43.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:04:43.085Z] [2022-12-13T04:04:43.085Z] Login Succeeded [2022-12-13T04:04:43.344Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T04:04:43.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-13T04:04:43.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T04:04:43.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T04:04:43.641Z] ========================================================= [2022-12-13T04:04:43.641Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-13T04:04:43.641Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:04:44.135Z] + 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-12-13T04:04:44.135Z] Sending build context to Docker daemon 10.42MB [2022-12-13T04:04:44.135Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-12-13T04:04:44.135Z] Step 2/10 : FROM ${BASE} AS builder [2022-12-13T04:04:44.395Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-13T04:04:44.395Z] 213ec9aee27d: Pulling fs layer [2022-12-13T04:04:44.395Z] 4583459ba037: Pulling fs layer [2022-12-13T04:04:44.395Z] 93c1e223e6f2: Pulling fs layer [2022-12-13T04:04:44.395Z] 53926ce57604: Pulling fs layer [2022-12-13T04:04:44.395Z] 53926ce57604: Waiting [2022-12-13T04:04:44.395Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-13T04:04:44.395Z] 22ff95d597cd: Pulling fs layer [2022-12-13T04:04:44.395Z] 12d6caf4c0d1: Pulling fs layer [2022-12-13T04:04:44.395Z] 22ff95d597cd: Waiting [2022-12-13T04:04:44.395Z] 21b2b0c7a3f4: Waiting [2022-12-13T04:04:44.395Z] 12d6caf4c0d1: Waiting [2022-12-13T04:04:44.395Z] 96b7cbca73a9: Pulling fs layer [2022-12-13T04:04:44.395Z] a7acece74701: Pulling fs layer [2022-12-13T04:04:44.395Z] 96b7cbca73a9: Waiting [2022-12-13T04:04:44.395Z] 93c1e223e6f2: Verifying Checksum [2022-12-13T04:04:44.395Z] 93c1e223e6f2: Download complete [2022-12-13T04:04:44.395Z] 4583459ba037: Download complete [2022-12-13T04:04:44.395Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-13T04:04:44.395Z] 21b2b0c7a3f4: Download complete [2022-12-13T04:04:44.395Z] 22ff95d597cd: Verifying Checksum [2022-12-13T04:04:44.395Z] 22ff95d597cd: Download complete [2022-12-13T04:04:44.395Z] 12d6caf4c0d1: Download complete [2022-12-13T04:04:44.395Z] 213ec9aee27d: Pull complete [2022-12-13T04:04:44.662Z] 4583459ba037: Pull complete [2022-12-13T04:04:44.662Z] 93c1e223e6f2: Pull complete [2022-12-13T04:04:44.936Z] a7acece74701: Verifying Checksum [2022-12-13T04:04:44.936Z] a7acece74701: Download complete [2022-12-13T04:04:45.206Z] 53926ce57604: Verifying Checksum [2022-12-13T04:04:45.206Z] 53926ce57604: Download complete [2022-12-13T04:04:45.466Z] 96b7cbca73a9: Verifying Checksum [2022-12-13T04:04:45.466Z] 96b7cbca73a9: Download complete [2022-12-13T04:04:49.650Z] 53926ce57604: Pull complete [2022-12-13T04:04:49.650Z] 21b2b0c7a3f4: Pull complete [2022-12-13T04:04:49.650Z] 22ff95d597cd: Pull complete [2022-12-13T04:04:49.650Z] 12d6caf4c0d1: Pull complete [2022-12-13T04:04:52.181Z] 96b7cbca73a9: Pull complete [2022-12-13T04:04:52.440Z] a7acece74701: Pull complete [2022-12-13T04:04:52.440Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-13T04:04:52.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-13T04:04:52.440Z] ---> db6d94c90886 [2022-12-13T04:04:52.440Z] Step 3/10 : ARG MAKE=make build [2022-12-13T04:04:55.007Z] ---> Running in 98b9f66cf682 [2022-12-13T04:04:55.007Z] Removing intermediate container 98b9f66cf682 [2022-12-13T04:04:55.007Z] ---> 01c9be9f72d5 [2022-12-13T04:04:55.007Z] Step 4/10 : WORKDIR /device-sdk-go [2022-12-13T04:04:55.007Z] ---> Running in 479af3b2fa18 [2022-12-13T04:04:55.007Z] Removing intermediate container 479af3b2fa18 [2022-12-13T04:04:55.007Z] ---> 780d0656101a [2022-12-13T04:04:55.007Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-13T04:04:55.007Z] ---> Running in af0a2728c343 [2022-12-13T04:04:55.007Z] Removing intermediate container af0a2728c343 [2022-12-13T04:04:55.007Z] ---> eaf8bb689574 [2022-12-13T04:04:55.007Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-12-13T04:04:55.007Z] ---> Running in 4cd748de526f [2022-12-13T04:04:55.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-13T04:04:55.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-13T04:04:55.784Z] OK: 211 MiB in 51 packages [2022-12-13T04:04:56.046Z] Removing intermediate container 4cd748de526f [2022-12-13T04:04:56.046Z] ---> 673e779ead56 [2022-12-13T04:04:56.046Z] Step 7/10 : COPY go.mod vendor* ./ [2022-12-13T04:04:56.307Z] ---> 954ac9ae5095 [2022-12-13T04:04:56.307Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-13T04:04:56.307Z] ---> Running in 3df41a509373 [2022-12-13T04:04:57.015Z] Still waiting to schedule task [2022-12-13T04:04:57.015Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-13T04:05:14.426Z] Removing intermediate container 3df41a509373 [2022-12-13T04:05:14.426Z] ---> c76ebe12c9ac [2022-12-13T04:05:14.426Z] Step 9/10 : COPY . . [2022-12-13T04:05:14.426Z] ---> ec2f1fe9d9f6 [2022-12-13T04:05:14.426Z] Step 10/10 : RUN ${MAKE} [2022-12-13T04:05:14.426Z] ---> Running in 490b9a9d6842 [2022-12-13T04:05:14.426Z] noop [2022-12-13T04:05:14.426Z] Removing intermediate container 490b9a9d6842 [2022-12-13T04:05:14.426Z] ---> d382170f389a [2022-12-13T04:05:14.426Z] Successfully built d382170f389a [2022-12-13T04:05:14.426Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:05:14.864Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-13T04:05:14.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T04:05:15.001Z] prd-ubuntu20.04-docker-8c-8g-121028 does not seem to be running inside a container [2022-12-13T04:05:15.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-13T04:05:15.413Z] $ docker top 9a6880279ad6464ec84b14372cdf4567d27490c15a672bf183beb5264c432839 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T04:05:15.805Z] + go version [2022-12-13T04:05:15.805Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-13T04:05:15.840Z] $ docker stop --time=1 9a6880279ad6464ec84b14372cdf4567d27490c15a672bf183beb5264c432839 [2022-12-13T04:05:17.154Z] $ docker rm -f 9a6880279ad6464ec84b14372cdf4567d27490c15a672bf183beb5264c432839 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:05:17.891Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-13T04:05:17.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T04:05:18.032Z] prd-ubuntu20.04-docker-8c-8g-121028 does not seem to be running inside a container [2022-12-13T04:05:18.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-13T04:05:18.401Z] $ docker top 52195f23b6bf9c65e43105b49c9cf8e6097ceb25c3d2696829d65c8b078efa30 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T04:05:18.803Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1265 [Pipeline] fileExists [Pipeline] sh [2022-12-13T04:05:19.162Z] + make test [2022-12-13T04:05:19.162Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-12-13T04:05:25.720Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2022-12-13T04:05:40.576Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2022-12-13T04:05:40.576Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2022-12-13T04:05:40.576Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2022-12-13T04:05:40.576Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2022-12-13T04:05:40.576Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2022-12-13T04:05:40.576Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2022-12-13T04:05:40.577Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 78.9% of statements [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2022-12-13T04:05:40.577Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.098s coverage: 73.1% of statements [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2022-12-13T04:05:40.577Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.119s coverage: 54.4% of statements [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2022-12-13T04:05:40.577Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.100s coverage: 65.1% of statements [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2022-12-13T04:05:40.577Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.780s coverage: 89.2% of statements [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2022-12-13T04:05:40.577Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements [2022-12-13T04:05:40.577Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2022-12-13T04:05:55.562Z] 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-12-13T04:05:55.820Z] GO111MODULE=on go vet ./... [2022-12-13T04:05:59.999Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-13T04:05:59.999Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-13T04:05:59.999Z] ./bin/test-attribution-txt.sh [2022-12-13T04:05:59.999Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-12-13T04:05:59.999Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2022-12-13T04:05:59.999Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2022-12-13T04:05:59.999Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-12-13T04:05:59.999Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-12-13T04:05:59.999Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-12-13T04:06:00.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-13T04:06:00.069Z] $ docker stop --time=1 52195f23b6bf9c65e43105b49c9cf8e6097ceb25c3d2696829d65c8b078efa30 [2022-12-13T04:06:02.281Z] $ docker rm -f 52195f23b6bf9c65e43105b49c9cf8e6097ceb25c3d2696829d65c8b078efa30 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-13T04:06:02.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-13T04:06:02.949Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-13T04:06:03.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-13T04:06:03.844Z] + ls -al . [2022-12-13T04:06:03.844Z] total 280 [2022-12-13T04:06:03.844Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 13 04:05 . [2022-12-13T04:06:03.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:04 .. [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 04:04 .dockerignore [2022-12-13T04:06:03.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 04:05 .git [2022-12-13T04:06:03.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:04 .github [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 131 Dec 13 04:04 .gitignore [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 04:04 .golangci.yml [2022-12-13T04:06:03.845Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 04:04 .semver [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 31677 Dec 13 04:04 CHANGELOG.md [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 04:04 GOVERNANCE.md [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 880 Dec 13 04:04 Jenkinsfile [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 04:04 LICENSE [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 2003 Dec 13 04:04 Makefile [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 04:04 OWNERS.md [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 4881 Dec 13 04:04 README.md [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 04:04 VERSION [2022-12-13T04:06:03.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:04 bin [2022-12-13T04:06:03.845Z] -rw-r--r-- 1 jenkins jenkins 101759 Dec 13 04:05 coverage.out [2022-12-13T04:06:03.845Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 04:04 example [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 3342 Dec 13 04:04 go.mod [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 44555 Dec 13 04:04 go.sum [2022-12-13T04:06:03.845Z] drwxrwxr-x 14 jenkins jenkins 4096 Dec 13 04:04 internal [2022-12-13T04:06:03.845Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:04 openapi [2022-12-13T04:06:03.845Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 04:04 pkg [2022-12-13T04:06:03.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:04 snap [2022-12-13T04:06:03.845Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:06:04.238Z] + 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=206823ae68d8fb2ee3979ae228d704166d891efc --label arch=amd64 --label version=0.0.0 . [2022-12-13T04:06:04.238Z] Sending build context to Docker daemon 10.52MB [2022-12-13T04:06:04.238Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-12-13T04:06:04.238Z] Step 2/23 : FROM ${BASE} AS builder [2022-12-13T04:06:04.238Z] ---> d382170f389a [2022-12-13T04:06:04.238Z] Step 3/23 : ARG MAKE=make build [2022-12-13T04:06:04.498Z] ---> Running in 64c25f5d3317 [2022-12-13T04:06:04.498Z] Removing intermediate container 64c25f5d3317 [2022-12-13T04:06:04.498Z] ---> 46733ea381c1 [2022-12-13T04:06:04.498Z] Step 4/23 : WORKDIR /device-sdk-go [2022-12-13T04:06:04.498Z] ---> Running in 0d4c944ac069 [2022-12-13T04:06:04.498Z] Removing intermediate container 0d4c944ac069 [2022-12-13T04:06:04.498Z] ---> 84b191485bd2 [2022-12-13T04:06:04.498Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-13T04:06:04.759Z] ---> Running in 55fc2a0c484a [2022-12-13T04:06:04.759Z] Removing intermediate container 55fc2a0c484a [2022-12-13T04:06:04.759Z] ---> 2e15ec5ceb9a [2022-12-13T04:06:04.759Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-12-13T04:06:04.759Z] ---> Running in 4b780350fd49 [2022-12-13T04:06:05.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-13T04:06:05.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-13T04:06:05.535Z] OK: 211 MiB in 51 packages [2022-12-13T04:06:05.793Z] Removing intermediate container 4b780350fd49 [2022-12-13T04:06:05.793Z] ---> 572773e344c6 [2022-12-13T04:06:05.793Z] Step 7/23 : COPY go.mod vendor* ./ [2022-12-13T04:06:06.051Z] ---> 0287192cfafa [2022-12-13T04:06:06.051Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-13T04:06:06.051Z] ---> Running in bec157878a6e [2022-12-13T04:06:06.616Z] Removing intermediate container bec157878a6e [2022-12-13T04:06:06.616Z] ---> 95fb0c6c8ed1 [2022-12-13T04:06:06.616Z] Step 9/23 : COPY . . [2022-12-13T04:06:07.182Z] ---> ef810182b563 [2022-12-13T04:06:07.182Z] Step 10/23 : RUN ${MAKE} [2022-12-13T04:06:07.182Z] ---> Running in be64ffd1ece2 [2022-12-13T04:06:07.441Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-12-13T04:06:25.522Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-12-13T04:06:28.050Z] Removing intermediate container be64ffd1ece2 [2022-12-13T04:06:28.050Z] ---> b62684fc8824 [2022-12-13T04:06:28.050Z] Step 11/23 : FROM alpine:3.16 [2022-12-13T04:06:28.309Z] 3.16: Pulling from library/alpine [2022-12-13T04:06:28.309Z] ca7dd9ec2225: Pulling fs layer [2022-12-13T04:06:28.597Z] ca7dd9ec2225: Verifying Checksum [2022-12-13T04:06:28.597Z] ca7dd9ec2225: Download complete [2022-12-13T04:06:28.597Z] ca7dd9ec2225: Pull complete [2022-12-13T04:06:28.597Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-13T04:06:28.597Z] Status: Downloaded newer image for alpine:3.16 [2022-12-13T04:06:28.597Z] ---> bfe296a52501 [2022-12-13T04:06:28.597Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-13T04:06:28.860Z] ---> Running in 0b0d7a51e8de [2022-12-13T04:06:28.860Z] Removing intermediate container 0b0d7a51e8de [2022-12-13T04:06:28.860Z] ---> 8725eaf2048a [2022-12-13T04:06:28.860Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-12-13T04:06:28.860Z] ---> Running in 6283c55ce03c [2022-12-13T04:06:29.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-13T04:06:29.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-13T04:06:29.636Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-12-13T04:06:29.636Z] (2/5) Installing libsodium (1.0.18-r0) [2022-12-13T04:06:29.636Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-13T04:06:29.636Z] (4/5) Installing libzmq (4.3.4-r0) [2022-12-13T04:06:29.636Z] (5/5) Installing zeromq (4.3.4-r0) [2022-12-13T04:06:29.636Z] Executing busybox-1.35.0-r17.trigger [2022-12-13T04:06:29.636Z] OK: 8 MiB in 19 packages [2022-12-13T04:06:30.203Z] Removing intermediate container 6283c55ce03c [2022-12-13T04:06:30.203Z] ---> c4b08ec9ed36 [2022-12-13T04:06:30.203Z] Step 14/23 : WORKDIR / [2022-12-13T04:06:30.203Z] ---> Running in fcf257fb9ff6 [2022-12-13T04:06:30.203Z] Removing intermediate container fcf257fb9ff6 [2022-12-13T04:06:30.203Z] ---> 6d764bd81ba5 [2022-12-13T04:06:30.203Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-12-13T04:06:30.466Z] ---> 3fb57f6abfd7 [2022-12-13T04:06:30.466Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-12-13T04:06:31.036Z] ---> 14d0ce6fe5f7 [2022-12-13T04:06:31.036Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-12-13T04:06:31.036Z] ---> ef447bf0f2a9 [2022-12-13T04:06:31.036Z] Step 18/23 : EXPOSE 59999 [2022-12-13T04:06:31.036Z] ---> Running in a4a6615eebd4 [2022-12-13T04:06:31.295Z] Removing intermediate container a4a6615eebd4 [2022-12-13T04:06:31.295Z] ---> 26c04b008568 [2022-12-13T04:06:31.295Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-12-13T04:06:31.295Z] ---> Running in 96ebe780908b [2022-12-13T04:06:31.295Z] Removing intermediate container 96ebe780908b [2022-12-13T04:06:31.295Z] ---> c2b41044dda4 [2022-12-13T04:06:31.295Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-13T04:06:31.295Z] ---> Running in ed90a4172d20 [2022-12-13T04:06:31.554Z] Removing intermediate container ed90a4172d20 [2022-12-13T04:06:31.554Z] ---> 9b612350698a [2022-12-13T04:06:31.554Z] Step 21/23 : LABEL arch=amd64 [2022-12-13T04:06:31.554Z] ---> Running in 8d2e6c4123bc [2022-12-13T04:06:31.554Z] Removing intermediate container 8d2e6c4123bc [2022-12-13T04:06:31.554Z] ---> b458a6aa17d0 [2022-12-13T04:06:31.554Z] Step 22/23 : LABEL git_sha=206823ae68d8fb2ee3979ae228d704166d891efc [2022-12-13T04:06:31.554Z] ---> Running in eabe4978bb7d [2022-12-13T04:06:31.815Z] Removing intermediate container eabe4978bb7d [2022-12-13T04:06:31.815Z] ---> 479fa215fe44 [2022-12-13T04:06:31.815Z] Step 23/23 : LABEL version=0.0.0 [2022-12-13T04:06:31.815Z] ---> Running in a038d6bd928e [2022-12-13T04:06:31.815Z] Removing intermediate container a038d6bd928e [2022-12-13T04:06:31.815Z] ---> 9d14aa7a44ec [2022-12-13T04:06:31.815Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-13T04:06:31.815Z] Successfully built 9d14aa7a44ec [2022-12-13T04:06:31.815Z] 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-12-13T04:06:32.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T04:06:32.680Z] [2022-12-13T04:06:32.680Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:06:33.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T04:06:33.060Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-13T04:06:33.060Z] 5eb5b503b376: Pulling fs layer [2022-12-13T04:06:33.060Z] 5c69ac0246d0: Pulling fs layer [2022-12-13T04:06:33.060Z] ec43610c2a17: Pulling fs layer [2022-12-13T04:06:33.060Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-13T04:06:33.060Z] 33b1e0a273af: Pulling fs layer [2022-12-13T04:06:33.060Z] 5d3b04190fa2: Pulling fs layer [2022-12-13T04:06:33.060Z] 2f39f015ded8: Pulling fs layer [2022-12-13T04:06:33.060Z] 5d3b04190fa2: Waiting [2022-12-13T04:06:33.060Z] 2f39f015ded8: Waiting [2022-12-13T04:06:33.060Z] 33b1e0a273af: Waiting [2022-12-13T04:06:33.060Z] 5c69ac0246d0: Download complete [2022-12-13T04:06:33.060Z] 3a2ae6a8a46f: Download complete [2022-12-13T04:06:33.060Z] 33b1e0a273af: Verifying Checksum [2022-12-13T04:06:33.060Z] 33b1e0a273af: Download complete [2022-12-13T04:06:33.060Z] 5d3b04190fa2: Verifying Checksum [2022-12-13T04:06:33.060Z] 5d3b04190fa2: Download complete [2022-12-13T04:06:33.322Z] ec43610c2a17: Verifying Checksum [2022-12-13T04:06:33.322Z] ec43610c2a17: Download complete [2022-12-13T04:06:33.322Z] 5eb5b503b376: Download complete [2022-12-13T04:06:33.891Z] 2f39f015ded8: Download complete [2022-12-13T04:06:34.455Z] 5eb5b503b376: Pull complete [2022-12-13T04:06:34.713Z] 5c69ac0246d0: Pull complete [2022-12-13T04:06:35.282Z] ec43610c2a17: Pull complete [2022-12-13T04:06:35.282Z] 3a2ae6a8a46f: Pull complete [2022-12-13T04:06:35.540Z] 33b1e0a273af: Pull complete [2022-12-13T04:06:35.540Z] 5d3b04190fa2: Pull complete [2022-12-13T04:06:39.725Z] 2f39f015ded8: Pull complete [2022-12-13T04:06:39.725Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-13T04:06:39.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T04:06:39.725Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T04:06:39.940Z] prd-ubuntu20.04-docker-8c-8g-121028 does not seem to be running inside a container [2022-12-13T04:06:39.963Z] $ 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-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-13T04:06:41.710Z] $ docker top 648874d59a72f088a38007f7b2e65a40d8ad3351edf83a0f8e2f6345b1513ee2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:06:42.166Z] ---> job-cost.sh [2022-12-13T04:06:42.166Z] lf-activate-venv: SKIPPING [2022-12-13T04:06:42.166Z] INFO: No Stack... [2022-12-13T04:06:42.425Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-13T04:06:42.994Z] INFO: Archiving Costs [Pipeline] sh [2022-12-13T04:06:43.311Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives/cost.csv [2022-12-13T04:06:43.311Z] + cut -d, -f6 [Pipeline] lock [2022-12-13T04:06:43.358Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] [2022-12-13T04:06:43.363Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] did not exist. Created. [2022-12-13T04:06:43.363Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-13T04:06:43.752Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-13T04:06:43.809Z] Stashed 1 file(s) [Pipeline] } [2022-12-13T04:06:43.835Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-13T04:06:43.921Z] $ docker stop --time=1 648874d59a72f088a38007f7b2e65a40d8ad3351edf83a0f8e2f6345b1513ee2 [2022-12-13T04:06:45.092Z] $ docker rm -f 648874d59a72f088a38007f7b2e65a40d8ad3351edf83a0f8e2f6345b1513ee2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-13T04:07:03.961Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-121032 in /w/workspace/gexfoundry_device-sdk-go_PR-1265 [Pipeline] { [Pipeline] ws [2022-12-13T04:07:04.003Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-12-13T04:07:04.087Z] The recommended git tool is: git [2022-12-13T04:07:09.773Z] using credential edgex-jenkins-ssh [2022-12-13T04:07:09.790Z] Cloning the remote Git repository [2022-12-13T04:07:09.845Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-12-13T04:07:09.936Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-12-13T04:07:10.106Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-12-13T04:07:10.108Z] > git --version # timeout=10 [2022-12-13T04:07:10.132Z] > git --version # 'git version 2.25.1' [2022-12-13T04:07:10.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T04:07:10.187Z] Verifying host key using known hosts file [2022-12-13T04:07:10.407Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T04:07:10.420Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-13T04:07:12.080Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-12-13T04:07:12.125Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-13T04:07:13.894Z] Merging remotes/origin/main commit c9819f1195e0e6250bc0958cba43b0a168ce6321 into PR head commit 206823ae68d8fb2ee3979ae228d704166d891efc [2022-12-13T04:07:14.145Z] Merge succeeded, producing 206823ae68d8fb2ee3979ae228d704166d891efc [2022-12-13T04:07:14.146Z] Checking out Revision 206823ae68d8fb2ee3979ae228d704166d891efc (PR-1265) [2022-12-13T04:07:13.139Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-12-13T04:07:13.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-12-13T04:07:13.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T04:07:13.188Z] Verifying host key using known hosts file [2022-12-13T04:07:13.195Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T04:07:13.207Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1265/head:refs/remotes/origin/PR-1265 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-13T04:07:13.914Z] > git config core.sparsecheckout # timeout=10 [2022-12-13T04:07:13.936Z] > git checkout -f 206823ae68d8fb2ee3979ae228d704166d891efc # timeout=10 [2022-12-13T04:07:14.046Z] > git remote # timeout=10 [2022-12-13T04:07:14.064Z] > git config --get remote.origin.url # timeout=10 [2022-12-13T04:07:14.080Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T04:07:14.085Z] Verifying host key using known hosts file [2022-12-13T04:07:14.092Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T04:07:14.101Z] > git merge c9819f1195e0e6250bc0958cba43b0a168ce6321 # timeout=10 [2022-12-13T04:07:14.128Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-13T04:07:14.151Z] > git config core.sparsecheckout # timeout=10 [2022-12-13T04:07:14.167Z] > git checkout -f 206823ae68d8fb2ee3979ae228d704166d891efc # timeout=10 [2022-12-13T04:07:14.721Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2022-12-13T04:07:14.777Z] > git --version # timeout=10 [2022-12-13T04:07:14.788Z] > git --version # 'git version 2.25.1' [2022-12-13T04:07:14.810Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-13T04:07:15.885Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-13T04:07:15.885Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-13T04:07:15.885Z] Dload Upload Total Spent Left Speed [2022-12-13T04:07:15.885Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh [2022-12-13T04:07:16.516Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-13T04:07:16.859Z] + sudo tee /etc/docker/daemon.new [2022-12-13T04:07:16.859Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-13T04:07:16.859Z] { [2022-12-13T04:07:16.859Z] "registry-mirrors": [ [2022-12-13T04:07:16.859Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-13T04:07:16.859Z] ], [2022-12-13T04:07:16.859Z] "bip": "10.250.0.254/24", [2022-12-13T04:07:16.859Z] "hosts": [ [2022-12-13T04:07:16.859Z] "tcp://0.0.0.0:5555", [2022-12-13T04:07:16.859Z] "unix:///var/run/docker.sock" [2022-12-13T04:07:16.859Z] ], [2022-12-13T04:07:16.859Z] "mtu": 1458, [2022-12-13T04:07:16.859Z] "selinux-enabled": true, [2022-12-13T04:07:16.859Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-13T04:07:16.859Z] } [Pipeline] sh [2022-12-13T04:07:17.204Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-13T04:07:17.550Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T04:07:35.910Z] provisioning config files... [2022-12-13T04:07:35.945Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12942013604255317855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:07:36.367Z] ---> docker-login.sh [2022-12-13T04:07:36.367Z] nexus3.edgexfoundry.org:10001 [2022-12-13T04:07:36.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:07:36.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:07:36.965Z] Configure a credential helper to remove this warning. See [2022-12-13T04:07:36.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:07:36.965Z] [2022-12-13T04:07:36.965Z] Login Succeeded [2022-12-13T04:07:36.965Z] nexus3.edgexfoundry.org:10002 [2022-12-13T04:07:37.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:07:37.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:07:37.517Z] Configure a credential helper to remove this warning. See [2022-12-13T04:07:37.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:07:37.517Z] [2022-12-13T04:07:37.517Z] Login Succeeded [2022-12-13T04:07:37.517Z] nexus3.edgexfoundry.org:10003 [2022-12-13T04:07:37.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:07:37.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:07:37.794Z] Configure a credential helper to remove this warning. See [2022-12-13T04:07:37.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:07:37.794Z] [2022-12-13T04:07:37.794Z] Login Succeeded [2022-12-13T04:07:37.794Z] nexus3.edgexfoundry.org:10004 [2022-12-13T04:07:38.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:07:38.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:07:38.338Z] Configure a credential helper to remove this warning. See [2022-12-13T04:07:38.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:07:38.338Z] [2022-12-13T04:07:38.338Z] Login Succeeded [2022-12-13T04:07:38.338Z] docker.io [2022-12-13T04:07:38.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T04:07:38.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T04:07:38.884Z] Configure a credential helper to remove this warning. See [2022-12-13T04:07:38.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T04:07:38.884Z] [2022-12-13T04:07:38.884Z] Login Succeeded [2022-12-13T04:07:38.884Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T04:07:38.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-13T04:07:39.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T04:07:39.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T04:07:39.381Z] ========================================================= [2022-12-13T04:07:39.381Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-13T04:07:39.381Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:07:39.883Z] + 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-12-13T04:07:40.165Z] Sending build context to Docker daemon 5.598MB [2022-12-13T04:07:40.439Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-12-13T04:07:40.439Z] Step 2/10 : FROM ${BASE} AS builder [2022-12-13T04:07:40.439Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-13T04:07:40.439Z] 9b18e9b68314: Pulling fs layer [2022-12-13T04:07:40.439Z] 35d82f9e3411: Pulling fs layer [2022-12-13T04:07:40.439Z] e16973657156: Pulling fs layer [2022-12-13T04:07:40.439Z] fc693d55d65f: Pulling fs layer [2022-12-13T04:07:40.439Z] 7e9fc2657dce: Pulling fs layer [2022-12-13T04:07:40.439Z] dda99020689f: Pulling fs layer [2022-12-13T04:07:40.439Z] db1c61fa0a46: Pulling fs layer [2022-12-13T04:07:40.439Z] 891c053d2c06: Pulling fs layer [2022-12-13T04:07:40.439Z] fc693d55d65f: Waiting [2022-12-13T04:07:40.439Z] 7e9fc2657dce: Waiting [2022-12-13T04:07:40.439Z] dda99020689f: Waiting [2022-12-13T04:07:40.439Z] db1c61fa0a46: Waiting [2022-12-13T04:07:40.439Z] 891c053d2c06: Waiting [2022-12-13T04:07:40.439Z] e16973657156: Verifying Checksum [2022-12-13T04:07:40.439Z] e16973657156: Download complete [2022-12-13T04:07:40.439Z] 35d82f9e3411: Download complete [2022-12-13T04:07:40.869Z] 7e9fc2657dce: Verifying Checksum [2022-12-13T04:07:40.869Z] 7e9fc2657dce: Download complete [2022-12-13T04:07:40.869Z] dda99020689f: Download complete [2022-12-13T04:07:40.869Z] 9b18e9b68314: Verifying Checksum [2022-12-13T04:07:40.869Z] 9b18e9b68314: Download complete [2022-12-13T04:07:41.867Z] 9b18e9b68314: Pull complete [2022-12-13T04:07:41.867Z] 891c053d2c06: Verifying Checksum [2022-12-13T04:07:41.867Z] 891c053d2c06: Download complete [2022-12-13T04:07:42.469Z] 35d82f9e3411: Pull complete [2022-12-13T04:07:42.746Z] e16973657156: Pull complete [2022-12-13T04:07:43.342Z] db1c61fa0a46: Verifying Checksum [2022-12-13T04:07:43.342Z] db1c61fa0a46: Download complete [2022-12-13T04:07:43.937Z] fc693d55d65f: Verifying Checksum [2022-12-13T04:07:43.937Z] fc693d55d65f: Download complete [2022-12-13T04:07:56.291Z] fc693d55d65f: Pull complete [2022-12-13T04:07:56.291Z] 7e9fc2657dce: Pull complete [2022-12-13T04:07:56.291Z] dda99020689f: Pull complete [2022-12-13T04:08:01.662Z] db1c61fa0a46: Pull complete [2022-12-13T04:08:04.269Z] 891c053d2c06: Pull complete [2022-12-13T04:08:04.269Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-13T04:08:04.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-13T04:08:04.269Z] ---> f96f9c87975a [2022-12-13T04:08:04.269Z] Step 3/10 : ARG MAKE=make build [2022-12-13T04:08:06.230Z] ---> Running in 5a27e378eefa [2022-12-13T04:08:06.511Z] Removing intermediate container 5a27e378eefa [2022-12-13T04:08:06.511Z] ---> d006f875f2d7 [2022-12-13T04:08:06.511Z] Step 4/10 : WORKDIR /device-sdk-go [2022-12-13T04:08:06.785Z] ---> Running in aefc49a900f6 [2022-12-13T04:08:07.065Z] Removing intermediate container aefc49a900f6 [2022-12-13T04:08:07.065Z] ---> b2bbd8597fb6 [2022-12-13T04:08:07.065Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-13T04:08:07.065Z] ---> Running in 721d09f3ae47 [2022-12-13T04:08:07.658Z] Removing intermediate container 721d09f3ae47 [2022-12-13T04:08:07.658Z] ---> ec26630e7522 [2022-12-13T04:08:07.658Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-12-13T04:08:07.658Z] ---> Running in 78f14bd587e7 [2022-12-13T04:08:09.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-13T04:08:09.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-13T04:08:10.526Z] OK: 221 MiB in 51 packages [2022-12-13T04:08:11.133Z] Removing intermediate container 78f14bd587e7 [2022-12-13T04:08:11.133Z] ---> cb7c402a1e87 [2022-12-13T04:08:11.133Z] Step 7/10 : COPY go.mod vendor* ./ [2022-12-13T04:08:11.722Z] ---> 1193a9fd070d [2022-12-13T04:08:11.722Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-13T04:08:11.992Z] ---> Running in 9b0922a0bbe0 [2022-12-13T04:09:08.466Z] Removing intermediate container 9b0922a0bbe0 [2022-12-13T04:09:08.466Z] ---> 7e126b226f5d [2022-12-13T04:09:08.466Z] Step 9/10 : COPY . . [2022-12-13T04:09:08.466Z] ---> 7115b1d44d18 [2022-12-13T04:09:08.466Z] Step 10/10 : RUN ${MAKE} [2022-12-13T04:09:08.466Z] ---> Running in 83ce056eaa9d [2022-12-13T04:09:09.057Z] noop [2022-12-13T04:09:10.023Z] Removing intermediate container 83ce056eaa9d [2022-12-13T04:09:10.024Z] ---> 3c4575f25cf0 [2022-12-13T04:09:10.024Z] Successfully built 3c4575f25cf0 [2022-12-13T04:09:10.024Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:09:10.512Z] + docker inspect -f . ci-base-image-arm64 [2022-12-13T04:09:10.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T04:09:10.793Z] prd-ubuntu20.04-docker-arm64-4c-16g-121032 does not seem to be running inside a container [2022-12-13T04:09:10.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-13T04:09:12.138Z] $ docker top a5cd640db38bff014137f05930bc8ba66f7fb3bf30afe80f7a0a820ecad08e55 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T04:09:13.032Z] + go version [2022-12-13T04:09:13.032Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-13T04:09:13.070Z] $ docker stop --time=1 a5cd640db38bff014137f05930bc8ba66f7fb3bf30afe80f7a0a820ecad08e55 [2022-12-13T04:09:14.736Z] $ docker rm -f a5cd640db38bff014137f05930bc8ba66f7fb3bf30afe80f7a0a820ecad08e55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:09:15.618Z] + docker inspect -f . ci-base-image-arm64 [2022-12-13T04:09:15.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T04:09:15.889Z] prd-ubuntu20.04-docker-arm64-4c-16g-121032 does not seem to be running inside a container [2022-12-13T04:09:15.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-13T04:09:17.258Z] $ docker top ad90556b05125c68d0a62423901fb6a2382a608d6a737dd34a170b3135fac853 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T04:09:18.178Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-12-13T04:09:18.889Z] + make test [2022-12-13T04:09:18.889Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-12-13T04:09:57.810Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2022-12-13T04:12:19.602Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2022-12-13T04:12:19.602Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2022-12-13T04:12:19.602Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2022-12-13T04:12:19.602Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2022-12-13T04:12:19.602Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2022-12-13T04:12:20.578Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.707s coverage: 27.6% of statements [2022-12-13T04:12:23.946Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.675s coverage: 78.9% of statements [2022-12-13T04:12:23.946Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2022-12-13T04:12:32.259Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.470s coverage: 73.1% of statements [2022-12-13T04:12:32.259Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2022-12-13T04:12:32.259Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2022-12-13T04:12:36.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.592s coverage: 54.4% of statements [2022-12-13T04:12:36.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2022-12-13T04:12:36.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2022-12-13T04:12:36.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2022-12-13T04:12:36.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2022-12-13T04:12:36.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.486s coverage: 65.1% of statements [2022-12-13T04:12:36.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2022-12-13T04:12:36.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2022-12-13T04:12:37.517Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.901s coverage: 89.2% of statements [2022-12-13T04:12:37.517Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2022-12-13T04:12:37.517Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.546s coverage: 4.7% of statements [2022-12-13T04:12:37.517Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2022-12-13T04:12:38.111Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-13T04:12:38.111Z] GO111MODULE=on go vet ./... [2022-12-13T04:14:29.860Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-13T04:14:29.860Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-13T04:14:29.860Z] ./bin/test-attribution-txt.sh [2022-12-13T04:14:29.860Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-12-13T04:14:29.860Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2022-12-13T04:14:29.860Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2022-12-13T04:14:29.860Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-12-13T04:14:29.860Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-12-13T04:14:29.860Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-12-13T04:14:29.909Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-13T04:14:29.944Z] $ docker stop --time=1 ad90556b05125c68d0a62423901fb6a2382a608d6a737dd34a170b3135fac853 [2022-12-13T04:14:31.816Z] $ docker rm -f ad90556b05125c68d0a62423901fb6a2382a608d6a737dd34a170b3135fac853 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-13T04:14:33.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-13T04:14:33.364Z] Warning: overwriting stash ‘coverage-report’ [2022-12-13T04:14:33.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-13T04:14:34.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-13T04:14:34.926Z] + ls -al . [2022-12-13T04:14:34.926Z] total 276 [2022-12-13T04:14:34.926Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 04:09 . [2022-12-13T04:14:34.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:07 .. [2022-12-13T04:14:34.926Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 04:07 .dockerignore [2022-12-13T04:14:34.927Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 04:07 .git [2022-12-13T04:14:34.927Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:07 .github [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 131 Dec 13 04:07 .gitignore [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 04:07 .golangci.yml [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 31677 Dec 13 04:07 CHANGELOG.md [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 04:07 GOVERNANCE.md [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 880 Dec 13 04:07 Jenkinsfile [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 04:07 LICENSE [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 2003 Dec 13 04:07 Makefile [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 04:07 OWNERS.md [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 4881 Dec 13 04:07 README.md [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 04:04 VERSION [2022-12-13T04:14:34.927Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:07 bin [2022-12-13T04:14:34.927Z] -rw-r--r-- 1 jenkins jenkins 101759 Dec 13 04:12 coverage.out [2022-12-13T04:14:34.927Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 04:07 example [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 3342 Dec 13 04:07 go.mod [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 44555 Dec 13 04:07 go.sum [2022-12-13T04:14:34.927Z] drwxrwxr-x 14 jenkins jenkins 4096 Dec 13 04:07 internal [2022-12-13T04:14:34.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:07 openapi [2022-12-13T04:14:34.927Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 04:07 pkg [2022-12-13T04:14:34.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:07 snap [2022-12-13T04:14:34.927Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:14:35.365Z] + 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=206823ae68d8fb2ee3979ae228d704166d891efc --label arch=arm64 --label version=0.0.0 . [2022-12-13T04:14:35.635Z] Sending build context to Docker daemon 5.701MB [2022-12-13T04:14:35.903Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-12-13T04:14:35.903Z] Step 2/23 : FROM ${BASE} AS builder [2022-12-13T04:14:35.903Z] ---> 3c4575f25cf0 [2022-12-13T04:14:35.903Z] Step 3/23 : ARG MAKE=make build [2022-12-13T04:14:35.903Z] ---> Running in 563a4ec71501 [2022-12-13T04:14:36.176Z] Removing intermediate container 563a4ec71501 [2022-12-13T04:14:36.176Z] ---> ba0656e40c58 [2022-12-13T04:14:36.176Z] Step 4/23 : WORKDIR /device-sdk-go [2022-12-13T04:14:36.451Z] ---> Running in 4f3a49e6aef9 [2022-12-13T04:14:36.720Z] Removing intermediate container 4f3a49e6aef9 [2022-12-13T04:14:36.720Z] ---> 543de3139fa4 [2022-12-13T04:14:36.720Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-13T04:14:36.720Z] ---> Running in 42d53e76e0c2 [2022-12-13T04:14:36.988Z] Removing intermediate container 42d53e76e0c2 [2022-12-13T04:14:36.988Z] ---> df8f03819857 [2022-12-13T04:14:36.988Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-12-13T04:14:37.257Z] ---> Running in 9c5602b1887a [2022-12-13T04:14:38.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-13T04:14:38.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-13T04:14:39.781Z] OK: 221 MiB in 51 packages [2022-12-13T04:14:40.746Z] Removing intermediate container 9c5602b1887a [2022-12-13T04:14:40.746Z] ---> 8b066240acfb [2022-12-13T04:14:40.746Z] Step 7/23 : COPY go.mod vendor* ./ [2022-12-13T04:14:41.332Z] ---> ccf6aa0318de [2022-12-13T04:14:41.332Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-13T04:14:41.332Z] ---> Running in 596380fe6083 [2022-12-13T04:14:43.917Z] Removing intermediate container 596380fe6083 [2022-12-13T04:14:43.917Z] ---> 726f19442a75 [2022-12-13T04:14:43.917Z] Step 9/23 : COPY . . [2022-12-13T04:14:45.334Z] ---> 2ab10df24188 [2022-12-13T04:14:45.334Z] Step 10/23 : RUN ${MAKE} [2022-12-13T04:14:45.334Z] ---> Running in 71193bb8de33 [2022-12-13T04:14:46.298Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-12-13T04:17:08.053Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-12-13T04:17:11.396Z] Removing intermediate container 71193bb8de33 [2022-12-13T04:17:11.396Z] ---> 2bd33c43dcb7 [2022-12-13T04:17:11.396Z] Step 11/23 : FROM alpine:3.16 [2022-12-13T04:17:11.396Z] 3.16: Pulling from library/alpine [2022-12-13T04:17:11.396Z] 6875df1f5354: Pulling fs layer [2022-12-13T04:17:11.663Z] 6875df1f5354: Verifying Checksum [2022-12-13T04:17:11.663Z] 6875df1f5354: Download complete [2022-12-13T04:17:12.329Z] 6875df1f5354: Pull complete [2022-12-13T04:17:12.329Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-13T04:17:12.329Z] Status: Downloaded newer image for alpine:3.16 [2022-12-13T04:17:12.329Z] ---> 2b4661558fb8 [2022-12-13T04:17:12.329Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-12-13T04:17:12.329Z] ---> Running in 98da7f151d8d [2022-12-13T04:17:12.601Z] Removing intermediate container 98da7f151d8d [2022-12-13T04:17:12.601Z] ---> 39ba3d7996de [2022-12-13T04:17:12.601Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-12-13T04:17:12.871Z] ---> Running in 8a247bc19682 [2022-12-13T04:17:13.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-13T04:17:14.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-13T04:17:15.112Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-12-13T04:17:15.113Z] (2/5) Installing libsodium (1.0.18-r0) [2022-12-13T04:17:15.387Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-13T04:17:15.387Z] (4/5) Installing libzmq (4.3.4-r0) [2022-12-13T04:17:15.387Z] (5/5) Installing zeromq (4.3.4-r0) [2022-12-13T04:17:15.387Z] Executing busybox-1.35.0-r17.trigger [2022-12-13T04:17:15.387Z] OK: 8 MiB in 19 packages [2022-12-13T04:17:16.388Z] Removing intermediate container 8a247bc19682 [2022-12-13T04:17:16.388Z] ---> f7b0b13edfc6 [2022-12-13T04:17:16.388Z] Step 14/23 : WORKDIR / [2022-12-13T04:17:16.388Z] ---> Running in 71eacce06949 [2022-12-13T04:17:16.658Z] Removing intermediate container 71eacce06949 [2022-12-13T04:17:16.658Z] ---> 83470d49125d [2022-12-13T04:17:16.658Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-12-13T04:17:17.248Z] ---> 18caac5ae617 [2022-12-13T04:17:17.248Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-12-13T04:17:18.664Z] ---> dbab324549ac [2022-12-13T04:17:18.664Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-12-13T04:17:19.251Z] ---> 577cbe6b1e77 [2022-12-13T04:17:19.251Z] Step 18/23 : EXPOSE 59999 [2022-12-13T04:17:19.251Z] ---> Running in ace33eb3da04 [2022-12-13T04:17:19.522Z] Removing intermediate container ace33eb3da04 [2022-12-13T04:17:19.522Z] ---> c1eb6db11bd5 [2022-12-13T04:17:19.522Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-12-13T04:17:19.522Z] ---> Running in a50e45f6eff7 [2022-12-13T04:17:19.794Z] Removing intermediate container a50e45f6eff7 [2022-12-13T04:17:19.794Z] ---> 0b5a92cbb94f [2022-12-13T04:17:19.794Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-13T04:17:20.076Z] ---> Running in 58bed61b6387 [2022-12-13T04:17:20.344Z] Removing intermediate container 58bed61b6387 [2022-12-13T04:17:20.344Z] ---> 29e3c11c66ec [2022-12-13T04:17:20.344Z] Step 21/23 : LABEL arch=arm64 [2022-12-13T04:17:20.344Z] ---> Running in 48fe3cfe1d1b [2022-12-13T04:17:20.611Z] Removing intermediate container 48fe3cfe1d1b [2022-12-13T04:17:20.611Z] ---> cf3ce22f8297 [2022-12-13T04:17:20.611Z] Step 22/23 : LABEL git_sha=206823ae68d8fb2ee3979ae228d704166d891efc [2022-12-13T04:17:20.611Z] ---> Running in 41d32b3c5209 [2022-12-13T04:17:20.879Z] Removing intermediate container 41d32b3c5209 [2022-12-13T04:17:20.879Z] ---> 98b880d807fd [2022-12-13T04:17:20.879Z] Step 23/23 : LABEL version=0.0.0 [2022-12-13T04:17:21.150Z] ---> Running in 4b6b518548f3 [2022-12-13T04:17:21.417Z] Removing intermediate container 4b6b518548f3 [2022-12-13T04:17:21.417Z] ---> 5522380d0e9e [2022-12-13T04:17:21.417Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-13T04:17:21.417Z] Successfully built 5522380d0e9e [2022-12-13T04:17:21.417Z] 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-12-13T04:17:24.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T04:17:24.751Z] [2022-12-13T04:17:24.751Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:17:25.780Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T04:17:25.781Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-13T04:17:25.781Z] 8998bd30e6a1: Pulling fs layer [2022-12-13T04:17:25.781Z] 04944245beec: Pulling fs layer [2022-12-13T04:17:25.781Z] 699f458cf7ca: Pulling fs layer [2022-12-13T04:17:25.781Z] 765212b225bb: Pulling fs layer [2022-12-13T04:17:25.781Z] f23df028b6ca: Pulling fs layer [2022-12-13T04:17:25.781Z] d65c8cfc05b1: Pulling fs layer [2022-12-13T04:17:25.781Z] 2437ff75d9bd: Pulling fs layer [2022-12-13T04:17:25.781Z] 2437ff75d9bd: Waiting [2022-12-13T04:17:25.781Z] d65c8cfc05b1: Waiting [2022-12-13T04:17:25.781Z] 765212b225bb: Waiting [2022-12-13T04:17:26.051Z] 04944245beec: Verifying Checksum [2022-12-13T04:17:26.051Z] 04944245beec: Download complete [2022-12-13T04:17:26.051Z] 765212b225bb: Verifying Checksum [2022-12-13T04:17:26.051Z] 765212b225bb: Download complete [2022-12-13T04:17:26.051Z] f23df028b6ca: Verifying Checksum [2022-12-13T04:17:26.051Z] f23df028b6ca: Download complete [2022-12-13T04:17:26.051Z] d65c8cfc05b1: Verifying Checksum [2022-12-13T04:17:26.051Z] d65c8cfc05b1: Download complete [2022-12-13T04:17:26.322Z] 699f458cf7ca: Verifying Checksum [2022-12-13T04:17:26.322Z] 699f458cf7ca: Download complete [2022-12-13T04:17:26.590Z] 8998bd30e6a1: Verifying Checksum [2022-12-13T04:17:26.590Z] 8998bd30e6a1: Download complete [2022-12-13T04:17:29.174Z] 2437ff75d9bd: Verifying Checksum [2022-12-13T04:17:29.174Z] 2437ff75d9bd: Download complete [2022-12-13T04:17:30.591Z] 8998bd30e6a1: Pull complete [2022-12-13T04:17:31.176Z] 04944245beec: Pull complete [2022-12-13T04:17:32.587Z] 699f458cf7ca: Pull complete [2022-12-13T04:17:32.587Z] 765212b225bb: Pull complete [2022-12-13T04:17:33.173Z] f23df028b6ca: Pull complete [2022-12-13T04:17:33.442Z] d65c8cfc05b1: Pull complete [2022-12-13T04:17:48.445Z] 2437ff75d9bd: Pull complete [2022-12-13T04:17:48.445Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-13T04:17:48.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T04:17:48.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T04:17:48.767Z] prd-ubuntu20.04-docker-arm64-4c-16g-121032 does not seem to be running inside a container [2022-12-13T04:17:48.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-13T04:17:51.579Z] $ docker top 2cdfe221e8313f1be2879b3b883b2fa6f91cbe3377631fda8d0dc1ddc375b589 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:17:52.486Z] ---> job-cost.sh [2022-12-13T04:17:52.486Z] lf-activate-venv: SKIPPING [2022-12-13T04:17:52.486Z] INFO: No Stack... [2022-12-13T04:17:53.067Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-13T04:17:53.650Z] INFO: Archiving Costs [Pipeline] sh [2022-12-13T04:17:54.310Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-12-13T04:17:54.310Z] + cut -d, -f6 [Pipeline] lock [2022-12-13T04:17:54.400Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] [2022-12-13T04:17:54.405Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] did not exist. Created. [2022-12-13T04:17:54.405Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-13T04:17:54.824Z] /w/workspace/device-sdk-go/1@tmp/durable-a5342462/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-13T04:17:55.438Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-13T04:17:55.736Z] Warning: overwriting stash ‘stack-cost’ [2022-12-13T04:17:55.805Z] Stashed 1 file(s) [Pipeline] } [2022-12-13T04:17:55.820Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1265-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-13T04:17:55.907Z] $ docker stop --time=1 2cdfe221e8313f1be2879b3b883b2fa6f91cbe3377631fda8d0dc1ddc375b589 [2022-12-13T04:17:57.378Z] $ docker rm -f 2cdfe221e8313f1be2879b3b883b2fa6f91cbe3377631fda8d0dc1ddc375b589 [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-12-13T04:17:58.375Z] provisioning config files... [2022-12-13T04:17:58.383Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config7028675047295696261tmp [Pipeline] { [Pipeline] sh [2022-12-13T04:17:58.712Z] + set +x [2022-12-13T04:17:58.712Z] + + bash -s -- [2022-12-13T04:17:58.712Z] curl -s https://codecov.io/bash [2022-12-13T04:17:58.712Z] [2022-12-13T04:17:58.712Z] _____ _ [2022-12-13T04:17:58.712Z] / ____| | | [2022-12-13T04:17:58.712Z] | | ___ __| | ___ ___ _____ __ [2022-12-13T04:17:58.712Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-13T04:17:58.712Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-13T04:17:58.712Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-13T04:17:58.712Z] Bash-1.0.6 [2022-12-13T04:17:58.712Z] [2022-12-13T04:17:58.712Z] [2022-12-13T04:17:58.712Z] ==> git version 2.25.1 found [2022-12-13T04:17:58.712Z] ==> 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-12-13T04:17:58.712Z] Release-Date: 2020-01-08 [2022-12-13T04:17:58.712Z] 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-12-13T04:17:58.712Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-13T04:17:58.712Z] ==> Jenkins CI detected. [2022-12-13T04:17:58.712Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1265 [2022-12-13T04:17:58.712Z] project root: . [2022-12-13T04:17:58.712Z] --> token set from env [2022-12-13T04:17:58.712Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-13T04:17:58.712Z] ==> Running gcov in . (disable via -X gcov) [2022-12-13T04:17:58.712Z] ==> Python coveragepy not found [2022-12-13T04:17:58.713Z] ==> Searching for coverage reports in: [2022-12-13T04:17:58.713Z] + . [2022-12-13T04:17:58.713Z] -> Found 1 reports [2022-12-13T04:17:58.713Z] ==> Detecting git/mercurial file structure [2022-12-13T04:17:58.713Z] ==> Reading reports [2022-12-13T04:17:58.713Z] + ./coverage.out bytes=101759 [2022-12-13T04:17:58.713Z] ==> Appending adjustments [2022-12-13T04:17:58.713Z] https://docs.codecov.io/docs/fixing-reports [2022-12-13T04:17:58.972Z] + Found adjustments [2022-12-13T04:17:58.972Z] ==> Gzipping contents [2022-12-13T04:17:58.972Z] 16K /tmp/codecov.LkwQiz.gz [2022-12-13T04:17:58.972Z] ==> Uploading reports [2022-12-13T04:17:58.972Z] url: https://codecov.io [2022-12-13T04:17:58.972Z] query: branch=PR-1265&commit=206823ae68d8fb2ee3979ae228d704166d891efc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1265%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1265&job=&cmd_args= [2022-12-13T04:17:58.972Z] -> Pinging Codecov [2022-12-13T04:17:58.972Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1265&commit=206823ae68d8fb2ee3979ae228d704166d891efc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1265%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1265&job=&cmd_args= [2022-12-13T04:17:59.543Z] -> Uploading to [2022-12-13T04:17:59.543Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-13/7E55EF52A471D76F132DFD9A03CDDE97/206823ae68d8fb2ee3979ae228d704166d891efc/6680277d-1dbf-4af7-88f4-033bcb1b5d72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221213T041759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2f0af7c52f560b11fe8ce58cad6c9b350c93e7bba075cbb181a78b9ba50a0f56 [2022-12-13T04:17:59.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-13T04:17:59.543Z] Dload Upload Total Spent Left Speed [2022-12-13T04:17:59.801Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14693 0 0 100 14693 0 72379 --:--:-- --:--:-- --:--:-- 72379 100 14693 0 0 100 14693 0 70639 --:--:-- --:--:-- --:--:-- 70301 [2022-12-13T04:17:59.801Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/206823ae68d8fb2ee3979ae228d704166d891efc [Pipeline] } [2022-12-13T04:17:59.834Z] 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-12-13T04:18:01.594Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives ] [2022-12-13T04:18:01.594Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives [2022-12-13T04:18:01.594Z] total 16 [2022-12-13T04:18:01.594Z] drwxr-xr-x 3 root root 4096 Dec 13 04:06 . [2022-12-13T04:18:01.594Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:06 .. [2022-12-13T04:18:01.594Z] drwxr-xr-x 2 root root 4096 Dec 13 04:06 cost [2022-12-13T04:18:01.594Z] -rw-r--r-- 1 root root 86 Dec 13 04:06 cost.csv [2022-12-13T04:18:01.594Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives [2022-12-13T04:18:01.594Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives [2022-12-13T04:18:01.594Z] total 16 [2022-12-13T04:18:01.594Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 04:06 . [2022-12-13T04:18:01.594Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:06 .. [2022-12-13T04:18:01.594Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 04:06 cost [2022-12-13T04:18:01.594Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 13 04:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:18:01.920Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:18:02.799Z] ---> package-listing.sh [2022-12-13T04:18:02.799Z] ++ facter osfamily [2022-12-13T04:18:02.799Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-13T04:18:03.057Z] + OS_FAMILY=debian [2022-12-13T04:18:03.057Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1265 [2022-12-13T04:18:03.057Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-13T04:18:03.057Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-13T04:18:03.057Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-13T04:18:03.057Z] + PACKAGES=/tmp/packages_start.txt [2022-12-13T04:18:03.057Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1265 ']' [2022-12-13T04:18:03.057Z] + PACKAGES=/tmp/packages_end.txt [2022-12-13T04:18:03.057Z] + case "${OS_FAMILY}" in [2022-12-13T04:18:03.057Z] + dpkg -l [2022-12-13T04:18:03.057Z] + grep '^ii' [2022-12-13T04:18:03.057Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-13T04:18:03.057Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-13T04:18:03.057Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-13T04:18:03.057Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1265 ']' [2022-12-13T04:18:03.057Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives/ [2022-12-13T04:18:03.057Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1265/archives/ [Pipeline] echo [2022-12-13T04:18:03.095Z] 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-1265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-13T04:18:03.388Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T04:18:04.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T04:18:04.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T04:18:04.150Z] prd-ubuntu20.04-docker-8c-8g-121028 does not seem to be running inside a container [2022-12-13T04:18:04.170Z] $ 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-1265/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-1265 -v /w/workspace/gexfoundry_device-sdk-go_PR-1265:/w/workspace/gexfoundry_device-sdk-go_PR-1265:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-13T04:18:04.382Z] $ docker top 515ef4c025daf5e835271abe8edbb70be0203b7ffef0a520d3df5aa87f57e2be -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T04:18:04.765Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-13T04:18:05.074Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-13T04:18:05.385Z] + ls /var/log/sa-host [2022-12-13T04:18:05.385Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T04:18:05.521Z] provisioning config files... [2022-12-13T04:18:05.530Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1265@tmp/config16981270936505309058tmp [Pipeline] { [Pipeline] echo [2022-12-13T04:18:05.585Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:18:05.943Z] ---> create-netrc.sh [Pipeline] } [2022-12-13T04:18:05.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:18:06.376Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-13T04:18:06.413Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:18:06.733Z] ---> sudo-logs.sh [2022-12-13T04:18:06.733Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-13T04:18:06.820Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:18:07.145Z] ---> job-cost.sh [2022-12-13T04:18:07.145Z] lf-activate-venv: SKIPPING [2022-12-13T04:18:07.145Z] DEBUG: total: 0.2199999988079071 [2022-12-13T04:18:07.145Z] INFO: Retrieving Stack Cost... [2022-12-13T04:18:07.714Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-13T04:18:07.973Z] INFO: Archiving Costs [Pipeline] echo [2022-12-13T04:18:08.010Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T04:18:08.324Z] ---> logs-deploy.sh [2022-12-13T04:18:08.324Z] lf-activate-venv: SKIPPING [2022-12-13T04:18:08.324Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1265/1 [2022-12-13T04:18:08.324Z] INFO: archiving workspace using pattern(s): [2022-12-13T04:18:09.283Z] Archives upload complete. [2022-12-13T04:18:09.542Z] INFO: archiving logs to Nexus [2022-12-13T04:18:10.110Z] ---> uname -a: [2022-12-13T04:18:10.110Z] Linux prd-ubuntu20-04-docker-8c-8g-121028 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-12-13T04:18:10.110Z] [2022-12-13T04:18:10.110Z] [2022-12-13T04:18:10.110Z] ---> lscpu: [2022-12-13T04:18:10.110Z] Architecture: x86_64 [2022-12-13T04:18:10.110Z] CPU op-mode(s): 32-bit, 64-bit [2022-12-13T04:18:10.110Z] Byte Order: Little Endian [2022-12-13T04:18:10.110Z] Address sizes: 40 bits physical, 48 bits virtual [2022-12-13T04:18:10.110Z] CPU(s): 8 [2022-12-13T04:18:10.110Z] On-line CPU(s) list: 0-7 [2022-12-13T04:18:10.110Z] Thread(s) per core: 1 [2022-12-13T04:18:10.110Z] Core(s) per socket: 1 [2022-12-13T04:18:10.110Z] Socket(s): 8 [2022-12-13T04:18:10.110Z] NUMA node(s): 1 [2022-12-13T04:18:10.110Z] Vendor ID: AuthenticAMD [2022-12-13T04:18:10.110Z] CPU family: 23 [2022-12-13T04:18:10.110Z] Model: 49 [2022-12-13T04:18:10.110Z] Model name: AMD EPYC-Rome Processor [2022-12-13T04:18:10.110Z] Stepping: 0 [2022-12-13T04:18:10.110Z] CPU MHz: 2799.998 [2022-12-13T04:18:10.110Z] BogoMIPS: 5599.99 [2022-12-13T04:18:10.110Z] Virtualization: AMD-V [2022-12-13T04:18:10.110Z] Hypervisor vendor: KVM [2022-12-13T04:18:10.110Z] Virtualization type: full [2022-12-13T04:18:10.110Z] L1d cache: 256 KiB [2022-12-13T04:18:10.110Z] L1i cache: 256 KiB [2022-12-13T04:18:10.110Z] L2 cache: 4 MiB [2022-12-13T04:18:10.110Z] L3 cache: 128 MiB [2022-12-13T04:18:10.110Z] NUMA node0 CPU(s): 0-7 [2022-12-13T04:18:10.110Z] Vulnerability Itlb multihit: Not affected [2022-12-13T04:18:10.110Z] Vulnerability L1tf: Not affected [2022-12-13T04:18:10.110Z] Vulnerability Mds: Not affected [2022-12-13T04:18:10.110Z] Vulnerability Meltdown: Not affected [2022-12-13T04:18:10.110Z] Vulnerability Mmio stale data: Not affected [2022-12-13T04:18:10.110Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-12-13T04:18:10.110Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-12-13T04:18:10.110Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-12-13T04:18:10.110Z] Vulnerability Srbds: Not affected [2022-12-13T04:18:10.110Z] Vulnerability Tsx async abort: Not affected [2022-12-13T04:18:10.110Z] 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-12-13T04:18:10.110Z] [2022-12-13T04:18:10.110Z] [2022-12-13T04:18:10.110Z] ---> nproc: [2022-12-13T04:18:10.110Z] 8 [2022-12-13T04:18:10.110Z] [2022-12-13T04:18:10.110Z] [2022-12-13T04:18:10.110Z] ---> df -h: [2022-12-13T04:18:10.110Z] Filesystem Size Used Avail Use% Mounted on [2022-12-13T04:18:10.110Z] overlay 155G 12G 144G 8% / [2022-12-13T04:18:10.110Z] tmpfs 64M 0 64M 0% /dev [2022-12-13T04:18:10.110Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-12-13T04:18:10.110Z] shm 64M 0 64M 0% /dev/shm [2022-12-13T04:18:10.110Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-12-13T04:18:10.110Z] [2022-12-13T04:18:10.110Z]