Pull request #1325 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1+bf4aa2dff0c0a7f4a97997804f6014e11af12954 (1ba8d971d181c26a9c5f3288d73835acf1521244) 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-ssh11701838519373280660.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-ssh5888665622640320451.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-1325/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-1325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6457101955173734287.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-ssh5101252903666096629.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-1325/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-1325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14993603878854183171.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6415 in /w/workspace/gexfoundry_device-sdk-go_PR-1325 [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-1325 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1325/head:refs/remotes/origin/PR-1325 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bf4aa2dff0c0a7f4a97997804f6014e11af12954 into PR head commit 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 Merge succeeded, producing 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 Checking out Revision 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 (PR-1325) > git config core.sparsecheckout # timeout=10 > git checkout -f 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 # 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 bf4aa2dff0c0a7f4a97997804f6014e11af12954 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 # timeout=10 Commit message: "feat!: replace REST device validation callback with MessageBus" First time build. Skipping changelog. > git rev-list --no-walk 4beef8a598f213c19e1bd7092db2f243fd3239a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T06:35:28.341Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T06:35:28.406Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T06:35:28.423Z] ========================================================= [2023-02-17T06:35:28.423Z] EdgeX Global Pipelines Version Info [2023-02-17T06:35:28.423Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:35:29.129Z] ------------------- [2023-02-17T06:35:29.129Z] stable info: [2023-02-17T06:35:29.129Z] ------------------- [2023-02-17T06:35:29.129Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T06:35:29.129Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T06:35:29.129Z] Message: update stable to v1.0.244 [2023-02-17T06:35:29.770Z] ------------------- [2023-02-17T06:35:29.770Z] experimental info: [2023-02-17T06:35:29.770Z] ------------------- [2023-02-17T06:35:29.770Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T06:35:29.770Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T06:35:29.770Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T06:35:29.945Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-17T06:35:29.957Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-17T06:35:29.968Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T06:35:29.981Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T06:35:29.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T06:35:30.001Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T06:35:30.014Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T06:35:30.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-17T06:35:30.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T06:35:30.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T06:35:30.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T06:35:30.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-17T06:35:30.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T06:35:30.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T06:35:30.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T06:35:30.163Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:35:30.181Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:35:30.199Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:35:30.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T06:35:30.227Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T06:35:30.239Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-17T06:35:30.254Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-17T06:35:30.271Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T06:35:30.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T06:35:30.306Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T06:35:30.320Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T06:35:30.334Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T06:35:30.354Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1325 [Pipeline] echo [2023-02-17T06:35:30.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1325 [Pipeline] echo [2023-02-17T06:35:30.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1325 [Pipeline] echo [2023-02-17T06:35:30.399Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [Pipeline] echo [2023-02-17T06:35:30.417Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d14b0d [Pipeline] echo [2023-02-17T06:35:30.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:35:30.480Z] provisioning config files... [2023-02-17T06:35:30.493Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config2174123926507230633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:35:30.794Z] ---> docker-login.sh [2023-02-17T06:35:30.794Z] nexus3.edgexfoundry.org:10001 [2023-02-17T06:35:31.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:31.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:31.054Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:31.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:31.055Z] [2023-02-17T06:35:31.055Z] Login Succeeded [2023-02-17T06:35:31.055Z] nexus3.edgexfoundry.org:10002 [2023-02-17T06:35:31.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:31.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:31.055Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:31.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:31.055Z] [2023-02-17T06:35:31.055Z] Login Succeeded [2023-02-17T06:35:31.055Z] nexus3.edgexfoundry.org:10003 [2023-02-17T06:35:31.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:31.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:31.314Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:31.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:31.314Z] [2023-02-17T06:35:31.314Z] Login Succeeded [2023-02-17T06:35:31.314Z] nexus3.edgexfoundry.org:10004 [2023-02-17T06:35:31.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:31.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:31.314Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:31.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:31.314Z] [2023-02-17T06:35:31.314Z] Login Succeeded [2023-02-17T06:35:31.314Z] docker.io [2023-02-17T06:35:31.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:31.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:31.574Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:31.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:31.574Z] [2023-02-17T06:35:31.574Z] Login Succeeded [2023-02-17T06:35:31.574Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T06:35:31.581Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T06:35:31.937Z] + git rev-list -1 --merges 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1~1..0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [Pipeline] echo [2023-02-17T06:35:31.990Z] -----------> git rev-list -1 --merges 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1~1..0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [false] [Pipeline] sh [2023-02-17T06:35:32.278Z] + git log --format=format:%s -1 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [Pipeline] echo [2023-02-17T06:35:32.293Z] ========================================================= [2023-02-17T06:35:32.293Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T06:35:32.293Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T06:35:32.620Z] + git log --format=format:%s -1 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [Pipeline] echo [2023-02-17T06:35:32.632Z] [semverPrep] GIT_COMMIT: 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1, Commit Message: feat!: replace REST device validation callback with MessageBus [Pipeline] echo [2023-02-17T06:35:32.642Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T06:35:32.981Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T06:35:32.981Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T06:35:32.981Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T06:35:32.981Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T06:35:32.981Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T06:35:32.981Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T06:35:32.981Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:35:33.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:35:33.327Z] [2023-02-17T06:35:33.327Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:35:33.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:35:33.636Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T06:35:33.636Z] b85a868b505f: Pulling fs layer [2023-02-17T06:35:33.636Z] e2be974225ed: Pulling fs layer [2023-02-17T06:35:33.636Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T06:35:33.636Z] 988bab9f4d93: Pulling fs layer [2023-02-17T06:35:33.636Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T06:35:33.636Z] eaf3925da568: Pulling fs layer [2023-02-17T06:35:33.636Z] bab4dde63d76: Pulling fs layer [2023-02-17T06:35:33.636Z] bde34c3a00c8: Pulling fs layer [2023-02-17T06:35:33.636Z] b352a97aabf1: Pulling fs layer [2023-02-17T06:35:33.636Z] 4872d77fe225: Pulling fs layer [2023-02-17T06:35:33.636Z] 5851b861e8e6: Pulling fs layer [2023-02-17T06:35:33.636Z] bab4dde63d76: Waiting [2023-02-17T06:35:33.636Z] 4872d77fe225: Waiting [2023-02-17T06:35:33.636Z] 5851b861e8e6: Waiting [2023-02-17T06:35:33.636Z] 988bab9f4d93: Waiting [2023-02-17T06:35:33.636Z] 1469e6f7b9e6: Waiting [2023-02-17T06:35:33.636Z] eaf3925da568: Waiting [2023-02-17T06:35:33.636Z] bde34c3a00c8: Waiting [2023-02-17T06:35:33.636Z] b352a97aabf1: Waiting [2023-02-17T06:35:33.636Z] e2be974225ed: Download complete [2023-02-17T06:35:33.636Z] 988bab9f4d93: Verifying Checksum [2023-02-17T06:35:33.636Z] 988bab9f4d93: Download complete [2023-02-17T06:35:33.899Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T06:35:33.899Z] 1469e6f7b9e6: Download complete [2023-02-17T06:35:33.899Z] eaf3925da568: Download complete [2023-02-17T06:35:33.899Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T06:35:33.899Z] 339a4e72a1f5: Download complete [2023-02-17T06:35:33.899Z] bde34c3a00c8: Verifying Checksum [2023-02-17T06:35:33.899Z] bde34c3a00c8: Download complete [2023-02-17T06:35:34.158Z] b352a97aabf1: Verifying Checksum [2023-02-17T06:35:34.158Z] b352a97aabf1: Download complete [2023-02-17T06:35:34.158Z] 4872d77fe225: Download complete [2023-02-17T06:35:34.158Z] 5851b861e8e6: Download complete [2023-02-17T06:35:34.158Z] b85a868b505f: Verifying Checksum [2023-02-17T06:35:34.158Z] b85a868b505f: Download complete [2023-02-17T06:35:34.416Z] bab4dde63d76: Verifying Checksum [2023-02-17T06:35:34.416Z] bab4dde63d76: Download complete [2023-02-17T06:35:35.352Z] b85a868b505f: Pull complete [2023-02-17T06:35:35.610Z] e2be974225ed: Pull complete [2023-02-17T06:35:35.869Z] 339a4e72a1f5: Pull complete [2023-02-17T06:35:36.127Z] 988bab9f4d93: Pull complete [2023-02-17T06:35:36.388Z] 1469e6f7b9e6: Pull complete [2023-02-17T06:35:36.388Z] eaf3925da568: Pull complete [2023-02-17T06:35:38.286Z] bab4dde63d76: Pull complete [2023-02-17T06:35:38.286Z] bde34c3a00c8: Pull complete [2023-02-17T06:35:38.286Z] b352a97aabf1: Pull complete [2023-02-17T06:35:38.547Z] 4872d77fe225: Pull complete [2023-02-17T06:35:38.547Z] 5851b861e8e6: Pull complete [2023-02-17T06:35:38.547Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T06:35:38.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:35:38.547Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:35:38.652Z] prd-ubuntu20.04-docker-8c-8g-6415 does not seem to be running inside a container [2023-02-17T06:35:38.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T06:35:39.979Z] $ docker top 381bfc0ad5ab996e567ea832ad3890e437a4404ab33859ace11133342d74de3d -eo pid,comm [2023-02-17T06:35:40.030Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-17T06:35:40.030Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T06:35:40.081Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T06:35:40.081Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T06:35:40.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T06:35:40.205Z] $ docker exec 381bfc0ad5ab996e567ea832ad3890e437a4404ab33859ace11133342d74de3d ssh-agent [2023-02-17T06:35:40.298Z] SSH_AUTH_SOCK=/tmp/ssh-2lsUlAjnlYnB/agent.32 [2023-02-17T06:35:40.298Z] SSH_AGENT_PID=38 [2023-02-17T06:35:40.304Z] Running ssh-add (command line suppressed) [2023-02-17T06:35:40.408Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_16074043767556379829.key (/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_16074043767556379829.key) [2023-02-17T06:35:40.420Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T06:35:40.704Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T06:35:40.717Z] $ docker exec --env ******** --env ******** 381bfc0ad5ab996e567ea832ad3890e437a4404ab33859ace11133342d74de3d ssh-agent -k [2023-02-17T06:35:40.823Z] unset SSH_AUTH_SOCK; [2023-02-17T06:35:40.823Z] unset SSH_AGENT_PID; [2023-02-17T06:35:40.823Z] echo Agent pid 38 killed; [2023-02-17T06:35:40.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T06:35:40.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T06:35:40.860Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T06:35:40.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T06:35:40.967Z] $ docker exec 381bfc0ad5ab996e567ea832ad3890e437a4404ab33859ace11133342d74de3d ssh-agent [2023-02-17T06:35:41.077Z] SSH_AUTH_SOCK=/tmp/ssh-sctiOh34HNLR/agent.70 [2023-02-17T06:35:41.077Z] SSH_AGENT_PID=76 [2023-02-17T06:35:41.082Z] Running ssh-add (command line suppressed) [2023-02-17T06:35:41.188Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_583616829931711784.key (/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_583616829931711784.key) [2023-02-17T06:35:41.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T06:35:41.486Z] + git semver init [2023-02-17T06:35:41.744Z] 2023-02-17 06:35:41,653 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T06:35:41.744Z] 2023-02-17 06:35:41,654 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver [2023-02-17T06:35:41.744Z] 2023-02-17 06:35:41,654 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver [2023-02-17T06:35:41.744Z] 2023-02-17 06:35:41,654 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325, universal_newlines=False, shell=None, istream=None) [2023-02-17T06:35:42.682Z] 2023-02-17 06:35:42,674 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.git/info/exclude [2023-02-17T06:35:42.682Z] 2023-02-17 06:35:42,675 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 with force:False [2023-02-17T06:35:42.682Z] 2023-02-17 06:35:42,675 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 [2023-02-17T06:35:42.682Z] 2023-02-17 06:35:42,679 [execute] INFO git cat-file --batch-check [2023-02-17T06:35:42.682Z] 2023-02-17 06:35:42,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T06:35:42.942Z] 2023-02-17 06:35:42,686 [execute] INFO git cat-file --batch [2023-02-17T06:35:42.942Z] 2023-02-17 06:35:42,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T06:35:42.942Z] 2023-02-17 06:35:42,691 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 [2023-02-17T06:35:42.942Z] 0.0.0 [Pipeline] } [2023-02-17T06:35:42.952Z] $ docker exec --env ******** --env ******** 381bfc0ad5ab996e567ea832ad3890e437a4404ab33859ace11133342d74de3d ssh-agent -k [2023-02-17T06:35:43.059Z] unset SSH_AUTH_SOCK; [2023-02-17T06:35:43.059Z] unset SSH_AGENT_PID; [2023-02-17T06:35:43.059Z] echo Agent pid 76 killed; [2023-02-17T06:35:43.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T06:35:43.382Z] + git semver [Pipeline] } [2023-02-17T06:35:43.653Z] $ docker stop --time=1 381bfc0ad5ab996e567ea832ad3890e437a4404ab33859ace11133342d74de3d [2023-02-17T06:35:44.989Z] $ docker rm -f --volumes 381bfc0ad5ab996e567ea832ad3890e437a4404ab33859ace11133342d74de3d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T06:35:45.320Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T06:35:45.596Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T06:35:45.600Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:35:45.743Z] provisioning config files... [2023-02-17T06:35:45.752Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config11755083865899152269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:35:46.048Z] ---> docker-login.sh [2023-02-17T06:35:46.048Z] nexus3.edgexfoundry.org:10001 [2023-02-17T06:35:46.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:46.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:46.048Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:46.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:46.048Z] [2023-02-17T06:35:46.048Z] Login Succeeded [2023-02-17T06:35:46.048Z] nexus3.edgexfoundry.org:10002 [2023-02-17T06:35:46.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:46.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:46.048Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:46.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:46.048Z] [2023-02-17T06:35:46.048Z] Login Succeeded [2023-02-17T06:35:46.048Z] nexus3.edgexfoundry.org:10003 [2023-02-17T06:35:46.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:46.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:46.307Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:46.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:46.307Z] [2023-02-17T06:35:46.307Z] Login Succeeded [2023-02-17T06:35:46.307Z] nexus3.edgexfoundry.org:10004 [2023-02-17T06:35:46.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:46.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:46.307Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:46.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:46.307Z] [2023-02-17T06:35:46.307Z] Login Succeeded [2023-02-17T06:35:46.307Z] docker.io [2023-02-17T06:35:46.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:35:46.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:35:46.565Z] Configure a credential helper to remove this warning. See [2023-02-17T06:35:46.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:35:46.565Z] [2023-02-17T06:35:46.565Z] Login Succeeded [2023-02-17T06:35:46.565Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T06:35:46.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T06:35:46.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:35:46.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:35:46.661Z] ========================================================= [2023-02-17T06:35:46.662Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T06:35:46.662Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:35:46.982Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T06:35:46.982Z] Sending build context to Docker daemon 10.55MB [2023-02-17T06:35:46.982Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T06:35:46.982Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T06:35:46.982Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T06:35:46.983Z] 213ec9aee27d: Pulling fs layer [2023-02-17T06:35:46.983Z] 4583459ba037: Pulling fs layer [2023-02-17T06:35:46.983Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T06:35:46.983Z] 53926ce57604: Pulling fs layer [2023-02-17T06:35:46.983Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T06:35:46.983Z] 22ff95d597cd: Pulling fs layer [2023-02-17T06:35:46.983Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T06:35:46.983Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T06:35:46.983Z] a7acece74701: Pulling fs layer [2023-02-17T06:35:46.983Z] 12d6caf4c0d1: Waiting [2023-02-17T06:35:46.983Z] 96b7cbca73a9: Waiting [2023-02-17T06:35:46.983Z] 53926ce57604: Waiting [2023-02-17T06:35:46.983Z] a7acece74701: Waiting [2023-02-17T06:35:46.983Z] 21b2b0c7a3f4: Waiting [2023-02-17T06:35:46.983Z] 22ff95d597cd: Waiting [2023-02-17T06:35:46.983Z] 93c1e223e6f2: Download complete [2023-02-17T06:35:46.983Z] 4583459ba037: Download complete [2023-02-17T06:35:47.246Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T06:35:47.246Z] 21b2b0c7a3f4: Download complete [2023-02-17T06:35:47.246Z] 22ff95d597cd: Verifying Checksum [2023-02-17T06:35:47.246Z] 22ff95d597cd: Download complete [2023-02-17T06:35:47.246Z] 213ec9aee27d: Download complete [2023-02-17T06:35:47.246Z] 12d6caf4c0d1: Download complete [2023-02-17T06:35:47.246Z] 213ec9aee27d: Pull complete [2023-02-17T06:35:47.530Z] 4583459ba037: Pull complete [2023-02-17T06:35:47.530Z] 93c1e223e6f2: Pull complete [2023-02-17T06:35:48.133Z] a7acece74701: Verifying Checksum [2023-02-17T06:35:48.133Z] a7acece74701: Download complete [2023-02-17T06:35:48.395Z] 53926ce57604: Verifying Checksum [2023-02-17T06:35:48.395Z] 53926ce57604: Download complete [2023-02-17T06:35:48.959Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T06:35:48.960Z] 96b7cbca73a9: Download complete [2023-02-17T06:35:52.240Z] 53926ce57604: Pull complete [2023-02-17T06:35:52.240Z] 21b2b0c7a3f4: Pull complete [2023-02-17T06:35:52.240Z] 22ff95d597cd: Pull complete [2023-02-17T06:35:52.240Z] 12d6caf4c0d1: Pull complete [2023-02-17T06:35:54.140Z] 96b7cbca73a9: Pull complete [2023-02-17T06:35:55.075Z] a7acece74701: Pull complete [2023-02-17T06:35:55.075Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T06:35:55.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T06:35:55.075Z] ---> db6d94c90886 [2023-02-17T06:35:55.075Z] Step 3/10 : ARG MAKE=make build [2023-02-17T06:35:56.984Z] ---> Running in ae024315b68a [2023-02-17T06:35:56.984Z] Removing intermediate container ae024315b68a [2023-02-17T06:35:56.984Z] ---> bf3c497176e1 [2023-02-17T06:35:56.984Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T06:35:56.984Z] ---> Running in daacc891d8db [2023-02-17T06:35:56.984Z] Removing intermediate container daacc891d8db [2023-02-17T06:35:56.984Z] ---> e90af127ad19 [2023-02-17T06:35:56.984Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T06:35:56.984Z] ---> Running in 5eb1f730b700 [2023-02-17T06:35:57.242Z] Removing intermediate container 5eb1f730b700 [2023-02-17T06:35:57.242Z] ---> 7addce1699c0 [2023-02-17T06:35:57.242Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T06:35:57.242Z] ---> Running in bb20410501e7 [2023-02-17T06:35:57.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T06:35:57.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T06:35:58.031Z] OK: 211 MiB in 51 packages [2023-02-17T06:35:58.290Z] Removing intermediate container bb20410501e7 [2023-02-17T06:35:58.290Z] ---> d62f1ab335c7 [2023-02-17T06:35:58.290Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T06:35:58.290Z] ---> 7b2b2ba8ee23 [2023-02-17T06:35:58.290Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T06:35:58.549Z] ---> Running in aafa6b33aa65 [2023-02-17T06:36:00.707Z] Still waiting to schedule task [2023-02-17T06:36:00.707Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-17T06:36:25.092Z] Removing intermediate container aafa6b33aa65 [2023-02-17T06:36:25.092Z] ---> f54a8c339491 [2023-02-17T06:36:25.092Z] Step 9/10 : COPY . . [2023-02-17T06:36:25.092Z] ---> 298a61571664 [2023-02-17T06:36:25.092Z] Step 10/10 : RUN ${MAKE} [2023-02-17T06:36:25.092Z] ---> Running in c4d8bd2ed391 [2023-02-17T06:36:25.092Z] noop [2023-02-17T06:36:25.092Z] Removing intermediate container c4d8bd2ed391 [2023-02-17T06:36:25.092Z] ---> 3c8a9874e047 [2023-02-17T06:36:25.092Z] Successfully built 3c8a9874e047 [2023-02-17T06:36:25.092Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:36:25.404Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T06:36:25.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:36:25.476Z] prd-ubuntu20.04-docker-8c-8g-6415 does not seem to be running inside a container [2023-02-17T06:36:25.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T06:36:25.870Z] $ docker top ba3cb371c64198db4656d91ca5e25a10017984d9df442d2ee70a3f534e2203b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:36:26.205Z] + go version [2023-02-17T06:36:26.205Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T06:36:26.218Z] $ docker stop --time=1 ba3cb371c64198db4656d91ca5e25a10017984d9df442d2ee70a3f534e2203b8 [2023-02-17T06:36:27.537Z] $ docker rm -f --volumes ba3cb371c64198db4656d91ca5e25a10017984d9df442d2ee70a3f534e2203b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:36:27.952Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T06:36:27.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:36:28.027Z] prd-ubuntu20.04-docker-8c-8g-6415 does not seem to be running inside a container [2023-02-17T06:36:28.058Z] $ 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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T06:36:28.407Z] $ docker top 65f36fdc99a31918a71f3747d38b7d6a1c97c0f63d46fdd0e29e4b14fa5cf34b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:36:28.761Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] fileExists [Pipeline] sh [2023-02-17T06:36:29.058Z] + make test [2023-02-17T06:36:29.058Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T06:36:34.323Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T06:36:49.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T06:36:49.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T06:36:49.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T06:36:49.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T06:36:49.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T06:36:49.192Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.053s coverage: 27.6% of statements [2023-02-17T06:36:49.192Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.080s coverage: 78.9% of statements [2023-02-17T06:36:49.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T06:36:49.192Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.115s coverage: 77.8% of statements [2023-02-17T06:36:49.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T06:36:49.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T06:36:49.192Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 74.7% of statements [2023-02-17T06:36:49.192Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T06:36:50.565Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 15.5% of statements [2023-02-17T06:36:50.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T06:36:50.565Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.099s coverage: 65.2% of statements [2023-02-17T06:36:50.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T06:36:50.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T06:36:50.565Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.733s coverage: 89.2% of statements [2023-02-17T06:36:50.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T06:36:50.565Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.054s coverage: 4.6% of statements [2023-02-17T06:36:50.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T06:37:05.434Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-17T06:37:05.434Z] GO111MODULE=on go vet ./... [2023-02-17T06:37:07.964Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T06:37:07.965Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T06:37:07.965Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T06:37:07.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T06:37:07.989Z] $ docker stop --time=1 65f36fdc99a31918a71f3747d38b7d6a1c97c0f63d46fdd0e29e4b14fa5cf34b [2023-02-17T06:37:10.559Z] $ docker rm -f --volumes 65f36fdc99a31918a71f3747d38b7d6a1c97c0f63d46fdd0e29e4b14fa5cf34b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T06:37:11.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T06:37:11.105Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T06:37:11.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T06:37:11.813Z] + ls -al . [2023-02-17T06:37:11.813Z] total 284 [2023-02-17T06:37:11.813Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 06:36 . [2023-02-17T06:37:11.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:35 .. [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 06:35 .dockerignore [2023-02-17T06:37:11.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 06:36 .git [2023-02-17T06:37:11.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:35 .github [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 06:35 .gitignore [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 06:35 .golangci.yml [2023-02-17T06:37:11.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 06:35 .semver [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 06:35 CHANGELOG.md [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 06:35 GOVERNANCE.md [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 06:35 Jenkinsfile [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 06:35 LICENSE [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 06:35 Makefile [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 06:35 OWNERS.md [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 06:35 README.md [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 06:35 VERSION [2023-02-17T06:37:11.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:35 bin [2023-02-17T06:37:11.813Z] -rw-r--r-- 1 jenkins jenkins 111215 Feb 17 06:36 coverage.out [2023-02-17T06:37:11.813Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 06:35 example [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 06:35 go.mod [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 06:35 go.sum [2023-02-17T06:37:11.813Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 06:35 internal [2023-02-17T06:37:11.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 06:35 openapi [2023-02-17T06:37:11.813Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 06:35 pkg [2023-02-17T06:37:11.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:35 snap [2023-02-17T06:37:11.813Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 06:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:37:12.124Z] + 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=0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 --label arch=amd64 --label version=0.0.0 . [2023-02-17T06:37:12.124Z] Sending build context to Docker daemon 10.66MB [2023-02-17T06:37:12.124Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T06:37:12.124Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T06:37:12.124Z] ---> 3c8a9874e047 [2023-02-17T06:37:12.124Z] Step 3/23 : ARG MAKE=make build [2023-02-17T06:37:12.383Z] ---> Running in a953ba05adfc [2023-02-17T06:37:12.383Z] Removing intermediate container a953ba05adfc [2023-02-17T06:37:12.383Z] ---> 48bda3d0f77d [2023-02-17T06:37:12.383Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T06:37:12.383Z] ---> Running in 18a2420ab68c [2023-02-17T06:37:12.383Z] Removing intermediate container 18a2420ab68c [2023-02-17T06:37:12.383Z] ---> a631bbea45d6 [2023-02-17T06:37:12.383Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T06:37:12.642Z] ---> Running in c92344ec173e [2023-02-17T06:37:12.642Z] Removing intermediate container c92344ec173e [2023-02-17T06:37:12.642Z] ---> f8eb784279f3 [2023-02-17T06:37:12.642Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T06:37:12.642Z] ---> Running in 82087a8534d5 [2023-02-17T06:37:12.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T06:37:12.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T06:37:13.158Z] OK: 211 MiB in 51 packages [2023-02-17T06:37:13.725Z] Removing intermediate container 82087a8534d5 [2023-02-17T06:37:13.725Z] ---> 91801d49fd90 [2023-02-17T06:37:13.725Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T06:37:13.725Z] ---> 477acd396775 [2023-02-17T06:37:13.725Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T06:37:13.725Z] ---> Running in 1daa3827aaa0 [2023-02-17T06:37:14.662Z] Removing intermediate container 1daa3827aaa0 [2023-02-17T06:37:14.662Z] ---> 4961b14b416e [2023-02-17T06:37:14.662Z] Step 9/23 : COPY . . [2023-02-17T06:37:15.599Z] ---> 20f66a3ccf81 [2023-02-17T06:37:15.599Z] Step 10/23 : RUN ${MAKE} [2023-02-17T06:37:15.599Z] ---> Running in b0a678cd66f9 [2023-02-17T06:37:15.858Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-17T06:37:33.932Z] Removing intermediate container b0a678cd66f9 [2023-02-17T06:37:33.932Z] ---> 7591b49b8b6f [2023-02-17T06:37:33.932Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T06:37:39.199Z] 3.16: Pulling from library/alpine [2023-02-17T06:37:39.199Z] ef5531b6e74e: Pulling fs layer [2023-02-17T06:37:39.199Z] ef5531b6e74e: Verifying Checksum [2023-02-17T06:37:39.199Z] ef5531b6e74e: Download complete [2023-02-17T06:37:39.199Z] ef5531b6e74e: Pull complete [2023-02-17T06:37:39.199Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T06:37:39.199Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T06:37:39.199Z] ---> dfd21b5a31f5 [2023-02-17T06:37:39.199Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T06:37:39.199Z] ---> Running in 20ed83120ed6 [2023-02-17T06:37:39.199Z] Removing intermediate container 20ed83120ed6 [2023-02-17T06:37:39.199Z] ---> 3c9645296660 [2023-02-17T06:37:39.199Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T06:37:39.199Z] ---> Running in 2dd60e2ff270 [2023-02-17T06:37:39.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T06:37:39.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T06:37:39.975Z] OK: 6 MiB in 14 packages [2023-02-17T06:37:40.233Z] Removing intermediate container 2dd60e2ff270 [2023-02-17T06:37:40.233Z] ---> b719acffec2d [2023-02-17T06:37:40.233Z] Step 14/23 : WORKDIR / [2023-02-17T06:37:40.233Z] ---> Running in b414c5a2847c [2023-02-17T06:37:40.490Z] Removing intermediate container b414c5a2847c [2023-02-17T06:37:40.490Z] ---> 11f4d5765563 [2023-02-17T06:37:40.490Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T06:37:40.490Z] ---> 5801ebd801e5 [2023-02-17T06:37:40.490Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T06:37:41.057Z] ---> 8a199a1aca60 [2023-02-17T06:37:41.057Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T06:37:41.057Z] ---> e67977f26be8 [2023-02-17T06:37:41.057Z] Step 18/23 : EXPOSE 59999 [2023-02-17T06:37:41.322Z] ---> Running in d163482de89a [2023-02-17T06:37:41.322Z] Removing intermediate container d163482de89a [2023-02-17T06:37:41.322Z] ---> bb380cfccf61 [2023-02-17T06:37:41.322Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T06:37:41.322Z] ---> Running in 0268feb4c075 [2023-02-17T06:37:41.322Z] Removing intermediate container 0268feb4c075 [2023-02-17T06:37:41.322Z] ---> 4296d508955e [2023-02-17T06:37:41.322Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T06:37:41.582Z] ---> Running in f6ed9bdbd6f3 [2023-02-17T06:37:41.582Z] Removing intermediate container f6ed9bdbd6f3 [2023-02-17T06:37:41.582Z] ---> c8fc291c5f43 [2023-02-17T06:37:41.582Z] Step 21/23 : LABEL arch=amd64 [2023-02-17T06:37:41.582Z] ---> Running in bd4cc19cb08c [2023-02-17T06:37:41.582Z] Removing intermediate container bd4cc19cb08c [2023-02-17T06:37:41.582Z] ---> 194c6c77f43f [2023-02-17T06:37:41.582Z] Step 22/23 : LABEL git_sha=0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [2023-02-17T06:37:41.841Z] ---> Running in 40fe9e7c3ee0 [2023-02-17T06:37:41.841Z] Removing intermediate container 40fe9e7c3ee0 [2023-02-17T06:37:41.841Z] ---> 6f9541768776 [2023-02-17T06:37:41.841Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T06:37:41.841Z] ---> Running in 746b8256d587 [2023-02-17T06:37:41.841Z] Removing intermediate container 746b8256d587 [2023-02-17T06:37:41.841Z] ---> fc82f5dbf763 [2023-02-17T06:37:41.841Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T06:37:41.841Z] Successfully built fc82f5dbf763 [2023-02-17T06:37:41.841Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:37:42.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:37:42.273Z] [2023-02-17T06:37:42.273Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:37:42.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:37:42.576Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T06:37:42.576Z] 5eb5b503b376: Pulling fs layer [2023-02-17T06:37:42.576Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T06:37:42.576Z] ec43610c2a17: Pulling fs layer [2023-02-17T06:37:42.576Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T06:37:42.576Z] 33b1e0a273af: Pulling fs layer [2023-02-17T06:37:42.576Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T06:37:42.576Z] 2f39f015ded8: Pulling fs layer [2023-02-17T06:37:42.576Z] 3a2ae6a8a46f: Waiting [2023-02-17T06:37:42.576Z] 5d3b04190fa2: Waiting [2023-02-17T06:37:42.576Z] 33b1e0a273af: Waiting [2023-02-17T06:37:42.576Z] 2f39f015ded8: Waiting [2023-02-17T06:37:42.576Z] 5c69ac0246d0: Download complete [2023-02-17T06:37:42.576Z] 3a2ae6a8a46f: Download complete [2023-02-17T06:37:42.841Z] 33b1e0a273af: Verifying Checksum [2023-02-17T06:37:42.841Z] 33b1e0a273af: Download complete [2023-02-17T06:37:42.841Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T06:37:42.841Z] 5d3b04190fa2: Download complete [2023-02-17T06:37:42.841Z] ec43610c2a17: Verifying Checksum [2023-02-17T06:37:42.841Z] ec43610c2a17: Download complete [2023-02-17T06:37:43.107Z] 5eb5b503b376: Verifying Checksum [2023-02-17T06:37:43.107Z] 5eb5b503b376: Download complete [2023-02-17T06:37:43.692Z] 2f39f015ded8: Verifying Checksum [2023-02-17T06:37:43.692Z] 2f39f015ded8: Download complete [2023-02-17T06:37:44.258Z] 5eb5b503b376: Pull complete [2023-02-17T06:37:44.258Z] 5c69ac0246d0: Pull complete [2023-02-17T06:37:44.517Z] ec43610c2a17: Pull complete [2023-02-17T06:37:44.776Z] 3a2ae6a8a46f: Pull complete [2023-02-17T06:37:45.034Z] 33b1e0a273af: Pull complete [2023-02-17T06:37:45.034Z] 5d3b04190fa2: Pull complete [2023-02-17T06:37:49.217Z] 2f39f015ded8: Pull complete [2023-02-17T06:37:49.217Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T06:37:49.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:37:49.217Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:37:49.294Z] prd-ubuntu20.04-docker-8c-8g-6415 does not seem to be running inside a container [2023-02-17T06:37:49.321Z] $ 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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T06:37:51.069Z] $ docker top f6b69de251ab8a8340cdc1f967ab301a30da960c47a759d658f47638fdf8ab55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:37:51.460Z] ---> job-cost.sh [2023-02-17T06:37:51.460Z] lf-activate-venv: SKIPPING [2023-02-17T06:37:51.460Z] INFO: No Stack... [2023-02-17T06:37:51.719Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T06:37:52.284Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T06:37:52.569Z] + + cut -d, -f6 [2023-02-17T06:37:52.570Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/cost.csv [Pipeline] lock [2023-02-17T06:37:52.584Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1325-4-stack-cost] [2023-02-17T06:37:52.590Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-4-stack-cost] did not exist. Created. [2023-02-17T06:37:52.590Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1325-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T06:37:52.883Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T06:37:52.905Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T06:37:52.911Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T06:37:52.927Z] $ docker stop --time=1 f6b69de251ab8a8340cdc1f967ab301a30da960c47a759d658f47638fdf8ab55 [2023-02-17T06:37:54.078Z] $ docker rm -f --volumes f6b69de251ab8a8340cdc1f967ab301a30da960c47a759d658f47638fdf8ab55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T06:38:51.421Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6418 in /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] { [Pipeline] ws [2023-02-17T06:38:51.437Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-02-17T06:38:51.485Z] The recommended git tool is: git [2023-02-17T06:38:58.064Z] using credential edgex-jenkins-ssh [2023-02-17T06:38:58.086Z] Cloning the remote Git repository [2023-02-17T06:38:58.144Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T06:38:58.239Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-02-17T06:38:58.424Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T06:38:58.425Z] > git --version # timeout=10 [2023-02-17T06:38:58.451Z] > git --version # 'git version 2.25.1' [2023-02-17T06:38:58.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:38:58.526Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T06:39:00.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T06:39:00.378Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T06:39:01.421Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T06:39:01.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T06:39:01.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:39:01.499Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1325/head:refs/remotes/origin/PR-1325 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T06:39:02.389Z] Merging remotes/origin/main commit bf4aa2dff0c0a7f4a97997804f6014e11af12954 into PR head commit 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [2023-02-17T06:39:02.683Z] Merge succeeded, producing 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [2023-02-17T06:39:02.683Z] Checking out Revision 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 (PR-1325) [2023-02-17T06:39:02.409Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T06:39:02.433Z] > git checkout -f 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 # timeout=10 [2023-02-17T06:39:02.560Z] > git remote # timeout=10 [2023-02-17T06:39:02.581Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T06:39:02.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:39:02.626Z] > git merge bf4aa2dff0c0a7f4a97997804f6014e11af12954 # timeout=10 [2023-02-17T06:39:02.658Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T06:39:02.690Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T06:39:02.707Z] > git checkout -f 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 # timeout=10 [2023-02-17T06:39:06.405Z] Commit message: "feat!: replace REST device validation callback with MessageBus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T06:39:07.254Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T06:39:07.254Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T06:39:07.254Z] Dload Upload Total Spent Left Speed [2023-02-17T06:39:07.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 155k 0 --:--:-- --:--:-- --:--:-- 157k [Pipeline] sh [2023-02-17T06:39:07.968Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T06:39:08.309Z] + sudo tee /etc/docker/daemon.new [2023-02-17T06:39:08.310Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T06:39:08.310Z] { [2023-02-17T06:39:08.310Z] "registry-mirrors": [ [2023-02-17T06:39:08.310Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T06:39:08.310Z] ], [2023-02-17T06:39:08.310Z] "bip": "10.250.0.254/24", [2023-02-17T06:39:08.310Z] "hosts": [ [2023-02-17T06:39:08.310Z] "tcp://0.0.0.0:5555", [2023-02-17T06:39:08.310Z] "unix:///var/run/docker.sock" [2023-02-17T06:39:08.310Z] ], [2023-02-17T06:39:08.310Z] "mtu": 1458, [2023-02-17T06:39:08.310Z] "selinux-enabled": true, [2023-02-17T06:39:08.310Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T06:39:08.310Z] } [Pipeline] sh [2023-02-17T06:39:08.643Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T06:39:08.979Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:39:27.279Z] provisioning config files... [2023-02-17T06:39:27.312Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config12153226238049854651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:39:27.683Z] ---> docker-login.sh [2023-02-17T06:39:27.683Z] nexus3.edgexfoundry.org:10001 [2023-02-17T06:39:28.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:39:28.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:39:28.275Z] Configure a credential helper to remove this warning. See [2023-02-17T06:39:28.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:39:28.275Z] [2023-02-17T06:39:28.275Z] Login Succeeded [2023-02-17T06:39:28.275Z] nexus3.edgexfoundry.org:10002 [2023-02-17T06:39:28.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:39:29.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:39:29.976Z] Configure a credential helper to remove this warning. See [2023-02-17T06:39:29.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:39:29.976Z] [2023-02-17T06:39:29.976Z] Login Succeeded [2023-02-17T06:39:29.976Z] nexus3.edgexfoundry.org:10003 [2023-02-17T06:39:29.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:39:30.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:39:30.247Z] Configure a credential helper to remove this warning. See [2023-02-17T06:39:30.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:39:30.247Z] [2023-02-17T06:39:30.247Z] Login Succeeded [2023-02-17T06:39:30.247Z] nexus3.edgexfoundry.org:10004 [2023-02-17T06:39:30.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:39:30.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:39:30.520Z] Configure a credential helper to remove this warning. See [2023-02-17T06:39:30.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:39:30.520Z] [2023-02-17T06:39:30.520Z] Login Succeeded [2023-02-17T06:39:30.520Z] docker.io [2023-02-17T06:39:30.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T06:39:31.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T06:39:31.061Z] Configure a credential helper to remove this warning. See [2023-02-17T06:39:31.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T06:39:31.062Z] [2023-02-17T06:39:31.062Z] Login Succeeded [2023-02-17T06:39:31.062Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T06:39:31.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T06:39:31.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:39:31.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:39:31.406Z] ========================================================= [2023-02-17T06:39:31.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T06:39:31.406Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:39:31.760Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T06:39:32.355Z] Sending build context to Docker daemon 5.683MB [2023-02-17T06:39:32.355Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T06:39:32.355Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T06:39:32.355Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T06:39:32.355Z] 9b18e9b68314: Pulling fs layer [2023-02-17T06:39:32.355Z] 35d82f9e3411: Pulling fs layer [2023-02-17T06:39:32.355Z] e16973657156: Pulling fs layer [2023-02-17T06:39:32.355Z] fc693d55d65f: Pulling fs layer [2023-02-17T06:39:32.355Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T06:39:32.355Z] dda99020689f: Pulling fs layer [2023-02-17T06:39:32.355Z] db1c61fa0a46: Pulling fs layer [2023-02-17T06:39:32.355Z] 891c053d2c06: Pulling fs layer [2023-02-17T06:39:32.355Z] dda99020689f: Waiting [2023-02-17T06:39:32.355Z] db1c61fa0a46: Waiting [2023-02-17T06:39:32.355Z] 891c053d2c06: Waiting [2023-02-17T06:39:32.355Z] fc693d55d65f: Waiting [2023-02-17T06:39:32.355Z] 7e9fc2657dce: Waiting [2023-02-17T06:39:32.355Z] e16973657156: Verifying Checksum [2023-02-17T06:39:32.355Z] e16973657156: Download complete [2023-02-17T06:39:32.355Z] 35d82f9e3411: Verifying Checksum [2023-02-17T06:39:32.355Z] 35d82f9e3411: Download complete [2023-02-17T06:39:32.355Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T06:39:32.355Z] 7e9fc2657dce: Download complete [2023-02-17T06:39:32.628Z] dda99020689f: Verifying Checksum [2023-02-17T06:39:32.628Z] dda99020689f: Download complete [2023-02-17T06:39:32.628Z] 9b18e9b68314: Verifying Checksum [2023-02-17T06:39:32.628Z] 9b18e9b68314: Download complete [2023-02-17T06:39:33.605Z] 9b18e9b68314: Pull complete [2023-02-17T06:39:33.877Z] 891c053d2c06: Verifying Checksum [2023-02-17T06:39:33.877Z] 891c053d2c06: Download complete [2023-02-17T06:39:33.877Z] 35d82f9e3411: Pull complete [2023-02-17T06:39:34.472Z] e16973657156: Pull complete [2023-02-17T06:39:34.751Z] db1c61fa0a46: Verifying Checksum [2023-02-17T06:39:34.751Z] db1c61fa0a46: Download complete [2023-02-17T06:39:35.358Z] fc693d55d65f: Verifying Checksum [2023-02-17T06:39:35.358Z] fc693d55d65f: Download complete [2023-02-17T06:39:47.698Z] fc693d55d65f: Pull complete [2023-02-17T06:39:47.698Z] 7e9fc2657dce: Pull complete [2023-02-17T06:39:47.698Z] dda99020689f: Pull complete [2023-02-17T06:39:53.066Z] db1c61fa0a46: Pull complete [2023-02-17T06:39:54.489Z] 891c053d2c06: Pull complete [2023-02-17T06:39:54.489Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T06:39:54.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T06:39:54.489Z] ---> f96f9c87975a [2023-02-17T06:39:54.489Z] Step 3/10 : ARG MAKE=make build [2023-02-17T06:39:57.091Z] ---> Running in ff5383c00ed5 [2023-02-17T06:39:57.091Z] Removing intermediate container ff5383c00ed5 [2023-02-17T06:39:57.091Z] ---> ad76483a09ec [2023-02-17T06:39:57.091Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T06:39:57.091Z] ---> Running in ff517783973b [2023-02-17T06:39:57.677Z] Removing intermediate container ff517783973b [2023-02-17T06:39:57.677Z] ---> ae6d55af46d6 [2023-02-17T06:39:57.677Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T06:39:57.677Z] ---> Running in 32a0f47958d2 [2023-02-17T06:39:57.947Z] Removing intermediate container 32a0f47958d2 [2023-02-17T06:39:57.947Z] ---> 5d9502208277 [2023-02-17T06:39:57.947Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T06:39:57.947Z] ---> Running in 9d5051caaa51 [2023-02-17T06:39:59.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T06:39:59.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T06:40:01.070Z] OK: 221 MiB in 51 packages [2023-02-17T06:40:01.662Z] Removing intermediate container 9d5051caaa51 [2023-02-17T06:40:01.662Z] ---> 857267eda969 [2023-02-17T06:40:01.662Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T06:40:02.267Z] ---> 3cc577987433 [2023-02-17T06:40:02.267Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T06:40:02.548Z] ---> Running in 534841ec059d [2023-02-17T06:41:24.272Z] Removing intermediate container 534841ec059d [2023-02-17T06:41:24.272Z] ---> c0affa45416e [2023-02-17T06:41:24.272Z] Step 9/10 : COPY . . [2023-02-17T06:41:24.272Z] ---> 275cab9858e5 [2023-02-17T06:41:24.272Z] Step 10/10 : RUN ${MAKE} [2023-02-17T06:41:24.272Z] ---> Running in b1d7b61c04b0 [2023-02-17T06:41:24.272Z] noop [2023-02-17T06:41:24.272Z] Removing intermediate container b1d7b61c04b0 [2023-02-17T06:41:24.272Z] ---> 49f2024b0ff6 [2023-02-17T06:41:24.272Z] Successfully built 49f2024b0ff6 [2023-02-17T06:41:24.272Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:41:24.636Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T06:41:24.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:41:24.853Z] prd-ubuntu20.04-docker-arm64-4c-16g-6418 does not seem to be running inside a container [2023-02-17T06:41:24.943Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-02-17T06:41:26.308Z] $ docker top c3ef6899c06e5ef8d861157508c5de954f075c66d8d10b7802561a0bf7e389a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:41:27.171Z] + go version [2023-02-17T06:41:27.171Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T06:41:27.202Z] $ docker stop --time=1 c3ef6899c06e5ef8d861157508c5de954f075c66d8d10b7802561a0bf7e389a1 [2023-02-17T06:41:28.889Z] $ docker rm -f --volumes c3ef6899c06e5ef8d861157508c5de954f075c66d8d10b7802561a0bf7e389a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:41:29.469Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T06:41:29.469Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:41:29.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-6418 does not seem to be running inside a container [2023-02-17T06:41:29.747Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-02-17T06:41:32.728Z] $ docker top 54bec279ff335419d46376cdf354f64653176a9fff2b9914a59ebe4d4cc4e714 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:41:33.577Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-02-17T06:41:34.243Z] + make test [2023-02-17T06:41:34.243Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T06:42:13.159Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T06:44:36.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T06:44:36.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T06:44:36.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T06:44:36.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T06:44:36.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T06:44:40.543Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.430s coverage: 27.6% of statements [2023-02-17T06:44:41.134Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.385s coverage: 78.9% of statements [2023-02-17T06:44:41.134Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T06:44:46.524Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.462s coverage: 77.8% of statements [2023-02-17T06:44:46.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T06:44:46.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T06:44:49.120Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.633s coverage: 74.7% of statements [2023-02-17T06:44:49.120Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T06:44:49.120Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.299s coverage: 15.5% of statements [2023-02-17T06:44:49.120Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T06:44:49.707Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.464s coverage: 65.2% of statements [2023-02-17T06:44:49.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T06:44:49.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T06:44:55.410Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.306s coverage: 89.2% of statements [2023-02-17T06:44:55.410Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T06:44:55.410Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.298s coverage: 4.6% of statements [2023-02-17T06:44:55.410Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T06:44:55.704Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T06:44:55.704Z] GO111MODULE=on go vet ./... [2023-02-17T06:46:32.487Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T06:46:32.487Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T06:46:32.487Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T06:46:32.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T06:46:32.532Z] $ docker stop --time=1 54bec279ff335419d46376cdf354f64653176a9fff2b9914a59ebe4d4cc4e714 [2023-02-17T06:46:34.448Z] $ docker rm -f --volumes 54bec279ff335419d46376cdf354f64653176a9fff2b9914a59ebe4d4cc4e714 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T06:46:35.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T06:46:35.933Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T06:46:36.579Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T06:46:36.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T06:46:37.293Z] + ls -al . [2023-02-17T06:46:37.293Z] total 280 [2023-02-17T06:46:37.293Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 06:41 . [2023-02-17T06:46:37.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:38 .. [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 06:39 .dockerignore [2023-02-17T06:46:37.293Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 06:39 .git [2023-02-17T06:46:37.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:39 .github [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 06:39 .gitignore [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 06:39 .golangci.yml [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 06:39 CHANGELOG.md [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 06:39 GOVERNANCE.md [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 06:39 Jenkinsfile [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 06:39 LICENSE [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 06:39 Makefile [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 06:39 OWNERS.md [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 06:39 README.md [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 06:35 VERSION [2023-02-17T06:46:37.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 06:39 bin [2023-02-17T06:46:37.293Z] -rw-r--r-- 1 jenkins jenkins 111215 Feb 17 06:44 coverage.out [2023-02-17T06:46:37.293Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 06:39 example [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 06:39 go.mod [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 06:39 go.sum [2023-02-17T06:46:37.293Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 06:39 internal [2023-02-17T06:46:37.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 06:39 openapi [2023-02-17T06:46:37.293Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 06:39 pkg [2023-02-17T06:46:37.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 06:39 snap [2023-02-17T06:46:37.293Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 06:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:46:37.646Z] + 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=0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 --label arch=arm64 --label version=0.0.0 . [2023-02-17T06:46:38.234Z] Sending build context to Docker daemon 5.795MB [2023-02-17T06:46:38.234Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T06:46:38.234Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T06:46:38.234Z] ---> 49f2024b0ff6 [2023-02-17T06:46:38.234Z] Step 3/23 : ARG MAKE=make build [2023-02-17T06:46:40.833Z] ---> Running in 74b99d3bbd66 [2023-02-17T06:46:41.419Z] Removing intermediate container 74b99d3bbd66 [2023-02-17T06:46:41.419Z] ---> f432a14a2fff [2023-02-17T06:46:41.419Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T06:46:41.419Z] ---> Running in cbe078065a3a [2023-02-17T06:46:41.689Z] Removing intermediate container cbe078065a3a [2023-02-17T06:46:41.689Z] ---> ec8934bc8a0c [2023-02-17T06:46:41.689Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T06:46:41.689Z] ---> Running in 472b36ab2f21 [2023-02-17T06:46:42.277Z] Removing intermediate container 472b36ab2f21 [2023-02-17T06:46:42.277Z] ---> 1c67d96441ca [2023-02-17T06:46:42.277Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T06:46:42.277Z] ---> Running in 6387c39c6528 [2023-02-17T06:46:43.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T06:46:43.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T06:46:44.922Z] OK: 221 MiB in 51 packages [2023-02-17T06:46:45.511Z] Removing intermediate container 6387c39c6528 [2023-02-17T06:46:45.511Z] ---> afeb8d678f6c [2023-02-17T06:46:45.511Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T06:46:46.105Z] ---> 9a5b268f3465 [2023-02-17T06:46:46.105Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T06:46:46.105Z] ---> Running in fb8463d2a1c4 [2023-02-17T06:46:48.693Z] Removing intermediate container fb8463d2a1c4 [2023-02-17T06:46:48.693Z] ---> 40cb7bfedcb8 [2023-02-17T06:46:48.693Z] Step 9/23 : COPY . . [2023-02-17T06:46:50.119Z] ---> 5bf4122c629e [2023-02-17T06:46:50.119Z] Step 10/23 : RUN ${MAKE} [2023-02-17T06:46:50.396Z] ---> Running in fde60cdcc75d [2023-02-17T06:46:51.360Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-17T06:49:13.735Z] Removing intermediate container fde60cdcc75d [2023-02-17T06:49:13.735Z] ---> 1c5685daf122 [2023-02-17T06:49:13.735Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T06:49:13.735Z] 3.16: Pulling from library/alpine [2023-02-17T06:49:13.735Z] 3760b48202b3: Pulling fs layer [2023-02-17T06:49:13.735Z] 3760b48202b3: Verifying Checksum [2023-02-17T06:49:13.735Z] 3760b48202b3: Download complete [2023-02-17T06:49:13.735Z] 3760b48202b3: Pull complete [2023-02-17T06:49:13.735Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T06:49:13.735Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T06:49:13.735Z] ---> 4c81e5bf8899 [2023-02-17T06:49:13.735Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T06:49:13.735Z] ---> Running in 81aea42a4479 [2023-02-17T06:49:13.735Z] Removing intermediate container 81aea42a4479 [2023-02-17T06:49:13.735Z] ---> 8da70f130d15 [2023-02-17T06:49:13.735Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T06:49:13.735Z] ---> Running in 29eef76a5e6d [2023-02-17T06:49:13.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T06:49:13.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T06:49:13.735Z] OK: 5 MiB in 14 packages [2023-02-17T06:49:13.735Z] Removing intermediate container 29eef76a5e6d [2023-02-17T06:49:13.735Z] ---> 34fea921e4ec [2023-02-17T06:49:13.735Z] Step 14/23 : WORKDIR / [2023-02-17T06:49:13.735Z] ---> Running in f43fd0fc5370 [2023-02-17T06:49:13.735Z] Removing intermediate container f43fd0fc5370 [2023-02-17T06:49:13.735Z] ---> f97a8c9a18cd [2023-02-17T06:49:13.735Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T06:49:13.735Z] ---> 8e1d626788aa [2023-02-17T06:49:13.735Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T06:49:13.735Z] ---> 5e92288bca02 [2023-02-17T06:49:13.735Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T06:49:13.735Z] ---> e36a4480cc6c [2023-02-17T06:49:13.735Z] Step 18/23 : EXPOSE 59999 [2023-02-17T06:49:13.735Z] ---> Running in d12e2cc31851 [2023-02-17T06:49:13.735Z] Removing intermediate container d12e2cc31851 [2023-02-17T06:49:13.735Z] ---> f38fc995bdb8 [2023-02-17T06:49:13.735Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T06:49:13.735Z] ---> Running in a72d8908d8e7 [2023-02-17T06:49:13.735Z] Removing intermediate container a72d8908d8e7 [2023-02-17T06:49:13.735Z] ---> 689089db8094 [2023-02-17T06:49:13.736Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T06:49:13.736Z] ---> Running in a2e918f23d8a [2023-02-17T06:49:13.736Z] Removing intermediate container a2e918f23d8a [2023-02-17T06:49:13.736Z] ---> 63485c56784f [2023-02-17T06:49:13.736Z] Step 21/23 : LABEL arch=arm64 [2023-02-17T06:49:13.736Z] ---> Running in 964bdb122ed0 [2023-02-17T06:49:13.736Z] Removing intermediate container 964bdb122ed0 [2023-02-17T06:49:13.736Z] ---> e7dc9c603f60 [2023-02-17T06:49:13.736Z] Step 22/23 : LABEL git_sha=0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [2023-02-17T06:49:13.736Z] ---> Running in 61f767b0463b [2023-02-17T06:49:13.736Z] Removing intermediate container 61f767b0463b [2023-02-17T06:49:13.736Z] ---> 30cc79f48e73 [2023-02-17T06:49:13.736Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T06:49:13.736Z] ---> Running in c6ee65010d6f [2023-02-17T06:49:13.736Z] Removing intermediate container c6ee65010d6f [2023-02-17T06:49:13.736Z] ---> 31532b879762 [2023-02-17T06:49:13.736Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T06:49:13.736Z] Successfully built 31532b879762 [2023-02-17T06:49:13.736Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:49:14.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:49:14.164Z] [2023-02-17T06:49:14.164Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:49:14.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:49:14.503Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T06:49:14.503Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T06:49:14.503Z] 04944245beec: Pulling fs layer [2023-02-17T06:49:14.503Z] 699f458cf7ca: Pulling fs layer [2023-02-17T06:49:14.503Z] 765212b225bb: Pulling fs layer [2023-02-17T06:49:14.503Z] f23df028b6ca: Pulling fs layer [2023-02-17T06:49:14.503Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T06:49:14.503Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T06:49:14.503Z] 765212b225bb: Waiting [2023-02-17T06:49:14.503Z] f23df028b6ca: Waiting [2023-02-17T06:49:14.503Z] d65c8cfc05b1: Waiting [2023-02-17T06:49:14.503Z] 2437ff75d9bd: Waiting [2023-02-17T06:49:14.769Z] 04944245beec: Verifying Checksum [2023-02-17T06:49:14.769Z] 04944245beec: Download complete [2023-02-17T06:49:14.769Z] 765212b225bb: Verifying Checksum [2023-02-17T06:49:14.769Z] 765212b225bb: Download complete [2023-02-17T06:49:14.769Z] f23df028b6ca: Verifying Checksum [2023-02-17T06:49:14.769Z] f23df028b6ca: Download complete [2023-02-17T06:49:15.036Z] d65c8cfc05b1: Download complete [2023-02-17T06:49:15.036Z] 699f458cf7ca: Verifying Checksum [2023-02-17T06:49:15.036Z] 699f458cf7ca: Download complete [2023-02-17T06:49:15.316Z] 8998bd30e6a1: Download complete [2023-02-17T06:49:17.895Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T06:49:17.895Z] 2437ff75d9bd: Download complete [2023-02-17T06:49:18.855Z] 8998bd30e6a1: Pull complete [2023-02-17T06:49:19.437Z] 04944245beec: Pull complete [2023-02-17T06:49:20.843Z] 699f458cf7ca: Pull complete [2023-02-17T06:49:20.843Z] 765212b225bb: Pull complete [2023-02-17T06:49:21.425Z] f23df028b6ca: Pull complete [2023-02-17T06:49:21.690Z] d65c8cfc05b1: Pull complete [2023-02-17T06:49:33.994Z] 2437ff75d9bd: Pull complete [2023-02-17T06:49:33.994Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T06:49:33.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:49:33.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:49:34.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-6418 does not seem to be running inside a container [2023-02-17T06:49:34.262Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T06:49:36.870Z] $ docker top df3896e7bc4d32dbb6b5175af474639459d7c06a506300c41437d41d1d336d49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:49:37.688Z] ---> job-cost.sh [2023-02-17T06:49:37.688Z] lf-activate-venv: SKIPPING [2023-02-17T06:49:37.688Z] INFO: No Stack... [2023-02-17T06:49:38.269Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T06:49:39.224Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T06:49:39.543Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-02-17T06:49:39.544Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T06:49:39.581Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1325-4-stack-cost] [2023-02-17T06:49:39.591Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-4-stack-cost] did not exist. Created. [2023-02-17T06:49:39.591Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1325-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T06:49:40.017Z] /w/workspace/device-sdk-go/4@tmp/durable-6ed36136/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T06:49:40.356Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T06:49:40.388Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T06:49:40.453Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T06:49:40.459Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T06:49:40.487Z] $ docker stop --time=1 df3896e7bc4d32dbb6b5175af474639459d7c06a506300c41437d41d1d336d49 [2023-02-17T06:49:41.963Z] $ docker rm -f --volumes df3896e7bc4d32dbb6b5175af474639459d7c06a506300c41437d41d1d336d49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-17T06:49:42.343Z] provisioning config files... [2023-02-17T06:49:42.350Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config13564127010933214168tmp [Pipeline] { [Pipeline] sh [2023-02-17T06:49:42.645Z] + set +x [2023-02-17T06:49:42.645Z] + + bash -s -- [2023-02-17T06:49:42.645Z] curl -s https://codecov.io/bash [2023-02-17T06:49:42.645Z] [2023-02-17T06:49:42.645Z] _____ _ [2023-02-17T06:49:42.645Z] / ____| | | [2023-02-17T06:49:42.645Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T06:49:42.645Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T06:49:42.645Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T06:49:42.645Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T06:49:42.645Z] Bash-1.0.6 [2023-02-17T06:49:42.645Z] [2023-02-17T06:49:42.645Z] [2023-02-17T06:49:42.645Z] ==> git version 2.25.1 found [2023-02-17T06:49:42.645Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-17T06:49:42.645Z] Release-Date: 2020-01-08 [2023-02-17T06:49:42.645Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-17T06:49:42.645Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T06:49:42.645Z] ==> Jenkins CI detected. [2023-02-17T06:49:42.645Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1325 [2023-02-17T06:49:42.645Z] project root: . [2023-02-17T06:49:42.645Z] --> token set from env [2023-02-17T06:49:42.645Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T06:49:42.645Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T06:49:42.645Z] ==> Python coveragepy not found [2023-02-17T06:49:42.645Z] ==> Searching for coverage reports in: [2023-02-17T06:49:42.645Z] + . [2023-02-17T06:49:42.645Z] -> Found 1 reports [2023-02-17T06:49:42.645Z] ==> Detecting git/mercurial file structure [2023-02-17T06:49:42.645Z] ==> Reading reports [2023-02-17T06:49:42.645Z] + ./coverage.out bytes=111215 [2023-02-17T06:49:42.645Z] ==> Appending adjustments [2023-02-17T06:49:42.645Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T06:49:42.903Z] + Found adjustments [2023-02-17T06:49:42.903Z] ==> Gzipping contents [2023-02-17T06:49:43.162Z] 16K /tmp/codecov.i7L90t.gz [2023-02-17T06:49:43.162Z] ==> Uploading reports [2023-02-17T06:49:43.162Z] url: https://codecov.io [2023-02-17T06:49:43.162Z] query: branch=PR-1325&commit=0d14b0def67a2c62d60bd49d6fc7fb0eff007de1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1325%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1325&job=&cmd_args= [2023-02-17T06:49:43.162Z] -> Pinging Codecov [2023-02-17T06:49:43.162Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1325&commit=0d14b0def67a2c62d60bd49d6fc7fb0eff007de1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1325%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1325&job=&cmd_args= [2023-02-17T06:49:43.162Z] -> Uploading to [2023-02-17T06:49:43.162Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/7E55EF52A471D76F132DFD9A03CDDE97/0d14b0def67a2c62d60bd49d6fc7fb0eff007de1/1d139105-52ac-4d52-b03f-7c5cf3866092.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T064943Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3bcbf6d3f554f15bfe791bad6fe5cc5faf3155bde83cb5aac9a3f0287ef67179 [2023-02-17T06:49:43.162Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T06:49:43.162Z] Dload Upload Total Spent Left Speed [2023-02-17T06:49:43.421Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15403 0 0 100 15403 0 44646 --:--:-- --:--:-- --:--:-- 44517 100 15403 0 0 100 15403 0 44517 --:--:-- --:--:-- --:--:-- 44389 [2023-02-17T06:49:43.421Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [Pipeline] } [2023-02-17T06:49:43.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-17T06:49:44.143Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives ] [2023-02-17T06:49:44.143Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-17T06:49:44.143Z] total 16 [2023-02-17T06:49:44.143Z] drwxr-xr-x 3 root root 4096 Feb 17 06:37 . [2023-02-17T06:49:44.143Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 06:37 .. [2023-02-17T06:49:44.143Z] drwxr-xr-x 2 root root 4096 Feb 17 06:37 cost [2023-02-17T06:49:44.143Z] -rw-r--r-- 1 root root 86 Feb 17 06:37 cost.csv [2023-02-17T06:49:44.143Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-17T06:49:44.143Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-17T06:49:44.143Z] total 16 [2023-02-17T06:49:44.143Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 06:37 . [2023-02-17T06:49:44.143Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 06:37 .. [2023-02-17T06:49:44.143Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 06:37 cost [2023-02-17T06:49:44.143Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 17 06:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:49:44.433Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:49:45.298Z] ---> package-listing.sh [2023-02-17T06:49:45.298Z] ++ facter osfamily [2023-02-17T06:49:45.298Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T06:49:45.557Z] + OS_FAMILY=debian [2023-02-17T06:49:45.557Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1325 [2023-02-17T06:49:45.557Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T06:49:45.557Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T06:49:45.557Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T06:49:45.557Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T06:49:45.557Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1325 ']' [2023-02-17T06:49:45.557Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T06:49:45.557Z] + case "${OS_FAMILY}" in [2023-02-17T06:49:45.557Z] + dpkg -l [2023-02-17T06:49:45.557Z] + grep '^ii' [2023-02-17T06:49:45.557Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T06:49:45.557Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T06:49:45.557Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T06:49:45.557Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1325 ']' [2023-02-17T06:49:45.557Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/ [2023-02-17T06:49:45.557Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/ [Pipeline] echo [2023-02-17T06:49:45.569Z] 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-1325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T06:49:45.847Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:49:46.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:49:46.407Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:49:46.479Z] prd-ubuntu20.04-docker-8c-8g-6415 does not seem to be running inside a container [2023-02-17T06:49:46.500Z] $ 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-1325/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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T06:49:46.789Z] $ docker top c74f4f5a40a20c009a1c117800ed08c4cfdf2cf9e3919c8e546f10982d39b40e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:49:47.137Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T06:49:47.421Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T06:49:47.704Z] + ls /var/log/sa-host [2023-02-17T06:49:47.704Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:49:47.767Z] provisioning config files... [2023-02-17T06:49:47.775Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config637690124807862676tmp [Pipeline] { [Pipeline] echo [2023-02-17T06:49:47.791Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:49:48.088Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T06:49:48.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:49:48.411Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T06:49:48.420Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:49:48.699Z] ---> sudo-logs.sh [2023-02-17T06:49:48.699Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T06:49:48.726Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:49:49.010Z] ---> job-cost.sh [2023-02-17T06:49:49.010Z] lf-activate-venv: SKIPPING [2023-02-17T06:49:49.010Z] DEBUG: total: 0.2199999988079071 [2023-02-17T06:49:49.010Z] INFO: Retrieving Stack Cost... [2023-02-17T06:49:49.269Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T06:49:49.838Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T06:49:49.852Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:49:50.136Z] ---> logs-deploy.sh [2023-02-17T06:49:50.136Z] lf-activate-venv: SKIPPING [2023-02-17T06:49:50.136Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1325/4 [2023-02-17T06:49:50.136Z] INFO: archiving workspace using pattern(s): [2023-02-17T06:49:51.073Z] Archives upload complete. [2023-02-17T06:49:51.073Z] INFO: archiving logs to Nexus