Pull request #1515 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 633e83482683a9ca5409f9bbabf5a45dba603791+afe3ff62d3fd920c33d9e36f21752c88d9373351 (bddfc32b9837e65fe7a7cc48f837807f5faa2f6f) 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-ssh6508563226873050075.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh4217460532464868768.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1515/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-1515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10292996862155106301.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh14567021635968852645.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-1515/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-1515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1486406813740562455.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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8007 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [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-1515 # 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 Merging remotes/origin/main commit afe3ff62d3fd920c33d9e36f21752c88d9373351 into PR head commit 633e83482683a9ca5409f9bbabf5a45dba603791 Merge succeeded, producing b1fec40166e1cde2fb2828735a3d6275ec49ab18 Checking out Revision b1fec40166e1cde2fb2828735a3d6275ec49ab18 (PR-1515) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 633e83482683a9ca5409f9bbabf5a45dba603791 # 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 afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1fec40166e1cde2fb2828735a3d6275ec49ab18 # timeout=10 Commit message: "Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-27T03:55:33.044Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-27T03:55:33.118Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-27T03:55:33.142Z] ========================================================= [2023-09-27T03:55:33.142Z] EdgeX Global Pipelines Version Info [2023-09-27T03:55:33.142Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cb137c4456fd09876703485f57b9a19aa101280c # timeout=10 [2023-09-27T03:55:33.839Z] ------------------- [2023-09-27T03:55:33.839Z] stable info: [2023-09-27T03:55:33.839Z] ------------------- [2023-09-27T03:55:33.839Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-27T03:55:33.839Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T03:55:33.839Z] Message: update stable to v1.0.254 [2023-09-27T03:55:34.409Z] ------------------- [2023-09-27T03:55:34.409Z] experimental info: [2023-09-27T03:55:34.409Z] ------------------- [2023-09-27T03:55:34.409Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-27T03:55:34.409Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T03:55:34.409Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-27T03:55:34.575Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-27T03:55:34.585Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-27T03:55:34.594Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-27T03:55:34.603Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-27T03:55:34.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-27T03:55:34.621Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-27T03:55:34.630Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-27T03:55:34.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-27T03:55:34.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-27T03:55:34.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-27T03:55:34.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-27T03:55:34.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-27T03:55:34.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-27T03:55:34.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-27T03:55:34.739Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T03:55:34.754Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T03:55:34.767Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T03:55:34.782Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T03:55:34.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-27T03:55:34.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-27T03:55:34.835Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-27T03:55:34.851Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-27T03:55:34.870Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-27T03:55:34.884Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-27T03:55:34.902Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-27T03:55:34.920Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-27T03:55:34.940Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-27T03:55:34.955Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1515 [Pipeline] echo [2023-09-27T03:55:34.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1515 [Pipeline] echo [2023-09-27T03:55:34.980Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1515 [Pipeline] echo [2023-09-27T03:55:34.998Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1fec40166e1cde2fb2828735a3d6275ec49ab18 [Pipeline] echo [2023-09-27T03:55:35.016Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1fec40 [Pipeline] echo [2023-09-27T03:55:35.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T03:55:35.072Z] provisioning config files... [2023-09-27T03:55:35.083Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config4802007600932386378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T03:55:35.385Z] ---> docker-login.sh [2023-09-27T03:55:35.385Z] nexus3.edgexfoundry.org:10001 [2023-09-27T03:55:35.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:55:35.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:55:35.649Z] Configure a credential helper to remove this warning. See [2023-09-27T03:55:35.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:55:35.649Z] [2023-09-27T03:55:35.649Z] Login Succeeded [2023-09-27T03:55:35.649Z] nexus3.edgexfoundry.org:10002 [2023-09-27T03:55:35.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:55:35.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:55:35.914Z] Configure a credential helper to remove this warning. See [2023-09-27T03:55:35.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:55:35.914Z] [2023-09-27T03:55:35.914Z] Login Succeeded [2023-09-27T03:55:35.914Z] nexus3.edgexfoundry.org:10003 [2023-09-27T03:55:35.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:55:35.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:55:35.914Z] Configure a credential helper to remove this warning. See [2023-09-27T03:55:35.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:55:35.914Z] [2023-09-27T03:55:35.914Z] Login Succeeded [2023-09-27T03:55:35.914Z] nexus3.edgexfoundry.org:10004 [2023-09-27T03:55:35.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:55:36.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:55:36.174Z] Configure a credential helper to remove this warning. See [2023-09-27T03:55:36.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:55:36.174Z] [2023-09-27T03:55:36.174Z] Login Succeeded [2023-09-27T03:55:36.174Z] docker.io [2023-09-27T03:55:36.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:55:36.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:55:36.433Z] Configure a credential helper to remove this warning. See [2023-09-27T03:55:36.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:55:36.433Z] [2023-09-27T03:55:36.433Z] Login Succeeded [2023-09-27T03:55:36.433Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T03:55:36.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-27T03:55:36.797Z] + git rev-list -1 --merges b1fec40166e1cde2fb2828735a3d6275ec49ab18~1..b1fec40166e1cde2fb2828735a3d6275ec49ab18 [Pipeline] echo [2023-09-27T03:55:36.842Z] -----------> git rev-list -1 --merges b1fec40166e1cde2fb2828735a3d6275ec49ab18~1..b1fec40166e1cde2fb2828735a3d6275ec49ab18 b1fec40166e1cde2fb2828735a3d6275ec49ab18 [2023-09-27T03:55:36.842Z] b1fec40166e1cde2fb2828735a3d6275ec49ab18 [false] [Pipeline] sh [2023-09-27T03:55:37.133Z] + git log --format=format:%s -1 b1fec40166e1cde2fb2828735a3d6275ec49ab18 [Pipeline] echo [2023-09-27T03:55:37.147Z] ========================================================= [2023-09-27T03:55:37.147Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-27T03:55:37.147Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T03:55:37.477Z] + git log --format=format:%s -1 b1fec40166e1cde2fb2828735a3d6275ec49ab18 [Pipeline] echo [2023-09-27T03:55:37.488Z] [semverPrep] GIT_COMMIT: b1fec40166e1cde2fb2828735a3d6275ec49ab18, Commit Message: Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD [Pipeline] echo [2023-09-27T03:55:37.496Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-27T03:55:37.869Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T03:55:37.869Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-27T03:55:37.869Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-27T03:55:37.869Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-27T03:55:37.869Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-27T03:55:37.869Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-27T03:55:37.869Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T03:55:38.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T03:55:38.296Z] [2023-09-27T03:55:38.296Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T03:55:38.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T03:55:38.593Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-27T03:55:38.593Z] b85a868b505f: Pulling fs layer [2023-09-27T03:55:38.593Z] e2be974225ed: Pulling fs layer [2023-09-27T03:55:38.593Z] 339a4e72a1f5: Pulling fs layer [2023-09-27T03:55:38.593Z] 988bab9f4d93: Pulling fs layer [2023-09-27T03:55:38.593Z] 1469e6f7b9e6: Pulling fs layer [2023-09-27T03:55:38.593Z] eaf3925da568: Pulling fs layer [2023-09-27T03:55:38.593Z] bab4dde63d76: Pulling fs layer [2023-09-27T03:55:38.593Z] bde34c3a00c8: Pulling fs layer [2023-09-27T03:55:38.593Z] b352a97aabf1: Pulling fs layer [2023-09-27T03:55:38.593Z] 4872d77fe225: Pulling fs layer [2023-09-27T03:55:38.593Z] 5851b861e8e6: Pulling fs layer [2023-09-27T03:55:38.593Z] 988bab9f4d93: Waiting [2023-09-27T03:55:38.593Z] 1469e6f7b9e6: Waiting [2023-09-27T03:55:38.593Z] eaf3925da568: Waiting [2023-09-27T03:55:38.593Z] 4872d77fe225: Waiting [2023-09-27T03:55:38.593Z] bab4dde63d76: Waiting [2023-09-27T03:55:38.593Z] b352a97aabf1: Waiting [2023-09-27T03:55:38.593Z] 5851b861e8e6: Waiting [2023-09-27T03:55:38.593Z] bde34c3a00c8: Waiting [2023-09-27T03:55:38.593Z] e2be974225ed: Download complete [2023-09-27T03:55:38.852Z] 988bab9f4d93: Download complete [2023-09-27T03:55:38.852Z] 1469e6f7b9e6: Verifying Checksum [2023-09-27T03:55:38.852Z] 1469e6f7b9e6: Download complete [2023-09-27T03:55:38.852Z] 339a4e72a1f5: Verifying Checksum [2023-09-27T03:55:38.852Z] 339a4e72a1f5: Download complete [2023-09-27T03:55:38.852Z] eaf3925da568: Verifying Checksum [2023-09-27T03:55:38.852Z] eaf3925da568: Download complete [2023-09-27T03:55:38.852Z] bde34c3a00c8: Download complete [2023-09-27T03:55:38.852Z] b352a97aabf1: Verifying Checksum [2023-09-27T03:55:38.852Z] b352a97aabf1: Download complete [2023-09-27T03:55:38.852Z] 4872d77fe225: Verifying Checksum [2023-09-27T03:55:38.852Z] 4872d77fe225: Download complete [2023-09-27T03:55:38.852Z] 5851b861e8e6: Verifying Checksum [2023-09-27T03:55:38.852Z] 5851b861e8e6: Download complete [2023-09-27T03:55:38.852Z] b85a868b505f: Verifying Checksum [2023-09-27T03:55:38.852Z] b85a868b505f: Download complete [2023-09-27T03:55:39.109Z] bab4dde63d76: Verifying Checksum [2023-09-27T03:55:39.109Z] bab4dde63d76: Download complete [2023-09-27T03:55:40.045Z] b85a868b505f: Pull complete [2023-09-27T03:55:40.303Z] e2be974225ed: Pull complete [2023-09-27T03:55:40.869Z] 339a4e72a1f5: Pull complete [2023-09-27T03:55:40.869Z] 988bab9f4d93: Pull complete [2023-09-27T03:55:41.128Z] 1469e6f7b9e6: Pull complete [2023-09-27T03:55:41.128Z] eaf3925da568: Pull complete [2023-09-27T03:55:43.030Z] bab4dde63d76: Pull complete [2023-09-27T03:55:43.030Z] bde34c3a00c8: Pull complete [2023-09-27T03:55:43.030Z] b352a97aabf1: Pull complete [2023-09-27T03:55:43.030Z] 4872d77fe225: Pull complete [2023-09-27T03:55:43.289Z] 5851b861e8e6: Pull complete [2023-09-27T03:55:43.289Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-27T03:55:43.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T03:55:43.289Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T03:55:43.376Z] prd-ubuntu20.04-docker-8c-8g-8007 does not seem to be running inside a container [2023-09-27T03:55:43.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T03:55:48.204Z] $ docker top 169192c65f6c342450fefb29cbbef7280e32c84a133c54d8c497999e48832abd -eo pid,comm [2023-09-27T03:55:48.250Z] 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-09-27T03:55:48.250Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T03:55:48.288Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T03:55:48.288Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T03:55:48.401Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T03:55:48.407Z] $ docker exec 169192c65f6c342450fefb29cbbef7280e32c84a133c54d8c497999e48832abd ssh-agent [2023-09-27T03:55:48.502Z] SSH_AUTH_SOCK=/tmp/ssh-VoVzoPDb4vWu/agent.33 [2023-09-27T03:55:48.502Z] SSH_AGENT_PID=39 [2023-09-27T03:55:48.508Z] Running ssh-add (command line suppressed) [2023-09-27T03:55:48.592Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_8971167677145974008.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_8971167677145974008.key) [2023-09-27T03:55:48.606Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T03:55:48.893Z] + git tag --points-at HEAD [Pipeline] } [2023-09-27T03:55:48.913Z] $ docker exec --env ******** --env ******** 169192c65f6c342450fefb29cbbef7280e32c84a133c54d8c497999e48832abd ssh-agent -k [2023-09-27T03:55:49.006Z] unset SSH_AUTH_SOCK; [2023-09-27T03:55:49.007Z] unset SSH_AGENT_PID; [2023-09-27T03:55:49.007Z] echo Agent pid 39 killed; [2023-09-27T03:55:49.012Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-27T03:55:49.040Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T03:55:49.040Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T03:55:49.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T03:55:49.170Z] $ docker exec 169192c65f6c342450fefb29cbbef7280e32c84a133c54d8c497999e48832abd ssh-agent [2023-09-27T03:55:49.268Z] SSH_AUTH_SOCK=/tmp/ssh-pJbtfWxnPJzO/agent.71 [2023-09-27T03:55:49.268Z] SSH_AGENT_PID=77 [2023-09-27T03:55:49.299Z] Running ssh-add (command line suppressed) [2023-09-27T03:55:49.405Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_18216506065945628616.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_18216506065945628616.key) [2023-09-27T03:55:49.414Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T03:55:49.700Z] + git semver init [2023-09-27T03:55:49.959Z] 2023-09-27 03:55:49,866 [run_init] DEBUG init version:0.0.0 force:False [2023-09-27T03:55:49.959Z] 2023-09-27 03:55:49,866 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-27T03:55:49.959Z] 2023-09-27 03:55:49,867 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-27T03:55:49.959Z] 2023-09-27 03:55:49,867 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515, universal_newlines=False, shell=None, istream=None) [2023-09-27T03:55:51.337Z] 2023-09-27 03:55:50,931 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.git/info/exclude [2023-09-27T03:55:51.337Z] 2023-09-27 03:55:50,931 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 with force:False [2023-09-27T03:55:51.337Z] 2023-09-27 03:55:50,931 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-27T03:55:51.337Z] 2023-09-27 03:55:50,933 [execute] INFO git cat-file --batch-check [2023-09-27T03:55:51.337Z] 2023-09-27 03:55:50,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T03:55:51.337Z] 2023-09-27 03:55:50,938 [execute] INFO git cat-file --batch [2023-09-27T03:55:51.337Z] 2023-09-27 03:55:50,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T03:55:51.337Z] 2023-09-27 03:55:50,943 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-27T03:55:51.337Z] 0.0.0 [Pipeline] } [2023-09-27T03:55:51.348Z] $ docker exec --env ******** --env ******** 169192c65f6c342450fefb29cbbef7280e32c84a133c54d8c497999e48832abd ssh-agent -k [2023-09-27T03:55:51.437Z] unset SSH_AUTH_SOCK; [2023-09-27T03:55:51.437Z] unset SSH_AGENT_PID; [2023-09-27T03:55:51.438Z] echo Agent pid 77 killed; [2023-09-27T03:55:51.443Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T03:55:51.749Z] + git semver [Pipeline] } [2023-09-27T03:55:52.024Z] $ docker stop --time=1 169192c65f6c342450fefb29cbbef7280e32c84a133c54d8c497999e48832abd [2023-09-27T03:55:53.301Z] $ docker rm -f --volumes 169192c65f6c342450fefb29cbbef7280e32c84a133c54d8c497999e48832abd [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T03:55:53.635Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-27T03:55:53.836Z] Stashed 1 file(s) [Pipeline] echo [2023-09-27T03:55:53.838Z] [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-09-27T03:55:54.007Z] provisioning config files... [2023-09-27T03:55:54.016Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config13609614862256181596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T03:55:54.310Z] ---> docker-login.sh [2023-09-27T03:55:54.310Z] nexus3.edgexfoundry.org:10001 [2023-09-27T03:55:54.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:55:54.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:55:54.310Z] Configure a credential helper to remove this warning. See [2023-09-27T03:55:54.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:55:54.310Z] [2023-09-27T03:55:54.310Z] Login Succeeded [2023-09-27T03:55:54.310Z] nexus3.edgexfoundry.org:10002 [2023-09-27T03:55:54.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:55:54.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:55:54.310Z] Configure a credential helper to remove this warning. See [2023-09-27T03:55:54.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:55:54.310Z] [2023-09-27T03:55:54.310Z] Login Succeeded [2023-09-27T03:55:54.310Z] nexus3.edgexfoundry.org:10003 [2023-09-27T03:55:54.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:55:54.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:55:54.569Z] Configure a credential helper to remove this warning. See [2023-09-27T03:55:54.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:55:54.569Z] [2023-09-27T03:55:54.569Z] Login Succeeded [2023-09-27T03:55:54.569Z] nexus3.edgexfoundry.org:10004 [2023-09-27T03:55:54.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:55:54.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:55:54.569Z] Configure a credential helper to remove this warning. See [2023-09-27T03:55:54.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:55:54.569Z] [2023-09-27T03:55:54.569Z] Login Succeeded [2023-09-27T03:55:54.569Z] docker.io [2023-09-27T03:55:54.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:55:54.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:55:54.829Z] Configure a credential helper to remove this warning. See [2023-09-27T03:55:54.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:55:54.829Z] [2023-09-27T03:55:54.829Z] Login Succeeded [2023-09-27T03:55:54.829Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T03:55:54.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T03:55:54.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T03:55:54.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T03:55:54.941Z] ========================================================= [2023-09-27T03:55:54.941Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-27T03:55:54.941Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T03:55:55.266Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-27T03:55:55.267Z] Sending build context to Docker daemon 11.29MB [2023-09-27T03:55:55.267Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T03:55:55.267Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-27T03:55:55.525Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-27T03:55:55.525Z] 7264a8db6415: Pulling fs layer [2023-09-27T03:55:55.525Z] c4d48a809fc2: Pulling fs layer [2023-09-27T03:55:55.525Z] 4f1c88b9dad5: Pulling fs layer [2023-09-27T03:55:55.525Z] ad3a456e5733: Pulling fs layer [2023-09-27T03:55:55.525Z] 33e27b845d1e: Pulling fs layer [2023-09-27T03:55:55.525Z] c68163c4e522: Pulling fs layer [2023-09-27T03:55:55.525Z] 50da416c3ac9: Pulling fs layer [2023-09-27T03:55:55.525Z] 23d2d4c4bb30: Pulling fs layer [2023-09-27T03:55:55.525Z] ad3a456e5733: Waiting [2023-09-27T03:55:55.525Z] 33e27b845d1e: Waiting [2023-09-27T03:55:55.525Z] c68163c4e522: Waiting [2023-09-27T03:55:55.525Z] 50da416c3ac9: Waiting [2023-09-27T03:55:55.525Z] 23d2d4c4bb30: Waiting [2023-09-27T03:55:55.525Z] c4d48a809fc2: Verifying Checksum [2023-09-27T03:55:55.525Z] c4d48a809fc2: Download complete [2023-09-27T03:55:55.525Z] ad3a456e5733: Verifying Checksum [2023-09-27T03:55:55.525Z] ad3a456e5733: Download complete [2023-09-27T03:55:55.525Z] 33e27b845d1e: Verifying Checksum [2023-09-27T03:55:55.525Z] 33e27b845d1e: Download complete [2023-09-27T03:55:55.525Z] 7264a8db6415: Verifying Checksum [2023-09-27T03:55:55.525Z] 7264a8db6415: Download complete [2023-09-27T03:55:55.784Z] 7264a8db6415: Pull complete [2023-09-27T03:55:55.784Z] c68163c4e522: Verifying Checksum [2023-09-27T03:55:55.784Z] c68163c4e522: Download complete [2023-09-27T03:55:55.784Z] c4d48a809fc2: Pull complete [2023-09-27T03:55:56.044Z] 23d2d4c4bb30: Verifying Checksum [2023-09-27T03:55:56.044Z] 23d2d4c4bb30: Download complete [2023-09-27T03:55:56.303Z] 4f1c88b9dad5: Verifying Checksum [2023-09-27T03:55:56.303Z] 4f1c88b9dad5: Download complete [2023-09-27T03:55:56.562Z] 50da416c3ac9: Verifying Checksum [2023-09-27T03:55:56.562Z] 50da416c3ac9: Download complete [2023-09-27T03:55:59.845Z] 4f1c88b9dad5: Pull complete [2023-09-27T03:55:59.845Z] ad3a456e5733: Pull complete [2023-09-27T03:55:59.845Z] 33e27b845d1e: Pull complete [2023-09-27T03:55:59.845Z] c68163c4e522: Pull complete [2023-09-27T03:56:01.743Z] 50da416c3ac9: Pull complete [2023-09-27T03:56:02.309Z] 23d2d4c4bb30: Pull complete [2023-09-27T03:56:02.309Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-27T03:56:02.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-27T03:56:02.309Z] ---> 0786185ac409 [2023-09-27T03:56:02.309Z] Step 3/10 : ARG MAKE=make build [2023-09-27T03:56:07.585Z] ---> Running in 563e8efd81aa [2023-09-27T03:56:07.585Z] Removing intermediate container 563e8efd81aa [2023-09-27T03:56:07.585Z] ---> d01493932899 [2023-09-27T03:56:07.586Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-27T03:56:07.586Z] ---> Running in 1d23271883e9 [2023-09-27T03:56:07.586Z] Removing intermediate container 1d23271883e9 [2023-09-27T03:56:07.586Z] ---> 42429ed24a77 [2023-09-27T03:56:07.586Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T03:56:07.586Z] ---> Running in 5abf15216bae [2023-09-27T03:56:07.844Z] Removing intermediate container 5abf15216bae [2023-09-27T03:56:07.844Z] ---> 6b0b8a62f127 [2023-09-27T03:56:07.844Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-27T03:56:07.844Z] ---> Running in cada904b3284 [2023-09-27T03:56:08.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T03:56:08.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T03:56:08.621Z] OK: 264 MiB in 52 packages [2023-09-27T03:56:08.879Z] Removing intermediate container cada904b3284 [2023-09-27T03:56:08.879Z] ---> d0ac8b0d28be [2023-09-27T03:56:08.879Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-27T03:56:08.879Z] ---> 1f8f9a7fdd9c [2023-09-27T03:56:08.879Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T03:56:08.954Z] Still waiting to schedule task [2023-09-27T03:56:08.955Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-27T03:56:09.138Z] ---> Running in 56b5d9e9003f [2023-09-27T03:56:47.886Z] Removing intermediate container 56b5d9e9003f [2023-09-27T03:56:47.886Z] ---> 6464e4e70465 [2023-09-27T03:56:47.886Z] Step 9/10 : COPY . . [2023-09-27T03:56:48.454Z] ---> 83ae1a62ce87 [2023-09-27T03:56:48.454Z] Step 10/10 : RUN ${MAKE} [2023-09-27T03:56:48.713Z] ---> Running in b43b210fbe74 [2023-09-27T03:56:48.713Z] noop [2023-09-27T03:56:49.278Z] Removing intermediate container b43b210fbe74 [2023-09-27T03:56:49.278Z] ---> f3b3d383e170 [2023-09-27T03:56:49.278Z] Successfully built f3b3d383e170 [2023-09-27T03:56:49.278Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T03:56:49.593Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T03:56:49.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T03:56:49.656Z] prd-ubuntu20.04-docker-8c-8g-8007 does not seem to be running inside a container [2023-09-27T03:56:49.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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-x86_64 cat [2023-09-27T03:56:50.099Z] $ docker top 0673174d12d253b1bc6094bbd8ff4f29011248b471f7e747d2476abe6e5435d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T03:56:50.441Z] + go version [2023-09-27T03:56:50.441Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-27T03:56:50.455Z] $ docker stop --time=1 0673174d12d253b1bc6094bbd8ff4f29011248b471f7e747d2476abe6e5435d1 [2023-09-27T03:56:51.775Z] $ docker rm -f --volumes 0673174d12d253b1bc6094bbd8ff4f29011248b471f7e747d2476abe6e5435d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T03:56:52.189Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T03:56:52.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T03:56:52.258Z] prd-ubuntu20.04-docker-8c-8g-8007 does not seem to be running inside a container [2023-09-27T03:56:52.290Z] $ 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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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-x86_64 cat [2023-09-27T03:56:52.586Z] $ docker top e73920bcf5dd562b9d67076657561f4c64db2635e47f6e830a495f204b1fba18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T03:56:52.927Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] fileExists [Pipeline] sh [2023-09-27T03:56:53.222Z] + make test [2023-09-27T03:56:53.222Z] go test -race -coverprofile=coverage.out ./... [2023-09-27T03:56:59.782Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-27T03:57:14.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-27T03:57:14.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-27T03:57:14.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-27T03:57:14.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-27T03:57:14.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-27T03:57:14.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-27T03:57:14.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-27T03:57:14.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.041s coverage: 27.6% of statements [2023-09-27T03:57:14.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-27T03:57:14.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.048s coverage: 81.5% of statements [2023-09-27T03:57:14.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.067s coverage: 86.0% of statements [2023-09-27T03:57:15.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-27T03:57:15.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-27T03:57:15.208Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.071s coverage: 71.8% of statements [2023-09-27T03:57:15.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-27T03:57:18.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.4% of statements [2023-09-27T03:57:18.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.904s coverage: 45.6% of statements [2023-09-27T03:57:18.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements [2023-09-27T03:57:18.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.118s coverage: 89.2% of statements [2023-09-27T03:57:18.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-09-27T03:57:36.561Z] GO111MODULE=on go vet ./... [2023-09-27T03:57:39.838Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T03:57:39.838Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T03:57:40.095Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T03:57:40.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T03:57:40.119Z] $ docker stop --time=1 e73920bcf5dd562b9d67076657561f4c64db2635e47f6e830a495f204b1fba18 [2023-09-27T03:57:44.253Z] $ docker rm -f --volumes e73920bcf5dd562b9d67076657561f4c64db2635e47f6e830a495f204b1fba18 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T03:57:44.782Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T03:57:44.848Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-27T03:57:45.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T03:57:45.656Z] + ls -al . [2023-09-27T03:57:45.656Z] total 304 [2023-09-27T03:57:45.656Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 03:56 . [2023-09-27T03:57:45.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 03:55 .. [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 03:55 .dockerignore [2023-09-27T03:57:45.656Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 03:57 .git [2023-09-27T03:57:45.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 03:55 .github [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 03:55 .gitignore [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 03:55 .golangci.yml [2023-09-27T03:57:45.656Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 03:55 .semver [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 03:55 CHANGELOG.md [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 03:55 GOVERNANCE.md [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 03:55 Jenkinsfile [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 03:55 LICENSE [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 03:55 Makefile [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 03:55 OWNERS.md [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 03:55 README.md [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 03:55 VERSION [2023-09-27T03:57:45.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 03:55 bin [2023-09-27T03:57:45.656Z] -rw-r--r-- 1 jenkins jenkins 122153 Sep 27 03:57 coverage.out [2023-09-27T03:57:45.656Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 03:55 example [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 03:55 go.mod [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 03:55 go.sum [2023-09-27T03:57:45.656Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 03:55 internal [2023-09-27T03:57:45.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 03:55 openapi [2023-09-27T03:57:45.656Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 03:55 pkg [2023-09-27T03:57:45.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 03:55 snap [2023-09-27T03:57:45.656Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 03:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T03:57:45.735Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8008 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] { [Pipeline] ws [2023-09-27T03:57:45.752Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2023-09-27T03:57:45.779Z] The recommended git tool is: git [2023-09-27T03:57:46.072Z] + 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=b1fec40166e1cde2fb2828735a3d6275ec49ab18 --label arch=amd64 --label version=0.0.0 . [2023-09-27T03:57:46.072Z] Sending build context to Docker daemon 11.41MB [2023-09-27T03:57:46.072Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T03:57:46.072Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-27T03:57:46.072Z] ---> f3b3d383e170 [2023-09-27T03:57:46.072Z] Step 3/23 : ARG MAKE=make build [2023-09-27T03:57:46.330Z] ---> Running in df5b9be9eac0 [2023-09-27T03:57:46.330Z] Removing intermediate container df5b9be9eac0 [2023-09-27T03:57:46.330Z] ---> 725ecfbd38e0 [2023-09-27T03:57:46.330Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-27T03:57:46.589Z] ---> Running in 422ed7541344 [2023-09-27T03:57:46.589Z] Removing intermediate container 422ed7541344 [2023-09-27T03:57:46.589Z] ---> 8321b0200c4f [2023-09-27T03:57:46.589Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T03:57:46.589Z] ---> Running in 94a7b683635c [2023-09-27T03:57:46.589Z] Removing intermediate container 94a7b683635c [2023-09-27T03:57:46.589Z] ---> 530397fb5bb0 [2023-09-27T03:57:46.589Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-27T03:57:46.589Z] ---> Running in f001b2e1259f [2023-09-27T03:57:46.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T03:57:47.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T03:57:47.365Z] OK: 264 MiB in 52 packages [2023-09-27T03:57:47.935Z] Removing intermediate container f001b2e1259f [2023-09-27T03:57:47.935Z] ---> 2b3898f81d42 [2023-09-27T03:57:47.935Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-27T03:57:47.935Z] ---> f001afcc5d74 [2023-09-27T03:57:47.935Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T03:57:47.935Z] ---> Running in 7840487baa1a [2023-09-27T03:57:48.503Z] Removing intermediate container 7840487baa1a [2023-09-27T03:57:48.503Z] ---> fa9615d30498 [2023-09-27T03:57:48.503Z] Step 9/23 : COPY . . [2023-09-27T03:57:49.440Z] ---> 482b176ca0de [2023-09-27T03:57:49.440Z] Step 10/23 : RUN ${MAKE} [2023-09-27T03:57:49.440Z] ---> Running in 4a2254b6ed34 [2023-09-27T03:57:49.440Z] 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-09-27T03:57:50.832Z] using credential edgex-jenkins-ssh [2023-09-27T03:57:50.846Z] Cloning the remote Git repository [2023-09-27T03:57:50.885Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-27T03:57:50.986Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2023-09-27T03:57:51.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-27T03:57:51.126Z] > git --version # timeout=10 [2023-09-27T03:57:51.149Z] > git --version # 'git version 2.25.1' [2023-09-27T03:57:51.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T03:57:51.297Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T03:57:52.879Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-27T03:57:52.910Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T03:57:54.495Z] Merging remotes/origin/main commit afe3ff62d3fd920c33d9e36f21752c88d9373351 into PR head commit 633e83482683a9ca5409f9bbabf5a45dba603791 [2023-09-27T03:57:53.727Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-27T03:57:53.778Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-27T03:57:53.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T03:57:53.796Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-27T03:57:54.509Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T03:57:54.875Z] Merge succeeded, producing 0c82f6c7334278d56bbeb5b8be7893ada31527b6 [2023-09-27T03:57:54.875Z] Checking out Revision 0c82f6c7334278d56bbeb5b8be7893ada31527b6 (PR-1515) [2023-09-27T03:57:54.580Z] > git checkout -f 633e83482683a9ca5409f9bbabf5a45dba603791 # timeout=10 [2023-09-27T03:57:54.693Z] > git remote # timeout=10 [2023-09-27T03:57:54.721Z] > git config --get remote.origin.url # timeout=10 [2023-09-27T03:57:54.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T03:57:54.751Z] > git merge afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 [2023-09-27T03:57:54.843Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-27T03:57:54.878Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T03:57:54.891Z] > git checkout -f 0c82f6c7334278d56bbeb5b8be7893ada31527b6 # timeout=10 [2023-09-27T03:57:58.381Z] Commit message: "Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD" [2023-09-27T03:57:58.405Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T03:57:58.386Z] > git rev-list --no-walk cb137c4456fd09876703485f57b9a19aa101280c # timeout=10 [2023-09-27T03:57:59.285Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-27T03:57:59.286Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T03:57:59.286Z] Dload Upload Total Spent Left Speed [2023-09-27T03:57:59.286Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-09-27T03:57:59.983Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-27T03:58:00.304Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-27T03:58:00.304Z] + sudo tee /etc/docker/daemon.new [2023-09-27T03:58:00.304Z] { [2023-09-27T03:58:00.304Z] "registry-mirrors": [ [2023-09-27T03:58:00.304Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-27T03:58:00.304Z] ], [2023-09-27T03:58:00.304Z] "bip": "10.250.0.254/24", [2023-09-27T03:58:00.304Z] "hosts": [ [2023-09-27T03:58:00.304Z] "tcp://0.0.0.0:5555", [2023-09-27T03:58:00.304Z] "unix:///var/run/docker.sock" [2023-09-27T03:58:00.304Z] ], [2023-09-27T03:58:00.304Z] "mtu": 1458, [2023-09-27T03:58:00.304Z] "selinux-enabled": true, [2023-09-27T03:58:00.304Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-27T03:58:00.304Z] } [Pipeline] sh [2023-09-27T03:58:00.625Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-27T03:58:00.958Z] + sudo service docker restart [2023-09-27T03:58:11.463Z] Removing intermediate container 4a2254b6ed34 [2023-09-27T03:58:11.463Z] ---> 0708d90308f0 [2023-09-27T03:58:11.463Z] Step 11/23 : FROM alpine:3.18 [2023-09-27T03:58:11.463Z] 3.18: Pulling from library/alpine [2023-09-27T03:58:11.463Z] 7264a8db6415: Already exists [2023-09-27T03:58:11.463Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T03:58:11.463Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T03:58:11.463Z] ---> 7e01a0d0a1dc [2023-09-27T03:58:11.463Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-27T03:58:11.463Z] ---> Running in 3c2665f2bfda [2023-09-27T03:58:11.463Z] Removing intermediate container 3c2665f2bfda [2023-09-27T03:58:11.463Z] ---> 01a45dec681b [2023-09-27T03:58:11.463Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-27T03:58:11.463Z] ---> Running in 20ed41f11486 [2023-09-27T03:58:11.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T03:58:11.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T03:58:11.463Z] OK: 7 MiB in 15 packages [2023-09-27T03:58:11.463Z] Removing intermediate container 20ed41f11486 [2023-09-27T03:58:11.463Z] ---> 7480570f5a6f [2023-09-27T03:58:11.463Z] Step 14/23 : WORKDIR / [2023-09-27T03:58:11.463Z] ---> Running in db1c5f626d10 [2023-09-27T03:58:11.463Z] Removing intermediate container db1c5f626d10 [2023-09-27T03:58:11.463Z] ---> d0a17f169630 [2023-09-27T03:58:11.463Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-27T03:58:11.463Z] ---> 93de23ae84d9 [2023-09-27T03:58:11.463Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-27T03:58:13.261Z] ---> 0984f78f151f [2023-09-27T03:58:13.261Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-27T03:58:13.261Z] ---> f9955fa52c8b [2023-09-27T03:58:13.261Z] Step 18/23 : EXPOSE 59999 [2023-09-27T03:58:13.261Z] ---> Running in bff2816dcce0 [2023-09-27T03:58:13.261Z] Removing intermediate container bff2816dcce0 [2023-09-27T03:58:13.261Z] ---> eed5aed0429c [2023-09-27T03:58:13.261Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-27T03:58:13.261Z] ---> Running in db14b8d82d28 [2023-09-27T03:58:13.261Z] Removing intermediate container db14b8d82d28 [2023-09-27T03:58:13.261Z] ---> 993ee5d7646f [2023-09-27T03:58:13.261Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-27T03:58:13.261Z] ---> Running in 63379fd9ec6f [2023-09-27T03:58:13.519Z] Removing intermediate container 63379fd9ec6f [2023-09-27T03:58:13.519Z] ---> 46ca83f5c07b [2023-09-27T03:58:13.519Z] Step 21/23 : LABEL arch=amd64 [2023-09-27T03:58:13.519Z] ---> Running in afa48ec7b7f0 [2023-09-27T03:58:13.519Z] Removing intermediate container afa48ec7b7f0 [2023-09-27T03:58:13.519Z] ---> 43058f872c2b [2023-09-27T03:58:13.519Z] Step 22/23 : LABEL git_sha=b1fec40166e1cde2fb2828735a3d6275ec49ab18 [2023-09-27T03:58:13.519Z] ---> Running in 10e76047dd08 [2023-09-27T03:58:13.519Z] Removing intermediate container 10e76047dd08 [2023-09-27T03:58:13.519Z] ---> 5bb17fa8e5bb [2023-09-27T03:58:13.519Z] Step 23/23 : LABEL version=0.0.0 [2023-09-27T03:58:13.519Z] ---> Running in b302a4a5f94b [2023-09-27T03:58:13.778Z] Removing intermediate container b302a4a5f94b [2023-09-27T03:58:13.778Z] ---> a4a111717604 [2023-09-27T03:58:13.778Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T03:58:13.778Z] Successfully built a4a111717604 [2023-09-27T03:58:13.778Z] 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-09-27T03:58:14.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T03:58:14.227Z] [2023-09-27T03:58:14.227Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T03:58:14.530Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T03:58:14.530Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-27T03:58:14.530Z] 5eb5b503b376: Pulling fs layer [2023-09-27T03:58:14.530Z] 5c69ac0246d0: Pulling fs layer [2023-09-27T03:58:14.530Z] ec43610c2a17: Pulling fs layer [2023-09-27T03:58:14.530Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-27T03:58:14.530Z] 33b1e0a273af: Pulling fs layer [2023-09-27T03:58:14.530Z] 5d3b04190fa2: Pulling fs layer [2023-09-27T03:58:14.530Z] 2f39f015ded8: Pulling fs layer [2023-09-27T03:58:14.530Z] 33b1e0a273af: Waiting [2023-09-27T03:58:14.530Z] 5d3b04190fa2: Waiting [2023-09-27T03:58:14.530Z] 3a2ae6a8a46f: Waiting [2023-09-27T03:58:14.530Z] 5c69ac0246d0: Verifying Checksum [2023-09-27T03:58:14.530Z] 5c69ac0246d0: Download complete [2023-09-27T03:58:14.530Z] 3a2ae6a8a46f: Download complete [2023-09-27T03:58:14.530Z] 33b1e0a273af: Verifying Checksum [2023-09-27T03:58:14.530Z] 33b1e0a273af: Download complete [2023-09-27T03:58:14.530Z] 5d3b04190fa2: Verifying Checksum [2023-09-27T03:58:14.530Z] 5d3b04190fa2: Download complete [2023-09-27T03:58:14.530Z] ec43610c2a17: Verifying Checksum [2023-09-27T03:58:14.530Z] ec43610c2a17: Download complete [2023-09-27T03:58:14.788Z] 5eb5b503b376: Verifying Checksum [2023-09-27T03:58:14.788Z] 5eb5b503b376: Download complete [2023-09-27T03:58:15.351Z] 2f39f015ded8: Download complete [2023-09-27T03:58:15.609Z] 5eb5b503b376: Pull complete [2023-09-27T03:58:15.867Z] 5c69ac0246d0: Pull complete [2023-09-27T03:58:16.433Z] ec43610c2a17: Pull complete [2023-09-27T03:58:16.433Z] 3a2ae6a8a46f: Pull complete [2023-09-27T03:58:16.691Z] 33b1e0a273af: Pull complete [2023-09-27T03:58:16.691Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T03:58:19.214Z] provisioning config files... [2023-09-27T03:58:19.236Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config10955392246594818712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T03:58:19.576Z] ---> docker-login.sh [2023-09-27T03:58:19.576Z] nexus3.edgexfoundry.org:10001 [2023-09-27T03:58:19.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:58:20.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:58:20.115Z] Configure a credential helper to remove this warning. See [2023-09-27T03:58:20.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:58:20.115Z] [2023-09-27T03:58:20.115Z] Login Succeeded [2023-09-27T03:58:20.115Z] nexus3.edgexfoundry.org:10002 [2023-09-27T03:58:20.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:58:20.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:58:20.386Z] Configure a credential helper to remove this warning. See [2023-09-27T03:58:20.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:58:20.386Z] [2023-09-27T03:58:20.386Z] Login Succeeded [2023-09-27T03:58:20.386Z] nexus3.edgexfoundry.org:10003 [2023-09-27T03:58:20.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:58:20.873Z] 2f39f015ded8: Pull complete [2023-09-27T03:58:20.873Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-27T03:58:20.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T03:58:20.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T03:58:20.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:58:20.925Z] Configure a credential helper to remove this warning. See [2023-09-27T03:58:20.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:58:20.925Z] [2023-09-27T03:58:20.925Z] Login Succeeded [2023-09-27T03:58:20.925Z] nexus3.edgexfoundry.org:10004 [2023-09-27T03:58:20.944Z] prd-ubuntu20.04-docker-8c-8g-8007 does not seem to be running inside a container [2023-09-27T03:58:20.966Z] $ 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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T03:58:21.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:58:21.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:58:21.202Z] Configure a credential helper to remove this warning. See [2023-09-27T03:58:21.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:58:21.202Z] [2023-09-27T03:58:21.202Z] Login Succeeded [2023-09-27T03:58:21.202Z] docker.io [2023-09-27T03:58:21.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T03:58:21.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T03:58:21.742Z] Configure a credential helper to remove this warning. See [2023-09-27T03:58:21.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T03:58:21.742Z] [2023-09-27T03:58:21.742Z] Login Succeeded [2023-09-27T03:58:21.742Z] ---> docker-login.sh ends [2023-09-27T03:58:25.700Z] $ docker top ef8673bc02389ca424335e91620ab76cda11c52c9de57187c68c903f12320834 -eo pid,comm [Pipeline] { [Pipeline] } [2023-09-27T03:58:25.763Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T03:58:26.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T03:58:26.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T03:58:26.091Z] ========================================================= [2023-09-27T03:58:26.091Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-27T03:58:26.091Z] ========================================================= [Pipeline] fileExists [2023-09-27T03:58:26.094Z] ---> job-cost.sh [2023-09-27T03:58:26.094Z] lf-activate-venv: SKIPPING [2023-09-27T03:58:26.094Z] INFO: No Stack... [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T03:58:26.352Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T03:58:26.443Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-27T03:58:26.920Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T03:58:27.036Z] Sending build context to Docker daemon 6.081MB [2023-09-27T03:58:27.036Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T03:58:27.036Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-27T03:58:27.036Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-27T03:58:27.036Z] 9fda8d8052c6: Pulling fs layer [2023-09-27T03:58:27.036Z] 5d54e960e981: Pulling fs layer [2023-09-27T03:58:27.036Z] c4a7e357bf2a: Pulling fs layer [2023-09-27T03:58:27.036Z] f0e02332f6b5: Pulling fs layer [2023-09-27T03:58:27.036Z] cefa15bbcfad: Pulling fs layer [2023-09-27T03:58:27.036Z] 17808c966233: Pulling fs layer [2023-09-27T03:58:27.036Z] f4c1fc716caa: Pulling fs layer [2023-09-27T03:58:27.036Z] f0e02332f6b5: Waiting [2023-09-27T03:58:27.036Z] cefa15bbcfad: Waiting [2023-09-27T03:58:27.036Z] 17808c966233: Waiting [2023-09-27T03:58:27.036Z] f4c1fc716caa: Waiting [2023-09-27T03:58:27.036Z] 5d54e960e981: Verifying Checksum [2023-09-27T03:58:27.036Z] 5d54e960e981: Download complete [2023-09-27T03:58:27.036Z] f0e02332f6b5: Verifying Checksum [2023-09-27T03:58:27.036Z] f0e02332f6b5: Download complete [2023-09-27T03:58:27.204Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/cost.csv [2023-09-27T03:58:27.204Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T03:58:27.216Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-8-stack-cost] [2023-09-27T03:58:27.222Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-8-stack-cost] did not exist. Created. [2023-09-27T03:58:27.222Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T03:58:27.306Z] cefa15bbcfad: Verifying Checksum [2023-09-27T03:58:27.306Z] cefa15bbcfad: Download complete [2023-09-27T03:58:27.306Z] 9fda8d8052c6: Download complete [2023-09-27T03:58:27.525Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-27T03:58:27.556Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T03:58:27.563Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-8-stack-cost] [Pipeline] // lock [2023-09-27T03:58:27.575Z] f4c1fc716caa: Verifying Checksum [2023-09-27T03:58:27.575Z] f4c1fc716caa: Download complete [Pipeline] } [2023-09-27T03:58:27.579Z] $ docker stop --time=1 ef8673bc02389ca424335e91620ab76cda11c52c9de57187c68c903f12320834 [2023-09-27T03:58:28.172Z] 9fda8d8052c6: Pull complete [2023-09-27T03:58:28.718Z] $ docker rm -f --volumes ef8673bc02389ca424335e91620ab76cda11c52c9de57187c68c903f12320834 [2023-09-27T03:58:28.758Z] 5d54e960e981: Pull complete [2023-09-27T03:58:28.758Z] c4a7e357bf2a: Verifying Checksum [2023-09-27T03:58:28.758Z] c4a7e357bf2a: Download complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-27T03:58:29.718Z] 17808c966233: Verifying Checksum [2023-09-27T03:58:29.718Z] 17808c966233: Download complete [2023-09-27T03:58:39.793Z] c4a7e357bf2a: Pull complete [2023-09-27T03:58:39.793Z] f0e02332f6b5: Pull complete [2023-09-27T03:58:39.793Z] cefa15bbcfad: Pull complete [2023-09-27T03:58:48.004Z] 17808c966233: Pull complete [2023-09-27T03:58:49.955Z] f4c1fc716caa: Pull complete [2023-09-27T03:58:49.955Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-27T03:58:49.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-27T03:58:49.955Z] ---> ea914061e18c [2023-09-27T03:58:49.955Z] Step 3/10 : ARG MAKE=make build [2023-09-27T03:58:50.541Z] ---> Running in 78dab88bd0cf [2023-09-27T03:58:50.809Z] Removing intermediate container 78dab88bd0cf [2023-09-27T03:58:50.809Z] ---> 8451f9f08dd8 [2023-09-27T03:58:50.809Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-27T03:58:50.809Z] ---> Running in b2a5c8770af0 [2023-09-27T03:58:51.077Z] Removing intermediate container b2a5c8770af0 [2023-09-27T03:58:51.077Z] ---> 40720e5e7617 [2023-09-27T03:58:51.077Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T03:58:51.345Z] ---> Running in 06b78dc2e31d [2023-09-27T03:58:51.345Z] Removing intermediate container 06b78dc2e31d [2023-09-27T03:58:51.345Z] ---> cc1e261dfa71 [2023-09-27T03:58:51.345Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-27T03:58:51.612Z] ---> Running in 83a1ca1deaa5 [2023-09-27T03:58:52.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T03:58:53.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T03:58:54.128Z] OK: 266 MiB in 52 packages [2023-09-27T03:58:55.108Z] Removing intermediate container 83a1ca1deaa5 [2023-09-27T03:58:55.108Z] ---> 3d5c2d7cd1c9 [2023-09-27T03:58:55.108Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-27T03:58:55.377Z] ---> 47101f6a7683 [2023-09-27T03:58:55.377Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T03:58:55.377Z] ---> Running in a3aac5848977 [2023-09-27T04:00:03.250Z] Removing intermediate container a3aac5848977 [2023-09-27T04:00:03.250Z] ---> c28cefd813bf [2023-09-27T04:00:03.250Z] Step 9/10 : COPY . . [2023-09-27T04:00:03.250Z] ---> f1eaccfda2e0 [2023-09-27T04:00:03.250Z] Step 10/10 : RUN ${MAKE} [2023-09-27T04:00:03.250Z] ---> Running in 2f359ccad4ae [2023-09-27T04:00:03.250Z] noop [2023-09-27T04:00:03.250Z] Removing intermediate container 2f359ccad4ae [2023-09-27T04:00:03.250Z] ---> f44f58b217a9 [2023-09-27T04:00:03.250Z] Successfully built f44f58b217a9 [2023-09-27T04:00:03.251Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:00:03.599Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T04:00:03.600Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:00:03.802Z] prd-ubuntu20.04-docker-arm64-4c-16g-8008 does not seem to be running inside a container [2023-09-27T04:00:03.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-27T04:00:04.991Z] $ docker top 07a175af55ca0fee70b1e9241cb0dcc3f9741fe73df6401e08eed5ab55a7e3fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T04:00:05.802Z] + go version [2023-09-27T04:00:05.802Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-27T04:00:05.816Z] $ docker stop --time=1 07a175af55ca0fee70b1e9241cb0dcc3f9741fe73df6401e08eed5ab55a7e3fc [2023-09-27T04:00:07.388Z] $ docker rm -f --volumes 07a175af55ca0fee70b1e9241cb0dcc3f9741fe73df6401e08eed5ab55a7e3fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:00:07.922Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T04:00:07.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:00:08.104Z] prd-ubuntu20.04-docker-arm64-4c-16g-8008 does not seem to be running inside a container [2023-09-27T04:00:08.162Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-27T04:00:09.265Z] $ docker top 3261ab783f664e862421a57abe999242877baa9413971ce88947b2a336d8388f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T04:00:09.775Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/8 [Pipeline] fileExists [Pipeline] sh [2023-09-27T04:00:10.111Z] + make test [2023-09-27T04:00:10.112Z] go test -race -coverprofile=coverage.out ./... [2023-09-27T04:00:42.343Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-27T04:02:18.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-27T04:02:18.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-27T04:02:18.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-27T04:02:18.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-27T04:02:18.974Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-27T04:02:19.554Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.195s coverage: 27.6% of statements [2023-09-27T04:02:27.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.240s coverage: 81.5% of statements [2023-09-27T04:02:34.373Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-27T04:02:34.373Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-27T04:02:35.328Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.300s coverage: 86.0% of statements [2023-09-27T04:02:39.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-27T04:02:40.997Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.494s coverage: 71.8% of statements [2023-09-27T04:02:44.337Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-27T04:02:44.337Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-27T04:02:44.337Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.255s coverage: 14.4% of statements [2023-09-27T04:02:44.337Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.562s coverage: 45.9% of statements [2023-09-27T04:02:45.311Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.395s coverage: 68.5% of statements [2023-09-27T04:02:48.650Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-27T04:02:48.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.410s coverage: 89.2% of statements [2023-09-27T04:02:49.233Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.216s coverage: 5.5% of statements [2023-09-27T04:02:50.194Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-27T04:02:50.194Z] GO111MODULE=on go vet ./... [2023-09-27T04:04:41.875Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T04:04:41.875Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T04:04:41.875Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T04:04:41.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T04:04:41.907Z] $ docker stop --time=1 3261ab783f664e862421a57abe999242877baa9413971ce88947b2a336d8388f [2023-09-27T04:04:43.734Z] $ docker rm -f --volumes 3261ab783f664e862421a57abe999242877baa9413971ce88947b2a336d8388f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T04:04:45.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T04:04:45.295Z] Warning: overwriting stash ‘coverage-report’ [2023-09-27T04:04:45.890Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T04:04:46.270Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T04:04:46.584Z] + ls -al . [2023-09-27T04:04:46.584Z] total 300 [2023-09-27T04:04:46.584Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 04:00 . [2023-09-27T04:04:46.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 03:57 .. [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 03:57 .dockerignore [2023-09-27T04:04:46.584Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 03:57 .git [2023-09-27T04:04:46.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 03:57 .github [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 03:57 .gitignore [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 03:57 .golangci.yml [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 03:57 CHANGELOG.md [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 03:57 GOVERNANCE.md [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 03:57 Jenkinsfile [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 03:57 LICENSE [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 03:57 Makefile [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 03:57 OWNERS.md [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 03:57 README.md [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 03:55 VERSION [2023-09-27T04:04:46.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 03:57 bin [2023-09-27T04:04:46.584Z] -rw-r--r-- 1 jenkins jenkins 122155 Sep 27 04:02 coverage.out [2023-09-27T04:04:46.584Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 03:57 example [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 03:57 go.mod [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 03:57 go.sum [2023-09-27T04:04:46.584Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 03:57 internal [2023-09-27T04:04:46.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 03:57 openapi [2023-09-27T04:04:46.584Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 03:57 pkg [2023-09-27T04:04:46.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 03:57 snap [2023-09-27T04:04:46.584Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 03:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:04:46.914Z] + 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=0c82f6c7334278d56bbeb5b8be7893ada31527b6 --label arch=arm64 --label version=0.0.0 . [2023-09-27T04:04:47.181Z] Sending build context to Docker daemon 6.203MB [2023-09-27T04:04:47.181Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T04:04:47.181Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-27T04:04:47.181Z] ---> f44f58b217a9 [2023-09-27T04:04:47.181Z] Step 3/23 : ARG MAKE=make build [2023-09-27T04:04:47.453Z] ---> Running in bd69d316511d [2023-09-27T04:04:47.721Z] Removing intermediate container bd69d316511d [2023-09-27T04:04:47.721Z] ---> 015ba2e0622b [2023-09-27T04:04:47.721Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-27T04:04:47.721Z] ---> Running in 6cd2dd8541c0 [2023-09-27T04:04:47.990Z] Removing intermediate container 6cd2dd8541c0 [2023-09-27T04:04:47.990Z] ---> 3c0e8d3768b7 [2023-09-27T04:04:47.990Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T04:04:48.255Z] ---> Running in 823fa0083427 [2023-09-27T04:04:48.255Z] Removing intermediate container 823fa0083427 [2023-09-27T04:04:48.255Z] ---> 1a0e4f1d412e [2023-09-27T04:04:48.255Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-27T04:04:48.522Z] ---> Running in fb95fc6553b6 [2023-09-27T04:04:49.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T04:04:49.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T04:04:50.705Z] OK: 266 MiB in 52 packages [2023-09-27T04:04:52.644Z] Removing intermediate container fb95fc6553b6 [2023-09-27T04:04:52.644Z] ---> 5b6c85372af0 [2023-09-27T04:04:52.644Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-27T04:04:52.910Z] ---> 11fa8aaed973 [2023-09-27T04:04:52.910Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T04:04:52.910Z] ---> Running in 27338cd9c8c4 [2023-09-27T04:04:54.861Z] Removing intermediate container 27338cd9c8c4 [2023-09-27T04:04:54.861Z] ---> 373f3fb52bec [2023-09-27T04:04:54.861Z] Step 9/23 : COPY . . [2023-09-27T04:04:56.271Z] ---> b8d4228b1114 [2023-09-27T04:04:56.271Z] Step 10/23 : RUN ${MAKE} [2023-09-27T04:04:56.272Z] ---> Running in b74e22864fbe [2023-09-27T04:04:57.231Z] 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-09-27T04:06:48.876Z] Removing intermediate container b74e22864fbe [2023-09-27T04:06:48.876Z] ---> 259336bb8018 [2023-09-27T04:06:48.876Z] Step 11/23 : FROM alpine:3.18 [2023-09-27T04:06:48.876Z] 3.18: Pulling from library/alpine [2023-09-27T04:06:48.876Z] 9fda8d8052c6: Already exists [2023-09-27T04:06:48.876Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T04:06:48.876Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T04:06:48.876Z] ---> f6648c04cd6c [2023-09-27T04:06:48.876Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-27T04:06:48.876Z] ---> Running in 8ddd7c153cdd [2023-09-27T04:06:48.876Z] Removing intermediate container 8ddd7c153cdd [2023-09-27T04:06:48.876Z] ---> 3322436a0f3e [2023-09-27T04:06:48.876Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-27T04:06:48.876Z] ---> Running in 8793f227881a [2023-09-27T04:06:48.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T04:06:48.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T04:06:48.876Z] OK: 8 MiB in 15 packages [2023-09-27T04:06:48.876Z] Removing intermediate container 8793f227881a [2023-09-27T04:06:48.876Z] ---> 7565b6c92e2d [2023-09-27T04:06:48.876Z] Step 14/23 : WORKDIR / [2023-09-27T04:06:48.876Z] ---> Running in d073328ae64d [2023-09-27T04:06:48.876Z] Removing intermediate container d073328ae64d [2023-09-27T04:06:48.876Z] ---> 09abce9ed725 [2023-09-27T04:06:48.876Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-27T04:06:48.876Z] ---> f00160961822 [2023-09-27T04:06:48.876Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-27T04:06:48.876Z] ---> 51fd7a493313 [2023-09-27T04:06:48.876Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-27T04:06:48.876Z] ---> 900a22529c27 [2023-09-27T04:06:48.876Z] Step 18/23 : EXPOSE 59999 [2023-09-27T04:06:48.876Z] ---> Running in cfb2ca2e6133 [2023-09-27T04:06:48.876Z] Removing intermediate container cfb2ca2e6133 [2023-09-27T04:06:48.876Z] ---> e2e91125b273 [2023-09-27T04:06:48.876Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-27T04:06:48.876Z] ---> Running in 3d616cc222f7 [2023-09-27T04:06:48.876Z] Removing intermediate container 3d616cc222f7 [2023-09-27T04:06:48.876Z] ---> ee9bd677e299 [2023-09-27T04:06:48.876Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-27T04:06:48.876Z] ---> Running in 45d44064de1c [2023-09-27T04:06:48.876Z] Removing intermediate container 45d44064de1c [2023-09-27T04:06:48.876Z] ---> fbddd50d5bd4 [2023-09-27T04:06:48.876Z] Step 21/23 : LABEL arch=arm64 [2023-09-27T04:06:48.876Z] ---> Running in cf0a56e8140a [2023-09-27T04:06:48.876Z] Removing intermediate container cf0a56e8140a [2023-09-27T04:06:48.876Z] ---> 8738cc0dbf1b [2023-09-27T04:06:48.876Z] Step 22/23 : LABEL git_sha=0c82f6c7334278d56bbeb5b8be7893ada31527b6 [2023-09-27T04:06:48.876Z] ---> Running in 4fa0a6e2f02b [2023-09-27T04:06:48.876Z] Removing intermediate container 4fa0a6e2f02b [2023-09-27T04:06:48.876Z] ---> a137e3c382e2 [2023-09-27T04:06:48.876Z] Step 23/23 : LABEL version=0.0.0 [2023-09-27T04:06:48.876Z] ---> Running in e4488c605a63 [2023-09-27T04:06:48.876Z] Removing intermediate container e4488c605a63 [2023-09-27T04:06:48.876Z] ---> 660525b22eef [2023-09-27T04:06:48.876Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T04:06:48.876Z] Successfully built 660525b22eef [2023-09-27T04:06:48.876Z] 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-09-27T04:06:49.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T04:06:49.300Z] [2023-09-27T04:06:49.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:06:49.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T04:06:49.625Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-27T04:06:49.625Z] 8998bd30e6a1: Pulling fs layer [2023-09-27T04:06:49.625Z] 04944245beec: Pulling fs layer [2023-09-27T04:06:49.625Z] 699f458cf7ca: Pulling fs layer [2023-09-27T04:06:49.625Z] 765212b225bb: Pulling fs layer [2023-09-27T04:06:49.625Z] f23df028b6ca: Pulling fs layer [2023-09-27T04:06:49.625Z] d65c8cfc05b1: Pulling fs layer [2023-09-27T04:06:49.625Z] 2437ff75d9bd: Pulling fs layer [2023-09-27T04:06:49.625Z] f23df028b6ca: Waiting [2023-09-27T04:06:49.625Z] d65c8cfc05b1: Waiting [2023-09-27T04:06:49.625Z] 765212b225bb: Waiting [2023-09-27T04:06:49.625Z] 2437ff75d9bd: Waiting [2023-09-27T04:06:49.893Z] 04944245beec: Verifying Checksum [2023-09-27T04:06:49.893Z] 04944245beec: Download complete [2023-09-27T04:06:49.893Z] 765212b225bb: Verifying Checksum [2023-09-27T04:06:49.893Z] 765212b225bb: Download complete [2023-09-27T04:06:49.893Z] f23df028b6ca: Verifying Checksum [2023-09-27T04:06:49.893Z] f23df028b6ca: Download complete [2023-09-27T04:06:49.893Z] d65c8cfc05b1: Verifying Checksum [2023-09-27T04:06:49.893Z] d65c8cfc05b1: Download complete [2023-09-27T04:06:49.893Z] 699f458cf7ca: Download complete [2023-09-27T04:06:50.476Z] 8998bd30e6a1: Download complete [2023-09-27T04:06:52.417Z] 2437ff75d9bd: Verifying Checksum [2023-09-27T04:06:52.417Z] 2437ff75d9bd: Download complete [2023-09-27T04:06:54.368Z] 8998bd30e6a1: Pull complete [2023-09-27T04:06:54.636Z] 04944245beec: Pull complete [2023-09-27T04:06:56.043Z] 699f458cf7ca: Pull complete [2023-09-27T04:06:56.043Z] 765212b225bb: Pull complete [2023-09-27T04:06:57.000Z] f23df028b6ca: Pull complete [2023-09-27T04:06:57.001Z] d65c8cfc05b1: Pull complete [2023-09-27T04:07:11.990Z] 2437ff75d9bd: Pull complete [2023-09-27T04:07:11.990Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-27T04:07:11.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T04:07:11.990Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:07:12.176Z] prd-ubuntu20.04-docker-arm64-4c-16g-8008 does not seem to be running inside a container [2023-09-27T04:07:12.237Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-27T04:07:14.734Z] $ docker top 8addce610d23de13c562b1c80c42e23a0b42583c2e9f3ae1c2417b3b7ca8b6b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:07:15.551Z] ---> job-cost.sh [2023-09-27T04:07:15.551Z] lf-activate-venv: SKIPPING [2023-09-27T04:07:15.551Z] INFO: No Stack... [2023-09-27T04:07:15.815Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-27T04:07:16.768Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T04:07:17.082Z] + + cat /w/workspace/device-sdk-go/8/archives/cost.csv [2023-09-27T04:07:17.082Z] cut -d, -f6 [Pipeline] lock [2023-09-27T04:07:17.146Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-8-stack-cost] [2023-09-27T04:07:17.153Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-8-stack-cost] did not exist. Created. [2023-09-27T04:07:17.153Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T04:07:17.484Z] /w/workspace/device-sdk-go/8@tmp/durable-591de232/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-27T04:07:17.814Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-27T04:07:17.835Z] Warning: overwriting stash ‘stack-cost’ [2023-09-27T04:07:17.916Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T04:07:17.926Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T04:07:17.940Z] $ docker stop --time=1 8addce610d23de13c562b1c80c42e23a0b42583c2e9f3ae1c2417b3b7ca8b6b8 [2023-09-27T04:07:19.408Z] $ docker rm -f --volumes 8addce610d23de13c562b1c80c42e23a0b42583c2e9f3ae1c2417b3b7ca8b6b8 [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-09-27T04:07:19.782Z] provisioning config files... [2023-09-27T04:07:19.789Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config12516349421878441337tmp [Pipeline] { [Pipeline] sh [2023-09-27T04:07:20.076Z] + set +x [2023-09-27T04:07:20.076Z] + + curl -sbash https://codecov.io/bash -s [2023-09-27T04:07:20.076Z] -- [2023-09-27T04:07:20.076Z] [2023-09-27T04:07:20.076Z] _____ _ [2023-09-27T04:07:20.076Z] / ____| | | [2023-09-27T04:07:20.076Z] | | ___ __| | ___ ___ _____ __ [2023-09-27T04:07:20.077Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-27T04:07:20.077Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-27T04:07:20.077Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-27T04:07:20.077Z] Bash-1.0.6 [2023-09-27T04:07:20.077Z] [2023-09-27T04:07:20.077Z] [2023-09-27T04:07:20.077Z] ==> git version 2.25.1 found [2023-09-27T04:07:20.077Z] ==> 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-09-27T04:07:20.077Z] Release-Date: 2020-01-08 [2023-09-27T04:07:20.077Z] 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-09-27T04:07:20.077Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-27T04:07:20.077Z] ==> Jenkins CI detected. [2023-09-27T04:07:20.077Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-27T04:07:20.077Z] project root: . [2023-09-27T04:07:20.077Z] --> token set from env [2023-09-27T04:07:20.077Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-27T04:07:20.077Z] ==> Running gcov in . (disable via -X gcov) [2023-09-27T04:07:20.077Z] ==> Python coveragepy not found [2023-09-27T04:07:20.077Z] ==> Searching for coverage reports in: [2023-09-27T04:07:20.077Z] + . [2023-09-27T04:07:20.077Z] -> Found 1 reports [2023-09-27T04:07:20.077Z] ==> Detecting git/mercurial file structure [2023-09-27T04:07:20.335Z] ==> Reading reports [2023-09-27T04:07:20.335Z] + ./coverage.out bytes=122155 [2023-09-27T04:07:20.335Z] ==> Appending adjustments [2023-09-27T04:07:20.335Z] https://docs.codecov.io/docs/fixing-reports [2023-09-27T04:07:20.596Z] + Found adjustments [2023-09-27T04:07:20.596Z] ==> Gzipping contents [2023-09-27T04:07:20.596Z] 20K /tmp/codecov.0rS03V.gz [2023-09-27T04:07:20.596Z] ==> Uploading reports [2023-09-27T04:07:20.596Z] url: https://codecov.io [2023-09-27T04:07:20.596Z] query: branch=PR-1515&commit=b1fec40166e1cde2fb2828735a3d6275ec49ab18&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-27T04:07:20.596Z] -> Pinging Codecov [2023-09-27T04:07:20.596Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1515&commit=b1fec40166e1cde2fb2828735a3d6275ec49ab18&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-27T04:07:20.596Z] -> Uploading to [2023-09-27T04:07:20.596Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-27/7E55EF52A471D76F132DFD9A03CDDE97/b1fec40166e1cde2fb2828735a3d6275ec49ab18/c0492de4-a2e0-4aa4-95b8-0b612f2fb6c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T040720Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d688d6637669c47e62039692852581095b9f0f0d98bebc001db128f4cd06f9d7 [2023-09-27T04:07:20.596Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T04:07:20.596Z] Dload Upload Total Spent Left Speed [2023-09-27T04:07:20.854Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 58761 --:--:-- --:--:-- --:--:-- 58761 [2023-09-27T04:07:20.854Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b1fec40166e1cde2fb2828735a3d6275ec49ab18 [Pipeline] } [2023-09-27T04:07:20.861Z] 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-09-27T04:07:21.604Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives ] [2023-09-27T04:07:21.604Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-27T04:07:21.604Z] total 16 [2023-09-27T04:07:21.604Z] drwxr-xr-x 3 root root 4096 Sep 27 03:58 . [2023-09-27T04:07:21.604Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 03:58 .. [2023-09-27T04:07:21.604Z] drwxr-xr-x 2 root root 4096 Sep 27 03:58 cost [2023-09-27T04:07:21.604Z] -rw-r--r-- 1 root root 86 Sep 27 03:58 cost.csv [2023-09-27T04:07:21.604Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-27T04:07:21.604Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-27T04:07:21.604Z] total 16 [2023-09-27T04:07:21.604Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 03:58 . [2023-09-27T04:07:21.604Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 03:58 .. [2023-09-27T04:07:21.604Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 03:58 cost [2023-09-27T04:07:21.604Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 27 03:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:07:21.896Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:07:22.753Z] ---> package-listing.sh [2023-09-27T04:07:22.753Z] ++ facter osfamily [2023-09-27T04:07:22.753Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-27T04:07:23.012Z] + OS_FAMILY=debian [2023-09-27T04:07:23.012Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-27T04:07:23.012Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-27T04:07:23.012Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-27T04:07:23.012Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-27T04:07:23.012Z] + PACKAGES=/tmp/packages_start.txt [2023-09-27T04:07:23.012Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-27T04:07:23.012Z] + PACKAGES=/tmp/packages_end.txt [2023-09-27T04:07:23.012Z] + case "${OS_FAMILY}" in [2023-09-27T04:07:23.012Z] + dpkg -l [2023-09-27T04:07:23.012Z] + grep '^ii' [2023-09-27T04:07:23.012Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-27T04:07:23.012Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-27T04:07:23.012Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-27T04:07:23.012Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-27T04:07:23.012Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [2023-09-27T04:07:23.012Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [Pipeline] echo [2023-09-27T04:07:23.023Z] 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-1515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-27T04:07:23.299Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:07:23.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T04:07:23.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:07:23.932Z] prd-ubuntu20.04-docker-8c-8g-8007 does not seem to be running inside a container [2023-09-27T04:07:23.962Z] $ 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-1515/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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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-09-27T04:07:24.502Z] $ docker top 872dc61ad0bf608d633193691c6938181e2f90555913806aa6d298aab9ac7530 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T04:07:24.847Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-27T04:07:25.132Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-27T04:07:25.417Z] + ls /var/log/sa-host [2023-09-27T04:07:25.417Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T04:07:25.568Z] provisioning config files... [2023-09-27T04:07:25.576Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config3260175198323158110tmp [Pipeline] { [Pipeline] echo [2023-09-27T04:07:25.592Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:07:25.873Z] ---> create-netrc.sh [Pipeline] } [2023-09-27T04:07:25.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:07:26.202Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-27T04:07:26.211Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:07:26.491Z] ---> sudo-logs.sh [2023-09-27T04:07:26.491Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-27T04:07:26.521Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:07:26.803Z] ---> job-cost.sh [2023-09-27T04:07:26.803Z] lf-activate-venv: SKIPPING [2023-09-27T04:07:26.803Z] DEBUG: total: 0.2199999988079071 [2023-09-27T04:07:26.803Z] INFO: Retrieving Stack Cost... [2023-09-27T04:07:27.372Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T04:07:27.939Z] INFO: Archiving Costs [Pipeline] echo [2023-09-27T04:07:27.951Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:07:28.240Z] ---> logs-deploy.sh [2023-09-27T04:07:28.240Z] lf-activate-venv: SKIPPING [2023-09-27T04:07:28.240Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1515/8 [2023-09-27T04:07:28.240Z] INFO: archiving workspace using pattern(s): [2023-09-27T04:07:29.177Z] Archives upload complete. [2023-09-27T04:07:29.177Z] INFO: archiving logs to Nexus