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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 rather than fad7a1e2c560019197ab19bbba7a11372a68c49b Obtained Jenkinsfile from 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 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-ssh1874112425230699492.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-ssh12207666983812503553.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-1348/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-1348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9294412375309426757.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-ssh7779261009528415881.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-1348/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-1348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9536457012995123612.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-7381 in /w/workspace/gexfoundry_device-sdk-go_PR-1348 [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-1348 # 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/1348/head:refs/remotes/origin/PR-1348 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 into PR head commit fad7a1e2c560019197ab19bbba7a11372a68c49b Merge succeeded, producing 54d3a6bb7e47e7359e34aff66f92d54c77c74301 Checking out Revision 54d3a6bb7e47e7359e34aff66f92d54c77c74301 (PR-1348) > git config core.sparsecheckout # timeout=10 > git checkout -f fad7a1e2c560019197ab19bbba7a11372a68c49b # 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 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54d3a6bb7e47e7359e34aff66f92d54c77c74301 # timeout=10 Commit message: "Merge commit '5c1e0dd5a754f3bad37da38710a9de66bfde6ab8' into HEAD" > git rev-list --no-walk fad7a1e2c560019197ab19bbba7a11372a68c49b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-24T18:42:20.596Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-24T18:42:20.664Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-24T18:42:20.681Z] ========================================================= [2023-02-24T18:42:20.681Z] EdgeX Global Pipelines Version Info [2023-02-24T18:42:20.681Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:42:21.377Z] ------------------- [2023-02-24T18:42:21.377Z] stable info: [2023-02-24T18:42:21.377Z] ------------------- [2023-02-24T18:42:21.377Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-24T18:42:21.377Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T18:42:21.377Z] Message: update stable to v1.0.244 [2023-02-24T18:42:21.948Z] ------------------- [2023-02-24T18:42:21.948Z] experimental info: [2023-02-24T18:42:21.948Z] ------------------- [2023-02-24T18:42:21.948Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-24T18:42:21.948Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T18:42:21.948Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-24T18:42:22.113Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-24T18:42:22.125Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-24T18:42:22.137Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-24T18:42:22.152Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-24T18:42:22.161Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-24T18:42:22.173Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-24T18:42:22.184Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-24T18:42:22.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-24T18:42:22.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-24T18:42:22.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-24T18:42:22.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-24T18:42:22.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-24T18:42:22.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-24T18:42:22.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-24T18:42:22.275Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-24T18:42:22.287Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T18:42:22.299Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T18:42:22.310Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T18:42:22.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-24T18:42:22.334Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-24T18:42:22.346Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-24T18:42:22.358Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-24T18:42:22.370Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-24T18:42:22.381Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-24T18:42:22.389Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-24T18:42:22.398Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-24T18:42:22.407Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-24T18:42:22.415Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1348 [Pipeline] echo [2023-02-24T18:42:22.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1348 [Pipeline] echo [2023-02-24T18:42:22.432Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1348 [Pipeline] echo [2023-02-24T18:42:22.441Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 54d3a6bb7e47e7359e34aff66f92d54c77c74301 [Pipeline] echo [2023-02-24T18:42:22.450Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 54d3a6b [Pipeline] echo [2023-02-24T18:42:22.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T18:42:22.504Z] provisioning config files... [2023-02-24T18:42:22.517Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config5352719462766552624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:42:22.818Z] ---> docker-login.sh [2023-02-24T18:42:22.818Z] nexus3.edgexfoundry.org:10001 [2023-02-24T18:42:23.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:23.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:23.078Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:23.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:23.079Z] [2023-02-24T18:42:23.079Z] Login Succeeded [2023-02-24T18:42:23.079Z] nexus3.edgexfoundry.org:10002 [2023-02-24T18:42:23.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:23.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:23.338Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:23.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:23.338Z] [2023-02-24T18:42:23.338Z] Login Succeeded [2023-02-24T18:42:23.338Z] nexus3.edgexfoundry.org:10003 [2023-02-24T18:42:23.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:23.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:23.338Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:23.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:23.338Z] [2023-02-24T18:42:23.338Z] Login Succeeded [2023-02-24T18:42:23.338Z] nexus3.edgexfoundry.org:10004 [2023-02-24T18:42:23.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:23.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:23.598Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:23.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:23.598Z] [2023-02-24T18:42:23.598Z] Login Succeeded [2023-02-24T18:42:23.598Z] docker.io [2023-02-24T18:42:23.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:23.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:23.858Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:23.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:23.858Z] [2023-02-24T18:42:23.858Z] Login Succeeded [2023-02-24T18:42:23.858Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T18:42:23.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-24T18:42:24.226Z] + git rev-list -1 --merges 54d3a6bb7e47e7359e34aff66f92d54c77c74301~1..54d3a6bb7e47e7359e34aff66f92d54c77c74301 [Pipeline] echo [2023-02-24T18:42:24.270Z] -----------> git rev-list -1 --merges 54d3a6bb7e47e7359e34aff66f92d54c77c74301~1..54d3a6bb7e47e7359e34aff66f92d54c77c74301 54d3a6bb7e47e7359e34aff66f92d54c77c74301 [2023-02-24T18:42:24.270Z] 54d3a6bb7e47e7359e34aff66f92d54c77c74301 [false] [Pipeline] sh [2023-02-24T18:42:24.555Z] + git log --format=format:%s -1 54d3a6bb7e47e7359e34aff66f92d54c77c74301 [Pipeline] echo [2023-02-24T18:42:24.570Z] ========================================================= [2023-02-24T18:42:24.570Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-24T18:42:24.570Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T18:42:24.909Z] + git log --format=format:%s -1 54d3a6bb7e47e7359e34aff66f92d54c77c74301 [Pipeline] echo [2023-02-24T18:42:24.921Z] [semverPrep] GIT_COMMIT: 54d3a6bb7e47e7359e34aff66f92d54c77c74301, Commit Message: Merge commit '5c1e0dd5a754f3bad37da38710a9de66bfde6ab8' into HEAD [Pipeline] echo [2023-02-24T18:42:24.930Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-24T18:42:25.267Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-24T18:42:25.267Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-24T18:42:25.267Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-24T18:42:25.267Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-24T18:42:25.267Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-24T18:42:25.267Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-24T18:42:25.267Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:42:25.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T18:42:25.612Z] [2023-02-24T18:42:25.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:42:25.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T18:42:25.922Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-24T18:42:25.922Z] b85a868b505f: Pulling fs layer [2023-02-24T18:42:25.922Z] e2be974225ed: Pulling fs layer [2023-02-24T18:42:25.922Z] 339a4e72a1f5: Pulling fs layer [2023-02-24T18:42:25.922Z] 988bab9f4d93: Pulling fs layer [2023-02-24T18:42:25.922Z] 1469e6f7b9e6: Pulling fs layer [2023-02-24T18:42:25.922Z] eaf3925da568: Pulling fs layer [2023-02-24T18:42:25.922Z] bab4dde63d76: Pulling fs layer [2023-02-24T18:42:25.922Z] bde34c3a00c8: Pulling fs layer [2023-02-24T18:42:25.922Z] b352a97aabf1: Pulling fs layer [2023-02-24T18:42:25.922Z] 4872d77fe225: Pulling fs layer [2023-02-24T18:42:25.922Z] 5851b861e8e6: Pulling fs layer [2023-02-24T18:42:25.922Z] bab4dde63d76: Waiting [2023-02-24T18:42:25.922Z] 4872d77fe225: Waiting [2023-02-24T18:42:25.922Z] 5851b861e8e6: Waiting [2023-02-24T18:42:25.922Z] 988bab9f4d93: Waiting [2023-02-24T18:42:25.922Z] b352a97aabf1: Waiting [2023-02-24T18:42:25.922Z] eaf3925da568: Waiting [2023-02-24T18:42:25.922Z] bde34c3a00c8: Waiting [2023-02-24T18:42:25.922Z] e2be974225ed: Download complete [2023-02-24T18:42:25.922Z] 988bab9f4d93: Download complete [2023-02-24T18:42:26.450Z] 1469e6f7b9e6: Verifying Checksum [2023-02-24T18:42:26.450Z] 1469e6f7b9e6: Download complete [2023-02-24T18:42:26.450Z] eaf3925da568: Verifying Checksum [2023-02-24T18:42:26.450Z] eaf3925da568: Download complete [2023-02-24T18:42:26.450Z] 339a4e72a1f5: Verifying Checksum [2023-02-24T18:42:26.450Z] 339a4e72a1f5: Download complete [2023-02-24T18:42:26.740Z] bde34c3a00c8: Verifying Checksum [2023-02-24T18:42:26.740Z] bde34c3a00c8: Download complete [2023-02-24T18:42:26.740Z] b352a97aabf1: Verifying Checksum [2023-02-24T18:42:26.740Z] b352a97aabf1: Download complete [2023-02-24T18:42:26.740Z] 4872d77fe225: Verifying Checksum [2023-02-24T18:42:26.740Z] 5851b861e8e6: Verifying Checksum [2023-02-24T18:42:26.740Z] 5851b861e8e6: Download complete [2023-02-24T18:42:26.740Z] b85a868b505f: Verifying Checksum [2023-02-24T18:42:26.740Z] b85a868b505f: Download complete [2023-02-24T18:42:26.999Z] bab4dde63d76: Download complete [2023-02-24T18:42:27.935Z] b85a868b505f: Pull complete [2023-02-24T18:42:27.935Z] e2be974225ed: Pull complete [2023-02-24T18:42:28.503Z] 339a4e72a1f5: Pull complete [2023-02-24T18:42:28.503Z] 988bab9f4d93: Pull complete [2023-02-24T18:42:28.763Z] 1469e6f7b9e6: Pull complete [2023-02-24T18:42:29.022Z] eaf3925da568: Pull complete [2023-02-24T18:42:30.926Z] bab4dde63d76: Pull complete [2023-02-24T18:42:30.926Z] bde34c3a00c8: Pull complete [2023-02-24T18:42:30.926Z] b352a97aabf1: Pull complete [2023-02-24T18:42:30.926Z] 4872d77fe225: Pull complete [2023-02-24T18:42:30.926Z] 5851b861e8e6: Pull complete [2023-02-24T18:42:31.189Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-24T18:42:31.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T18:42:31.189Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:42:31.279Z] prd-ubuntu20.04-docker-8c-8g-7381 does not seem to be running inside a container [2023-02-24T18:42:31.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-24T18:42:32.963Z] $ docker top bed076952e06e585f39b58f0c5edab040433833f44946325a24c2d7e44d23678 -eo pid,comm [2023-02-24T18:42:33.036Z] 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-02-24T18:42:33.037Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-24T18:42:33.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T18:42:33.089Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T18:42:33.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T18:42:33.202Z] $ docker exec bed076952e06e585f39b58f0c5edab040433833f44946325a24c2d7e44d23678 ssh-agent [2023-02-24T18:42:33.330Z] SSH_AUTH_SOCK=/tmp/ssh-6lpWyg4GwzGZ/agent.32 [2023-02-24T18:42:33.330Z] SSH_AGENT_PID=38 [2023-02-24T18:42:33.336Z] Running ssh-add (command line suppressed) [2023-02-24T18:42:33.431Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_2073441164352308802.key (/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_2073441164352308802.key) [2023-02-24T18:42:33.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T18:42:33.745Z] + git tag --points-at HEAD [Pipeline] } [2023-02-24T18:42:33.756Z] $ docker exec --env ******** --env ******** bed076952e06e585f39b58f0c5edab040433833f44946325a24c2d7e44d23678 ssh-agent -k [2023-02-24T18:42:33.867Z] unset SSH_AUTH_SOCK; [2023-02-24T18:42:33.867Z] unset SSH_AGENT_PID; [2023-02-24T18:42:33.867Z] echo Agent pid 38 killed; [2023-02-24T18:42:33.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-24T18:42:33.909Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T18:42:33.909Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T18:42:34.040Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T18:42:34.036Z] $ docker exec bed076952e06e585f39b58f0c5edab040433833f44946325a24c2d7e44d23678 ssh-agent [2023-02-24T18:42:34.151Z] SSH_AUTH_SOCK=/tmp/ssh-CWHpyhAklx0I/agent.71 [2023-02-24T18:42:34.151Z] SSH_AGENT_PID=77 [2023-02-24T18:42:34.155Z] Running ssh-add (command line suppressed) [2023-02-24T18:42:34.269Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_1391713966026441040.key (/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_1391713966026441040.key) [2023-02-24T18:42:34.289Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T18:42:34.574Z] + git semver init [2023-02-24T18:42:34.834Z] 2023-02-24 18:42:34,764 [run_init] DEBUG init version:0.0.0 force:False [2023-02-24T18:42:34.834Z] 2023-02-24 18:42:34,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver [2023-02-24T18:42:34.834Z] 2023-02-24 18:42:34,765 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver [2023-02-24T18:42:34.834Z] 2023-02-24 18:42:34,765 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1348, universal_newlines=False, shell=None, istream=None) [2023-02-24T18:42:36.216Z] 2023-02-24 18:42:35,833 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.git/info/exclude [2023-02-24T18:42:36.216Z] 2023-02-24 18:42:35,836 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver/PR-1348 with force:False [2023-02-24T18:42:36.216Z] 2023-02-24 18:42:35,836 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver/PR-1348 [2023-02-24T18:42:36.216Z] 2023-02-24 18:42:35,841 [execute] INFO git cat-file --batch-check [2023-02-24T18:42:36.216Z] 2023-02-24 18:42:35,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T18:42:36.216Z] 2023-02-24 18:42:35,848 [execute] INFO git cat-file --batch [2023-02-24T18:42:36.216Z] 2023-02-24 18:42:35,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T18:42:36.216Z] 2023-02-24 18:42:35,854 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver/PR-1348 [2023-02-24T18:42:36.216Z] 0.0.0 [Pipeline] } [2023-02-24T18:42:36.221Z] $ docker exec --env ******** --env ******** bed076952e06e585f39b58f0c5edab040433833f44946325a24c2d7e44d23678 ssh-agent -k [2023-02-24T18:42:36.331Z] unset SSH_AUTH_SOCK; [2023-02-24T18:42:36.332Z] unset SSH_AGENT_PID; [2023-02-24T18:42:36.332Z] echo Agent pid 77 killed; [2023-02-24T18:42:36.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-24T18:42:36.654Z] + git semver [Pipeline] } [2023-02-24T18:42:36.927Z] $ docker stop --time=1 bed076952e06e585f39b58f0c5edab040433833f44946325a24c2d7e44d23678 [2023-02-24T18:42:38.275Z] $ docker rm -f --volumes bed076952e06e585f39b58f0c5edab040433833f44946325a24c2d7e44d23678 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T18:42:38.641Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-24T18:42:38.843Z] Stashed 1 file(s) [Pipeline] echo [2023-02-24T18:42:38.847Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T18:42:38.992Z] provisioning config files... [2023-02-24T18:42:39.001Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config9956811603913167743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:42:39.296Z] ---> docker-login.sh [2023-02-24T18:42:39.296Z] nexus3.edgexfoundry.org:10001 [2023-02-24T18:42:39.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:39.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:39.296Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:39.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:39.296Z] [2023-02-24T18:42:39.296Z] Login Succeeded [2023-02-24T18:42:39.296Z] nexus3.edgexfoundry.org:10002 [2023-02-24T18:42:39.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:39.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:39.296Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:39.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:39.296Z] [2023-02-24T18:42:39.296Z] Login Succeeded [2023-02-24T18:42:39.296Z] nexus3.edgexfoundry.org:10003 [2023-02-24T18:42:39.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:39.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:39.556Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:39.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:39.556Z] [2023-02-24T18:42:39.556Z] Login Succeeded [2023-02-24T18:42:39.556Z] nexus3.edgexfoundry.org:10004 [2023-02-24T18:42:39.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:39.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:39.556Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:39.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:39.556Z] [2023-02-24T18:42:39.556Z] Login Succeeded [2023-02-24T18:42:39.556Z] docker.io [2023-02-24T18:42:39.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:39.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:39.815Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:39.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:39.815Z] [2023-02-24T18:42:39.815Z] Login Succeeded [2023-02-24T18:42:39.815Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T18:42:39.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T18:42:39.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T18:42:39.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T18:42:39.900Z] ========================================================= [2023-02-24T18:42:39.900Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-24T18:42:39.900Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:42:40.219Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T18:42:40.219Z] Sending build context to Docker daemon 10.57MB [2023-02-24T18:42:40.219Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T18:42:40.219Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-24T18:42:40.219Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-24T18:42:40.219Z] 213ec9aee27d: Pulling fs layer [2023-02-24T18:42:40.219Z] 4583459ba037: Pulling fs layer [2023-02-24T18:42:40.219Z] 93c1e223e6f2: Pulling fs layer [2023-02-24T18:42:40.219Z] 53926ce57604: Pulling fs layer [2023-02-24T18:42:40.219Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-24T18:42:40.219Z] 22ff95d597cd: Pulling fs layer [2023-02-24T18:42:40.219Z] 12d6caf4c0d1: Pulling fs layer [2023-02-24T18:42:40.219Z] 96b7cbca73a9: Pulling fs layer [2023-02-24T18:42:40.219Z] a7acece74701: Pulling fs layer [2023-02-24T18:42:40.219Z] 12d6caf4c0d1: Waiting [2023-02-24T18:42:40.219Z] 96b7cbca73a9: Waiting [2023-02-24T18:42:40.219Z] 53926ce57604: Waiting [2023-02-24T18:42:40.219Z] a7acece74701: Waiting [2023-02-24T18:42:40.219Z] 22ff95d597cd: Waiting [2023-02-24T18:42:40.219Z] 21b2b0c7a3f4: Waiting [2023-02-24T18:42:40.219Z] 93c1e223e6f2: Download complete [2023-02-24T18:42:40.219Z] 4583459ba037: Download complete [2023-02-24T18:42:40.482Z] 21b2b0c7a3f4: Download complete [2023-02-24T18:42:40.482Z] 22ff95d597cd: Download complete [2023-02-24T18:42:40.482Z] 213ec9aee27d: Verifying Checksum [2023-02-24T18:42:40.482Z] 213ec9aee27d: Download complete [2023-02-24T18:42:40.482Z] 12d6caf4c0d1: Download complete [2023-02-24T18:42:40.482Z] 213ec9aee27d: Pull complete [2023-02-24T18:42:40.755Z] 4583459ba037: Pull complete [2023-02-24T18:42:40.755Z] 93c1e223e6f2: Pull complete [2023-02-24T18:42:41.369Z] a7acece74701: Verifying Checksum [2023-02-24T18:42:41.369Z] a7acece74701: Download complete [2023-02-24T18:42:41.637Z] 53926ce57604: Verifying Checksum [2023-02-24T18:42:41.637Z] 53926ce57604: Download complete [2023-02-24T18:42:41.637Z] 96b7cbca73a9: Verifying Checksum [2023-02-24T18:42:41.637Z] 96b7cbca73a9: Download complete [2023-02-24T18:42:45.832Z] 53926ce57604: Pull complete [2023-02-24T18:42:45.832Z] 21b2b0c7a3f4: Pull complete [2023-02-24T18:42:45.832Z] 22ff95d597cd: Pull complete [2023-02-24T18:42:45.832Z] 12d6caf4c0d1: Pull complete [2023-02-24T18:42:47.736Z] 96b7cbca73a9: Pull complete [2023-02-24T18:42:48.668Z] a7acece74701: Pull complete [2023-02-24T18:42:48.668Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-24T18:42:48.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-24T18:42:48.668Z] ---> db6d94c90886 [2023-02-24T18:42:48.668Z] Step 3/10 : ARG MAKE=make build [2023-02-24T18:42:50.601Z] ---> Running in c2c6dbeb866b [2023-02-24T18:42:50.601Z] Removing intermediate container c2c6dbeb866b [2023-02-24T18:42:50.601Z] ---> 91a1e52677d6 [2023-02-24T18:42:50.601Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-24T18:42:50.860Z] ---> Running in b59389d33af7 [2023-02-24T18:42:50.860Z] Removing intermediate container b59389d33af7 [2023-02-24T18:42:50.860Z] ---> c54267775d7e [2023-02-24T18:42:50.860Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T18:42:51.129Z] ---> Running in 60df5d6c21aa [2023-02-24T18:42:51.388Z] Removing intermediate container 60df5d6c21aa [2023-02-24T18:42:51.388Z] ---> 1ee85cdc9222 [2023-02-24T18:42:51.388Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-24T18:42:51.388Z] ---> Running in e7a94b4d7ea5 [2023-02-24T18:42:51.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T18:42:51.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T18:42:52.218Z] OK: 211 MiB in 51 packages [2023-02-24T18:42:52.787Z] Removing intermediate container e7a94b4d7ea5 [2023-02-24T18:42:52.787Z] ---> a4b7a272194f [2023-02-24T18:42:52.787Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-24T18:42:52.787Z] ---> 1952bafd56a1 [2023-02-24T18:42:52.787Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T18:42:52.787Z] ---> Running in 39238bf64661 [2023-02-24T18:42:53.956Z] Still waiting to schedule task [2023-02-24T18:42:53.956Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7377’ [2023-02-24T18:43:19.340Z] Removing intermediate container 39238bf64661 [2023-02-24T18:43:19.340Z] ---> 9f018fd12401 [2023-02-24T18:43:19.340Z] Step 9/10 : COPY . . [2023-02-24T18:43:19.340Z] ---> b9408e378bec [2023-02-24T18:43:19.340Z] Step 10/10 : RUN ${MAKE} [2023-02-24T18:43:19.340Z] ---> Running in 1f62e07e7bed [2023-02-24T18:43:19.340Z] noop [2023-02-24T18:43:19.340Z] Removing intermediate container 1f62e07e7bed [2023-02-24T18:43:19.340Z] ---> c7dad96f2ac1 [2023-02-24T18:43:19.340Z] Successfully built c7dad96f2ac1 [2023-02-24T18:43:19.340Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:43:19.646Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T18:43:19.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:43:19.719Z] prd-ubuntu20.04-docker-8c-8g-7381 does not seem to be running inside a container [2023-02-24T18:43:19.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@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 ******** ci-base-image-x86_64 cat [2023-02-24T18:43:20.133Z] $ docker top 62cc4cdd5ce67494f3f078a31d938a226334c01dc6858c51d77a97e1c81ddacd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T18:43:20.470Z] + go version [2023-02-24T18:43:20.470Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-24T18:43:20.488Z] $ docker stop --time=1 62cc4cdd5ce67494f3f078a31d938a226334c01dc6858c51d77a97e1c81ddacd [2023-02-24T18:43:21.779Z] $ docker rm -f --volumes 62cc4cdd5ce67494f3f078a31d938a226334c01dc6858c51d77a97e1c81ddacd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:43:22.199Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T18:43:22.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:43:22.266Z] prd-ubuntu20.04-docker-8c-8g-7381 does not seem to be running inside a container [2023-02-24T18:43:22.304Z] $ 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-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@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 ******** ci-base-image-x86_64 cat [2023-02-24T18:43:22.667Z] $ docker top c02a32db5b9dad4d8e36398d758052eda9e8f534ec438c970c49c13082618aa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T18:43:23.005Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1348 [Pipeline] fileExists [Pipeline] sh [2023-02-24T18:43:23.303Z] + make test [2023-02-24T18:43:23.303Z] go test -race -coverprofile=coverage.out ./... [2023-02-24T18:43:29.879Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-24T18:43:42.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-24T18:43:42.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-24T18:43:42.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-24T18:43:42.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-24T18:43:42.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-24T18:43:42.070Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.066s coverage: 27.6% of statements [2023-02-24T18:43:42.070Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.076s coverage: 78.9% of statements [2023-02-24T18:43:42.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-24T18:43:42.070Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 86.0% of statements [2023-02-24T18:43:42.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-24T18:43:42.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-24T18:43:42.070Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 74.7% of statements [2023-02-24T18:43:42.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-24T18:43:45.355Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 15.5% of statements [2023-02-24T18:43:45.355Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-24T18:43:45.355Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.2% of statements [2023-02-24T18:43:45.355Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-24T18:43:45.355Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-24T18:43:45.355Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.737s coverage: 89.2% of statements [2023-02-24T18:43:45.355Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-24T18:43:45.355Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.6% of statements [2023-02-24T18:43:45.355Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-24T18:44:00.229Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-24T18:44:00.229Z] GO111MODULE=on go vet ./... [2023-02-24T18:44:02.763Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T18:44:02.763Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T18:44:02.763Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T18:44:02.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T18:44:02.796Z] $ docker stop --time=1 c02a32db5b9dad4d8e36398d758052eda9e8f534ec438c970c49c13082618aa8 [2023-02-24T18:44:04.712Z] $ docker rm -f --volumes c02a32db5b9dad4d8e36398d758052eda9e8f534ec438c970c49c13082618aa8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T18:44:05.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T18:44:05.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-24T18:44:05.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T18:44:05.946Z] + ls -al . [2023-02-24T18:44:05.946Z] total 284 [2023-02-24T18:44:05.946Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 24 18:43 . [2023-02-24T18:44:05.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:42 .. [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 18:42 .dockerignore [2023-02-24T18:44:05.946Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 18:43 .git [2023-02-24T18:44:05.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:42 .github [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 24 18:42 .gitignore [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 18:42 .golangci.yml [2023-02-24T18:44:05.946Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 18:42 .semver [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 24 18:42 CHANGELOG.md [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 18:42 GOVERNANCE.md [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 24 18:42 Jenkinsfile [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 18:42 LICENSE [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 24 18:42 Makefile [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 24 18:42 OWNERS.md [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 24 18:42 README.md [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 18:42 VERSION [2023-02-24T18:44:05.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:42 bin [2023-02-24T18:44:05.946Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 24 18:43 coverage.out [2023-02-24T18:44:05.946Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 18:42 example [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 24 18:42 go.mod [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 24 18:42 go.sum [2023-02-24T18:44:05.946Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 24 18:42 internal [2023-02-24T18:44:05.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 18:42 openapi [2023-02-24T18:44:05.946Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 18:42 pkg [2023-02-24T18:44:05.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:42 snap [2023-02-24T18:44:05.946Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:44:06.251Z] + 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=54d3a6bb7e47e7359e34aff66f92d54c77c74301 --label arch=amd64 --label version=0.0.0 . [2023-02-24T18:44:06.251Z] Sending build context to Docker daemon 10.68MB [2023-02-24T18:44:06.251Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T18:44:06.251Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-24T18:44:06.251Z] ---> c7dad96f2ac1 [2023-02-24T18:44:06.251Z] Step 3/23 : ARG MAKE=make build [2023-02-24T18:44:06.251Z] ---> Running in d1ec1e93ff9f [2023-02-24T18:44:06.509Z] Removing intermediate container d1ec1e93ff9f [2023-02-24T18:44:06.509Z] ---> a3a275639ee7 [2023-02-24T18:44:06.509Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-24T18:44:06.509Z] ---> Running in 0609a5f7fd68 [2023-02-24T18:44:06.509Z] Removing intermediate container 0609a5f7fd68 [2023-02-24T18:44:06.509Z] ---> 05706b3b44e6 [2023-02-24T18:44:06.509Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T18:44:06.509Z] ---> Running in a8cb8e76d6f1 [2023-02-24T18:44:06.767Z] Removing intermediate container a8cb8e76d6f1 [2023-02-24T18:44:06.767Z] ---> dc03fd0f75b0 [2023-02-24T18:44:06.767Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-24T18:44:06.767Z] ---> Running in 68d7f6383499 [2023-02-24T18:44:07.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T18:44:07.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T18:44:07.284Z] OK: 211 MiB in 51 packages [2023-02-24T18:44:07.544Z] Removing intermediate container 68d7f6383499 [2023-02-24T18:44:07.544Z] ---> b999405faf48 [2023-02-24T18:44:07.544Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-24T18:44:07.804Z] ---> c3032bc6e44e [2023-02-24T18:44:07.804Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T18:44:07.804Z] ---> Running in 968a1d441376 [2023-02-24T18:44:08.764Z] Removing intermediate container 968a1d441376 [2023-02-24T18:44:08.764Z] ---> 5a70cd54e174 [2023-02-24T18:44:08.764Z] Step 9/23 : COPY . . [2023-02-24T18:44:09.024Z] ---> 682929bcda10 [2023-02-24T18:44:09.024Z] Step 10/23 : RUN ${MAKE} [2023-02-24T18:44:09.024Z] ---> Running in ce79a29ba041 [2023-02-24T18:44:09.283Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-24T18:44:27.359Z] Removing intermediate container ce79a29ba041 [2023-02-24T18:44:27.359Z] ---> e8c461c637e6 [2023-02-24T18:44:27.359Z] Step 11/23 : FROM alpine:3.16 [2023-02-24T18:44:27.359Z] 3.16: Pulling from library/alpine [2023-02-24T18:44:27.359Z] ef5531b6e74e: Pulling fs layer [2023-02-24T18:44:27.359Z] ef5531b6e74e: Verifying Checksum [2023-02-24T18:44:27.359Z] ef5531b6e74e: Download complete [2023-02-24T18:44:27.617Z] ef5531b6e74e: Pull complete [2023-02-24T18:44:27.617Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T18:44:27.617Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T18:44:27.617Z] ---> dfd21b5a31f5 [2023-02-24T18:44:27.617Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-24T18:44:27.617Z] ---> Running in d2906ef94067 [2023-02-24T18:44:27.617Z] Removing intermediate container d2906ef94067 [2023-02-24T18:44:27.617Z] ---> 3da480bcf6ec [2023-02-24T18:44:27.617Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-24T18:44:27.617Z] ---> Running in ca92562dbda2 [2023-02-24T18:44:27.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T18:44:28.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T18:44:28.387Z] OK: 6 MiB in 14 packages [2023-02-24T18:44:28.644Z] Removing intermediate container ca92562dbda2 [2023-02-24T18:44:28.644Z] ---> f988730d51bc [2023-02-24T18:44:28.644Z] Step 14/23 : WORKDIR / [2023-02-24T18:44:28.644Z] ---> Running in 32f2cea99f3e [2023-02-24T18:44:28.902Z] Removing intermediate container 32f2cea99f3e [2023-02-24T18:44:28.902Z] ---> 4e9fd78dcf96 [2023-02-24T18:44:28.902Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-24T18:44:28.902Z] ---> ea1ef6177584 [2023-02-24T18:44:28.902Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-24T18:44:29.467Z] ---> a7ed478fee56 [2023-02-24T18:44:29.467Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-24T18:44:29.725Z] ---> 18f7800ee1dc [2023-02-24T18:44:29.725Z] Step 18/23 : EXPOSE 59999 [2023-02-24T18:44:29.725Z] ---> Running in ed320dafeaef [2023-02-24T18:44:29.725Z] Removing intermediate container ed320dafeaef [2023-02-24T18:44:29.725Z] ---> 895182e93e90 [2023-02-24T18:44:29.725Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-24T18:44:29.725Z] ---> Running in 2887c43d5eb6 [2023-02-24T18:44:29.984Z] Removing intermediate container 2887c43d5eb6 [2023-02-24T18:44:29.984Z] ---> 8d6d473b8e2d [2023-02-24T18:44:29.984Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T18:44:29.984Z] ---> Running in d548937837f8 [2023-02-24T18:44:29.984Z] Removing intermediate container d548937837f8 [2023-02-24T18:44:29.984Z] ---> dc790388c134 [2023-02-24T18:44:29.984Z] Step 21/23 : LABEL arch=amd64 [2023-02-24T18:44:29.984Z] ---> Running in 5a4659b6fe5b [2023-02-24T18:44:30.242Z] Removing intermediate container 5a4659b6fe5b [2023-02-24T18:44:30.242Z] ---> 7efb2fc0d1e6 [2023-02-24T18:44:30.242Z] Step 22/23 : LABEL git_sha=54d3a6bb7e47e7359e34aff66f92d54c77c74301 [2023-02-24T18:44:30.242Z] ---> Running in ea353cf8ba9a [2023-02-24T18:44:30.242Z] Removing intermediate container ea353cf8ba9a [2023-02-24T18:44:30.242Z] ---> 83b3c2250a57 [2023-02-24T18:44:30.242Z] Step 23/23 : LABEL version=0.0.0 [2023-02-24T18:44:30.242Z] ---> Running in 3cc8203537fb [2023-02-24T18:44:30.242Z] Removing intermediate container 3cc8203537fb [2023-02-24T18:44:30.242Z] ---> d3f22b0bd069 [2023-02-24T18:44:30.242Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T18:44:30.242Z] Successfully built d3f22b0bd069 [2023-02-24T18:44:30.242Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:44:30.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T18:44:30.677Z] [2023-02-24T18:44:30.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:44:30.981Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T18:44:30.981Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-24T18:44:30.981Z] 5eb5b503b376: Pulling fs layer [2023-02-24T18:44:30.981Z] 5c69ac0246d0: Pulling fs layer [2023-02-24T18:44:30.981Z] ec43610c2a17: Pulling fs layer [2023-02-24T18:44:30.981Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-24T18:44:30.981Z] 33b1e0a273af: Pulling fs layer [2023-02-24T18:44:30.981Z] 5d3b04190fa2: Pulling fs layer [2023-02-24T18:44:30.981Z] 2f39f015ded8: Pulling fs layer [2023-02-24T18:44:30.981Z] 3a2ae6a8a46f: Waiting [2023-02-24T18:44:30.981Z] 33b1e0a273af: Waiting [2023-02-24T18:44:30.981Z] 5d3b04190fa2: Waiting [2023-02-24T18:44:30.981Z] 2f39f015ded8: Waiting [2023-02-24T18:44:30.981Z] 5c69ac0246d0: Download complete [2023-02-24T18:44:30.981Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-24T18:44:30.981Z] 3a2ae6a8a46f: Download complete [2023-02-24T18:44:31.241Z] ec43610c2a17: Verifying Checksum [2023-02-24T18:44:31.241Z] ec43610c2a17: Download complete [2023-02-24T18:44:31.809Z] 5d3b04190fa2: Verifying Checksum [2023-02-24T18:44:31.809Z] 5d3b04190fa2: Download complete [2023-02-24T18:44:31.809Z] 33b1e0a273af: Verifying Checksum [2023-02-24T18:44:31.809Z] 33b1e0a273af: Download complete [2023-02-24T18:44:31.809Z] 5eb5b503b376: Download complete [2023-02-24T18:44:32.742Z] 2f39f015ded8: Download complete [2023-02-24T18:44:32.999Z] 5eb5b503b376: Pull complete [2023-02-24T18:44:32.999Z] 5c69ac0246d0: Pull complete [2023-02-24T18:44:33.562Z] ec43610c2a17: Pull complete [2023-02-24T18:44:33.562Z] 3a2ae6a8a46f: Pull complete [2023-02-24T18:44:33.821Z] 33b1e0a273af: Pull complete [2023-02-24T18:44:33.821Z] 5d3b04190fa2: Pull complete [2023-02-24T18:44:38.001Z] 2f39f015ded8: Pull complete [2023-02-24T18:44:38.001Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-24T18:44:38.001Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T18:44:38.001Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:44:38.080Z] prd-ubuntu20.04-docker-8c-8g-7381 does not seem to be running inside a container [2023-02-24T18:44:38.119Z] $ 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-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@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-02-24T18:44:40.112Z] $ docker top e804a490e4159fded013076969d4ba4c9edf8c736eaeeb5586ff213373d12c06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:44:40.483Z] ---> job-cost.sh [2023-02-24T18:44:40.483Z] lf-activate-venv: SKIPPING [2023-02-24T18:44:40.483Z] INFO: No Stack... [2023-02-24T18:44:41.055Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T18:44:41.312Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T18:44:41.599Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives/cost.csv [2023-02-24T18:44:41.599Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T18:44:41.614Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1348-2-stack-cost] [2023-02-24T18:44:41.619Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-2-stack-cost] did not exist. Created. [2023-02-24T18:44:41.620Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1348-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T18:44:41.921Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-24T18:44:41.956Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T18:44:41.964Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T18:44:41.990Z] $ docker stop --time=1 e804a490e4159fded013076969d4ba4c9edf8c736eaeeb5586ff213373d12c06 [2023-02-24T18:44:43.148Z] $ docker rm -f --volumes e804a490e4159fded013076969d4ba4c9edf8c736eaeeb5586ff213373d12c06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-24T18:45:28.773Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7385 in /w/workspace/gexfoundry_device-sdk-go_PR-1348 [Pipeline] { [Pipeline] ws [2023-02-24T18:45:28.786Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-24T18:45:28.821Z] The recommended git tool is: git [2023-02-24T18:45:34.842Z] using credential edgex-jenkins-ssh [2023-02-24T18:45:34.860Z] Cloning the remote Git repository [2023-02-24T18:45:34.916Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T18:45:35.004Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-24T18:45:38.068Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T18:45:38.070Z] > git --version # timeout=10 [2023-02-24T18:45:38.094Z] > git --version # 'git version 2.25.1' [2023-02-24T18:45:38.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T18:45:38.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T18:45:39.994Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-24T18:45:40.026Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T18:45:41.749Z] Merging remotes/origin/main commit 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 into PR head commit fad7a1e2c560019197ab19bbba7a11372a68c49b [2023-02-24T18:45:40.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-24T18:45:40.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T18:45:40.989Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T18:45:41.005Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1348/head:refs/remotes/origin/PR-1348 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-24T18:45:41.773Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T18:45:41.794Z] > git checkout -f fad7a1e2c560019197ab19bbba7a11372a68c49b # timeout=10 [2023-02-24T18:45:41.900Z] > git remote # timeout=10 [2023-02-24T18:45:41.921Z] > git config --get remote.origin.url # timeout=10 [2023-02-24T18:45:41.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T18:45:41.957Z] > git merge 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 [2023-02-24T18:45:42.051Z] Merge succeeded, producing 5c627c7e2c73b362ee0fd16ab0e7d71309dd5cd3 [2023-02-24T18:45:42.052Z] Checking out Revision 5c627c7e2c73b362ee0fd16ab0e7d71309dd5cd3 (PR-1348) [2023-02-24T18:45:42.035Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-24T18:45:42.061Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T18:45:42.075Z] > git checkout -f 5c627c7e2c73b362ee0fd16ab0e7d71309dd5cd3 # timeout=10 [2023-02-24T18:45:45.667Z] Commit message: "Merge commit '5c1e0dd5a754f3bad37da38710a9de66bfde6ab8' into HEAD" [2023-02-24T18:45:45.679Z] > git rev-list --no-walk fad7a1e2c560019197ab19bbba7a11372a68c49b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T18:45:46.928Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-24T18:45:46.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T18:45:46.928Z] Dload Upload Total Spent Left Speed [2023-02-24T18:45:46.928Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-02-24T18:45:47.698Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-24T18:45:48.045Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-24T18:45:48.045Z] + sudo tee /etc/docker/daemon.new [2023-02-24T18:45:48.045Z] { [2023-02-24T18:45:48.045Z] "registry-mirrors": [ [2023-02-24T18:45:48.045Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-24T18:45:48.045Z] ], [2023-02-24T18:45:48.045Z] "bip": "10.250.0.254/24", [2023-02-24T18:45:48.045Z] "hosts": [ [2023-02-24T18:45:48.045Z] "tcp://0.0.0.0:5555", [2023-02-24T18:45:48.045Z] "unix:///var/run/docker.sock" [2023-02-24T18:45:48.045Z] ], [2023-02-24T18:45:48.045Z] "mtu": 1458, [2023-02-24T18:45:48.045Z] "selinux-enabled": true, [2023-02-24T18:45:48.045Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-24T18:45:48.045Z] } [Pipeline] sh [2023-02-24T18:45:48.391Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-24T18:45:48.728Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T18:46:07.055Z] provisioning config files... [2023-02-24T18:46:07.084Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15102175191994815561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:46:07.458Z] ---> docker-login.sh [2023-02-24T18:46:07.458Z] nexus3.edgexfoundry.org:10001 [2023-02-24T18:46:08.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:46:08.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:46:08.052Z] Configure a credential helper to remove this warning. See [2023-02-24T18:46:08.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:46:08.052Z] [2023-02-24T18:46:08.052Z] Login Succeeded [2023-02-24T18:46:08.052Z] nexus3.edgexfoundry.org:10002 [2023-02-24T18:46:08.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:46:08.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:46:08.646Z] Configure a credential helper to remove this warning. See [2023-02-24T18:46:08.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:46:08.646Z] [2023-02-24T18:46:08.646Z] Login Succeeded [2023-02-24T18:46:08.646Z] nexus3.edgexfoundry.org:10003 [2023-02-24T18:46:08.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:46:08.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:46:08.919Z] Configure a credential helper to remove this warning. See [2023-02-24T18:46:08.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:46:08.919Z] [2023-02-24T18:46:08.919Z] Login Succeeded [2023-02-24T18:46:08.919Z] nexus3.edgexfoundry.org:10004 [2023-02-24T18:46:09.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:46:09.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:46:09.468Z] Configure a credential helper to remove this warning. See [2023-02-24T18:46:09.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:46:09.468Z] [2023-02-24T18:46:09.468Z] Login Succeeded [2023-02-24T18:46:09.468Z] docker.io [2023-02-24T18:46:09.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:46:10.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:46:10.012Z] Configure a credential helper to remove this warning. See [2023-02-24T18:46:10.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:46:10.012Z] [2023-02-24T18:46:10.012Z] Login Succeeded [2023-02-24T18:46:10.012Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T18:46:10.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T18:46:10.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T18:46:10.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T18:46:10.364Z] ========================================================= [2023-02-24T18:46:10.364Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-24T18:46:10.364Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:46:10.719Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T18:46:11.323Z] Sending build context to Docker daemon 5.673MB [2023-02-24T18:46:11.323Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T18:46:11.323Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-24T18:46:11.600Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-24T18:46:11.600Z] 9b18e9b68314: Pulling fs layer [2023-02-24T18:46:11.600Z] 35d82f9e3411: Pulling fs layer [2023-02-24T18:46:11.600Z] e16973657156: Pulling fs layer [2023-02-24T18:46:11.600Z] fc693d55d65f: Pulling fs layer [2023-02-24T18:46:11.600Z] 7e9fc2657dce: Pulling fs layer [2023-02-24T18:46:11.600Z] dda99020689f: Pulling fs layer [2023-02-24T18:46:11.600Z] db1c61fa0a46: Pulling fs layer [2023-02-24T18:46:11.600Z] 891c053d2c06: Pulling fs layer [2023-02-24T18:46:11.600Z] 7e9fc2657dce: Waiting [2023-02-24T18:46:11.600Z] dda99020689f: Waiting [2023-02-24T18:46:11.600Z] db1c61fa0a46: Waiting [2023-02-24T18:46:11.600Z] fc693d55d65f: Waiting [2023-02-24T18:46:11.600Z] 891c053d2c06: Waiting [2023-02-24T18:46:11.600Z] e16973657156: Verifying Checksum [2023-02-24T18:46:11.600Z] e16973657156: Download complete [2023-02-24T18:46:11.600Z] 35d82f9e3411: Verifying Checksum [2023-02-24T18:46:11.600Z] 35d82f9e3411: Download complete [2023-02-24T18:46:11.883Z] 7e9fc2657dce: Download complete [2023-02-24T18:46:11.884Z] dda99020689f: Verifying Checksum [2023-02-24T18:46:11.884Z] dda99020689f: Download complete [2023-02-24T18:46:11.884Z] 9b18e9b68314: Verifying Checksum [2023-02-24T18:46:11.884Z] 9b18e9b68314: Download complete [2023-02-24T18:46:12.868Z] 9b18e9b68314: Pull complete [2023-02-24T18:46:13.462Z] 35d82f9e3411: Pull complete [2023-02-24T18:46:13.735Z] e16973657156: Pull complete [2023-02-24T18:46:14.706Z] 891c053d2c06: Verifying Checksum [2023-02-24T18:46:14.706Z] 891c053d2c06: Download complete [2023-02-24T18:46:16.132Z] db1c61fa0a46: Verifying Checksum [2023-02-24T18:46:16.132Z] db1c61fa0a46: Download complete [2023-02-24T18:46:16.403Z] fc693d55d65f: Verifying Checksum [2023-02-24T18:46:16.403Z] fc693d55d65f: Download complete [2023-02-24T18:46:28.742Z] fc693d55d65f: Pull complete [2023-02-24T18:46:28.742Z] 7e9fc2657dce: Pull complete [2023-02-24T18:46:29.010Z] dda99020689f: Pull complete [2023-02-24T18:46:35.792Z] db1c61fa0a46: Pull complete [2023-02-24T18:46:37.207Z] 891c053d2c06: Pull complete [2023-02-24T18:46:37.207Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-24T18:46:37.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-24T18:46:37.207Z] ---> f96f9c87975a [2023-02-24T18:46:37.207Z] Step 3/10 : ARG MAKE=make build [2023-02-24T18:46:38.215Z] ---> Running in d4b7dd3b38d2 [2023-02-24T18:46:38.815Z] Removing intermediate container d4b7dd3b38d2 [2023-02-24T18:46:38.815Z] ---> 11c68fb9d436 [2023-02-24T18:46:38.815Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-24T18:46:38.815Z] ---> Running in b16f2c5c7cb2 [2023-02-24T18:46:39.086Z] Removing intermediate container b16f2c5c7cb2 [2023-02-24T18:46:39.086Z] ---> 544b14f2013e [2023-02-24T18:46:39.086Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T18:46:39.086Z] ---> Running in e0dfeb5ccc3e [2023-02-24T18:46:39.675Z] Removing intermediate container e0dfeb5ccc3e [2023-02-24T18:46:39.675Z] ---> 3cb5f0803d98 [2023-02-24T18:46:39.676Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-24T18:46:39.676Z] ---> Running in a6328341e005 [2023-02-24T18:46:41.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T18:46:41.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T18:46:42.345Z] OK: 221 MiB in 51 packages [2023-02-24T18:46:43.310Z] Removing intermediate container a6328341e005 [2023-02-24T18:46:43.310Z] ---> c033cd496867 [2023-02-24T18:46:43.310Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-24T18:46:43.898Z] ---> df390d26b23c [2023-02-24T18:46:43.898Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T18:46:44.167Z] ---> Running in 47a34483a49a [2023-02-24T18:47:52.109Z] Removing intermediate container 47a34483a49a [2023-02-24T18:47:52.109Z] ---> e9d4d0402db6 [2023-02-24T18:47:52.109Z] Step 9/10 : COPY . . [2023-02-24T18:47:52.696Z] ---> 30be3482aad9 [2023-02-24T18:47:52.696Z] Step 10/10 : RUN ${MAKE} [2023-02-24T18:47:52.696Z] ---> Running in 465dfebf8d2a [2023-02-24T18:47:53.664Z] noop [2023-02-24T18:47:54.637Z] Removing intermediate container 465dfebf8d2a [2023-02-24T18:47:54.637Z] ---> e30b4d735ae5 [2023-02-24T18:47:54.637Z] Successfully built e30b4d735ae5 [2023-02-24T18:47:54.637Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:47:54.996Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T18:47:54.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:47:55.212Z] prd-ubuntu20.04-docker-arm64-4c-16g-7385 does not seem to be running inside a container [2023-02-24T18:47:55.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2023-02-24T18:47:56.599Z] $ docker top 4692881c8bb850b9199d06e37c2268909869c69d0ff0f588d088c35b7210930d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T18:47:57.472Z] + go version [2023-02-24T18:47:57.472Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-24T18:47:57.495Z] $ docker stop --time=1 4692881c8bb850b9199d06e37c2268909869c69d0ff0f588d088c35b7210930d [2023-02-24T18:47:59.209Z] $ docker rm -f --volumes 4692881c8bb850b9199d06e37c2268909869c69d0ff0f588d088c35b7210930d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:47:59.778Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T18:47:59.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:47:59.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-7385 does not seem to be running inside a container [2023-02-24T18:48:00.065Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2023-02-24T18:48:01.422Z] $ docker top 3734b12b4cedcaa333ea3cf4aeff7b61b8738fcc7e621785f5a7f81d88ea4647 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T18:48:02.293Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-24T18:48:02.958Z] + make test [2023-02-24T18:48:02.958Z] go test -race -coverprofile=coverage.out ./... [2023-02-24T18:48:41.863Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-24T18:51:03.655Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-24T18:51:03.655Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-24T18:51:03.655Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-24T18:51:03.655Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-24T18:51:03.655Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-24T18:51:18.708Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.270s coverage: 27.6% of statements [2023-02-24T18:51:18.708Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.324s coverage: 78.9% of statements [2023-02-24T18:51:18.708Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-24T18:51:25.373Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.486s coverage: 86.0% of statements [2023-02-24T18:51:25.373Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-24T18:51:25.373Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-24T18:51:27.962Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.540s coverage: 74.7% of statements [2023-02-24T18:51:27.962Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-24T18:51:27.962Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.306s coverage: 15.5% of statements [2023-02-24T18:51:27.962Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-24T18:51:30.557Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.500s coverage: 65.2% of statements [2023-02-24T18:51:30.557Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-24T18:51:30.557Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-24T18:51:30.825Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.402s coverage: 89.2% of statements [2023-02-24T18:51:30.825Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-24T18:51:30.825Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.404s coverage: 4.6% of statements [2023-02-24T18:51:30.825Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-24T18:51:31.413Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-24T18:51:31.413Z] GO111MODULE=on go vet ./... [2023-02-24T18:53:23.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T18:53:23.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T18:53:23.165Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T18:53:23.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T18:53:23.194Z] $ docker stop --time=1 3734b12b4cedcaa333ea3cf4aeff7b61b8738fcc7e621785f5a7f81d88ea4647 [2023-02-24T18:53:26.293Z] $ docker rm -f --volumes 3734b12b4cedcaa333ea3cf4aeff7b61b8738fcc7e621785f5a7f81d88ea4647 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T18:53:27.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T18:53:27.806Z] Warning: overwriting stash ‘coverage-report’ [2023-02-24T18:53:28.657Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T18:53:29.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T18:53:29.417Z] + ls -al . [2023-02-24T18:53:29.417Z] total 280 [2023-02-24T18:53:29.417Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 18:48 . [2023-02-24T18:53:29.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:45 .. [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 18:45 .dockerignore [2023-02-24T18:53:29.417Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 18:45 .git [2023-02-24T18:53:29.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:45 .github [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 24 18:45 .gitignore [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 18:45 .golangci.yml [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 24 18:45 CHANGELOG.md [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 18:45 GOVERNANCE.md [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 24 18:45 Jenkinsfile [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 18:45 LICENSE [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 24 18:45 Makefile [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 24 18:45 OWNERS.md [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 24 18:45 README.md [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 18:42 VERSION [2023-02-24T18:53:29.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:45 bin [2023-02-24T18:53:29.417Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 24 18:51 coverage.out [2023-02-24T18:53:29.417Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 18:45 example [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 24 18:45 go.mod [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 24 18:45 go.sum [2023-02-24T18:53:29.417Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 24 18:45 internal [2023-02-24T18:53:29.417Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 18:45 openapi [2023-02-24T18:53:29.417Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 18:45 pkg [2023-02-24T18:53:29.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:45 snap [2023-02-24T18:53:29.417Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:53:29.768Z] + 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=5c627c7e2c73b362ee0fd16ab0e7d71309dd5cd3 --label arch=arm64 --label version=0.0.0 . [2023-02-24T18:53:30.369Z] Sending build context to Docker daemon 5.785MB [2023-02-24T18:53:30.369Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T18:53:30.369Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-24T18:53:30.369Z] ---> e30b4d735ae5 [2023-02-24T18:53:30.369Z] Step 3/23 : ARG MAKE=make build [2023-02-24T18:53:30.369Z] ---> Running in b74c25f5c0a1 [2023-02-24T18:53:30.639Z] Removing intermediate container b74c25f5c0a1 [2023-02-24T18:53:30.639Z] ---> 9d6bf743bfb7 [2023-02-24T18:53:30.639Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-24T18:53:30.914Z] ---> Running in 4b19130b6855 [2023-02-24T18:53:31.184Z] Removing intermediate container 4b19130b6855 [2023-02-24T18:53:31.185Z] ---> 66ea6c34414b [2023-02-24T18:53:31.185Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T18:53:31.185Z] ---> Running in c788b298d1b6 [2023-02-24T18:53:31.776Z] Removing intermediate container c788b298d1b6 [2023-02-24T18:53:31.776Z] ---> 05c082cff823 [2023-02-24T18:53:31.776Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-24T18:53:31.776Z] ---> Running in 4ede3c062d00 [2023-02-24T18:53:32.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T18:53:33.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T18:53:34.439Z] OK: 221 MiB in 51 packages [2023-02-24T18:53:35.420Z] Removing intermediate container 4ede3c062d00 [2023-02-24T18:53:35.420Z] ---> f8f3e5719ec9 [2023-02-24T18:53:35.420Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-24T18:53:35.689Z] ---> cf4ea86bc123 [2023-02-24T18:53:35.689Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T18:53:35.959Z] ---> Running in 906b00061293 [2023-02-24T18:53:40.228Z] Removing intermediate container 906b00061293 [2023-02-24T18:53:40.228Z] ---> e9dd6af7777d [2023-02-24T18:53:40.228Z] Step 9/23 : COPY . . [2023-02-24T18:53:41.642Z] ---> ff64993c5a83 [2023-02-24T18:53:41.642Z] Step 10/23 : RUN ${MAKE} [2023-02-24T18:53:41.642Z] ---> Running in 6b4c95790f3e [2023-02-24T18:53:42.603Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-24T18:56:04.343Z] Removing intermediate container 6b4c95790f3e [2023-02-24T18:56:04.343Z] ---> 55d69e2bcdac [2023-02-24T18:56:04.343Z] Step 11/23 : FROM alpine:3.16 [2023-02-24T18:56:04.343Z] 3.16: Pulling from library/alpine [2023-02-24T18:56:04.343Z] 3760b48202b3: Pulling fs layer [2023-02-24T18:56:04.343Z] 3760b48202b3: Verifying Checksum [2023-02-24T18:56:04.343Z] 3760b48202b3: Download complete [2023-02-24T18:56:04.343Z] 3760b48202b3: Pull complete [2023-02-24T18:56:04.343Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T18:56:04.343Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T18:56:04.343Z] ---> 4c81e5bf8899 [2023-02-24T18:56:04.343Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-24T18:56:04.343Z] ---> Running in cfe97d2b973d [2023-02-24T18:56:04.343Z] Removing intermediate container cfe97d2b973d [2023-02-24T18:56:04.343Z] ---> 8b660698d1da [2023-02-24T18:56:04.343Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-24T18:56:04.343Z] ---> Running in da1bb777b5a9 [2023-02-24T18:56:04.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T18:56:04.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T18:56:04.343Z] OK: 5 MiB in 14 packages [2023-02-24T18:56:04.343Z] Removing intermediate container da1bb777b5a9 [2023-02-24T18:56:04.343Z] ---> e59457890275 [2023-02-24T18:56:04.343Z] Step 14/23 : WORKDIR / [2023-02-24T18:56:04.343Z] ---> Running in 387b3882ee04 [2023-02-24T18:56:04.343Z] Removing intermediate container 387b3882ee04 [2023-02-24T18:56:04.343Z] ---> 5a9e938ccbb7 [2023-02-24T18:56:04.343Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-24T18:56:04.610Z] ---> ff3b23aad37b [2023-02-24T18:56:04.610Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-24T18:56:06.023Z] ---> 7c5fe52dc84c [2023-02-24T18:56:06.023Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-24T18:56:06.611Z] ---> cf1ef9a247e6 [2023-02-24T18:56:06.611Z] Step 18/23 : EXPOSE 59999 [2023-02-24T18:56:06.881Z] ---> Running in 5fac7729becd [2023-02-24T18:56:07.152Z] Removing intermediate container 5fac7729becd [2023-02-24T18:56:07.152Z] ---> 9f807e892326 [2023-02-24T18:56:07.152Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-24T18:56:07.152Z] ---> Running in 469017a5057a [2023-02-24T18:56:07.422Z] Removing intermediate container 469017a5057a [2023-02-24T18:56:07.422Z] ---> b53af703f1fe [2023-02-24T18:56:07.422Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T18:56:07.422Z] ---> Running in 7fe37c9980c5 [2023-02-24T18:56:08.010Z] Removing intermediate container 7fe37c9980c5 [2023-02-24T18:56:08.010Z] ---> f23b325e24d6 [2023-02-24T18:56:08.010Z] Step 21/23 : LABEL arch=arm64 [2023-02-24T18:56:08.010Z] ---> Running in e47519b1e62c [2023-02-24T18:56:08.277Z] Removing intermediate container e47519b1e62c [2023-02-24T18:56:08.277Z] ---> c8ed0d996c4c [2023-02-24T18:56:08.277Z] Step 22/23 : LABEL git_sha=5c627c7e2c73b362ee0fd16ab0e7d71309dd5cd3 [2023-02-24T18:56:08.277Z] ---> Running in 6d91b3d12294 [2023-02-24T18:56:08.543Z] Removing intermediate container 6d91b3d12294 [2023-02-24T18:56:08.543Z] ---> 0152cde523d0 [2023-02-24T18:56:08.543Z] Step 23/23 : LABEL version=0.0.0 [2023-02-24T18:56:08.543Z] ---> Running in aa096292a501 [2023-02-24T18:56:09.127Z] Removing intermediate container aa096292a501 [2023-02-24T18:56:09.127Z] ---> 32203585b643 [2023-02-24T18:56:09.127Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T18:56:09.127Z] Successfully built 32203585b643 [2023-02-24T18:56:09.127Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:56:09.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T18:56:09.558Z] [2023-02-24T18:56:09.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:56:09.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T18:56:09.892Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-24T18:56:09.892Z] 8998bd30e6a1: Pulling fs layer [2023-02-24T18:56:09.892Z] 04944245beec: Pulling fs layer [2023-02-24T18:56:09.892Z] 699f458cf7ca: Pulling fs layer [2023-02-24T18:56:09.892Z] 765212b225bb: Pulling fs layer [2023-02-24T18:56:09.892Z] f23df028b6ca: Pulling fs layer [2023-02-24T18:56:09.892Z] d65c8cfc05b1: Pulling fs layer [2023-02-24T18:56:09.892Z] 2437ff75d9bd: Pulling fs layer [2023-02-24T18:56:09.892Z] f23df028b6ca: Waiting [2023-02-24T18:56:09.892Z] 765212b225bb: Waiting [2023-02-24T18:56:09.892Z] d65c8cfc05b1: Waiting [2023-02-24T18:56:09.892Z] 2437ff75d9bd: Waiting [2023-02-24T18:56:10.159Z] 04944245beec: Verifying Checksum [2023-02-24T18:56:10.159Z] 04944245beec: Download complete [2023-02-24T18:56:10.159Z] 765212b225bb: Verifying Checksum [2023-02-24T18:56:10.159Z] 765212b225bb: Download complete [2023-02-24T18:56:10.159Z] f23df028b6ca: Verifying Checksum [2023-02-24T18:56:10.159Z] f23df028b6ca: Download complete [2023-02-24T18:56:10.159Z] d65c8cfc05b1: Verifying Checksum [2023-02-24T18:56:10.159Z] d65c8cfc05b1: Download complete [2023-02-24T18:56:10.429Z] 699f458cf7ca: Verifying Checksum [2023-02-24T18:56:10.429Z] 699f458cf7ca: Download complete [2023-02-24T18:56:10.700Z] 8998bd30e6a1: Verifying Checksum [2023-02-24T18:56:10.700Z] 8998bd30e6a1: Download complete [2023-02-24T18:56:13.289Z] 2437ff75d9bd: Verifying Checksum [2023-02-24T18:56:13.289Z] 2437ff75d9bd: Download complete [2023-02-24T18:56:15.237Z] 8998bd30e6a1: Pull complete [2023-02-24T18:56:16.197Z] 04944245beec: Pull complete [2023-02-24T18:56:17.608Z] 699f458cf7ca: Pull complete [2023-02-24T18:56:17.608Z] 765212b225bb: Pull complete [2023-02-24T18:56:18.575Z] f23df028b6ca: Pull complete [2023-02-24T18:56:18.844Z] d65c8cfc05b1: Pull complete [2023-02-24T18:56:33.853Z] 2437ff75d9bd: Pull complete [2023-02-24T18:56:33.853Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-24T18:56:33.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T18:56:33.853Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:56:34.071Z] prd-ubuntu20.04-docker-arm64-4c-16g-7385 does not seem to be running inside a container [2023-02-24T18:56:34.148Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:arm64 cat [2023-02-24T18:56:37.220Z] $ docker top dbe70f80d4d25b46beb8194e86ce27f8409c0f9f478219959820ed75c6b638fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:56:38.070Z] ---> job-cost.sh [2023-02-24T18:56:38.070Z] lf-activate-venv: SKIPPING [2023-02-24T18:56:38.070Z] INFO: No Stack... [2023-02-24T18:56:38.650Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-24T18:56:39.609Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T18:56:40.407Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-24T18:56:40.407Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T18:56:40.480Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1348-2-stack-cost] [2023-02-24T18:56:40.489Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-2-stack-cost] did not exist. Created. [2023-02-24T18:56:40.489Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1348-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T18:56:41.159Z] /w/workspace/device-sdk-go/2@tmp/durable-aeee4fc0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-24T18:56:41.815Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-24T18:56:41.840Z] Warning: overwriting stash ‘stack-cost’ [2023-02-24T18:56:41.911Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T18:56:41.922Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T18:56:41.943Z] $ docker stop --time=1 dbe70f80d4d25b46beb8194e86ce27f8409c0f9f478219959820ed75c6b638fd [2023-02-24T18:56:43.461Z] $ docker rm -f --volumes dbe70f80d4d25b46beb8194e86ce27f8409c0f9f478219959820ed75c6b638fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-24T18:56:43.839Z] provisioning config files... [2023-02-24T18:56:43.846Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config13248074763393344476tmp [Pipeline] { [Pipeline] sh [2023-02-24T18:56:44.134Z] + set +x [2023-02-24T18:56:44.134Z] + curl -s https://codecov.io/bash [2023-02-24T18:56:44.134Z] + bash -s -- [2023-02-24T18:56:44.134Z] [2023-02-24T18:56:44.134Z] _____ _ [2023-02-24T18:56:44.134Z] / ____| | | [2023-02-24T18:56:44.134Z] | | ___ __| | ___ ___ _____ __ [2023-02-24T18:56:44.134Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-24T18:56:44.134Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-24T18:56:44.134Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-24T18:56:44.134Z] Bash-1.0.6 [2023-02-24T18:56:44.134Z] [2023-02-24T18:56:44.134Z] [2023-02-24T18:56:44.134Z] ==> git version 2.25.1 found [2023-02-24T18:56:44.134Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-24T18:56:44.134Z] Release-Date: 2020-01-08 [2023-02-24T18:56:44.134Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-24T18:56:44.134Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-24T18:56:44.134Z] ==> Jenkins CI detected. [2023-02-24T18:56:44.134Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1348 [2023-02-24T18:56:44.134Z] project root: . [2023-02-24T18:56:44.134Z] --> token set from env [2023-02-24T18:56:44.134Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-24T18:56:44.134Z] ==> Running gcov in . (disable via -X gcov) [2023-02-24T18:56:44.134Z] ==> Python coveragepy not found [2023-02-24T18:56:44.134Z] ==> Searching for coverage reports in: [2023-02-24T18:56:44.134Z] + . [2023-02-24T18:56:44.134Z] -> Found 1 reports [2023-02-24T18:56:44.134Z] ==> Detecting git/mercurial file structure [2023-02-24T18:56:44.134Z] ==> Reading reports [2023-02-24T18:56:44.134Z] + ./coverage.out bytes=111045 [2023-02-24T18:56:44.134Z] ==> Appending adjustments [2023-02-24T18:56:44.134Z] https://docs.codecov.io/docs/fixing-reports [2023-02-24T18:56:44.393Z] + Found adjustments [2023-02-24T18:56:44.652Z] ==> Gzipping contents [2023-02-24T18:56:44.652Z] 16K /tmp/codecov.lFXz5E.gz [2023-02-24T18:56:44.652Z] ==> Uploading reports [2023-02-24T18:56:44.652Z] url: https://codecov.io [2023-02-24T18:56:44.652Z] query: branch=PR-1348&commit=54d3a6bb7e47e7359e34aff66f92d54c77c74301&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1348%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1348&job=&cmd_args= [2023-02-24T18:56:44.652Z] -> Pinging Codecov [2023-02-24T18:56:44.652Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1348&commit=54d3a6bb7e47e7359e34aff66f92d54c77c74301&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1348%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1348&job=&cmd_args= [2023-02-24T18:56:44.652Z] -> Uploading to [2023-02-24T18:56:44.652Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-24/7E55EF52A471D76F132DFD9A03CDDE97/54d3a6bb7e47e7359e34aff66f92d54c77c74301/d9a77795-1502-4d74-ad48-e0578bd1e1d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230224T185644Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f53896e3159f106fe9146fb236f3cce5147b0588b4ef3118b3d48c10603c628 [2023-02-24T18:56:44.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T18:56:44.652Z] Dload Upload Total Spent Left Speed [2023-02-24T18:56:44.913Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15339 0 0 100 15339 0 54978 --:--:-- --:--:-- --:--:-- 54978 [2023-02-24T18:56:44.913Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/54d3a6bb7e47e7359e34aff66f92d54c77c74301 [Pipeline] } [2023-02-24T18:56:44.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-24T18:56:45.633Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives ] [2023-02-24T18:56:45.634Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives [2023-02-24T18:56:45.634Z] total 16 [2023-02-24T18:56:45.634Z] drwxr-xr-x 3 root root 4096 Feb 24 18:44 . [2023-02-24T18:56:45.634Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 18:44 .. [2023-02-24T18:56:45.634Z] drwxr-xr-x 2 root root 4096 Feb 24 18:44 cost [2023-02-24T18:56:45.634Z] -rw-r--r-- 1 root root 86 Feb 24 18:44 cost.csv [2023-02-24T18:56:45.634Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives [2023-02-24T18:56:45.634Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives [2023-02-24T18:56:45.634Z] total 16 [2023-02-24T18:56:45.634Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 18:44 . [2023-02-24T18:56:45.634Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 18:44 .. [2023-02-24T18:56:45.634Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 18:44 cost [2023-02-24T18:56:45.634Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 24 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:56:45.923Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:56:46.781Z] ---> package-listing.sh [2023-02-24T18:56:46.781Z] ++ facter osfamily [2023-02-24T18:56:46.781Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-24T18:56:47.040Z] + OS_FAMILY=debian [2023-02-24T18:56:47.040Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1348 [2023-02-24T18:56:47.040Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-24T18:56:47.040Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-24T18:56:47.040Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-24T18:56:47.040Z] + PACKAGES=/tmp/packages_start.txt [2023-02-24T18:56:47.040Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1348 ']' [2023-02-24T18:56:47.040Z] + PACKAGES=/tmp/packages_end.txt [2023-02-24T18:56:47.040Z] + case "${OS_FAMILY}" in [2023-02-24T18:56:47.040Z] + dpkg -l [2023-02-24T18:56:47.040Z] + grep '^ii' [2023-02-24T18:56:47.040Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-24T18:56:47.040Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-24T18:56:47.040Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-24T18:56:47.040Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1348 ']' [2023-02-24T18:56:47.040Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives/ [2023-02-24T18:56:47.040Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives/ [Pipeline] echo [2023-02-24T18:56:47.051Z] 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-1348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-24T18:56:47.326Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:56:47.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T18:56:47.880Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:56:47.946Z] prd-ubuntu20.04-docker-8c-8g-7381 does not seem to be running inside a container [2023-02-24T18:56:47.993Z] $ 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-1348/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-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-24T18:56:48.194Z] $ docker top 7529b55ddb2be44f6b342e112a12d4c9a6818f636cb575109677b3dc68deccb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T18:56:48.519Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-24T18:56:48.802Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-24T18:56:49.087Z] + ls /var/log/sa-host [2023-02-24T18:56:49.087Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T18:56:49.236Z] provisioning config files... [2023-02-24T18:56:49.245Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config3464865692104357645tmp [Pipeline] { [Pipeline] echo [2023-02-24T18:56:49.257Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:56:49.542Z] ---> create-netrc.sh [Pipeline] } [2023-02-24T18:56:49.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:56:49.871Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-24T18:56:49.880Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:56:50.164Z] ---> sudo-logs.sh [2023-02-24T18:56:50.164Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-24T18:56:50.196Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:56:50.480Z] ---> job-cost.sh [2023-02-24T18:56:50.480Z] lf-activate-venv: SKIPPING [2023-02-24T18:56:50.480Z] DEBUG: total: 0.2199999988079071 [2023-02-24T18:56:50.480Z] INFO: Retrieving Stack Cost... [2023-02-24T18:56:50.740Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T18:56:51.305Z] INFO: Archiving Costs [Pipeline] echo [2023-02-24T18:56:51.319Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:56:51.601Z] ---> logs-deploy.sh [2023-02-24T18:56:51.601Z] lf-activate-venv: SKIPPING [2023-02-24T18:56:51.601Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1348/2 [2023-02-24T18:56:51.601Z] INFO: archiving workspace using pattern(s): [2023-02-24T18:56:52.537Z] Archives upload complete. [2023-02-24T18:56:52.537Z] INFO: archiving logs to Nexus