Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c86f3382c5af20230a0e7f19b8225d91b13900b4+b76771b07adf0b8c2e38dd8a749adeac8b55b549 (ad554b55676b4d205980a2df051e19787ff6adec) 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-ssh3228818538173306047.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-ssh5686737171623585684.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2445808533582769754.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 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-ssh12461134916384582363.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3845398888940671883.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 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 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-118068 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [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-1244 # 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/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b76771b07adf0b8c2e38dd8a749adeac8b55b549 into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 Merge succeeded, producing 4a83d867d8f8297b0633c4ebd62876660ccead9f Checking out Revision 4a83d867d8f8297b0633c4ebd62876660ccead9f (PR-1244) > git config core.sparsecheckout # timeout=10 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # 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 b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a83d867d8f8297b0633c4ebd62876660ccead9f # timeout=10 Commit message: "Merge commit 'b76771b07adf0b8c2e38dd8a749adeac8b55b549' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 43a799d67e5a5e79ff49ac009a5f78023486851a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-03T06:41:23.030Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-03T06:41:23.082Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-03T06:41:23.099Z] ========================================================= [2022-11-03T06:41:23.099Z] EdgeX Global Pipelines Version Info [2022-11-03T06:41:23.099Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:41:23.798Z] ------------------- [2022-11-03T06:41:23.798Z] stable info: [2022-11-03T06:41:23.798Z] ------------------- [2022-11-03T06:41:23.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-03T06:41:23.798Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T06:41:23.798Z] Message: update stable to v1.0.244 [2022-11-03T06:41:24.367Z] ------------------- [2022-11-03T06:41:24.367Z] experimental info: [2022-11-03T06:41:24.367Z] ------------------- [2022-11-03T06:41:24.367Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-03T06:41:24.367Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T06:41:24.367Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-03T06:41:24.532Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-11-03T06:41:24.541Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-11-03T06:41:24.549Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-03T06:41:24.557Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-03T06:41:24.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-03T06:41:24.574Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-03T06:41:24.582Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-03T06:41:24.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-11-03T06:41:24.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-03T06:41:24.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-03T06:41:24.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-03T06:41:24.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-11-03T06:41:24.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-03T06:41:24.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-03T06:41:24.656Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T06:41:24.669Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T06:41:24.679Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T06:41:24.692Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T06:41:24.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-03T06:41:24.714Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-03T06:41:24.734Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-03T06:41:24.747Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-11-03T06:41:24.756Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-03T06:41:24.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-03T06:41:24.771Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-03T06:41:24.779Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-03T06:41:24.787Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-03T06:41:24.795Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1244 [Pipeline] echo [2022-11-03T06:41:24.803Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1244 [Pipeline] echo [2022-11-03T06:41:24.811Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1244 [Pipeline] echo [2022-11-03T06:41:24.829Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a83d867d8f8297b0633c4ebd62876660ccead9f [Pipeline] echo [2022-11-03T06:41:24.842Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a83d86 [Pipeline] echo [2022-11-03T06:41:24.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T06:41:24.900Z] provisioning config files... [2022-11-03T06:41:24.912Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config11703824850617836874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:41:25.213Z] ---> docker-login.sh [2022-11-03T06:41:25.213Z] nexus3.edgexfoundry.org:10001 [2022-11-03T06:41:25.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:41:25.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:41:25.735Z] Configure a credential helper to remove this warning. See [2022-11-03T06:41:25.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:41:25.735Z] [2022-11-03T06:41:25.735Z] Login Succeeded [2022-11-03T06:41:25.735Z] nexus3.edgexfoundry.org:10002 [2022-11-03T06:41:25.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:41:25.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:41:25.735Z] Configure a credential helper to remove this warning. See [2022-11-03T06:41:25.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:41:25.735Z] [2022-11-03T06:41:25.735Z] Login Succeeded [2022-11-03T06:41:25.735Z] nexus3.edgexfoundry.org:10003 [2022-11-03T06:41:25.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:41:25.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:41:25.994Z] Configure a credential helper to remove this warning. See [2022-11-03T06:41:25.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:41:25.994Z] [2022-11-03T06:41:25.994Z] Login Succeeded [2022-11-03T06:41:25.994Z] nexus3.edgexfoundry.org:10004 [2022-11-03T06:41:25.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:41:25.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:41:25.994Z] Configure a credential helper to remove this warning. See [2022-11-03T06:41:25.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:41:25.994Z] [2022-11-03T06:41:25.994Z] Login Succeeded [2022-11-03T06:41:25.994Z] docker.io [2022-11-03T06:41:25.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:41:26.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:41:26.563Z] Configure a credential helper to remove this warning. See [2022-11-03T06:41:26.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:41:26.563Z] [2022-11-03T06:41:26.563Z] Login Succeeded [2022-11-03T06:41:26.563Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T06:41:26.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-03T06:41:26.921Z] + git rev-list -1 --merges 4a83d867d8f8297b0633c4ebd62876660ccead9f~1..4a83d867d8f8297b0633c4ebd62876660ccead9f [Pipeline] echo [2022-11-03T06:41:26.949Z] -----------> git rev-list -1 --merges 4a83d867d8f8297b0633c4ebd62876660ccead9f~1..4a83d867d8f8297b0633c4ebd62876660ccead9f 4a83d867d8f8297b0633c4ebd62876660ccead9f [2022-11-03T06:41:26.949Z] 4a83d867d8f8297b0633c4ebd62876660ccead9f [false] [Pipeline] sh [2022-11-03T06:41:27.240Z] + git log --format=format:%s -1 4a83d867d8f8297b0633c4ebd62876660ccead9f [Pipeline] echo [2022-11-03T06:41:27.252Z] ========================================================= [2022-11-03T06:41:27.252Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-03T06:41:27.252Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T06:41:27.568Z] + git log --format=format:%s -1 4a83d867d8f8297b0633c4ebd62876660ccead9f [Pipeline] echo [2022-11-03T06:41:27.578Z] [semverPrep] GIT_COMMIT: 4a83d867d8f8297b0633c4ebd62876660ccead9f, Commit Message: Merge commit 'b76771b07adf0b8c2e38dd8a749adeac8b55b549' into HEAD [Pipeline] echo [2022-11-03T06:41:27.587Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-03T06:41:27.935Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T06:41:27.935Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-03T06:41:27.935Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-03T06:41:27.935Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-03T06:41:27.936Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-03T06:41:27.936Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-03T06:41:27.936Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:41:28.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T06:41:28.334Z] [2022-11-03T06:41:28.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:41:28.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T06:41:28.634Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-03T06:41:28.634Z] b85a868b505f: Pulling fs layer [2022-11-03T06:41:28.634Z] e2be974225ed: Pulling fs layer [2022-11-03T06:41:28.634Z] 339a4e72a1f5: Pulling fs layer [2022-11-03T06:41:28.634Z] 988bab9f4d93: Pulling fs layer [2022-11-03T06:41:28.634Z] 1469e6f7b9e6: Pulling fs layer [2022-11-03T06:41:28.634Z] eaf3925da568: Pulling fs layer [2022-11-03T06:41:28.634Z] bab4dde63d76: Pulling fs layer [2022-11-03T06:41:28.634Z] bde34c3a00c8: Pulling fs layer [2022-11-03T06:41:28.634Z] b352a97aabf1: Pulling fs layer [2022-11-03T06:41:28.634Z] 4872d77fe225: Pulling fs layer [2022-11-03T06:41:28.634Z] 5851b861e8e6: Pulling fs layer [2022-11-03T06:41:28.634Z] b352a97aabf1: Waiting [2022-11-03T06:41:28.634Z] 1469e6f7b9e6: Waiting [2022-11-03T06:41:28.634Z] eaf3925da568: Waiting [2022-11-03T06:41:28.634Z] 4872d77fe225: Waiting [2022-11-03T06:41:28.634Z] bab4dde63d76: Waiting [2022-11-03T06:41:28.634Z] 988bab9f4d93: Waiting [2022-11-03T06:41:28.634Z] bde34c3a00c8: Waiting [2022-11-03T06:41:28.634Z] e2be974225ed: Verifying Checksum [2022-11-03T06:41:28.634Z] e2be974225ed: Download complete [2022-11-03T06:41:28.634Z] 988bab9f4d93: Verifying Checksum [2022-11-03T06:41:28.634Z] 988bab9f4d93: Download complete [2022-11-03T06:41:28.893Z] 1469e6f7b9e6: Verifying Checksum [2022-11-03T06:41:28.893Z] 1469e6f7b9e6: Download complete [2022-11-03T06:41:28.893Z] eaf3925da568: Verifying Checksum [2022-11-03T06:41:28.893Z] eaf3925da568: Download complete [2022-11-03T06:41:28.893Z] 339a4e72a1f5: Verifying Checksum [2022-11-03T06:41:28.893Z] 339a4e72a1f5: Download complete [2022-11-03T06:41:28.893Z] bde34c3a00c8: Verifying Checksum [2022-11-03T06:41:28.893Z] bde34c3a00c8: Download complete [2022-11-03T06:41:28.893Z] b352a97aabf1: Verifying Checksum [2022-11-03T06:41:28.893Z] b352a97aabf1: Download complete [2022-11-03T06:41:28.893Z] 4872d77fe225: Verifying Checksum [2022-11-03T06:41:28.893Z] 4872d77fe225: Download complete [2022-11-03T06:41:28.893Z] 5851b861e8e6: Verifying Checksum [2022-11-03T06:41:28.893Z] 5851b861e8e6: Download complete [2022-11-03T06:41:28.893Z] b85a868b505f: Verifying Checksum [2022-11-03T06:41:28.893Z] b85a868b505f: Download complete [2022-11-03T06:41:29.152Z] bab4dde63d76: Verifying Checksum [2022-11-03T06:41:29.152Z] bab4dde63d76: Download complete [2022-11-03T06:41:30.088Z] b85a868b505f: Pull complete [2022-11-03T06:41:30.088Z] e2be974225ed: Pull complete [2022-11-03T06:41:30.656Z] 339a4e72a1f5: Pull complete [2022-11-03T06:41:30.656Z] 988bab9f4d93: Pull complete [2022-11-03T06:41:30.914Z] 1469e6f7b9e6: Pull complete [2022-11-03T06:41:30.914Z] eaf3925da568: Pull complete [2022-11-03T06:41:32.815Z] bab4dde63d76: Pull complete [2022-11-03T06:41:32.815Z] bde34c3a00c8: Pull complete [2022-11-03T06:41:32.815Z] b352a97aabf1: Pull complete [2022-11-03T06:41:32.815Z] 4872d77fe225: Pull complete [2022-11-03T06:41:32.815Z] 5851b861e8e6: Pull complete [2022-11-03T06:41:32.815Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-03T06:41:32.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T06:41:32.815Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T06:41:32.896Z] prd-ubuntu20.04-docker-8c-8g-118068 does not seem to be running inside a container [2022-11-03T06:41:32.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T06:41:34.442Z] $ docker top 271751ece5f6afaa57d5b27c89e5e7366f3895cd3c2c5943af29b4eb4691b6b9 -eo pid,comm [2022-11-03T06:41:34.521Z] 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-11-03T06:41:34.521Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T06:41:34.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T06:41:34.555Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T06:41:34.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T06:41:34.690Z] $ docker exec 271751ece5f6afaa57d5b27c89e5e7366f3895cd3c2c5943af29b4eb4691b6b9 ssh-agent [2022-11-03T06:41:34.800Z] SSH_AUTH_SOCK=/tmp/ssh-p0KvFwHJrpHW/agent.32 [2022-11-03T06:41:34.800Z] SSH_AGENT_PID=38 [2022-11-03T06:41:34.825Z] Running ssh-add (command line suppressed) [2022-11-03T06:41:34.927Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_1386895705279054196.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_1386895705279054196.key) [2022-11-03T06:41:34.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T06:41:35.225Z] + git tag --points-at HEAD [Pipeline] } [2022-11-03T06:41:35.244Z] $ docker exec --env ******** --env ******** 271751ece5f6afaa57d5b27c89e5e7366f3895cd3c2c5943af29b4eb4691b6b9 ssh-agent -k [2022-11-03T06:41:35.338Z] unset SSH_AUTH_SOCK; [2022-11-03T06:41:35.339Z] unset SSH_AGENT_PID; [2022-11-03T06:41:35.339Z] echo Agent pid 38 killed; [2022-11-03T06:41:35.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-03T06:41:35.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T06:41:35.369Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T06:41:35.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T06:41:35.485Z] $ docker exec 271751ece5f6afaa57d5b27c89e5e7366f3895cd3c2c5943af29b4eb4691b6b9 ssh-agent [2022-11-03T06:41:35.591Z] SSH_AUTH_SOCK=/tmp/ssh-503KI9GhOSX3/agent.70 [2022-11-03T06:41:35.591Z] SSH_AGENT_PID=76 [2022-11-03T06:41:35.597Z] Running ssh-add (command line suppressed) [2022-11-03T06:41:35.717Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_13727368907096708559.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_13727368907096708559.key) [2022-11-03T06:41:35.727Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T06:41:36.016Z] + git semver init [2022-11-03T06:41:36.276Z] 2022-11-03 06:41:36,216 [run_init] DEBUG init version:0.0.0 force:False [2022-11-03T06:41:36.276Z] 2022-11-03 06:41:36,217 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver [2022-11-03T06:41:36.276Z] 2022-11-03 06:41:36,218 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver [2022-11-03T06:41:36.276Z] 2022-11-03 06:41:36,218 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244, universal_newlines=False, shell=None, istream=None) [2022-11-03T06:41:37.654Z] 2022-11-03 06:41:37,604 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.git/info/exclude [2022-11-03T06:41:37.654Z] 2022-11-03 06:41:37,605 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 with force:False [2022-11-03T06:41:37.654Z] 2022-11-03 06:41:37,605 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 [2022-11-03T06:41:37.654Z] 2022-11-03 06:41:37,609 [execute] INFO git cat-file --batch-check [2022-11-03T06:41:37.654Z] 2022-11-03 06:41:37,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T06:41:37.654Z] 2022-11-03 06:41:37,615 [execute] INFO git cat-file --batch [2022-11-03T06:41:37.654Z] 2022-11-03 06:41:37,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T06:41:37.654Z] 2022-11-03 06:41:37,621 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 [2022-11-03T06:41:37.654Z] 0.0.0 [Pipeline] } [2022-11-03T06:41:37.666Z] $ docker exec --env ******** --env ******** 271751ece5f6afaa57d5b27c89e5e7366f3895cd3c2c5943af29b4eb4691b6b9 ssh-agent -k [2022-11-03T06:41:37.764Z] unset SSH_AUTH_SOCK; [2022-11-03T06:41:37.765Z] unset SSH_AGENT_PID; [2022-11-03T06:41:37.765Z] echo Agent pid 76 killed; [2022-11-03T06:41:37.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T06:41:38.078Z] + git semver [Pipeline] } [2022-11-03T06:41:38.353Z] $ docker stop --time=1 271751ece5f6afaa57d5b27c89e5e7366f3895cd3c2c5943af29b4eb4691b6b9 [2022-11-03T06:41:39.669Z] $ docker rm -f 271751ece5f6afaa57d5b27c89e5e7366f3895cd3c2c5943af29b4eb4691b6b9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T06:41:40.006Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-03T06:41:40.177Z] Stashed 1 file(s) [Pipeline] echo [2022-11-03T06:41:40.180Z] [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-11-03T06:41:40.328Z] provisioning config files... [2022-11-03T06:41:40.341Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config14388872623178496651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:41:40.636Z] ---> docker-login.sh [2022-11-03T06:41:40.636Z] nexus3.edgexfoundry.org:10001 [2022-11-03T06:41:40.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:41:40.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:41:40.636Z] Configure a credential helper to remove this warning. See [2022-11-03T06:41:40.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:41:40.636Z] [2022-11-03T06:41:40.636Z] Login Succeeded [2022-11-03T06:41:40.636Z] nexus3.edgexfoundry.org:10002 [2022-11-03T06:41:40.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:41:40.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:41:40.636Z] Configure a credential helper to remove this warning. See [2022-11-03T06:41:40.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:41:40.636Z] [2022-11-03T06:41:40.636Z] Login Succeeded [2022-11-03T06:41:40.636Z] nexus3.edgexfoundry.org:10003 [2022-11-03T06:41:40.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:41:40.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:41:40.896Z] Configure a credential helper to remove this warning. See [2022-11-03T06:41:40.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:41:40.896Z] [2022-11-03T06:41:40.896Z] Login Succeeded [2022-11-03T06:41:40.896Z] nexus3.edgexfoundry.org:10004 [2022-11-03T06:41:40.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:41:40.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:41:40.896Z] Configure a credential helper to remove this warning. See [2022-11-03T06:41:40.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:41:40.896Z] [2022-11-03T06:41:40.896Z] Login Succeeded [2022-11-03T06:41:40.896Z] docker.io [2022-11-03T06:41:40.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:41:41.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:41:41.464Z] Configure a credential helper to remove this warning. See [2022-11-03T06:41:41.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:41:41.464Z] [2022-11-03T06:41:41.464Z] Login Succeeded [2022-11-03T06:41:41.464Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T06:41:41.472Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T06:41:41.535Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T06:41:41.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T06:41:41.558Z] ========================================================= [2022-11-03T06:41:41.558Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-03T06:41:41.558Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:41:41.869Z] + 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-11-03T06:41:41.869Z] Sending build context to Docker daemon 10.13MB [2022-11-03T06:41:41.869Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T06:41:41.869Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-03T06:41:41.869Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-03T06:41:41.869Z] 213ec9aee27d: Pulling fs layer [2022-11-03T06:41:41.869Z] 4583459ba037: Pulling fs layer [2022-11-03T06:41:41.869Z] 93c1e223e6f2: Pulling fs layer [2022-11-03T06:41:41.869Z] 53926ce57604: Pulling fs layer [2022-11-03T06:41:41.869Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-03T06:41:41.869Z] 22ff95d597cd: Pulling fs layer [2022-11-03T06:41:41.869Z] 12d6caf4c0d1: Pulling fs layer [2022-11-03T06:41:41.869Z] 96b7cbca73a9: Pulling fs layer [2022-11-03T06:41:41.869Z] 53926ce57604: Waiting [2022-11-03T06:41:41.869Z] 21b2b0c7a3f4: Waiting [2022-11-03T06:41:41.869Z] 22ff95d597cd: Waiting [2022-11-03T06:41:41.869Z] 12d6caf4c0d1: Waiting [2022-11-03T06:41:41.869Z] a7acece74701: Pulling fs layer [2022-11-03T06:41:41.869Z] 96b7cbca73a9: Waiting [2022-11-03T06:41:41.869Z] a7acece74701: Waiting [2022-11-03T06:41:41.869Z] 93c1e223e6f2: Verifying Checksum [2022-11-03T06:41:41.869Z] 93c1e223e6f2: Download complete [2022-11-03T06:41:41.869Z] 4583459ba037: Download complete [2022-11-03T06:41:42.129Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-03T06:41:42.129Z] 21b2b0c7a3f4: Download complete [2022-11-03T06:41:42.129Z] 22ff95d597cd: Verifying Checksum [2022-11-03T06:41:42.129Z] 22ff95d597cd: Download complete [2022-11-03T06:41:42.129Z] 213ec9aee27d: Verifying Checksum [2022-11-03T06:41:42.129Z] 213ec9aee27d: Download complete [2022-11-03T06:41:42.129Z] 12d6caf4c0d1: Download complete [2022-11-03T06:41:42.129Z] 213ec9aee27d: Pull complete [2022-11-03T06:41:42.388Z] 4583459ba037: Pull complete [2022-11-03T06:41:42.388Z] 93c1e223e6f2: Pull complete [2022-11-03T06:41:42.388Z] a7acece74701: Verifying Checksum [2022-11-03T06:41:42.388Z] a7acece74701: Download complete [2022-11-03T06:41:42.956Z] 96b7cbca73a9: Verifying Checksum [2022-11-03T06:41:42.956Z] 96b7cbca73a9: Download complete [2022-11-03T06:41:42.956Z] 53926ce57604: Verifying Checksum [2022-11-03T06:41:42.956Z] 53926ce57604: Download complete [2022-11-03T06:41:46.237Z] 53926ce57604: Pull complete [2022-11-03T06:41:46.496Z] 21b2b0c7a3f4: Pull complete [2022-11-03T06:41:46.496Z] 22ff95d597cd: Pull complete [2022-11-03T06:41:46.496Z] 12d6caf4c0d1: Pull complete [2022-11-03T06:41:48.395Z] 96b7cbca73a9: Pull complete [2022-11-03T06:41:49.330Z] a7acece74701: Pull complete [2022-11-03T06:41:49.330Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-03T06:41:49.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-03T06:41:49.330Z] ---> db6d94c90886 [2022-11-03T06:41:49.330Z] Step 3/10 : ARG MAKE=make build [2022-11-03T06:41:50.711Z] ---> Running in c67ed10b9846 [2022-11-03T06:41:50.970Z] Removing intermediate container c67ed10b9846 [2022-11-03T06:41:50.970Z] ---> 0189dc862b4a [2022-11-03T06:41:50.970Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-03T06:41:50.970Z] ---> Running in 94aed0e721e9 [2022-11-03T06:41:50.970Z] Removing intermediate container 94aed0e721e9 [2022-11-03T06:41:50.970Z] ---> 09d064355376 [2022-11-03T06:41:50.970Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-03T06:41:51.229Z] ---> Running in 2bddda894189 [2022-11-03T06:41:51.229Z] Removing intermediate container 2bddda894189 [2022-11-03T06:41:51.229Z] ---> 6c6a7b237508 [2022-11-03T06:41:51.229Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T06:41:51.229Z] ---> Running in a2c504b39c38 [2022-11-03T06:41:51.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T06:41:51.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T06:41:52.004Z] OK: 211 MiB in 51 packages [2022-11-03T06:41:52.262Z] Removing intermediate container a2c504b39c38 [2022-11-03T06:41:52.262Z] ---> 738ad4009463 [2022-11-03T06:41:52.262Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-03T06:41:52.521Z] ---> ac263aa0605f [2022-11-03T06:41:52.521Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T06:41:52.521Z] ---> Running in ad2b320444c0 [2022-11-03T06:41:55.283Z] Still waiting to schedule task [2022-11-03T06:41:55.284Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-03T06:42:10.616Z] Removing intermediate container ad2b320444c0 [2022-11-03T06:42:10.616Z] ---> 46a4ba62f4b7 [2022-11-03T06:42:10.616Z] Step 9/10 : COPY . . [2022-11-03T06:42:10.873Z] ---> 3f223b15bb6c [2022-11-03T06:42:10.873Z] Step 10/10 : RUN ${MAKE} [2022-11-03T06:42:10.873Z] ---> Running in 6fa7864ce585 [2022-11-03T06:42:11.132Z] noop [2022-11-03T06:42:11.392Z] Removing intermediate container 6fa7864ce585 [2022-11-03T06:42:11.392Z] ---> 768c3753a095 [2022-11-03T06:42:11.392Z] Successfully built 768c3753a095 [2022-11-03T06:42:11.392Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:42:11.708Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T06:42:11.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T06:42:11.774Z] prd-ubuntu20.04-docker-8c-8g-118068 does not seem to be running inside a container [2022-11-03T06:42:11.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-03T06:42:12.167Z] $ docker top 41a245a57ffac7236af30904f9eaa1697085e18505d7e8b0d4efb93382b53acd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T06:42:12.500Z] + go version [2022-11-03T06:42:12.500Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-03T06:42:12.512Z] $ docker stop --time=1 41a245a57ffac7236af30904f9eaa1697085e18505d7e8b0d4efb93382b53acd [2022-11-03T06:42:13.849Z] $ docker rm -f 41a245a57ffac7236af30904f9eaa1697085e18505d7e8b0d4efb93382b53acd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:42:14.224Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T06:42:14.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T06:42:14.288Z] prd-ubuntu20.04-docker-8c-8g-118068 does not seem to be running inside a container [2022-11-03T06:42:14.321Z] $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-03T06:42:14.688Z] $ docker top a0580060cd9115b938be702f2e2cf6babf2c68eb439226c4d44e7a0a26798e70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T06:42:15.035Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] fileExists [Pipeline] sh [2022-11-03T06:42:15.326Z] + make test [2022-11-03T06:42:15.326Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-03T06:42:21.891Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-03T06:42:34.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-03T06:42:34.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-03T06:42:34.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-03T06:42:34.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-03T06:42:34.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-03T06:42:34.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.077s coverage: 27.6% of statements [2022-11-03T06:42:34.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.091s coverage: 78.9% of statements [2022-11-03T06:42:34.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-03T06:42:34.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.133s coverage: 73.1% of statements [2022-11-03T06:42:34.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-03T06:42:34.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-03T06:42:34.344Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 54.4% of statements [2022-11-03T06:42:34.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-03T06:42:34.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-03T06:42:34.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-03T06:42:34.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-03T06:42:34.344Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 65.1% of statements [2022-11-03T06:42:34.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-03T06:42:34.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-03T06:42:34.344Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.728s coverage: 89.2% of statements [2022-11-03T06:42:34.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-03T06:42:34.601Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-11-03T06:42:34.601Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-03T06:42:49.468Z] 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-11-03T06:42:49.468Z] GO111MODULE=on go vet ./... [2022-11-03T06:42:51.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T06:42:51.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T06:42:51.368Z] ./bin/test-attribution-txt.sh [2022-11-03T06:42:51.626Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-03T06:42:51.626Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-03T06:42:51.626Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-03T06:42:51.626Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-03T06:42:51.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T06:42:51.650Z] $ docker stop --time=1 a0580060cd9115b938be702f2e2cf6babf2c68eb439226c4d44e7a0a26798e70 [2022-11-03T06:42:53.879Z] $ docker rm -f a0580060cd9115b938be702f2e2cf6babf2c68eb439226c4d44e7a0a26798e70 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T06:42:54.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T06:42:54.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-03T06:42:54.924Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T06:42:55.215Z] + ls -al . [2022-11-03T06:42:55.215Z] total 280 [2022-11-03T06:42:55.215Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 06:42 . [2022-11-03T06:42:55.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 06:41 .. [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 06:41 .dockerignore [2022-11-03T06:42:55.215Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 06:42 .git [2022-11-03T06:42:55.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 06:41 .github [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 3 06:41 .gitignore [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 3 06:41 .golangci.yml [2022-11-03T06:42:55.215Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 06:41 .semver [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 3 06:41 CHANGELOG.md [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 06:41 GOVERNANCE.md [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 3 06:41 Jenkinsfile [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 3 06:41 LICENSE [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 3 06:41 Makefile [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 3 06:41 OWNERS.md [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 3 06:41 README.md [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 06:41 VERSION [2022-11-03T06:42:55.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 06:41 bin [2022-11-03T06:42:55.215Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 3 06:42 coverage.out [2022-11-03T06:42:55.215Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 3 06:41 example [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 3347 Nov 3 06:41 go.mod [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 44600 Nov 3 06:41 go.sum [2022-11-03T06:42:55.215Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 3 06:41 internal [2022-11-03T06:42:55.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 06:41 openapi [2022-11-03T06:42:55.215Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 3 06:41 pkg [2022-11-03T06:42:55.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 06:41 snap [2022-11-03T06:42:55.215Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 3 06:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:42:55.522Z] + 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=4a83d867d8f8297b0633c4ebd62876660ccead9f --label arch=amd64 --label version=0.0.0 . [2022-11-03T06:42:55.522Z] Sending build context to Docker daemon 10.24MB [2022-11-03T06:42:55.522Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T06:42:55.522Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-03T06:42:55.522Z] ---> 768c3753a095 [2022-11-03T06:42:55.523Z] Step 3/23 : ARG MAKE=make build [2022-11-03T06:42:55.523Z] ---> Running in 0e8d7dad4802 [2022-11-03T06:42:55.789Z] Removing intermediate container 0e8d7dad4802 [2022-11-03T06:42:55.789Z] ---> 7f3b235cc14d [2022-11-03T06:42:55.789Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-03T06:42:55.789Z] ---> Running in b877991494d0 [2022-11-03T06:42:55.789Z] Removing intermediate container b877991494d0 [2022-11-03T06:42:55.789Z] ---> 82c33faa4bb3 [2022-11-03T06:42:55.789Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-03T06:42:55.789Z] ---> Running in 4d0c5601c96a [2022-11-03T06:42:56.047Z] Removing intermediate container 4d0c5601c96a [2022-11-03T06:42:56.047Z] ---> 8fa047b2a6cd [2022-11-03T06:42:56.047Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T06:42:56.047Z] ---> Running in 52bd3a9806d1 [2022-11-03T06:42:56.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T06:42:56.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T06:42:56.565Z] OK: 211 MiB in 51 packages [2022-11-03T06:42:57.940Z] Removing intermediate container 52bd3a9806d1 [2022-11-03T06:42:57.940Z] ---> 37cfc2c551f8 [2022-11-03T06:42:57.940Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-03T06:42:58.197Z] ---> 923f0c6a31a4 [2022-11-03T06:42:58.197Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T06:42:58.197Z] ---> Running in d4c91948432d [2022-11-03T06:42:58.762Z] Removing intermediate container d4c91948432d [2022-11-03T06:42:58.762Z] ---> b8026e16565a [2022-11-03T06:42:58.762Z] Step 9/23 : COPY . . [2022-11-03T06:42:59.328Z] ---> c01f7104330d [2022-11-03T06:42:59.328Z] Step 10/23 : RUN ${MAKE} [2022-11-03T06:42:59.328Z] ---> Running in 6163641cb922 [2022-11-03T06:42:59.328Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-11-03T06:43:17.398Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-03T06:43:17.656Z] Removing intermediate container 6163641cb922 [2022-11-03T06:43:17.657Z] ---> f96b8b1d1549 [2022-11-03T06:43:17.657Z] Step 11/23 : FROM alpine:3.16 [2022-11-03T06:43:18.589Z] 3.16: Pulling from library/alpine [2022-11-03T06:43:18.590Z] 213ec9aee27d: Already exists [2022-11-03T06:43:18.848Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-03T06:43:18.848Z] Status: Downloaded newer image for alpine:3.16 [2022-11-03T06:43:18.848Z] ---> 9c6f07244728 [2022-11-03T06:43:18.848Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-03T06:43:18.848Z] ---> Running in 2931a9ba5389 [2022-11-03T06:43:19.107Z] Removing intermediate container 2931a9ba5389 [2022-11-03T06:43:19.107Z] ---> e6ac6eab5833 [2022-11-03T06:43:19.107Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-03T06:43:19.107Z] ---> Running in acfd7cb044d4 [2022-11-03T06:43:19.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T06:43:19.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T06:43:19.625Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-03T06:43:19.625Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-03T06:43:19.626Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-03T06:43:19.626Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-03T06:43:19.626Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-03T06:43:19.626Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T06:43:19.626Z] OK: 8 MiB in 19 packages [2022-11-03T06:43:21.001Z] Removing intermediate container acfd7cb044d4 [2022-11-03T06:43:21.001Z] ---> 5957d16265b7 [2022-11-03T06:43:21.001Z] Step 14/23 : WORKDIR / [2022-11-03T06:43:21.001Z] ---> Running in 04927298c1c1 [2022-11-03T06:43:21.001Z] Removing intermediate container 04927298c1c1 [2022-11-03T06:43:21.001Z] ---> 98890a108b48 [2022-11-03T06:43:21.001Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-03T06:43:21.259Z] ---> 2b492679c761 [2022-11-03T06:43:21.259Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-03T06:43:21.519Z] ---> 31528968ba64 [2022-11-03T06:43:21.519Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-03T06:43:21.777Z] ---> d79442e19742 [2022-11-03T06:43:21.777Z] Step 18/23 : EXPOSE 59999 [2022-11-03T06:43:21.777Z] ---> Running in 43235354cb03 [2022-11-03T06:43:22.036Z] Removing intermediate container 43235354cb03 [2022-11-03T06:43:22.036Z] ---> c9a973ff3809 [2022-11-03T06:43:22.036Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-03T06:43:22.036Z] ---> Running in 225324977e0f [2022-11-03T06:43:22.036Z] Removing intermediate container 225324977e0f [2022-11-03T06:43:22.036Z] ---> f6553a1ec427 [2022-11-03T06:43:22.036Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-03T06:43:22.036Z] ---> Running in ed137b59eda8 [2022-11-03T06:43:22.294Z] Removing intermediate container ed137b59eda8 [2022-11-03T06:43:22.294Z] ---> 4f456cb9913b [2022-11-03T06:43:22.294Z] Step 21/23 : LABEL arch=amd64 [2022-11-03T06:43:22.294Z] ---> Running in c8aca378a30b [2022-11-03T06:43:22.294Z] Removing intermediate container c8aca378a30b [2022-11-03T06:43:22.294Z] ---> 2bc0b2f3cbe8 [2022-11-03T06:43:22.294Z] Step 22/23 : LABEL git_sha=4a83d867d8f8297b0633c4ebd62876660ccead9f [2022-11-03T06:43:22.294Z] ---> Running in 515da284057c [2022-11-03T06:43:22.552Z] Removing intermediate container 515da284057c [2022-11-03T06:43:22.552Z] ---> 32d8bea455b0 [2022-11-03T06:43:22.552Z] Step 23/23 : LABEL version=0.0.0 [2022-11-03T06:43:22.552Z] ---> Running in df408c960892 [2022-11-03T06:43:22.552Z] Removing intermediate container df408c960892 [2022-11-03T06:43:22.552Z] ---> 9fc1857a3430 [2022-11-03T06:43:22.552Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T06:43:22.552Z] Successfully built 9fc1857a3430 [2022-11-03T06:43:22.552Z] 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-11-03T06:43:22.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T06:43:22.939Z] [2022-11-03T06:43:22.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:43:23.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T06:43:23.232Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-03T06:43:23.232Z] 5eb5b503b376: Pulling fs layer [2022-11-03T06:43:23.232Z] 5c69ac0246d0: Pulling fs layer [2022-11-03T06:43:23.232Z] ec43610c2a17: Pulling fs layer [2022-11-03T06:43:23.232Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-03T06:43:23.232Z] 33b1e0a273af: Pulling fs layer [2022-11-03T06:43:23.232Z] 5d3b04190fa2: Pulling fs layer [2022-11-03T06:43:23.232Z] 2f39f015ded8: Pulling fs layer [2022-11-03T06:43:23.232Z] 5d3b04190fa2: Waiting [2022-11-03T06:43:23.232Z] 3a2ae6a8a46f: Waiting [2022-11-03T06:43:23.232Z] 33b1e0a273af: Waiting [2022-11-03T06:43:23.232Z] 2f39f015ded8: Waiting [2022-11-03T06:43:23.232Z] 5c69ac0246d0: Verifying Checksum [2022-11-03T06:43:23.232Z] 5c69ac0246d0: Download complete [2022-11-03T06:43:23.232Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-03T06:43:23.232Z] 3a2ae6a8a46f: Download complete [2022-11-03T06:43:23.232Z] 33b1e0a273af: Verifying Checksum [2022-11-03T06:43:23.232Z] 33b1e0a273af: Download complete [2022-11-03T06:43:23.490Z] 5d3b04190fa2: Download complete [2022-11-03T06:43:23.490Z] ec43610c2a17: Verifying Checksum [2022-11-03T06:43:23.490Z] ec43610c2a17: Download complete [2022-11-03T06:43:23.490Z] 5eb5b503b376: Verifying Checksum [2022-11-03T06:43:23.490Z] 5eb5b503b376: Download complete [2022-11-03T06:43:24.056Z] 2f39f015ded8: Verifying Checksum [2022-11-03T06:43:24.056Z] 2f39f015ded8: Download complete [2022-11-03T06:43:24.313Z] 5eb5b503b376: Pull complete [2022-11-03T06:43:24.572Z] 5c69ac0246d0: Pull complete [2022-11-03T06:43:24.830Z] ec43610c2a17: Pull complete [2022-11-03T06:43:25.088Z] 3a2ae6a8a46f: Pull complete [2022-11-03T06:43:25.088Z] 33b1e0a273af: Pull complete [2022-11-03T06:43:25.088Z] 5d3b04190fa2: Pull complete [2022-11-03T06:43:25.697Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118069 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] { [Pipeline] ws [2022-11-03T06:43:25.709Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2022-11-03T06:43:25.741Z] The recommended git tool is: git [2022-11-03T06:43:29.272Z] 2f39f015ded8: Pull complete [2022-11-03T06:43:29.272Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-03T06:43:29.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T06:43:29.272Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T06:43:29.341Z] prd-ubuntu20.04-docker-8c-8g-118068 does not seem to be running inside a container [2022-11-03T06:43:29.372Z] $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-03T06:43:30.624Z] using credential edgex-jenkins-ssh [2022-11-03T06:43:30.641Z] Cloning the remote Git repository [2022-11-03T06:43:30.674Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-11-03T06:43:30.751Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2022-11-03T06:43:31.031Z] $ docker top 7548d6540e194974cbea642be7a41d3484425a0a7fc67a4544af53807c9b0f32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:43:31.418Z] ---> job-cost.sh [2022-11-03T06:43:31.419Z] lf-activate-venv: SKIPPING [2022-11-03T06:43:31.419Z] INFO: No Stack... [2022-11-03T06:43:31.986Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T06:43:30.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-03T06:43:30.890Z] > git --version # timeout=10 [2022-11-03T06:43:30.909Z] > git --version # 'git version 2.25.1' [2022-11-03T06:43:30.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T06:43:30.953Z] Verifying host key using known hosts file [2022-11-03T06:43:31.135Z] 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-11-03T06:43:31.149Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T06:43:32.246Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T06:43:32.534Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/cost.csv [2022-11-03T06:43:32.534Z] + cut -d, -f6 [Pipeline] lock [2022-11-03T06:43:32.545Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-6-stack-cost] [2022-11-03T06:43:32.554Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-6-stack-cost] did not exist. Created. [2022-11-03T06:43:32.554Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T06:43:32.847Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-03T06:43:32.878Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T06:43:32.886Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T06:43:32.906Z] $ docker stop --time=1 7548d6540e194974cbea642be7a41d3484425a0a7fc67a4544af53807c9b0f32 [2022-11-03T06:43:32.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-03T06:43:32.760Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T06:43:34.075Z] $ docker rm -f 7548d6540e194974cbea642be7a41d3484425a0a7fc67a4544af53807c9b0f32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-03T06:43:34.343Z] Merging remotes/origin/main commit b76771b07adf0b8c2e38dd8a749adeac8b55b549 into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 [2022-11-03T06:43:33.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-03T06:43:33.657Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-03T06:43:33.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T06:43:33.663Z] Verifying host key using known hosts file [2022-11-03T06:43:33.670Z] 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-11-03T06:43:33.682Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-03T06:43:34.357Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T06:43:34.381Z] > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 [2022-11-03T06:43:34.483Z] > git remote # timeout=10 [2022-11-03T06:43:34.502Z] > git config --get remote.origin.url # timeout=10 [2022-11-03T06:43:34.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T06:43:34.527Z] Verifying host key using known hosts file [2022-11-03T06:43:34.530Z] 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-11-03T06:43:34.539Z] > git merge b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 [2022-11-03T06:43:34.666Z] Merge succeeded, producing 07828e7e5fe6552ad8d27f1f9f59d2d93921420c [2022-11-03T06:43:34.667Z] Checking out Revision 07828e7e5fe6552ad8d27f1f9f59d2d93921420c (PR-1244) [2022-11-03T06:43:34.644Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-03T06:43:34.667Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T06:43:34.681Z] > git checkout -f 07828e7e5fe6552ad8d27f1f9f59d2d93921420c # timeout=10 [2022-11-03T06:43:38.181Z] Commit message: "Merge commit 'b76771b07adf0b8c2e38dd8a749adeac8b55b549' into HEAD" [2022-11-03T06:43:38.209Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T06:43:38.185Z] > git rev-list --no-walk 43a799d67e5a5e79ff49ac009a5f78023486851a # timeout=10 [2022-11-03T06:43:39.151Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-03T06:43:39.151Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T06:43:39.151Z] Dload Upload Total Spent Left Speed [2022-11-03T06:43:39.151Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 81831 0 --:--:-- --:--:-- --:--:-- 82366 [Pipeline] sh [2022-11-03T06:43:39.906Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-03T06:43:40.240Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-03T06:43:40.240Z] + sudo tee /etc/docker/daemon.new [2022-11-03T06:43:40.240Z] { [2022-11-03T06:43:40.240Z] "registry-mirrors": [ [2022-11-03T06:43:40.240Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-03T06:43:40.240Z] ], [2022-11-03T06:43:40.240Z] "bip": "10.250.0.254/24", [2022-11-03T06:43:40.240Z] "hosts": [ [2022-11-03T06:43:40.240Z] "tcp://0.0.0.0:5555", [2022-11-03T06:43:40.240Z] "unix:///var/run/docker.sock" [2022-11-03T06:43:40.240Z] ], [2022-11-03T06:43:40.240Z] "mtu": 1458, [2022-11-03T06:43:40.240Z] "selinux-enabled": true, [2022-11-03T06:43:40.240Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-03T06:43:40.240Z] } [Pipeline] sh [2022-11-03T06:43:40.560Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-03T06:43:40.885Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T06:43:59.152Z] provisioning config files... [2022-11-03T06:43:59.175Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config583684107615270663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:43:59.515Z] ---> docker-login.sh [2022-11-03T06:43:59.515Z] nexus3.edgexfoundry.org:10001 [2022-11-03T06:44:00.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:44:00.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:44:00.104Z] Configure a credential helper to remove this warning. See [2022-11-03T06:44:00.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:44:00.104Z] [2022-11-03T06:44:00.104Z] Login Succeeded [2022-11-03T06:44:00.104Z] nexus3.edgexfoundry.org:10002 [2022-11-03T06:44:00.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:44:00.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:44:00.373Z] Configure a credential helper to remove this warning. See [2022-11-03T06:44:00.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:44:00.373Z] [2022-11-03T06:44:00.373Z] Login Succeeded [2022-11-03T06:44:00.373Z] nexus3.edgexfoundry.org:10003 [2022-11-03T06:44:00.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:44:00.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:44:00.913Z] Configure a credential helper to remove this warning. See [2022-11-03T06:44:00.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:44:00.913Z] [2022-11-03T06:44:00.913Z] Login Succeeded [2022-11-03T06:44:00.913Z] nexus3.edgexfoundry.org:10004 [2022-11-03T06:44:01.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:44:01.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:44:01.183Z] Configure a credential helper to remove this warning. See [2022-11-03T06:44:01.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:44:01.183Z] [2022-11-03T06:44:01.183Z] Login Succeeded [2022-11-03T06:44:01.183Z] docker.io [2022-11-03T06:44:01.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T06:44:02.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T06:44:02.038Z] Configure a credential helper to remove this warning. See [2022-11-03T06:44:02.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T06:44:02.038Z] [2022-11-03T06:44:02.038Z] Login Succeeded [2022-11-03T06:44:02.038Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T06:44:02.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T06:44:02.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T06:44:02.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T06:44:02.232Z] ========================================================= [2022-11-03T06:44:02.232Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-03T06:44:02.232Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:44:02.568Z] + 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-11-03T06:44:02.838Z] Sending build context to Docker daemon 5.462MB [2022-11-03T06:44:02.838Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T06:44:02.838Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-03T06:44:03.108Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-03T06:44:03.108Z] 9b18e9b68314: Pulling fs layer [2022-11-03T06:44:03.108Z] 35d82f9e3411: Pulling fs layer [2022-11-03T06:44:03.108Z] e16973657156: Pulling fs layer [2022-11-03T06:44:03.108Z] fc693d55d65f: Pulling fs layer [2022-11-03T06:44:03.108Z] 7e9fc2657dce: Pulling fs layer [2022-11-03T06:44:03.108Z] dda99020689f: Pulling fs layer [2022-11-03T06:44:03.108Z] db1c61fa0a46: Pulling fs layer [2022-11-03T06:44:03.108Z] 891c053d2c06: Pulling fs layer [2022-11-03T06:44:03.108Z] fc693d55d65f: Waiting [2022-11-03T06:44:03.108Z] dda99020689f: Waiting [2022-11-03T06:44:03.108Z] 7e9fc2657dce: Waiting [2022-11-03T06:44:03.108Z] db1c61fa0a46: Waiting [2022-11-03T06:44:03.108Z] 891c053d2c06: Waiting [2022-11-03T06:44:03.108Z] e16973657156: Download complete [2022-11-03T06:44:03.108Z] 35d82f9e3411: Download complete [2022-11-03T06:44:03.108Z] 7e9fc2657dce: Verifying Checksum [2022-11-03T06:44:03.108Z] 7e9fc2657dce: Download complete [2022-11-03T06:44:03.108Z] dda99020689f: Verifying Checksum [2022-11-03T06:44:03.108Z] dda99020689f: Download complete [2022-11-03T06:44:03.108Z] 9b18e9b68314: Verifying Checksum [2022-11-03T06:44:03.108Z] 9b18e9b68314: Download complete [2022-11-03T06:44:04.575Z] 891c053d2c06: Verifying Checksum [2022-11-03T06:44:04.575Z] 891c053d2c06: Download complete [2022-11-03T06:44:05.173Z] 9b18e9b68314: Pull complete [2022-11-03T06:44:05.444Z] db1c61fa0a46: Verifying Checksum [2022-11-03T06:44:05.444Z] db1c61fa0a46: Download complete [2022-11-03T06:44:05.715Z] 35d82f9e3411: Pull complete [2022-11-03T06:44:05.983Z] fc693d55d65f: Verifying Checksum [2022-11-03T06:44:05.983Z] fc693d55d65f: Download complete [2022-11-03T06:44:05.983Z] e16973657156: Pull complete [2022-11-03T06:44:18.316Z] fc693d55d65f: Pull complete [2022-11-03T06:44:18.316Z] 7e9fc2657dce: Pull complete [2022-11-03T06:44:18.316Z] dda99020689f: Pull complete [2022-11-03T06:44:24.969Z] db1c61fa0a46: Pull complete [2022-11-03T06:44:26.390Z] 891c053d2c06: Pull complete [2022-11-03T06:44:26.390Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-03T06:44:26.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-03T06:44:26.390Z] ---> f96f9c87975a [2022-11-03T06:44:26.390Z] Step 3/10 : ARG MAKE=make build [2022-11-03T06:44:28.339Z] ---> Running in 260d8974ba0d [2022-11-03T06:44:28.608Z] Removing intermediate container 260d8974ba0d [2022-11-03T06:44:28.608Z] ---> d0aad4b8102e [2022-11-03T06:44:28.608Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-03T06:44:28.608Z] ---> Running in e0ed0b7329ae [2022-11-03T06:44:28.878Z] Removing intermediate container e0ed0b7329ae [2022-11-03T06:44:28.878Z] ---> 1a765da522c7 [2022-11-03T06:44:28.878Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-03T06:44:28.878Z] ---> Running in d020d1b48b9b [2022-11-03T06:44:29.152Z] Removing intermediate container d020d1b48b9b [2022-11-03T06:44:29.152Z] ---> 094bb848faf7 [2022-11-03T06:44:29.152Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T06:44:29.419Z] ---> Running in 3a702519880d [2022-11-03T06:44:30.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T06:44:30.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T06:44:31.606Z] OK: 221 MiB in 51 packages [2022-11-03T06:44:32.573Z] Removing intermediate container 3a702519880d [2022-11-03T06:44:32.573Z] ---> 0c64628a3cf3 [2022-11-03T06:44:32.573Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-03T06:44:32.841Z] ---> 0a56a5d3674e [2022-11-03T06:44:32.841Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T06:44:33.110Z] ---> Running in be8eb5ebbf4c [2022-11-03T06:45:29.539Z] Removing intermediate container be8eb5ebbf4c [2022-11-03T06:45:29.539Z] ---> 5313b80ae848 [2022-11-03T06:45:29.539Z] Step 9/10 : COPY . . [2022-11-03T06:45:29.539Z] ---> 26a79f5a02d4 [2022-11-03T06:45:29.539Z] Step 10/10 : RUN ${MAKE} [2022-11-03T06:45:29.539Z] ---> Running in 227cf8f5ca3b [2022-11-03T06:45:29.539Z] noop [2022-11-03T06:45:29.539Z] Removing intermediate container 227cf8f5ca3b [2022-11-03T06:45:29.539Z] ---> f1aedbb251bf [2022-11-03T06:45:29.539Z] Successfully built f1aedbb251bf [2022-11-03T06:45:29.539Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:45:29.889Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T06:45:29.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T06:45:30.081Z] prd-ubuntu20.04-docker-arm64-4c-16g-118069 does not seem to be running inside a container [2022-11-03T06:45:30.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-03T06:45:31.351Z] $ docker top c7ae7f0b15eb2e344b7a965bc7ea59cdf597be6bd41c76252f6cbbbd7a97ee07 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T06:45:32.162Z] + go version [2022-11-03T06:45:32.162Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-03T06:45:32.189Z] $ docker stop --time=1 c7ae7f0b15eb2e344b7a965bc7ea59cdf597be6bd41c76252f6cbbbd7a97ee07 [2022-11-03T06:45:33.773Z] $ docker rm -f c7ae7f0b15eb2e344b7a965bc7ea59cdf597be6bd41c76252f6cbbbd7a97ee07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:45:34.285Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T06:45:34.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T06:45:34.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-118069 does not seem to be running inside a container [2022-11-03T06:45:34.518Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-03T06:45:35.700Z] $ docker top e1ebb99d4feda51a6f1af0866f55be54bb5d7334b7e9ee68e7d713abced8df0c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T06:45:36.500Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh [2022-11-03T06:45:36.820Z] + make test [2022-11-03T06:45:36.820Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-03T06:46:09.048Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-03T06:48:00.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-03T06:48:00.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-03T06:48:00.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-03T06:48:00.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-03T06:48:00.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-03T06:48:00.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.357s coverage: 27.6% of statements [2022-11-03T06:48:02.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.603s coverage: 78.9% of statements [2022-11-03T06:48:02.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-03T06:48:10.325Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.622s coverage: 73.1% of statements [2022-11-03T06:48:10.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-03T06:48:10.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-03T06:48:14.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.656s coverage: 54.4% of statements [2022-11-03T06:48:14.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-03T06:48:14.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-03T06:48:14.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-03T06:48:14.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-03T06:48:14.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.535s coverage: 65.1% of statements [2022-11-03T06:48:14.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-03T06:48:14.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-03T06:48:14.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.329s coverage: 89.2% of statements [2022-11-03T06:48:14.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-03T06:48:17.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.286s coverage: 4.7% of statements [2022-11-03T06:48:17.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-03T06:48:18.196Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-03T06:48:18.196Z] GO111MODULE=on go vet ./... [2022-11-03T06:49:54.834Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T06:49:54.834Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T06:49:54.834Z] ./bin/test-attribution-txt.sh [2022-11-03T06:49:54.834Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-03T06:49:54.834Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-03T06:49:54.834Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-03T06:49:54.834Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-03T06:49:54.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T06:49:54.876Z] $ docker stop --time=1 e1ebb99d4feda51a6f1af0866f55be54bb5d7334b7e9ee68e7d713abced8df0c [2022-11-03T06:49:56.639Z] $ docker rm -f e1ebb99d4feda51a6f1af0866f55be54bb5d7334b7e9ee68e7d713abced8df0c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T06:49:57.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T06:49:57.939Z] Warning: overwriting stash ‘coverage-report’ [2022-11-03T06:49:58.407Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T06:49:58.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T06:49:59.154Z] + ls -al . [2022-11-03T06:49:59.154Z] total 276 [2022-11-03T06:49:59.154Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 06:45 . [2022-11-03T06:49:59.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 06:43 .. [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 06:43 .dockerignore [2022-11-03T06:49:59.154Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 06:43 .git [2022-11-03T06:49:59.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 06:43 .github [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 3 06:43 .gitignore [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 3 06:43 .golangci.yml [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 3 06:43 CHANGELOG.md [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 06:43 GOVERNANCE.md [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 3 06:43 Jenkinsfile [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 3 06:43 LICENSE [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 3 06:43 Makefile [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 3 06:43 OWNERS.md [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 3 06:43 README.md [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 06:41 VERSION [2022-11-03T06:49:59.154Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 06:43 bin [2022-11-03T06:49:59.154Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 3 06:48 coverage.out [2022-11-03T06:49:59.154Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 3 06:43 example [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 3347 Nov 3 06:43 go.mod [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 44600 Nov 3 06:43 go.sum [2022-11-03T06:49:59.154Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 3 06:43 internal [2022-11-03T06:49:59.154Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 06:43 openapi [2022-11-03T06:49:59.154Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 3 06:43 pkg [2022-11-03T06:49:59.154Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 06:43 snap [2022-11-03T06:49:59.154Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 3 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:49:59.501Z] + 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=07828e7e5fe6552ad8d27f1f9f59d2d93921420c --label arch=arm64 --label version=0.0.0 . [2022-11-03T06:49:59.771Z] Sending build context to Docker daemon 5.564MB [2022-11-03T06:49:59.771Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T06:49:59.771Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-03T06:49:59.771Z] ---> f1aedbb251bf [2022-11-03T06:49:59.771Z] Step 3/23 : ARG MAKE=make build [2022-11-03T06:50:00.064Z] ---> Running in 4248f4ff1436 [2022-11-03T06:50:00.349Z] Removing intermediate container 4248f4ff1436 [2022-11-03T06:50:00.349Z] ---> f25ffaa7ec81 [2022-11-03T06:50:00.349Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-03T06:50:00.349Z] ---> Running in ddc8c5fc1d94 [2022-11-03T06:50:00.620Z] Removing intermediate container ddc8c5fc1d94 [2022-11-03T06:50:00.620Z] ---> db279a7f5d24 [2022-11-03T06:50:00.620Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-03T06:50:00.620Z] ---> Running in 815bec592e86 [2022-11-03T06:50:00.922Z] Removing intermediate container 815bec592e86 [2022-11-03T06:50:00.922Z] ---> 830b3cac0dca [2022-11-03T06:50:00.922Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T06:50:01.206Z] ---> Running in 5ccca3db9814 [2022-11-03T06:50:02.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T06:50:02.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T06:50:03.438Z] OK: 221 MiB in 51 packages [2022-11-03T06:50:04.407Z] Removing intermediate container 5ccca3db9814 [2022-11-03T06:50:04.407Z] ---> c97bd780e930 [2022-11-03T06:50:04.407Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-03T06:50:05.373Z] ---> 6ef77492f5b2 [2022-11-03T06:50:05.373Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T06:50:05.373Z] ---> Running in 71f7e07ff11f [2022-11-03T06:50:07.333Z] Removing intermediate container 71f7e07ff11f [2022-11-03T06:50:07.333Z] ---> 824e3b48a9c5 [2022-11-03T06:50:07.333Z] Step 9/23 : COPY . . [2022-11-03T06:50:08.297Z] ---> 34ed17c40e8b [2022-11-03T06:50:08.297Z] Step 10/23 : RUN ${MAKE} [2022-11-03T06:50:08.297Z] ---> Running in 2a9d160438f3 [2022-11-03T06:50:09.273Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-11-03T06:52:15.944Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-03T06:52:15.944Z] Removing intermediate container 2a9d160438f3 [2022-11-03T06:52:15.944Z] ---> 38eeb68ebd21 [2022-11-03T06:52:15.944Z] Step 11/23 : FROM alpine:3.16 [2022-11-03T06:52:16.522Z] 3.16: Pulling from library/alpine [2022-11-03T06:52:16.787Z] 9b18e9b68314: Already exists [2022-11-03T06:52:17.053Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-03T06:52:17.053Z] Status: Downloaded newer image for alpine:3.16 [2022-11-03T06:52:17.053Z] ---> a6215f271958 [2022-11-03T06:52:17.053Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-03T06:52:17.053Z] ---> Running in df4e3a41e939 [2022-11-03T06:52:17.321Z] Removing intermediate container df4e3a41e939 [2022-11-03T06:52:17.321Z] ---> fdf1a5df7eef [2022-11-03T06:52:17.321Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-03T06:52:17.321Z] ---> Running in ccf9b9c42415 [2022-11-03T06:52:18.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T06:52:18.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T06:52:19.505Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-03T06:52:19.505Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-03T06:52:19.505Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-03T06:52:19.505Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-03T06:52:19.505Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-03T06:52:19.505Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T06:52:19.505Z] OK: 8 MiB in 19 packages [2022-11-03T06:52:20.466Z] Removing intermediate container ccf9b9c42415 [2022-11-03T06:52:20.466Z] ---> 0fdaa994b246 [2022-11-03T06:52:20.466Z] Step 14/23 : WORKDIR / [2022-11-03T06:52:20.466Z] ---> Running in 62133889e90f [2022-11-03T06:52:20.733Z] Removing intermediate container 62133889e90f [2022-11-03T06:52:20.733Z] ---> 41d103da756e [2022-11-03T06:52:20.733Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-03T06:52:21.322Z] ---> 99faa027e543 [2022-11-03T06:52:21.322Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-03T06:52:22.729Z] ---> c1433fce0a64 [2022-11-03T06:52:22.729Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-03T06:52:23.311Z] ---> 19da014888df [2022-11-03T06:52:23.311Z] Step 18/23 : EXPOSE 59999 [2022-11-03T06:52:23.311Z] ---> Running in ca819c78508e [2022-11-03T06:52:23.578Z] Removing intermediate container ca819c78508e [2022-11-03T06:52:23.578Z] ---> 9a5b381c00f6 [2022-11-03T06:52:23.578Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-03T06:52:23.578Z] ---> Running in 7bb22b4d6d8b [2022-11-03T06:52:23.845Z] Removing intermediate container 7bb22b4d6d8b [2022-11-03T06:52:23.845Z] ---> b151d3eaad63 [2022-11-03T06:52:23.845Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-03T06:52:23.845Z] ---> Running in 7574f58d2783 [2022-11-03T06:52:24.119Z] Removing intermediate container 7574f58d2783 [2022-11-03T06:52:24.119Z] ---> 511da460c60f [2022-11-03T06:52:24.119Z] Step 21/23 : LABEL arch=arm64 [2022-11-03T06:52:24.386Z] ---> Running in 1bf5693f7461 [2022-11-03T06:52:24.652Z] Removing intermediate container 1bf5693f7461 [2022-11-03T06:52:24.652Z] ---> 8de078dc1358 [2022-11-03T06:52:24.652Z] Step 22/23 : LABEL git_sha=07828e7e5fe6552ad8d27f1f9f59d2d93921420c [2022-11-03T06:52:24.652Z] ---> Running in c8e108de6796 [2022-11-03T06:52:24.918Z] Removing intermediate container c8e108de6796 [2022-11-03T06:52:24.918Z] ---> 22c7be0855a3 [2022-11-03T06:52:24.918Z] Step 23/23 : LABEL version=0.0.0 [2022-11-03T06:52:24.918Z] ---> Running in b1bacbe21f69 [2022-11-03T06:52:25.184Z] Removing intermediate container b1bacbe21f69 [2022-11-03T06:52:25.184Z] ---> aada5049a172 [2022-11-03T06:52:25.184Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T06:52:25.184Z] Successfully built aada5049a172 [2022-11-03T06:52:25.184Z] 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-11-03T06:52:25.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T06:52:25.611Z] [2022-11-03T06:52:25.611Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:52:25.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T06:52:25.933Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-03T06:52:25.933Z] 8998bd30e6a1: Pulling fs layer [2022-11-03T06:52:25.933Z] 04944245beec: Pulling fs layer [2022-11-03T06:52:25.933Z] 699f458cf7ca: Pulling fs layer [2022-11-03T06:52:25.933Z] 765212b225bb: Pulling fs layer [2022-11-03T06:52:25.933Z] f23df028b6ca: Pulling fs layer [2022-11-03T06:52:25.933Z] d65c8cfc05b1: Pulling fs layer [2022-11-03T06:52:25.933Z] 2437ff75d9bd: Pulling fs layer [2022-11-03T06:52:25.933Z] d65c8cfc05b1: Waiting [2022-11-03T06:52:25.933Z] 765212b225bb: Waiting [2022-11-03T06:52:25.933Z] f23df028b6ca: Waiting [2022-11-03T06:52:25.933Z] 2437ff75d9bd: Waiting [2022-11-03T06:52:26.201Z] 04944245beec: Verifying Checksum [2022-11-03T06:52:26.201Z] 04944245beec: Download complete [2022-11-03T06:52:26.201Z] 765212b225bb: Verifying Checksum [2022-11-03T06:52:26.201Z] 765212b225bb: Download complete [2022-11-03T06:52:26.201Z] f23df028b6ca: Verifying Checksum [2022-11-03T06:52:26.201Z] f23df028b6ca: Download complete [2022-11-03T06:52:26.201Z] d65c8cfc05b1: Verifying Checksum [2022-11-03T06:52:26.201Z] d65c8cfc05b1: Download complete [2022-11-03T06:52:26.468Z] 699f458cf7ca: Verifying Checksum [2022-11-03T06:52:26.735Z] 8998bd30e6a1: Verifying Checksum [2022-11-03T06:52:26.735Z] 8998bd30e6a1: Download complete [2022-11-03T06:52:29.314Z] 2437ff75d9bd: Verifying Checksum [2022-11-03T06:52:29.314Z] 2437ff75d9bd: Download complete [2022-11-03T06:52:30.720Z] 8998bd30e6a1: Pull complete [2022-11-03T06:52:30.988Z] 04944245beec: Pull complete [2022-11-03T06:52:32.392Z] 699f458cf7ca: Pull complete [2022-11-03T06:52:32.658Z] 765212b225bb: Pull complete [2022-11-03T06:52:33.239Z] f23df028b6ca: Pull complete [2022-11-03T06:52:33.506Z] d65c8cfc05b1: Pull complete [2022-11-03T06:52:48.490Z] 2437ff75d9bd: Pull complete [2022-11-03T06:52:48.490Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-03T06:52:48.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T06:52:48.490Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T06:52:48.656Z] prd-ubuntu20.04-docker-arm64-4c-16g-118069 does not seem to be running inside a container [2022-11-03T06:52:48.728Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-03T06:52:51.159Z] $ docker top 5d83a0a61103f3786f1323b8afb587e57602a22b71d56f56717412a62b0d8aad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:52:51.646Z] ---> job-cost.sh [2022-11-03T06:52:51.913Z] lf-activate-venv: SKIPPING [2022-11-03T06:52:51.913Z] INFO: No Stack... [2022-11-03T06:52:52.496Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-03T06:52:53.080Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T06:52:53.712Z] + cut -d, -f6 [2022-11-03T06:52:53.712Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [Pipeline] lock [2022-11-03T06:52:53.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-6-stack-cost] [2022-11-03T06:52:53.780Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-6-stack-cost] did not exist. Created. [2022-11-03T06:52:53.780Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T06:52:54.112Z] /w/workspace/device-sdk-go/6@tmp/durable-c2ea9a57/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-03T06:52:54.771Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-03T06:52:54.792Z] Warning: overwriting stash ‘stack-cost’ [2022-11-03T06:52:54.843Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T06:52:54.852Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T06:52:54.884Z] $ docker stop --time=1 5d83a0a61103f3786f1323b8afb587e57602a22b71d56f56717412a62b0d8aad [2022-11-03T06:52:56.346Z] $ docker rm -f 5d83a0a61103f3786f1323b8afb587e57602a22b71d56f56717412a62b0d8aad [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-11-03T06:52:56.672Z] provisioning config files... [2022-11-03T06:52:56.680Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config17255285091395855452tmp [Pipeline] { [Pipeline] sh [2022-11-03T06:52:56.967Z] + set +x [2022-11-03T06:52:56.967Z] + curl -s https://codecov.io/bash [2022-11-03T06:52:56.967Z] + bash -s -- [2022-11-03T06:52:56.967Z] [2022-11-03T06:52:56.967Z] _____ _ [2022-11-03T06:52:56.967Z] / ____| | | [2022-11-03T06:52:56.967Z] | | ___ __| | ___ ___ _____ __ [2022-11-03T06:52:56.967Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-03T06:52:56.967Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-03T06:52:56.967Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-03T06:52:56.967Z] Bash-1.0.6 [2022-11-03T06:52:56.967Z] [2022-11-03T06:52:56.967Z] [2022-11-03T06:52:56.967Z] ==> git version 2.25.1 found [2022-11-03T06:52:56.967Z] ==> 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-11-03T06:52:56.967Z] Release-Date: 2020-01-08 [2022-11-03T06:52:56.967Z] 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-11-03T06:52:56.967Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-03T06:52:56.967Z] ==> Jenkins CI detected. [2022-11-03T06:52:56.967Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1244 [2022-11-03T06:52:56.967Z] project root: . [2022-11-03T06:52:56.967Z] --> token set from env [2022-11-03T06:52:56.967Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-03T06:52:56.967Z] ==> Running gcov in . (disable via -X gcov) [2022-11-03T06:52:56.967Z] ==> Python coveragepy not found [2022-11-03T06:52:56.967Z] ==> Searching for coverage reports in: [2022-11-03T06:52:56.968Z] + . [2022-11-03T06:52:56.968Z] -> Found 1 reports [2022-11-03T06:52:56.968Z] ==> Detecting git/mercurial file structure [2022-11-03T06:52:57.228Z] ==> Reading reports [2022-11-03T06:52:57.228Z] + ./coverage.out bytes=101759 [2022-11-03T06:52:57.228Z] ==> Appending adjustments [2022-11-03T06:52:57.228Z] https://docs.codecov.io/docs/fixing-reports [2022-11-03T06:52:57.487Z] + Found adjustments [2022-11-03T06:52:57.487Z] ==> Gzipping contents [2022-11-03T06:52:57.487Z] 16K /tmp/codecov.FEGeY4.gz [2022-11-03T06:52:57.487Z] ==> Uploading reports [2022-11-03T06:52:57.487Z] url: https://codecov.io [2022-11-03T06:52:57.487Z] query: branch=PR-1244&commit=4a83d867d8f8297b0633c4ebd62876660ccead9f&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= [2022-11-03T06:52:57.487Z] -> Pinging Codecov [2022-11-03T06:52:57.487Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1244&commit=4a83d867d8f8297b0633c4ebd62876660ccead9f&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= [2022-11-03T06:52:57.746Z] -> Uploading to [2022-11-03T06:52:57.746Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-03/7E55EF52A471D76F132DFD9A03CDDE97/4a83d867d8f8297b0633c4ebd62876660ccead9f/42e162b7-694f-474a-aa5c-cffae107c012.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T065257Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=964227b8d0d029c9a3204d25ee5fcd0b385c1b2e20057b7aebeb687ea9858f09 [2022-11-03T06:52:57.746Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T06:52:57.746Z] Dload Upload Total Spent Left Speed [2022-11-03T06:52:58.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14723 0 0 100 14723 0 59849 --:--:-- --:--:-- --:--:-- 59849 [2022-11-03T06:52:58.006Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4a83d867d8f8297b0633c4ebd62876660ccead9f [Pipeline] } [2022-11-03T06:52:58.013Z] 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-11-03T06:52:58.702Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives ] [2022-11-03T06:52:58.702Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-11-03T06:52:58.702Z] total 16 [2022-11-03T06:52:58.702Z] drwxr-xr-x 3 root root 4096 Nov 3 06:43 . [2022-11-03T06:52:58.702Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 3 06:43 .. [2022-11-03T06:52:58.702Z] drwxr-xr-x 2 root root 4096 Nov 3 06:43 cost [2022-11-03T06:52:58.702Z] -rw-r--r-- 1 root root 86 Nov 3 06:43 cost.csv [2022-11-03T06:52:58.702Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-11-03T06:52:58.702Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-11-03T06:52:58.702Z] total 16 [2022-11-03T06:52:58.702Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 06:43 . [2022-11-03T06:52:58.702Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 3 06:43 .. [2022-11-03T06:52:58.702Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 06:43 cost [2022-11-03T06:52:58.702Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 3 06:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:52:58.988Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:52:59.843Z] ---> package-listing.sh [2022-11-03T06:52:59.843Z] ++ facter osfamily [2022-11-03T06:52:59.843Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-03T06:53:00.102Z] + OS_FAMILY=debian [2022-11-03T06:53:00.102Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1244 [2022-11-03T06:53:00.102Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-03T06:53:00.102Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-03T06:53:00.102Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-03T06:53:00.102Z] + PACKAGES=/tmp/packages_start.txt [2022-11-03T06:53:00.102Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' [2022-11-03T06:53:00.102Z] + PACKAGES=/tmp/packages_end.txt [2022-11-03T06:53:00.102Z] + case "${OS_FAMILY}" in [2022-11-03T06:53:00.102Z] + dpkg -l [2022-11-03T06:53:00.102Z] + grep '^ii' [2022-11-03T06:53:00.102Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-03T06:53:00.102Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-03T06:53:00.102Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-03T06:53:00.102Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' [2022-11-03T06:53:00.102Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [2022-11-03T06:53:00.102Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [Pipeline] echo [2022-11-03T06:53:00.112Z] 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-1244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-03T06:53:00.389Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T06:53:00.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T06:53:00.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T06:53:01.010Z] prd-ubuntu20.04-docker-8c-8g-118068 does not seem to be running inside a container [2022-11-03T06:53:01.035Z] $ 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-1244/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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-03T06:53:01.257Z] $ docker top 2aa970e4d57cdb79dba20f44ef7fa3850a9f0c93d3fc34087a6095488ec11d81 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T06:53:01.590Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-03T06:53:01.875Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-03T06:53:02.159Z] + ls /var/log/sa-host [2022-11-03T06:53:02.159Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T06:53:02.304Z] provisioning config files... [2022-11-03T06:53:02.310Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config8040266475896334240tmp [Pipeline] { [Pipeline] echo [2022-11-03T06:53:02.323Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:53:02.603Z] ---> create-netrc.sh [Pipeline] } [2022-11-03T06:53:02.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:53:02.942Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-03T06:53:02.950Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:53:03.232Z] ---> sudo-logs.sh [2022-11-03T06:53:03.232Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-03T06:53:03.252Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:53:03.532Z] ---> job-cost.sh [2022-11-03T06:53:03.532Z] lf-activate-venv: SKIPPING [2022-11-03T06:53:03.532Z] DEBUG: total: 0.2199999988079071 [2022-11-03T06:53:03.532Z] INFO: Retrieving Stack Cost... [2022-11-03T06:53:04.099Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T06:53:04.357Z] INFO: Archiving Costs [Pipeline] echo [2022-11-03T06:53:04.367Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T06:53:04.652Z] ---> logs-deploy.sh [2022-11-03T06:53:04.652Z] lf-activate-venv: SKIPPING [2022-11-03T06:53:04.652Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1244/6 [2022-11-03T06:53:04.652Z] INFO: archiving workspace using pattern(s): [2022-11-03T06:53:05.589Z] Archives upload complete. [2022-11-03T06:53:05.589Z] INFO: archiving logs to Nexus