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 7610f6dc338b87754f939bb9ede04e880837a002 rather than 97d2a14bc06b57c7e9ee0b668a81eeba43f3ffd7 Obtained Jenkinsfile from 7610f6dc338b87754f939bb9ede04e880837a002 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-ssh17087456441899408521.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-ssh15635254050483658131.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-1279/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-1279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15220999020502738044.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-ssh10028796044071503013.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-1279/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-1279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13340223503661357427.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2658 in /w/workspace/gexfoundry_device-sdk-go_PR-1279 [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-1279 # 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 Merging remotes/origin/main commit 7610f6dc338b87754f939bb9ede04e880837a002 into PR head commit 97d2a14bc06b57c7e9ee0b668a81eeba43f3ffd7 Merge succeeded, producing 902d8aacd1ae834f086c94fbb045baf5d3059305 Checking out Revision 902d8aacd1ae834f086c94fbb045baf5d3059305 (PR-1279) > 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/1279/head:refs/remotes/origin/PR-1279 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97d2a14bc06b57c7e9ee0b668a81eeba43f3ffd7 # 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 7610f6dc338b87754f939bb9ede04e880837a002 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902d8aacd1ae834f086c94fbb045baf5d3059305 # timeout=10 Commit message: "Merge commit '7610f6dc338b87754f939bb9ede04e880837a002' into HEAD" > git rev-list --no-walk 97d2a14bc06b57c7e9ee0b668a81eeba43f3ffd7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-16T19:09:31.743Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-16T19:09:31.804Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-16T19:09:31.823Z] ========================================================= [2023-01-16T19:09:31.824Z] EdgeX Global Pipelines Version Info [2023-01-16T19:09:31.824Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:09:32.561Z] ------------------- [2023-01-16T19:09:32.561Z] stable info: [2023-01-16T19:09:32.561Z] ------------------- [2023-01-16T19:09:32.561Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-16T19:09:32.561Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T19:09:32.561Z] Message: update stable to v1.0.244 [2023-01-16T19:09:33.129Z] ------------------- [2023-01-16T19:09:33.129Z] experimental info: [2023-01-16T19:09:33.129Z] ------------------- [2023-01-16T19:09:33.129Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-16T19:09:33.129Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T19:09:33.129Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-16T19:09:33.309Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-16T19:09:33.321Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-16T19:09:33.331Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-16T19:09:33.346Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-16T19:09:33.363Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-16T19:09:33.380Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-16T19:09:33.390Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-16T19:09:33.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-16T19:09:33.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-16T19:09:33.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-16T19:09:33.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-16T19:09:33.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-16T19:09:33.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-16T19:09:33.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-16T19:09:33.488Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T19:09:33.506Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T19:09:33.518Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T19:09:33.532Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T19:09:33.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-16T19:09:33.559Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-16T19:09:33.570Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-16T19:09:33.582Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-16T19:09:33.593Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-16T19:09:33.606Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-16T19:09:33.619Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-16T19:09:33.629Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-16T19:09:33.640Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-16T19:09:33.654Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1279 [Pipeline] echo [2023-01-16T19:09:33.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1279 [Pipeline] echo [2023-01-16T19:09:33.680Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1279 [Pipeline] echo [2023-01-16T19:09:33.691Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 902d8aacd1ae834f086c94fbb045baf5d3059305 [Pipeline] echo [2023-01-16T19:09:33.706Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 902d8aa [Pipeline] echo [2023-01-16T19:09:33.718Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T19:09:33.759Z] provisioning config files... [2023-01-16T19:09:33.770Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config14022063572142602837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:09:34.073Z] ---> docker-login.sh [2023-01-16T19:09:34.073Z] nexus3.edgexfoundry.org:10001 [2023-01-16T19:09:34.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:34.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:34.332Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:34.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:34.332Z] [2023-01-16T19:09:34.332Z] Login Succeeded [2023-01-16T19:09:34.332Z] nexus3.edgexfoundry.org:10002 [2023-01-16T19:09:34.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:34.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:34.332Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:34.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:34.332Z] [2023-01-16T19:09:34.332Z] Login Succeeded [2023-01-16T19:09:34.332Z] nexus3.edgexfoundry.org:10003 [2023-01-16T19:09:34.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:34.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:34.591Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:34.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:34.591Z] [2023-01-16T19:09:34.591Z] Login Succeeded [2023-01-16T19:09:34.591Z] nexus3.edgexfoundry.org:10004 [2023-01-16T19:09:34.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:34.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:34.591Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:34.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:34.591Z] [2023-01-16T19:09:34.591Z] Login Succeeded [2023-01-16T19:09:34.591Z] docker.io [2023-01-16T19:09:34.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:34.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:34.850Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:34.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:34.850Z] [2023-01-16T19:09:34.850Z] Login Succeeded [2023-01-16T19:09:35.111Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T19:09:35.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-16T19:09:35.485Z] + git rev-list -1 --merges 902d8aacd1ae834f086c94fbb045baf5d3059305~1..902d8aacd1ae834f086c94fbb045baf5d3059305 [Pipeline] echo [2023-01-16T19:09:35.529Z] -----------> git rev-list -1 --merges 902d8aacd1ae834f086c94fbb045baf5d3059305~1..902d8aacd1ae834f086c94fbb045baf5d3059305 902d8aacd1ae834f086c94fbb045baf5d3059305 [2023-01-16T19:09:35.529Z] 902d8aacd1ae834f086c94fbb045baf5d3059305 [false] [Pipeline] sh [2023-01-16T19:09:35.819Z] + git log --format=format:%s -1 902d8aacd1ae834f086c94fbb045baf5d3059305 [Pipeline] echo [2023-01-16T19:09:35.836Z] ========================================================= [2023-01-16T19:09:35.836Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-16T19:09:35.836Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T19:09:36.168Z] + git log --format=format:%s -1 902d8aacd1ae834f086c94fbb045baf5d3059305 [Pipeline] echo [2023-01-16T19:09:36.178Z] [semverPrep] GIT_COMMIT: 902d8aacd1ae834f086c94fbb045baf5d3059305, Commit Message: Merge commit '7610f6dc338b87754f939bb9ede04e880837a002' into HEAD [Pipeline] echo [2023-01-16T19:09:36.190Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-16T19:09:36.534Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-16T19:09:36.534Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-16T19:09:36.534Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-16T19:09:36.534Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-16T19:09:36.534Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-16T19:09:36.534Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-16T19:09:36.534Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:09:36.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T19:09:36.916Z] [2023-01-16T19:09:36.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:09:37.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T19:09:37.241Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-16T19:09:37.241Z] b85a868b505f: Pulling fs layer [2023-01-16T19:09:37.242Z] e2be974225ed: Pulling fs layer [2023-01-16T19:09:37.242Z] 339a4e72a1f5: Pulling fs layer [2023-01-16T19:09:37.242Z] 988bab9f4d93: Pulling fs layer [2023-01-16T19:09:37.242Z] 1469e6f7b9e6: Pulling fs layer [2023-01-16T19:09:37.242Z] eaf3925da568: Pulling fs layer [2023-01-16T19:09:37.242Z] bab4dde63d76: Pulling fs layer [2023-01-16T19:09:37.242Z] bde34c3a00c8: Pulling fs layer [2023-01-16T19:09:37.242Z] b352a97aabf1: Pulling fs layer [2023-01-16T19:09:37.242Z] 4872d77fe225: Pulling fs layer [2023-01-16T19:09:37.242Z] 5851b861e8e6: Pulling fs layer [2023-01-16T19:09:37.242Z] bab4dde63d76: Waiting [2023-01-16T19:09:37.242Z] bde34c3a00c8: Waiting [2023-01-16T19:09:37.242Z] eaf3925da568: Waiting [2023-01-16T19:09:37.242Z] 1469e6f7b9e6: Waiting [2023-01-16T19:09:37.242Z] 4872d77fe225: Waiting [2023-01-16T19:09:37.242Z] 988bab9f4d93: Waiting [2023-01-16T19:09:37.242Z] b352a97aabf1: Waiting [2023-01-16T19:09:37.509Z] e2be974225ed: Download complete [2023-01-16T19:09:37.509Z] 988bab9f4d93: Download complete [2023-01-16T19:09:37.770Z] 1469e6f7b9e6: Verifying Checksum [2023-01-16T19:09:37.770Z] 1469e6f7b9e6: Download complete [2023-01-16T19:09:37.770Z] 339a4e72a1f5: Verifying Checksum [2023-01-16T19:09:37.770Z] 339a4e72a1f5: Download complete [2023-01-16T19:09:37.770Z] eaf3925da568: Download complete [2023-01-16T19:09:37.770Z] bde34c3a00c8: Download complete [2023-01-16T19:09:37.770Z] b352a97aabf1: Verifying Checksum [2023-01-16T19:09:37.770Z] b352a97aabf1: Download complete [2023-01-16T19:09:37.770Z] 4872d77fe225: Verifying Checksum [2023-01-16T19:09:37.770Z] 4872d77fe225: Download complete [2023-01-16T19:09:37.770Z] 5851b861e8e6: Verifying Checksum [2023-01-16T19:09:37.770Z] 5851b861e8e6: Download complete [2023-01-16T19:09:37.770Z] b85a868b505f: Verifying Checksum [2023-01-16T19:09:37.770Z] b85a868b505f: Download complete [2023-01-16T19:09:38.029Z] bab4dde63d76: Verifying Checksum [2023-01-16T19:09:38.029Z] bab4dde63d76: Download complete [2023-01-16T19:09:38.969Z] b85a868b505f: Pull complete [2023-01-16T19:09:39.231Z] e2be974225ed: Pull complete [2023-01-16T19:09:39.800Z] 339a4e72a1f5: Pull complete [2023-01-16T19:09:39.800Z] 988bab9f4d93: Pull complete [2023-01-16T19:09:40.060Z] 1469e6f7b9e6: Pull complete [2023-01-16T19:09:40.060Z] eaf3925da568: Pull complete [2023-01-16T19:09:41.969Z] bab4dde63d76: Pull complete [2023-01-16T19:09:41.969Z] bde34c3a00c8: Pull complete [2023-01-16T19:09:42.229Z] b352a97aabf1: Pull complete [2023-01-16T19:09:42.229Z] 4872d77fe225: Pull complete [2023-01-16T19:09:42.489Z] 5851b861e8e6: Pull complete [2023-01-16T19:09:42.489Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-16T19:09:42.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T19:09:42.489Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:09:42.589Z] prd-ubuntu20.04-docker-8c-8g-2658 does not seem to be running inside a container [2023-01-16T19:09:42.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@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-01-16T19:09:44.447Z] $ docker top 85dd90fff3687d2f8be8c17bfa7d3e408cbc713f4836b898da117114a7d11c0c -eo pid,comm [2023-01-16T19:09:44.520Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-16T19:09:44.520Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-16T19:09:44.556Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T19:09:44.557Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T19:09:44.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T19:09:44.678Z] $ docker exec 85dd90fff3687d2f8be8c17bfa7d3e408cbc713f4836b898da117114a7d11c0c ssh-agent [2023-01-16T19:09:44.806Z] SSH_AUTH_SOCK=/tmp/ssh-Ru1W8DahJ9kY/agent.32 [2023-01-16T19:09:44.806Z] SSH_AGENT_PID=38 [2023-01-16T19:09:44.813Z] Running ssh-add (command line suppressed) [2023-01-16T19:09:44.932Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_7372504397146968403.key (/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_7372504397146968403.key) [2023-01-16T19:09:44.944Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T19:09:45.229Z] + git tag --points-at HEAD [Pipeline] } [2023-01-16T19:09:45.247Z] $ docker exec --env ******** --env ******** 85dd90fff3687d2f8be8c17bfa7d3e408cbc713f4836b898da117114a7d11c0c ssh-agent -k [2023-01-16T19:09:45.343Z] unset SSH_AUTH_SOCK; [2023-01-16T19:09:45.344Z] unset SSH_AGENT_PID; [2023-01-16T19:09:45.344Z] echo Agent pid 38 killed; [2023-01-16T19:09:45.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-16T19:09:45.385Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T19:09:45.385Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T19:09:45.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T19:09:45.502Z] $ docker exec 85dd90fff3687d2f8be8c17bfa7d3e408cbc713f4836b898da117114a7d11c0c ssh-agent [2023-01-16T19:09:45.608Z] SSH_AUTH_SOCK=/tmp/ssh-07N26UFCix4R/agent.71 [2023-01-16T19:09:45.608Z] SSH_AGENT_PID=77 [2023-01-16T19:09:45.614Z] Running ssh-add (command line suppressed) [2023-01-16T19:09:45.712Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_15683709341746527504.key (/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_15683709341746527504.key) [2023-01-16T19:09:45.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T19:09:46.019Z] + git semver init [2023-01-16T19:09:46.281Z] 2023-01-16 19:09:46,211 [run_init] DEBUG init version:0.0.0 force:False [2023-01-16T19:09:46.281Z] 2023-01-16 19:09:46,212 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver [2023-01-16T19:09:46.282Z] 2023-01-16 19:09:46,213 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver [2023-01-16T19:09:46.282Z] 2023-01-16 19:09:46,213 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279, universal_newlines=False, shell=None, istream=None) [2023-01-16T19:09:47.219Z] 2023-01-16 19:09:47,122 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.git/info/exclude [2023-01-16T19:09:47.219Z] 2023-01-16 19:09:47,122 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 with force:False [2023-01-16T19:09:47.219Z] 2023-01-16 19:09:47,123 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 [2023-01-16T19:09:47.219Z] 2023-01-16 19:09:47,127 [execute] INFO git cat-file --batch-check [2023-01-16T19:09:47.219Z] 2023-01-16 19:09:47,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T19:09:47.219Z] 2023-01-16 19:09:47,134 [execute] INFO git cat-file --batch [2023-01-16T19:09:47.219Z] 2023-01-16 19:09:47,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T19:09:47.219Z] 2023-01-16 19:09:47,140 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 [2023-01-16T19:09:47.219Z] 0.0.0 [Pipeline] } [2023-01-16T19:09:47.228Z] $ docker exec --env ******** --env ******** 85dd90fff3687d2f8be8c17bfa7d3e408cbc713f4836b898da117114a7d11c0c ssh-agent -k [2023-01-16T19:09:47.322Z] unset SSH_AUTH_SOCK; [2023-01-16T19:09:47.323Z] unset SSH_AGENT_PID; [2023-01-16T19:09:47.323Z] echo Agent pid 77 killed; [2023-01-16T19:09:47.333Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-16T19:09:47.648Z] + git semver [Pipeline] } [2023-01-16T19:09:47.921Z] $ docker stop --time=1 85dd90fff3687d2f8be8c17bfa7d3e408cbc713f4836b898da117114a7d11c0c [2023-01-16T19:09:49.263Z] $ docker rm -f --volumes 85dd90fff3687d2f8be8c17bfa7d3e408cbc713f4836b898da117114a7d11c0c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T19:09:49.614Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-16T19:09:50.044Z] Stashed 1 file(s) [Pipeline] echo [2023-01-16T19:09:50.045Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T19:09:50.228Z] provisioning config files... [2023-01-16T19:09:50.237Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config9083707310680000485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:09:50.538Z] ---> docker-login.sh [2023-01-16T19:09:50.538Z] nexus3.edgexfoundry.org:10001 [2023-01-16T19:09:50.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:50.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:50.538Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:50.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:50.538Z] [2023-01-16T19:09:50.538Z] Login Succeeded [2023-01-16T19:09:50.538Z] nexus3.edgexfoundry.org:10002 [2023-01-16T19:09:50.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:50.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:50.538Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:50.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:50.538Z] [2023-01-16T19:09:50.538Z] Login Succeeded [2023-01-16T19:09:50.538Z] nexus3.edgexfoundry.org:10003 [2023-01-16T19:09:50.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:50.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:50.798Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:50.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:50.798Z] [2023-01-16T19:09:50.798Z] Login Succeeded [2023-01-16T19:09:50.798Z] nexus3.edgexfoundry.org:10004 [2023-01-16T19:09:50.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:50.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:50.798Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:50.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:50.798Z] [2023-01-16T19:09:50.798Z] Login Succeeded [2023-01-16T19:09:50.798Z] docker.io [2023-01-16T19:09:51.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:51.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:51.327Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:51.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:51.328Z] [2023-01-16T19:09:51.328Z] Login Succeeded [2023-01-16T19:09:51.328Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T19:09:51.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T19:09:51.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T19:09:51.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T19:09:51.433Z] ========================================================= [2023-01-16T19:09:51.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-16T19:09:51.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:09:51.784Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-16T19:09:51.784Z] Sending build context to Docker daemon 10.48MB [2023-01-16T19:09:51.784Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T19:09:51.784Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-16T19:09:51.784Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-16T19:09:51.784Z] 213ec9aee27d: Pulling fs layer [2023-01-16T19:09:51.784Z] 4583459ba037: Pulling fs layer [2023-01-16T19:09:51.784Z] 93c1e223e6f2: Pulling fs layer [2023-01-16T19:09:51.784Z] 53926ce57604: Pulling fs layer [2023-01-16T19:09:51.784Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-16T19:09:51.784Z] 22ff95d597cd: Pulling fs layer [2023-01-16T19:09:51.784Z] 12d6caf4c0d1: Pulling fs layer [2023-01-16T19:09:51.784Z] 96b7cbca73a9: Pulling fs layer [2023-01-16T19:09:51.784Z] a7acece74701: Pulling fs layer [2023-01-16T19:09:51.784Z] 53926ce57604: Waiting [2023-01-16T19:09:51.784Z] 21b2b0c7a3f4: Waiting [2023-01-16T19:09:51.784Z] 22ff95d597cd: Waiting [2023-01-16T19:09:51.784Z] 12d6caf4c0d1: Waiting [2023-01-16T19:09:51.784Z] a7acece74701: Waiting [2023-01-16T19:09:51.784Z] 96b7cbca73a9: Waiting [2023-01-16T19:09:52.064Z] 93c1e223e6f2: Verifying Checksum [2023-01-16T19:09:52.064Z] 93c1e223e6f2: Download complete [2023-01-16T19:09:52.064Z] 4583459ba037: Verifying Checksum [2023-01-16T19:09:52.064Z] 4583459ba037: Download complete [2023-01-16T19:09:52.064Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-16T19:09:52.064Z] 21b2b0c7a3f4: Download complete [2023-01-16T19:09:52.064Z] 22ff95d597cd: Download complete [2023-01-16T19:09:52.346Z] 213ec9aee27d: Verifying Checksum [2023-01-16T19:09:52.346Z] 213ec9aee27d: Download complete [2023-01-16T19:09:52.346Z] 213ec9aee27d: Pull complete [2023-01-16T19:09:52.644Z] 12d6caf4c0d1: Verifying Checksum [2023-01-16T19:09:52.644Z] 12d6caf4c0d1: Download complete [2023-01-16T19:09:52.644Z] 4583459ba037: Pull complete [2023-01-16T19:09:52.644Z] 93c1e223e6f2: Pull complete [2023-01-16T19:09:54.100Z] 96b7cbca73a9: Verifying Checksum [2023-01-16T19:09:54.360Z] a7acece74701: Verifying Checksum [2023-01-16T19:09:54.360Z] a7acece74701: Download complete [2023-01-16T19:09:54.927Z] 53926ce57604: Verifying Checksum [2023-01-16T19:09:54.927Z] 53926ce57604: Download complete [2023-01-16T19:09:59.133Z] 53926ce57604: Pull complete [2023-01-16T19:09:59.133Z] 21b2b0c7a3f4: Pull complete [2023-01-16T19:09:59.133Z] 22ff95d597cd: Pull complete [2023-01-16T19:09:59.133Z] 12d6caf4c0d1: Pull complete [2023-01-16T19:10:01.040Z] 96b7cbca73a9: Pull complete [2023-01-16T19:10:01.977Z] a7acece74701: Pull complete [2023-01-16T19:10:01.977Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-16T19:10:01.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-16T19:10:01.977Z] ---> db6d94c90886 [2023-01-16T19:10:01.977Z] Step 3/10 : ARG MAKE=make build [2023-01-16T19:10:04.512Z] ---> Running in cfd318d6de09 [2023-01-16T19:10:04.512Z] Removing intermediate container cfd318d6de09 [2023-01-16T19:10:04.512Z] ---> daef191feaf9 [2023-01-16T19:10:04.512Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-16T19:10:04.512Z] ---> Running in db977560af06 [2023-01-16T19:10:04.512Z] Removing intermediate container db977560af06 [2023-01-16T19:10:04.512Z] ---> af6c2bfd72d3 [2023-01-16T19:10:04.512Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-16T19:10:04.512Z] ---> Running in 37a15e63157b [2023-01-16T19:10:04.512Z] Removing intermediate container 37a15e63157b [2023-01-16T19:10:04.512Z] ---> c4705ce61cf0 [2023-01-16T19:10:04.512Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-16T19:10:04.512Z] ---> Running in 6ddb177a05f3 [2023-01-16T19:10:04.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T19:10:04.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T19:10:05.031Z] OK: 211 MiB in 51 packages [2023-01-16T19:10:05.162Z] Still waiting to schedule task [2023-01-16T19:10:05.162Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-16T19:10:05.293Z] Removing intermediate container 6ddb177a05f3 [2023-01-16T19:10:05.293Z] ---> 799eab5e0d49 [2023-01-16T19:10:05.293Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-16T19:10:05.551Z] ---> 02e2be53cf2d [2023-01-16T19:10:05.551Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T19:10:05.551Z] ---> Running in 4f78d4ca9397 [2023-01-16T19:10:32.106Z] Removing intermediate container 4f78d4ca9397 [2023-01-16T19:10:32.106Z] ---> 67101170d759 [2023-01-16T19:10:32.106Z] Step 9/10 : COPY . . [2023-01-16T19:10:32.106Z] ---> 23fa3cecfa92 [2023-01-16T19:10:32.106Z] Step 10/10 : RUN ${MAKE} [2023-01-16T19:10:32.106Z] ---> Running in 6f04213646d9 [2023-01-16T19:10:32.106Z] noop [2023-01-16T19:10:32.106Z] Removing intermediate container 6f04213646d9 [2023-01-16T19:10:32.106Z] ---> 5d258f4d9e52 [2023-01-16T19:10:32.106Z] Successfully built 5d258f4d9e52 [2023-01-16T19:10:32.106Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:10:32.422Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T19:10:32.422Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:10:32.494Z] prd-ubuntu20.04-docker-8c-8g-2658 does not seem to be running inside a container [2023-01-16T19:10:32.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@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-01-16T19:10:32.962Z] $ docker top 80f2c9b1367969aeac22418a3f3d5dbe1fae9fb83bdf618dcac0327e728e3b8c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T19:10:33.298Z] + go version [2023-01-16T19:10:33.298Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-16T19:10:33.307Z] $ docker stop --time=1 80f2c9b1367969aeac22418a3f3d5dbe1fae9fb83bdf618dcac0327e728e3b8c [2023-01-16T19:10:34.596Z] $ docker rm -f --volumes 80f2c9b1367969aeac22418a3f3d5dbe1fae9fb83bdf618dcac0327e728e3b8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:10:34.999Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T19:10:34.999Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:10:35.070Z] prd-ubuntu20.04-docker-8c-8g-2658 does not seem to be running inside a container [2023-01-16T19:10:35.096Z] $ 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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@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-01-16T19:10:35.430Z] $ docker top 5185d1bd632282bf62433bec847a6c3e69672b751f1df34f98a3e3db305b2b68 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T19:10:35.761Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1279 [Pipeline] fileExists [Pipeline] sh [2023-01-16T19:10:36.051Z] + make test [2023-01-16T19:10:36.051Z] go test -race -coverprofile=coverage.out ./... [2023-01-16T19:10:42.613Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-16T19:10:54.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-16T19:10:54.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-16T19:10:54.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-16T19:10:54.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-16T19:10:54.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-16T19:10:54.808Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-01-16T19:10:54.808Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements [2023-01-16T19:10:54.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-16T19:10:54.808Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.101s coverage: 73.6% of statements [2023-01-16T19:10:54.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-16T19:10:54.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-16T19:10:55.069Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 54.4% of statements [2023-01-16T19:10:55.069Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-16T19:10:55.069Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-16T19:10:55.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-16T19:10:55.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-16T19:10:55.070Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.107s coverage: 65.1% of statements [2023-01-16T19:10:55.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-16T19:10:55.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-16T19:10:55.070Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.720s coverage: 89.2% of statements [2023-01-16T19:10:55.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-16T19:10:55.070Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.052s coverage: 4.6% of statements [2023-01-16T19:10:55.070Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-16T19:11:09.965Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-16T19:11:09.965Z] GO111MODULE=on go vet ./... [2023-01-16T19:11:13.249Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-16T19:11:13.249Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-16T19:11:13.249Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-16T19:11:13.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-16T19:11:13.274Z] $ docker stop --time=1 5185d1bd632282bf62433bec847a6c3e69672b751f1df34f98a3e3db305b2b68 [2023-01-16T19:11:15.610Z] $ docker rm -f --volumes 5185d1bd632282bf62433bec847a6c3e69672b751f1df34f98a3e3db305b2b68 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T19:11:16.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-16T19:11:16.143Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-16T19:11:16.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-16T19:11:16.859Z] + ls -al . [2023-01-16T19:11:16.859Z] total 280 [2023-01-16T19:11:16.859Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 16 19:10 . [2023-01-16T19:11:16.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 19:09 .. [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 19:09 .dockerignore [2023-01-16T19:11:16.859Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 19:10 .git [2023-01-16T19:11:16.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 19:09 .github [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 16 19:09 .gitignore [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 16 19:09 .golangci.yml [2023-01-16T19:11:16.859Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 19:09 .semver [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 16 19:09 CHANGELOG.md [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 19:09 GOVERNANCE.md [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 16 19:09 Jenkinsfile [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 19:09 LICENSE [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 16 19:09 Makefile [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 16 19:09 OWNERS.md [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 16 19:09 README.md [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 19:09 VERSION [2023-01-16T19:11:16.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 19:09 bin [2023-01-16T19:11:16.859Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 16 19:10 coverage.out [2023-01-16T19:11:16.859Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 19:09 example [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 16 19:09 go.mod [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 16 19:09 go.sum [2023-01-16T19:11:16.859Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 16 19:09 internal [2023-01-16T19:11:16.859Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 19:09 openapi [2023-01-16T19:11:16.859Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 16 19:09 pkg [2023-01-16T19:11:16.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 19:09 snap [2023-01-16T19:11:16.859Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 19:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:11:17.162Z] + 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=902d8aacd1ae834f086c94fbb045baf5d3059305 --label arch=amd64 --label version=0.0.0 . [2023-01-16T19:11:17.162Z] Sending build context to Docker daemon 10.58MB [2023-01-16T19:11:17.162Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T19:11:17.162Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-16T19:11:17.162Z] ---> 5d258f4d9e52 [2023-01-16T19:11:17.162Z] Step 3/23 : ARG MAKE=make build [2023-01-16T19:11:17.422Z] ---> Running in 82c6ac8362a5 [2023-01-16T19:11:17.422Z] Removing intermediate container 82c6ac8362a5 [2023-01-16T19:11:17.422Z] ---> 4eea7d1c2f59 [2023-01-16T19:11:17.422Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-16T19:11:17.422Z] ---> Running in f789b49cf891 [2023-01-16T19:11:17.422Z] Removing intermediate container f789b49cf891 [2023-01-16T19:11:17.422Z] ---> e117d82a9ee5 [2023-01-16T19:11:17.422Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-16T19:11:17.422Z] ---> Running in dbb5f7e9ea43 [2023-01-16T19:11:17.679Z] Removing intermediate container dbb5f7e9ea43 [2023-01-16T19:11:17.679Z] ---> 93d6a0ddd4e3 [2023-01-16T19:11:17.679Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-16T19:11:17.679Z] ---> Running in ffc3507875f8 [2023-01-16T19:11:17.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T19:11:17.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T19:11:18.196Z] OK: 211 MiB in 51 packages [2023-01-16T19:11:18.453Z] Removing intermediate container ffc3507875f8 [2023-01-16T19:11:18.453Z] ---> 14dec0d1a295 [2023-01-16T19:11:18.453Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-16T19:11:18.713Z] ---> 35c6447f13ae [2023-01-16T19:11:18.713Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T19:11:18.713Z] ---> Running in 1b2d36527a05 [2023-01-16T19:11:19.657Z] Removing intermediate container 1b2d36527a05 [2023-01-16T19:11:19.657Z] ---> 995bdb3a3135 [2023-01-16T19:11:19.657Z] Step 9/23 : COPY . . [2023-01-16T19:11:19.920Z] ---> c107e5847f38 [2023-01-16T19:11:19.920Z] Step 10/23 : RUN ${MAKE} [2023-01-16T19:11:19.920Z] ---> Running in 7d021494c85d [2023-01-16T19:11:20.237Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-16T19:11:38.311Z] Removing intermediate container 7d021494c85d [2023-01-16T19:11:38.311Z] ---> 5416d6dc91d9 [2023-01-16T19:11:38.311Z] Step 11/23 : FROM alpine:3.16 [2023-01-16T19:11:38.311Z] 3.16: Pulling from library/alpine [2023-01-16T19:11:38.571Z] ca7dd9ec2225: Pulling fs layer [2023-01-16T19:11:38.571Z] ca7dd9ec2225: Verifying Checksum [2023-01-16T19:11:38.571Z] ca7dd9ec2225: Download complete [2023-01-16T19:11:38.830Z] ca7dd9ec2225: Pull complete [2023-01-16T19:11:38.830Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-16T19:11:38.830Z] Status: Downloaded newer image for alpine:3.16 [2023-01-16T19:11:38.830Z] ---> bfe296a52501 [2023-01-16T19:11:38.830Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-16T19:11:38.830Z] ---> Running in 5ba79759ff18 [2023-01-16T19:11:39.089Z] Removing intermediate container 5ba79759ff18 [2023-01-16T19:11:39.089Z] ---> d4c92378e538 [2023-01-16T19:11:39.089Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-16T19:11:39.089Z] ---> Running in d0f60118ee1b [2023-01-16T19:11:39.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T19:11:39.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T19:11:39.605Z] OK: 6 MiB in 14 packages [2023-01-16T19:11:39.863Z] Removing intermediate container d0f60118ee1b [2023-01-16T19:11:39.863Z] ---> ca1b230495c0 [2023-01-16T19:11:39.863Z] Step 14/23 : WORKDIR / [2023-01-16T19:11:40.126Z] ---> Running in a3e107197f06 [2023-01-16T19:11:40.126Z] Removing intermediate container a3e107197f06 [2023-01-16T19:11:40.126Z] ---> 3c6cf3fc6ac0 [2023-01-16T19:11:40.126Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-16T19:11:40.126Z] ---> 4bd6c2eb820d [2023-01-16T19:11:40.126Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-16T19:11:40.699Z] ---> 1afb18090296 [2023-01-16T19:11:40.699Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-16T19:11:40.958Z] ---> 3d4d9758bfa7 [2023-01-16T19:11:40.958Z] Step 18/23 : EXPOSE 59999 [2023-01-16T19:11:40.958Z] ---> Running in 648151848ad8 [2023-01-16T19:11:40.958Z] Removing intermediate container 648151848ad8 [2023-01-16T19:11:40.958Z] ---> 0de5183337ea [2023-01-16T19:11:40.958Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-16T19:11:40.958Z] ---> Running in 57c1ee9fa87b [2023-01-16T19:11:41.219Z] Removing intermediate container 57c1ee9fa87b [2023-01-16T19:11:41.219Z] ---> 40e8a07afc84 [2023-01-16T19:11:41.219Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-16T19:11:41.219Z] ---> Running in a2ad0a1b46a2 [2023-01-16T19:11:41.219Z] Removing intermediate container a2ad0a1b46a2 [2023-01-16T19:11:41.219Z] ---> cdf2e93587ba [2023-01-16T19:11:41.219Z] Step 21/23 : LABEL arch=amd64 [2023-01-16T19:11:41.219Z] ---> Running in 4b3d28e3e776 [2023-01-16T19:11:41.476Z] Removing intermediate container 4b3d28e3e776 [2023-01-16T19:11:41.476Z] ---> 427c65b570d7 [2023-01-16T19:11:41.476Z] Step 22/23 : LABEL git_sha=902d8aacd1ae834f086c94fbb045baf5d3059305 [2023-01-16T19:11:41.476Z] ---> Running in e678c2547b66 [2023-01-16T19:11:41.476Z] Removing intermediate container e678c2547b66 [2023-01-16T19:11:41.476Z] ---> 790044a02959 [2023-01-16T19:11:41.476Z] Step 23/23 : LABEL version=0.0.0 [2023-01-16T19:11:41.476Z] ---> Running in a137ca375ac6 [2023-01-16T19:11:41.754Z] Removing intermediate container a137ca375ac6 [2023-01-16T19:11:41.754Z] ---> 81c8494f7377 [2023-01-16T19:11:41.754Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-16T19:11:41.754Z] Successfully built 81c8494f7377 [2023-01-16T19:11:41.754Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:11:42.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T19:11:42.193Z] [2023-01-16T19:11:42.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:11:42.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T19:11:42.493Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-16T19:11:42.493Z] 5eb5b503b376: Pulling fs layer [2023-01-16T19:11:42.493Z] 5c69ac0246d0: Pulling fs layer [2023-01-16T19:11:42.493Z] ec43610c2a17: Pulling fs layer [2023-01-16T19:11:42.493Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-16T19:11:42.493Z] 33b1e0a273af: Pulling fs layer [2023-01-16T19:11:42.493Z] 5d3b04190fa2: Pulling fs layer [2023-01-16T19:11:42.493Z] 2f39f015ded8: Pulling fs layer [2023-01-16T19:11:42.493Z] 5d3b04190fa2: Waiting [2023-01-16T19:11:42.493Z] 2f39f015ded8: Waiting [2023-01-16T19:11:42.493Z] 3a2ae6a8a46f: Waiting [2023-01-16T19:11:42.493Z] 33b1e0a273af: Waiting [2023-01-16T19:11:42.493Z] 5c69ac0246d0: Download complete [2023-01-16T19:11:42.493Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-16T19:11:42.493Z] 3a2ae6a8a46f: Download complete [2023-01-16T19:11:42.759Z] 33b1e0a273af: Verifying Checksum [2023-01-16T19:11:42.759Z] 33b1e0a273af: Download complete [2023-01-16T19:11:42.759Z] 5d3b04190fa2: Verifying Checksum [2023-01-16T19:11:42.759Z] 5d3b04190fa2: Download complete [2023-01-16T19:11:42.759Z] ec43610c2a17: Verifying Checksum [2023-01-16T19:11:42.759Z] ec43610c2a17: Download complete [2023-01-16T19:11:43.019Z] 5eb5b503b376: Verifying Checksum [2023-01-16T19:11:43.019Z] 5eb5b503b376: Download complete [2023-01-16T19:11:43.586Z] 2f39f015ded8: Download complete [2023-01-16T19:11:43.844Z] 5eb5b503b376: Pull complete [2023-01-16T19:11:44.102Z] 5c69ac0246d0: Pull complete [2023-01-16T19:11:44.362Z] ec43610c2a17: Pull complete [2023-01-16T19:11:44.619Z] 3a2ae6a8a46f: Pull complete [2023-01-16T19:11:44.877Z] 33b1e0a273af: Pull complete [2023-01-16T19:11:44.877Z] 5d3b04190fa2: Pull complete [2023-01-16T19:11:49.064Z] 2f39f015ded8: Pull complete [2023-01-16T19:11:49.064Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-16T19:11:49.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T19:11:49.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:11:49.146Z] prd-ubuntu20.04-docker-8c-8g-2658 does not seem to be running inside a container [2023-01-16T19:11:49.186Z] $ 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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-16T19:11:51.004Z] $ docker top a692d1a746c4f24f626101c777cb2cd075fd810c5fada5a3324b8b0490c0d03a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:11:51.362Z] ---> job-cost.sh [2023-01-16T19:11:51.362Z] lf-activate-venv: SKIPPING [2023-01-16T19:11:51.362Z] INFO: No Stack... [2023-01-16T19:11:51.620Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T19:11:52.191Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T19:11:52.483Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/cost.csv [2023-01-16T19:11:52.483Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T19:11:52.499Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1279-4-stack-cost] [2023-01-16T19:11:52.508Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-4-stack-cost] did not exist. Created. [2023-01-16T19:11:52.508Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1279-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T19:11:52.817Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-16T19:11:52.850Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T19:11:52.856Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T19:11:52.871Z] $ docker stop --time=1 a692d1a746c4f24f626101c777cb2cd075fd810c5fada5a3324b8b0490c0d03a [2023-01-16T19:11:54.013Z] $ docker rm -f --volumes a692d1a746c4f24f626101c777cb2cd075fd810c5fada5a3324b8b0490c0d03a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T19:13:09.946Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2675 in /w/workspace/gexfoundry_device-sdk-go_PR-1279 [Pipeline] { [Pipeline] ws [2023-01-16T19:13:09.958Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-01-16T19:13:10.000Z] The recommended git tool is: git [2023-01-16T19:13:17.163Z] using credential edgex-jenkins-ssh [2023-01-16T19:13:17.185Z] Cloning the remote Git repository [2023-01-16T19:13:17.250Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-16T19:13:17.352Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-01-16T19:13:17.549Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-16T19:13:17.550Z] > git --version # timeout=10 [2023-01-16T19:13:17.577Z] > git --version # 'git version 2.25.1' [2023-01-16T19:13:17.580Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T19:13:17.658Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T19:13:19.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-16T19:13:19.486Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T19:13:21.418Z] Merging remotes/origin/main commit 7610f6dc338b87754f939bb9ede04e880837a002 into PR head commit 97d2a14bc06b57c7e9ee0b668a81eeba43f3ffd7 [2023-01-16T19:13:20.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-16T19:13:20.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-16T19:13:20.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T19:13:20.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1279/head:refs/remotes/origin/PR-1279 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-16T19:13:21.441Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T19:13:21.464Z] > git checkout -f 97d2a14bc06b57c7e9ee0b668a81eeba43f3ffd7 # timeout=10 [2023-01-16T19:13:21.604Z] > git remote # timeout=10 [2023-01-16T19:13:21.627Z] > git config --get remote.origin.url # timeout=10 [2023-01-16T19:13:21.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T19:13:21.667Z] > git merge 7610f6dc338b87754f939bb9ede04e880837a002 # timeout=10 [2023-01-16T19:13:21.801Z] Merge succeeded, producing b45567bba9a83ee1417c7a6e9cab5ea76fb81226 [2023-01-16T19:13:21.802Z] Checking out Revision b45567bba9a83ee1417c7a6e9cab5ea76fb81226 (PR-1279) [2023-01-16T19:13:21.781Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-16T19:13:21.811Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T19:13:21.831Z] > git checkout -f b45567bba9a83ee1417c7a6e9cab5ea76fb81226 # timeout=10 [2023-01-16T19:13:25.578Z] Commit message: "Merge commit '7610f6dc338b87754f939bb9ede04e880837a002' into HEAD" [2023-01-16T19:13:25.590Z] > git rev-list --no-walk 97d2a14bc06b57c7e9ee0b668a81eeba43f3ffd7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T19:13:26.628Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-16T19:13:26.628Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T19:13:26.628Z] Dload Upload Total Spent Left Speed [2023-01-16T19:13:26.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh [2023-01-16T19:13:27.451Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-16T19:13:27.810Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-16T19:13:27.810Z] + sudo tee /etc/docker/daemon.new [2023-01-16T19:13:27.810Z] { [2023-01-16T19:13:27.810Z] "registry-mirrors": [ [2023-01-16T19:13:27.810Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-16T19:13:27.810Z] ], [2023-01-16T19:13:27.810Z] "bip": "10.250.0.254/24", [2023-01-16T19:13:27.810Z] "hosts": [ [2023-01-16T19:13:27.810Z] "tcp://0.0.0.0:5555", [2023-01-16T19:13:27.810Z] "unix:///var/run/docker.sock" [2023-01-16T19:13:27.810Z] ], [2023-01-16T19:13:27.810Z] "mtu": 1458, [2023-01-16T19:13:27.810Z] "selinux-enabled": true, [2023-01-16T19:13:27.810Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-16T19:13:27.810Z] } [Pipeline] sh [2023-01-16T19:13:28.171Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-16T19:13:28.530Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T19:13:46.880Z] provisioning config files... [2023-01-16T19:13:46.915Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config324574753785759750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:13:47.370Z] ---> docker-login.sh [2023-01-16T19:13:47.370Z] nexus3.edgexfoundry.org:10001 [2023-01-16T19:13:47.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:13:47.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:13:47.966Z] Configure a credential helper to remove this warning. See [2023-01-16T19:13:47.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:13:47.966Z] [2023-01-16T19:13:47.966Z] Login Succeeded [2023-01-16T19:13:47.966Z] nexus3.edgexfoundry.org:10002 [2023-01-16T19:13:48.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:13:48.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:13:48.508Z] Configure a credential helper to remove this warning. See [2023-01-16T19:13:48.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:13:48.508Z] [2023-01-16T19:13:48.508Z] Login Succeeded [2023-01-16T19:13:48.508Z] nexus3.edgexfoundry.org:10003 [2023-01-16T19:13:48.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:13:48.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:13:48.779Z] Configure a credential helper to remove this warning. See [2023-01-16T19:13:48.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:13:48.779Z] [2023-01-16T19:13:48.779Z] Login Succeeded [2023-01-16T19:13:48.779Z] nexus3.edgexfoundry.org:10004 [2023-01-16T19:13:49.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:13:49.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:13:49.326Z] Configure a credential helper to remove this warning. See [2023-01-16T19:13:49.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:13:49.326Z] [2023-01-16T19:13:49.326Z] Login Succeeded [2023-01-16T19:13:49.326Z] docker.io [2023-01-16T19:13:49.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:13:49.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:13:49.598Z] Configure a credential helper to remove this warning. See [2023-01-16T19:13:49.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:13:49.598Z] [2023-01-16T19:13:49.598Z] Login Succeeded [2023-01-16T19:13:49.598Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T19:13:49.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T19:13:49.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T19:13:49.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T19:13:49.974Z] ========================================================= [2023-01-16T19:13:49.975Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-16T19:13:49.975Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:13:50.345Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-16T19:13:50.950Z] Sending build context to Docker daemon 5.655MB [2023-01-16T19:13:50.950Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T19:13:50.950Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-16T19:13:50.950Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-16T19:13:50.950Z] 9b18e9b68314: Pulling fs layer [2023-01-16T19:13:50.950Z] 35d82f9e3411: Pulling fs layer [2023-01-16T19:13:50.950Z] e16973657156: Pulling fs layer [2023-01-16T19:13:50.950Z] fc693d55d65f: Pulling fs layer [2023-01-16T19:13:50.950Z] 7e9fc2657dce: Pulling fs layer [2023-01-16T19:13:50.950Z] dda99020689f: Pulling fs layer [2023-01-16T19:13:50.950Z] db1c61fa0a46: Pulling fs layer [2023-01-16T19:13:50.950Z] 891c053d2c06: Pulling fs layer [2023-01-16T19:13:50.950Z] fc693d55d65f: Waiting [2023-01-16T19:13:50.950Z] 7e9fc2657dce: Waiting [2023-01-16T19:13:50.950Z] dda99020689f: Waiting [2023-01-16T19:13:50.950Z] db1c61fa0a46: Waiting [2023-01-16T19:13:50.950Z] 891c053d2c06: Waiting [2023-01-16T19:13:50.950Z] e16973657156: Download complete [2023-01-16T19:13:50.950Z] 35d82f9e3411: Verifying Checksum [2023-01-16T19:13:50.950Z] 35d82f9e3411: Download complete [2023-01-16T19:13:51.226Z] 7e9fc2657dce: Verifying Checksum [2023-01-16T19:13:51.226Z] 7e9fc2657dce: Download complete [2023-01-16T19:13:51.226Z] dda99020689f: Verifying Checksum [2023-01-16T19:13:51.226Z] dda99020689f: Download complete [2023-01-16T19:13:51.226Z] 9b18e9b68314: Verifying Checksum [2023-01-16T19:13:51.226Z] 9b18e9b68314: Download complete [2023-01-16T19:13:52.210Z] 9b18e9b68314: Pull complete [2023-01-16T19:13:52.486Z] 891c053d2c06: Verifying Checksum [2023-01-16T19:13:52.486Z] 891c053d2c06: Download complete [2023-01-16T19:13:52.766Z] 35d82f9e3411: Pull complete [2023-01-16T19:13:53.055Z] e16973657156: Pull complete [2023-01-16T19:13:53.654Z] db1c61fa0a46: Verifying Checksum [2023-01-16T19:13:53.654Z] db1c61fa0a46: Download complete [2023-01-16T19:13:54.642Z] fc693d55d65f: Verifying Checksum [2023-01-16T19:13:54.642Z] fc693d55d65f: Download complete [2023-01-16T19:14:07.021Z] fc693d55d65f: Pull complete [2023-01-16T19:14:07.021Z] 7e9fc2657dce: Pull complete [2023-01-16T19:14:07.291Z] dda99020689f: Pull complete [2023-01-16T19:14:13.998Z] db1c61fa0a46: Pull complete [2023-01-16T19:14:16.620Z] 891c053d2c06: Pull complete [2023-01-16T19:14:16.620Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-16T19:14:16.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-16T19:14:16.620Z] ---> f96f9c87975a [2023-01-16T19:14:16.620Z] Step 3/10 : ARG MAKE=make build [2023-01-16T19:14:17.216Z] ---> Running in 66c49e776cc9 [2023-01-16T19:14:17.485Z] Removing intermediate container 66c49e776cc9 [2023-01-16T19:14:17.485Z] ---> 86ee671d3a34 [2023-01-16T19:14:17.485Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-16T19:14:17.485Z] ---> Running in a046f3dfc35d [2023-01-16T19:14:17.759Z] Removing intermediate container a046f3dfc35d [2023-01-16T19:14:17.759Z] ---> 4b6f98e2c397 [2023-01-16T19:14:17.759Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-16T19:14:18.033Z] ---> Running in 94edd7fa5e52 [2023-01-16T19:14:18.303Z] Removing intermediate container 94edd7fa5e52 [2023-01-16T19:14:18.303Z] ---> 2d2e3651915f [2023-01-16T19:14:18.303Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-16T19:14:18.574Z] ---> Running in 05eabd3c8e90 [2023-01-16T19:14:19.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T19:14:19.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T19:14:21.413Z] OK: 221 MiB in 51 packages [2023-01-16T19:14:22.389Z] Removing intermediate container 05eabd3c8e90 [2023-01-16T19:14:22.389Z] ---> 47189defaaee [2023-01-16T19:14:22.389Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-16T19:14:22.987Z] ---> 061c7a3e91ec [2023-01-16T19:14:22.987Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T19:14:22.987Z] ---> Running in 30596f2689da [2023-01-16T19:15:30.979Z] Removing intermediate container 30596f2689da [2023-01-16T19:15:30.979Z] ---> d6c368c9fbcf [2023-01-16T19:15:30.979Z] Step 9/10 : COPY . . [2023-01-16T19:15:30.979Z] ---> ac49f519661e [2023-01-16T19:15:30.979Z] Step 10/10 : RUN ${MAKE} [2023-01-16T19:15:30.979Z] ---> Running in 20d3fe6d0543 [2023-01-16T19:15:30.979Z] noop [2023-01-16T19:15:30.979Z] Removing intermediate container 20d3fe6d0543 [2023-01-16T19:15:30.979Z] ---> 7b8c987935b0 [2023-01-16T19:15:30.979Z] Successfully built 7b8c987935b0 [2023-01-16T19:15:30.979Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:15:31.354Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T19:15:31.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:15:31.598Z] prd-ubuntu20.04-docker-arm64-4c-16g-2675 does not seem to be running inside a container [2023-01-16T19:15:31.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-01-16T19:15:33.152Z] $ docker top 817534605bd4bb653e69a7ec8a39ec74b25cc81dc63db16013fc70f7d03e5df0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T19:15:34.068Z] + go version [2023-01-16T19:15:34.068Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-16T19:15:34.088Z] $ docker stop --time=1 817534605bd4bb653e69a7ec8a39ec74b25cc81dc63db16013fc70f7d03e5df0 [2023-01-16T19:15:35.824Z] $ docker rm -f --volumes 817534605bd4bb653e69a7ec8a39ec74b25cc81dc63db16013fc70f7d03e5df0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:15:36.439Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T19:15:36.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:15:36.675Z] prd-ubuntu20.04-docker-arm64-4c-16g-2675 does not seem to be running inside a container [2023-01-16T19:15:36.762Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-01-16T19:15:38.233Z] $ docker top 1c4a33cb724dab7057417ce451a05de16dc1c71cc5915ae8c25c04dc21628785 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T19:15:39.141Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-01-16T19:15:39.830Z] + make test [2023-01-16T19:15:39.830Z] go test -race -coverprofile=coverage.out ./... [2023-01-16T19:16:26.805Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-16T19:19:03.649Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-16T19:19:03.649Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-16T19:19:03.649Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-16T19:19:03.649Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-16T19:19:03.649Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-16T19:19:10.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.267s coverage: 27.6% of statements [2023-01-16T19:19:12.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.378s coverage: 78.9% of statements [2023-01-16T19:19:12.288Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-16T19:19:18.960Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.478s coverage: 73.6% of statements [2023-01-16T19:19:18.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-16T19:19:18.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-16T19:19:20.920Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.746s coverage: 54.4% of statements [2023-01-16T19:19:20.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-16T19:19:20.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-16T19:19:20.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-16T19:19:20.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-16T19:19:21.188Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.480s coverage: 65.1% of statements [2023-01-16T19:19:21.188Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-16T19:19:21.188Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-16T19:19:21.188Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.496s coverage: 89.2% of statements [2023-01-16T19:19:21.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-16T19:19:21.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.346s coverage: 4.6% of statements [2023-01-16T19:19:21.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-16T19:19:22.048Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-16T19:19:22.048Z] GO111MODULE=on go vet ./... [2023-01-16T19:20:58.770Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-16T19:20:58.770Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-16T19:20:58.770Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-16T19:20:58.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-16T19:20:58.788Z] $ docker stop --time=1 1c4a33cb724dab7057417ce451a05de16dc1c71cc5915ae8c25c04dc21628785 [2023-01-16T19:21:00.617Z] $ docker rm -f --volumes 1c4a33cb724dab7057417ce451a05de16dc1c71cc5915ae8c25c04dc21628785 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T19:21:02.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-16T19:21:02.171Z] Warning: overwriting stash ‘coverage-report’ [2023-01-16T19:21:02.963Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T19:21:03.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-16T19:21:03.687Z] + ls -al . [2023-01-16T19:21:03.687Z] total 276 [2023-01-16T19:21:03.687Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 19:15 . [2023-01-16T19:21:03.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 19:13 .. [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 19:13 .dockerignore [2023-01-16T19:21:03.687Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 19:13 .git [2023-01-16T19:21:03.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 19:13 .github [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 16 19:13 .gitignore [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 16 19:13 .golangci.yml [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 16 19:13 CHANGELOG.md [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 19:13 GOVERNANCE.md [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 16 19:13 Jenkinsfile [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 19:13 LICENSE [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 16 19:13 Makefile [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 16 19:13 OWNERS.md [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 16 19:13 README.md [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 19:09 VERSION [2023-01-16T19:21:03.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 19:13 bin [2023-01-16T19:21:03.687Z] -rw-r--r-- 1 jenkins jenkins 101914 Jan 16 19:19 coverage.out [2023-01-16T19:21:03.687Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 19:13 example [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 16 19:13 go.mod [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 16 19:13 go.sum [2023-01-16T19:21:03.687Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 16 19:13 internal [2023-01-16T19:21:03.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 19:13 openapi [2023-01-16T19:21:03.687Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 16 19:13 pkg [2023-01-16T19:21:03.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 19:13 snap [2023-01-16T19:21:03.687Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 19:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:21:04.051Z] + 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=b45567bba9a83ee1417c7a6e9cab5ea76fb81226 --label arch=arm64 --label version=0.0.0 . [2023-01-16T19:21:04.653Z] Sending build context to Docker daemon 5.757MB [2023-01-16T19:21:04.653Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T19:21:04.653Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-16T19:21:04.653Z] ---> 7b8c987935b0 [2023-01-16T19:21:04.653Z] Step 3/23 : ARG MAKE=make build [2023-01-16T19:21:04.653Z] ---> Running in 96c575e45e66 [2023-01-16T19:21:04.950Z] Removing intermediate container 96c575e45e66 [2023-01-16T19:21:04.950Z] ---> 00d42ef5a425 [2023-01-16T19:21:04.950Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-16T19:21:04.950Z] ---> Running in 726c807905e2 [2023-01-16T19:21:05.563Z] Removing intermediate container 726c807905e2 [2023-01-16T19:21:05.563Z] ---> 879a48c7216d [2023-01-16T19:21:05.563Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-16T19:21:05.563Z] ---> Running in 3f4540780eed [2023-01-16T19:21:05.833Z] Removing intermediate container 3f4540780eed [2023-01-16T19:21:05.833Z] ---> 1b28a3f6caa0 [2023-01-16T19:21:05.833Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-16T19:21:05.833Z] ---> Running in c17574c40e4f [2023-01-16T19:21:06.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T19:21:07.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T19:21:08.468Z] OK: 221 MiB in 51 packages [2023-01-16T19:21:11.055Z] Removing intermediate container c17574c40e4f [2023-01-16T19:21:11.055Z] ---> 51121851f75a [2023-01-16T19:21:11.055Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-16T19:21:11.323Z] ---> 7fb643368de8 [2023-01-16T19:21:11.323Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T19:21:11.594Z] ---> Running in 398189d4e8a6 [2023-01-16T19:21:13.550Z] Removing intermediate container 398189d4e8a6 [2023-01-16T19:21:13.550Z] ---> 2d0d24fb155f [2023-01-16T19:21:13.550Z] Step 9/23 : COPY . . [2023-01-16T19:21:14.971Z] ---> 690f0be5b64c [2023-01-16T19:21:14.971Z] Step 10/23 : RUN ${MAKE} [2023-01-16T19:21:14.971Z] ---> Running in a89c7fbe699e [2023-01-16T19:21:15.933Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-16T19:23:22.613Z] Removing intermediate container a89c7fbe699e [2023-01-16T19:23:22.613Z] ---> 05c20f9db4b9 [2023-01-16T19:23:22.613Z] Step 11/23 : FROM alpine:3.16 [2023-01-16T19:23:22.613Z] 3.16: Pulling from library/alpine [2023-01-16T19:23:22.613Z] 6875df1f5354: Pulling fs layer [2023-01-16T19:23:22.613Z] 6875df1f5354: Verifying Checksum [2023-01-16T19:23:22.613Z] 6875df1f5354: Download complete [2023-01-16T19:23:22.613Z] 6875df1f5354: Pull complete [2023-01-16T19:23:22.613Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-16T19:23:22.613Z] Status: Downloaded newer image for alpine:3.16 [2023-01-16T19:23:22.613Z] ---> 2b4661558fb8 [2023-01-16T19:23:22.613Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-16T19:23:22.614Z] ---> Running in e80b94fc1c1d [2023-01-16T19:23:22.614Z] Removing intermediate container e80b94fc1c1d [2023-01-16T19:23:22.614Z] ---> e303e5345825 [2023-01-16T19:23:22.614Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-16T19:23:22.614Z] ---> Running in d52bb84f0b1c [2023-01-16T19:23:22.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T19:23:22.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T19:23:22.614Z] OK: 5 MiB in 14 packages [2023-01-16T19:23:22.614Z] Removing intermediate container d52bb84f0b1c [2023-01-16T19:23:22.614Z] ---> ff9047ac6477 [2023-01-16T19:23:22.614Z] Step 14/23 : WORKDIR / [2023-01-16T19:23:22.614Z] ---> Running in 0d7b6acf2e63 [2023-01-16T19:23:22.614Z] Removing intermediate container 0d7b6acf2e63 [2023-01-16T19:23:22.614Z] ---> 20b20317ab6f [2023-01-16T19:23:22.614Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-16T19:23:22.879Z] ---> 03feaeaf886d [2023-01-16T19:23:22.879Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-16T19:23:24.282Z] ---> 2016a1eb75fe [2023-01-16T19:23:24.282Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-16T19:23:24.551Z] ---> db40c2698ced [2023-01-16T19:23:24.551Z] Step 18/23 : EXPOSE 59999 [2023-01-16T19:23:24.551Z] ---> Running in 05326f3c8228 [2023-01-16T19:23:24.817Z] Removing intermediate container 05326f3c8228 [2023-01-16T19:23:24.817Z] ---> f2f402d1c281 [2023-01-16T19:23:24.817Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-16T19:23:24.817Z] ---> Running in c84d18e832a9 [2023-01-16T19:23:25.084Z] Removing intermediate container c84d18e832a9 [2023-01-16T19:23:25.084Z] ---> 96624b6a6f74 [2023-01-16T19:23:25.084Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-16T19:23:25.353Z] ---> Running in ff4a89071394 [2023-01-16T19:23:25.623Z] Removing intermediate container ff4a89071394 [2023-01-16T19:23:25.623Z] ---> 7e1379534b59 [2023-01-16T19:23:25.623Z] Step 21/23 : LABEL arch=arm64 [2023-01-16T19:23:25.623Z] ---> Running in 8720bb75f03c [2023-01-16T19:23:25.889Z] Removing intermediate container 8720bb75f03c [2023-01-16T19:23:25.889Z] ---> 6af5d6429e63 [2023-01-16T19:23:25.889Z] Step 22/23 : LABEL git_sha=b45567bba9a83ee1417c7a6e9cab5ea76fb81226 [2023-01-16T19:23:25.889Z] ---> Running in 9f2a0a1978c4 [2023-01-16T19:23:26.155Z] Removing intermediate container 9f2a0a1978c4 [2023-01-16T19:23:26.155Z] ---> f5bfb7a5ecbc [2023-01-16T19:23:26.155Z] Step 23/23 : LABEL version=0.0.0 [2023-01-16T19:23:26.155Z] ---> Running in e3f77b17a01f [2023-01-16T19:23:26.423Z] Removing intermediate container e3f77b17a01f [2023-01-16T19:23:26.423Z] ---> cb9435a933ad [2023-01-16T19:23:26.423Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-16T19:23:26.689Z] Successfully built cb9435a933ad [2023-01-16T19:23:26.689Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:23:27.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T19:23:27.093Z] [2023-01-16T19:23:27.093Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:23:27.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T19:23:28.827Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-16T19:23:28.827Z] 8998bd30e6a1: Pulling fs layer [2023-01-16T19:23:28.827Z] 04944245beec: Pulling fs layer [2023-01-16T19:23:28.827Z] 699f458cf7ca: Pulling fs layer [2023-01-16T19:23:28.827Z] 765212b225bb: Pulling fs layer [2023-01-16T19:23:28.827Z] f23df028b6ca: Pulling fs layer [2023-01-16T19:23:28.827Z] d65c8cfc05b1: Pulling fs layer [2023-01-16T19:23:28.827Z] 2437ff75d9bd: Pulling fs layer [2023-01-16T19:23:28.827Z] 765212b225bb: Waiting [2023-01-16T19:23:28.827Z] f23df028b6ca: Waiting [2023-01-16T19:23:28.827Z] d65c8cfc05b1: Waiting [2023-01-16T19:23:28.827Z] 2437ff75d9bd: Waiting [2023-01-16T19:23:29.099Z] 04944245beec: Verifying Checksum [2023-01-16T19:23:29.099Z] 04944245beec: Download complete [2023-01-16T19:23:29.099Z] 765212b225bb: Verifying Checksum [2023-01-16T19:23:29.099Z] 765212b225bb: Download complete [2023-01-16T19:23:29.099Z] f23df028b6ca: Download complete [2023-01-16T19:23:29.099Z] d65c8cfc05b1: Verifying Checksum [2023-01-16T19:23:29.099Z] d65c8cfc05b1: Download complete [2023-01-16T19:23:29.373Z] 699f458cf7ca: Verifying Checksum [2023-01-16T19:23:29.373Z] 699f458cf7ca: Download complete [2023-01-16T19:23:29.643Z] 8998bd30e6a1: Verifying Checksum [2023-01-16T19:23:29.643Z] 8998bd30e6a1: Download complete [2023-01-16T19:23:32.224Z] 2437ff75d9bd: Verifying Checksum [2023-01-16T19:23:32.224Z] 2437ff75d9bd: Download complete [2023-01-16T19:23:33.634Z] 8998bd30e6a1: Pull complete [2023-01-16T19:23:33.902Z] 04944245beec: Pull complete [2023-01-16T19:23:35.312Z] 699f458cf7ca: Pull complete [2023-01-16T19:23:35.578Z] 765212b225bb: Pull complete [2023-01-16T19:23:36.163Z] f23df028b6ca: Pull complete [2023-01-16T19:23:36.432Z] d65c8cfc05b1: Pull complete [2023-01-16T19:23:51.435Z] 2437ff75d9bd: Pull complete [2023-01-16T19:23:51.435Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-16T19:23:51.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T19:23:51.435Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:23:51.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-2675 does not seem to be running inside a container [2023-01-16T19:23:51.668Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-01-16T19:23:54.226Z] $ docker top 4b98f7d6e04a555f43723f286e5ff8d8f622d91f966c98a853631ba671a38580 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:23:55.084Z] ---> job-cost.sh [2023-01-16T19:23:55.084Z] lf-activate-venv: SKIPPING [2023-01-16T19:23:55.084Z] INFO: No Stack... [2023-01-16T19:23:55.351Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-16T19:23:56.308Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T19:23:56.626Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-01-16T19:23:56.626Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T19:23:56.684Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1279-4-stack-cost] [2023-01-16T19:23:56.694Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-4-stack-cost] did not exist. Created. [2023-01-16T19:23:56.694Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1279-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T19:23:57.021Z] /w/workspace/device-sdk-go/4@tmp/durable-fbee7657/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-16T19:23:57.357Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-16T19:23:57.386Z] Warning: overwriting stash ‘stack-cost’ [2023-01-16T19:23:57.446Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T19:23:57.452Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T19:23:57.462Z] $ docker stop --time=1 4b98f7d6e04a555f43723f286e5ff8d8f622d91f966c98a853631ba671a38580 [2023-01-16T19:23:58.928Z] $ docker rm -f --volumes 4b98f7d6e04a555f43723f286e5ff8d8f622d91f966c98a853631ba671a38580 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-16T19:23:59.275Z] provisioning config files... [2023-01-16T19:23:59.282Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config12406415748127760599tmp [Pipeline] { [Pipeline] sh [2023-01-16T19:23:59.573Z] + set +x [2023-01-16T19:23:59.574Z] + curl -s https://codecov.io/bash [2023-01-16T19:23:59.574Z] + bash -s -- [2023-01-16T19:23:59.574Z] [2023-01-16T19:23:59.574Z] _____ _ [2023-01-16T19:23:59.574Z] / ____| | | [2023-01-16T19:23:59.574Z] | | ___ __| | ___ ___ _____ __ [2023-01-16T19:23:59.574Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-16T19:23:59.574Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-16T19:23:59.574Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-16T19:23:59.574Z] Bash-1.0.6 [2023-01-16T19:23:59.574Z] [2023-01-16T19:23:59.574Z] [2023-01-16T19:23:59.574Z] ==> git version 2.25.1 found [2023-01-16T19:23:59.574Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-16T19:23:59.574Z] Release-Date: 2020-01-08 [2023-01-16T19:23:59.574Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-16T19:23:59.574Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-16T19:23:59.574Z] ==> Jenkins CI detected. [2023-01-16T19:23:59.574Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1279 [2023-01-16T19:23:59.574Z] project root: . [2023-01-16T19:23:59.574Z] --> token set from env [2023-01-16T19:23:59.574Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-16T19:23:59.574Z] ==> Running gcov in . (disable via -X gcov) [2023-01-16T19:23:59.574Z] ==> Python coveragepy not found [2023-01-16T19:23:59.574Z] ==> Searching for coverage reports in: [2023-01-16T19:23:59.574Z] + . [2023-01-16T19:23:59.574Z] -> Found 1 reports [2023-01-16T19:23:59.574Z] ==> Detecting git/mercurial file structure [2023-01-16T19:23:59.574Z] ==> Reading reports [2023-01-16T19:23:59.574Z] + ./coverage.out bytes=101914 [2023-01-16T19:23:59.833Z] ==> Appending adjustments [2023-01-16T19:23:59.833Z] https://docs.codecov.io/docs/fixing-reports [2023-01-16T19:24:00.092Z] + Found adjustments [2023-01-16T19:24:00.092Z] ==> Gzipping contents [2023-01-16T19:24:00.092Z] 16K /tmp/codecov.NyO5lJ.gz [2023-01-16T19:24:00.092Z] ==> Uploading reports [2023-01-16T19:24:00.092Z] url: https://codecov.io [2023-01-16T19:24:00.092Z] query: branch=PR-1279&commit=902d8aacd1ae834f086c94fbb045baf5d3059305&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1279%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1279&job=&cmd_args= [2023-01-16T19:24:00.092Z] -> Pinging Codecov [2023-01-16T19:24:00.092Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1279&commit=902d8aacd1ae834f086c94fbb045baf5d3059305&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1279%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1279&job=&cmd_args= [2023-01-16T19:24:00.351Z] -> Uploading to [2023-01-16T19:24:00.351Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-16/7E55EF52A471D76F132DFD9A03CDDE97/902d8aacd1ae834f086c94fbb045baf5d3059305/15a1f1c5-4b36-455d-a7d4-ff878257f094.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230116T192400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=85404ed89a7cffb174c4f72926e8afd2b6a7b99d371c91d09e2643568a42f01b [2023-01-16T19:24:00.351Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T19:24:00.351Z] Dload Upload Total Spent Left Speed [2023-01-16T19:24:00.610Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14783 0 0 100 14783 0 52052 --:--:-- --:--:-- --:--:-- 52052 [2023-01-16T19:24:00.610Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/902d8aacd1ae834f086c94fbb045baf5d3059305 [Pipeline] } [2023-01-16T19:24:00.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-16T19:24:01.288Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives ] [2023-01-16T19:24:01.288Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives [2023-01-16T19:24:01.288Z] total 16 [2023-01-16T19:24:01.288Z] drwxr-xr-x 3 root root 4096 Jan 16 19:11 . [2023-01-16T19:24:01.288Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 16 19:11 .. [2023-01-16T19:24:01.288Z] drwxr-xr-x 2 root root 4096 Jan 16 19:11 cost [2023-01-16T19:24:01.288Z] -rw-r--r-- 1 root root 86 Jan 16 19:11 cost.csv [2023-01-16T19:24:01.288Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives [2023-01-16T19:24:01.288Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives [2023-01-16T19:24:01.288Z] total 16 [2023-01-16T19:24:01.288Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 19:11 . [2023-01-16T19:24:01.288Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 16 19:11 .. [2023-01-16T19:24:01.288Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 19:11 cost [2023-01-16T19:24:01.288Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 16 19:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:24:01.578Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:24:02.439Z] ---> package-listing.sh [2023-01-16T19:24:02.439Z] ++ facter osfamily [2023-01-16T19:24:02.439Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-16T19:24:02.698Z] + OS_FAMILY=debian [2023-01-16T19:24:02.698Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1279 [2023-01-16T19:24:02.698Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-16T19:24:02.698Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-16T19:24:02.698Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-16T19:24:02.698Z] + PACKAGES=/tmp/packages_start.txt [2023-01-16T19:24:02.698Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1279 ']' [2023-01-16T19:24:02.698Z] + PACKAGES=/tmp/packages_end.txt [2023-01-16T19:24:02.698Z] + case "${OS_FAMILY}" in [2023-01-16T19:24:02.698Z] + dpkg -l [2023-01-16T19:24:02.698Z] + grep '^ii' [2023-01-16T19:24:02.698Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-16T19:24:02.698Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-16T19:24:02.698Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-16T19:24:02.698Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1279 ']' [2023-01-16T19:24:02.698Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/ [2023-01-16T19:24:02.698Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/ [Pipeline] echo [2023-01-16T19:24:02.709Z] 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-1279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-16T19:24:02.988Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:24:03.544Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T19:24:03.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:24:03.620Z] prd-ubuntu20.04-docker-8c-8g-2658 does not seem to be running inside a container [2023-01-16T19:24:03.637Z] $ 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-1279/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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@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-01-16T19:24:03.874Z] $ docker top f484f28726b4162bd3f442bbd1432547ddce7cb22e6706285f664c10608f8ce1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T19:24:04.223Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-16T19:24:04.508Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-16T19:24:04.795Z] + ls /var/log/sa-host [2023-01-16T19:24:04.795Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T19:24:04.869Z] provisioning config files... [2023-01-16T19:24:04.880Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config1449241810493403609tmp [Pipeline] { [Pipeline] echo [2023-01-16T19:24:04.893Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:24:05.183Z] ---> create-netrc.sh [Pipeline] } [2023-01-16T19:24:05.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:24:05.513Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-16T19:24:05.523Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:24:05.814Z] ---> sudo-logs.sh [2023-01-16T19:24:05.814Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-16T19:24:05.843Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:24:06.126Z] ---> job-cost.sh [2023-01-16T19:24:06.126Z] lf-activate-venv: SKIPPING [2023-01-16T19:24:06.126Z] DEBUG: total: 0.2199999988079071 [2023-01-16T19:24:06.126Z] INFO: Retrieving Stack Cost... [2023-01-16T19:24:06.385Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T19:24:06.953Z] INFO: Archiving Costs [Pipeline] echo [2023-01-16T19:24:06.967Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:24:07.251Z] ---> logs-deploy.sh [2023-01-16T19:24:07.251Z] lf-activate-venv: SKIPPING [2023-01-16T19:24:07.251Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1279/4 [2023-01-16T19:24:07.251Z] INFO: archiving workspace using pattern(s): [2023-01-16T19:24:08.190Z] Archives upload complete. [2023-01-16T19:24:08.190Z] INFO: archiving logs to Nexus