Branch indexing 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 6905a34b550db74fa7bee656b07304e99fd1342f+774c2037947f109106e5ac1f44e7b15f17fcf2b1 (5877caf79fec4722a4e7d9621978bd4185008ae4) 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-ssh13295441141726345053.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-ssh12114429636833332312.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-1345/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-1345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17856639586518039723.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-ssh9335522506049305348.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-1345/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-1345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17812019057030140166.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/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8607 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [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-1345 # 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/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 774c2037947f109106e5ac1f44e7b15f17fcf2b1 into PR head commit 6905a34b550db74fa7bee656b07304e99fd1342f Merge succeeded, producing 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 Checking out Revision 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 (PR-1345) > git config core.sparsecheckout # timeout=10 > git checkout -f 6905a34b550db74fa7bee656b07304e99fd1342f # 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 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 # timeout=10 Commit message: "Merge commit '774c2037947f109106e5ac1f44e7b15f17fcf2b1' into HEAD" > git rev-list --no-walk 6905a34b550db74fa7bee656b07304e99fd1342f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T18:42:21.323Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T18:42:21.373Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T18:42:21.386Z] ========================================================= [2023-03-07T18:42:21.386Z] EdgeX Global Pipelines Version Info [2023-03-07T18:42:21.386Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:42:22.082Z] ------------------- [2023-03-07T18:42:22.082Z] stable info: [2023-03-07T18:42:22.082Z] ------------------- [2023-03-07T18:42:22.082Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T18:42:22.082Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T18:42:22.082Z] Message: update stable to v1.0.244 [2023-03-07T18:42:22.650Z] ------------------- [2023-03-07T18:42:22.650Z] experimental info: [2023-03-07T18:42:22.650Z] ------------------- [2023-03-07T18:42:22.650Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T18:42:22.650Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T18:42:22.650Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T18:42:22.825Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-07T18:42:22.842Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-07T18:42:22.854Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T18:42:22.866Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T18:42:22.877Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T18:42:22.891Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T18:42:22.902Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T18:42:22.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-07T18:42:22.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T18:42:22.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T18:42:22.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T18:42:22.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-07T18:42:22.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T18:42:22.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T18:42:22.997Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T18:42:23.009Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T18:42:23.023Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T18:42:23.036Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T18:42:23.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T18:42:23.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T18:42:23.073Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T18:42:23.086Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-07T18:42:23.098Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T18:42:23.113Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T18:42:23.125Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T18:42:23.137Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T18:42:23.148Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T18:42:23.160Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1345 [Pipeline] echo [2023-03-07T18:42:23.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1345 [Pipeline] echo [2023-03-07T18:42:23.194Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1345 [Pipeline] echo [2023-03-07T18:42:23.205Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 [Pipeline] echo [2023-03-07T18:42:23.219Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b270bc [Pipeline] echo [2023-03-07T18:42:23.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:42:23.284Z] provisioning config files... [2023-03-07T18:42:23.296Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config7837481104300347913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:42:23.600Z] ---> docker-login.sh [2023-03-07T18:42:23.600Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:42:23.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:23.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:23.860Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:23.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:23.860Z] [2023-03-07T18:42:23.860Z] Login Succeeded [2023-03-07T18:42:23.860Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:42:23.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:23.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:23.860Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:23.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:23.860Z] [2023-03-07T18:42:23.860Z] Login Succeeded [2023-03-07T18:42:23.860Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:42:24.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:24.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:24.122Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:24.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:24.122Z] [2023-03-07T18:42:24.122Z] Login Succeeded [2023-03-07T18:42:24.122Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:42:24.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:24.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:24.122Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:24.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:24.122Z] [2023-03-07T18:42:24.122Z] Login Succeeded [2023-03-07T18:42:24.122Z] docker.io [2023-03-07T18:42:24.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:24.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:24.382Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:24.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:24.382Z] [2023-03-07T18:42:24.382Z] Login Succeeded [2023-03-07T18:42:24.382Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:42:24.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T18:42:24.763Z] + git rev-list -1 --merges 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5~1..4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 [Pipeline] echo [2023-03-07T18:42:24.856Z] -----------> git rev-list -1 --merges 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5~1..4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 [2023-03-07T18:42:24.856Z] 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 [false] [Pipeline] sh [2023-03-07T18:42:25.156Z] + git log --format=format:%s -1 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 [Pipeline] echo [2023-03-07T18:42:25.170Z] ========================================================= [2023-03-07T18:42:25.170Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T18:42:25.170Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:42:25.501Z] + git log --format=format:%s -1 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 [Pipeline] echo [2023-03-07T18:42:25.512Z] [semverPrep] GIT_COMMIT: 4b270bc3e5ccb9d0b8582bca392736cbf1e869f5, Commit Message: Merge commit '774c2037947f109106e5ac1f44e7b15f17fcf2b1' into HEAD [Pipeline] echo [2023-03-07T18:42:25.519Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T18:42:25.852Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T18:42:25.852Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T18:42:25.852Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T18:42:25.852Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T18:42:25.852Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T18:42:25.852Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T18:42:25.852Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:42:26.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:42:26.189Z] [2023-03-07T18:42:26.189Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:42:26.486Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:42:26.486Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T18:42:26.486Z] b85a868b505f: Pulling fs layer [2023-03-07T18:42:26.486Z] e2be974225ed: Pulling fs layer [2023-03-07T18:42:26.486Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T18:42:26.486Z] 988bab9f4d93: Pulling fs layer [2023-03-07T18:42:26.486Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T18:42:26.486Z] eaf3925da568: Pulling fs layer [2023-03-07T18:42:26.486Z] bab4dde63d76: Pulling fs layer [2023-03-07T18:42:26.486Z] 1469e6f7b9e6: Waiting [2023-03-07T18:42:26.486Z] eaf3925da568: Waiting [2023-03-07T18:42:26.486Z] bde34c3a00c8: Pulling fs layer [2023-03-07T18:42:26.486Z] bab4dde63d76: Waiting [2023-03-07T18:42:26.486Z] 988bab9f4d93: Waiting [2023-03-07T18:42:26.486Z] b352a97aabf1: Pulling fs layer [2023-03-07T18:42:26.486Z] 4872d77fe225: Pulling fs layer [2023-03-07T18:42:26.486Z] bde34c3a00c8: Waiting [2023-03-07T18:42:26.486Z] b352a97aabf1: Waiting [2023-03-07T18:42:26.486Z] 5851b861e8e6: Pulling fs layer [2023-03-07T18:42:26.486Z] 5851b861e8e6: Waiting [2023-03-07T18:42:26.486Z] 4872d77fe225: Waiting [2023-03-07T18:42:26.486Z] e2be974225ed: Download complete [2023-03-07T18:42:26.486Z] 988bab9f4d93: Verifying Checksum [2023-03-07T18:42:26.486Z] 988bab9f4d93: Download complete [2023-03-07T18:42:26.746Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T18:42:26.746Z] 339a4e72a1f5: Download complete [2023-03-07T18:42:26.746Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T18:42:26.746Z] 1469e6f7b9e6: Download complete [2023-03-07T18:42:26.746Z] eaf3925da568: Verifying Checksum [2023-03-07T18:42:26.746Z] eaf3925da568: Download complete [2023-03-07T18:42:26.746Z] bde34c3a00c8: Download complete [2023-03-07T18:42:26.746Z] b352a97aabf1: Verifying Checksum [2023-03-07T18:42:26.746Z] b352a97aabf1: Download complete [2023-03-07T18:42:26.746Z] 4872d77fe225: Verifying Checksum [2023-03-07T18:42:26.746Z] 4872d77fe225: Download complete [2023-03-07T18:42:26.746Z] 5851b861e8e6: Download complete [2023-03-07T18:42:26.746Z] b85a868b505f: Download complete [2023-03-07T18:42:27.005Z] bab4dde63d76: Verifying Checksum [2023-03-07T18:42:27.005Z] bab4dde63d76: Download complete [2023-03-07T18:42:28.378Z] b85a868b505f: Pull complete [2023-03-07T18:42:28.378Z] e2be974225ed: Pull complete [2023-03-07T18:42:28.636Z] 339a4e72a1f5: Pull complete [2023-03-07T18:42:28.895Z] 988bab9f4d93: Pull complete [2023-03-07T18:42:29.153Z] 1469e6f7b9e6: Pull complete [2023-03-07T18:42:29.153Z] eaf3925da568: Pull complete [2023-03-07T18:42:31.067Z] bab4dde63d76: Pull complete [2023-03-07T18:42:31.067Z] bde34c3a00c8: Pull complete [2023-03-07T18:42:31.067Z] b352a97aabf1: Pull complete [2023-03-07T18:42:31.328Z] 4872d77fe225: Pull complete [2023-03-07T18:42:31.328Z] 5851b861e8e6: Pull complete [2023-03-07T18:42:31.328Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T18:42:31.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:42:31.328Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:42:31.417Z] prd-ubuntu20.04-docker-8c-8g-8607 does not seem to be running inside a container [2023-03-07T18:42:31.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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-03-07T18:42:33.978Z] $ docker top ac43bb12394eeb965e93467761bec42408322554401e4a0ab859a25fa38075ec -eo pid,comm [2023-03-07T18:42:34.027Z] 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-03-07T18:42:34.027Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T18:42:34.067Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T18:42:34.067Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T18:42:34.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T18:42:34.185Z] $ docker exec ac43bb12394eeb965e93467761bec42408322554401e4a0ab859a25fa38075ec ssh-agent [2023-03-07T18:42:34.296Z] SSH_AUTH_SOCK=/tmp/ssh-LNf2gAb6typg/agent.32 [2023-03-07T18:42:34.296Z] SSH_AGENT_PID=38 [2023-03-07T18:42:34.303Z] Running ssh-add (command line suppressed) [2023-03-07T18:42:34.412Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_15939744346315274207.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_15939744346315274207.key) [2023-03-07T18:42:34.422Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T18:42:34.707Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T18:42:34.726Z] $ docker exec --env ******** --env ******** ac43bb12394eeb965e93467761bec42408322554401e4a0ab859a25fa38075ec ssh-agent -k [2023-03-07T18:42:34.828Z] unset SSH_AUTH_SOCK; [2023-03-07T18:42:34.829Z] unset SSH_AGENT_PID; [2023-03-07T18:42:34.829Z] echo Agent pid 38 killed; [2023-03-07T18:42:34.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T18:42:34.862Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T18:42:34.862Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T18:42:34.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T18:42:34.976Z] $ docker exec ac43bb12394eeb965e93467761bec42408322554401e4a0ab859a25fa38075ec ssh-agent [2023-03-07T18:42:35.095Z] SSH_AUTH_SOCK=/tmp/ssh-TKii3ON5LfUc/agent.70 [2023-03-07T18:42:35.095Z] SSH_AGENT_PID=76 [2023-03-07T18:42:35.100Z] Running ssh-add (command line suppressed) [2023-03-07T18:42:35.208Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_12952635791844659665.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_12952635791844659665.key) [2023-03-07T18:42:35.219Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T18:42:35.509Z] + git semver init [2023-03-07T18:42:35.768Z] 2023-03-07 18:42:35,733 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T18:42:35.768Z] 2023-03-07 18:42:35,734 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver [2023-03-07T18:42:35.768Z] 2023-03-07 18:42:35,735 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver [2023-03-07T18:42:35.768Z] 2023-03-07 18:42:35,735 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345, universal_newlines=False, shell=None, istream=None) [2023-03-07T18:42:36.706Z] 2023-03-07 18:42:36,650 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.git/info/exclude [2023-03-07T18:42:36.707Z] 2023-03-07 18:42:36,650 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 with force:False [2023-03-07T18:42:36.707Z] 2023-03-07 18:42:36,650 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 [2023-03-07T18:42:36.707Z] 2023-03-07 18:42:36,655 [execute] INFO git cat-file --batch-check [2023-03-07T18:42:36.707Z] 2023-03-07 18:42:36,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T18:42:36.707Z] 2023-03-07 18:42:36,662 [execute] INFO git cat-file --batch [2023-03-07T18:42:36.707Z] 2023-03-07 18:42:36,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T18:42:36.707Z] 2023-03-07 18:42:36,669 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 [2023-03-07T18:42:36.707Z] 0.0.0 [Pipeline] } [2023-03-07T18:42:36.721Z] $ docker exec --env ******** --env ******** ac43bb12394eeb965e93467761bec42408322554401e4a0ab859a25fa38075ec ssh-agent -k [2023-03-07T18:42:36.829Z] unset SSH_AUTH_SOCK; [2023-03-07T18:42:36.830Z] unset SSH_AGENT_PID; [2023-03-07T18:42:36.830Z] echo Agent pid 76 killed; [2023-03-07T18:42:36.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T18:42:37.140Z] + git semver [Pipeline] } [2023-03-07T18:42:37.414Z] $ docker stop --time=1 ac43bb12394eeb965e93467761bec42408322554401e4a0ab859a25fa38075ec [2023-03-07T18:42:38.690Z] $ docker rm -f --volumes ac43bb12394eeb965e93467761bec42408322554401e4a0ab859a25fa38075ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:42:39.039Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T18:42:39.252Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T18:42:39.255Z] [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-03-07T18:42:39.398Z] provisioning config files... [2023-03-07T18:42:39.408Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config17997116090067788790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:42:39.706Z] ---> docker-login.sh [2023-03-07T18:42:39.706Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:42:39.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:39.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:39.706Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:39.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:39.706Z] [2023-03-07T18:42:39.706Z] Login Succeeded [2023-03-07T18:42:39.706Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:42:39.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:39.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:39.706Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:39.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:39.706Z] [2023-03-07T18:42:39.706Z] Login Succeeded [2023-03-07T18:42:39.706Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:42:39.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:39.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:39.966Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:39.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:39.966Z] [2023-03-07T18:42:39.966Z] Login Succeeded [2023-03-07T18:42:39.966Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:42:39.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:39.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:39.966Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:39.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:39.966Z] [2023-03-07T18:42:39.966Z] Login Succeeded [2023-03-07T18:42:39.966Z] docker.io [2023-03-07T18:42:40.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:42:40.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:42:40.226Z] Configure a credential helper to remove this warning. See [2023-03-07T18:42:40.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:42:40.226Z] [2023-03-07T18:42:40.226Z] Login Succeeded [2023-03-07T18:42:40.226Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:42:40.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T18:42:40.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:42:40.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:42:40.310Z] ========================================================= [2023-03-07T18:42:40.310Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T18:42:40.310Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:42:40.611Z] + 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-03-07T18:42:40.611Z] Sending build context to Docker daemon 10.85MB [2023-03-07T18:42:40.611Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:42:40.611Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T18:42:40.611Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T18:42:40.611Z] 213ec9aee27d: Pulling fs layer [2023-03-07T18:42:40.611Z] 4583459ba037: Pulling fs layer [2023-03-07T18:42:40.611Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T18:42:40.611Z] 53926ce57604: Pulling fs layer [2023-03-07T18:42:40.611Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T18:42:40.611Z] 22ff95d597cd: Pulling fs layer [2023-03-07T18:42:40.611Z] 53926ce57604: Waiting [2023-03-07T18:42:40.611Z] 21b2b0c7a3f4: Waiting [2023-03-07T18:42:40.611Z] 22ff95d597cd: Waiting [2023-03-07T18:42:40.611Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T18:42:40.611Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T18:42:40.611Z] a7acece74701: Pulling fs layer [2023-03-07T18:42:40.611Z] 96b7cbca73a9: Waiting [2023-03-07T18:42:40.611Z] 12d6caf4c0d1: Waiting [2023-03-07T18:42:40.877Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T18:42:40.877Z] 93c1e223e6f2: Download complete [2023-03-07T18:42:40.877Z] 4583459ba037: Verifying Checksum [2023-03-07T18:42:40.877Z] 4583459ba037: Download complete [2023-03-07T18:42:40.877Z] 21b2b0c7a3f4: Download complete [2023-03-07T18:42:40.877Z] 22ff95d597cd: Download complete [2023-03-07T18:42:40.877Z] 213ec9aee27d: Verifying Checksum [2023-03-07T18:42:40.877Z] 213ec9aee27d: Download complete [2023-03-07T18:42:40.877Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T18:42:40.877Z] 12d6caf4c0d1: Download complete [2023-03-07T18:42:40.877Z] 213ec9aee27d: Pull complete [2023-03-07T18:42:41.139Z] 4583459ba037: Pull complete [2023-03-07T18:42:41.139Z] 93c1e223e6f2: Pull complete [2023-03-07T18:42:41.399Z] a7acece74701: Verifying Checksum [2023-03-07T18:42:41.399Z] a7acece74701: Download complete [2023-03-07T18:42:41.657Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T18:42:41.657Z] 96b7cbca73a9: Download complete [2023-03-07T18:42:41.657Z] 53926ce57604: Verifying Checksum [2023-03-07T18:42:41.657Z] 53926ce57604: Download complete [2023-03-07T18:42:45.850Z] 53926ce57604: Pull complete [2023-03-07T18:42:45.850Z] 21b2b0c7a3f4: Pull complete [2023-03-07T18:42:45.850Z] 22ff95d597cd: Pull complete [2023-03-07T18:42:45.850Z] 12d6caf4c0d1: Pull complete [2023-03-07T18:42:48.379Z] 96b7cbca73a9: Pull complete [2023-03-07T18:42:48.946Z] a7acece74701: Pull complete [2023-03-07T18:42:48.947Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T18:42:48.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T18:42:48.947Z] ---> db6d94c90886 [2023-03-07T18:42:48.947Z] Step 3/10 : ARG MAKE=make build [2023-03-07T18:42:54.216Z] ---> Running in 14d790fdc609 [2023-03-07T18:42:54.216Z] Removing intermediate container 14d790fdc609 [2023-03-07T18:42:54.216Z] ---> a14e605ea01b [2023-03-07T18:42:54.216Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T18:42:54.216Z] ---> Running in a1f2ac82b6a0 [2023-03-07T18:42:54.216Z] Removing intermediate container a1f2ac82b6a0 [2023-03-07T18:42:54.216Z] ---> 9b08c1dd09db [2023-03-07T18:42:54.216Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T18:42:54.216Z] ---> Running in 91210df40182 [2023-03-07T18:42:54.216Z] Removing intermediate container 91210df40182 [2023-03-07T18:42:54.216Z] ---> 64412a3afea2 [2023-03-07T18:42:54.216Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T18:42:54.366Z] Still waiting to schedule task [2023-03-07T18:42:54.366Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8604’ [2023-03-07T18:42:54.475Z] ---> Running in 78814a8b04ba [2023-03-07T18:42:54.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:42:54.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:42:54.993Z] OK: 211 MiB in 51 packages [2023-03-07T18:42:55.562Z] Removing intermediate container 78814a8b04ba [2023-03-07T18:42:55.562Z] ---> 76af9c45a05a [2023-03-07T18:42:55.562Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T18:42:55.562Z] ---> 8677e2cdb08a [2023-03-07T18:42:55.562Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:42:55.562Z] ---> Running in e5d37c9d3caa [2023-03-07T18:43:22.203Z] Removing intermediate container e5d37c9d3caa [2023-03-07T18:43:22.203Z] ---> 4999f90d0f07 [2023-03-07T18:43:22.203Z] Step 9/10 : COPY . . [2023-03-07T18:43:22.461Z] ---> 11988066a637 [2023-03-07T18:43:22.461Z] Step 10/10 : RUN ${MAKE} [2023-03-07T18:43:22.461Z] ---> Running in dcf1de6ee9f0 [2023-03-07T18:43:22.720Z] noop [2023-03-07T18:43:22.978Z] Removing intermediate container dcf1de6ee9f0 [2023-03-07T18:43:22.978Z] ---> 05adda37c60e [2023-03-07T18:43:22.978Z] Successfully built 05adda37c60e [2023-03-07T18:43:22.978Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:43:23.295Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T18:43:23.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:43:23.364Z] prd-ubuntu20.04-docker-8c-8g-8607 does not seem to be running inside a container [2023-03-07T18:43:23.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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-03-07T18:43:23.754Z] $ docker top b68e10bcd4d344082f574e81ca81fa548cfe67ae34c6ebac6596bdbc2d9913ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:43:24.094Z] + go version [2023-03-07T18:43:24.095Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T18:43:24.108Z] $ docker stop --time=1 b68e10bcd4d344082f574e81ca81fa548cfe67ae34c6ebac6596bdbc2d9913ba [2023-03-07T18:43:25.376Z] $ docker rm -f --volumes b68e10bcd4d344082f574e81ca81fa548cfe67ae34c6ebac6596bdbc2d9913ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:43:25.791Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T18:43:25.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:43:25.861Z] prd-ubuntu20.04-docker-8c-8g-8607 does not seem to be running inside a container [2023-03-07T18:43:25.890Z] $ 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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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-03-07T18:43:26.223Z] $ docker top f96de5255ae9c20a8abb099a94cddedb1e5e6a4abee2755d69798ac5802febe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:43:26.572Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] fileExists [Pipeline] sh [2023-03-07T18:43:26.863Z] + make test [2023-03-07T18:43:26.863Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T18:43:33.425Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T18:43:48.297Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T18:43:48.297Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T18:43:48.297Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T18:43:48.297Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T18:43:48.297Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T18:43:48.297Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements [2023-03-07T18:43:48.297Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.069s coverage: 78.9% of statements [2023-03-07T18:43:48.297Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.105s coverage: 86.0% of statements [2023-03-07T18:43:48.297Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T18:43:48.297Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T18:43:48.865Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 75.4% of statements [2023-03-07T18:43:48.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T18:43:52.151Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.077s coverage: 15.3% of statements [2023-03-07T18:43:52.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T18:43:52.151Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.109s coverage: 65.2% of statements [2023-03-07T18:43:52.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T18:43:52.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T18:43:52.151Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.741s coverage: 89.2% of statements [2023-03-07T18:43:52.151Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.077s coverage: 4.7% of statements [2023-03-07T18:43:52.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T18:44:10.231Z] 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-03-07T18:44:10.231Z] GO111MODULE=on go vet ./... [2023-03-07T18:44:12.127Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T18:44:12.127Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T18:44:12.386Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T18:44:12.401Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T18:44:12.418Z] $ docker stop --time=1 f96de5255ae9c20a8abb099a94cddedb1e5e6a4abee2755d69798ac5802febe7 [2023-03-07T18:44:15.756Z] $ docker rm -f --volumes f96de5255ae9c20a8abb099a94cddedb1e5e6a4abee2755d69798ac5802febe7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:44:16.261Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T18:44:16.342Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T18:44:16.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T18:44:17.036Z] + ls -al . [2023-03-07T18:44:17.036Z] total 280 [2023-03-07T18:44:17.036Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 18:43 . [2023-03-07T18:44:17.036Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:42 .. [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 18:42 .dockerignore [2023-03-07T18:44:17.036Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:43 .git [2023-03-07T18:44:17.036Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:42 .github [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 18:42 .gitignore [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:42 .golangci.yml [2023-03-07T18:44:17.036Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:42 .semver [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 18:42 CHANGELOG.md [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:42 GOVERNANCE.md [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 18:42 Jenkinsfile [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 18:42 LICENSE [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 18:42 Makefile [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 18:42 OWNERS.md [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 18:42 README.md [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:42 VERSION [2023-03-07T18:44:17.036Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:42 bin [2023-03-07T18:44:17.036Z] -rw-r--r-- 1 jenkins jenkins 110997 Mar 7 18:43 coverage.out [2023-03-07T18:44:17.036Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 18:42 example [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 18:42 go.mod [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 18:42 go.sum [2023-03-07T18:44:17.036Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 18:42 internal [2023-03-07T18:44:17.036Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:42 openapi [2023-03-07T18:44:17.036Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 18:42 pkg [2023-03-07T18:44:17.036Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:42 snap [2023-03-07T18:44:17.036Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:44:17.334Z] + 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=4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 --label arch=amd64 --label version=0.0.0 . [2023-03-07T18:44:17.334Z] Sending build context to Docker daemon 10.96MB [2023-03-07T18:44:17.334Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:44:17.334Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T18:44:17.334Z] ---> 05adda37c60e [2023-03-07T18:44:17.334Z] Step 3/23 : ARG MAKE=make build [2023-03-07T18:44:17.593Z] ---> Running in 34313dc17ef1 [2023-03-07T18:44:17.852Z] Removing intermediate container 34313dc17ef1 [2023-03-07T18:44:17.852Z] ---> 5ca052e4647c [2023-03-07T18:44:17.852Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T18:44:17.852Z] ---> Running in dc924de2707a [2023-03-07T18:44:17.852Z] Removing intermediate container dc924de2707a [2023-03-07T18:44:17.852Z] ---> dea3026e6d11 [2023-03-07T18:44:17.852Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T18:44:17.852Z] ---> Running in 4e5213b5198e [2023-03-07T18:44:17.852Z] Removing intermediate container 4e5213b5198e [2023-03-07T18:44:17.852Z] ---> e05822158188 [2023-03-07T18:44:17.852Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T18:44:17.852Z] ---> Running in d5034ba5e473 [2023-03-07T18:44:18.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:44:18.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:44:18.628Z] OK: 211 MiB in 51 packages [2023-03-07T18:44:18.886Z] Removing intermediate container d5034ba5e473 [2023-03-07T18:44:18.886Z] ---> 06b32924567f [2023-03-07T18:44:18.886Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T18:44:19.145Z] ---> 8b46b80457e4 [2023-03-07T18:44:19.145Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:44:19.145Z] ---> Running in 68224d06e549 [2023-03-07T18:44:20.081Z] Removing intermediate container 68224d06e549 [2023-03-07T18:44:20.081Z] ---> 32c489b3e202 [2023-03-07T18:44:20.081Z] Step 9/23 : COPY . . [2023-03-07T18:44:20.649Z] ---> e4a6948ca001 [2023-03-07T18:44:20.649Z] Step 10/23 : RUN ${MAKE} [2023-03-07T18:44:20.649Z] ---> Running in c37b67acbb49 [2023-03-07T18:44:20.908Z] 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-03-07T18:44:47.452Z] Removing intermediate container c37b67acbb49 [2023-03-07T18:44:47.452Z] ---> afe365d45bea [2023-03-07T18:44:47.452Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T18:44:47.452Z] 3.16: Pulling from library/alpine [2023-03-07T18:44:47.452Z] ef5531b6e74e: Pulling fs layer [2023-03-07T18:44:47.452Z] ef5531b6e74e: Verifying Checksum [2023-03-07T18:44:47.452Z] ef5531b6e74e: Download complete [2023-03-07T18:44:47.452Z] ef5531b6e74e: Pull complete [2023-03-07T18:44:47.452Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T18:44:47.452Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T18:44:47.452Z] ---> dfd21b5a31f5 [2023-03-07T18:44:47.452Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T18:44:47.452Z] ---> Running in 7130557feaad [2023-03-07T18:44:47.452Z] Removing intermediate container 7130557feaad [2023-03-07T18:44:47.452Z] ---> 0eaac3ff60f7 [2023-03-07T18:44:47.452Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T18:44:47.452Z] ---> Running in 606d790f9291 [2023-03-07T18:44:47.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:44:47.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:44:47.452Z] OK: 6 MiB in 14 packages [2023-03-07T18:44:47.452Z] Removing intermediate container 606d790f9291 [2023-03-07T18:44:47.452Z] ---> 365f05bbec6b [2023-03-07T18:44:47.452Z] Step 14/23 : WORKDIR / [2023-03-07T18:44:47.452Z] ---> Running in 0688d9b67f40 [2023-03-07T18:44:47.452Z] Removing intermediate container 0688d9b67f40 [2023-03-07T18:44:47.452Z] ---> f516c05d3731 [2023-03-07T18:44:47.452Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T18:44:47.452Z] ---> a666b2a0de33 [2023-03-07T18:44:47.452Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T18:44:47.452Z] ---> 0f49f3f6f30c [2023-03-07T18:44:47.452Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T18:44:47.452Z] ---> ebc70210f918 [2023-03-07T18:44:47.452Z] Step 18/23 : EXPOSE 59999 [2023-03-07T18:44:47.452Z] ---> Running in f8217bd14088 [2023-03-07T18:44:47.452Z] Removing intermediate container f8217bd14088 [2023-03-07T18:44:47.452Z] ---> 7121f7caf788 [2023-03-07T18:44:47.452Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T18:44:47.452Z] ---> Running in 95eb847a0cd5 [2023-03-07T18:44:47.452Z] Removing intermediate container 95eb847a0cd5 [2023-03-07T18:44:47.452Z] ---> 20fe9e1ace1c [2023-03-07T18:44:47.452Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T18:44:47.452Z] ---> Running in d14d56a46c04 [2023-03-07T18:44:47.452Z] Removing intermediate container d14d56a46c04 [2023-03-07T18:44:47.452Z] ---> cf933cae574f [2023-03-07T18:44:47.452Z] Step 21/23 : LABEL arch=amd64 [2023-03-07T18:44:47.452Z] ---> Running in 445f00b8e0bf [2023-03-07T18:44:47.452Z] Removing intermediate container 445f00b8e0bf [2023-03-07T18:44:47.452Z] ---> 2a3a5f384244 [2023-03-07T18:44:47.452Z] Step 22/23 : LABEL git_sha=4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 [2023-03-07T18:44:47.452Z] ---> Running in daad95e60329 [2023-03-07T18:44:47.452Z] Removing intermediate container daad95e60329 [2023-03-07T18:44:47.452Z] ---> 2ea8e5940a7e [2023-03-07T18:44:47.452Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T18:44:47.452Z] ---> Running in bd953915fd51 [2023-03-07T18:44:47.452Z] Removing intermediate container bd953915fd51 [2023-03-07T18:44:47.452Z] ---> f64b73b3db43 [2023-03-07T18:44:47.452Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T18:44:47.452Z] Successfully built f64b73b3db43 [2023-03-07T18:44:47.452Z] 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-03-07T18:44:47.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:44:47.852Z] [2023-03-07T18:44:47.852Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:44:48.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:44:48.153Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T18:44:48.153Z] 5eb5b503b376: Pulling fs layer [2023-03-07T18:44:48.153Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T18:44:48.153Z] ec43610c2a17: Pulling fs layer [2023-03-07T18:44:48.153Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T18:44:48.153Z] 33b1e0a273af: Pulling fs layer [2023-03-07T18:44:48.153Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T18:44:48.153Z] 2f39f015ded8: Pulling fs layer [2023-03-07T18:44:48.153Z] 3a2ae6a8a46f: Waiting [2023-03-07T18:44:48.153Z] 33b1e0a273af: Waiting [2023-03-07T18:44:48.153Z] 5d3b04190fa2: Waiting [2023-03-07T18:44:48.153Z] 2f39f015ded8: Waiting [2023-03-07T18:44:48.153Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T18:44:48.153Z] 5c69ac0246d0: Download complete [2023-03-07T18:44:48.153Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T18:44:48.153Z] 3a2ae6a8a46f: Download complete [2023-03-07T18:44:48.413Z] 33b1e0a273af: Verifying Checksum [2023-03-07T18:44:48.413Z] 33b1e0a273af: Download complete [2023-03-07T18:44:48.413Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T18:44:48.413Z] 5d3b04190fa2: Download complete [2023-03-07T18:44:48.413Z] ec43610c2a17: Verifying Checksum [2023-03-07T18:44:48.413Z] ec43610c2a17: Download complete [2023-03-07T18:44:48.413Z] 5eb5b503b376: Verifying Checksum [2023-03-07T18:44:48.413Z] 5eb5b503b376: Download complete [2023-03-07T18:44:49.790Z] 5eb5b503b376: Pull complete [2023-03-07T18:44:49.790Z] 5c69ac0246d0: Pull complete [2023-03-07T18:44:50.355Z] ec43610c2a17: Pull complete [2023-03-07T18:44:50.355Z] 3a2ae6a8a46f: Pull complete [2023-03-07T18:44:50.614Z] 33b1e0a273af: Pull complete [2023-03-07T18:44:50.614Z] 5d3b04190fa2: Pull complete [2023-03-07T18:44:55.882Z] 2f39f015ded8: Pull complete [2023-03-07T18:44:55.882Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T18:44:55.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:44:55.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:44:55.963Z] prd-ubuntu20.04-docker-8c-8g-8607 does not seem to be running inside a container [2023-03-07T18:44:55.996Z] $ 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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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-03-07T18:44:59.887Z] $ docker top a69df2ed3ac929dd71ceea4da825399b1a85136db563fd4189293b651c17d1d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:45:00.248Z] ---> job-cost.sh [2023-03-07T18:45:00.248Z] lf-activate-venv: SKIPPING [2023-03-07T18:45:00.248Z] INFO: No Stack... [2023-03-07T18:45:00.507Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T18:45:01.073Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T18:45:01.359Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/cost.csv [2023-03-07T18:45:01.359Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T18:45:01.373Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-5-stack-cost] [2023-03-07T18:45:01.379Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-5-stack-cost] did not exist. Created. [2023-03-07T18:45:01.379Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T18:45:01.670Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T18:45:01.697Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T18:45:01.704Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T18:45:01.728Z] $ docker stop --time=1 a69df2ed3ac929dd71ceea4da825399b1a85136db563fd4189293b651c17d1d0 [2023-03-07T18:45:02.892Z] $ docker rm -f --volumes a69df2ed3ac929dd71ceea4da825399b1a85136db563fd4189293b651c17d1d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T18:45:29.982Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8612 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] { [Pipeline] ws [2023-03-07T18:45:29.996Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-03-07T18:45:30.034Z] The recommended git tool is: git [2023-03-07T18:45:36.001Z] using credential edgex-jenkins-ssh [2023-03-07T18:45:36.020Z] Cloning the remote Git repository [2023-03-07T18:45:36.068Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T18:45:36.157Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-03-07T18:45:36.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T18:45:36.344Z] > git --version # timeout=10 [2023-03-07T18:45:36.372Z] > git --version # 'git version 2.25.1' [2023-03-07T18:45:36.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:45:36.442Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T18:45:38.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T18:45:38.323Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T18:45:40.217Z] Merging remotes/origin/main commit 774c2037947f109106e5ac1f44e7b15f17fcf2b1 into PR head commit 6905a34b550db74fa7bee656b07304e99fd1342f [2023-03-07T18:45:39.354Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T18:45:39.400Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T18:45:39.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:45:39.420Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T18:45:40.235Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T18:45:40.620Z] Merge succeeded, producing 4ca6ddd332f71180be78a9cb1e82c0d99802d32a [2023-03-07T18:45:40.620Z] Checking out Revision 4ca6ddd332f71180be78a9cb1e82c0d99802d32a (PR-1345) [2023-03-07T18:45:40.265Z] > git checkout -f 6905a34b550db74fa7bee656b07304e99fd1342f # timeout=10 [2023-03-07T18:45:40.401Z] > git remote # timeout=10 [2023-03-07T18:45:40.429Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T18:45:40.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:45:40.467Z] > git merge 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 [2023-03-07T18:45:40.591Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T18:45:40.622Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T18:45:40.645Z] > git checkout -f 4ca6ddd332f71180be78a9cb1e82c0d99802d32a # timeout=10 [2023-03-07T18:45:44.291Z] Commit message: "Merge commit '774c2037947f109106e5ac1f44e7b15f17fcf2b1' into HEAD" [2023-03-07T18:45:44.297Z] > git rev-list --no-walk 6905a34b550db74fa7bee656b07304e99fd1342f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:45:45.335Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T18:45:45.335Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:45:45.335Z] Dload Upload Total Spent Left Speed [2023-03-07T18:45:45.335Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-03-07T18:45:46.056Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T18:45:46.419Z] + sudo tee /etc/docker/daemon.new [2023-03-07T18:45:46.419Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T18:45:46.419Z] { [2023-03-07T18:45:46.419Z] "registry-mirrors": [ [2023-03-07T18:45:46.419Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T18:45:46.419Z] ], [2023-03-07T18:45:46.419Z] "bip": "10.250.0.254/24", [2023-03-07T18:45:46.419Z] "hosts": [ [2023-03-07T18:45:46.419Z] "tcp://0.0.0.0:5555", [2023-03-07T18:45:46.419Z] "unix:///var/run/docker.sock" [2023-03-07T18:45:46.419Z] ], [2023-03-07T18:45:46.419Z] "mtu": 1458, [2023-03-07T18:45:46.419Z] "selinux-enabled": true, [2023-03-07T18:45:46.419Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T18:45:46.419Z] } [Pipeline] sh [2023-03-07T18:45:46.767Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T18:45:47.126Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:46:05.453Z] provisioning config files... [2023-03-07T18:46:05.488Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config16758764533981831748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:46:05.875Z] ---> docker-login.sh [2023-03-07T18:46:05.875Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:46:06.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:46:06.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:46:06.742Z] Configure a credential helper to remove this warning. See [2023-03-07T18:46:06.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:46:06.742Z] [2023-03-07T18:46:06.742Z] Login Succeeded [2023-03-07T18:46:06.742Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:46:07.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:46:07.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:46:07.022Z] Configure a credential helper to remove this warning. See [2023-03-07T18:46:07.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:46:07.022Z] [2023-03-07T18:46:07.022Z] Login Succeeded [2023-03-07T18:46:07.022Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:46:07.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:46:07.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:46:07.575Z] Configure a credential helper to remove this warning. See [2023-03-07T18:46:07.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:46:07.575Z] [2023-03-07T18:46:07.575Z] Login Succeeded [2023-03-07T18:46:07.575Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:46:07.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:46:07.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:46:07.852Z] Configure a credential helper to remove this warning. See [2023-03-07T18:46:07.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:46:07.852Z] [2023-03-07T18:46:07.852Z] Login Succeeded [2023-03-07T18:46:07.852Z] docker.io [2023-03-07T18:46:08.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:46:08.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:46:08.397Z] Configure a credential helper to remove this warning. See [2023-03-07T18:46:08.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:46:08.397Z] [2023-03-07T18:46:08.397Z] Login Succeeded [2023-03-07T18:46:08.669Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:46:08.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T18:46:09.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:46:09.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:46:09.037Z] ========================================================= [2023-03-07T18:46:09.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T18:46:09.037Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:46:09.409Z] + 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-03-07T18:46:10.000Z] Sending build context to Docker daemon 5.925MB [2023-03-07T18:46:10.000Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:46:10.000Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T18:46:10.285Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T18:46:10.285Z] 9b18e9b68314: Pulling fs layer [2023-03-07T18:46:10.285Z] 35d82f9e3411: Pulling fs layer [2023-03-07T18:46:10.285Z] e16973657156: Pulling fs layer [2023-03-07T18:46:10.285Z] fc693d55d65f: Pulling fs layer [2023-03-07T18:46:10.285Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T18:46:10.285Z] dda99020689f: Pulling fs layer [2023-03-07T18:46:10.285Z] db1c61fa0a46: Pulling fs layer [2023-03-07T18:46:10.285Z] 891c053d2c06: Pulling fs layer [2023-03-07T18:46:10.285Z] dda99020689f: Waiting [2023-03-07T18:46:10.285Z] fc693d55d65f: Waiting [2023-03-07T18:46:10.285Z] 7e9fc2657dce: Waiting [2023-03-07T18:46:10.285Z] db1c61fa0a46: Waiting [2023-03-07T18:46:10.285Z] 891c053d2c06: Waiting [2023-03-07T18:46:10.285Z] e16973657156: Verifying Checksum [2023-03-07T18:46:10.285Z] e16973657156: Download complete [2023-03-07T18:46:10.285Z] 35d82f9e3411: Verifying Checksum [2023-03-07T18:46:10.285Z] 35d82f9e3411: Download complete [2023-03-07T18:46:10.285Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T18:46:10.285Z] 7e9fc2657dce: Download complete [2023-03-07T18:46:10.285Z] dda99020689f: Verifying Checksum [2023-03-07T18:46:10.285Z] dda99020689f: Download complete [2023-03-07T18:46:10.285Z] 9b18e9b68314: Verifying Checksum [2023-03-07T18:46:10.285Z] 9b18e9b68314: Download complete [2023-03-07T18:46:11.265Z] 9b18e9b68314: Pull complete [2023-03-07T18:46:11.540Z] 891c053d2c06: Verifying Checksum [2023-03-07T18:46:11.540Z] 891c053d2c06: Download complete [2023-03-07T18:46:11.815Z] 35d82f9e3411: Pull complete [2023-03-07T18:46:12.410Z] e16973657156: Pull complete [2023-03-07T18:46:13.005Z] db1c61fa0a46: Verifying Checksum [2023-03-07T18:46:13.005Z] db1c61fa0a46: Download complete [2023-03-07T18:46:13.599Z] fc693d55d65f: Verifying Checksum [2023-03-07T18:46:13.599Z] fc693d55d65f: Download complete [2023-03-07T18:46:25.962Z] fc693d55d65f: Pull complete [2023-03-07T18:46:25.962Z] 7e9fc2657dce: Pull complete [2023-03-07T18:46:26.235Z] dda99020689f: Pull complete [2023-03-07T18:46:32.936Z] db1c61fa0a46: Pull complete [2023-03-07T18:46:35.544Z] 891c053d2c06: Pull complete [2023-03-07T18:46:35.544Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T18:46:35.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T18:46:35.544Z] ---> f96f9c87975a [2023-03-07T18:46:35.544Z] Step 3/10 : ARG MAKE=make build [2023-03-07T18:46:37.505Z] ---> Running in 69425629ffe2 [2023-03-07T18:46:37.773Z] Removing intermediate container 69425629ffe2 [2023-03-07T18:46:37.773Z] ---> d5ceb2288a3d [2023-03-07T18:46:37.774Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T18:46:38.043Z] ---> Running in 8e4575865e27 [2023-03-07T18:46:38.321Z] Removing intermediate container 8e4575865e27 [2023-03-07T18:46:38.321Z] ---> df7f85e97b6b [2023-03-07T18:46:38.321Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T18:46:38.321Z] ---> Running in 5c8eef0e40b2 [2023-03-07T18:46:38.907Z] Removing intermediate container 5c8eef0e40b2 [2023-03-07T18:46:38.907Z] ---> 181d660982dc [2023-03-07T18:46:38.907Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T18:46:38.907Z] ---> Running in 8f1b1cad2972 [2023-03-07T18:46:39.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:46:40.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:46:41.558Z] OK: 221 MiB in 51 packages [2023-03-07T18:46:42.147Z] Removing intermediate container 8f1b1cad2972 [2023-03-07T18:46:42.147Z] ---> 23b488eb765c [2023-03-07T18:46:42.147Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T18:46:42.734Z] ---> ea4f5dc8fdd4 [2023-03-07T18:46:42.734Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:46:42.734Z] ---> Running in 76669988fbcd [2023-03-07T18:47:50.685Z] Removing intermediate container 76669988fbcd [2023-03-07T18:47:50.685Z] ---> c54dac9229d1 [2023-03-07T18:47:50.685Z] Step 9/10 : COPY . . [2023-03-07T18:47:50.685Z] ---> aaf672e67413 [2023-03-07T18:47:50.685Z] Step 10/10 : RUN ${MAKE} [2023-03-07T18:47:50.685Z] ---> Running in 87e4887acb50 [2023-03-07T18:47:50.685Z] noop [2023-03-07T18:47:50.685Z] Removing intermediate container 87e4887acb50 [2023-03-07T18:47:50.685Z] ---> 912e9c9e1bcb [2023-03-07T18:47:50.685Z] Successfully built 912e9c9e1bcb [2023-03-07T18:47:50.685Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:47:51.036Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T18:47:51.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:47:51.241Z] prd-ubuntu20.04-docker-arm64-4c-16g-8612 does not seem to be running inside a container [2023-03-07T18:47:51.325Z] $ 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-03-07T18:47:52.615Z] $ docker top d74380a70fda956b21326201b25de734bee811d708a35ae8ffef9e344ea4b7d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:47:53.475Z] + go version [2023-03-07T18:47:53.475Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T18:47:53.509Z] $ docker stop --time=1 d74380a70fda956b21326201b25de734bee811d708a35ae8ffef9e344ea4b7d8 [2023-03-07T18:47:55.159Z] $ docker rm -f --volumes d74380a70fda956b21326201b25de734bee811d708a35ae8ffef9e344ea4b7d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:47:55.704Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T18:47:55.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:47:55.900Z] prd-ubuntu20.04-docker-arm64-4c-16g-8612 does not seem to be running inside a container [2023-03-07T18:47:55.984Z] $ 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-03-07T18:47:57.224Z] $ docker top 63495f105b57fc4d62fcd532816fde7add3199556fcc41ada9187f74299d37e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:47:58.059Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-03-07T18:47:58.713Z] + make test [2023-03-07T18:47:58.713Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T18:48:37.621Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T18:51:14.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T18:51:14.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T18:51:14.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T18:51:14.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T18:51:14.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T18:51:14.408Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.299s coverage: 27.6% of statements [2023-03-07T18:51:14.408Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.367s coverage: 78.9% of statements [2023-03-07T18:51:24.513Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.494s coverage: 86.0% of statements [2023-03-07T18:51:24.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T18:51:24.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T18:51:25.942Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.469s coverage: 75.4% of statements [2023-03-07T18:51:25.942Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T18:51:25.942Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.297s coverage: 15.3% of statements [2023-03-07T18:51:25.942Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T18:51:27.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.445s coverage: 65.2% of statements [2023-03-07T18:51:27.360Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T18:51:27.360Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T18:51:27.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.832s coverage: 89.2% of statements [2023-03-07T18:51:27.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.314s coverage: 4.7% of statements [2023-03-07T18:51:27.360Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T18:51:28.323Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T18:51:28.323Z] GO111MODULE=on go vet ./... [2023-03-07T18:53:20.049Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T18:53:20.049Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T18:53:20.049Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T18:53:20.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T18:53:20.097Z] $ docker stop --time=1 63495f105b57fc4d62fcd532816fde7add3199556fcc41ada9187f74299d37e5 [2023-03-07T18:53:22.008Z] $ docker rm -f --volumes 63495f105b57fc4d62fcd532816fde7add3199556fcc41ada9187f74299d37e5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:53:23.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T18:53:23.528Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T18:53:24.439Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:53:24.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T18:53:25.225Z] + ls -al . [2023-03-07T18:53:25.225Z] total 276 [2023-03-07T18:53:25.225Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 18:47 . [2023-03-07T18:53:25.225Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:45 .. [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 18:45 .dockerignore [2023-03-07T18:53:25.225Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:45 .git [2023-03-07T18:53:25.225Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:45 .github [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 18:45 .gitignore [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:45 .golangci.yml [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 18:45 CHANGELOG.md [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:45 GOVERNANCE.md [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 18:45 Jenkinsfile [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 18:45 LICENSE [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 18:45 Makefile [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 18:45 OWNERS.md [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 18:45 README.md [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:42 VERSION [2023-03-07T18:53:25.225Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:45 bin [2023-03-07T18:53:25.225Z] -rw-r--r-- 1 jenkins jenkins 110997 Mar 7 18:51 coverage.out [2023-03-07T18:53:25.225Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 18:45 example [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 18:45 go.mod [2023-03-07T18:53:25.225Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 18:45 go.sum [2023-03-07T18:53:25.225Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 18:45 internal [2023-03-07T18:53:25.225Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:45 openapi [2023-03-07T18:53:25.225Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 18:45 pkg [2023-03-07T18:53:25.225Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:45 snap [2023-03-07T18:53:25.226Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:53:25.592Z] + 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=4ca6ddd332f71180be78a9cb1e82c0d99802d32a --label arch=arm64 --label version=0.0.0 . [2023-03-07T18:53:26.216Z] Sending build context to Docker daemon 6.037MB [2023-03-07T18:53:26.216Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:53:26.216Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T18:53:26.216Z] ---> 912e9c9e1bcb [2023-03-07T18:53:26.216Z] Step 3/23 : ARG MAKE=make build [2023-03-07T18:53:26.493Z] ---> Running in a8d7e3bd8ab6 [2023-03-07T18:53:26.780Z] Removing intermediate container a8d7e3bd8ab6 [2023-03-07T18:53:26.780Z] ---> dfc62c512429 [2023-03-07T18:53:26.780Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T18:53:27.056Z] ---> Running in 8a96869abed8 [2023-03-07T18:53:29.295Z] Removing intermediate container 8a96869abed8 [2023-03-07T18:53:29.295Z] ---> 17d9586e75bb [2023-03-07T18:53:29.295Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T18:53:29.295Z] ---> Running in ef6867f41885 [2023-03-07T18:53:29.567Z] Removing intermediate container ef6867f41885 [2023-03-07T18:53:29.567Z] ---> 74a436892a40 [2023-03-07T18:53:29.567Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T18:53:29.567Z] ---> Running in d53241451b57 [2023-03-07T18:53:30.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:53:30.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:53:32.412Z] OK: 221 MiB in 51 packages [2023-03-07T18:53:33.379Z] Removing intermediate container d53241451b57 [2023-03-07T18:53:33.379Z] ---> fb4cf1b4f2c9 [2023-03-07T18:53:33.379Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T18:53:33.649Z] ---> b967683c4f11 [2023-03-07T18:53:33.649Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:53:33.921Z] ---> Running in 289bee5d1a69 [2023-03-07T18:53:36.511Z] Removing intermediate container 289bee5d1a69 [2023-03-07T18:53:36.511Z] ---> bc3d0939f700 [2023-03-07T18:53:36.511Z] Step 9/23 : COPY . . [2023-03-07T18:53:38.467Z] ---> d369723d03b1 [2023-03-07T18:53:38.467Z] Step 10/23 : RUN ${MAKE} [2023-03-07T18:53:38.467Z] ---> Running in 0ae117fc6135 [2023-03-07T18:53:39.434Z] 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-03-07T18:56:01.148Z] Removing intermediate container 0ae117fc6135 [2023-03-07T18:56:01.148Z] ---> a49c95a21d06 [2023-03-07T18:56:01.148Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T18:56:01.148Z] 3.16: Pulling from library/alpine [2023-03-07T18:56:01.148Z] 3760b48202b3: Pulling fs layer [2023-03-07T18:56:01.148Z] 3760b48202b3: Verifying Checksum [2023-03-07T18:56:01.148Z] 3760b48202b3: Download complete [2023-03-07T18:56:01.148Z] 3760b48202b3: Pull complete [2023-03-07T18:56:01.148Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T18:56:01.148Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T18:56:01.148Z] ---> 4c81e5bf8899 [2023-03-07T18:56:01.148Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T18:56:01.148Z] ---> Running in 120ab5a0ee21 [2023-03-07T18:56:01.148Z] Removing intermediate container 120ab5a0ee21 [2023-03-07T18:56:01.148Z] ---> eeba17f58730 [2023-03-07T18:56:01.148Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T18:56:01.148Z] ---> Running in 1f1a65369d72 [2023-03-07T18:56:01.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:56:01.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:56:01.148Z] OK: 5 MiB in 14 packages [2023-03-07T18:56:01.148Z] Removing intermediate container 1f1a65369d72 [2023-03-07T18:56:01.148Z] ---> 01176f03b567 [2023-03-07T18:56:01.148Z] Step 14/23 : WORKDIR / [2023-03-07T18:56:01.148Z] ---> Running in 924c58d655c7 [2023-03-07T18:56:01.148Z] Removing intermediate container 924c58d655c7 [2023-03-07T18:56:01.148Z] ---> 2b9db2ac3f0a [2023-03-07T18:56:01.148Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T18:56:01.734Z] ---> 0d527421b6e8 [2023-03-07T18:56:01.734Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T18:56:03.161Z] ---> 3b22ba8614d9 [2023-03-07T18:56:03.161Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T18:56:03.743Z] ---> c4f31618eb24 [2023-03-07T18:56:03.743Z] Step 18/23 : EXPOSE 59999 [2023-03-07T18:56:03.743Z] ---> Running in db02d33f1a50 [2023-03-07T18:56:04.009Z] Removing intermediate container db02d33f1a50 [2023-03-07T18:56:04.009Z] ---> fdd258b09146 [2023-03-07T18:56:04.009Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T18:56:04.009Z] ---> Running in 9c7a88ea4d08 [2023-03-07T18:56:04.282Z] Removing intermediate container 9c7a88ea4d08 [2023-03-07T18:56:04.282Z] ---> ac96f8cdcfce [2023-03-07T18:56:04.282Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T18:56:04.282Z] ---> Running in 72a0246b4bed [2023-03-07T18:56:04.550Z] Removing intermediate container 72a0246b4bed [2023-03-07T18:56:04.550Z] ---> d3df20a76345 [2023-03-07T18:56:04.550Z] Step 21/23 : LABEL arch=arm64 [2023-03-07T18:56:04.550Z] ---> Running in 524dfd9a04cb [2023-03-07T18:56:05.133Z] Removing intermediate container 524dfd9a04cb [2023-03-07T18:56:05.133Z] ---> 37ff84339a47 [2023-03-07T18:56:05.133Z] Step 22/23 : LABEL git_sha=4ca6ddd332f71180be78a9cb1e82c0d99802d32a [2023-03-07T18:56:05.133Z] ---> Running in d7e21d862cce [2023-03-07T18:56:05.399Z] Removing intermediate container d7e21d862cce [2023-03-07T18:56:05.399Z] ---> 741c98679506 [2023-03-07T18:56:05.399Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T18:56:05.399Z] ---> Running in 6f0749c538fe [2023-03-07T18:56:05.666Z] Removing intermediate container 6f0749c538fe [2023-03-07T18:56:05.666Z] ---> fc357f37f328 [2023-03-07T18:56:05.666Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T18:56:05.666Z] Successfully built fc357f37f328 [2023-03-07T18:56:05.666Z] 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-03-07T18:56:06.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:56:06.073Z] [2023-03-07T18:56:06.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:56:06.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:56:06.399Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T18:56:06.399Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T18:56:06.399Z] 04944245beec: Pulling fs layer [2023-03-07T18:56:06.399Z] 699f458cf7ca: Pulling fs layer [2023-03-07T18:56:06.399Z] 765212b225bb: Pulling fs layer [2023-03-07T18:56:06.399Z] f23df028b6ca: Pulling fs layer [2023-03-07T18:56:06.399Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T18:56:06.399Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T18:56:06.399Z] f23df028b6ca: Waiting [2023-03-07T18:56:06.399Z] d65c8cfc05b1: Waiting [2023-03-07T18:56:06.399Z] 765212b225bb: Waiting [2023-03-07T18:56:06.399Z] 2437ff75d9bd: Waiting [2023-03-07T18:56:06.668Z] 04944245beec: Verifying Checksum [2023-03-07T18:56:06.668Z] 04944245beec: Download complete [2023-03-07T18:56:06.668Z] 765212b225bb: Verifying Checksum [2023-03-07T18:56:06.668Z] 765212b225bb: Download complete [2023-03-07T18:56:06.668Z] f23df028b6ca: Verifying Checksum [2023-03-07T18:56:06.668Z] f23df028b6ca: Download complete [2023-03-07T18:56:06.668Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T18:56:06.668Z] d65c8cfc05b1: Download complete [2023-03-07T18:56:06.935Z] 699f458cf7ca: Verifying Checksum [2023-03-07T18:56:06.935Z] 699f458cf7ca: Download complete [2023-03-07T18:56:07.201Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T18:56:07.201Z] 8998bd30e6a1: Download complete [2023-03-07T18:56:09.771Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T18:56:09.771Z] 2437ff75d9bd: Download complete [2023-03-07T18:56:11.181Z] 8998bd30e6a1: Pull complete [2023-03-07T18:56:11.447Z] 04944245beec: Pull complete [2023-03-07T18:56:12.855Z] 699f458cf7ca: Pull complete [2023-03-07T18:56:13.123Z] 765212b225bb: Pull complete [2023-03-07T18:56:13.708Z] f23df028b6ca: Pull complete [2023-03-07T18:56:13.974Z] d65c8cfc05b1: Pull complete [2023-03-07T18:56:26.267Z] 2437ff75d9bd: Pull complete [2023-03-07T18:56:26.267Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T18:56:26.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:56:26.267Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:56:26.460Z] prd-ubuntu20.04-docker-arm64-4c-16g-8612 does not seem to be running inside a container [2023-03-07T18:56:26.542Z] $ 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-03-07T18:56:29.338Z] $ docker top 907689f77f3e4fcc045fdb9ebd27e65c7445fabafef5fcc119f15f19b1fd7be3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:56:30.195Z] ---> job-cost.sh [2023-03-07T18:56:30.195Z] lf-activate-venv: SKIPPING [2023-03-07T18:56:30.195Z] INFO: No Stack... [2023-03-07T18:56:30.780Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T18:56:31.742Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T18:56:32.392Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2023-03-07T18:56:32.392Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T18:56:32.460Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-5-stack-cost] [2023-03-07T18:56:32.466Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-5-stack-cost] did not exist. Created. [2023-03-07T18:56:32.467Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T18:56:33.125Z] /w/workspace/device-sdk-go/5@tmp/durable-cd56e744/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T18:56:33.777Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T18:56:33.802Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T18:56:33.864Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T18:56:33.871Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T18:56:33.906Z] $ docker stop --time=1 907689f77f3e4fcc045fdb9ebd27e65c7445fabafef5fcc119f15f19b1fd7be3 [2023-03-07T18:56:35.427Z] $ docker rm -f --volumes 907689f77f3e4fcc045fdb9ebd27e65c7445fabafef5fcc119f15f19b1fd7be3 [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-03-07T18:56:35.804Z] provisioning config files... [2023-03-07T18:56:35.812Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config3814562742366589511tmp [Pipeline] { [Pipeline] sh [2023-03-07T18:56:36.105Z] + set +x [2023-03-07T18:56:36.105Z] + bash -s -- [2023-03-07T18:56:36.105Z] + curl -s https://codecov.io/bash [2023-03-07T18:56:36.105Z] [2023-03-07T18:56:36.105Z] _____ _ [2023-03-07T18:56:36.105Z] / ____| | | [2023-03-07T18:56:36.105Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T18:56:36.105Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T18:56:36.105Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T18:56:36.105Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T18:56:36.105Z] Bash-1.0.6 [2023-03-07T18:56:36.105Z] [2023-03-07T18:56:36.105Z] [2023-03-07T18:56:36.105Z] ==> git version 2.25.1 found [2023-03-07T18:56:36.105Z] ==> 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-03-07T18:56:36.105Z] Release-Date: 2020-01-08 [2023-03-07T18:56:36.105Z] 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-03-07T18:56:36.105Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T18:56:36.105Z] ==> Jenkins CI detected. [2023-03-07T18:56:36.105Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-03-07T18:56:36.105Z] project root: . [2023-03-07T18:56:36.105Z] --> token set from env [2023-03-07T18:56:36.105Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T18:56:36.105Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T18:56:36.105Z] ==> Python coveragepy not found [2023-03-07T18:56:36.105Z] ==> Searching for coverage reports in: [2023-03-07T18:56:36.105Z] + . [2023-03-07T18:56:36.105Z] -> Found 1 reports [2023-03-07T18:56:36.105Z] ==> Detecting git/mercurial file structure [2023-03-07T18:56:36.105Z] ==> Reading reports [2023-03-07T18:56:36.105Z] + ./coverage.out bytes=110997 [2023-03-07T18:56:36.105Z] ==> Appending adjustments [2023-03-07T18:56:36.105Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T18:56:36.364Z] + Found adjustments [2023-03-07T18:56:36.364Z] ==> Gzipping contents [2023-03-07T18:56:36.364Z] 16K /tmp/codecov.SXHv4U.gz [2023-03-07T18:56:36.364Z] ==> Uploading reports [2023-03-07T18:56:36.364Z] url: https://codecov.io [2023-03-07T18:56:36.364Z] query: branch=PR-1345&commit=4b270bc3e5ccb9d0b8582bca392736cbf1e869f5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= [2023-03-07T18:56:36.624Z] -> Pinging Codecov [2023-03-07T18:56:36.624Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1345&commit=4b270bc3e5ccb9d0b8582bca392736cbf1e869f5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= [2023-03-07T18:56:37.562Z] -> Uploading to [2023-03-07T18:56:37.563Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/4b270bc3e5ccb9d0b8582bca392736cbf1e869f5/89a2cc21-d5a8-4e17-a5a4-8b0732598803.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T185637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c995da9cc83cc0fd1b38af10fb83fc83ebbffbeb4586ba039fa27d2d58972bb [2023-03-07T18:56:37.563Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:56:37.563Z] Dload Upload Total Spent Left Speed [2023-03-07T18:56:37.563Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15388 0 0 100 15388 0 63586 --:--:-- --:--:-- --:--:-- 63586 [2023-03-07T18:56:37.563Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4b270bc3e5ccb9d0b8582bca392736cbf1e869f5 [Pipeline] } [2023-03-07T18:56:37.570Z] 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-03-07T18:56:38.225Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives ] [2023-03-07T18:56:38.225Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-07T18:56:38.225Z] total 16 [2023-03-07T18:56:38.225Z] drwxr-xr-x 3 root root 4096 Mar 7 18:45 . [2023-03-07T18:56:38.225Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 18:45 .. [2023-03-07T18:56:38.225Z] drwxr-xr-x 2 root root 4096 Mar 7 18:45 cost [2023-03-07T18:56:38.225Z] -rw-r--r-- 1 root root 86 Mar 7 18:45 cost.csv [2023-03-07T18:56:38.225Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-07T18:56:38.225Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-07T18:56:38.225Z] total 16 [2023-03-07T18:56:38.225Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:45 . [2023-03-07T18:56:38.225Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 18:45 .. [2023-03-07T18:56:38.225Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 18:45 cost [2023-03-07T18:56:38.225Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:56:38.514Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:56:39.369Z] ---> package-listing.sh [2023-03-07T18:56:39.369Z] ++ facter osfamily [2023-03-07T18:56:39.369Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T18:56:39.629Z] + OS_FAMILY=debian [2023-03-07T18:56:39.630Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-03-07T18:56:39.630Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T18:56:39.630Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T18:56:39.630Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T18:56:39.630Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T18:56:39.630Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' [2023-03-07T18:56:39.630Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T18:56:39.630Z] + case "${OS_FAMILY}" in [2023-03-07T18:56:39.630Z] + dpkg -l [2023-03-07T18:56:39.630Z] + grep '^ii' [2023-03-07T18:56:39.630Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T18:56:39.630Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T18:56:39.630Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T18:56:39.630Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' [2023-03-07T18:56:39.630Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [2023-03-07T18:56:39.630Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [Pipeline] echo [2023-03-07T18:56:39.641Z] 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-1345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T18:56:39.919Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:56:40.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:56:40.475Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:56:40.548Z] prd-ubuntu20.04-docker-8c-8g-8607 does not seem to be running inside a container [2023-03-07T18:56:40.582Z] $ 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-1345/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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@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-03-07T18:56:40.804Z] $ docker top 8487ddb880f0d2f4861bba03f1594ded79be4e02f831956a1e5745df44c59ac7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:56:41.150Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T18:56:41.436Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T18:56:41.720Z] + ls /var/log/sa-host [2023-03-07T18:56:41.720Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:56:41.789Z] provisioning config files... [2023-03-07T18:56:41.797Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config1113189469298937971tmp [Pipeline] { [Pipeline] echo [2023-03-07T18:56:41.811Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:56:42.092Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T18:56:42.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:56:42.425Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T18:56:42.434Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:56:42.719Z] ---> sudo-logs.sh [2023-03-07T18:56:42.719Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T18:56:42.743Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:56:43.028Z] ---> job-cost.sh [2023-03-07T18:56:43.028Z] lf-activate-venv: SKIPPING [2023-03-07T18:56:43.028Z] DEBUG: total: 0.2199999988079071 [2023-03-07T18:56:43.028Z] INFO: Retrieving Stack Cost... [2023-03-07T18:56:43.597Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T18:56:43.857Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T18:56:43.870Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:56:44.155Z] ---> logs-deploy.sh [2023-03-07T18:56:44.155Z] lf-activate-venv: SKIPPING [2023-03-07T18:56:44.155Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1345/5 [2023-03-07T18:56:44.155Z] INFO: archiving workspace using pattern(s): [2023-03-07T18:56:45.092Z] Archives upload complete. [2023-03-07T18:56:45.353Z] INFO: archiving logs to Nexus