Pull request #1276 updated 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3f884ed804720b30a96228d314a94b40ef1079e0+13fe592f963dcee6db02b0e3862e327a5844c24b (48e95ea9b3b6ef6297dacc8ad991cd35e4707636) 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-ssh8943996275569669636.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-ssh9489664882266412857.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7010969976373379028.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 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-ssh17892784305521670589.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9189012468299714773.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2917 in /w/workspace/gexfoundry_device-sdk-go_PR-1276 [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-1276 # 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/1276/head:refs/remotes/origin/PR-1276 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 13fe592f963dcee6db02b0e3862e327a5844c24b into PR head commit 3f884ed804720b30a96228d314a94b40ef1079e0 Merge succeeded, producing d0af793b10ee3ec370630321616c4d88d1c3aeb5 Checking out Revision d0af793b10ee3ec370630321616c4d88d1c3aeb5 (PR-1276) > git config core.sparsecheckout # timeout=10 > git checkout -f 3f884ed804720b30a96228d314a94b40ef1079e0 # 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 13fe592f963dcee6db02b0e3862e327a5844c24b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0af793b10ee3ec370630321616c4d88d1c3aeb5 # timeout=10 Commit message: "Merge commit '13fe592f963dcee6db02b0e3862e327a5844c24b' into HEAD" > git rev-list --no-walk bd3ecf82fcf10256fea7206068c152088812a932 # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-18T11:05:38.333Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-18T11:05:38.393Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-18T11:05:38.407Z] ========================================================= [2023-01-18T11:05:38.407Z] EdgeX Global Pipelines Version Info [2023-01-18T11:05:38.407Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:05:39.113Z] ------------------- [2023-01-18T11:05:39.113Z] stable info: [2023-01-18T11:05:39.113Z] ------------------- [2023-01-18T11:05:39.113Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-18T11:05:39.113Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T11:05:39.113Z] Message: update stable to v1.0.244 [2023-01-18T11:05:39.682Z] ------------------- [2023-01-18T11:05:39.682Z] experimental info: [2023-01-18T11:05:39.682Z] ------------------- [2023-01-18T11:05:39.682Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-18T11:05:39.682Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T11:05:39.682Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-18T11:05:39.847Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-18T11:05:39.857Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-18T11:05:39.865Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-18T11:05:39.873Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-18T11:05:39.881Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-18T11:05:39.890Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-18T11:05:39.898Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-18T11:05:39.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-18T11:05:39.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-18T11:05:39.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-18T11:05:39.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-18T11:05:39.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-18T11:05:39.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-18T11:05:39.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-18T11:05:39.971Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T11:05:39.980Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T11:05:39.988Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T11:05:39.996Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T11:05:40.007Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-18T11:05:40.015Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-18T11:05:40.023Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-18T11:05:40.031Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-18T11:05:40.040Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-18T11:05:40.054Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-18T11:05:40.067Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-18T11:05:40.084Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-18T11:05:40.101Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-18T11:05:40.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1276 [Pipeline] echo [2023-01-18T11:05:40.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1276 [Pipeline] echo [2023-01-18T11:05:40.151Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1276 [Pipeline] echo [2023-01-18T11:05:40.164Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0af793b10ee3ec370630321616c4d88d1c3aeb5 [Pipeline] echo [2023-01-18T11:05:40.179Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0af793 [Pipeline] echo [2023-01-18T11:05:40.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T11:05:40.241Z] provisioning config files... [2023-01-18T11:05:40.256Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config2165205348393696008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:05:40.558Z] ---> docker-login.sh [2023-01-18T11:05:40.558Z] nexus3.edgexfoundry.org:10001 [2023-01-18T11:05:40.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:05:41.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:05:41.082Z] Configure a credential helper to remove this warning. See [2023-01-18T11:05:41.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:05:41.082Z] [2023-01-18T11:05:41.082Z] Login Succeeded [2023-01-18T11:05:41.082Z] nexus3.edgexfoundry.org:10002 [2023-01-18T11:05:41.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:05:41.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:05:41.082Z] Configure a credential helper to remove this warning. See [2023-01-18T11:05:41.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:05:41.082Z] [2023-01-18T11:05:41.082Z] Login Succeeded [2023-01-18T11:05:41.082Z] nexus3.edgexfoundry.org:10003 [2023-01-18T11:05:41.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:05:41.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:05:41.342Z] Configure a credential helper to remove this warning. See [2023-01-18T11:05:41.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:05:41.342Z] [2023-01-18T11:05:41.342Z] Login Succeeded [2023-01-18T11:05:41.342Z] nexus3.edgexfoundry.org:10004 [2023-01-18T11:05:41.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:05:41.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:05:41.342Z] Configure a credential helper to remove this warning. See [2023-01-18T11:05:41.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:05:41.342Z] [2023-01-18T11:05:41.342Z] Login Succeeded [2023-01-18T11:05:41.342Z] docker.io [2023-01-18T11:05:41.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:05:41.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:05:41.602Z] Configure a credential helper to remove this warning. See [2023-01-18T11:05:41.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:05:41.602Z] [2023-01-18T11:05:41.602Z] Login Succeeded [2023-01-18T11:05:41.602Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T11:05:41.610Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-18T11:05:41.974Z] + git rev-list -1 --merges d0af793b10ee3ec370630321616c4d88d1c3aeb5~1..d0af793b10ee3ec370630321616c4d88d1c3aeb5 [Pipeline] echo [2023-01-18T11:05:42.020Z] -----------> git rev-list -1 --merges d0af793b10ee3ec370630321616c4d88d1c3aeb5~1..d0af793b10ee3ec370630321616c4d88d1c3aeb5 d0af793b10ee3ec370630321616c4d88d1c3aeb5 [2023-01-18T11:05:42.020Z] d0af793b10ee3ec370630321616c4d88d1c3aeb5 [false] [Pipeline] sh [2023-01-18T11:05:42.316Z] + git log --format=format:%s -1 d0af793b10ee3ec370630321616c4d88d1c3aeb5 [Pipeline] echo [2023-01-18T11:05:42.331Z] ========================================================= [2023-01-18T11:05:42.331Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-18T11:05:42.331Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T11:05:42.653Z] + git log --format=format:%s -1 d0af793b10ee3ec370630321616c4d88d1c3aeb5 [Pipeline] echo [2023-01-18T11:05:42.666Z] [semverPrep] GIT_COMMIT: d0af793b10ee3ec370630321616c4d88d1c3aeb5, Commit Message: Merge commit '13fe592f963dcee6db02b0e3862e327a5844c24b' into HEAD [Pipeline] echo [2023-01-18T11:05:42.674Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-18T11:05:43.049Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-18T11:05:43.049Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-18T11:05:43.049Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-18T11:05:43.049Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-18T11:05:43.049Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-01-18T11:05:43.049Z] -a /etc/ssh/ssh_known_hosts [2023-01-18T11:05:43.049Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:05:43.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T11:05:43.459Z] [2023-01-18T11:05:43.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:05:43.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T11:05:43.761Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-18T11:05:43.761Z] b85a868b505f: Pulling fs layer [2023-01-18T11:05:43.761Z] e2be974225ed: Pulling fs layer [2023-01-18T11:05:43.761Z] 339a4e72a1f5: Pulling fs layer [2023-01-18T11:05:43.761Z] 988bab9f4d93: Pulling fs layer [2023-01-18T11:05:43.761Z] 1469e6f7b9e6: Pulling fs layer [2023-01-18T11:05:43.761Z] eaf3925da568: Pulling fs layer [2023-01-18T11:05:43.761Z] bab4dde63d76: Pulling fs layer [2023-01-18T11:05:43.761Z] bde34c3a00c8: Pulling fs layer [2023-01-18T11:05:43.761Z] b352a97aabf1: Pulling fs layer [2023-01-18T11:05:43.761Z] 4872d77fe225: Pulling fs layer [2023-01-18T11:05:43.761Z] 5851b861e8e6: Pulling fs layer [2023-01-18T11:05:43.761Z] 1469e6f7b9e6: Waiting [2023-01-18T11:05:43.761Z] 988bab9f4d93: Waiting [2023-01-18T11:05:43.761Z] eaf3925da568: Waiting [2023-01-18T11:05:43.761Z] bde34c3a00c8: Waiting [2023-01-18T11:05:43.761Z] b352a97aabf1: Waiting [2023-01-18T11:05:43.761Z] bab4dde63d76: Waiting [2023-01-18T11:05:43.761Z] 4872d77fe225: Waiting [2023-01-18T11:05:43.761Z] 5851b861e8e6: Waiting [2023-01-18T11:05:43.761Z] e2be974225ed: Download complete [2023-01-18T11:05:43.761Z] 988bab9f4d93: Verifying Checksum [2023-01-18T11:05:43.761Z] 988bab9f4d93: Download complete [2023-01-18T11:05:44.028Z] 1469e6f7b9e6: Download complete [2023-01-18T11:05:44.028Z] eaf3925da568: Download complete [2023-01-18T11:05:44.290Z] 339a4e72a1f5: Verifying Checksum [2023-01-18T11:05:44.290Z] 339a4e72a1f5: Download complete [2023-01-18T11:05:44.290Z] bde34c3a00c8: Verifying Checksum [2023-01-18T11:05:44.290Z] bde34c3a00c8: Download complete [2023-01-18T11:05:44.290Z] b352a97aabf1: Download complete [2023-01-18T11:05:44.290Z] 4872d77fe225: Verifying Checksum [2023-01-18T11:05:44.290Z] 4872d77fe225: Download complete [2023-01-18T11:05:44.290Z] 5851b861e8e6: Download complete [2023-01-18T11:05:44.290Z] b85a868b505f: Verifying Checksum [2023-01-18T11:05:44.290Z] b85a868b505f: Download complete [2023-01-18T11:05:44.860Z] bab4dde63d76: Verifying Checksum [2023-01-18T11:05:44.860Z] bab4dde63d76: Download complete [2023-01-18T11:05:45.429Z] b85a868b505f: Pull complete [2023-01-18T11:05:45.687Z] e2be974225ed: Pull complete [2023-01-18T11:05:45.948Z] 339a4e72a1f5: Pull complete [2023-01-18T11:05:45.948Z] 988bab9f4d93: Pull complete [2023-01-18T11:05:46.518Z] 1469e6f7b9e6: Pull complete [2023-01-18T11:05:46.518Z] eaf3925da568: Pull complete [2023-01-18T11:05:48.420Z] bab4dde63d76: Pull complete [2023-01-18T11:05:48.420Z] bde34c3a00c8: Pull complete [2023-01-18T11:05:48.420Z] b352a97aabf1: Pull complete [2023-01-18T11:05:48.420Z] 4872d77fe225: Pull complete [2023-01-18T11:05:48.420Z] 5851b861e8e6: Pull complete [2023-01-18T11:05:48.420Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-18T11:05:48.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T11:05:48.420Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T11:05:48.523Z] prd-ubuntu20.04-docker-8c-8g-2917 does not seem to be running inside a container [2023-01-18T11:05:48.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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-devops/py-git-semver:0.1.4 cat [2023-01-18T11:05:50.121Z] $ docker top 9b21cfcc43fcdc223d4c9b031a2ccd51bde1539bb0adcac515531e3f8853b2af -eo pid,comm [2023-01-18T11:05:50.161Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-18T11:05:50.161Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-18T11:05:50.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T11:05:50.204Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T11:05:50.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T11:05:50.326Z] $ docker exec 9b21cfcc43fcdc223d4c9b031a2ccd51bde1539bb0adcac515531e3f8853b2af ssh-agent [2023-01-18T11:05:50.434Z] SSH_AUTH_SOCK=/tmp/ssh-XfaA4Zkb9SIF/agent.33 [2023-01-18T11:05:50.434Z] SSH_AGENT_PID=39 [2023-01-18T11:05:50.441Z] Running ssh-add (command line suppressed) [2023-01-18T11:05:50.549Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_11923439012867959965.key (/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_11923439012867959965.key) [2023-01-18T11:05:50.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T11:05:50.846Z] + git tag --points-at HEAD [Pipeline] } [2023-01-18T11:05:50.869Z] $ docker exec --env ******** --env ******** 9b21cfcc43fcdc223d4c9b031a2ccd51bde1539bb0adcac515531e3f8853b2af ssh-agent -k [2023-01-18T11:05:50.981Z] unset SSH_AUTH_SOCK; [2023-01-18T11:05:50.982Z] unset SSH_AGENT_PID; [2023-01-18T11:05:50.982Z] echo Agent pid 39 killed; [2023-01-18T11:05:50.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-18T11:05:51.014Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T11:05:51.014Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T11:05:51.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T11:05:51.141Z] $ docker exec 9b21cfcc43fcdc223d4c9b031a2ccd51bde1539bb0adcac515531e3f8853b2af ssh-agent [2023-01-18T11:05:51.252Z] SSH_AUTH_SOCK=/tmp/ssh-3YBT6zMUEhtT/agent.71 [2023-01-18T11:05:51.252Z] SSH_AGENT_PID=78 [2023-01-18T11:05:51.257Z] Running ssh-add (command line suppressed) [2023-01-18T11:05:51.374Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_1369084532495330826.key (/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_1369084532495330826.key) [2023-01-18T11:05:51.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T11:05:51.675Z] + git semver init [2023-01-18T11:05:51.936Z] 2023-01-18 11:05:51,822 [run_init] DEBUG init version:0.0.0 force:False [2023-01-18T11:05:51.936Z] 2023-01-18 11:05:51,823 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver [2023-01-18T11:05:51.936Z] 2023-01-18 11:05:51,823 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver [2023-01-18T11:05:51.936Z] 2023-01-18 11:05:51,824 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276, universal_newlines=False, shell=None, istream=None) [2023-01-18T11:05:52.877Z] 2023-01-18 11:05:52,699 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.git/info/exclude [2023-01-18T11:05:52.877Z] 2023-01-18 11:05:52,699 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 with force:False [2023-01-18T11:05:52.877Z] 2023-01-18 11:05:52,699 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 [2023-01-18T11:05:52.877Z] 2023-01-18 11:05:52,703 [execute] INFO git cat-file --batch-check [2023-01-18T11:05:52.877Z] 2023-01-18 11:05:52,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T11:05:52.877Z] 2023-01-18 11:05:52,708 [execute] INFO git cat-file --batch [2023-01-18T11:05:52.877Z] 2023-01-18 11:05:52,709 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T11:05:52.877Z] 2023-01-18 11:05:52,715 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 [2023-01-18T11:05:52.877Z] 0.0.0 [Pipeline] } [2023-01-18T11:05:52.889Z] $ docker exec --env ******** --env ******** 9b21cfcc43fcdc223d4c9b031a2ccd51bde1539bb0adcac515531e3f8853b2af ssh-agent -k [2023-01-18T11:05:52.990Z] unset SSH_AUTH_SOCK; [2023-01-18T11:05:52.991Z] unset SSH_AGENT_PID; [2023-01-18T11:05:52.991Z] echo Agent pid 78 killed; [2023-01-18T11:05:52.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-18T11:05:53.302Z] + git semver [Pipeline] } [2023-01-18T11:05:53.578Z] $ docker stop --time=1 9b21cfcc43fcdc223d4c9b031a2ccd51bde1539bb0adcac515531e3f8853b2af [2023-01-18T11:05:54.897Z] $ docker rm -f --volumes 9b21cfcc43fcdc223d4c9b031a2ccd51bde1539bb0adcac515531e3f8853b2af [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T11:05:55.227Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-18T11:05:55.441Z] Stashed 1 file(s) [Pipeline] echo [2023-01-18T11:05:55.445Z] [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-01-18T11:05:55.596Z] provisioning config files... [2023-01-18T11:05:55.605Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config14990688173583838809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:05:55.903Z] ---> docker-login.sh [2023-01-18T11:05:55.903Z] nexus3.edgexfoundry.org:10001 [2023-01-18T11:05:55.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:05:55.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:05:55.903Z] Configure a credential helper to remove this warning. See [2023-01-18T11:05:55.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:05:55.903Z] [2023-01-18T11:05:55.903Z] Login Succeeded [2023-01-18T11:05:55.903Z] nexus3.edgexfoundry.org:10002 [2023-01-18T11:05:55.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:05:55.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:05:55.903Z] Configure a credential helper to remove this warning. See [2023-01-18T11:05:55.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:05:55.903Z] [2023-01-18T11:05:55.903Z] Login Succeeded [2023-01-18T11:05:55.903Z] nexus3.edgexfoundry.org:10003 [2023-01-18T11:05:56.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:05:56.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:05:56.162Z] Configure a credential helper to remove this warning. See [2023-01-18T11:05:56.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:05:56.162Z] [2023-01-18T11:05:56.162Z] Login Succeeded [2023-01-18T11:05:56.162Z] nexus3.edgexfoundry.org:10004 [2023-01-18T11:05:56.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:05:56.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:05:56.162Z] Configure a credential helper to remove this warning. See [2023-01-18T11:05:56.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:05:56.162Z] [2023-01-18T11:05:56.162Z] Login Succeeded [2023-01-18T11:05:56.162Z] docker.io [2023-01-18T11:05:56.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:05:56.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:05:56.421Z] Configure a credential helper to remove this warning. See [2023-01-18T11:05:56.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:05:56.421Z] [2023-01-18T11:05:56.421Z] Login Succeeded [2023-01-18T11:05:56.421Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T11:05:56.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T11:05:56.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T11:05:56.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T11:05:56.501Z] ========================================================= [2023-01-18T11:05:56.501Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-18T11:05:56.501Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:05:56.811Z] + 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-01-18T11:05:56.811Z] Sending build context to Docker daemon 10.55MB [2023-01-18T11:05:56.811Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T11:05:56.811Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-18T11:05:56.811Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-18T11:05:56.811Z] 213ec9aee27d: Pulling fs layer [2023-01-18T11:05:56.811Z] 4583459ba037: Pulling fs layer [2023-01-18T11:05:56.811Z] 93c1e223e6f2: Pulling fs layer [2023-01-18T11:05:56.811Z] 53926ce57604: Pulling fs layer [2023-01-18T11:05:56.811Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-18T11:05:56.811Z] 22ff95d597cd: Pulling fs layer [2023-01-18T11:05:56.811Z] 12d6caf4c0d1: Pulling fs layer [2023-01-18T11:05:56.811Z] 96b7cbca73a9: Pulling fs layer [2023-01-18T11:05:56.811Z] a7acece74701: Pulling fs layer [2023-01-18T11:05:56.811Z] 21b2b0c7a3f4: Waiting [2023-01-18T11:05:56.811Z] 53926ce57604: Waiting [2023-01-18T11:05:56.811Z] 22ff95d597cd: Waiting [2023-01-18T11:05:56.811Z] 96b7cbca73a9: Waiting [2023-01-18T11:05:56.811Z] a7acece74701: Waiting [2023-01-18T11:05:56.811Z] 12d6caf4c0d1: Waiting [2023-01-18T11:05:56.811Z] 93c1e223e6f2: Download complete [2023-01-18T11:05:57.079Z] 4583459ba037: Verifying Checksum [2023-01-18T11:05:57.079Z] 4583459ba037: Download complete [2023-01-18T11:05:57.079Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-18T11:05:57.079Z] 21b2b0c7a3f4: Download complete [2023-01-18T11:05:57.079Z] 22ff95d597cd: Verifying Checksum [2023-01-18T11:05:57.079Z] 22ff95d597cd: Download complete [2023-01-18T11:05:57.079Z] 213ec9aee27d: Download complete [2023-01-18T11:05:57.079Z] 12d6caf4c0d1: Download complete [2023-01-18T11:05:57.347Z] 213ec9aee27d: Pull complete [2023-01-18T11:05:57.347Z] 4583459ba037: Pull complete [2023-01-18T11:05:57.347Z] 93c1e223e6f2: Pull complete [2023-01-18T11:05:58.370Z] a7acece74701: Verifying Checksum [2023-01-18T11:05:58.370Z] a7acece74701: Download complete [2023-01-18T11:05:58.370Z] 53926ce57604: Verifying Checksum [2023-01-18T11:05:58.370Z] 53926ce57604: Download complete [2023-01-18T11:05:58.629Z] 96b7cbca73a9: Verifying Checksum [2023-01-18T11:05:58.629Z] 96b7cbca73a9: Download complete [2023-01-18T11:06:01.913Z] 53926ce57604: Pull complete [2023-01-18T11:06:01.913Z] 21b2b0c7a3f4: Pull complete [2023-01-18T11:06:01.913Z] 22ff95d597cd: Pull complete [2023-01-18T11:06:02.170Z] 12d6caf4c0d1: Pull complete [2023-01-18T11:06:04.272Z] 96b7cbca73a9: Pull complete [2023-01-18T11:06:04.533Z] a7acece74701: Pull complete [2023-01-18T11:06:04.533Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-18T11:06:04.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-18T11:06:04.533Z] ---> db6d94c90886 [2023-01-18T11:06:04.533Z] Step 3/10 : ARG MAKE=make build [2023-01-18T11:06:06.435Z] ---> Running in 4ff9bfb13084 [2023-01-18T11:06:06.435Z] Removing intermediate container 4ff9bfb13084 [2023-01-18T11:06:06.435Z] ---> 1820e4541840 [2023-01-18T11:06:06.435Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-18T11:06:06.692Z] ---> Running in 77db827bd5e7 [2023-01-18T11:06:06.692Z] Removing intermediate container 77db827bd5e7 [2023-01-18T11:06:06.692Z] ---> 294a5f3e37ae [2023-01-18T11:06:06.692Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-18T11:06:06.692Z] ---> Running in a662500ad489 [2023-01-18T11:06:06.692Z] Removing intermediate container a662500ad489 [2023-01-18T11:06:06.692Z] ---> 0a1b1176f98f [2023-01-18T11:06:06.692Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-18T11:06:06.951Z] ---> Running in 644e90a336c0 [2023-01-18T11:06:07.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T11:06:07.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T11:06:07.468Z] OK: 211 MiB in 51 packages [2023-01-18T11:06:08.036Z] Removing intermediate container 644e90a336c0 [2023-01-18T11:06:08.036Z] ---> a74a531e1202 [2023-01-18T11:06:08.036Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-18T11:06:08.036Z] ---> 973086a128a2 [2023-01-18T11:06:08.036Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T11:06:08.036Z] ---> Running in dbe39aa3530f [2023-01-18T11:06:10.553Z] Still waiting to schedule task [2023-01-18T11:06:10.553Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-18T11:06:29.990Z] Removing intermediate container dbe39aa3530f [2023-01-18T11:06:29.990Z] ---> 4675b38078de [2023-01-18T11:06:29.990Z] Step 9/10 : COPY . . [2023-01-18T11:06:29.990Z] ---> 1fe790eee7e1 [2023-01-18T11:06:29.990Z] Step 10/10 : RUN ${MAKE} [2023-01-18T11:06:29.990Z] ---> Running in 4a8ca2b91a59 [2023-01-18T11:06:29.990Z] noop [2023-01-18T11:06:29.990Z] Removing intermediate container 4a8ca2b91a59 [2023-01-18T11:06:29.990Z] ---> eb3d415fad96 [2023-01-18T11:06:29.990Z] Successfully built eb3d415fad96 [2023-01-18T11:06:29.990Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:06:30.298Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T11:06:30.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T11:06:30.368Z] prd-ubuntu20.04-docker-8c-8g-2917 does not seem to be running inside a container [2023-01-18T11:06:30.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-18T11:06:30.741Z] $ docker top 448f7be6076c37fee84c2fdaa22f83e840cabfc3126397f33aa84fbe16df2070 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T11:06:31.078Z] + go version [2023-01-18T11:06:31.078Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-18T11:06:31.091Z] $ docker stop --time=1 448f7be6076c37fee84c2fdaa22f83e840cabfc3126397f33aa84fbe16df2070 [2023-01-18T11:06:32.358Z] $ docker rm -f --volumes 448f7be6076c37fee84c2fdaa22f83e840cabfc3126397f33aa84fbe16df2070 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:06:32.793Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T11:06:32.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T11:06:32.867Z] prd-ubuntu20.04-docker-8c-8g-2917 does not seem to be running inside a container [2023-01-18T11:06:32.903Z] $ 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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-18T11:06:33.256Z] $ docker top d34419e037dc1f0ecbaf13eb31c9d646ba608f94db93e821bbcdc5cac3db8aca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T11:06:33.610Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1276 [Pipeline] fileExists [Pipeline] sh [2023-01-18T11:06:33.916Z] + make test [2023-01-18T11:06:33.916Z] go test -race -coverprofile=coverage.out ./... [2023-01-18T11:06:40.485Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-18T11:06:52.687Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-01-18T11:06:52.687Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.089s coverage: 78.9% of statements [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-18T11:06:52.687Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.099s coverage: 73.6% of statements [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-18T11:06:52.687Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.118s coverage: 60.6% of statements [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-18T11:06:52.687Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.106s coverage: 65.1% of statements [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-18T11:06:52.687Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.780s coverage: 89.2% of statements [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-18T11:06:52.687Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.045s coverage: 4.6% of statements [2023-01-18T11:06:52.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-18T11:07:07.564Z] 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-01-18T11:07:07.564Z] GO111MODULE=on go vet ./... [2023-01-18T11:07:08.940Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-18T11:07:08.940Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-18T11:07:08.940Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-18T11:07:09.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-18T11:07:09.222Z] $ docker stop --time=1 d34419e037dc1f0ecbaf13eb31c9d646ba608f94db93e821bbcdc5cac3db8aca [2023-01-18T11:07:11.794Z] $ docker rm -f --volumes d34419e037dc1f0ecbaf13eb31c9d646ba608f94db93e821bbcdc5cac3db8aca [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T11:07:12.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-18T11:07:12.341Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-18T11:07:12.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-18T11:07:13.107Z] + ls -al . [2023-01-18T11:07:13.107Z] total 272 [2023-01-18T11:07:13.107Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 18 11:06 . [2023-01-18T11:07:13.107Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 11:05 .. [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 18 11:05 .dockerignore [2023-01-18T11:07:13.107Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 11:06 .git [2023-01-18T11:07:13.107Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 11:05 .github [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 18 11:05 .gitignore [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 18 11:05 .golangci.yml [2023-01-18T11:07:13.107Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 11:05 .semver [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 18 11:05 CHANGELOG.md [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 11:05 GOVERNANCE.md [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 18 11:05 Jenkinsfile [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 18 11:05 LICENSE [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 18 11:05 Makefile [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 18 11:05 OWNERS.md [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 18 11:05 README.md [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 11:05 VERSION [2023-01-18T11:07:13.107Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 11:05 bin [2023-01-18T11:07:13.107Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 18 11:06 coverage.out [2023-01-18T11:07:13.107Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 18 11:05 example [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 18 11:05 go.mod [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 18 11:05 go.sum [2023-01-18T11:07:13.107Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 18 11:05 internal [2023-01-18T11:07:13.107Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 11:05 openapi [2023-01-18T11:07:13.107Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 18 11:05 pkg [2023-01-18T11:07:13.107Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 11:05 snap [2023-01-18T11:07:13.107Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 18 11:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:07:13.410Z] + 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=d0af793b10ee3ec370630321616c4d88d1c3aeb5 --label arch=amd64 --label version=0.0.0 . [2023-01-18T11:07:13.410Z] Sending build context to Docker daemon 10.65MB [2023-01-18T11:07:13.410Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T11:07:13.410Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-18T11:07:13.410Z] ---> eb3d415fad96 [2023-01-18T11:07:13.410Z] Step 3/23 : ARG MAKE=make build [2023-01-18T11:07:13.668Z] ---> Running in 504de70eda4d [2023-01-18T11:07:13.668Z] Removing intermediate container 504de70eda4d [2023-01-18T11:07:13.668Z] ---> 82e6dee932d9 [2023-01-18T11:07:13.668Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-18T11:07:13.668Z] ---> Running in 55b0a7ff9d89 [2023-01-18T11:07:13.668Z] Removing intermediate container 55b0a7ff9d89 [2023-01-18T11:07:13.668Z] ---> ba16553a8276 [2023-01-18T11:07:13.668Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-18T11:07:13.668Z] ---> Running in d25d0d687f0f [2023-01-18T11:07:13.927Z] Removing intermediate container d25d0d687f0f [2023-01-18T11:07:13.927Z] ---> 6883e4b69ac2 [2023-01-18T11:07:13.927Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-18T11:07:13.927Z] ---> Running in 7450c0e1a979 [2023-01-18T11:07:14.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T11:07:14.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T11:07:14.702Z] OK: 211 MiB in 51 packages [2023-01-18T11:07:14.961Z] Removing intermediate container 7450c0e1a979 [2023-01-18T11:07:14.961Z] ---> 4dc4fc1fa36d [2023-01-18T11:07:14.961Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-18T11:07:15.220Z] ---> 0ee41efd27cb [2023-01-18T11:07:15.220Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T11:07:15.220Z] ---> Running in a3edf80e716f [2023-01-18T11:07:16.155Z] Removing intermediate container a3edf80e716f [2023-01-18T11:07:16.155Z] ---> 6c4934719394 [2023-01-18T11:07:16.155Z] Step 9/23 : COPY . . [2023-01-18T11:07:16.415Z] ---> c151a65ccb8e [2023-01-18T11:07:16.415Z] Step 10/23 : RUN ${MAKE} [2023-01-18T11:07:16.415Z] ---> Running in 43e2646fe0b9 [2023-01-18T11:07:16.674Z] 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-01-18T11:07:34.748Z] Removing intermediate container 43e2646fe0b9 [2023-01-18T11:07:34.748Z] ---> e12ade0ee3e1 [2023-01-18T11:07:34.748Z] Step 11/23 : FROM alpine:3.16 [2023-01-18T11:07:34.748Z] 3.16: Pulling from library/alpine [2023-01-18T11:07:34.748Z] ca7dd9ec2225: Pulling fs layer [2023-01-18T11:07:34.748Z] ca7dd9ec2225: Verifying Checksum [2023-01-18T11:07:34.748Z] ca7dd9ec2225: Download complete [2023-01-18T11:07:34.748Z] ca7dd9ec2225: Pull complete [2023-01-18T11:07:34.748Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-18T11:07:34.748Z] Status: Downloaded newer image for alpine:3.16 [2023-01-18T11:07:34.748Z] ---> bfe296a52501 [2023-01-18T11:07:34.748Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-18T11:07:34.748Z] ---> Running in a73f27b7dcfb [2023-01-18T11:07:34.748Z] Removing intermediate container a73f27b7dcfb [2023-01-18T11:07:34.748Z] ---> 85e3b3d10a82 [2023-01-18T11:07:34.748Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-18T11:07:34.748Z] ---> Running in cb00789dd445 [2023-01-18T11:07:34.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T11:07:34.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T11:07:35.006Z] OK: 6 MiB in 14 packages [2023-01-18T11:07:35.264Z] Removing intermediate container cb00789dd445 [2023-01-18T11:07:35.264Z] ---> 4f439397a371 [2023-01-18T11:07:35.264Z] Step 14/23 : WORKDIR / [2023-01-18T11:07:35.264Z] ---> Running in bbdc6ca37b05 [2023-01-18T11:07:35.523Z] Removing intermediate container bbdc6ca37b05 [2023-01-18T11:07:35.523Z] ---> 8d32488ab2a3 [2023-01-18T11:07:35.523Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-18T11:07:35.523Z] ---> d3d11f0390e1 [2023-01-18T11:07:35.523Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-18T11:07:36.089Z] ---> 299420d62992 [2023-01-18T11:07:36.089Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-18T11:07:36.346Z] ---> c835368d9301 [2023-01-18T11:07:36.346Z] Step 18/23 : EXPOSE 59999 [2023-01-18T11:07:36.346Z] ---> Running in d33ebcb72df6 [2023-01-18T11:07:36.346Z] Removing intermediate container d33ebcb72df6 [2023-01-18T11:07:36.346Z] ---> 1af3bedea815 [2023-01-18T11:07:36.346Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-18T11:07:36.346Z] ---> Running in ee6afde5b6ff [2023-01-18T11:07:36.603Z] Removing intermediate container ee6afde5b6ff [2023-01-18T11:07:36.603Z] ---> ecc8b7480a57 [2023-01-18T11:07:36.603Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-18T11:07:36.603Z] ---> Running in 4ec60ed064ef [2023-01-18T11:07:36.603Z] Removing intermediate container 4ec60ed064ef [2023-01-18T11:07:36.603Z] ---> 0354ec375655 [2023-01-18T11:07:36.603Z] Step 21/23 : LABEL arch=amd64 [2023-01-18T11:07:36.603Z] ---> Running in a1fb647f184a [2023-01-18T11:07:36.862Z] Removing intermediate container a1fb647f184a [2023-01-18T11:07:36.862Z] ---> 793e44a9b1c4 [2023-01-18T11:07:36.862Z] Step 22/23 : LABEL git_sha=d0af793b10ee3ec370630321616c4d88d1c3aeb5 [2023-01-18T11:07:36.862Z] ---> Running in 0b8e29b923ef [2023-01-18T11:07:36.862Z] Removing intermediate container 0b8e29b923ef [2023-01-18T11:07:36.862Z] ---> 534665c0c6c8 [2023-01-18T11:07:36.862Z] Step 23/23 : LABEL version=0.0.0 [2023-01-18T11:07:36.862Z] ---> Running in 051ced215388 [2023-01-18T11:07:37.121Z] Removing intermediate container 051ced215388 [2023-01-18T11:07:37.121Z] ---> 189518523b35 [2023-01-18T11:07:37.121Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-18T11:07:37.121Z] Successfully built 189518523b35 [2023-01-18T11:07:37.121Z] 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-01-18T11:07:37.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T11:07:37.546Z] [2023-01-18T11:07:37.546Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:07:37.845Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T11:07:37.845Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-18T11:07:37.845Z] 5eb5b503b376: Pulling fs layer [2023-01-18T11:07:37.845Z] 5c69ac0246d0: Pulling fs layer [2023-01-18T11:07:37.845Z] ec43610c2a17: Pulling fs layer [2023-01-18T11:07:37.845Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-18T11:07:37.845Z] 33b1e0a273af: Pulling fs layer [2023-01-18T11:07:37.845Z] 5d3b04190fa2: Pulling fs layer [2023-01-18T11:07:37.845Z] 2f39f015ded8: Pulling fs layer [2023-01-18T11:07:37.845Z] 3a2ae6a8a46f: Waiting [2023-01-18T11:07:37.845Z] 5d3b04190fa2: Waiting [2023-01-18T11:07:37.845Z] 2f39f015ded8: Waiting [2023-01-18T11:07:37.845Z] 33b1e0a273af: Waiting [2023-01-18T11:07:37.845Z] 5c69ac0246d0: Verifying Checksum [2023-01-18T11:07:37.845Z] 5c69ac0246d0: Download complete [2023-01-18T11:07:37.845Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-18T11:07:37.845Z] 3a2ae6a8a46f: Download complete [2023-01-18T11:07:38.106Z] 33b1e0a273af: Verifying Checksum [2023-01-18T11:07:38.106Z] 33b1e0a273af: Download complete [2023-01-18T11:07:38.106Z] 5d3b04190fa2: Verifying Checksum [2023-01-18T11:07:38.106Z] 5d3b04190fa2: Download complete [2023-01-18T11:07:38.106Z] ec43610c2a17: Download complete [2023-01-18T11:07:38.365Z] 5eb5b503b376: Verifying Checksum [2023-01-18T11:07:38.365Z] 5eb5b503b376: Download complete [2023-01-18T11:07:38.934Z] 2f39f015ded8: Download complete [2023-01-18T11:07:39.193Z] 5eb5b503b376: Pull complete [2023-01-18T11:07:39.452Z] 5c69ac0246d0: Pull complete [2023-01-18T11:07:39.710Z] ec43610c2a17: Pull complete [2023-01-18T11:07:39.970Z] 3a2ae6a8a46f: Pull complete [2023-01-18T11:07:39.970Z] 33b1e0a273af: Pull complete [2023-01-18T11:07:39.970Z] 5d3b04190fa2: Pull complete [2023-01-18T11:07:41.024Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2918 in /w/workspace/gexfoundry_device-sdk-go_PR-1276 [Pipeline] { [Pipeline] ws [2023-01-18T11:07:41.038Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-01-18T11:07:41.077Z] The recommended git tool is: git [2023-01-18T11:07:44.156Z] 2f39f015ded8: Pull complete [2023-01-18T11:07:44.156Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-18T11:07:44.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T11:07:44.156Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T11:07:44.243Z] prd-ubuntu20.04-docker-8c-8g-2917 does not seem to be running inside a container [2023-01-18T11:07:44.287Z] $ 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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-18T11:07:45.845Z] using credential edgex-jenkins-ssh [2023-01-18T11:07:45.864Z] Cloning the remote Git repository [2023-01-18T11:07:45.905Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-18T11:07:45.973Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-01-18T11:07:46.394Z] $ docker top f5c1c3a56c6b640c353929b1555d942421d145eca1601aaa64f23f42b4a1df6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:07:46.795Z] ---> job-cost.sh [2023-01-18T11:07:46.795Z] lf-activate-venv: SKIPPING [2023-01-18T11:07:46.795Z] INFO: No Stack... [2023-01-18T11:07:47.054Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T11:07:46.124Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-18T11:07:46.125Z] > git --version # timeout=10 [2023-01-18T11:07:46.150Z] > git --version # 'git version 2.25.1' [2023-01-18T11:07:46.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T11:07:46.211Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T11:07:47.314Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T11:07:47.603Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/cost.csv [2023-01-18T11:07:47.603Z] + cut -d, -f6 [Pipeline] lock [2023-01-18T11:07:47.617Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1276-5-stack-cost] [2023-01-18T11:07:47.657Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-5-stack-cost] did not exist. Created. [2023-01-18T11:07:47.658Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1276-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T11:07:47.957Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-18T11:07:47.991Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T11:07:47.997Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T11:07:48.017Z] $ docker stop --time=1 f5c1c3a56c6b640c353929b1555d942421d145eca1601aaa64f23f42b4a1df6e [2023-01-18T11:07:47.711Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-18T11:07:47.737Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T11:07:49.167Z] $ docker rm -f --volumes f5c1c3a56c6b640c353929b1555d942421d145eca1601aaa64f23f42b4a1df6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-18T11:07:49.309Z] Merging remotes/origin/main commit 13fe592f963dcee6db02b0e3862e327a5844c24b into PR head commit 3f884ed804720b30a96228d314a94b40ef1079e0 [2023-01-18T11:07:49.631Z] Merge succeeded, producing a2686f85be979257ad979de201219c4e45909fdc [2023-01-18T11:07:49.631Z] Checking out Revision a2686f85be979257ad979de201219c4e45909fdc (PR-1276) [2023-01-18T11:07:48.530Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-18T11:07:48.573Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-18T11:07:48.574Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T11:07:48.589Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1276/head:refs/remotes/origin/PR-1276 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-18T11:07:49.328Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T11:07:49.345Z] > git checkout -f 3f884ed804720b30a96228d314a94b40ef1079e0 # timeout=10 [2023-01-18T11:07:49.452Z] > git remote # timeout=10 [2023-01-18T11:07:49.469Z] > git config --get remote.origin.url # timeout=10 [2023-01-18T11:07:49.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T11:07:49.503Z] > git merge 13fe592f963dcee6db02b0e3862e327a5844c24b # timeout=10 [2023-01-18T11:07:49.613Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-18T11:07:49.638Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T11:07:49.654Z] > git checkout -f a2686f85be979257ad979de201219c4e45909fdc # timeout=10 [2023-01-18T11:07:53.169Z] Commit message: "Merge commit '13fe592f963dcee6db02b0e3862e327a5844c24b' into HEAD" [2023-01-18T11:07:53.193Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T11:07:54.133Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-18T11:07:54.133Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T11:07:54.133Z] Dload Upload Total Spent Left Speed [2023-01-18T11:07:54.133Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 60146 0 --:--:-- --:--:-- --:--:-- 59863 [2023-01-18T11:07:53.178Z] > git rev-list --no-walk bd3ecf82fcf10256fea7206068c152088812a932 # timeout=10 [Pipeline] sh [2023-01-18T11:07:54.869Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-18T11:07:55.198Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-18T11:07:55.198Z] + sudo tee /etc/docker/daemon.new [2023-01-18T11:07:55.198Z] { [2023-01-18T11:07:55.198Z] "registry-mirrors": [ [2023-01-18T11:07:55.198Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-18T11:07:55.198Z] ], [2023-01-18T11:07:55.198Z] "bip": "10.250.0.254/24", [2023-01-18T11:07:55.198Z] "hosts": [ [2023-01-18T11:07:55.198Z] "tcp://0.0.0.0:5555", [2023-01-18T11:07:55.198Z] "unix:///var/run/docker.sock" [2023-01-18T11:07:55.198Z] ], [2023-01-18T11:07:55.198Z] "mtu": 1458, [2023-01-18T11:07:55.198Z] "selinux-enabled": true, [2023-01-18T11:07:55.198Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-18T11:07:55.198Z] } [Pipeline] sh [2023-01-18T11:07:55.532Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-18T11:07:55.876Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T11:08:14.144Z] provisioning config files... [2023-01-18T11:08:14.169Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config13483660421708799615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:08:14.516Z] ---> docker-login.sh [2023-01-18T11:08:14.516Z] nexus3.edgexfoundry.org:10001 [2023-01-18T11:08:15.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:08:15.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:08:15.107Z] Configure a credential helper to remove this warning. See [2023-01-18T11:08:15.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:08:15.107Z] [2023-01-18T11:08:15.107Z] Login Succeeded [2023-01-18T11:08:15.107Z] nexus3.edgexfoundry.org:10002 [2023-01-18T11:08:15.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:08:15.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:08:15.379Z] Configure a credential helper to remove this warning. See [2023-01-18T11:08:15.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:08:15.379Z] [2023-01-18T11:08:15.379Z] Login Succeeded [2023-01-18T11:08:15.651Z] nexus3.edgexfoundry.org:10003 [2023-01-18T11:08:15.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:08:15.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:08:15.920Z] Configure a credential helper to remove this warning. See [2023-01-18T11:08:15.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:08:15.920Z] [2023-01-18T11:08:15.920Z] Login Succeeded [2023-01-18T11:08:15.920Z] nexus3.edgexfoundry.org:10004 [2023-01-18T11:08:16.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:08:16.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:08:16.190Z] Configure a credential helper to remove this warning. See [2023-01-18T11:08:16.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:08:16.190Z] [2023-01-18T11:08:16.190Z] Login Succeeded [2023-01-18T11:08:16.190Z] docker.io [2023-01-18T11:08:16.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T11:08:16.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T11:08:16.728Z] Configure a credential helper to remove this warning. See [2023-01-18T11:08:16.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T11:08:16.728Z] [2023-01-18T11:08:16.728Z] Login Succeeded [2023-01-18T11:08:16.728Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T11:08:16.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T11:08:16.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T11:08:17.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T11:08:17.019Z] ========================================================= [2023-01-18T11:08:17.019Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-18T11:08:17.019Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:08:17.354Z] + 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-01-18T11:08:17.621Z] Sending build context to Docker daemon 5.723MB [2023-01-18T11:08:17.621Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T11:08:17.621Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-18T11:08:17.891Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-18T11:08:17.891Z] 9b18e9b68314: Pulling fs layer [2023-01-18T11:08:17.891Z] 35d82f9e3411: Pulling fs layer [2023-01-18T11:08:17.891Z] e16973657156: Pulling fs layer [2023-01-18T11:08:17.891Z] fc693d55d65f: Pulling fs layer [2023-01-18T11:08:17.891Z] 7e9fc2657dce: Pulling fs layer [2023-01-18T11:08:17.891Z] dda99020689f: Pulling fs layer [2023-01-18T11:08:17.891Z] db1c61fa0a46: Pulling fs layer [2023-01-18T11:08:17.891Z] 891c053d2c06: Pulling fs layer [2023-01-18T11:08:17.891Z] fc693d55d65f: Waiting [2023-01-18T11:08:17.891Z] 7e9fc2657dce: Waiting [2023-01-18T11:08:17.891Z] dda99020689f: Waiting [2023-01-18T11:08:17.891Z] db1c61fa0a46: Waiting [2023-01-18T11:08:17.891Z] 891c053d2c06: Waiting [2023-01-18T11:08:17.891Z] e16973657156: Download complete [2023-01-18T11:08:17.891Z] 35d82f9e3411: Verifying Checksum [2023-01-18T11:08:17.891Z] 35d82f9e3411: Download complete [2023-01-18T11:08:17.891Z] 7e9fc2657dce: Verifying Checksum [2023-01-18T11:08:17.891Z] 7e9fc2657dce: Download complete [2023-01-18T11:08:17.891Z] dda99020689f: Verifying Checksum [2023-01-18T11:08:17.891Z] dda99020689f: Download complete [2023-01-18T11:08:18.161Z] 9b18e9b68314: Verifying Checksum [2023-01-18T11:08:18.161Z] 9b18e9b68314: Download complete [2023-01-18T11:08:19.132Z] 9b18e9b68314: Pull complete [2023-01-18T11:08:19.132Z] 891c053d2c06: Verifying Checksum [2023-01-18T11:08:19.132Z] 891c053d2c06: Download complete [2023-01-18T11:08:19.719Z] 35d82f9e3411: Pull complete [2023-01-18T11:08:19.992Z] e16973657156: Pull complete [2023-01-18T11:08:20.261Z] db1c61fa0a46: Verifying Checksum [2023-01-18T11:08:20.261Z] db1c61fa0a46: Download complete [2023-01-18T11:08:20.853Z] fc693d55d65f: Verifying Checksum [2023-01-18T11:08:33.188Z] fc693d55d65f: Pull complete [2023-01-18T11:08:33.188Z] 7e9fc2657dce: Pull complete [2023-01-18T11:08:33.188Z] dda99020689f: Pull complete [2023-01-18T11:08:38.534Z] db1c61fa0a46: Pull complete [2023-01-18T11:08:40.498Z] 891c053d2c06: Pull complete [2023-01-18T11:08:40.498Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-18T11:08:40.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-18T11:08:40.498Z] ---> f96f9c87975a [2023-01-18T11:08:40.498Z] Step 3/10 : ARG MAKE=make build [2023-01-18T11:08:42.454Z] ---> Running in a3624d34ae12 [2023-01-18T11:08:42.723Z] Removing intermediate container a3624d34ae12 [2023-01-18T11:08:42.723Z] ---> e44dbc0e3694 [2023-01-18T11:08:42.723Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-18T11:08:42.723Z] ---> Running in 0398f13d9a01 [2023-01-18T11:08:42.990Z] Removing intermediate container 0398f13d9a01 [2023-01-18T11:08:42.990Z] ---> f608efcc07bf [2023-01-18T11:08:42.990Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-18T11:08:43.263Z] ---> Running in 041c62245c7b [2023-01-18T11:08:43.530Z] Removing intermediate container 041c62245c7b [2023-01-18T11:08:43.530Z] ---> ec8f545b7f41 [2023-01-18T11:08:43.530Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-18T11:08:43.530Z] ---> Running in ea450eb72432 [2023-01-18T11:08:44.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T11:08:44.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T11:08:45.723Z] OK: 221 MiB in 51 packages [2023-01-18T11:08:46.690Z] Removing intermediate container ea450eb72432 [2023-01-18T11:08:46.690Z] ---> 030bfe61bf9f [2023-01-18T11:08:46.690Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-18T11:08:46.958Z] ---> 8295f54c383b [2023-01-18T11:08:46.958Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T11:08:47.226Z] ---> Running in 8c1efbc5ff19 [2023-01-18T11:09:55.099Z] Removing intermediate container 8c1efbc5ff19 [2023-01-18T11:09:55.099Z] ---> bded75e29588 [2023-01-18T11:09:55.099Z] Step 9/10 : COPY . . [2023-01-18T11:09:55.099Z] ---> da3da6e8fcad [2023-01-18T11:09:55.099Z] Step 10/10 : RUN ${MAKE} [2023-01-18T11:09:55.099Z] ---> Running in e6beabf2c667 [2023-01-18T11:09:55.099Z] noop [2023-01-18T11:09:55.099Z] Removing intermediate container e6beabf2c667 [2023-01-18T11:09:55.099Z] ---> aebc26274a5a [2023-01-18T11:09:55.099Z] Successfully built aebc26274a5a [2023-01-18T11:09:55.099Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:09:55.453Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T11:09:55.453Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T11:09:55.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-2918 does not seem to be running inside a container [2023-01-18T11:09:55.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-18T11:09:56.927Z] $ docker top 61ff9dae8e0fa994fcee49e6f76c0ad945ab377c76b2ce38ccf553ec2b449d9b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T11:09:57.752Z] + go version [2023-01-18T11:09:57.752Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-18T11:09:57.766Z] $ docker stop --time=1 61ff9dae8e0fa994fcee49e6f76c0ad945ab377c76b2ce38ccf553ec2b449d9b [2023-01-18T11:09:59.360Z] $ docker rm -f --volumes 61ff9dae8e0fa994fcee49e6f76c0ad945ab377c76b2ce38ccf553ec2b449d9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:09:59.895Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T11:09:59.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T11:10:00.087Z] prd-ubuntu20.04-docker-arm64-4c-16g-2918 does not seem to be running inside a container [2023-01-18T11:10:00.146Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-18T11:10:01.275Z] $ docker top d130a47689fefb1877b032d2b0d8a0542ad18dadf6273e076a029e43c87da970 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T11:10:01.776Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-01-18T11:10:02.689Z] + make test [2023-01-18T11:10:02.690Z] go test -race -coverprofile=coverage.out ./... [2023-01-18T11:10:34.921Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-18T11:12:26.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-18T11:12:26.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-18T11:12:26.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-18T11:12:26.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-18T11:12:26.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-18T11:12:29.166Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.261s coverage: 27.6% of statements [2023-01-18T11:12:30.129Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.512s coverage: 78.9% of statements [2023-01-18T11:12:30.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-18T11:12:38.350Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.774s coverage: 73.6% of statements [2023-01-18T11:12:38.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-18T11:12:38.350Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-18T11:12:40.292Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.517s coverage: 60.6% of statements [2023-01-18T11:12:40.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-18T11:12:40.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-18T11:12:40.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-18T11:12:40.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-18T11:12:41.721Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.401s coverage: 65.1% of statements [2023-01-18T11:12:41.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-18T11:12:41.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-18T11:12:41.721Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.815s coverage: 89.2% of statements [2023-01-18T11:12:41.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-18T11:12:41.721Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.411s coverage: 4.6% of statements [2023-01-18T11:12:41.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-18T11:12:42.688Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-18T11:12:42.688Z] GO111MODULE=on go vet ./... [2023-01-18T11:14:19.365Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-18T11:14:19.365Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-18T11:14:19.365Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-18T11:14:19.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-18T11:14:19.397Z] $ docker stop --time=1 d130a47689fefb1877b032d2b0d8a0542ad18dadf6273e076a029e43c87da970 [2023-01-18T11:14:21.649Z] $ docker rm -f --volumes d130a47689fefb1877b032d2b0d8a0542ad18dadf6273e076a029e43c87da970 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T11:14:22.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-18T11:14:23.018Z] Warning: overwriting stash ‘coverage-report’ [2023-01-18T11:14:23.552Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T11:14:23.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-18T11:14:24.307Z] + ls -al . [2023-01-18T11:14:24.307Z] total 268 [2023-01-18T11:14:24.307Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 11:10 . [2023-01-18T11:14:24.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 11:07 .. [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 18 11:07 .dockerignore [2023-01-18T11:14:24.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 11:07 .git [2023-01-18T11:14:24.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 11:07 .github [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 18 11:07 .gitignore [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 18 11:07 .golangci.yml [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 18 11:07 CHANGELOG.md [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 11:07 GOVERNANCE.md [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 18 11:07 Jenkinsfile [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 18 11:07 LICENSE [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 18 11:07 Makefile [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 18 11:07 OWNERS.md [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 18 11:07 README.md [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 11:05 VERSION [2023-01-18T11:14:24.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 11:07 bin [2023-01-18T11:14:24.307Z] -rw-r--r-- 1 jenkins jenkins 100833 Jan 18 11:12 coverage.out [2023-01-18T11:14:24.307Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 18 11:07 example [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 18 11:07 go.mod [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 18 11:07 go.sum [2023-01-18T11:14:24.307Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 18 11:07 internal [2023-01-18T11:14:24.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 11:07 openapi [2023-01-18T11:14:24.307Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 18 11:07 pkg [2023-01-18T11:14:24.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 11:07 snap [2023-01-18T11:14:24.307Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 18 11:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:14:24.668Z] + 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=a2686f85be979257ad979de201219c4e45909fdc --label arch=arm64 --label version=0.0.0 . [2023-01-18T11:14:24.940Z] Sending build context to Docker daemon 5.825MB [2023-01-18T11:14:25.212Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T11:14:25.212Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-18T11:14:25.212Z] ---> aebc26274a5a [2023-01-18T11:14:25.212Z] Step 3/23 : ARG MAKE=make build [2023-01-18T11:14:25.212Z] ---> Running in 2f3c57cc2d3f [2023-01-18T11:14:25.488Z] Removing intermediate container 2f3c57cc2d3f [2023-01-18T11:14:25.488Z] ---> b0b41bf9d7b8 [2023-01-18T11:14:25.488Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-18T11:14:25.759Z] ---> Running in 5b86122d00ad [2023-01-18T11:14:26.044Z] Removing intermediate container 5b86122d00ad [2023-01-18T11:14:26.044Z] ---> cc1ae75f2195 [2023-01-18T11:14:26.044Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-18T11:14:26.044Z] ---> Running in a5a7ad48138a [2023-01-18T11:14:26.320Z] Removing intermediate container a5a7ad48138a [2023-01-18T11:14:26.320Z] ---> 25c6489fbb7d [2023-01-18T11:14:26.320Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-18T11:14:26.592Z] ---> Running in cebaf6adfb56 [2023-01-18T11:14:27.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T11:14:27.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T11:14:28.831Z] OK: 221 MiB in 51 packages [2023-01-18T11:14:29.793Z] Removing intermediate container cebaf6adfb56 [2023-01-18T11:14:29.793Z] ---> d008ee613cc5 [2023-01-18T11:14:29.793Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-18T11:14:30.062Z] ---> 1329c749734f [2023-01-18T11:14:30.062Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T11:14:30.062Z] ---> Running in ec65f2d72d5d [2023-01-18T11:14:32.649Z] Removing intermediate container ec65f2d72d5d [2023-01-18T11:14:32.649Z] ---> 1286d03c2144 [2023-01-18T11:14:32.649Z] Step 9/23 : COPY . . [2023-01-18T11:14:34.073Z] ---> 681cb82acef7 [2023-01-18T11:14:34.073Z] Step 10/23 : RUN ${MAKE} [2023-01-18T11:14:34.341Z] ---> Running in 8a1b1bf0b078 [2023-01-18T11:14:35.306Z] 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-01-18T11:16:41.974Z] Removing intermediate container 8a1b1bf0b078 [2023-01-18T11:16:41.974Z] ---> c42c60217e87 [2023-01-18T11:16:41.974Z] Step 11/23 : FROM alpine:3.16 [2023-01-18T11:16:41.974Z] 3.16: Pulling from library/alpine [2023-01-18T11:16:41.974Z] 6875df1f5354: Pulling fs layer [2023-01-18T11:16:41.974Z] 6875df1f5354: Download complete [2023-01-18T11:16:41.974Z] 6875df1f5354: Pull complete [2023-01-18T11:16:41.974Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-18T11:16:41.974Z] Status: Downloaded newer image for alpine:3.16 [2023-01-18T11:16:41.974Z] ---> 2b4661558fb8 [2023-01-18T11:16:41.974Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-18T11:16:41.974Z] ---> Running in 9dbdac8aad76 [2023-01-18T11:16:41.974Z] Removing intermediate container 9dbdac8aad76 [2023-01-18T11:16:41.974Z] ---> f588820c0831 [2023-01-18T11:16:41.974Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-18T11:16:41.974Z] ---> Running in 3d0546390c34 [2023-01-18T11:16:41.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T11:16:41.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T11:16:41.974Z] OK: 5 MiB in 14 packages [2023-01-18T11:16:41.974Z] Removing intermediate container 3d0546390c34 [2023-01-18T11:16:41.974Z] ---> 70053630e86d [2023-01-18T11:16:41.974Z] Step 14/23 : WORKDIR / [2023-01-18T11:16:41.974Z] ---> Running in 6cc90016245c [2023-01-18T11:16:41.974Z] Removing intermediate container 6cc90016245c [2023-01-18T11:16:41.974Z] ---> 7304f4c424ca [2023-01-18T11:16:41.974Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-18T11:16:41.974Z] ---> 60302552e9d9 [2023-01-18T11:16:41.974Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-18T11:16:41.974Z] ---> f13f93be634e [2023-01-18T11:16:41.974Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-18T11:16:41.974Z] ---> 141bf0245a46 [2023-01-18T11:16:41.974Z] Step 18/23 : EXPOSE 59999 [2023-01-18T11:16:41.974Z] ---> Running in 4a83d10f6b5d [2023-01-18T11:16:41.974Z] Removing intermediate container 4a83d10f6b5d [2023-01-18T11:16:41.974Z] ---> 89631500bc5b [2023-01-18T11:16:41.974Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-18T11:16:41.974Z] ---> Running in 011404402f22 [2023-01-18T11:16:41.974Z] Removing intermediate container 011404402f22 [2023-01-18T11:16:41.974Z] ---> 7ba5ee679caf [2023-01-18T11:16:41.974Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-18T11:16:42.244Z] ---> Running in b23ceebbc6f9 [2023-01-18T11:16:42.512Z] Removing intermediate container b23ceebbc6f9 [2023-01-18T11:16:42.512Z] ---> cc49aa7a5a59 [2023-01-18T11:16:42.512Z] Step 21/23 : LABEL arch=arm64 [2023-01-18T11:16:42.512Z] ---> Running in 0bb71bea5a66 [2023-01-18T11:16:42.780Z] Removing intermediate container 0bb71bea5a66 [2023-01-18T11:16:42.780Z] ---> c2ee181225ff [2023-01-18T11:16:42.780Z] Step 22/23 : LABEL git_sha=a2686f85be979257ad979de201219c4e45909fdc [2023-01-18T11:16:42.780Z] ---> Running in d33dd468409d [2023-01-18T11:16:43.048Z] Removing intermediate container d33dd468409d [2023-01-18T11:16:43.048Z] ---> 32b09e92c425 [2023-01-18T11:16:43.048Z] Step 23/23 : LABEL version=0.0.0 [2023-01-18T11:16:43.317Z] ---> Running in c5cdea1c4edd [2023-01-18T11:16:43.584Z] Removing intermediate container c5cdea1c4edd [2023-01-18T11:16:43.584Z] ---> 342eb35c5b49 [2023-01-18T11:16:43.584Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-18T11:16:43.584Z] Successfully built 342eb35c5b49 [2023-01-18T11:16:43.584Z] 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-01-18T11:16:44.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T11:16:44.014Z] [2023-01-18T11:16:44.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:16:44.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T11:16:44.345Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-18T11:16:44.345Z] 8998bd30e6a1: Pulling fs layer [2023-01-18T11:16:44.345Z] 04944245beec: Pulling fs layer [2023-01-18T11:16:44.345Z] 699f458cf7ca: Pulling fs layer [2023-01-18T11:16:44.345Z] 765212b225bb: Pulling fs layer [2023-01-18T11:16:44.345Z] f23df028b6ca: Pulling fs layer [2023-01-18T11:16:44.345Z] d65c8cfc05b1: Pulling fs layer [2023-01-18T11:16:44.345Z] 2437ff75d9bd: Pulling fs layer [2023-01-18T11:16:44.345Z] 765212b225bb: Waiting [2023-01-18T11:16:44.345Z] f23df028b6ca: Waiting [2023-01-18T11:16:44.345Z] d65c8cfc05b1: Waiting [2023-01-18T11:16:44.345Z] 2437ff75d9bd: Waiting [2023-01-18T11:16:44.617Z] 04944245beec: Verifying Checksum [2023-01-18T11:16:44.617Z] 04944245beec: Download complete [2023-01-18T11:16:44.617Z] 765212b225bb: Verifying Checksum [2023-01-18T11:16:44.617Z] 765212b225bb: Download complete [2023-01-18T11:16:44.617Z] f23df028b6ca: Verifying Checksum [2023-01-18T11:16:44.617Z] f23df028b6ca: Download complete [2023-01-18T11:16:44.617Z] d65c8cfc05b1: Verifying Checksum [2023-01-18T11:16:44.617Z] d65c8cfc05b1: Download complete [2023-01-18T11:16:44.884Z] 699f458cf7ca: Verifying Checksum [2023-01-18T11:16:44.884Z] 699f458cf7ca: Download complete [2023-01-18T11:16:45.152Z] 8998bd30e6a1: Verifying Checksum [2023-01-18T11:16:45.152Z] 8998bd30e6a1: Download complete [2023-01-18T11:16:47.738Z] 2437ff75d9bd: Verifying Checksum [2023-01-18T11:16:47.738Z] 2437ff75d9bd: Download complete [2023-01-18T11:16:49.147Z] 8998bd30e6a1: Pull complete [2023-01-18T11:16:49.414Z] 04944245beec: Pull complete [2023-01-18T11:16:50.823Z] 699f458cf7ca: Pull complete [2023-01-18T11:16:51.090Z] 765212b225bb: Pull complete [2023-01-18T11:16:52.051Z] f23df028b6ca: Pull complete [2023-01-18T11:16:52.320Z] d65c8cfc05b1: Pull complete [2023-01-18T11:17:07.305Z] 2437ff75d9bd: Pull complete [2023-01-18T11:17:07.305Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-18T11:17:07.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T11:17:07.305Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T11:17:07.495Z] prd-ubuntu20.04-docker-arm64-4c-16g-2918 does not seem to be running inside a container [2023-01-18T11:17:07.568Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-18T11:17:10.105Z] $ docker top 34f261c4c3e1eac73a8688528c18488218a5a4aa772737d0d41443c8fd654e91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:17:10.951Z] ---> job-cost.sh [2023-01-18T11:17:10.952Z] lf-activate-venv: SKIPPING [2023-01-18T11:17:10.952Z] INFO: No Stack... [2023-01-18T11:17:11.218Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-18T11:17:12.173Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T11:17:12.806Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2023-01-18T11:17:12.806Z] + cut -d, -f6 [Pipeline] lock [2023-01-18T11:17:12.867Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1276-5-stack-cost] [2023-01-18T11:17:12.873Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-5-stack-cost] did not exist. Created. [2023-01-18T11:17:12.873Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1276-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T11:17:13.213Z] /w/workspace/device-sdk-go/5@tmp/durable-20f71e0b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-18T11:17:13.868Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-18T11:17:13.891Z] Warning: overwriting stash ‘stack-cost’ [2023-01-18T11:17:13.956Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T11:17:13.963Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T11:17:13.996Z] $ docker stop --time=1 34f261c4c3e1eac73a8688528c18488218a5a4aa772737d0d41443c8fd654e91 [2023-01-18T11:17:15.510Z] $ docker rm -f --volumes 34f261c4c3e1eac73a8688528c18488218a5a4aa772737d0d41443c8fd654e91 [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-01-18T11:17:15.953Z] provisioning config files... [2023-01-18T11:17:15.960Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config5200197165690667652tmp [Pipeline] { [Pipeline] sh [2023-01-18T11:17:16.252Z] + set +x [2023-01-18T11:17:16.252Z] + bash -s -- [2023-01-18T11:17:16.252Z] + curl -s https://codecov.io/bash [2023-01-18T11:17:16.252Z] [2023-01-18T11:17:16.252Z] _____ _ [2023-01-18T11:17:16.252Z] / ____| | | [2023-01-18T11:17:16.252Z] | | ___ __| | ___ ___ _____ __ [2023-01-18T11:17:16.252Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-18T11:17:16.252Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-18T11:17:16.252Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-18T11:17:16.252Z] Bash-1.0.6 [2023-01-18T11:17:16.252Z] [2023-01-18T11:17:16.252Z] [2023-01-18T11:17:16.252Z] ==> git version 2.25.1 found [2023-01-18T11:17:16.252Z] ==> 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-01-18T11:17:16.252Z] Release-Date: 2020-01-08 [2023-01-18T11:17:16.252Z] 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-01-18T11:17:16.252Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-18T11:17:16.252Z] ==> Jenkins CI detected. [2023-01-18T11:17:16.252Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1276 [2023-01-18T11:17:16.252Z] project root: . [2023-01-18T11:17:16.252Z] --> token set from env [2023-01-18T11:17:16.252Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-18T11:17:16.252Z] ==> Running gcov in . (disable via -X gcov) [2023-01-18T11:17:16.252Z] ==> Python coveragepy not found [2023-01-18T11:17:16.252Z] ==> Searching for coverage reports in: [2023-01-18T11:17:16.252Z] + . [2023-01-18T11:17:16.252Z] -> Found 1 reports [2023-01-18T11:17:16.252Z] ==> Detecting git/mercurial file structure [2023-01-18T11:17:16.252Z] ==> Reading reports [2023-01-18T11:17:16.252Z] + ./coverage.out bytes=100833 [2023-01-18T11:17:16.252Z] ==> Appending adjustments [2023-01-18T11:17:16.252Z] https://docs.codecov.io/docs/fixing-reports [2023-01-18T11:17:16.820Z] + Found adjustments [2023-01-18T11:17:16.820Z] ==> Gzipping contents [2023-01-18T11:17:16.820Z] 16K /tmp/codecov.2p924V.gz [2023-01-18T11:17:16.820Z] ==> Uploading reports [2023-01-18T11:17:16.820Z] url: https://codecov.io [2023-01-18T11:17:16.820Z] query: branch=PR-1276&commit=d0af793b10ee3ec370630321616c4d88d1c3aeb5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1276%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1276&job=&cmd_args= [2023-01-18T11:17:16.820Z] -> Pinging Codecov [2023-01-18T11:17:16.820Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1276&commit=d0af793b10ee3ec370630321616c4d88d1c3aeb5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1276%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1276&job=&cmd_args= [2023-01-18T11:17:17.757Z] -> Uploading to [2023-01-18T11:17:17.757Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-18/7E55EF52A471D76F132DFD9A03CDDE97/d0af793b10ee3ec370630321616c4d88d1c3aeb5/399387a8-4543-4582-b9e7-e0188302742f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230118T111717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d70dea6587545bf78ee1f15360207c688b5520a935fbcb4e4bfb480ff953695c [2023-01-18T11:17:17.757Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T11:17:17.757Z] Dload Upload Total Spent Left Speed [2023-01-18T11:17:17.757Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14728 0 0 100 14728 0 54548 --:--:-- --:--:-- --:--:-- 54548 [2023-01-18T11:17:17.757Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d0af793b10ee3ec370630321616c4d88d1c3aeb5 [Pipeline] } [2023-01-18T11:17:17.765Z] 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-01-18T11:17:18.512Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives ] [2023-01-18T11:17:18.512Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives [2023-01-18T11:17:18.512Z] total 16 [2023-01-18T11:17:18.512Z] drwxr-xr-x 3 root root 4096 Jan 18 11:07 . [2023-01-18T11:17:18.512Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 18 11:07 .. [2023-01-18T11:17:18.512Z] drwxr-xr-x 2 root root 4096 Jan 18 11:07 cost [2023-01-18T11:17:18.512Z] -rw-r--r-- 1 root root 86 Jan 18 11:07 cost.csv [2023-01-18T11:17:18.512Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives [2023-01-18T11:17:18.512Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives [2023-01-18T11:17:18.512Z] total 16 [2023-01-18T11:17:18.512Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 11:07 . [2023-01-18T11:17:18.512Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 18 11:07 .. [2023-01-18T11:17:18.512Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 11:07 cost [2023-01-18T11:17:18.512Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 18 11:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:17:18.804Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:17:19.662Z] ---> package-listing.sh [2023-01-18T11:17:19.662Z] ++ facter osfamily [2023-01-18T11:17:19.662Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-18T11:17:19.921Z] + OS_FAMILY=debian [2023-01-18T11:17:19.921Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1276 [2023-01-18T11:17:19.921Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-18T11:17:19.921Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-18T11:17:19.921Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-18T11:17:19.921Z] + PACKAGES=/tmp/packages_start.txt [2023-01-18T11:17:19.921Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1276 ']' [2023-01-18T11:17:19.921Z] + PACKAGES=/tmp/packages_end.txt [2023-01-18T11:17:19.921Z] + case "${OS_FAMILY}" in [2023-01-18T11:17:19.921Z] + dpkg -l [2023-01-18T11:17:19.921Z] + grep '^ii' [2023-01-18T11:17:19.921Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-18T11:17:19.921Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-18T11:17:19.921Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-18T11:17:19.921Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1276 ']' [2023-01-18T11:17:19.921Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/ [2023-01-18T11:17:19.921Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/ [Pipeline] echo [2023-01-18T11:17:19.932Z] 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-1276/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-18T11:17:20.209Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T11:17:20.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T11:17:20.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T11:17:20.836Z] prd-ubuntu20.04-docker-8c-8g-2917 does not seem to be running inside a container [2023-01-18T11:17:20.866Z] $ 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-1276/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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-18T11:17:21.119Z] $ docker top a3743415618d3322f175980054dc93ee613eae8a7bfb9e281c6a1552a47f92ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T11:17:21.477Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-18T11:17:21.765Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-18T11:17:22.054Z] + ls /var/log/sa-host [2023-01-18T11:17:22.055Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T11:17:22.204Z] provisioning config files... [2023-01-18T11:17:22.213Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config7005728937564818765tmp [Pipeline] { [Pipeline] echo [2023-01-18T11:17:22.225Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:17:22.510Z] ---> create-netrc.sh [Pipeline] } [2023-01-18T11:17:22.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:17:22.869Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-18T11:17:22.877Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:17:23.162Z] ---> sudo-logs.sh [2023-01-18T11:17:23.163Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-18T11:17:23.191Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:17:23.477Z] ---> job-cost.sh [2023-01-18T11:17:23.478Z] lf-activate-venv: SKIPPING [2023-01-18T11:17:23.478Z] DEBUG: total: 0.2199999988079071 [2023-01-18T11:17:23.478Z] INFO: Retrieving Stack Cost... [2023-01-18T11:17:23.737Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T11:17:24.305Z] INFO: Archiving Costs [Pipeline] echo [2023-01-18T11:17:24.319Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T11:17:24.601Z] ---> logs-deploy.sh [2023-01-18T11:17:24.601Z] lf-activate-venv: SKIPPING [2023-01-18T11:17:24.601Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1276/5 [2023-01-18T11:17:24.601Z] INFO: archiving workspace using pattern(s): [2023-01-18T11:17:25.539Z] Archives upload complete. [2023-01-18T11:17:25.539Z] INFO: archiving logs to Nexus