Pull request #1317 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ed2072015cf84a79be4fd744f8d3e19e0b7114e3+8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d (50f04d904bb37bb9925e0d731e3e9999104db878) 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-ssh1555225971057367396.key > 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-ssh6121372377062215138.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8641403703825081143.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh19881535494612289.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8374246484673129185.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1352633279055318407.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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/v3 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 Running on prd-ubuntu20.04-docker-8c-8g-5637 in /w/workspace/gexfoundry_device-sdk-go_PR-1317 [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-1317 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1317/head:refs/remotes/origin/PR-1317 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d into PR head commit ed2072015cf84a79be4fd744f8d3e19e0b7114e3 Merge succeeded, producing ed2072015cf84a79be4fd744f8d3e19e0b7114e3 Checking out Revision ed2072015cf84a79be4fd744f8d3e19e0b7114e3 (PR-1317) > git config core.sparsecheckout # timeout=10 > git checkout -f ed2072015cf84a79be4fd744f8d3e19e0b7114e3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed2072015cf84a79be4fd744f8d3e19e0b7114e3 # timeout=10 Commit message: "feat!: updates for common config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T23:45:39.010Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T23:45:39.191Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T23:45:39.294Z] ========================================================= [2023-02-13T23:45:39.294Z] EdgeX Global Pipelines Version Info [2023-02-13T23:45:39.294Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:45:40.029Z] ------------------- [2023-02-13T23:45:40.029Z] stable info: [2023-02-13T23:45:40.029Z] ------------------- [2023-02-13T23:45:40.029Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T23:45:40.029Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T23:45:40.029Z] Message: update stable to v1.0.244 [2023-02-13T23:45:40.600Z] ------------------- [2023-02-13T23:45:40.600Z] experimental info: [2023-02-13T23:45:40.600Z] ------------------- [2023-02-13T23:45:40.600Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T23:45:40.600Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T23:45:40.600Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T23:45:40.896Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-13T23:45:40.941Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-13T23:45:40.981Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T23:45:41.019Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T23:45:41.060Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T23:45:41.099Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T23:45:41.138Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T23:45:41.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-13T23:45:41.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T23:45:41.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T23:45:41.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T23:45:41.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-13T23:45:41.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T23:45:41.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T23:45:41.481Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T23:45:41.530Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T23:45:41.577Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T23:45:41.620Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T23:45:41.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T23:45:41.711Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T23:45:41.753Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-13T23:45:41.794Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-13T23:45:41.831Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T23:45:41.875Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T23:45:41.922Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T23:45:41.965Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T23:45:42.008Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T23:45:42.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1317 [Pipeline] echo [2023-02-13T23:45:42.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1317 [Pipeline] echo [2023-02-13T23:45:42.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1317 [Pipeline] echo [2023-02-13T23:45:42.168Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed2072015cf84a79be4fd744f8d3e19e0b7114e3 [Pipeline] echo [2023-02-13T23:45:42.202Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed20720 [Pipeline] echo [2023-02-13T23:45:42.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T23:45:42.347Z] provisioning config files... [2023-02-13T23:45:42.361Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp/config15900254324046374056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:45:42.692Z] ---> docker-login.sh [2023-02-13T23:45:42.692Z] nexus3.edgexfoundry.org:10001 [2023-02-13T23:45:42.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:45:42.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:45:42.952Z] Configure a credential helper to remove this warning. See [2023-02-13T23:45:42.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:45:42.952Z] [2023-02-13T23:45:42.952Z] Login Succeeded [2023-02-13T23:45:42.952Z] nexus3.edgexfoundry.org:10002 [2023-02-13T23:45:43.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:45:43.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:45:43.211Z] Configure a credential helper to remove this warning. See [2023-02-13T23:45:43.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:45:43.211Z] [2023-02-13T23:45:43.211Z] Login Succeeded [2023-02-13T23:45:43.211Z] nexus3.edgexfoundry.org:10003 [2023-02-13T23:45:43.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:45:43.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:45:43.211Z] Configure a credential helper to remove this warning. See [2023-02-13T23:45:43.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:45:43.211Z] [2023-02-13T23:45:43.211Z] Login Succeeded [2023-02-13T23:45:43.211Z] nexus3.edgexfoundry.org:10004 [2023-02-13T23:45:43.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:45:43.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:45:43.471Z] Configure a credential helper to remove this warning. See [2023-02-13T23:45:43.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:45:43.471Z] [2023-02-13T23:45:43.471Z] Login Succeeded [2023-02-13T23:45:43.471Z] docker.io [2023-02-13T23:45:43.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:45:43.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:45:43.731Z] Configure a credential helper to remove this warning. See [2023-02-13T23:45:43.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:45:43.731Z] [2023-02-13T23:45:43.731Z] Login Succeeded [2023-02-13T23:45:43.731Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T23:45:43.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T23:45:44.390Z] + git rev-list -1 --merges ed2072015cf84a79be4fd744f8d3e19e0b7114e3~1..ed2072015cf84a79be4fd744f8d3e19e0b7114e3 [Pipeline] echo [2023-02-13T23:45:44.457Z] -----------> git rev-list -1 --merges ed2072015cf84a79be4fd744f8d3e19e0b7114e3~1..ed2072015cf84a79be4fd744f8d3e19e0b7114e3 ed2072015cf84a79be4fd744f8d3e19e0b7114e3 [false] [Pipeline] sh [2023-02-13T23:45:44.765Z] + git log --format=format:%s -1 ed2072015cf84a79be4fd744f8d3e19e0b7114e3 [Pipeline] echo [2023-02-13T23:45:44.812Z] ========================================================= [2023-02-13T23:45:44.812Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T23:45:44.812Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T23:45:45.312Z] + git log --format=format:%s -1 ed2072015cf84a79be4fd744f8d3e19e0b7114e3 [Pipeline] echo [2023-02-13T23:45:45.351Z] [semverPrep] GIT_COMMIT: ed2072015cf84a79be4fd744f8d3e19e0b7114e3, Commit Message: feat!: updates for common config [Pipeline] echo [2023-02-13T23:45:45.383Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T23:45:45.772Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T23:45:45.772Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T23:45:45.772Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T23:45:45.772Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T23:45:45.772Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T23:45:45.772Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T23:45:45.772Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:45:46.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T23:45:46.193Z] [2023-02-13T23:45:46.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:45:46.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T23:45:46.567Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T23:45:46.567Z] b85a868b505f: Pulling fs layer [2023-02-13T23:45:46.567Z] e2be974225ed: Pulling fs layer [2023-02-13T23:45:46.567Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T23:45:46.567Z] 988bab9f4d93: Pulling fs layer [2023-02-13T23:45:46.567Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T23:45:46.567Z] eaf3925da568: Pulling fs layer [2023-02-13T23:45:46.567Z] bab4dde63d76: Pulling fs layer [2023-02-13T23:45:46.567Z] bde34c3a00c8: Pulling fs layer [2023-02-13T23:45:46.567Z] b352a97aabf1: Pulling fs layer [2023-02-13T23:45:46.567Z] 4872d77fe225: Pulling fs layer [2023-02-13T23:45:46.567Z] 5851b861e8e6: Pulling fs layer [2023-02-13T23:45:46.567Z] 988bab9f4d93: Waiting [2023-02-13T23:45:46.567Z] eaf3925da568: Waiting [2023-02-13T23:45:46.567Z] 1469e6f7b9e6: Waiting [2023-02-13T23:45:46.567Z] 4872d77fe225: Waiting [2023-02-13T23:45:46.567Z] bde34c3a00c8: Waiting [2023-02-13T23:45:46.567Z] 5851b861e8e6: Waiting [2023-02-13T23:45:46.567Z] e2be974225ed: Download complete [2023-02-13T23:45:46.567Z] 988bab9f4d93: Download complete [2023-02-13T23:45:46.833Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T23:45:46.833Z] 339a4e72a1f5: Download complete [2023-02-13T23:45:46.833Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T23:45:46.833Z] 1469e6f7b9e6: Download complete [2023-02-13T23:45:47.095Z] eaf3925da568: Download complete [2023-02-13T23:45:47.095Z] bde34c3a00c8: Verifying Checksum [2023-02-13T23:45:47.095Z] bde34c3a00c8: Download complete [2023-02-13T23:45:47.095Z] b352a97aabf1: Download complete [2023-02-13T23:45:47.095Z] 4872d77fe225: Verifying Checksum [2023-02-13T23:45:47.095Z] 4872d77fe225: Download complete [2023-02-13T23:45:47.095Z] 5851b861e8e6: Verifying Checksum [2023-02-13T23:45:47.095Z] 5851b861e8e6: Download complete [2023-02-13T23:45:47.095Z] b85a868b505f: Verifying Checksum [2023-02-13T23:45:47.095Z] b85a868b505f: Download complete [2023-02-13T23:45:47.357Z] bab4dde63d76: Verifying Checksum [2023-02-13T23:45:47.357Z] bab4dde63d76: Download complete [2023-02-13T23:45:48.292Z] b85a868b505f: Pull complete [2023-02-13T23:45:48.551Z] e2be974225ed: Pull complete [2023-02-13T23:45:49.120Z] 339a4e72a1f5: Pull complete [2023-02-13T23:45:49.120Z] 988bab9f4d93: Pull complete [2023-02-13T23:45:49.379Z] 1469e6f7b9e6: Pull complete [2023-02-13T23:45:49.379Z] eaf3925da568: Pull complete [2023-02-13T23:45:51.278Z] bab4dde63d76: Pull complete [2023-02-13T23:45:51.278Z] bde34c3a00c8: Pull complete [2023-02-13T23:45:51.537Z] b352a97aabf1: Pull complete [2023-02-13T23:45:51.537Z] 4872d77fe225: Pull complete [2023-02-13T23:45:51.537Z] 5851b861e8e6: Pull complete [2023-02-13T23:45:51.537Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T23:45:51.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T23:45:51.537Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T23:45:51.774Z] prd-ubuntu20.04-docker-8c-8g-5637 does not seem to be running inside a container [2023-02-13T23:45:51.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1317 -v /w/workspace/gexfoundry_device-sdk-go_PR-1317:/w/workspace/gexfoundry_device-sdk-go_PR-1317:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T23:45:53.386Z] $ docker top 1a3c4de8cd29796630655c69e6959e85a8afbf65f85e2b975a99bb3cb254af8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T23:45:53.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T23:45:53.562Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T23:45:53.679Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T23:45:53.688Z] $ docker exec 1a3c4de8cd29796630655c69e6959e85a8afbf65f85e2b975a99bb3cb254af8d ssh-agent [2023-02-13T23:45:53.786Z] SSH_AUTH_SOCK=/tmp/ssh-KF6hubN53Lib/agent.33 [2023-02-13T23:45:53.786Z] SSH_AGENT_PID=39 [2023-02-13T23:45:53.792Z] Running ssh-add (command line suppressed) [2023-02-13T23:45:53.900Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp/private_key_18115843129539693758.key (/w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp/private_key_18115843129539693758.key) [2023-02-13T23:45:53.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T23:45:54.236Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T23:45:54.265Z] $ docker exec --env ******** --env ******** 1a3c4de8cd29796630655c69e6959e85a8afbf65f85e2b975a99bb3cb254af8d ssh-agent -k [2023-02-13T23:45:54.373Z] unset SSH_AUTH_SOCK; [2023-02-13T23:45:54.373Z] unset SSH_AGENT_PID; [2023-02-13T23:45:54.373Z] echo Agent pid 39 killed; [2023-02-13T23:45:54.381Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T23:45:54.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T23:45:54.468Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T23:45:54.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T23:45:54.599Z] $ docker exec 1a3c4de8cd29796630655c69e6959e85a8afbf65f85e2b975a99bb3cb254af8d ssh-agent [2023-02-13T23:45:54.704Z] SSH_AUTH_SOCK=/tmp/ssh-vuh5oK6pCxzU/agent.71 [2023-02-13T23:45:54.704Z] SSH_AGENT_PID=77 [2023-02-13T23:45:54.709Z] Running ssh-add (command line suppressed) [2023-02-13T23:45:54.827Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp/private_key_16000811571952273713.key (/w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp/private_key_16000811571952273713.key) [2023-02-13T23:45:54.834Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T23:45:55.160Z] + git semver init [2023-02-13T23:45:55.420Z] 2023-02-13 23:45:55,346 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T23:45:55.420Z] 2023-02-13 23:45:55,346 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1317/.semver [2023-02-13T23:45:55.420Z] 2023-02-13 23:45:55,347 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1317/.semver [2023-02-13T23:45:55.420Z] 2023-02-13 23:45:55,347 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1317/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1317, universal_newlines=False, shell=None, istream=None) [2023-02-13T23:45:56.359Z] 2023-02-13 23:45:56,322 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1317/.git/info/exclude [2023-02-13T23:45:56.359Z] 2023-02-13 23:45:56,323 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1317/.semver/PR-1317 with force:False [2023-02-13T23:45:56.359Z] 2023-02-13 23:45:56,323 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1317/.semver/PR-1317 [2023-02-13T23:45:56.359Z] 2023-02-13 23:45:56,328 [execute] INFO git cat-file --batch-check [2023-02-13T23:45:56.359Z] 2023-02-13 23:45:56,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1317/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T23:45:56.359Z] 2023-02-13 23:45:56,335 [execute] INFO git cat-file --batch [2023-02-13T23:45:56.359Z] 2023-02-13 23:45:56,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1317/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T23:45:56.359Z] 2023-02-13 23:45:56,341 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1317/.semver/PR-1317 [2023-02-13T23:45:56.359Z] 0.0.0 [Pipeline] } [2023-02-13T23:45:56.392Z] $ docker exec --env ******** --env ******** 1a3c4de8cd29796630655c69e6959e85a8afbf65f85e2b975a99bb3cb254af8d ssh-agent -k [2023-02-13T23:45:56.499Z] unset SSH_AUTH_SOCK; [2023-02-13T23:45:56.500Z] unset SSH_AGENT_PID; [2023-02-13T23:45:56.500Z] echo Agent pid 77 killed; [2023-02-13T23:45:56.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T23:45:56.932Z] + git semver [Pipeline] } [2023-02-13T23:45:57.221Z] $ docker stop --time=1 1a3c4de8cd29796630655c69e6959e85a8afbf65f85e2b975a99bb3cb254af8d [2023-02-13T23:45:58.522Z] $ docker rm -f --volumes 1a3c4de8cd29796630655c69e6959e85a8afbf65f85e2b975a99bb3cb254af8d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T23:45:58.915Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T23:45:59.199Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T23:45:59.215Z] [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 [2023-02-13T23:45:59.772Z] provisioning config files... [2023-02-13T23:45:59.781Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp/config7415167175979516599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:46:00.130Z] ---> docker-login.sh [2023-02-13T23:46:00.130Z] nexus3.edgexfoundry.org:10001 [2023-02-13T23:46:00.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:46:00.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:46:00.130Z] Configure a credential helper to remove this warning. See [2023-02-13T23:46:00.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:46:00.130Z] [2023-02-13T23:46:00.130Z] Login Succeeded [2023-02-13T23:46:00.130Z] nexus3.edgexfoundry.org:10002 [2023-02-13T23:46:00.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:46:00.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:46:00.130Z] Configure a credential helper to remove this warning. See [2023-02-13T23:46:00.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:46:00.130Z] [2023-02-13T23:46:00.130Z] Login Succeeded [2023-02-13T23:46:00.130Z] nexus3.edgexfoundry.org:10003 [2023-02-13T23:46:00.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:46:00.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:46:00.388Z] Configure a credential helper to remove this warning. See [2023-02-13T23:46:00.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:46:00.388Z] [2023-02-13T23:46:00.388Z] Login Succeeded [2023-02-13T23:46:00.388Z] nexus3.edgexfoundry.org:10004 [2023-02-13T23:46:00.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:46:00.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:46:00.388Z] Configure a credential helper to remove this warning. See [2023-02-13T23:46:00.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:46:00.388Z] [2023-02-13T23:46:00.388Z] Login Succeeded [2023-02-13T23:46:00.388Z] docker.io [2023-02-13T23:46:00.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:46:00.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:46:00.911Z] Configure a credential helper to remove this warning. See [2023-02-13T23:46:00.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:46:00.911Z] [2023-02-13T23:46:00.911Z] Login Succeeded [2023-02-13T23:46:00.911Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T23:46:00.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T23:46:01.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T23:46:01.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T23:46:01.201Z] ========================================================= [2023-02-13T23:46:01.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T23:46:01.201Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:46:01.652Z] + 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 . [2023-02-13T23:46:01.653Z] Sending build context to Docker daemon 10.43MB [2023-02-13T23:46:01.653Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T23:46:01.653Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T23:46:01.653Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T23:46:01.653Z] 213ec9aee27d: Pulling fs layer [2023-02-13T23:46:01.653Z] 4583459ba037: Pulling fs layer [2023-02-13T23:46:01.653Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T23:46:01.653Z] 53926ce57604: Pulling fs layer [2023-02-13T23:46:01.653Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T23:46:01.653Z] 22ff95d597cd: Pulling fs layer [2023-02-13T23:46:01.653Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T23:46:01.653Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T23:46:01.653Z] a7acece74701: Pulling fs layer [2023-02-13T23:46:01.653Z] 22ff95d597cd: Waiting [2023-02-13T23:46:01.653Z] 53926ce57604: Waiting [2023-02-13T23:46:01.653Z] 12d6caf4c0d1: Waiting [2023-02-13T23:46:01.653Z] 96b7cbca73a9: Waiting [2023-02-13T23:46:01.653Z] 21b2b0c7a3f4: Waiting [2023-02-13T23:46:01.653Z] a7acece74701: Waiting [2023-02-13T23:46:01.653Z] 93c1e223e6f2: Download complete [2023-02-13T23:46:01.653Z] 4583459ba037: Verifying Checksum [2023-02-13T23:46:01.653Z] 4583459ba037: Download complete [2023-02-13T23:46:01.916Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T23:46:01.916Z] 21b2b0c7a3f4: Download complete [2023-02-13T23:46:01.916Z] 22ff95d597cd: Verifying Checksum [2023-02-13T23:46:01.916Z] 22ff95d597cd: Download complete [2023-02-13T23:46:01.916Z] 213ec9aee27d: Download complete [2023-02-13T23:46:01.916Z] 12d6caf4c0d1: Verifying Checksum [2023-02-13T23:46:01.916Z] 12d6caf4c0d1: Download complete [2023-02-13T23:46:01.916Z] 213ec9aee27d: Pull complete [2023-02-13T23:46:02.186Z] 4583459ba037: Pull complete [2023-02-13T23:46:02.186Z] 93c1e223e6f2: Pull complete [2023-02-13T23:46:03.270Z] a7acece74701: Verifying Checksum [2023-02-13T23:46:03.270Z] a7acece74701: Download complete [2023-02-13T23:46:03.530Z] 53926ce57604: Verifying Checksum [2023-02-13T23:46:03.530Z] 53926ce57604: Download complete [2023-02-13T23:46:03.530Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T23:46:03.530Z] 96b7cbca73a9: Download complete [2023-02-13T23:46:07.715Z] 53926ce57604: Pull complete [2023-02-13T23:46:07.715Z] 21b2b0c7a3f4: Pull complete [2023-02-13T23:46:07.715Z] 22ff95d597cd: Pull complete [2023-02-13T23:46:07.715Z] 12d6caf4c0d1: Pull complete [2023-02-13T23:46:09.615Z] 96b7cbca73a9: Pull complete [2023-02-13T23:46:10.550Z] a7acece74701: Pull complete [2023-02-13T23:46:10.550Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T23:46:10.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T23:46:10.550Z] ---> db6d94c90886 [2023-02-13T23:46:10.550Z] Step 3/10 : ARG MAKE=make build [2023-02-13T23:46:13.083Z] ---> Running in 3643bc18cf5f [2023-02-13T23:46:13.083Z] Removing intermediate container 3643bc18cf5f [2023-02-13T23:46:13.083Z] ---> de5217c0e09a [2023-02-13T23:46:13.083Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T23:46:13.083Z] ---> Running in 100f70f37c13 [2023-02-13T23:46:13.084Z] Removing intermediate container 100f70f37c13 [2023-02-13T23:46:13.084Z] ---> 642aef117877 [2023-02-13T23:46:13.084Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T23:46:13.084Z] ---> Running in ac73282ad740 [2023-02-13T23:46:13.084Z] Removing intermediate container ac73282ad740 [2023-02-13T23:46:13.084Z] ---> c7c37be27c27 [2023-02-13T23:46:13.084Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T23:46:13.084Z] ---> Running in 8c93ff4fcbdf [2023-02-13T23:46:13.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T23:46:13.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T23:46:13.862Z] OK: 211 MiB in 51 packages [2023-02-13T23:46:14.121Z] Removing intermediate container 8c93ff4fcbdf [2023-02-13T23:46:14.121Z] ---> f5548ec130b6 [2023-02-13T23:46:14.121Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T23:46:14.121Z] ---> 3445d786231b [2023-02-13T23:46:14.121Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T23:46:14.121Z] ---> Running in 7508d3839895 [2023-02-13T23:46:14.593Z] Still waiting to schedule task [2023-02-13T23:46:14.594Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-13T23:46:46.224Z] Removing intermediate container 7508d3839895 [2023-02-13T23:46:46.224Z] ---> cf93c81413ee [2023-02-13T23:46:46.224Z] Step 9/10 : COPY . . [2023-02-13T23:46:46.224Z] ---> 95814c730fee [2023-02-13T23:46:46.224Z] Step 10/10 : RUN ${MAKE} [2023-02-13T23:46:46.224Z] ---> Running in d954c8ebe218 [2023-02-13T23:46:46.224Z] noop [2023-02-13T23:46:46.484Z] Removing intermediate container d954c8ebe218 [2023-02-13T23:46:46.484Z] ---> 3b23c6b68311 [2023-02-13T23:46:46.484Z] Successfully built 3b23c6b68311 [2023-02-13T23:46:46.484Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:46:46.917Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T23:46:46.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T23:46:47.057Z] prd-ubuntu20.04-docker-8c-8g-5637 does not seem to be running inside a container [2023-02-13T23:46:47.094Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1317 -v /w/workspace/gexfoundry_device-sdk-go_PR-1317:/w/workspace/gexfoundry_device-sdk-go_PR-1317:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T23:46:47.430Z] $ docker top 465d8e9bcdbe88e6f585bafbc3c0d739bbf4b3dbfd215c892c644d0ecfda1c8e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T23:46:47.807Z] + go version [2023-02-13T23:46:47.807Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T23:46:47.850Z] $ docker stop --time=1 465d8e9bcdbe88e6f585bafbc3c0d739bbf4b3dbfd215c892c644d0ecfda1c8e [2023-02-13T23:46:49.142Z] $ docker rm -f --volumes 465d8e9bcdbe88e6f585bafbc3c0d739bbf4b3dbfd215c892c644d0ecfda1c8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:46:49.837Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T23:46:49.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T23:46:49.986Z] prd-ubuntu20.04-docker-8c-8g-5637 does not seem to be running inside a container [2023-02-13T23:46:50.022Z] $ 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-1317 -v /w/workspace/gexfoundry_device-sdk-go_PR-1317:/w/workspace/gexfoundry_device-sdk-go_PR-1317:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T23:46:50.388Z] $ docker top 097a18c353454cedbe18a6f6708fea3e8811a73b8269093a66de4c79752e3833 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T23:46:50.768Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1317 [Pipeline] fileExists [Pipeline] sh [2023-02-13T23:46:51.123Z] + make test [2023-02-13T23:46:51.123Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T23:46:57.688Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T23:47:12.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-13T23:47:12.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-13T23:47:12.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-13T23:47:12.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-13T23:47:12.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-13T23:47:12.578Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements [2023-02-13T23:47:12.578Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.101s coverage: 78.9% of statements [2023-02-13T23:47:12.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-13T23:47:12.578Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.108s coverage: 78.1% of statements [2023-02-13T23:47:12.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-13T23:47:12.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-13T23:47:12.836Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.114s coverage: 72.4% of statements [2023-02-13T23:47:12.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-13T23:47:12.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-13T23:47:12.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-13T23:47:12.836Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.104s coverage: 65.2% of statements [2023-02-13T23:47:12.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-13T23:47:12.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-13T23:47:12.836Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.754s coverage: 89.2% of statements [2023-02-13T23:47:12.836Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-13T23:47:13.095Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.7% of statements [2023-02-13T23:47:13.095Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-13T23:47:31.183Z] 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." [2023-02-13T23:47:31.183Z] GO111MODULE=on go vet ./... [2023-02-13T23:47:33.089Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T23:47:33.347Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T23:47:33.347Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T23:47:33.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T23:47:33.422Z] $ docker stop --time=1 097a18c353454cedbe18a6f6708fea3e8811a73b8269093a66de4c79752e3833 [2023-02-13T23:47:35.862Z] $ docker rm -f --volumes 097a18c353454cedbe18a6f6708fea3e8811a73b8269093a66de4c79752e3833 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T23:47:36.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T23:47:36.556Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T23:47:37.217Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T23:47:37.527Z] + ls -al . [2023-02-13T23:47:37.527Z] total 272 [2023-02-13T23:47:37.527Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 23:46 . [2023-02-13T23:47:37.527Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 23:45 .. [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 23:45 .dockerignore [2023-02-13T23:47:37.527Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 23:47 .git [2023-02-13T23:47:37.527Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 23:45 .github [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 23:45 .gitignore [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 23:45 .golangci.yml [2023-02-13T23:47:37.527Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 23:45 .semver [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 23:45 CHANGELOG.md [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 23:45 GOVERNANCE.md [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 23:45 Jenkinsfile [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 23:45 LICENSE [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 23:45 Makefile [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 23:45 OWNERS.md [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 23:45 README.md [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 23:45 VERSION [2023-02-13T23:47:37.527Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 23:45 bin [2023-02-13T23:47:37.527Z] -rw-r--r-- 1 jenkins jenkins 99166 Feb 13 23:47 coverage.out [2023-02-13T23:47:37.527Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 23:45 example [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 23:45 go.mod [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 23:45 go.sum [2023-02-13T23:47:37.527Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 23:45 internal [2023-02-13T23:47:37.527Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 23:45 openapi [2023-02-13T23:47:37.527Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 23:45 pkg [2023-02-13T23:47:37.527Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 23:45 snap [2023-02-13T23:47:37.527Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 23:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:47:37.924Z] + 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=ed2072015cf84a79be4fd744f8d3e19e0b7114e3 --label arch=amd64 --label version=0.0.0 . [2023-02-13T23:47:37.924Z] Sending build context to Docker daemon 10.53MB [2023-02-13T23:47:37.924Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T23:47:37.924Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-13T23:47:37.924Z] ---> 3b23c6b68311 [2023-02-13T23:47:37.924Z] Step 3/23 : ARG MAKE=make build [2023-02-13T23:47:38.184Z] ---> Running in 94d833caa767 [2023-02-13T23:47:38.184Z] Removing intermediate container 94d833caa767 [2023-02-13T23:47:38.184Z] ---> 0aa034ca1319 [2023-02-13T23:47:38.184Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-13T23:47:38.184Z] ---> Running in 26a1d23dafcb [2023-02-13T23:47:38.184Z] Removing intermediate container 26a1d23dafcb [2023-02-13T23:47:38.184Z] ---> d49af2592dcc [2023-02-13T23:47:38.184Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T23:47:38.184Z] ---> Running in 84e66b1bf251 [2023-02-13T23:47:38.445Z] Removing intermediate container 84e66b1bf251 [2023-02-13T23:47:38.445Z] ---> c8497e47d04e [2023-02-13T23:47:38.445Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-13T23:47:38.445Z] ---> Running in 1f48588cbe7e [2023-02-13T23:47:38.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T23:47:38.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T23:47:39.274Z] OK: 211 MiB in 51 packages [2023-02-13T23:47:39.534Z] Removing intermediate container 1f48588cbe7e [2023-02-13T23:47:39.534Z] ---> 3a29f1776e4c [2023-02-13T23:47:39.534Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-13T23:47:39.534Z] ---> 92f8c4d8d7c9 [2023-02-13T23:47:39.534Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T23:47:39.534Z] ---> Running in fb5fad145f11 [2023-02-13T23:47:40.473Z] Removing intermediate container fb5fad145f11 [2023-02-13T23:47:40.473Z] ---> 4a743764bce7 [2023-02-13T23:47:40.473Z] Step 9/23 : COPY . . [2023-02-13T23:47:40.732Z] ---> 04b51c3c3839 [2023-02-13T23:47:40.732Z] Step 10/23 : RUN ${MAKE} [2023-02-13T23:47:40.991Z] ---> Running in 01eca52e0e49 [2023-02-13T23:47:41.251Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-13T23:47:48.244Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5639 in /w/workspace/gexfoundry_device-sdk-go_PR-1317 [Pipeline] { [Pipeline] ws [2023-02-13T23:47:48.307Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-13T23:47:48.378Z] The recommended git tool is: git [2023-02-13T23:47:53.613Z] using credential edgex-jenkins-ssh [2023-02-13T23:47:53.637Z] Cloning the remote Git repository [2023-02-13T23:47:53.670Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T23:47:53.737Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-13T23:47:53.875Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T23:47:53.876Z] > git --version # timeout=10 [2023-02-13T23:47:53.899Z] > git --version # 'git version 2.25.1' [2023-02-13T23:47:53.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T23:47:53.972Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T23:47:55.506Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T23:47:55.532Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T23:47:57.184Z] Merging remotes/origin/main commit 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d into PR head commit ed2072015cf84a79be4fd744f8d3e19e0b7114e3 [2023-02-13T23:47:56.398Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T23:47:56.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T23:47:56.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T23:47:56.464Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1317/head:refs/remotes/origin/PR-1317 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T23:47:57.200Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T23:47:57.463Z] Merge succeeded, producing ed2072015cf84a79be4fd744f8d3e19e0b7114e3 [2023-02-13T23:47:57.464Z] Checking out Revision ed2072015cf84a79be4fd744f8d3e19e0b7114e3 (PR-1317) [2023-02-13T23:47:57.224Z] > git checkout -f ed2072015cf84a79be4fd744f8d3e19e0b7114e3 # timeout=10 [2023-02-13T23:47:57.339Z] > git remote # timeout=10 [2023-02-13T23:47:57.362Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T23:47:57.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T23:47:57.405Z] > git merge 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d # timeout=10 [2023-02-13T23:47:57.432Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T23:47:57.469Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T23:47:57.485Z] > git checkout -f ed2072015cf84a79be4fd744f8d3e19e0b7114e3 # timeout=10 [2023-02-13T23:48:01.022Z] Commit message: "feat!: updates for common config" [2023-02-13T23:48:01.070Z] > git --version # timeout=10 [2023-02-13T23:48:01.085Z] > git --version # 'git version 2.25.1' [2023-02-13T23:48:01.108Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T23:48:02.301Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T23:48:02.301Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T23:48:02.301Z] Dload Upload Total Spent Left Speed [2023-02-13T23:48:02.301Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-02-13T23:48:03.082Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T23:48:03.184Z] Removing intermediate container 01eca52e0e49 [2023-02-13T23:48:03.185Z] ---> dca5496d31de [2023-02-13T23:48:03.185Z] Step 11/23 : FROM alpine:3.16 [2023-02-13T23:48:03.185Z] 3.16: Pulling from library/alpine [2023-02-13T23:48:03.185Z] ef5531b6e74e: Pulling fs layer [2023-02-13T23:48:03.185Z] ef5531b6e74e: Verifying Checksum [2023-02-13T23:48:03.185Z] ef5531b6e74e: Download complete [2023-02-13T23:48:03.185Z] ef5531b6e74e: Pull complete [2023-02-13T23:48:03.185Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T23:48:03.185Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T23:48:03.185Z] ---> dfd21b5a31f5 [2023-02-13T23:48:03.185Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T23:48:03.185Z] ---> Running in d03479188a70 [2023-02-13T23:48:03.185Z] Removing intermediate container d03479188a70 [2023-02-13T23:48:03.185Z] ---> 9a49204d6ad3 [2023-02-13T23:48:03.185Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-13T23:48:03.185Z] ---> Running in 0f16526fb137 [2023-02-13T23:48:03.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T23:48:03.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T23:48:03.185Z] OK: 6 MiB in 14 packages [2023-02-13T23:48:03.185Z] Removing intermediate container 0f16526fb137 [2023-02-13T23:48:03.185Z] ---> 2183274cbab6 [2023-02-13T23:48:03.185Z] Step 14/23 : WORKDIR / [2023-02-13T23:48:03.185Z] ---> Running in 3c2304af545d [2023-02-13T23:48:03.185Z] Removing intermediate container 3c2304af545d [2023-02-13T23:48:03.185Z] ---> 2bbc2d02747b [2023-02-13T23:48:03.185Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-13T23:48:03.185Z] ---> 99e29da3286b [2023-02-13T23:48:03.185Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-13T23:48:03.441Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T23:48:03.441Z] + sudo tee /etc/docker/daemon.new [2023-02-13T23:48:03.441Z] { [2023-02-13T23:48:03.441Z] "registry-mirrors": [ [2023-02-13T23:48:03.441Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T23:48:03.441Z] ], [2023-02-13T23:48:03.441Z] "bip": "10.250.0.254/24", [2023-02-13T23:48:03.441Z] "hosts": [ [2023-02-13T23:48:03.441Z] "tcp://0.0.0.0:5555", [2023-02-13T23:48:03.441Z] "unix:///var/run/docker.sock" [2023-02-13T23:48:03.441Z] ], [2023-02-13T23:48:03.441Z] "mtu": 1458, [2023-02-13T23:48:03.441Z] "selinux-enabled": true, [2023-02-13T23:48:03.441Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T23:48:03.441Z] } [Pipeline] sh [2023-02-13T23:48:03.752Z] ---> c4a946d6fcdb [2023-02-13T23:48:03.752Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-13T23:48:03.752Z] ---> 1ad1f5941074 [2023-02-13T23:48:03.752Z] Step 18/23 : EXPOSE 59999 [2023-02-13T23:48:03.752Z] ---> Running in 0af2a2189fbc [2023-02-13T23:48:03.752Z] Removing intermediate container 0af2a2189fbc [2023-02-13T23:48:03.752Z] ---> 923f00757521 [2023-02-13T23:48:03.752Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-13T23:48:03.752Z] ---> Running in 4913c8ca2334 [2023-02-13T23:48:03.803Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T23:48:04.011Z] Removing intermediate container 4913c8ca2334 [2023-02-13T23:48:04.011Z] ---> 523a6daf966a [2023-02-13T23:48:04.011Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T23:48:04.011Z] ---> Running in be0970ddb85d [2023-02-13T23:48:04.011Z] Removing intermediate container be0970ddb85d [2023-02-13T23:48:04.011Z] ---> 4d65a318e62e [2023-02-13T23:48:04.011Z] Step 21/23 : LABEL arch=amd64 [2023-02-13T23:48:04.011Z] ---> Running in d053109539eb [2023-02-13T23:48:04.011Z] Removing intermediate container d053109539eb [2023-02-13T23:48:04.011Z] ---> 0df12ba3efd0 [2023-02-13T23:48:04.011Z] Step 22/23 : LABEL git_sha=ed2072015cf84a79be4fd744f8d3e19e0b7114e3 [2023-02-13T23:48:04.156Z] + sudo service docker restart [2023-02-13T23:48:04.270Z] ---> Running in 166a118f744a [2023-02-13T23:48:04.270Z] Removing intermediate container 166a118f744a [2023-02-13T23:48:04.270Z] ---> 2de663ac59e1 [2023-02-13T23:48:04.270Z] Step 23/23 : LABEL version=0.0.0 [2023-02-13T23:48:04.270Z] ---> Running in 3e54f886bb7d [2023-02-13T23:48:04.270Z] Removing intermediate container 3e54f886bb7d [2023-02-13T23:48:04.270Z] ---> 56920cfdd741 [2023-02-13T23:48:04.270Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T23:48:04.270Z] Successfully built 56920cfdd741 [2023-02-13T23:48:04.270Z] 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 [2023-02-13T23:48:05.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T23:48:05.137Z] [2023-02-13T23:48:05.137Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:48:05.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T23:48:05.516Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T23:48:05.516Z] 5eb5b503b376: Pulling fs layer [2023-02-13T23:48:05.516Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T23:48:05.516Z] ec43610c2a17: Pulling fs layer [2023-02-13T23:48:05.516Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T23:48:05.516Z] 33b1e0a273af: Pulling fs layer [2023-02-13T23:48:05.516Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T23:48:05.516Z] 33b1e0a273af: Waiting [2023-02-13T23:48:05.516Z] 3a2ae6a8a46f: Waiting [2023-02-13T23:48:05.516Z] 2f39f015ded8: Pulling fs layer [2023-02-13T23:48:05.516Z] 5d3b04190fa2: Waiting [2023-02-13T23:48:05.516Z] 5c69ac0246d0: Verifying Checksum [2023-02-13T23:48:05.516Z] 5c69ac0246d0: Download complete [2023-02-13T23:48:05.516Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T23:48:05.516Z] 3a2ae6a8a46f: Download complete [2023-02-13T23:48:05.781Z] 33b1e0a273af: Verifying Checksum [2023-02-13T23:48:05.781Z] 33b1e0a273af: Download complete [2023-02-13T23:48:05.781Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T23:48:05.781Z] 5d3b04190fa2: Download complete [2023-02-13T23:48:05.781Z] ec43610c2a17: Verifying Checksum [2023-02-13T23:48:05.781Z] ec43610c2a17: Download complete [2023-02-13T23:48:06.040Z] 5eb5b503b376: Verifying Checksum [2023-02-13T23:48:06.040Z] 5eb5b503b376: Download complete [2023-02-13T23:48:06.611Z] 2f39f015ded8: Download complete [2023-02-13T23:48:07.177Z] 5eb5b503b376: Pull complete [2023-02-13T23:48:07.435Z] 5c69ac0246d0: Pull complete [2023-02-13T23:48:08.000Z] ec43610c2a17: Pull complete [2023-02-13T23:48:08.000Z] 3a2ae6a8a46f: Pull complete [2023-02-13T23:48:08.265Z] 33b1e0a273af: Pull complete [2023-02-13T23:48:08.265Z] 5d3b04190fa2: Pull complete [2023-02-13T23:48:13.587Z] 2f39f015ded8: Pull complete [2023-02-13T23:48:13.587Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T23:48:13.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T23:48:13.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T23:48:13.799Z] prd-ubuntu20.04-docker-8c-8g-5637 does not seem to be running inside a container [2023-02-13T23:48:13.835Z] $ 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-1317 -v /w/workspace/gexfoundry_device-sdk-go_PR-1317:/w/workspace/gexfoundry_device-sdk-go_PR-1317:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1317@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 [2023-02-13T23:48:16.028Z] $ docker top 2af50d3aa11e89b2dd6ee41f8c76db15a6d1d39630dd4a6cdf312c9555603def -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:48:16.470Z] ---> job-cost.sh [2023-02-13T23:48:16.470Z] lf-activate-venv: SKIPPING [2023-02-13T23:48:16.470Z] INFO: No Stack... [2023-02-13T23:48:16.730Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T23:48:17.299Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T23:48:17.617Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1317/archives/cost.csv [2023-02-13T23:48:17.617Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T23:48:17.657Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1317-1-stack-cost] [2023-02-13T23:48:17.661Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1317-1-stack-cost] did not exist. Created. [2023-02-13T23:48:17.661Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1317-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T23:48:18.061Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T23:48:18.117Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T23:48:18.147Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1317-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T23:48:18.231Z] $ docker stop --time=1 2af50d3aa11e89b2dd6ee41f8c76db15a6d1d39630dd4a6cdf312c9555603def [2023-02-13T23:48:19.390Z] $ docker rm -f --volumes 2af50d3aa11e89b2dd6ee41f8c76db15a6d1d39630dd4a6cdf312c9555603def [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T23:48:22.484Z] provisioning config files... [2023-02-13T23:48:22.509Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config882560249832822142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:48:22.902Z] ---> docker-login.sh [2023-02-13T23:48:22.902Z] nexus3.edgexfoundry.org:10001 [2023-02-13T23:48:23.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:48:23.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:48:23.440Z] Configure a credential helper to remove this warning. See [2023-02-13T23:48:23.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:48:23.440Z] [2023-02-13T23:48:23.440Z] Login Succeeded [2023-02-13T23:48:23.440Z] nexus3.edgexfoundry.org:10002 [2023-02-13T23:48:23.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:48:23.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:48:23.977Z] Configure a credential helper to remove this warning. See [2023-02-13T23:48:23.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:48:23.977Z] [2023-02-13T23:48:23.977Z] Login Succeeded [2023-02-13T23:48:23.977Z] nexus3.edgexfoundry.org:10003 [2023-02-13T23:48:23.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:48:24.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:48:24.247Z] Configure a credential helper to remove this warning. See [2023-02-13T23:48:24.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:48:24.247Z] [2023-02-13T23:48:24.247Z] Login Succeeded [2023-02-13T23:48:24.247Z] nexus3.edgexfoundry.org:10004 [2023-02-13T23:48:24.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:48:24.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:48:24.520Z] Configure a credential helper to remove this warning. See [2023-02-13T23:48:24.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:48:24.520Z] [2023-02-13T23:48:24.520Z] Login Succeeded [2023-02-13T23:48:24.520Z] docker.io [2023-02-13T23:48:24.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T23:48:25.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T23:48:25.056Z] Configure a credential helper to remove this warning. See [2023-02-13T23:48:25.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T23:48:25.056Z] [2023-02-13T23:48:25.056Z] Login Succeeded [2023-02-13T23:48:25.056Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T23:48:25.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T23:48:25.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T23:48:25.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T23:48:25.525Z] ========================================================= [2023-02-13T23:48:25.525Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T23:48:25.525Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:48:26.020Z] + 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 . [2023-02-13T23:48:26.606Z] Sending build context to Docker daemon 5.616MB [2023-02-13T23:48:26.606Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T23:48:26.606Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T23:48:26.877Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T23:48:26.877Z] 9b18e9b68314: Pulling fs layer [2023-02-13T23:48:26.877Z] 35d82f9e3411: Pulling fs layer [2023-02-13T23:48:26.877Z] e16973657156: Pulling fs layer [2023-02-13T23:48:26.877Z] fc693d55d65f: Pulling fs layer [2023-02-13T23:48:26.877Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T23:48:26.877Z] dda99020689f: Pulling fs layer [2023-02-13T23:48:26.877Z] db1c61fa0a46: Pulling fs layer [2023-02-13T23:48:26.877Z] 891c053d2c06: Pulling fs layer [2023-02-13T23:48:26.877Z] fc693d55d65f: Waiting [2023-02-13T23:48:26.877Z] dda99020689f: Waiting [2023-02-13T23:48:26.877Z] db1c61fa0a46: Waiting [2023-02-13T23:48:26.877Z] 7e9fc2657dce: Waiting [2023-02-13T23:48:26.877Z] 891c053d2c06: Waiting [2023-02-13T23:48:26.877Z] e16973657156: Verifying Checksum [2023-02-13T23:48:26.877Z] e16973657156: Download complete [2023-02-13T23:48:26.877Z] 35d82f9e3411: Verifying Checksum [2023-02-13T23:48:26.877Z] 35d82f9e3411: Download complete [2023-02-13T23:48:26.877Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T23:48:26.877Z] 7e9fc2657dce: Download complete [2023-02-13T23:48:26.877Z] dda99020689f: Verifying Checksum [2023-02-13T23:48:26.877Z] dda99020689f: Download complete [2023-02-13T23:48:26.877Z] 9b18e9b68314: Verifying Checksum [2023-02-13T23:48:26.877Z] 9b18e9b68314: Download complete [2023-02-13T23:48:27.863Z] 9b18e9b68314: Pull complete [2023-02-13T23:48:28.137Z] 891c053d2c06: Verifying Checksum [2023-02-13T23:48:28.137Z] 891c053d2c06: Download complete [2023-02-13T23:48:28.407Z] 35d82f9e3411: Pull complete [2023-02-13T23:48:28.678Z] e16973657156: Pull complete [2023-02-13T23:48:29.267Z] db1c61fa0a46: Verifying Checksum [2023-02-13T23:48:29.267Z] db1c61fa0a46: Download complete [2023-02-13T23:48:29.859Z] fc693d55d65f: Verifying Checksum [2023-02-13T23:48:29.859Z] fc693d55d65f: Download complete [2023-02-13T23:48:42.178Z] fc693d55d65f: Pull complete [2023-02-13T23:48:42.178Z] 7e9fc2657dce: Pull complete [2023-02-13T23:48:42.178Z] dda99020689f: Pull complete [2023-02-13T23:48:48.833Z] db1c61fa0a46: Pull complete [2023-02-13T23:48:50.246Z] 891c053d2c06: Pull complete [2023-02-13T23:48:50.246Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T23:48:50.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T23:48:50.246Z] ---> f96f9c87975a [2023-02-13T23:48:50.246Z] Step 3/10 : ARG MAKE=make build [2023-02-13T23:48:52.224Z] ---> Running in d49976e2f26f [2023-02-13T23:48:52.224Z] Removing intermediate container d49976e2f26f [2023-02-13T23:48:52.224Z] ---> a9d755dda887 [2023-02-13T23:48:52.224Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T23:48:52.224Z] ---> Running in 7d08c0762f99 [2023-02-13T23:48:52.494Z] Removing intermediate container 7d08c0762f99 [2023-02-13T23:48:52.494Z] ---> 3efbe1cef3cb [2023-02-13T23:48:52.494Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T23:48:52.761Z] ---> Running in 0aeec48b1fbc [2023-02-13T23:48:53.029Z] Removing intermediate container 0aeec48b1fbc [2023-02-13T23:48:53.029Z] ---> 0271574796b2 [2023-02-13T23:48:53.029Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T23:48:53.029Z] ---> Running in 9b2d38c91ea9 [2023-02-13T23:48:53.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T23:48:54.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T23:48:55.537Z] OK: 221 MiB in 51 packages [2023-02-13T23:48:56.123Z] Removing intermediate container 9b2d38c91ea9 [2023-02-13T23:48:56.123Z] ---> 63b60e273cf1 [2023-02-13T23:48:56.123Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T23:48:56.720Z] ---> 98c592326b1f [2023-02-13T23:48:56.720Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T23:48:56.720Z] ---> Running in 563526e7a196 [2023-02-13T23:50:04.602Z] Removing intermediate container 563526e7a196 [2023-02-13T23:50:04.602Z] ---> 3db8faee37bb [2023-02-13T23:50:04.602Z] Step 9/10 : COPY . . [2023-02-13T23:50:04.602Z] ---> 8d97f29f9f86 [2023-02-13T23:50:04.602Z] Step 10/10 : RUN ${MAKE} [2023-02-13T23:50:04.602Z] ---> Running in 3248f54339f1 [2023-02-13T23:50:04.871Z] noop [2023-02-13T23:50:05.460Z] Removing intermediate container 3248f54339f1 [2023-02-13T23:50:05.460Z] ---> 22708fa2e777 [2023-02-13T23:50:05.460Z] Successfully built 22708fa2e777 [2023-02-13T23:50:05.460Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:50:05.935Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T23:50:05.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T23:50:06.190Z] prd-ubuntu20.04-docker-arm64-4c-16g-5639 does not seem to be running inside a container [2023-02-13T23:50:06.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T23:50:07.338Z] $ docker top f9e65e148b4eb65c2e2ffa6e62961031b1e02180cea72436d15b98994fdca933 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T23:50:08.178Z] + go version [2023-02-13T23:50:08.178Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T23:50:08.220Z] $ docker stop --time=1 f9e65e148b4eb65c2e2ffa6e62961031b1e02180cea72436d15b98994fdca933 [2023-02-13T23:50:09.749Z] $ docker rm -f --volumes f9e65e148b4eb65c2e2ffa6e62961031b1e02180cea72436d15b98994fdca933 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:50:10.572Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T23:50:10.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T23:50:10.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-5639 does not seem to be running inside a container [2023-02-13T23:50:10.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T23:50:12.053Z] $ docker top cc3d27fbdc21f7c4b2faab1905402070753b2c06d73bd498170f443c856e53f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T23:50:12.599Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-13T23:50:13.256Z] + make test [2023-02-13T23:50:13.256Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T23:50:45.499Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T23:52:37.194Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-13T23:52:37.194Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-13T23:52:37.194Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-13T23:52:37.194Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-13T23:52:37.194Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-13T23:52:41.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.286s coverage: 27.6% of statements [2023-02-13T23:52:42.895Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.379s coverage: 78.9% of statements [2023-02-13T23:52:42.895Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-13T23:52:49.574Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.600s coverage: 78.1% of statements [2023-02-13T23:52:49.574Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-13T23:52:49.574Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-13T23:52:52.936Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.591s coverage: 72.4% of statements [2023-02-13T23:52:52.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-13T23:52:52.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-13T23:52:52.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-13T23:52:52.936Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.451s coverage: 65.2% of statements [2023-02-13T23:52:52.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-13T23:52:52.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-13T23:52:53.527Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.520s coverage: 89.2% of statements [2023-02-13T23:52:53.527Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-13T23:52:53.527Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.409s coverage: 4.7% of statements [2023-02-13T23:52:53.527Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-13T23:52:54.109Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T23:52:54.109Z] GO111MODULE=on go vet ./... [2023-02-13T23:54:30.795Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T23:54:30.795Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T23:54:30.795Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T23:54:30.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T23:54:30.892Z] $ docker stop --time=1 cc3d27fbdc21f7c4b2faab1905402070753b2c06d73bd498170f443c856e53f2 [2023-02-13T23:54:32.716Z] $ docker rm -f --volumes cc3d27fbdc21f7c4b2faab1905402070753b2c06d73bd498170f443c856e53f2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T23:54:34.066Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T23:54:34.102Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T23:54:34.641Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T23:54:35.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T23:54:35.654Z] + ls -al . [2023-02-13T23:54:35.654Z] total 268 [2023-02-13T23:54:35.654Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 23:50 . [2023-02-13T23:54:35.654Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 23:47 .. [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 23:47 .dockerignore [2023-02-13T23:54:35.654Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 23:47 .git [2023-02-13T23:54:35.654Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 23:47 .github [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 23:47 .gitignore [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 23:47 .golangci.yml [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 23:47 CHANGELOG.md [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 23:47 GOVERNANCE.md [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 23:47 Jenkinsfile [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 23:47 LICENSE [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 23:47 Makefile [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 23:47 OWNERS.md [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 23:47 README.md [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 23:45 VERSION [2023-02-13T23:54:35.654Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 23:47 bin [2023-02-13T23:54:35.654Z] -rw-r--r-- 1 jenkins jenkins 99166 Feb 13 23:52 coverage.out [2023-02-13T23:54:35.654Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 23:47 example [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 23:47 go.mod [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 23:47 go.sum [2023-02-13T23:54:35.654Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 23:47 internal [2023-02-13T23:54:35.654Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 23:47 openapi [2023-02-13T23:54:35.654Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 23:47 pkg [2023-02-13T23:54:35.654Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 23:47 snap [2023-02-13T23:54:35.654Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 23:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:54:36.090Z] + 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=ed2072015cf84a79be4fd744f8d3e19e0b7114e3 --label arch=arm64 --label version=0.0.0 . [2023-02-13T23:54:36.708Z] Sending build context to Docker daemon 5.716MB [2023-02-13T23:54:36.708Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T23:54:36.708Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-13T23:54:36.708Z] ---> 22708fa2e777 [2023-02-13T23:54:36.708Z] Step 3/23 : ARG MAKE=make build [2023-02-13T23:54:37.696Z] ---> Running in a64883edf7a6 [2023-02-13T23:54:37.985Z] Removing intermediate container a64883edf7a6 [2023-02-13T23:54:37.985Z] ---> 05736dd20dc1 [2023-02-13T23:54:37.985Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-13T23:54:37.985Z] ---> Running in 3da7e2a0c50e [2023-02-13T23:54:38.264Z] Removing intermediate container 3da7e2a0c50e [2023-02-13T23:54:38.264Z] ---> 0168a5a10a60 [2023-02-13T23:54:38.264Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T23:54:38.264Z] ---> Running in 28c86788a0f8 [2023-02-13T23:54:38.851Z] Removing intermediate container 28c86788a0f8 [2023-02-13T23:54:38.851Z] ---> c39a0ee60a82 [2023-02-13T23:54:38.851Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-13T23:54:38.851Z] ---> Running in a65703893ab8 [2023-02-13T23:54:39.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T23:54:40.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T23:54:41.054Z] OK: 221 MiB in 51 packages [2023-02-13T23:54:42.021Z] Removing intermediate container a65703893ab8 [2023-02-13T23:54:42.021Z] ---> efdd66baceec [2023-02-13T23:54:42.021Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-13T23:54:42.295Z] ---> e770d99448b0 [2023-02-13T23:54:42.295Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T23:54:42.576Z] ---> Running in 14ea27968698 [2023-02-13T23:54:45.174Z] Removing intermediate container 14ea27968698 [2023-02-13T23:54:45.174Z] ---> facb73ddd892 [2023-02-13T23:54:45.174Z] Step 9/23 : COPY . . [2023-02-13T23:54:46.139Z] ---> b1289e9cf708 [2023-02-13T23:54:46.139Z] Step 10/23 : RUN ${MAKE} [2023-02-13T23:54:46.409Z] ---> Running in 62e06f378635 [2023-02-13T23:54:47.373Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-13T23:56:54.044Z] Removing intermediate container 62e06f378635 [2023-02-13T23:56:54.044Z] ---> 16b71f2f4ad3 [2023-02-13T23:56:54.044Z] Step 11/23 : FROM alpine:3.16 [2023-02-13T23:56:54.044Z] 3.16: Pulling from library/alpine [2023-02-13T23:56:54.044Z] 3760b48202b3: Pulling fs layer [2023-02-13T23:56:54.044Z] 3760b48202b3: Download complete [2023-02-13T23:56:54.044Z] 3760b48202b3: Pull complete [2023-02-13T23:56:54.044Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T23:56:54.044Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T23:56:54.044Z] ---> 4c81e5bf8899 [2023-02-13T23:56:54.044Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T23:56:54.044Z] ---> Running in 9b651402c6d0 [2023-02-13T23:56:54.044Z] Removing intermediate container 9b651402c6d0 [2023-02-13T23:56:54.044Z] ---> 933993927e08 [2023-02-13T23:56:54.044Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-13T23:56:54.044Z] ---> Running in 0b47a3177641 [2023-02-13T23:56:54.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T23:56:54.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T23:56:54.044Z] OK: 5 MiB in 14 packages [2023-02-13T23:56:54.044Z] Removing intermediate container 0b47a3177641 [2023-02-13T23:56:54.044Z] ---> 4870bb056b27 [2023-02-13T23:56:54.044Z] Step 14/23 : WORKDIR / [2023-02-13T23:56:54.044Z] ---> Running in f65508c5bb8b [2023-02-13T23:56:54.044Z] Removing intermediate container f65508c5bb8b [2023-02-13T23:56:54.044Z] ---> 679b9fb00ff3 [2023-02-13T23:56:54.044Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-13T23:56:54.044Z] ---> c76bc852dbf7 [2023-02-13T23:56:54.044Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-13T23:56:54.044Z] ---> 300be92c70f3 [2023-02-13T23:56:54.044Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-13T23:56:54.044Z] ---> a96cb484332f [2023-02-13T23:56:54.044Z] Step 18/23 : EXPOSE 59999 [2023-02-13T23:56:54.044Z] ---> Running in c60c959017a1 [2023-02-13T23:56:54.044Z] Removing intermediate container c60c959017a1 [2023-02-13T23:56:54.044Z] ---> d80f035f83d9 [2023-02-13T23:56:54.044Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-13T23:56:54.044Z] ---> Running in 9fb2d81c8649 [2023-02-13T23:56:54.044Z] Removing intermediate container 9fb2d81c8649 [2023-02-13T23:56:54.044Z] ---> 54e10286e7d6 [2023-02-13T23:56:54.044Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T23:56:54.044Z] ---> Running in 8d98cc647a23 [2023-02-13T23:56:54.044Z] Removing intermediate container 8d98cc647a23 [2023-02-13T23:56:54.044Z] ---> 299bd16cd5a8 [2023-02-13T23:56:54.044Z] Step 21/23 : LABEL arch=arm64 [2023-02-13T23:56:54.044Z] ---> Running in 9786f7dd72fe [2023-02-13T23:56:54.044Z] Removing intermediate container 9786f7dd72fe [2023-02-13T23:56:54.044Z] ---> 0bddc965b4c2 [2023-02-13T23:56:54.044Z] Step 22/23 : LABEL git_sha=ed2072015cf84a79be4fd744f8d3e19e0b7114e3 [2023-02-13T23:56:54.044Z] ---> Running in 5b3e959943e1 [2023-02-13T23:56:54.044Z] Removing intermediate container 5b3e959943e1 [2023-02-13T23:56:54.044Z] ---> 38889e128ee3 [2023-02-13T23:56:54.044Z] Step 23/23 : LABEL version=0.0.0 [2023-02-13T23:56:54.044Z] ---> Running in 9017c379b536 [2023-02-13T23:56:54.044Z] Removing intermediate container 9017c379b536 [2023-02-13T23:56:54.044Z] ---> d750e6e6d420 [2023-02-13T23:56:54.044Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T23:56:54.044Z] Successfully built d750e6e6d420 [2023-02-13T23:56:54.044Z] 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 [2023-02-13T23:56:54.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T23:56:54.821Z] [2023-02-13T23:56:54.821Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:56:55.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T23:56:55.210Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T23:56:55.210Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T23:56:55.210Z] 04944245beec: Pulling fs layer [2023-02-13T23:56:55.210Z] 699f458cf7ca: Pulling fs layer [2023-02-13T23:56:55.210Z] 765212b225bb: Pulling fs layer [2023-02-13T23:56:55.210Z] f23df028b6ca: Pulling fs layer [2023-02-13T23:56:55.210Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T23:56:55.210Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T23:56:55.210Z] 765212b225bb: Waiting [2023-02-13T23:56:55.210Z] f23df028b6ca: Waiting [2023-02-13T23:56:55.210Z] d65c8cfc05b1: Waiting [2023-02-13T23:56:55.210Z] 2437ff75d9bd: Waiting [2023-02-13T23:56:55.477Z] 04944245beec: Verifying Checksum [2023-02-13T23:56:55.477Z] 04944245beec: Download complete [2023-02-13T23:56:55.477Z] 765212b225bb: Verifying Checksum [2023-02-13T23:56:55.477Z] 765212b225bb: Download complete [2023-02-13T23:56:55.477Z] f23df028b6ca: Verifying Checksum [2023-02-13T23:56:55.477Z] f23df028b6ca: Download complete [2023-02-13T23:56:55.477Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T23:56:55.477Z] d65c8cfc05b1: Download complete [2023-02-13T23:56:55.766Z] 699f458cf7ca: Verifying Checksum [2023-02-13T23:56:55.766Z] 699f458cf7ca: Download complete [2023-02-13T23:56:56.032Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T23:56:56.032Z] 8998bd30e6a1: Download complete [2023-02-13T23:56:57.969Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T23:56:57.969Z] 2437ff75d9bd: Download complete [2023-02-13T23:56:59.372Z] 8998bd30e6a1: Pull complete [2023-02-13T23:56:59.954Z] 04944245beec: Pull complete [2023-02-13T23:57:00.912Z] 699f458cf7ca: Pull complete [2023-02-13T23:57:01.177Z] 765212b225bb: Pull complete [2023-02-13T23:57:01.758Z] f23df028b6ca: Pull complete [2023-02-13T23:57:02.024Z] d65c8cfc05b1: Pull complete [2023-02-13T23:57:14.309Z] 2437ff75d9bd: Pull complete [2023-02-13T23:57:14.309Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T23:57:14.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T23:57:14.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T23:57:14.618Z] prd-ubuntu20.04-docker-arm64-4c-16g-5639 does not seem to be running inside a container [2023-02-13T23:57:14.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T23:57:17.091Z] $ docker top 8a34392a9d95ff03db5f980133b490a8b001b72bd77a6599d9f4caf24fc05e54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:57:17.640Z] ---> job-cost.sh [2023-02-13T23:57:17.905Z] lf-activate-venv: SKIPPING [2023-02-13T23:57:17.905Z] INFO: No Stack... [2023-02-13T23:57:18.170Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T23:57:19.126Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T23:57:19.468Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-13T23:57:19.468Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T23:57:19.543Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1317-1-stack-cost] [2023-02-13T23:57:19.549Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1317-1-stack-cost] did not exist. Created. [2023-02-13T23:57:19.549Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1317-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T23:57:19.959Z] /w/workspace/device-sdk-go/1@tmp/durable-56490235/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T23:57:20.309Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T23:57:20.348Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T23:57:20.408Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T23:57:20.423Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1317-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T23:57:20.515Z] $ docker stop --time=1 8a34392a9d95ff03db5f980133b490a8b001b72bd77a6599d9f4caf24fc05e54 [2023-02-13T23:57:22.012Z] $ docker rm -f --volumes 8a34392a9d95ff03db5f980133b490a8b001b72bd77a6599d9f4caf24fc05e54 [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 [2023-02-13T23:57:23.035Z] provisioning config files... [2023-02-13T23:57:23.042Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp/config10758178349679560923tmp [Pipeline] { [Pipeline] sh [2023-02-13T23:57:23.379Z] + set +x [2023-02-13T23:57:23.379Z] + curl -s https://codecov.io/bash [2023-02-13T23:57:23.379Z] + bash -s -- [2023-02-13T23:57:23.379Z] [2023-02-13T23:57:23.379Z] _____ _ [2023-02-13T23:57:23.379Z] / ____| | | [2023-02-13T23:57:23.379Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T23:57:23.379Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T23:57:23.379Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T23:57:23.379Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T23:57:23.379Z] Bash-1.0.6 [2023-02-13T23:57:23.379Z] [2023-02-13T23:57:23.379Z] [2023-02-13T23:57:23.379Z] ==> git version 2.25.1 found [2023-02-13T23:57:23.379Z] ==> 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 [2023-02-13T23:57:23.379Z] Release-Date: 2020-01-08 [2023-02-13T23:57:23.379Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-13T23:57:23.379Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T23:57:23.379Z] ==> Jenkins CI detected. [2023-02-13T23:57:23.379Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1317 [2023-02-13T23:57:23.379Z] project root: . [2023-02-13T23:57:23.379Z] --> token set from env [2023-02-13T23:57:23.379Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T23:57:23.379Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T23:57:23.379Z] ==> Python coveragepy not found [2023-02-13T23:57:23.379Z] ==> Searching for coverage reports in: [2023-02-13T23:57:23.379Z] + . [2023-02-13T23:57:23.379Z] -> Found 1 reports [2023-02-13T23:57:23.379Z] ==> Detecting git/mercurial file structure [2023-02-13T23:57:23.638Z] ==> Reading reports [2023-02-13T23:57:23.638Z] + ./coverage.out bytes=99166 [2023-02-13T23:57:23.638Z] ==> Appending adjustments [2023-02-13T23:57:23.638Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T23:57:23.902Z] + Found adjustments [2023-02-13T23:57:23.902Z] ==> Gzipping contents [2023-02-13T23:57:23.902Z] 16K /tmp/codecov.muTmoX.gz [2023-02-13T23:57:23.902Z] ==> Uploading reports [2023-02-13T23:57:23.902Z] url: https://codecov.io [2023-02-13T23:57:23.902Z] query: branch=PR-1317&commit=ed2072015cf84a79be4fd744f8d3e19e0b7114e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1317%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1317&job=&cmd_args= [2023-02-13T23:57:23.902Z] -> Pinging Codecov [2023-02-13T23:57:23.902Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1317&commit=ed2072015cf84a79be4fd744f8d3e19e0b7114e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1317%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1317&job=&cmd_args= [2023-02-13T23:57:23.902Z] -> Uploading to [2023-02-13T23:57:23.902Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/7E55EF52A471D76F132DFD9A03CDDE97/ed2072015cf84a79be4fd744f8d3e19e0b7114e3/8039dcf3-04e7-43c1-bbde-f97db4d6bef2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T235723Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=25234d18fe09b09a64fc300b0b0e2a44be47dafa6058bc04afe1e994ec71d8fa [2023-02-13T23:57:24.161Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T23:57:24.161Z] Dload Upload Total Spent Left Speed [2023-02-13T23:57:24.420Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14385 0 0 100 14385 0 52309 --:--:-- --:--:-- --:--:-- 52309 [2023-02-13T23:57:24.420Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ed2072015cf84a79be4fd744f8d3e19e0b7114e3 [Pipeline] } [2023-02-13T23:57:24.446Z] 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 [2023-02-13T23:57:26.288Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1317/archives ] [2023-02-13T23:57:26.288Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1317/archives [2023-02-13T23:57:26.288Z] total 16 [2023-02-13T23:57:26.288Z] drwxr-xr-x 3 root root 4096 Feb 13 23:48 . [2023-02-13T23:57:26.288Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 23:48 .. [2023-02-13T23:57:26.288Z] drwxr-xr-x 2 root root 4096 Feb 13 23:48 cost [2023-02-13T23:57:26.288Z] -rw-r--r-- 1 root root 86 Feb 13 23:48 cost.csv [2023-02-13T23:57:26.288Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1317/archives [2023-02-13T23:57:26.288Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1317/archives [2023-02-13T23:57:26.288Z] total 16 [2023-02-13T23:57:26.288Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 23:48 . [2023-02-13T23:57:26.288Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 23:48 .. [2023-02-13T23:57:26.288Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 23:48 cost [2023-02-13T23:57:26.288Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 13 23:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:57:26.615Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:57:27.503Z] ---> package-listing.sh [2023-02-13T23:57:27.503Z] ++ facter osfamily [2023-02-13T23:57:27.503Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T23:57:27.765Z] + OS_FAMILY=debian [2023-02-13T23:57:27.765Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1317 [2023-02-13T23:57:27.765Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T23:57:27.765Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T23:57:27.765Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T23:57:27.765Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T23:57:27.765Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1317 ']' [2023-02-13T23:57:27.765Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T23:57:27.765Z] + case "${OS_FAMILY}" in [2023-02-13T23:57:27.765Z] + dpkg -l [2023-02-13T23:57:27.765Z] + grep '^ii' [2023-02-13T23:57:27.765Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T23:57:27.765Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T23:57:27.765Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T23:57:27.765Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1317 ']' [2023-02-13T23:57:27.765Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1317/archives/ [2023-02-13T23:57:27.765Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1317/archives/ [Pipeline] echo [2023-02-13T23:57:27.797Z] 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-1317/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T23:57:28.086Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T23:57:28.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T23:57:28.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T23:57:28.873Z] prd-ubuntu20.04-docker-8c-8g-5637 does not seem to be running inside a container [2023-02-13T23:57:28.917Z] $ 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-1317/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-1317 -v /w/workspace/gexfoundry_device-sdk-go_PR-1317:/w/workspace/gexfoundry_device-sdk-go_PR-1317:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T23:57:29.137Z] $ docker top 11895d5f6f076e9d52915bced8268f4ff3471146f2301c4a23e0cddc9ae9079b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T23:57:29.501Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T23:57:29.807Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T23:57:30.111Z] + ls /var/log/sa-host [2023-02-13T23:57:30.111Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T23:57:30.322Z] provisioning config files... [2023-02-13T23:57:30.331Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1317@tmp/config511634271185879650tmp [Pipeline] { [Pipeline] echo [2023-02-13T23:57:30.384Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:57:30.694Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T23:57:30.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:57:31.142Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T23:57:31.178Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:57:31.488Z] ---> sudo-logs.sh [2023-02-13T23:57:31.488Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T23:57:31.576Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:57:31.888Z] ---> job-cost.sh [2023-02-13T23:57:31.888Z] lf-activate-venv: SKIPPING [2023-02-13T23:57:31.888Z] DEBUG: total: 0.2199999988079071 [2023-02-13T23:57:31.888Z] INFO: Retrieving Stack Cost... [2023-02-13T23:57:32.147Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T23:57:32.406Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T23:57:32.447Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T23:57:32.755Z] ---> logs-deploy.sh [2023-02-13T23:57:32.755Z] lf-activate-venv: SKIPPING [2023-02-13T23:57:32.756Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1317/1 [2023-02-13T23:57:32.756Z] INFO: archiving workspace using pattern(s): [2023-02-13T23:57:33.692Z] Archives upload complete. [2023-02-13T23:57:33.692Z] INFO: archiving logs to Nexus