Pull request #1488 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 lindseysimple for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 93fdda3beb2e14b4e733fb76d164ead49978cb57+5a7d05295c20c4306666c126d05bdc304538796c (d93c927dffd268a4288d20422c208806d9527483) 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-ssh2820667687465830175.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh3172449802811403720.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-1488/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-1488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12720855653090147722.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh9240160313272124361.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-1488/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-1488/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5120833320419536547.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.20 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 ‘prd-ubuntu20.04-docker-8c-8g-2736’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2738 in /w/workspace/gexfoundry_device-sdk-go_PR-1488 [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-1488 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5a7d05295c20c4306666c126d05bdc304538796c into PR head commit 93fdda3beb2e14b4e733fb76d164ead49978cb57 Merge succeeded, producing 93fdda3beb2e14b4e733fb76d164ead49978cb57 Checking out Revision 93fdda3beb2e14b4e733fb76d164ead49978cb57 (PR-1488) > 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/1488/head:refs/remotes/origin/PR-1488 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93fdda3beb2e14b4e733fb76d164ead49978cb57 # 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 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93fdda3beb2e14b4e733fb76d164ead49978cb57 # timeout=10 Commit message: "fix: Update handler funcs to use Echo signatures" > git rev-list --no-walk 72d350f2483b97042997e4d5de4bcf3345622430 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-02T09:19:25.032Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-02T09:19:25.097Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-02T09:19:25.112Z] ========================================================= [2023-08-02T09:19:25.112Z] EdgeX Global Pipelines Version Info [2023-08-02T09:19:25.112Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:19:25.838Z] ------------------- [2023-08-02T09:19:25.838Z] stable info: [2023-08-02T09:19:25.838Z] ------------------- [2023-08-02T09:19:25.838Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-02T09:19:25.838Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T09:19:25.838Z] Message: update stable to v1.0.250 [2023-08-02T09:19:26.407Z] ------------------- [2023-08-02T09:19:26.407Z] experimental info: [2023-08-02T09:19:26.407Z] ------------------- [2023-08-02T09:19:26.407Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-02T09:19:26.407Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T09:19:26.407Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-02T09:19:26.584Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-02T09:19:26.601Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-02T09:19:26.621Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-02T09:19:26.641Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-02T09:19:26.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-02T09:19:26.667Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-02T09:19:26.688Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-02T09:19:26.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-02T09:19:26.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-02T09:19:26.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-02T09:19:26.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-02T09:19:26.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-02T09:19:26.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-02T09:19:26.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-02T09:19:26.798Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-02T09:19:26.810Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T09:19:26.824Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T09:19:26.836Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T09:19:26.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-02T09:19:26.862Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-02T09:19:26.876Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-02T09:19:26.892Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-02T09:19:26.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-02T09:19:26.920Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-02T09:19:26.935Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-02T09:19:26.950Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-02T09:19:26.965Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-02T09:19:26.982Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1488 [Pipeline] echo [2023-08-02T09:19:26.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1488 [Pipeline] echo [2023-08-02T09:19:27.014Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1488 [Pipeline] echo [2023-08-02T09:19:27.030Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93fdda3beb2e14b4e733fb76d164ead49978cb57 [Pipeline] echo [2023-08-02T09:19:27.041Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93fdda3 [Pipeline] echo [2023-08-02T09:19:27.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T09:19:27.096Z] provisioning config files... [2023-08-02T09:19:27.111Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config5535853375090045931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:19:27.411Z] ---> docker-login.sh [2023-08-02T09:19:27.411Z] nexus3.edgexfoundry.org:10001 [2023-08-02T09:19:27.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:19:27.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:19:27.670Z] Configure a credential helper to remove this warning. See [2023-08-02T09:19:27.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:19:27.670Z] [2023-08-02T09:19:27.670Z] Login Succeeded [2023-08-02T09:19:27.670Z] nexus3.edgexfoundry.org:10002 [2023-08-02T09:19:27.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:19:27.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:19:27.930Z] Configure a credential helper to remove this warning. See [2023-08-02T09:19:27.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:19:27.930Z] [2023-08-02T09:19:27.930Z] Login Succeeded [2023-08-02T09:19:27.930Z] nexus3.edgexfoundry.org:10003 [2023-08-02T09:19:27.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:19:27.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:19:27.930Z] Configure a credential helper to remove this warning. See [2023-08-02T09:19:27.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:19:27.930Z] [2023-08-02T09:19:27.930Z] Login Succeeded [2023-08-02T09:19:27.930Z] nexus3.edgexfoundry.org:10004 [2023-08-02T09:19:27.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:19:28.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:19:28.189Z] Configure a credential helper to remove this warning. See [2023-08-02T09:19:28.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:19:28.189Z] [2023-08-02T09:19:28.189Z] Login Succeeded [2023-08-02T09:19:28.189Z] docker.io [2023-08-02T09:19:28.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:19:28.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:19:28.449Z] Configure a credential helper to remove this warning. See [2023-08-02T09:19:28.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:19:28.449Z] [2023-08-02T09:19:28.449Z] Login Succeeded [2023-08-02T09:19:28.449Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T09:19:28.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-02T09:19:28.850Z] + git rev-list -1 --merges 93fdda3beb2e14b4e733fb76d164ead49978cb57~1..93fdda3beb2e14b4e733fb76d164ead49978cb57 [Pipeline] echo [2023-08-02T09:19:28.894Z] -----------> git rev-list -1 --merges 93fdda3beb2e14b4e733fb76d164ead49978cb57~1..93fdda3beb2e14b4e733fb76d164ead49978cb57 93fdda3beb2e14b4e733fb76d164ead49978cb57 [false] [Pipeline] sh [2023-08-02T09:19:29.182Z] + git log --format=format:%s -1 93fdda3beb2e14b4e733fb76d164ead49978cb57 [Pipeline] echo [2023-08-02T09:19:29.198Z] ========================================================= [2023-08-02T09:19:29.198Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-02T09:19:29.198Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T09:19:29.532Z] + git log --format=format:%s -1 93fdda3beb2e14b4e733fb76d164ead49978cb57 [Pipeline] echo [2023-08-02T09:19:29.542Z] [semverPrep] GIT_COMMIT: 93fdda3beb2e14b4e733fb76d164ead49978cb57, Commit Message: fix: Update handler funcs to use Echo signatures [Pipeline] echo [2023-08-02T09:19:29.550Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-02T09:19:29.922Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T09:19:29.922Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-02T09:19:29.922Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-02T09:19:29.922Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-02T09:19:29.922Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-02T09:19:29.922Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-02T09:19:29.922Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:19:30.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T09:19:30.357Z] [2023-08-02T09:19:30.357Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:19:30.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T09:19:30.664Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-02T09:19:30.664Z] b85a868b505f: Pulling fs layer [2023-08-02T09:19:30.664Z] e2be974225ed: Pulling fs layer [2023-08-02T09:19:30.664Z] 339a4e72a1f5: Pulling fs layer [2023-08-02T09:19:30.664Z] 988bab9f4d93: Pulling fs layer [2023-08-02T09:19:30.664Z] 1469e6f7b9e6: Pulling fs layer [2023-08-02T09:19:30.664Z] eaf3925da568: Pulling fs layer [2023-08-02T09:19:30.664Z] bab4dde63d76: Pulling fs layer [2023-08-02T09:19:30.664Z] bde34c3a00c8: Pulling fs layer [2023-08-02T09:19:30.664Z] b352a97aabf1: Pulling fs layer [2023-08-02T09:19:30.664Z] 4872d77fe225: Pulling fs layer [2023-08-02T09:19:30.664Z] 5851b861e8e6: Pulling fs layer [2023-08-02T09:19:30.664Z] 1469e6f7b9e6: Waiting [2023-08-02T09:19:30.664Z] eaf3925da568: Waiting [2023-08-02T09:19:30.664Z] bab4dde63d76: Waiting [2023-08-02T09:19:30.664Z] bde34c3a00c8: Waiting [2023-08-02T09:19:30.664Z] b352a97aabf1: Waiting [2023-08-02T09:19:30.664Z] 4872d77fe225: Waiting [2023-08-02T09:19:30.664Z] 5851b861e8e6: Waiting [2023-08-02T09:19:30.664Z] 988bab9f4d93: Waiting [2023-08-02T09:19:30.664Z] e2be974225ed: Download complete [2023-08-02T09:19:30.664Z] 988bab9f4d93: Download complete [2023-08-02T09:19:30.664Z] 1469e6f7b9e6: Verifying Checksum [2023-08-02T09:19:30.664Z] 1469e6f7b9e6: Download complete [2023-08-02T09:19:30.664Z] 339a4e72a1f5: Verifying Checksum [2023-08-02T09:19:30.664Z] 339a4e72a1f5: Download complete [2023-08-02T09:19:30.664Z] eaf3925da568: Verifying Checksum [2023-08-02T09:19:30.664Z] eaf3925da568: Download complete [2023-08-02T09:19:30.923Z] bde34c3a00c8: Verifying Checksum [2023-08-02T09:19:30.923Z] bde34c3a00c8: Download complete [2023-08-02T09:19:30.923Z] b352a97aabf1: Download complete [2023-08-02T09:19:30.923Z] 4872d77fe225: Verifying Checksum [2023-08-02T09:19:30.923Z] 4872d77fe225: Download complete [2023-08-02T09:19:30.923Z] 5851b861e8e6: Download complete [2023-08-02T09:19:30.923Z] b85a868b505f: Verifying Checksum [2023-08-02T09:19:30.923Z] b85a868b505f: Download complete [2023-08-02T09:19:31.183Z] bab4dde63d76: Verifying Checksum [2023-08-02T09:19:31.183Z] bab4dde63d76: Download complete [2023-08-02T09:19:32.119Z] b85a868b505f: Pull complete [2023-08-02T09:19:32.378Z] e2be974225ed: Pull complete [2023-08-02T09:19:32.944Z] 339a4e72a1f5: Pull complete [2023-08-02T09:19:32.944Z] 988bab9f4d93: Pull complete [2023-08-02T09:19:33.203Z] 1469e6f7b9e6: Pull complete [2023-08-02T09:19:33.203Z] eaf3925da568: Pull complete [2023-08-02T09:19:35.109Z] bab4dde63d76: Pull complete [2023-08-02T09:19:35.109Z] bde34c3a00c8: Pull complete [2023-08-02T09:19:35.109Z] b352a97aabf1: Pull complete [2023-08-02T09:19:35.109Z] 4872d77fe225: Pull complete [2023-08-02T09:19:35.368Z] 5851b861e8e6: Pull complete [2023-08-02T09:19:35.368Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-02T09:19:35.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T09:19:35.368Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:19:35.461Z] prd-ubuntu20.04-docker-8c-8g-2738 does not seem to be running inside a container [2023-08-02T09:19:35.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-02T09:19:39.521Z] $ docker top 25e4bd0e19d3376d0046a7d9f3deab12fc1d07768f32901113edce6dbf1adbb3 -eo pid,comm [2023-08-02T09:19:39.571Z] 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-08-02T09:19:39.571Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T09:19:39.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T09:19:39.612Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T09:19:39.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T09:19:39.722Z] $ docker exec 25e4bd0e19d3376d0046a7d9f3deab12fc1d07768f32901113edce6dbf1adbb3 ssh-agent [2023-08-02T09:19:39.824Z] SSH_AUTH_SOCK=/tmp/ssh-lKKpH5DMLasV/agent.32 [2023-08-02T09:19:39.824Z] SSH_AGENT_PID=38 [2023-08-02T09:19:39.830Z] Running ssh-add (command line suppressed) [2023-08-02T09:19:39.923Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_3521729657155980870.key (/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_3521729657155980870.key) [2023-08-02T09:19:39.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T09:19:40.219Z] + git tag --points-at HEAD [Pipeline] } [2023-08-02T09:19:40.234Z] $ docker exec --env ******** --env ******** 25e4bd0e19d3376d0046a7d9f3deab12fc1d07768f32901113edce6dbf1adbb3 ssh-agent -k [2023-08-02T09:19:40.337Z] unset SSH_AUTH_SOCK; [2023-08-02T09:19:40.337Z] unset SSH_AGENT_PID; [2023-08-02T09:19:40.337Z] echo Agent pid 38 killed; [2023-08-02T09:19:40.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-02T09:19:40.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T09:19:40.370Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T09:19:40.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T09:19:40.495Z] $ docker exec 25e4bd0e19d3376d0046a7d9f3deab12fc1d07768f32901113edce6dbf1adbb3 ssh-agent [2023-08-02T09:19:40.623Z] SSH_AUTH_SOCK=/tmp/ssh-PkqC4JPPPNkf/agent.69 [2023-08-02T09:19:40.623Z] SSH_AGENT_PID=75 [2023-08-02T09:19:40.628Z] Running ssh-add (command line suppressed) [2023-08-02T09:19:40.758Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_11386296336387250874.key (/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_11386296336387250874.key) [2023-08-02T09:19:40.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T09:19:41.068Z] + git semver init [2023-08-02T09:19:41.640Z] 2023-08-02 09:19:41,376 [run_init] DEBUG init version:0.0.0 force:False [2023-08-02T09:19:41.640Z] 2023-08-02 09:19:41,378 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver [2023-08-02T09:19:41.640Z] 2023-08-02 09:19:41,379 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver [2023-08-02T09:19:41.640Z] 2023-08-02 09:19:41,379 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1488, universal_newlines=False, shell=None, istream=None) [2023-08-02T09:19:43.548Z] 2023-08-02 09:19:43,081 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.git/info/exclude [2023-08-02T09:19:43.548Z] 2023-08-02 09:19:43,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver/PR-1488 with force:False [2023-08-02T09:19:43.548Z] 2023-08-02 09:19:43,081 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver/PR-1488 [2023-08-02T09:19:43.548Z] 2023-08-02 09:19:43,086 [execute] INFO git cat-file --batch-check [2023-08-02T09:19:43.548Z] 2023-08-02 09:19:43,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver, universal_newlines=False, shell=None, istream=) [2023-08-02T09:19:43.548Z] 2023-08-02 09:19:43,091 [execute] INFO git cat-file --batch [2023-08-02T09:19:43.548Z] 2023-08-02 09:19:43,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver, universal_newlines=False, shell=None, istream=) [2023-08-02T09:19:43.548Z] 2023-08-02 09:19:43,095 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver/PR-1488 [2023-08-02T09:19:43.548Z] 0.0.0 [Pipeline] } [2023-08-02T09:19:43.560Z] $ docker exec --env ******** --env ******** 25e4bd0e19d3376d0046a7d9f3deab12fc1d07768f32901113edce6dbf1adbb3 ssh-agent -k [2023-08-02T09:19:43.683Z] unset SSH_AUTH_SOCK; [2023-08-02T09:19:43.683Z] unset SSH_AGENT_PID; [2023-08-02T09:19:43.683Z] echo Agent pid 75 killed; [2023-08-02T09:19:43.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T09:19:44.000Z] + git semver [Pipeline] } [2023-08-02T09:19:44.277Z] $ docker stop --time=1 25e4bd0e19d3376d0046a7d9f3deab12fc1d07768f32901113edce6dbf1adbb3 [2023-08-02T09:19:45.522Z] $ docker rm -f --volumes 25e4bd0e19d3376d0046a7d9f3deab12fc1d07768f32901113edce6dbf1adbb3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T09:19:45.854Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-02T09:19:46.042Z] Stashed 1 file(s) [Pipeline] echo [2023-08-02T09:19:46.045Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T09:19:46.165Z] provisioning config files... [2023-08-02T09:19:46.172Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config18115294448474749708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:19:46.467Z] ---> docker-login.sh [2023-08-02T09:19:46.467Z] nexus3.edgexfoundry.org:10001 [2023-08-02T09:19:46.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:19:46.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:19:46.467Z] Configure a credential helper to remove this warning. See [2023-08-02T09:19:46.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:19:46.467Z] [2023-08-02T09:19:46.467Z] Login Succeeded [2023-08-02T09:19:46.467Z] nexus3.edgexfoundry.org:10002 [2023-08-02T09:19:46.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:19:46.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:19:46.467Z] Configure a credential helper to remove this warning. See [2023-08-02T09:19:46.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:19:46.467Z] [2023-08-02T09:19:46.467Z] Login Succeeded [2023-08-02T09:19:46.467Z] nexus3.edgexfoundry.org:10003 [2023-08-02T09:19:46.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:19:46.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:19:46.726Z] Configure a credential helper to remove this warning. See [2023-08-02T09:19:46.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:19:46.726Z] [2023-08-02T09:19:46.726Z] Login Succeeded [2023-08-02T09:19:46.726Z] nexus3.edgexfoundry.org:10004 [2023-08-02T09:19:46.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:19:46.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:19:46.726Z] Configure a credential helper to remove this warning. See [2023-08-02T09:19:46.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:19:46.726Z] [2023-08-02T09:19:46.726Z] Login Succeeded [2023-08-02T09:19:46.726Z] docker.io [2023-08-02T09:19:46.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:19:46.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:19:46.983Z] Configure a credential helper to remove this warning. See [2023-08-02T09:19:46.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:19:46.983Z] [2023-08-02T09:19:46.983Z] Login Succeeded [2023-08-02T09:19:46.983Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T09:19:46.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T09:19:47.043Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:19:47.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:19:47.064Z] ========================================================= [2023-08-02T09:19:47.064Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-02T09:19:47.064Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:19:47.364Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-02T09:19:47.364Z] Sending build context to Docker daemon 11.12MB [2023-08-02T09:19:47.364Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:19:47.364Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-02T09:19:47.364Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-02T09:19:47.364Z] 4db1b89c0bd1: Pulling fs layer [2023-08-02T09:19:47.364Z] 6911f1a30b25: Pulling fs layer [2023-08-02T09:19:47.364Z] e194b8c5c2a9: Pulling fs layer [2023-08-02T09:19:47.364Z] 6863d3e3a2b1: Pulling fs layer [2023-08-02T09:19:47.364Z] ec0bb842ea78: Pulling fs layer [2023-08-02T09:19:47.364Z] 40a00589a448: Pulling fs layer [2023-08-02T09:19:47.364Z] 6c08303d61cc: Pulling fs layer [2023-08-02T09:19:47.364Z] 798269fcf238: Pulling fs layer [2023-08-02T09:19:47.364Z] 6863d3e3a2b1: Waiting [2023-08-02T09:19:47.364Z] ec0bb842ea78: Waiting [2023-08-02T09:19:47.364Z] 40a00589a448: Waiting [2023-08-02T09:19:47.364Z] 6c08303d61cc: Waiting [2023-08-02T09:19:47.364Z] 798269fcf238: Waiting [2023-08-02T09:19:47.623Z] 6911f1a30b25: Verifying Checksum [2023-08-02T09:19:47.623Z] 6911f1a30b25: Download complete [2023-08-02T09:19:47.623Z] 6863d3e3a2b1: Verifying Checksum [2023-08-02T09:19:47.623Z] 6863d3e3a2b1: Download complete [2023-08-02T09:19:47.623Z] ec0bb842ea78: Verifying Checksum [2023-08-02T09:19:47.623Z] ec0bb842ea78: Download complete [2023-08-02T09:19:47.623Z] 4db1b89c0bd1: Verifying Checksum [2023-08-02T09:19:47.623Z] 4db1b89c0bd1: Download complete [2023-08-02T09:19:47.623Z] 40a00589a448: Download complete [2023-08-02T09:19:47.623Z] 4db1b89c0bd1: Pull complete [2023-08-02T09:19:47.883Z] 6911f1a30b25: Pull complete [2023-08-02T09:19:48.142Z] 798269fcf238: Verifying Checksum [2023-08-02T09:19:48.142Z] 798269fcf238: Download complete [2023-08-02T09:19:48.402Z] e194b8c5c2a9: Verifying Checksum [2023-08-02T09:19:48.402Z] e194b8c5c2a9: Download complete [2023-08-02T09:19:48.661Z] 6c08303d61cc: Verifying Checksum [2023-08-02T09:19:48.661Z] 6c08303d61cc: Download complete [2023-08-02T09:19:51.945Z] e194b8c5c2a9: Pull complete [2023-08-02T09:19:51.945Z] 6863d3e3a2b1: Pull complete [2023-08-02T09:19:51.945Z] ec0bb842ea78: Pull complete [2023-08-02T09:19:51.945Z] 40a00589a448: Pull complete [2023-08-02T09:19:53.844Z] 6c08303d61cc: Pull complete [2023-08-02T09:19:54.778Z] 798269fcf238: Pull complete [2023-08-02T09:19:54.778Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-02T09:19:54.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-02T09:19:54.778Z] ---> ec979cd7f677 [2023-08-02T09:19:54.778Z] Step 3/10 : ARG MAKE=make build [2023-08-02T09:20:01.131Z] Still waiting to schedule task [2023-08-02T09:20:01.131Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2737’ is offline [2023-08-02T09:20:02.891Z] ---> Running in 3ad2c0b2938a [2023-08-02T09:20:02.891Z] Removing intermediate container 3ad2c0b2938a [2023-08-02T09:20:02.891Z] ---> 2ce2540359ae [2023-08-02T09:20:02.891Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-02T09:20:02.891Z] ---> Running in 2d6fc3cef2d6 [2023-08-02T09:20:02.891Z] Removing intermediate container 2d6fc3cef2d6 [2023-08-02T09:20:02.891Z] ---> 0969b78f0c8a [2023-08-02T09:20:02.891Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-02T09:20:03.148Z] ---> Running in a7b9307e2e32 [2023-08-02T09:20:03.148Z] Removing intermediate container a7b9307e2e32 [2023-08-02T09:20:03.148Z] ---> 6336485cfa1d [2023-08-02T09:20:03.148Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-02T09:20:03.148Z] ---> Running in 916ce0ab6199 [2023-08-02T09:20:03.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T09:20:03.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T09:20:03.924Z] OK: 265 MiB in 53 packages [2023-08-02T09:20:04.182Z] Removing intermediate container 916ce0ab6199 [2023-08-02T09:20:04.182Z] ---> 75b25ea092af [2023-08-02T09:20:04.182Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-02T09:20:04.182Z] ---> 1e8dae10332e [2023-08-02T09:20:04.182Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:20:04.440Z] ---> Running in 87f8644e7f33 [2023-08-02T09:20:51.120Z] Removing intermediate container 87f8644e7f33 [2023-08-02T09:20:51.120Z] ---> 0bdf7dabc84e [2023-08-02T09:20:51.120Z] Step 9/10 : COPY . . [2023-08-02T09:20:51.120Z] ---> a73d55fa48c4 [2023-08-02T09:20:51.120Z] Step 10/10 : RUN ${MAKE} [2023-08-02T09:20:51.120Z] ---> Running in 8bd146acddcb [2023-08-02T09:20:51.120Z] noop [2023-08-02T09:20:51.414Z] Removing intermediate container 8bd146acddcb [2023-08-02T09:20:51.414Z] ---> 29a3785348ea [2023-08-02T09:20:51.414Z] Successfully built 29a3785348ea [2023-08-02T09:20:51.981Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:20:52.320Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T09:20:52.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:20:52.418Z] prd-ubuntu20.04-docker-8c-8g-2738 does not seem to be running inside a container [2023-08-02T09:20:52.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@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 ******** ci-base-image-x86_64 cat [2023-08-02T09:20:52.753Z] $ docker top 78c7942e9331bc34a7adb6ea5b56c356c61a728c268ef340cdd3d931d9fcbce7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:20:53.093Z] + go version [2023-08-02T09:20:53.093Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-02T09:20:53.107Z] $ docker stop --time=1 78c7942e9331bc34a7adb6ea5b56c356c61a728c268ef340cdd3d931d9fcbce7 [2023-08-02T09:20:54.425Z] $ docker rm -f --volumes 78c7942e9331bc34a7adb6ea5b56c356c61a728c268ef340cdd3d931d9fcbce7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:20:54.815Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T09:20:54.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:20:54.879Z] prd-ubuntu20.04-docker-8c-8g-2738 does not seem to be running inside a container [2023-08-02T09:20:54.916Z] $ 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-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@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 ******** ci-base-image-x86_64 cat [2023-08-02T09:20:55.255Z] $ docker top fb270a31c010dd51eaaade90b75cfe6debfabe682e55e01d102400aa66c7774f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:20:55.591Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1488 [Pipeline] fileExists [Pipeline] sh [2023-08-02T09:20:55.888Z] + make test [2023-08-02T09:20:55.888Z] go test -race -coverprofile=coverage.out ./... [2023-08-02T09:21:02.447Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-02T09:21:14.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-02T09:21:14.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-02T09:21:14.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-02T09:21:14.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-02T09:21:14.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-02T09:21:15.200Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.059s coverage: 27.6% of statements [2023-08-02T09:21:15.200Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-02T09:21:15.200Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-02T09:21:15.201Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.069s coverage: 80.2% of statements [2023-08-02T09:21:15.201Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 86.0% of statements [2023-08-02T09:21:15.765Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-02T09:21:16.024Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.073s coverage: 71.8% of statements [2023-08-02T09:21:16.281Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-02T09:21:16.281Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-02T09:21:16.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-02T09:21:19.381Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 14.3% of statements [2023-08-02T09:21:19.381Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.132s coverage: 43.8% of statements [2023-08-02T09:21:19.381Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.069s coverage: 68.5% of statements [2023-08-02T09:21:19.381Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.145s coverage: 89.2% of statements [2023-08-02T09:21:19.381Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.5% of statements [2023-08-02T09:21:19.381Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/utils 0.028s coverage: 100.0% of statements [2023-08-02T09:21:34.252Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2739 in /w/workspace/gexfoundry_device-sdk-go_PR-1488 [Pipeline] { [Pipeline] ws [2023-08-02T09:21:34.264Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-08-02T09:21:34.289Z] The recommended git tool is: git [2023-08-02T09:21:39.340Z] using credential edgex-jenkins-ssh [2023-08-02T09:21:39.354Z] Cloning the remote Git repository [2023-08-02T09:21:39.392Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-02T09:21:39.479Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-08-02T09:21:39.611Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-02T09:21:39.612Z] > git --version # timeout=10 [2023-08-02T09:21:39.631Z] > git --version # 'git version 2.25.1' [2023-08-02T09:21:39.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T09:21:39.771Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T09:21:41.316Z] GO111MODULE=on go vet ./... [2023-08-02T09:21:41.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-02T09:21:41.416Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T09:21:42.951Z] Merging remotes/origin/main commit 5a7d05295c20c4306666c126d05bdc304538796c into PR head commit 93fdda3beb2e14b4e733fb76d164ead49978cb57 [2023-08-02T09:21:42.189Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-02T09:21:42.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-02T09:21:42.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T09:21:42.245Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1488/head:refs/remotes/origin/PR-1488 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-02T09:21:42.966Z] > git config core.sparsecheckout # timeout=10 [2023-08-02T09:21:43.034Z] > git checkout -f 93fdda3beb2e14b4e733fb76d164ead49978cb57 # timeout=10 [2023-08-02T09:21:43.210Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-02T09:21:43.210Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-02T09:21:43.210Z] ./bin/test-attribution-txt.sh [2023-08-02T09:21:43.210Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-02T09:21:43.210Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-02T09:21:43.210Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-02T09:21:43.210Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-02T09:21:43.210Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-02T09:21:43.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-02T09:21:43.245Z] $ docker stop --time=1 fb270a31c010dd51eaaade90b75cfe6debfabe682e55e01d102400aa66c7774f [2023-08-02T09:21:43.256Z] Merge succeeded, producing 93fdda3beb2e14b4e733fb76d164ead49978cb57 [2023-08-02T09:21:43.256Z] Checking out Revision 93fdda3beb2e14b4e733fb76d164ead49978cb57 (PR-1488) [2023-08-02T09:21:43.148Z] > git remote # timeout=10 [2023-08-02T09:21:43.171Z] > git config --get remote.origin.url # timeout=10 [2023-08-02T09:21:43.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T09:21:43.207Z] > git merge 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 [2023-08-02T09:21:43.234Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-02T09:21:43.259Z] > git config core.sparsecheckout # timeout=10 [2023-08-02T09:21:43.271Z] > git checkout -f 93fdda3beb2e14b4e733fb76d164ead49978cb57 # timeout=10 [2023-08-02T09:21:46.754Z] Commit message: "fix: Update handler funcs to use Echo signatures" [2023-08-02T09:21:54.657Z] $ docker rm -f --volumes fb270a31c010dd51eaaade90b75cfe6debfabe682e55e01d102400aa66c7774f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T09:21:55.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-02T09:21:55.259Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-08-02T09:21:55.457Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-02T09:21:55.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-02T09:21:55.457Z] Dload Upload Total Spent Left Speed [2023-08-02T09:21:55.457Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 108k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh [2023-08-02T09:21:55.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh [2023-08-02T09:21:56.054Z] + ls -al . [2023-08-02T09:21:56.054Z] total 304 [2023-08-02T09:21:56.054Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 2 09:20 . [2023-08-02T09:21:56.054Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:19 .. [2023-08-02T09:21:56.054Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 2 09:19 .dockerignore [2023-08-02T09:21:56.054Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:19 .git [2023-08-02T09:21:56.054Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:19 .github [2023-08-02T09:21:56.054Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 2 09:19 .gitignore [2023-08-02T09:21:56.054Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 2 09:19 .golangci.yml [2023-08-02T09:21:56.054Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:19 .semver [2023-08-02T09:21:56.054Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 2 09:19 CHANGELOG.md [2023-08-02T09:21:56.054Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 09:19 GOVERNANCE.md [2023-08-02T09:21:56.054Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 2 09:19 Jenkinsfile [2023-08-02T09:21:56.054Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 2 09:19 LICENSE [2023-08-02T09:21:56.055Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 2 09:19 Makefile [2023-08-02T09:21:56.055Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 2 09:19 OWNERS.md [2023-08-02T09:21:56.055Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 2 09:19 README.md [2023-08-02T09:21:56.055Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 09:19 VERSION [2023-08-02T09:21:56.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:19 bin [2023-08-02T09:21:56.055Z] -rw-r--r-- 1 jenkins jenkins 120426 Aug 2 09:21 coverage.out [2023-08-02T09:21:56.055Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 2 09:19 example [2023-08-02T09:21:56.055Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 2 09:19 go.mod [2023-08-02T09:21:56.055Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 2 09:19 go.sum [2023-08-02T09:21:56.055Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 2 09:19 internal [2023-08-02T09:21:56.055Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:19 openapi [2023-08-02T09:21:56.055Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 2 09:19 pkg [2023-08-02T09:21:56.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:19 snap [2023-08-02T09:21:56.055Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 2 09:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:21:56.216Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-02T09:21:56.377Z] + 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=93fdda3beb2e14b4e733fb76d164ead49978cb57 --label arch=amd64 --label version=0.0.0 . [2023-08-02T09:21:56.377Z] Sending build context to Docker daemon 11.24MB [2023-08-02T09:21:56.377Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:21:56.377Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-02T09:21:56.377Z] ---> 29a3785348ea [2023-08-02T09:21:56.377Z] Step 3/23 : ARG MAKE=make build [2023-08-02T09:21:56.550Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-02T09:21:56.551Z] + sudo tee /etc/docker/daemon.new [2023-08-02T09:21:56.551Z] { [2023-08-02T09:21:56.551Z] "registry-mirrors": [ [2023-08-02T09:21:56.551Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-02T09:21:56.551Z] ], [2023-08-02T09:21:56.551Z] "bip": "10.250.0.254/24", [2023-08-02T09:21:56.551Z] "hosts": [ [2023-08-02T09:21:56.551Z] "tcp://0.0.0.0:5555", [2023-08-02T09:21:56.551Z] "unix:///var/run/docker.sock" [2023-08-02T09:21:56.551Z] ], [2023-08-02T09:21:56.551Z] "mtu": 1458, [2023-08-02T09:21:56.551Z] "selinux-enabled": true, [2023-08-02T09:21:56.551Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-02T09:21:56.551Z] } [Pipeline] sh [2023-08-02T09:21:56.636Z] ---> Running in 9f5cb43bfd6f [2023-08-02T09:21:56.636Z] Removing intermediate container 9f5cb43bfd6f [2023-08-02T09:21:56.636Z] ---> e1ae289740ab [2023-08-02T09:21:56.636Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-02T09:21:56.636Z] ---> Running in f73a4b1a253e [2023-08-02T09:21:56.882Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-08-02T09:21:56.895Z] Removing intermediate container f73a4b1a253e [2023-08-02T09:21:56.895Z] ---> 0b187407f07f [2023-08-02T09:21:56.895Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-02T09:21:56.895Z] ---> Running in 8c2309b16f60 [2023-08-02T09:21:56.895Z] Removing intermediate container 8c2309b16f60 [2023-08-02T09:21:56.895Z] ---> 27ee122bc61e [2023-08-02T09:21:56.895Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-02T09:21:56.895Z] ---> Running in e884ab2df191 [Pipeline] sh [2023-08-02T09:21:57.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T09:21:57.215Z] + sudo service docker restart [2023-08-02T09:21:57.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T09:21:57.670Z] OK: 265 MiB in 53 packages [2023-08-02T09:21:57.929Z] Removing intermediate container e884ab2df191 [2023-08-02T09:21:57.929Z] ---> 2425f087ca49 [2023-08-02T09:21:57.929Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-02T09:21:57.929Z] ---> 29a95b55c27b [2023-08-02T09:21:57.929Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:21:58.187Z] ---> Running in 428e2b86068d [2023-08-02T09:21:58.753Z] Removing intermediate container 428e2b86068d [2023-08-02T09:21:58.753Z] ---> df68319ed895 [2023-08-02T09:21:58.753Z] Step 9/23 : COPY . . [2023-08-02T09:21:59.319Z] ---> 03cc36c8f3f8 [2023-08-02T09:21:59.319Z] Step 10/23 : RUN ${MAKE} [2023-08-02T09:21:59.319Z] ---> Running in d3808633ebfb [2023-08-02T09:21:59.577Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T09:22:15.497Z] provisioning config files... [2023-08-02T09:22:15.520Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config17988927709184535493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:22:15.865Z] ---> docker-login.sh [2023-08-02T09:22:15.865Z] nexus3.edgexfoundry.org:10001 [2023-08-02T09:22:16.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:22:16.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:22:16.731Z] Configure a credential helper to remove this warning. See [2023-08-02T09:22:16.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:22:16.731Z] [2023-08-02T09:22:16.731Z] Login Succeeded [2023-08-02T09:22:16.731Z] nexus3.edgexfoundry.org:10002 [2023-08-02T09:22:17.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:22:17.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:22:17.002Z] Configure a credential helper to remove this warning. See [2023-08-02T09:22:17.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:22:17.002Z] [2023-08-02T09:22:17.002Z] Login Succeeded [2023-08-02T09:22:17.002Z] nexus3.edgexfoundry.org:10003 [2023-08-02T09:22:17.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:22:17.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:22:17.274Z] Configure a credential helper to remove this warning. See [2023-08-02T09:22:17.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:22:17.274Z] [2023-08-02T09:22:17.274Z] Login Succeeded [2023-08-02T09:22:17.274Z] nexus3.edgexfoundry.org:10004 [2023-08-02T09:22:17.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:22:17.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:22:17.829Z] Configure a credential helper to remove this warning. See [2023-08-02T09:22:17.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:22:17.829Z] [2023-08-02T09:22:17.829Z] Login Succeeded [2023-08-02T09:22:17.829Z] docker.io [2023-08-02T09:22:17.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T09:22:18.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T09:22:18.098Z] Configure a credential helper to remove this warning. See [2023-08-02T09:22:18.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T09:22:18.098Z] [2023-08-02T09:22:18.098Z] Login Succeeded [2023-08-02T09:22:18.098Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T09:22:18.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T09:22:18.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:22:18.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T09:22:18.389Z] ========================================================= [2023-08-02T09:22:18.389Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-02T09:22:18.389Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:22:18.736Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-02T09:22:19.010Z] Sending build context to Docker daemon 5.984MB [2023-08-02T09:22:19.279Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:22:19.279Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-02T09:22:19.279Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-02T09:22:19.279Z] edb6bdbacee9: Pulling fs layer [2023-08-02T09:22:19.279Z] 5f9638ab2659: Pulling fs layer [2023-08-02T09:22:19.279Z] 8d51d6327a98: Pulling fs layer [2023-08-02T09:22:19.279Z] 8b374f2dd631: Pulling fs layer [2023-08-02T09:22:19.279Z] ec14aa9079de: Pulling fs layer [2023-08-02T09:22:19.279Z] 2f466654f4bb: Pulling fs layer [2023-08-02T09:22:19.279Z] 554e91adad29: Pulling fs layer [2023-08-02T09:22:19.279Z] 8b374f2dd631: Waiting [2023-08-02T09:22:19.279Z] ec14aa9079de: Waiting [2023-08-02T09:22:19.279Z] 2f466654f4bb: Waiting [2023-08-02T09:22:19.279Z] 554e91adad29: Waiting [2023-08-02T09:22:19.279Z] 5f9638ab2659: Verifying Checksum [2023-08-02T09:22:19.279Z] 5f9638ab2659: Download complete [2023-08-02T09:22:19.279Z] 8b374f2dd631: Verifying Checksum [2023-08-02T09:22:19.279Z] 8b374f2dd631: Download complete [2023-08-02T09:22:19.279Z] ec14aa9079de: Verifying Checksum [2023-08-02T09:22:19.279Z] ec14aa9079de: Download complete [2023-08-02T09:22:19.550Z] edb6bdbacee9: Verifying Checksum [2023-08-02T09:22:19.550Z] edb6bdbacee9: Download complete [2023-08-02T09:22:20.535Z] edb6bdbacee9: Pull complete [2023-08-02T09:22:20.806Z] 554e91adad29: Verifying Checksum [2023-08-02T09:22:20.806Z] 554e91adad29: Download complete [2023-08-02T09:22:21.078Z] 5f9638ab2659: Pull complete [2023-08-02T09:22:21.582Z] Removing intermediate container d3808633ebfb [2023-08-02T09:22:21.582Z] ---> aac9affd3098 [2023-08-02T09:22:21.582Z] Step 11/23 : FROM alpine:3.17 [2023-08-02T09:22:21.582Z] 3.17: Pulling from library/alpine [2023-08-02T09:22:21.582Z] 4db1b89c0bd1: Already exists [2023-08-02T09:22:21.582Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-02T09:22:21.582Z] Status: Downloaded newer image for alpine:3.17 [2023-08-02T09:22:21.582Z] ---> 1f73a9d63274 [2023-08-02T09:22:21.582Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-02T09:22:21.582Z] ---> Running in a1d9985b96ca [2023-08-02T09:22:21.841Z] Removing intermediate container a1d9985b96ca [2023-08-02T09:22:21.841Z] ---> e5d8e0408cfd [2023-08-02T09:22:21.841Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-02T09:22:21.841Z] ---> Running in da8929fb8a7c [2023-08-02T09:22:22.044Z] 8d51d6327a98: Verifying Checksum [2023-08-02T09:22:22.044Z] 8d51d6327a98: Download complete [2023-08-02T09:22:22.044Z] 2f466654f4bb: Verifying Checksum [2023-08-02T09:22:22.044Z] 2f466654f4bb: Download complete [2023-08-02T09:22:22.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-02T09:22:22.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-02T09:22:22.617Z] OK: 7 MiB in 15 packages [2023-08-02T09:22:22.876Z] Removing intermediate container da8929fb8a7c [2023-08-02T09:22:22.876Z] ---> fda12af74b82 [2023-08-02T09:22:22.876Z] Step 14/23 : WORKDIR / [2023-08-02T09:22:22.876Z] ---> Running in 3b8bffb07469 [2023-08-02T09:22:22.876Z] Removing intermediate container 3b8bffb07469 [2023-08-02T09:22:22.876Z] ---> 496bc2469137 [2023-08-02T09:22:22.876Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-02T09:22:23.134Z] ---> 13a1df3ca75e [2023-08-02T09:22:23.134Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-02T09:22:24.071Z] ---> 9eb5e689a13f [2023-08-02T09:22:24.071Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-02T09:22:24.071Z] ---> 981e707c2615 [2023-08-02T09:22:24.071Z] Step 18/23 : EXPOSE 59999 [2023-08-02T09:22:24.328Z] ---> Running in 81514522c61b [2023-08-02T09:22:24.328Z] Removing intermediate container 81514522c61b [2023-08-02T09:22:24.328Z] ---> a274d963ea92 [2023-08-02T09:22:24.328Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-02T09:22:24.328Z] ---> Running in 5df8beca7ea4 [2023-08-02T09:22:24.328Z] Removing intermediate container 5df8beca7ea4 [2023-08-02T09:22:24.328Z] ---> 92f4c752ba1f [2023-08-02T09:22:24.328Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-02T09:22:24.328Z] ---> Running in 2aa048bd6d8b [2023-08-02T09:22:24.585Z] Removing intermediate container 2aa048bd6d8b [2023-08-02T09:22:24.585Z] ---> 46facaaa28eb [2023-08-02T09:22:24.585Z] Step 21/23 : LABEL arch=amd64 [2023-08-02T09:22:24.585Z] ---> Running in 1cbf5d18180c [2023-08-02T09:22:24.585Z] Removing intermediate container 1cbf5d18180c [2023-08-02T09:22:24.585Z] ---> 21bc79cf588a [2023-08-02T09:22:24.585Z] Step 22/23 : LABEL git_sha=93fdda3beb2e14b4e733fb76d164ead49978cb57 [2023-08-02T09:22:24.585Z] ---> Running in 409393bb4aac [2023-08-02T09:22:24.585Z] Removing intermediate container 409393bb4aac [2023-08-02T09:22:24.585Z] ---> 30147136aa2c [2023-08-02T09:22:24.585Z] Step 23/23 : LABEL version=0.0.0 [2023-08-02T09:22:24.585Z] ---> Running in f7bf905b6d3e [2023-08-02T09:22:24.843Z] Removing intermediate container f7bf905b6d3e [2023-08-02T09:22:24.843Z] ---> eec4ce8b22fa [2023-08-02T09:22:24.843Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-02T09:22:24.843Z] Successfully built eec4ce8b22fa [2023-08-02T09:22:24.843Z] 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-08-02T09:22:25.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:22:25.257Z] [2023-08-02T09:22:25.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:22:25.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:22:25.549Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-02T09:22:25.549Z] 5eb5b503b376: Pulling fs layer [2023-08-02T09:22:25.549Z] 5c69ac0246d0: Pulling fs layer [2023-08-02T09:22:25.549Z] ec43610c2a17: Pulling fs layer [2023-08-02T09:22:25.549Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-02T09:22:25.549Z] 33b1e0a273af: Pulling fs layer [2023-08-02T09:22:25.549Z] 5d3b04190fa2: Pulling fs layer [2023-08-02T09:22:25.549Z] 2f39f015ded8: Pulling fs layer [2023-08-02T09:22:25.549Z] 3a2ae6a8a46f: Waiting [2023-08-02T09:22:25.549Z] 33b1e0a273af: Waiting [2023-08-02T09:22:25.549Z] 5d3b04190fa2: Waiting [2023-08-02T09:22:25.549Z] 2f39f015ded8: Waiting [2023-08-02T09:22:25.549Z] 5c69ac0246d0: Download complete [2023-08-02T09:22:25.549Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-02T09:22:25.549Z] 33b1e0a273af: Verifying Checksum [2023-08-02T09:22:25.549Z] 33b1e0a273af: Download complete [2023-08-02T09:22:25.807Z] 5d3b04190fa2: Verifying Checksum [2023-08-02T09:22:25.807Z] 5d3b04190fa2: Download complete [2023-08-02T09:22:25.807Z] ec43610c2a17: Verifying Checksum [2023-08-02T09:22:25.807Z] ec43610c2a17: Download complete [2023-08-02T09:22:25.807Z] 5eb5b503b376: Download complete [2023-08-02T09:22:26.372Z] 2f39f015ded8: Download complete [2023-08-02T09:22:26.937Z] 5eb5b503b376: Pull complete [2023-08-02T09:22:26.937Z] 5c69ac0246d0: Pull complete [2023-08-02T09:22:27.502Z] ec43610c2a17: Pull complete [2023-08-02T09:22:27.502Z] 3a2ae6a8a46f: Pull complete [2023-08-02T09:22:27.759Z] 33b1e0a273af: Pull complete [2023-08-02T09:22:27.759Z] 5d3b04190fa2: Pull complete [2023-08-02T09:22:31.945Z] 2f39f015ded8: Pull complete [2023-08-02T09:22:31.945Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-02T09:22:31.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:22:31.945Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:22:32.022Z] prd-ubuntu20.04-docker-8c-8g-2738 does not seem to be running inside a container [2023-08-02T09:22:32.055Z] $ 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-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@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-lftools-log-publisher:latest cat [2023-08-02T09:22:34.376Z] 8d51d6327a98: Pull complete [2023-08-02T09:22:34.376Z] 8b374f2dd631: Pull complete [2023-08-02T09:22:34.376Z] ec14aa9079de: Pull complete [2023-08-02T09:22:38.243Z] $ docker top 37a92adf0368ebd3b4d8f1bafeb021a22a98f653e399fc6c17fac39b973c3f1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:22:38.634Z] ---> job-cost.sh [2023-08-02T09:22:38.634Z] lf-activate-venv: SKIPPING [2023-08-02T09:22:38.634Z] INFO: No Stack... [2023-08-02T09:22:38.892Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T09:22:39.461Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T09:22:39.731Z] 2f466654f4bb: Pull complete [2023-08-02T09:22:39.747Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives/cost.csv [2023-08-02T09:22:39.747Z] + cut -d, -f6 [Pipeline] lock [2023-08-02T09:22:39.761Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1488-2-stack-cost] [2023-08-02T09:22:39.766Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-2-stack-cost] did not exist. Created. [2023-08-02T09:22:39.766Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1488-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T09:22:40.070Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-02T09:22:40.109Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T09:22:40.118Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T09:22:40.137Z] $ docker stop --time=1 37a92adf0368ebd3b4d8f1bafeb021a22a98f653e399fc6c17fac39b973c3f1d [2023-08-02T09:22:41.370Z] $ docker rm -f --volumes 37a92adf0368ebd3b4d8f1bafeb021a22a98f653e399fc6c17fac39b973c3f1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-02T09:22:42.332Z] 554e91adad29: Pull complete [2023-08-02T09:22:42.332Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-02T09:22:42.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-02T09:22:42.332Z] ---> 1e15ea492957 [2023-08-02T09:22:42.332Z] Step 3/10 : ARG MAKE=make build [2023-08-02T09:22:43.749Z] ---> Running in 91bce76932db [2023-08-02T09:22:44.018Z] Removing intermediate container 91bce76932db [2023-08-02T09:22:44.018Z] ---> 78cf9fd5ca39 [2023-08-02T09:22:44.018Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-02T09:22:44.285Z] ---> Running in ca80fa0bb885 [2023-08-02T09:22:44.552Z] Removing intermediate container ca80fa0bb885 [2023-08-02T09:22:44.552Z] ---> 6eed69a23fe5 [2023-08-02T09:22:44.552Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-02T09:22:44.552Z] ---> Running in b9869d43e3e5 [2023-08-02T09:22:44.825Z] Removing intermediate container b9869d43e3e5 [2023-08-02T09:22:44.825Z] ---> 7467313a904b [2023-08-02T09:22:44.825Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-02T09:22:44.825Z] ---> Running in 7b02559a2a79 [2023-08-02T09:22:46.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T09:22:46.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T09:22:47.469Z] OK: 263 MiB in 53 packages [2023-08-02T09:22:48.438Z] Removing intermediate container 7b02559a2a79 [2023-08-02T09:22:48.438Z] ---> baba752269e8 [2023-08-02T09:22:48.438Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-02T09:22:48.705Z] ---> ab22e65920eb [2023-08-02T09:22:48.705Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:22:48.705Z] ---> Running in 15adf8f6e312 [2023-08-02T09:23:56.624Z] Removing intermediate container 15adf8f6e312 [2023-08-02T09:23:56.624Z] ---> 03c7c91a765d [2023-08-02T09:23:56.624Z] Step 9/10 : COPY . . [2023-08-02T09:23:56.624Z] ---> 1f720c96f1c1 [2023-08-02T09:23:56.624Z] Step 10/10 : RUN ${MAKE} [2023-08-02T09:23:56.624Z] ---> Running in e0e156d65387 [2023-08-02T09:23:56.624Z] noop [2023-08-02T09:23:56.624Z] Removing intermediate container e0e156d65387 [2023-08-02T09:23:56.624Z] ---> 2bcbc83f354c [2023-08-02T09:23:56.624Z] Successfully built 2bcbc83f354c [2023-08-02T09:23:56.624Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:23:56.979Z] + docker inspect -f . ci-base-image-arm64 [2023-08-02T09:23:56.979Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:23:57.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-2739 does not seem to be running inside a container [2023-08-02T09:23:57.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-02T09:23:58.449Z] $ docker top 80eb0c9b80248d4214ee4df2ac0a7f3fabbdbf699927371dcc52aa34d33d8a53 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:23:59.267Z] + go version [2023-08-02T09:23:59.267Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-02T09:23:59.291Z] $ docker stop --time=1 80eb0c9b80248d4214ee4df2ac0a7f3fabbdbf699927371dcc52aa34d33d8a53 [2023-08-02T09:24:03.077Z] $ docker rm -f --volumes 80eb0c9b80248d4214ee4df2ac0a7f3fabbdbf699927371dcc52aa34d33d8a53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:24:03.582Z] + docker inspect -f . ci-base-image-arm64 [2023-08-02T09:24:03.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:24:03.757Z] prd-ubuntu20.04-docker-arm64-4c-16g-2739 does not seem to be running inside a container [2023-08-02T09:24:03.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-02T09:24:04.986Z] $ docker top d9d5203020306ceae30069d2d1b77cb5b8bac2a571db59b05e2509af2067b782 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:24:05.795Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-08-02T09:24:06.126Z] + make test [2023-08-02T09:24:06.394Z] go test -race -coverprofile=coverage.out ./... [2023-08-02T09:24:45.263Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-02T09:27:06.938Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-02T09:27:06.938Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-02T09:27:06.938Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-02T09:27:06.938Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-02T09:27:06.938Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-02T09:27:06.938Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.231s coverage: 27.6% of statements [2023-08-02T09:27:10.297Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.254s coverage: 80.2% of statements [2023-08-02T09:27:22.599Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-02T09:27:22.599Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-02T09:27:22.599Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.335s coverage: 86.0% of statements [2023-08-02T09:27:29.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-02T09:27:29.227Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.391s coverage: 71.8% of statements [2023-08-02T09:27:31.801Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.270s coverage: 14.3% of statements [2023-08-02T09:27:35.134Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.986s coverage: 43.8% of statements [2023-08-02T09:27:35.134Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-02T09:27:35.134Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-02T09:27:35.134Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.406s coverage: 68.5% of statements [2023-08-02T09:27:38.507Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.434s coverage: 89.2% of statements [2023-08-02T09:27:40.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-02T09:27:40.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.263s coverage: 5.5% of statements [2023-08-02T09:27:40.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/utils 0.072s coverage: 100.0% of statements [2023-08-02T09:27:41.672Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-02T09:27:41.672Z] GO111MODULE=on go vet ./... [2023-08-02T09:30:03.383Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-02T09:30:03.383Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-02T09:30:03.383Z] ./bin/test-attribution-txt.sh [2023-08-02T09:30:03.383Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-02T09:30:03.383Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-02T09:30:03.383Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-02T09:30:03.383Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-02T09:30:03.383Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-02T09:30:03.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-02T09:30:03.420Z] $ docker stop --time=1 d9d5203020306ceae30069d2d1b77cb5b8bac2a571db59b05e2509af2067b782 [2023-08-02T09:30:05.244Z] $ docker rm -f --volumes d9d5203020306ceae30069d2d1b77cb5b8bac2a571db59b05e2509af2067b782 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T09:30:06.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-02T09:30:06.790Z] Warning: overwriting stash ‘coverage-report’ [2023-08-02T09:30:07.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T09:30:07.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-02T09:30:08.015Z] + ls -al . [2023-08-02T09:30:08.015Z] total 300 [2023-08-02T09:30:08.015Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:24 . [2023-08-02T09:30:08.015Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:21 .. [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 2 09:21 .dockerignore [2023-08-02T09:30:08.015Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:21 .git [2023-08-02T09:30:08.015Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:21 .github [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 2 09:21 .gitignore [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 2 09:21 .golangci.yml [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 2 09:21 CHANGELOG.md [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 09:21 GOVERNANCE.md [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 2 09:21 Jenkinsfile [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 2 09:21 LICENSE [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 2 09:21 Makefile [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 2 09:21 OWNERS.md [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 2 09:21 README.md [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 09:19 VERSION [2023-08-02T09:30:08.015Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:21 bin [2023-08-02T09:30:08.015Z] -rw-r--r-- 1 jenkins jenkins 120428 Aug 2 09:27 coverage.out [2023-08-02T09:30:08.015Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 2 09:21 example [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 2 09:21 go.mod [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 2 09:21 go.sum [2023-08-02T09:30:08.015Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 2 09:21 internal [2023-08-02T09:30:08.015Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:21 openapi [2023-08-02T09:30:08.015Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 2 09:21 pkg [2023-08-02T09:30:08.015Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:21 snap [2023-08-02T09:30:08.015Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 2 09:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:30:08.349Z] + 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=93fdda3beb2e14b4e733fb76d164ead49978cb57 --label arch=arm64 --label version=0.0.0 . [2023-08-02T09:30:08.616Z] Sending build context to Docker daemon 6.106MB [2023-08-02T09:30:08.881Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-02T09:30:08.881Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-02T09:30:08.881Z] ---> 2bcbc83f354c [2023-08-02T09:30:08.881Z] Step 3/23 : ARG MAKE=make build [2023-08-02T09:30:08.881Z] ---> Running in 991e98d63bb8 [2023-08-02T09:30:09.150Z] Removing intermediate container 991e98d63bb8 [2023-08-02T09:30:09.150Z] ---> 07a6ca8e0a9b [2023-08-02T09:30:09.150Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-02T09:30:09.150Z] ---> Running in edde21e45ce7 [2023-08-02T09:30:09.421Z] Removing intermediate container edde21e45ce7 [2023-08-02T09:30:09.421Z] ---> 71d42625bea7 [2023-08-02T09:30:09.421Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-02T09:30:09.697Z] ---> Running in 643556e77e10 [2023-08-02T09:30:09.963Z] Removing intermediate container 643556e77e10 [2023-08-02T09:30:09.963Z] ---> dc2f8eb50282 [2023-08-02T09:30:09.963Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-02T09:30:09.964Z] ---> Running in 6a730244d092 [2023-08-02T09:30:10.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T09:30:11.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T09:30:12.464Z] OK: 263 MiB in 53 packages [2023-08-02T09:30:13.051Z] Removing intermediate container 6a730244d092 [2023-08-02T09:30:13.051Z] ---> f52c612129a7 [2023-08-02T09:30:13.051Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-02T09:30:13.636Z] ---> a11052b0f1b8 [2023-08-02T09:30:13.636Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-02T09:30:15.044Z] ---> Running in b6dcff860447 [2023-08-02T09:30:16.989Z] Removing intermediate container b6dcff860447 [2023-08-02T09:30:16.989Z] ---> bee0929b4937 [2023-08-02T09:30:16.989Z] Step 9/23 : COPY . . [2023-08-02T09:30:18.398Z] ---> b00d596961e6 [2023-08-02T09:30:18.398Z] Step 10/23 : RUN ${MAKE} [2023-08-02T09:30:18.398Z] ---> Running in d727221250eb [2023-08-02T09:30:19.359Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-02T09:32:26.361Z] Removing intermediate container d727221250eb [2023-08-02T09:32:26.361Z] ---> 71a40d926af1 [2023-08-02T09:32:26.361Z] Step 11/23 : FROM alpine:3.17 [2023-08-02T09:32:26.361Z] 3.17: Pulling from library/alpine [2023-08-02T09:32:27.328Z] edb6bdbacee9: Already exists [2023-08-02T09:32:27.328Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-02T09:32:27.328Z] Status: Downloaded newer image for alpine:3.17 [2023-08-02T09:32:27.328Z] ---> 779605e5fbc0 [2023-08-02T09:32:27.328Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-02T09:32:27.328Z] ---> Running in b15fb211b789 [2023-08-02T09:32:27.598Z] Removing intermediate container b15fb211b789 [2023-08-02T09:32:27.598Z] ---> 10612cb0b484 [2023-08-02T09:32:27.598Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-02T09:32:27.866Z] ---> Running in cb10f8f9b5bb [2023-08-02T09:32:28.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-02T09:32:29.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-02T09:32:30.051Z] OK: 7 MiB in 15 packages [2023-08-02T09:32:31.012Z] Removing intermediate container cb10f8f9b5bb [2023-08-02T09:32:31.012Z] ---> e59c7f030c97 [2023-08-02T09:32:31.012Z] Step 14/23 : WORKDIR / [2023-08-02T09:32:31.012Z] ---> Running in 03ef5013cfd1 [2023-08-02T09:32:31.278Z] Removing intermediate container 03ef5013cfd1 [2023-08-02T09:32:31.278Z] ---> 64a831ab68b8 [2023-08-02T09:32:31.278Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-02T09:32:31.868Z] ---> fa6cdc91b194 [2023-08-02T09:32:31.868Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-02T09:32:33.275Z] ---> d0997742f575 [2023-08-02T09:32:33.275Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-02T09:32:33.542Z] ---> 12dbe937cbf3 [2023-08-02T09:32:33.542Z] Step 18/23 : EXPOSE 59999 [2023-08-02T09:32:33.542Z] ---> Running in 6211c0c20810 [2023-08-02T09:32:33.809Z] Removing intermediate container 6211c0c20810 [2023-08-02T09:32:33.809Z] ---> 9d465df6f2f5 [2023-08-02T09:32:33.809Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-02T09:32:34.076Z] ---> Running in d50f4dce734e [2023-08-02T09:32:34.342Z] Removing intermediate container d50f4dce734e [2023-08-02T09:32:34.342Z] ---> be3399142868 [2023-08-02T09:32:34.342Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-02T09:32:34.342Z] ---> Running in 1324de11a0f1 [2023-08-02T09:32:34.609Z] Removing intermediate container 1324de11a0f1 [2023-08-02T09:32:34.609Z] ---> 4f6b7fc89dfb [2023-08-02T09:32:34.609Z] Step 21/23 : LABEL arch=arm64 [2023-08-02T09:32:34.609Z] ---> Running in 44d1b50a624c [2023-08-02T09:32:34.876Z] Removing intermediate container 44d1b50a624c [2023-08-02T09:32:34.876Z] ---> 6607bad19712 [2023-08-02T09:32:34.876Z] Step 22/23 : LABEL git_sha=93fdda3beb2e14b4e733fb76d164ead49978cb57 [2023-08-02T09:32:34.876Z] ---> Running in db89897b1f00 [2023-08-02T09:32:35.147Z] Removing intermediate container db89897b1f00 [2023-08-02T09:32:35.147Z] ---> 001d91eb1b80 [2023-08-02T09:32:35.147Z] Step 23/23 : LABEL version=0.0.0 [2023-08-02T09:32:35.413Z] ---> Running in 64d1e498b06c [2023-08-02T09:32:35.679Z] Removing intermediate container 64d1e498b06c [2023-08-02T09:32:35.679Z] ---> c31f38bc73bb [2023-08-02T09:32:35.679Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-02T09:32:35.679Z] Successfully built c31f38bc73bb [2023-08-02T09:32:35.679Z] 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-08-02T09:32:36.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T09:32:36.102Z] [2023-08-02T09:32:36.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:32:36.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T09:32:36.435Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-02T09:32:36.435Z] 8998bd30e6a1: Pulling fs layer [2023-08-02T09:32:36.435Z] 04944245beec: Pulling fs layer [2023-08-02T09:32:36.435Z] 699f458cf7ca: Pulling fs layer [2023-08-02T09:32:36.435Z] 765212b225bb: Pulling fs layer [2023-08-02T09:32:36.435Z] f23df028b6ca: Pulling fs layer [2023-08-02T09:32:36.435Z] d65c8cfc05b1: Pulling fs layer [2023-08-02T09:32:36.435Z] 2437ff75d9bd: Pulling fs layer [2023-08-02T09:32:36.435Z] f23df028b6ca: Waiting [2023-08-02T09:32:36.435Z] d65c8cfc05b1: Waiting [2023-08-02T09:32:36.435Z] 2437ff75d9bd: Waiting [2023-08-02T09:32:36.435Z] 765212b225bb: Waiting [2023-08-02T09:32:36.706Z] 04944245beec: Verifying Checksum [2023-08-02T09:32:36.706Z] 04944245beec: Download complete [2023-08-02T09:32:36.706Z] 765212b225bb: Verifying Checksum [2023-08-02T09:32:36.706Z] 765212b225bb: Download complete [2023-08-02T09:32:36.706Z] f23df028b6ca: Verifying Checksum [2023-08-02T09:32:36.706Z] f23df028b6ca: Download complete [2023-08-02T09:32:36.706Z] d65c8cfc05b1: Verifying Checksum [2023-08-02T09:32:36.706Z] d65c8cfc05b1: Download complete [2023-08-02T09:32:36.706Z] 699f458cf7ca: Verifying Checksum [2023-08-02T09:32:36.706Z] 699f458cf7ca: Download complete [2023-08-02T09:32:37.289Z] 8998bd30e6a1: Verifying Checksum [2023-08-02T09:32:37.289Z] 8998bd30e6a1: Download complete [2023-08-02T09:32:39.245Z] 2437ff75d9bd: Verifying Checksum [2023-08-02T09:32:39.245Z] 2437ff75d9bd: Download complete [2023-08-02T09:32:41.186Z] 8998bd30e6a1: Pull complete [2023-08-02T09:32:41.768Z] 04944245beec: Pull complete [2023-08-02T09:32:43.176Z] 699f458cf7ca: Pull complete [2023-08-02T09:32:43.176Z] 765212b225bb: Pull complete [2023-08-02T09:32:43.759Z] f23df028b6ca: Pull complete [2023-08-02T09:32:44.026Z] d65c8cfc05b1: Pull complete [2023-08-02T09:32:59.008Z] 2437ff75d9bd: Pull complete [2023-08-02T09:32:59.008Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-02T09:32:59.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T09:32:59.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:32:59.191Z] prd-ubuntu20.04-docker-arm64-4c-16g-2739 does not seem to be running inside a container [2023-08-02T09:32:59.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-02T09:33:01.679Z] $ docker top 38c7d9d64aa654756bc00582430ee87c083208a59f8fc811864daafa70964c18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:33:02.165Z] ---> job-cost.sh [2023-08-02T09:33:02.430Z] lf-activate-venv: SKIPPING [2023-08-02T09:33:02.430Z] INFO: No Stack... [2023-08-02T09:33:03.008Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-02T09:33:03.585Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T09:33:03.898Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-08-02T09:33:03.898Z] + cut -d, -f6 [Pipeline] lock [2023-08-02T09:33:03.957Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1488-2-stack-cost] [2023-08-02T09:33:03.963Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-2-stack-cost] did not exist. Created. [2023-08-02T09:33:03.963Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1488-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T09:33:04.293Z] /w/workspace/device-sdk-go/2@tmp/durable-86990fed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-02T09:33:04.618Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-02T09:33:04.638Z] Warning: overwriting stash ‘stack-cost’ [2023-08-02T09:33:04.708Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T09:33:04.715Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T09:33:04.740Z] $ docker stop --time=1 38c7d9d64aa654756bc00582430ee87c083208a59f8fc811864daafa70964c18 [2023-08-02T09:33:06.210Z] $ docker rm -f --volumes 38c7d9d64aa654756bc00582430ee87c083208a59f8fc811864daafa70964c18 [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-08-02T09:33:06.614Z] provisioning config files... [2023-08-02T09:33:06.620Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config7502554788980760053tmp [Pipeline] { [Pipeline] sh [2023-08-02T09:33:06.905Z] + set +x [2023-08-02T09:33:06.905Z] + curl -s https://codecov.io/bash [2023-08-02T09:33:06.905Z] + bash -s -- [2023-08-02T09:33:07.164Z] [2023-08-02T09:33:07.165Z] _____ _ [2023-08-02T09:33:07.165Z] / ____| | | [2023-08-02T09:33:07.165Z] | | ___ __| | ___ ___ _____ __ [2023-08-02T09:33:07.165Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-02T09:33:07.165Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-02T09:33:07.165Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-02T09:33:07.165Z] Bash-1.0.6 [2023-08-02T09:33:07.165Z] [2023-08-02T09:33:07.165Z] [2023-08-02T09:33:07.165Z] ==> git version 2.25.1 found [2023-08-02T09:33:07.165Z] ==> 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-08-02T09:33:07.165Z] Release-Date: 2020-01-08 [2023-08-02T09:33:07.165Z] 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-08-02T09:33:07.165Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-02T09:33:07.165Z] ==> Jenkins CI detected. [2023-08-02T09:33:07.165Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1488 [2023-08-02T09:33:07.165Z] project root: . [2023-08-02T09:33:07.165Z] --> token set from env [2023-08-02T09:33:07.165Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-02T09:33:07.165Z] ==> Running gcov in . (disable via -X gcov) [2023-08-02T09:33:07.165Z] ==> Python coveragepy not found [2023-08-02T09:33:07.165Z] ==> Searching for coverage reports in: [2023-08-02T09:33:07.165Z] + . [2023-08-02T09:33:07.165Z] -> Found 1 reports [2023-08-02T09:33:07.165Z] ==> Detecting git/mercurial file structure [2023-08-02T09:33:07.165Z] ==> Reading reports [2023-08-02T09:33:07.165Z] + ./coverage.out bytes=120428 [2023-08-02T09:33:07.165Z] ==> Appending adjustments [2023-08-02T09:33:07.165Z] https://docs.codecov.io/docs/fixing-reports [2023-08-02T09:33:07.424Z] + Found adjustments [2023-08-02T09:33:07.424Z] ==> Gzipping contents [2023-08-02T09:33:07.424Z] 20K /tmp/codecov.h6bkLZ.gz [2023-08-02T09:33:07.424Z] ==> Uploading reports [2023-08-02T09:33:07.424Z] url: https://codecov.io [2023-08-02T09:33:07.424Z] query: branch=PR-1488&commit=93fdda3beb2e14b4e733fb76d164ead49978cb57&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1488%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1488&job=&cmd_args= [2023-08-02T09:33:07.424Z] -> Pinging Codecov [2023-08-02T09:33:07.424Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1488&commit=93fdda3beb2e14b4e733fb76d164ead49978cb57&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1488%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1488&job=&cmd_args= [2023-08-02T09:33:07.682Z] -> Uploading to [2023-08-02T09:33:07.682Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-02/7E55EF52A471D76F132DFD9A03CDDE97/93fdda3beb2e14b4e733fb76d164ead49978cb57/34052e1b-fb39-47b6-831a-48a2b4204068.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230802T093307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0ac9b0f005fb894de2e474a98fcbcd1a0be3099b9d54d992d0a9131e233d64d [2023-08-02T09:33:07.682Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-02T09:33:07.682Z] Dload Upload Total Spent Left Speed [2023-08-02T09:33:07.940Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16483 0 0 100 16483 0 87675 --:--:-- --:--:-- --:--:-- 87675 [2023-08-02T09:33:07.940Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/93fdda3beb2e14b4e733fb76d164ead49978cb57 [Pipeline] } [2023-08-02T09:33:07.947Z] 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-08-02T09:33:08.682Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives ] [2023-08-02T09:33:08.682Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives [2023-08-02T09:33:08.682Z] total 16 [2023-08-02T09:33:08.682Z] drwxr-xr-x 3 root root 4096 Aug 2 09:22 . [2023-08-02T09:33:08.682Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 2 09:22 .. [2023-08-02T09:33:08.682Z] drwxr-xr-x 2 root root 4096 Aug 2 09:22 cost [2023-08-02T09:33:08.682Z] -rw-r--r-- 1 root root 86 Aug 2 09:22 cost.csv [2023-08-02T09:33:08.682Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives [2023-08-02T09:33:08.682Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives [2023-08-02T09:33:08.682Z] total 16 [2023-08-02T09:33:08.682Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:22 . [2023-08-02T09:33:08.682Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 2 09:22 .. [2023-08-02T09:33:08.682Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 09:22 cost [2023-08-02T09:33:08.682Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 2 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:33:08.969Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:33:09.825Z] ---> package-listing.sh [2023-08-02T09:33:09.825Z] ++ facter osfamily [2023-08-02T09:33:09.825Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-02T09:33:10.083Z] + OS_FAMILY=debian [2023-08-02T09:33:10.083Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1488 [2023-08-02T09:33:10.083Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-02T09:33:10.083Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-02T09:33:10.083Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-02T09:33:10.083Z] + PACKAGES=/tmp/packages_start.txt [2023-08-02T09:33:10.083Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1488 ']' [2023-08-02T09:33:10.083Z] + PACKAGES=/tmp/packages_end.txt [2023-08-02T09:33:10.083Z] + case "${OS_FAMILY}" in [2023-08-02T09:33:10.083Z] + dpkg -l [2023-08-02T09:33:10.083Z] + grep '^ii' [2023-08-02T09:33:10.083Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-02T09:33:10.083Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-02T09:33:10.083Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-02T09:33:10.083Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1488 ']' [2023-08-02T09:33:10.083Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives/ [2023-08-02T09:33:10.083Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives/ [Pipeline] echo [2023-08-02T09:33:10.093Z] 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-1488/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-02T09:33:10.369Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T09:33:10.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T09:33:10.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T09:33:11.000Z] prd-ubuntu20.04-docker-8c-8g-2738 does not seem to be running inside a container [2023-08-02T09:33:11.033Z] $ 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-1488/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-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-02T09:33:11.215Z] $ docker top 36449fc50ea06ba3368eb04337dbe6012891fbf99af7c43e54e8246913e0eaa3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T09:33:11.548Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-02T09:33:11.829Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-02T09:33:12.112Z] + ls /var/log/sa-host [2023-08-02T09:33:12.112Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T09:33:12.275Z] provisioning config files... [2023-08-02T09:33:12.283Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config14781996669339458511tmp [Pipeline] { [Pipeline] echo [2023-08-02T09:33:12.294Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:33:12.573Z] ---> create-netrc.sh [Pipeline] } [2023-08-02T09:33:12.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:33:12.909Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-02T09:33:12.918Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:33:13.201Z] ---> sudo-logs.sh [2023-08-02T09:33:13.201Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-02T09:33:13.229Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:33:13.509Z] ---> job-cost.sh [2023-08-02T09:33:13.509Z] lf-activate-venv: SKIPPING [2023-08-02T09:33:13.509Z] DEBUG: total: 0.2199999988079071 [2023-08-02T09:33:13.509Z] INFO: Retrieving Stack Cost... [2023-08-02T09:33:13.774Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T09:33:14.341Z] INFO: Archiving Costs [Pipeline] echo [2023-08-02T09:33:14.352Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T09:33:14.636Z] ---> logs-deploy.sh [2023-08-02T09:33:14.636Z] lf-activate-venv: SKIPPING [2023-08-02T09:33:14.636Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1488/2 [2023-08-02T09:33:14.636Z] INFO: archiving workspace using pattern(s): [2023-08-02T09:33:15.571Z] Archives upload complete. [2023-08-02T09:33:15.571Z] INFO: archiving logs to Nexus