Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 rather than 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 Obtained Jenkinsfile from 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 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-ssh11382510362156748612.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12199828808716370941.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1391/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-1391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4281127897687613947.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh14711400980059117734.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-1391/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-1391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1178065124993317249.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6081’ Running on prd-ubuntu20.04-docker-8c-8g-6084 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [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-1391 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 into PR head commit 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 Merge succeeded, producing 01ceb96bfd88c0a2934357dbae221ca8cc5db34d Checking out Revision 01ceb96bfd88c0a2934357dbae221ca8cc5db34d (PR-1391) > git config core.sparsecheckout # timeout=10 > git checkout -f 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 # 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 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 01ceb96bfd88c0a2934357dbae221ca8cc5db34d # timeout=10 Commit message: "Merge commit '8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-28T18:42:44.440Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-28T18:42:44.483Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-28T18:42:44.500Z] ========================================================= [2023-03-28T18:42:44.500Z] EdgeX Global Pipelines Version Info [2023-03-28T18:42:44.500Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:42:45.204Z] ------------------- [2023-03-28T18:42:45.204Z] stable info: [2023-03-28T18:42:45.204Z] ------------------- [2023-03-28T18:42:45.204Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-28T18:42:45.204Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-28T18:42:45.204Z] Message: update stable to v1.0.245 > git rev-list --no-walk 6587ccfe615b94e4de1fb43dfed47d8503f7a1d9 # timeout=10 [2023-03-28T18:42:45.781Z] ------------------- [2023-03-28T18:42:45.781Z] experimental info: [2023-03-28T18:42:45.781Z] ------------------- [2023-03-28T18:42:45.781Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-28T18:42:45.781Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-28T18:42:45.781Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-28T18:42:45.951Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-28T18:42:45.965Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-28T18:42:45.983Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-28T18:42:46.002Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-28T18:42:46.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-28T18:42:46.037Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-28T18:42:46.047Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-28T18:42:46.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-28T18:42:46.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-28T18:42:46.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-28T18:42:46.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-28T18:42:46.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-28T18:42:46.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-28T18:42:46.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-28T18:42:46.139Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-28T18:42:46.150Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T18:42:46.163Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T18:42:46.177Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T18:42:46.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-28T18:42:46.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-28T18:42:46.216Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-28T18:42:46.232Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-28T18:42:46.243Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-28T18:42:46.255Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-28T18:42:46.269Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-28T18:42:46.279Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-28T18:42:46.291Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-28T18:42:46.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1391 [Pipeline] echo [2023-03-28T18:42:46.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1391 [Pipeline] echo [2023-03-28T18:42:46.331Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1391 [Pipeline] echo [2023-03-28T18:42:46.345Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 01ceb96bfd88c0a2934357dbae221ca8cc5db34d [Pipeline] echo [2023-03-28T18:42:46.355Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 01ceb96 [Pipeline] echo [2023-03-28T18:42:46.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T18:42:46.406Z] provisioning config files... [2023-03-28T18:42:46.423Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config3762822439511473964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:42:46.724Z] ---> docker-login.sh [2023-03-28T18:42:46.724Z] nexus3.edgexfoundry.org:10001 [2023-03-28T18:42:46.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:42:46.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:42:46.989Z] Configure a credential helper to remove this warning. See [2023-03-28T18:42:46.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:42:46.989Z] [2023-03-28T18:42:46.989Z] Login Succeeded [2023-03-28T18:42:46.989Z] nexus3.edgexfoundry.org:10002 [2023-03-28T18:42:46.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:42:46.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:42:46.989Z] Configure a credential helper to remove this warning. See [2023-03-28T18:42:46.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:42:46.989Z] [2023-03-28T18:42:46.989Z] Login Succeeded [2023-03-28T18:42:46.989Z] nexus3.edgexfoundry.org:10003 [2023-03-28T18:42:47.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:42:47.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:42:47.273Z] Configure a credential helper to remove this warning. See [2023-03-28T18:42:47.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:42:47.273Z] [2023-03-28T18:42:47.273Z] Login Succeeded [2023-03-28T18:42:47.273Z] nexus3.edgexfoundry.org:10004 [2023-03-28T18:42:47.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:42:47.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:42:47.273Z] Configure a credential helper to remove this warning. See [2023-03-28T18:42:47.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:42:47.273Z] [2023-03-28T18:42:47.273Z] Login Succeeded [2023-03-28T18:42:47.273Z] docker.io [2023-03-28T18:42:47.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:42:47.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:42:47.547Z] Configure a credential helper to remove this warning. See [2023-03-28T18:42:47.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:42:47.547Z] [2023-03-28T18:42:47.547Z] Login Succeeded [2023-03-28T18:42:47.547Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T18:42:47.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-28T18:42:47.916Z] + git rev-list -1 --merges 01ceb96bfd88c0a2934357dbae221ca8cc5db34d~1..01ceb96bfd88c0a2934357dbae221ca8cc5db34d [Pipeline] echo [2023-03-28T18:42:47.961Z] -----------> git rev-list -1 --merges 01ceb96bfd88c0a2934357dbae221ca8cc5db34d~1..01ceb96bfd88c0a2934357dbae221ca8cc5db34d 01ceb96bfd88c0a2934357dbae221ca8cc5db34d [2023-03-28T18:42:47.961Z] 01ceb96bfd88c0a2934357dbae221ca8cc5db34d [false] [Pipeline] sh [2023-03-28T18:42:48.247Z] + git log --format=format:%s -1 01ceb96bfd88c0a2934357dbae221ca8cc5db34d [Pipeline] echo [2023-03-28T18:42:48.263Z] ========================================================= [2023-03-28T18:42:48.263Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-28T18:42:48.263Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T18:42:48.601Z] + git log --format=format:%s -1 01ceb96bfd88c0a2934357dbae221ca8cc5db34d [Pipeline] echo [2023-03-28T18:42:48.613Z] [semverPrep] GIT_COMMIT: 01ceb96bfd88c0a2934357dbae221ca8cc5db34d, Commit Message: Merge commit '8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080' into HEAD [Pipeline] echo [2023-03-28T18:42:48.621Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-28T18:42:48.962Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-28T18:42:48.962Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-28T18:42:48.962Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-28T18:42:48.962Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-28T18:42:48.962Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-28T18:42:48.962Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-28T18:42:48.962Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:42:49.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T18:42:49.305Z] [2023-03-28T18:42:49.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:42:49.603Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T18:42:49.603Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-28T18:42:49.603Z] b85a868b505f: Pulling fs layer [2023-03-28T18:42:49.603Z] e2be974225ed: Pulling fs layer [2023-03-28T18:42:49.603Z] 339a4e72a1f5: Pulling fs layer [2023-03-28T18:42:49.603Z] 988bab9f4d93: Pulling fs layer [2023-03-28T18:42:49.603Z] 1469e6f7b9e6: Pulling fs layer [2023-03-28T18:42:49.603Z] eaf3925da568: Pulling fs layer [2023-03-28T18:42:49.603Z] bab4dde63d76: Pulling fs layer [2023-03-28T18:42:49.603Z] bde34c3a00c8: Pulling fs layer [2023-03-28T18:42:49.603Z] b352a97aabf1: Pulling fs layer [2023-03-28T18:42:49.603Z] 4872d77fe225: Pulling fs layer [2023-03-28T18:42:49.603Z] 5851b861e8e6: Pulling fs layer [2023-03-28T18:42:49.603Z] 988bab9f4d93: Waiting [2023-03-28T18:42:49.603Z] 1469e6f7b9e6: Waiting [2023-03-28T18:42:49.603Z] eaf3925da568: Waiting [2023-03-28T18:42:49.603Z] b352a97aabf1: Waiting [2023-03-28T18:42:49.603Z] bab4dde63d76: Waiting [2023-03-28T18:42:49.603Z] bde34c3a00c8: Waiting [2023-03-28T18:42:49.603Z] 4872d77fe225: Waiting [2023-03-28T18:42:49.603Z] 5851b861e8e6: Waiting [2023-03-28T18:42:49.603Z] e2be974225ed: Download complete [2023-03-28T18:42:49.603Z] 988bab9f4d93: Verifying Checksum [2023-03-28T18:42:49.603Z] 988bab9f4d93: Download complete [2023-03-28T18:42:49.603Z] 1469e6f7b9e6: Verifying Checksum [2023-03-28T18:42:49.603Z] 1469e6f7b9e6: Download complete [2023-03-28T18:42:49.603Z] eaf3925da568: Verifying Checksum [2023-03-28T18:42:49.603Z] eaf3925da568: Download complete [2023-03-28T18:42:49.603Z] 339a4e72a1f5: Download complete [2023-03-28T18:42:49.603Z] bde34c3a00c8: Verifying Checksum [2023-03-28T18:42:49.603Z] bde34c3a00c8: Download complete [2023-03-28T18:42:49.864Z] b352a97aabf1: Download complete [2023-03-28T18:42:49.864Z] 4872d77fe225: Download complete [2023-03-28T18:42:49.864Z] 5851b861e8e6: Download complete [2023-03-28T18:42:49.864Z] b85a868b505f: Verifying Checksum [2023-03-28T18:42:49.864Z] b85a868b505f: Download complete [2023-03-28T18:42:50.123Z] bab4dde63d76: Verifying Checksum [2023-03-28T18:42:50.123Z] bab4dde63d76: Download complete [2023-03-28T18:42:51.057Z] b85a868b505f: Pull complete [2023-03-28T18:42:51.057Z] e2be974225ed: Pull complete [2023-03-28T18:42:51.624Z] 339a4e72a1f5: Pull complete [2023-03-28T18:42:51.624Z] 988bab9f4d93: Pull complete [2023-03-28T18:42:51.883Z] 1469e6f7b9e6: Pull complete [2023-03-28T18:42:51.883Z] eaf3925da568: Pull complete [2023-03-28T18:42:53.786Z] bab4dde63d76: Pull complete [2023-03-28T18:42:53.786Z] bde34c3a00c8: Pull complete [2023-03-28T18:42:53.786Z] b352a97aabf1: Pull complete [2023-03-28T18:42:53.786Z] 4872d77fe225: Pull complete [2023-03-28T18:42:53.786Z] 5851b861e8e6: Pull complete [2023-03-28T18:42:53.786Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-28T18:42:53.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T18:42:53.786Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:42:53.883Z] prd-ubuntu20.04-docker-8c-8g-6084 does not seem to be running inside a container [2023-03-28T18:42:53.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-28T18:42:55.119Z] $ docker top 0f655c4b465a61cd8c2df5e1da94bb97aa326e5242185439f6d610966a58880d -eo pid,comm [2023-03-28T18:42:55.168Z] 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-03-28T18:42:55.168Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-28T18:42:55.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T18:42:55.207Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T18:42:55.313Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T18:42:55.319Z] $ docker exec 0f655c4b465a61cd8c2df5e1da94bb97aa326e5242185439f6d610966a58880d ssh-agent [2023-03-28T18:42:55.427Z] SSH_AUTH_SOCK=/tmp/ssh-Fdj7wzbBSaVD/agent.33 [2023-03-28T18:42:55.427Z] SSH_AGENT_PID=39 [2023-03-28T18:42:55.435Z] Running ssh-add (command line suppressed) [2023-03-28T18:42:55.538Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_14911941366909782589.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_14911941366909782589.key) [2023-03-28T18:42:55.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T18:42:55.838Z] + git tag --points-at HEAD [Pipeline] } [2023-03-28T18:42:55.859Z] $ docker exec --env ******** --env ******** 0f655c4b465a61cd8c2df5e1da94bb97aa326e5242185439f6d610966a58880d ssh-agent -k [2023-03-28T18:42:55.962Z] unset SSH_AUTH_SOCK; [2023-03-28T18:42:55.963Z] unset SSH_AGENT_PID; [2023-03-28T18:42:55.963Z] echo Agent pid 39 killed; [2023-03-28T18:42:55.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-28T18:42:55.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T18:42:55.990Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T18:42:56.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T18:42:56.103Z] $ docker exec 0f655c4b465a61cd8c2df5e1da94bb97aa326e5242185439f6d610966a58880d ssh-agent [2023-03-28T18:42:56.203Z] SSH_AUTH_SOCK=/tmp/ssh-gxYD7zlQjw9W/agent.71 [2023-03-28T18:42:56.203Z] SSH_AGENT_PID=77 [2023-03-28T18:42:56.208Z] Running ssh-add (command line suppressed) [2023-03-28T18:42:56.315Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_13577010846932259668.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_13577010846932259668.key) [2023-03-28T18:42:56.323Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T18:42:56.610Z] + git semver init [2023-03-28T18:42:56.869Z] 2023-03-28 18:42:56,790 [run_init] DEBUG init version:0.0.0 force:False [2023-03-28T18:42:56.869Z] 2023-03-28 18:42:56,791 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-28T18:42:56.869Z] 2023-03-28 18:42:56,791 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-28T18:42:56.869Z] 2023-03-28 18:42:56,791 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391, universal_newlines=False, shell=None, istream=None) [2023-03-28T18:42:57.808Z] 2023-03-28 18:42:57,708 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.git/info/exclude [2023-03-28T18:42:57.808Z] 2023-03-28 18:42:57,709 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 with force:False [2023-03-28T18:42:57.808Z] 2023-03-28 18:42:57,709 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-28T18:42:57.808Z] 2023-03-28 18:42:57,714 [execute] INFO git cat-file --batch-check [2023-03-28T18:42:57.808Z] 2023-03-28 18:42:57,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T18:42:57.808Z] 2023-03-28 18:42:57,723 [execute] INFO git cat-file --batch [2023-03-28T18:42:57.808Z] 2023-03-28 18:42:57,723 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T18:42:57.808Z] 2023-03-28 18:42:57,729 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-28T18:42:57.808Z] 0.0.0 [Pipeline] } [2023-03-28T18:42:57.822Z] $ docker exec --env ******** --env ******** 0f655c4b465a61cd8c2df5e1da94bb97aa326e5242185439f6d610966a58880d ssh-agent -k [2023-03-28T18:42:57.923Z] unset SSH_AUTH_SOCK; [2023-03-28T18:42:57.924Z] unset SSH_AGENT_PID; [2023-03-28T18:42:57.925Z] echo Agent pid 77 killed; [2023-03-28T18:42:57.930Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-28T18:42:58.230Z] + git semver [Pipeline] } [2023-03-28T18:42:58.506Z] $ docker stop --time=1 0f655c4b465a61cd8c2df5e1da94bb97aa326e5242185439f6d610966a58880d [2023-03-28T18:42:59.849Z] $ docker rm -f --volumes 0f655c4b465a61cd8c2df5e1da94bb97aa326e5242185439f6d610966a58880d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T18:43:00.177Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-28T18:43:00.367Z] Stashed 1 file(s) [Pipeline] echo [2023-03-28T18:43:00.370Z] [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-03-28T18:43:00.490Z] provisioning config files... [2023-03-28T18:43:00.498Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config16143271178515420022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:43:00.795Z] ---> docker-login.sh [2023-03-28T18:43:00.795Z] nexus3.edgexfoundry.org:10001 [2023-03-28T18:43:00.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:43:00.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:43:00.795Z] Configure a credential helper to remove this warning. See [2023-03-28T18:43:00.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:43:00.795Z] [2023-03-28T18:43:00.795Z] Login Succeeded [2023-03-28T18:43:00.795Z] nexus3.edgexfoundry.org:10002 [2023-03-28T18:43:00.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:43:00.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:43:00.795Z] Configure a credential helper to remove this warning. See [2023-03-28T18:43:00.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:43:00.795Z] [2023-03-28T18:43:00.795Z] Login Succeeded [2023-03-28T18:43:00.795Z] nexus3.edgexfoundry.org:10003 [2023-03-28T18:43:01.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:43:01.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:43:01.054Z] Configure a credential helper to remove this warning. See [2023-03-28T18:43:01.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:43:01.054Z] [2023-03-28T18:43:01.054Z] Login Succeeded [2023-03-28T18:43:01.054Z] nexus3.edgexfoundry.org:10004 [2023-03-28T18:43:01.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:43:01.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:43:01.054Z] Configure a credential helper to remove this warning. See [2023-03-28T18:43:01.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:43:01.054Z] [2023-03-28T18:43:01.054Z] Login Succeeded [2023-03-28T18:43:01.054Z] docker.io [2023-03-28T18:43:01.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:43:01.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:43:01.312Z] Configure a credential helper to remove this warning. See [2023-03-28T18:43:01.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:43:01.312Z] [2023-03-28T18:43:01.312Z] Login Succeeded [2023-03-28T18:43:01.312Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T18:43:01.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T18:43:01.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:43:01.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:43:01.405Z] ========================================================= [2023-03-28T18:43:01.405Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-28T18:43:01.405Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:43:01.705Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-28T18:43:01.705Z] Sending build context to Docker daemon 11.02MB [2023-03-28T18:43:01.705Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T18:43:01.705Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-28T18:43:01.705Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-28T18:43:01.705Z] 63b65145d645: Pulling fs layer [2023-03-28T18:43:01.705Z] a2d21d5440eb: Pulling fs layer [2023-03-28T18:43:01.705Z] 935e6c44a52c: Pulling fs layer [2023-03-28T18:43:01.705Z] 94cc34f8dd06: Pulling fs layer [2023-03-28T18:43:01.705Z] 30dea6a524f1: Pulling fs layer [2023-03-28T18:43:01.705Z] a2aff8979fd8: Pulling fs layer [2023-03-28T18:43:01.705Z] 6808be2612f2: Pulling fs layer [2023-03-28T18:43:01.705Z] f25807f1079a: Pulling fs layer [2023-03-28T18:43:01.705Z] 94cc34f8dd06: Waiting [2023-03-28T18:43:01.705Z] 30dea6a524f1: Waiting [2023-03-28T18:43:01.705Z] f25807f1079a: Waiting [2023-03-28T18:43:01.705Z] 6808be2612f2: Waiting [2023-03-28T18:43:01.964Z] a2d21d5440eb: Download complete [2023-03-28T18:43:01.964Z] 94cc34f8dd06: Verifying Checksum [2023-03-28T18:43:01.964Z] 94cc34f8dd06: Download complete [2023-03-28T18:43:01.964Z] 30dea6a524f1: Verifying Checksum [2023-03-28T18:43:01.964Z] 30dea6a524f1: Download complete [2023-03-28T18:43:01.964Z] 63b65145d645: Verifying Checksum [2023-03-28T18:43:01.964Z] 63b65145d645: Download complete [2023-03-28T18:43:01.964Z] a2aff8979fd8: Verifying Checksum [2023-03-28T18:43:01.964Z] a2aff8979fd8: Download complete [2023-03-28T18:43:01.964Z] 63b65145d645: Pull complete [2023-03-28T18:43:02.224Z] a2d21d5440eb: Pull complete [2023-03-28T18:43:02.224Z] f25807f1079a: Verifying Checksum [2023-03-28T18:43:02.224Z] f25807f1079a: Download complete [2023-03-28T18:43:02.483Z] 935e6c44a52c: Verifying Checksum [2023-03-28T18:43:02.483Z] 935e6c44a52c: Download complete [2023-03-28T18:43:02.741Z] 6808be2612f2: Verifying Checksum [2023-03-28T18:43:05.272Z] 935e6c44a52c: Pull complete [2023-03-28T18:43:05.531Z] 94cc34f8dd06: Pull complete [2023-03-28T18:43:05.531Z] 30dea6a524f1: Pull complete [2023-03-28T18:43:05.531Z] a2aff8979fd8: Pull complete [2023-03-28T18:43:08.062Z] 6808be2612f2: Pull complete [2023-03-28T18:43:08.631Z] f25807f1079a: Pull complete [2023-03-28T18:43:08.631Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-28T18:43:08.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-28T18:43:08.631Z] ---> 3b553350e43f [2023-03-28T18:43:08.631Z] Step 3/10 : ARG MAKE=make build [2023-03-28T18:43:10.008Z] ---> Running in 08f709d74950 [2023-03-28T18:43:10.008Z] Removing intermediate container 08f709d74950 [2023-03-28T18:43:10.008Z] ---> f388dee008eb [2023-03-28T18:43:10.008Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-28T18:43:10.268Z] ---> Running in 61ca8c143100 [2023-03-28T18:43:10.268Z] Removing intermediate container 61ca8c143100 [2023-03-28T18:43:10.268Z] ---> 818019dace0e [2023-03-28T18:43:10.268Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-28T18:43:10.268Z] ---> Running in 265f588637b9 [2023-03-28T18:43:10.268Z] Removing intermediate container 265f588637b9 [2023-03-28T18:43:10.268Z] ---> 5ce865e45a5e [2023-03-28T18:43:10.268Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-28T18:43:10.526Z] ---> Running in 4d0d853cc8ea [2023-03-28T18:43:10.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T18:43:10.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T18:43:11.043Z] OK: 265 MiB in 53 packages [2023-03-28T18:43:11.302Z] Removing intermediate container 4d0d853cc8ea [2023-03-28T18:43:11.302Z] ---> 16658b4df06b [2023-03-28T18:43:11.302Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-28T18:43:11.561Z] ---> 13d68fac2e66 [2023-03-28T18:43:11.561Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T18:43:11.561Z] ---> Running in d0baa8f40d54 [2023-03-28T18:43:15.451Z] Still waiting to schedule task [2023-03-28T18:43:15.452Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6082’ [2023-03-28T18:43:29.664Z] Removing intermediate container d0baa8f40d54 [2023-03-28T18:43:29.664Z] ---> 5156d3267dc5 [2023-03-28T18:43:29.664Z] Step 9/10 : COPY . . [2023-03-28T18:43:29.664Z] ---> 50ea994bc74a [2023-03-28T18:43:29.664Z] Step 10/10 : RUN ${MAKE} [2023-03-28T18:43:29.664Z] ---> Running in b39b707ebc92 [2023-03-28T18:43:29.664Z] noop [2023-03-28T18:43:29.923Z] Removing intermediate container b39b707ebc92 [2023-03-28T18:43:29.923Z] ---> 50d211f017da [2023-03-28T18:43:29.923Z] Successfully built 50d211f017da [2023-03-28T18:43:29.923Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:43:30.227Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T18:43:30.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:43:30.299Z] prd-ubuntu20.04-docker-8c-8g-6084 does not seem to be running inside a container [2023-03-28T18:43:30.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-28T18:43:30.700Z] $ docker top 201565fb8cd5fbd18f89fe857bd9381f8bc8a678c447b1189e9533b20a004841 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:43:31.034Z] + go version [2023-03-28T18:43:31.034Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-28T18:43:31.048Z] $ docker stop --time=1 201565fb8cd5fbd18f89fe857bd9381f8bc8a678c447b1189e9533b20a004841 [2023-03-28T18:43:32.355Z] $ docker rm -f --volumes 201565fb8cd5fbd18f89fe857bd9381f8bc8a678c447b1189e9533b20a004841 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:43:32.744Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T18:43:32.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:43:32.807Z] prd-ubuntu20.04-docker-8c-8g-6084 does not seem to be running inside a container [2023-03-28T18:43:32.839Z] $ 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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-28T18:43:33.165Z] $ docker top 8fc14e0e2eabd97402f62c0799acec4ea33bd74dd31ef4ca1d53224e115baecf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:43:33.503Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] fileExists [Pipeline] sh [2023-03-28T18:43:33.800Z] + make test [2023-03-28T18:43:33.801Z] go test -race -coverprofile=coverage.out ./... [2023-03-28T18:43:40.363Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-28T18:43:55.228Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.049s coverage: 27.6% of statements [2023-03-28T18:43:55.228Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.056s coverage: 79.9% of statements [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-28T18:43:55.228Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.066s coverage: 86.0% of statements [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-28T18:43:55.228Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 77.5% of statements [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-28T18:43:55.228Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-28T18:43:55.486Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-28T18:43:58.018Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.063s coverage: 14.6% of statements [2023-03-28T18:43:58.018Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements [2023-03-28T18:43:58.018Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.108s coverage: 89.2% of statements [2023-03-28T18:43:58.018Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 5.6% of statements [2023-03-28T18:44:16.091Z] GO111MODULE=on go vet ./... [2023-03-28T18:44:19.372Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-28T18:44:19.372Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-28T18:44:19.372Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-28T18:44:19.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-28T18:44:19.400Z] $ docker stop --time=1 8fc14e0e2eabd97402f62c0799acec4ea33bd74dd31ef4ca1d53224e115baecf [2023-03-28T18:44:21.317Z] $ docker rm -f --volumes 8fc14e0e2eabd97402f62c0799acec4ea33bd74dd31ef4ca1d53224e115baecf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T18:44:21.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-28T18:44:21.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-28T18:44:22.317Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-28T18:44:22.602Z] + ls -al . [2023-03-28T18:44:22.602Z] total 272 [2023-03-28T18:44:22.602Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 18:43 . [2023-03-28T18:44:22.602Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:42 .. [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 18:42 .dockerignore [2023-03-28T18:44:22.602Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:42 .git [2023-03-28T18:44:22.602Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:42 .github [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 28 18:42 .gitignore [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 18:42 .golangci.yml [2023-03-28T18:44:22.602Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:42 .semver [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 28 18:42 CHANGELOG.md [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 18:42 GOVERNANCE.md [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 28 18:42 Jenkinsfile [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 28 18:42 LICENSE [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 28 18:42 Makefile [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 28 18:42 OWNERS.md [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 28 18:42 README.md [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:43 VERSION [2023-03-28T18:44:22.602Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:42 bin [2023-03-28T18:44:22.602Z] -rw-r--r-- 1 jenkins jenkins 105787 Mar 28 18:43 coverage.out [2023-03-28T18:44:22.602Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 18:42 example [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 28 18:42 go.mod [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 28 18:42 go.sum [2023-03-28T18:44:22.602Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 18:42 internal [2023-03-28T18:44:22.602Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:42 openapi [2023-03-28T18:44:22.602Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 28 18:42 pkg [2023-03-28T18:44:22.602Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:42 snap [2023-03-28T18:44:22.602Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 28 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:44:22.909Z] + 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=01ceb96bfd88c0a2934357dbae221ca8cc5db34d --label arch=amd64 --label version=0.0.0 . [2023-03-28T18:44:22.909Z] Sending build context to Docker daemon 11.13MB [2023-03-28T18:44:22.909Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T18:44:22.909Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-28T18:44:22.909Z] ---> 50d211f017da [2023-03-28T18:44:22.909Z] Step 3/23 : ARG MAKE=make build [2023-03-28T18:44:23.168Z] ---> Running in f18d8667acc3 [2023-03-28T18:44:23.168Z] Removing intermediate container f18d8667acc3 [2023-03-28T18:44:23.168Z] ---> 02781a3cc278 [2023-03-28T18:44:23.168Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-28T18:44:23.168Z] ---> Running in 97cfc9c5b0aa [2023-03-28T18:44:23.168Z] Removing intermediate container 97cfc9c5b0aa [2023-03-28T18:44:23.168Z] ---> 032057010ca2 [2023-03-28T18:44:23.168Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-28T18:44:23.168Z] ---> Running in 0cb4bcd74160 [2023-03-28T18:44:23.427Z] Removing intermediate container 0cb4bcd74160 [2023-03-28T18:44:23.427Z] ---> 59b798308f40 [2023-03-28T18:44:23.427Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-28T18:44:23.427Z] ---> Running in f52df2d4c370 [2023-03-28T18:44:23.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T18:44:23.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T18:44:24.208Z] OK: 265 MiB in 53 packages [2023-03-28T18:44:24.467Z] Removing intermediate container f52df2d4c370 [2023-03-28T18:44:24.467Z] ---> 17ca0b6066c1 [2023-03-28T18:44:24.467Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-28T18:44:24.467Z] ---> 35af69d86d02 [2023-03-28T18:44:24.467Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T18:44:24.467Z] ---> Running in 46785ccc62ca [2023-03-28T18:44:25.405Z] Removing intermediate container 46785ccc62ca [2023-03-28T18:44:25.405Z] ---> 7bdfd431b7fb [2023-03-28T18:44:25.405Z] Step 9/23 : COPY . . [2023-03-28T18:44:25.973Z] ---> f9f4c2c5ea38 [2023-03-28T18:44:25.973Z] Step 10/23 : RUN ${MAKE} [2023-03-28T18:44:25.973Z] ---> Running in f0467391a096 [2023-03-28T18:44:26.231Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-28T18:44:44.311Z] Removing intermediate container f0467391a096 [2023-03-28T18:44:44.311Z] ---> f0fec952043c [2023-03-28T18:44:44.311Z] Step 11/23 : FROM alpine:3.17 [2023-03-28T18:44:44.311Z] 3.17: Pulling from library/alpine [2023-03-28T18:44:44.311Z] 63b65145d645: Already exists [2023-03-28T18:44:44.311Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-28T18:44:44.311Z] Status: Downloaded newer image for alpine:3.17 [2023-03-28T18:44:44.311Z] ---> b2aa39c304c2 [2023-03-28T18:44:44.311Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-28T18:44:44.311Z] ---> Running in 154663e7bd4a [2023-03-28T18:44:44.311Z] Removing intermediate container 154663e7bd4a [2023-03-28T18:44:44.311Z] ---> 493bb4a8c015 [2023-03-28T18:44:44.311Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-28T18:44:44.311Z] ---> Running in 31545e554364 [2023-03-28T18:44:44.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T18:44:44.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T18:44:44.311Z] OK: 7 MiB in 15 packages [2023-03-28T18:44:44.311Z] Removing intermediate container 31545e554364 [2023-03-28T18:44:44.311Z] ---> 3026397af304 [2023-03-28T18:44:44.311Z] Step 14/23 : WORKDIR / [2023-03-28T18:44:44.311Z] ---> Running in 4239715d7f87 [2023-03-28T18:44:44.311Z] Removing intermediate container 4239715d7f87 [2023-03-28T18:44:44.311Z] ---> be7c2ae7d3c6 [2023-03-28T18:44:44.311Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-28T18:44:44.311Z] ---> cb51f93fe22d [2023-03-28T18:44:44.311Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-28T18:44:44.311Z] ---> 66ee22ff7312 [2023-03-28T18:44:44.311Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-28T18:44:44.311Z] ---> 2e4c6c3eb22f [2023-03-28T18:44:44.311Z] Step 18/23 : EXPOSE 59999 [2023-03-28T18:44:44.311Z] ---> Running in 1230e796abe7 [2023-03-28T18:44:44.311Z] Removing intermediate container 1230e796abe7 [2023-03-28T18:44:44.311Z] ---> 3611c98307cb [2023-03-28T18:44:44.311Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-28T18:44:44.311Z] ---> Running in ee72f4708e9e [2023-03-28T18:44:44.571Z] Removing intermediate container ee72f4708e9e [2023-03-28T18:44:44.571Z] ---> 1456050be972 [2023-03-28T18:44:44.571Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-28T18:44:44.571Z] ---> Running in 2879194f5fc6 [2023-03-28T18:44:44.571Z] Removing intermediate container 2879194f5fc6 [2023-03-28T18:44:44.571Z] ---> fc2391aa541a [2023-03-28T18:44:44.571Z] Step 21/23 : LABEL arch=amd64 [2023-03-28T18:44:44.571Z] ---> Running in 8179890c8781 [2023-03-28T18:44:44.830Z] Removing intermediate container 8179890c8781 [2023-03-28T18:44:44.830Z] ---> abf7982200a7 [2023-03-28T18:44:44.830Z] Step 22/23 : LABEL git_sha=01ceb96bfd88c0a2934357dbae221ca8cc5db34d [2023-03-28T18:44:44.830Z] ---> Running in 0b3d06e3a57b [2023-03-28T18:44:44.830Z] Removing intermediate container 0b3d06e3a57b [2023-03-28T18:44:44.830Z] ---> 644337e9de5a [2023-03-28T18:44:44.830Z] Step 23/23 : LABEL version=0.0.0 [2023-03-28T18:44:44.830Z] ---> Running in e7b662b8eb25 [2023-03-28T18:44:44.830Z] Removing intermediate container e7b662b8eb25 [2023-03-28T18:44:44.830Z] ---> 2ffba3bb6ca8 [2023-03-28T18:44:44.830Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-28T18:44:44.830Z] Successfully built 2ffba3bb6ca8 [2023-03-28T18:44:44.830Z] 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-03-28T18:44:45.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:44:45.293Z] [2023-03-28T18:44:45.293Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:44:45.603Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:44:45.603Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-28T18:44:45.603Z] 5eb5b503b376: Pulling fs layer [2023-03-28T18:44:45.603Z] 5c69ac0246d0: Pulling fs layer [2023-03-28T18:44:45.603Z] ec43610c2a17: Pulling fs layer [2023-03-28T18:44:45.603Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-28T18:44:45.603Z] 33b1e0a273af: Pulling fs layer [2023-03-28T18:44:45.603Z] 5d3b04190fa2: Pulling fs layer [2023-03-28T18:44:45.603Z] 2f39f015ded8: Pulling fs layer [2023-03-28T18:44:45.603Z] 3a2ae6a8a46f: Waiting [2023-03-28T18:44:45.603Z] 33b1e0a273af: Waiting [2023-03-28T18:44:45.603Z] 5d3b04190fa2: Waiting [2023-03-28T18:44:45.603Z] 2f39f015ded8: Waiting [2023-03-28T18:44:45.603Z] 5c69ac0246d0: Verifying Checksum [2023-03-28T18:44:45.603Z] 5c69ac0246d0: Download complete [2023-03-28T18:44:45.603Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-28T18:44:45.603Z] 3a2ae6a8a46f: Download complete [2023-03-28T18:44:45.603Z] 33b1e0a273af: Verifying Checksum [2023-03-28T18:44:45.603Z] 33b1e0a273af: Download complete [2023-03-28T18:44:45.603Z] 5d3b04190fa2: Verifying Checksum [2023-03-28T18:44:45.603Z] 5d3b04190fa2: Download complete [2023-03-28T18:44:45.603Z] ec43610c2a17: Verifying Checksum [2023-03-28T18:44:45.603Z] ec43610c2a17: Download complete [2023-03-28T18:44:45.863Z] 5eb5b503b376: Verifying Checksum [2023-03-28T18:44:45.863Z] 5eb5b503b376: Download complete [2023-03-28T18:44:46.440Z] 2f39f015ded8: Verifying Checksum [2023-03-28T18:44:46.440Z] 2f39f015ded8: Download complete [2023-03-28T18:44:47.010Z] 5eb5b503b376: Pull complete [2023-03-28T18:44:47.010Z] 5c69ac0246d0: Pull complete [2023-03-28T18:44:47.577Z] ec43610c2a17: Pull complete [2023-03-28T18:44:47.577Z] 3a2ae6a8a46f: Pull complete [2023-03-28T18:44:47.836Z] 33b1e0a273af: Pull complete [2023-03-28T18:44:47.836Z] 5d3b04190fa2: Pull complete [2023-03-28T18:44:52.023Z] 2f39f015ded8: Pull complete [2023-03-28T18:44:52.023Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-28T18:44:52.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:44:52.023Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:44:52.101Z] prd-ubuntu20.04-docker-8c-8g-6084 does not seem to be running inside a container [2023-03-28T18:44:52.131Z] $ 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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T18:44:53.680Z] $ docker top 6b0c0937d7effa53d30105b4de83a2907d7ed74e67071b1e3277f2ad4ecadcff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:44:54.038Z] ---> job-cost.sh [2023-03-28T18:44:54.038Z] lf-activate-venv: SKIPPING [2023-03-28T18:44:54.038Z] INFO: No Stack... [2023-03-28T18:44:54.298Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T18:44:54.866Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T18:44:55.156Z] + cut -d, -f6 [2023-03-28T18:44:55.156Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/cost.csv [Pipeline] lock [2023-03-28T18:44:55.170Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-13-stack-cost] [2023-03-28T18:44:55.176Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-13-stack-cost] did not exist. Created. [2023-03-28T18:44:55.176Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T18:44:55.486Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-28T18:44:55.522Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T18:44:55.532Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-13-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T18:44:55.551Z] $ docker stop --time=1 6b0c0937d7effa53d30105b4de83a2907d7ed74e67071b1e3277f2ad4ecadcff [2023-03-28T18:44:56.709Z] $ docker rm -f --volumes 6b0c0937d7effa53d30105b4de83a2907d7ed74e67071b1e3277f2ad4ecadcff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-28T18:46:22.169Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6086 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] { [Pipeline] ws [2023-03-28T18:46:22.183Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2023-03-28T18:46:22.214Z] The recommended git tool is: git [2023-03-28T18:46:27.739Z] using credential edgex-jenkins-ssh [2023-03-28T18:46:27.757Z] Cloning the remote Git repository [2023-03-28T18:46:27.806Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-28T18:46:27.907Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2023-03-28T18:46:28.063Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-28T18:46:28.065Z] > git --version # timeout=10 [2023-03-28T18:46:28.087Z] > git --version # 'git version 2.25.1' [2023-03-28T18:46:28.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T18:46:28.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T18:46:29.910Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-28T18:46:29.938Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T18:46:30.893Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-28T18:46:30.942Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-28T18:46:30.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T18:46:30.961Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-28T18:46:31.688Z] Merging remotes/origin/main commit 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 into PR head commit 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 [2023-03-28T18:46:32.098Z] Merge succeeded, producing 0f21675580947b927f591b9c1efa400353979866 [2023-03-28T18:46:32.099Z] Checking out Revision 0f21675580947b927f591b9c1efa400353979866 (PR-1391) [2023-03-28T18:46:31.709Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T18:46:31.778Z] > git checkout -f 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 # timeout=10 [2023-03-28T18:46:31.896Z] > git remote # timeout=10 [2023-03-28T18:46:31.917Z] > git config --get remote.origin.url # timeout=10 [2023-03-28T18:46:31.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T18:46:31.950Z] > git merge 8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080 # timeout=10 [2023-03-28T18:46:32.078Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-28T18:46:32.108Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T18:46:32.123Z] > git checkout -f 0f21675580947b927f591b9c1efa400353979866 # timeout=10 [2023-03-28T18:46:35.643Z] Commit message: "Merge commit '8a37cfa6b2cf46a0d2590199ebfbbbc5059a3080' into HEAD" [2023-03-28T18:46:35.671Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T18:46:36.437Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-28T18:46:36.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T18:46:36.438Z] Dload Upload Total Spent Left Speed [2023-03-28T18:46:36.438Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 119k 0 --:--:-- --:--:-- --:--:-- 120k [Pipeline] sh [2023-03-28T18:46:35.654Z] > git rev-list --no-walk 6587ccfe615b94e4de1fb43dfed47d8503f7a1d9 # timeout=10 [2023-03-28T18:46:37.133Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-28T18:46:37.485Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-28T18:46:37.485Z] + sudo tee /etc/docker/daemon.new [2023-03-28T18:46:37.485Z] { [2023-03-28T18:46:37.485Z] "registry-mirrors": [ [2023-03-28T18:46:37.485Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-28T18:46:37.485Z] ], [2023-03-28T18:46:37.485Z] "bip": "10.250.0.254/24", [2023-03-28T18:46:37.485Z] "hosts": [ [2023-03-28T18:46:37.485Z] "tcp://0.0.0.0:5555", [2023-03-28T18:46:37.485Z] "unix:///var/run/docker.sock" [2023-03-28T18:46:37.485Z] ], [2023-03-28T18:46:37.485Z] "mtu": 1458, [2023-03-28T18:46:37.485Z] "selinux-enabled": true, [2023-03-28T18:46:37.485Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-28T18:46:37.485Z] } [Pipeline] sh [2023-03-28T18:46:37.818Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-28T18:46:38.154Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T18:46:56.468Z] provisioning config files... [2023-03-28T18:46:56.499Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/13@tmp/config13318520795981195165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:46:56.850Z] ---> docker-login.sh [2023-03-28T18:46:56.851Z] nexus3.edgexfoundry.org:10001 [2023-03-28T18:46:57.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:46:57.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:46:57.441Z] Configure a credential helper to remove this warning. See [2023-03-28T18:46:57.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:46:57.441Z] [2023-03-28T18:46:57.441Z] Login Succeeded [2023-03-28T18:46:57.441Z] nexus3.edgexfoundry.org:10002 [2023-03-28T18:46:57.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:46:57.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:46:57.984Z] Configure a credential helper to remove this warning. See [2023-03-28T18:46:57.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:46:57.984Z] [2023-03-28T18:46:57.984Z] Login Succeeded [2023-03-28T18:46:57.984Z] nexus3.edgexfoundry.org:10003 [2023-03-28T18:46:58.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:46:58.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:46:58.253Z] Configure a credential helper to remove this warning. See [2023-03-28T18:46:58.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:46:58.253Z] [2023-03-28T18:46:58.253Z] Login Succeeded [2023-03-28T18:46:58.253Z] nexus3.edgexfoundry.org:10004 [2023-03-28T18:46:58.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:46:58.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:46:58.526Z] Configure a credential helper to remove this warning. See [2023-03-28T18:46:58.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:46:58.526Z] [2023-03-28T18:46:58.526Z] Login Succeeded [2023-03-28T18:46:58.526Z] docker.io [2023-03-28T18:46:58.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:46:59.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:46:59.067Z] Configure a credential helper to remove this warning. See [2023-03-28T18:46:59.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:46:59.067Z] [2023-03-28T18:46:59.067Z] Login Succeeded [2023-03-28T18:46:59.067Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T18:46:59.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T18:46:59.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:46:59.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:46:59.385Z] ========================================================= [2023-03-28T18:46:59.385Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-28T18:46:59.385Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:46:59.748Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-28T18:47:00.345Z] Sending build context to Docker daemon 5.972MB [2023-03-28T18:47:00.345Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T18:47:00.345Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-28T18:47:00.345Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-28T18:47:00.345Z] af6eaf76a39c: Pulling fs layer [2023-03-28T18:47:00.345Z] 55522c791124: Pulling fs layer [2023-03-28T18:47:00.345Z] ce5c4a1c91eb: Pulling fs layer [2023-03-28T18:47:00.345Z] 169dfbe0d373: Pulling fs layer [2023-03-28T18:47:00.345Z] e1ff8fa3b103: Pulling fs layer [2023-03-28T18:47:00.345Z] 52ebb69f0ebf: Pulling fs layer [2023-03-28T18:47:00.345Z] 5abe8eddf0d5: Pulling fs layer [2023-03-28T18:47:00.345Z] 169dfbe0d373: Waiting [2023-03-28T18:47:00.345Z] e1ff8fa3b103: Waiting [2023-03-28T18:47:00.345Z] 52ebb69f0ebf: Waiting [2023-03-28T18:47:00.345Z] 5abe8eddf0d5: Waiting [2023-03-28T18:47:00.345Z] 55522c791124: Verifying Checksum [2023-03-28T18:47:00.345Z] 55522c791124: Download complete [2023-03-28T18:47:00.631Z] 169dfbe0d373: Verifying Checksum [2023-03-28T18:47:00.631Z] 169dfbe0d373: Download complete [2023-03-28T18:47:00.631Z] e1ff8fa3b103: Verifying Checksum [2023-03-28T18:47:00.631Z] af6eaf76a39c: Download complete [2023-03-28T18:47:01.611Z] af6eaf76a39c: Pull complete [2023-03-28T18:47:01.611Z] 5abe8eddf0d5: Verifying Checksum [2023-03-28T18:47:01.611Z] 5abe8eddf0d5: Download complete [2023-03-28T18:47:03.046Z] ce5c4a1c91eb: Verifying Checksum [2023-03-28T18:47:03.046Z] ce5c4a1c91eb: Download complete [2023-03-28T18:47:03.316Z] 52ebb69f0ebf: Verifying Checksum [2023-03-28T18:47:03.316Z] 52ebb69f0ebf: Download complete [2023-03-28T18:47:05.286Z] 55522c791124: Pull complete [2023-03-28T18:47:17.629Z] ce5c4a1c91eb: Pull complete [2023-03-28T18:47:17.899Z] 169dfbe0d373: Pull complete [2023-03-28T18:47:18.169Z] e1ff8fa3b103: Pull complete [2023-03-28T18:47:24.860Z] 52ebb69f0ebf: Pull complete [2023-03-28T18:47:27.458Z] 5abe8eddf0d5: Pull complete [2023-03-28T18:47:27.458Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-28T18:47:27.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-28T18:47:27.458Z] ---> 6cb57ee374ae [2023-03-28T18:47:27.458Z] Step 3/10 : ARG MAKE=make build [2023-03-28T18:47:28.879Z] ---> Running in dff9f3bb5b53 [2023-03-28T18:47:29.150Z] Removing intermediate container dff9f3bb5b53 [2023-03-28T18:47:29.150Z] ---> e119d152dace [2023-03-28T18:47:29.150Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-28T18:47:29.150Z] ---> Running in c55eee33b052 [2023-03-28T18:47:29.419Z] Removing intermediate container c55eee33b052 [2023-03-28T18:47:29.420Z] ---> 3cec3aef171a [2023-03-28T18:47:29.420Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-28T18:47:29.690Z] ---> Running in e1d8f66601f8 [2023-03-28T18:47:29.966Z] Removing intermediate container e1d8f66601f8 [2023-03-28T18:47:29.966Z] ---> a789f0a2b599 [2023-03-28T18:47:29.966Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-28T18:47:29.966Z] ---> Running in 65c7a5bf4df4 [2023-03-28T18:47:31.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T18:47:31.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T18:47:32.951Z] OK: 263 MiB in 53 packages [2023-03-28T18:47:33.538Z] Removing intermediate container 65c7a5bf4df4 [2023-03-28T18:47:33.538Z] ---> a11874b8f0e5 [2023-03-28T18:47:33.538Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-28T18:47:34.125Z] ---> 2cf2b30c48e4 [2023-03-28T18:47:34.125Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T18:47:34.125Z] ---> Running in 8aa3dbaeebbc [2023-03-28T18:48:42.045Z] Removing intermediate container 8aa3dbaeebbc [2023-03-28T18:48:42.045Z] ---> 3bb138c53233 [2023-03-28T18:48:42.045Z] Step 9/10 : COPY . . [2023-03-28T18:48:42.045Z] ---> 38fe957025ae [2023-03-28T18:48:42.045Z] Step 10/10 : RUN ${MAKE} [2023-03-28T18:48:42.045Z] ---> Running in 216507f4985d [2023-03-28T18:48:42.045Z] noop [2023-03-28T18:48:42.045Z] Removing intermediate container 216507f4985d [2023-03-28T18:48:42.045Z] ---> f455cf890865 [2023-03-28T18:48:42.045Z] Successfully built f455cf890865 [2023-03-28T18:48:42.045Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:48:42.399Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T18:48:42.399Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:48:42.602Z] prd-ubuntu20.04-docker-arm64-4c-16g-6086 does not seem to be running inside a container [2023-03-28T18:48:42.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-28T18:48:43.816Z] $ docker top eed9150a7775cc9e5810b221936141f9b7ddaf613a6d68943b4e215f28c5b66f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:48:44.628Z] + go version [2023-03-28T18:48:44.628Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-28T18:48:44.650Z] $ docker stop --time=1 eed9150a7775cc9e5810b221936141f9b7ddaf613a6d68943b4e215f28c5b66f [2023-03-28T18:48:48.704Z] $ docker rm -f --volumes eed9150a7775cc9e5810b221936141f9b7ddaf613a6d68943b4e215f28c5b66f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:48:49.199Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T18:48:49.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:48:49.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-6086 does not seem to be running inside a container [2023-03-28T18:48:49.436Z] $ 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/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-28T18:48:50.561Z] $ docker top a56e75edd25c2b399a73b46ab2de0a3b8591bd517b3a95c032823817ba2b869d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:48:51.043Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/13 [Pipeline] fileExists [Pipeline] sh [2023-03-28T18:48:51.370Z] + make test [2023-03-28T18:48:51.370Z] go test -race -coverprofile=coverage.out ./... [2023-03-28T18:49:38.199Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-28T18:51:44.883Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-28T18:51:44.883Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-28T18:51:44.883Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-28T18:51:44.883Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-28T18:51:44.883Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-28T18:51:53.096Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.229s coverage: 27.6% of statements [2023-03-28T18:51:53.363Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.283s coverage: 79.9% of statements [2023-03-28T18:52:03.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-28T18:52:03.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-28T18:52:03.443Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.401s coverage: 86.0% of statements [2023-03-28T18:52:08.795Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-28T18:52:08.795Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-28T18:52:09.064Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.454s coverage: 77.5% of statements [2023-03-28T18:52:11.645Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.288s coverage: 14.6% of statements [2023-03-28T18:52:13.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-28T18:52:13.589Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-28T18:52:14.175Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.445s coverage: 68.5% of statements [2023-03-28T18:52:16.768Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.523s coverage: 89.2% of statements [2023-03-28T18:52:18.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-28T18:52:18.986Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.233s coverage: 5.6% of statements [2023-03-28T18:52:19.570Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-28T18:52:19.570Z] GO111MODULE=on go vet ./... [2023-03-28T18:54:56.554Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-28T18:54:56.554Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-28T18:54:56.554Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-28T18:54:56.575Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-28T18:54:56.593Z] $ docker stop --time=1 a56e75edd25c2b399a73b46ab2de0a3b8591bd517b3a95c032823817ba2b869d [2023-03-28T18:54:58.501Z] $ docker rm -f --volumes a56e75edd25c2b399a73b46ab2de0a3b8591bd517b3a95c032823817ba2b869d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T18:55:00.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-28T18:55:00.110Z] Warning: overwriting stash ‘coverage-report’ [2023-03-28T18:55:00.700Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T18:55:01.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-28T18:55:01.427Z] + ls -al . [2023-03-28T18:55:01.427Z] total 268 [2023-03-28T18:55:01.427Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:48 . [2023-03-28T18:55:01.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:46 .. [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 18:46 .dockerignore [2023-03-28T18:55:01.427Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:46 .git [2023-03-28T18:55:01.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:46 .github [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 28 18:46 .gitignore [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 18:46 .golangci.yml [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 28 18:46 CHANGELOG.md [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 18:46 GOVERNANCE.md [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 28 18:46 Jenkinsfile [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 28 18:46 LICENSE [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 28 18:46 Makefile [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 28 18:46 OWNERS.md [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 28 18:46 README.md [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:43 VERSION [2023-03-28T18:55:01.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:46 bin [2023-03-28T18:55:01.427Z] -rw-r--r-- 1 jenkins jenkins 105787 Mar 28 18:52 coverage.out [2023-03-28T18:55:01.427Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 18:46 example [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 28 18:46 go.mod [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 28 18:46 go.sum [2023-03-28T18:55:01.427Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 18:46 internal [2023-03-28T18:55:01.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:46 openapi [2023-03-28T18:55:01.427Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 28 18:46 pkg [2023-03-28T18:55:01.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:46 snap [2023-03-28T18:55:01.427Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 28 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:55:01.769Z] + 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=0f21675580947b927f591b9c1efa400353979866 --label arch=arm64 --label version=0.0.0 . [2023-03-28T18:55:02.354Z] Sending build context to Docker daemon 6.079MB [2023-03-28T18:55:02.354Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T18:55:02.354Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-28T18:55:02.354Z] ---> f455cf890865 [2023-03-28T18:55:02.355Z] Step 3/23 : ARG MAKE=make build [2023-03-28T18:55:02.355Z] ---> Running in 35b108604200 [2023-03-28T18:55:02.944Z] Removing intermediate container 35b108604200 [2023-03-28T18:55:02.944Z] ---> 9923177a2b2c [2023-03-28T18:55:02.944Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-28T18:55:02.944Z] ---> Running in 09248dc05471 [2023-03-28T18:55:03.213Z] Removing intermediate container 09248dc05471 [2023-03-28T18:55:03.213Z] ---> ebc5c56122c8 [2023-03-28T18:55:03.213Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-28T18:55:03.213Z] ---> Running in 2285bf622b7d [2023-03-28T18:55:03.482Z] Removing intermediate container 2285bf622b7d [2023-03-28T18:55:03.482Z] ---> 956ea7897c07 [2023-03-28T18:55:03.482Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-28T18:55:03.482Z] ---> Running in 99a0e1365144 [2023-03-28T18:55:04.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T18:55:05.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T18:55:06.454Z] OK: 263 MiB in 53 packages [2023-03-28T18:55:07.416Z] Removing intermediate container 99a0e1365144 [2023-03-28T18:55:07.416Z] ---> 246d8a26a91e [2023-03-28T18:55:07.416Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-28T18:55:10.002Z] ---> 7dae2624da01 [2023-03-28T18:55:10.002Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T18:55:10.002Z] ---> Running in 7b3cb77835e3 [2023-03-28T18:55:12.595Z] Removing intermediate container 7b3cb77835e3 [2023-03-28T18:55:12.595Z] ---> 15367dc04fec [2023-03-28T18:55:12.595Z] Step 9/23 : COPY . . [2023-03-28T18:55:14.004Z] ---> c2e9697eba7b [2023-03-28T18:55:14.004Z] Step 10/23 : RUN ${MAKE} [2023-03-28T18:55:14.004Z] ---> Running in f8e7cae06985 [2023-03-28T18:55:14.962Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-28T18:57:36.684Z] Removing intermediate container f8e7cae06985 [2023-03-28T18:57:36.684Z] ---> 38ad252da6dd [2023-03-28T18:57:36.684Z] Step 11/23 : FROM alpine:3.17 [2023-03-28T18:57:36.684Z] 3.17: Pulling from library/alpine [2023-03-28T18:57:36.951Z] af6eaf76a39c: Already exists [2023-03-28T18:57:37.221Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-28T18:57:37.221Z] Status: Downloaded newer image for alpine:3.17 [2023-03-28T18:57:37.221Z] ---> d74e625d9115 [2023-03-28T18:57:37.221Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-28T18:57:37.221Z] ---> Running in 0db9c195005c [2023-03-28T18:57:37.491Z] Removing intermediate container 0db9c195005c [2023-03-28T18:57:37.491Z] ---> 71aab62af323 [2023-03-28T18:57:37.491Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-28T18:57:37.491Z] ---> Running in 7818ff343bfe [2023-03-28T18:57:38.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T18:57:39.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T18:57:40.450Z] OK: 7 MiB in 15 packages [2023-03-28T18:57:41.036Z] Removing intermediate container 7818ff343bfe [2023-03-28T18:57:41.036Z] ---> d8f26aa7dbb4 [2023-03-28T18:57:41.036Z] Step 14/23 : WORKDIR / [2023-03-28T18:57:41.305Z] ---> Running in 5ddaef2e938a [2023-03-28T18:57:41.573Z] Removing intermediate container 5ddaef2e938a [2023-03-28T18:57:41.573Z] ---> 68c0c6bd0a27 [2023-03-28T18:57:41.573Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-28T18:57:42.160Z] ---> 5775f0374b3b [2023-03-28T18:57:42.160Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-28T18:57:43.577Z] ---> 11a678bd473f [2023-03-28T18:57:43.577Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-28T18:57:44.164Z] ---> 1b809a8377a0 [2023-03-28T18:57:44.164Z] Step 18/23 : EXPOSE 59999 [2023-03-28T18:57:44.164Z] ---> Running in b46db1a94d07 [2023-03-28T18:57:46.755Z] Removing intermediate container b46db1a94d07 [2023-03-28T18:57:46.755Z] ---> 19d7b618d173 [2023-03-28T18:57:46.755Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-28T18:57:46.755Z] ---> Running in 19aa71e73012 [2023-03-28T18:57:46.755Z] Removing intermediate container 19aa71e73012 [2023-03-28T18:57:46.755Z] ---> bd09ef6fd676 [2023-03-28T18:57:46.755Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-28T18:57:46.755Z] ---> Running in 1f819413d37b [2023-03-28T18:57:47.343Z] Removing intermediate container 1f819413d37b [2023-03-28T18:57:47.343Z] ---> 4b43f6026ecd [2023-03-28T18:57:47.343Z] Step 21/23 : LABEL arch=arm64 [2023-03-28T18:57:47.343Z] ---> Running in a6170223ea9d [2023-03-28T18:57:47.613Z] Removing intermediate container a6170223ea9d [2023-03-28T18:57:47.613Z] ---> e3b9d24af182 [2023-03-28T18:57:47.613Z] Step 22/23 : LABEL git_sha=0f21675580947b927f591b9c1efa400353979866 [2023-03-28T18:57:47.613Z] ---> Running in c0531f41fb04 [2023-03-28T18:57:47.887Z] Removing intermediate container c0531f41fb04 [2023-03-28T18:57:47.887Z] ---> 2a82d12844ab [2023-03-28T18:57:47.887Z] Step 23/23 : LABEL version=0.0.0 [2023-03-28T18:57:47.887Z] ---> Running in 89643ef97f2a [2023-03-28T18:57:48.482Z] Removing intermediate container 89643ef97f2a [2023-03-28T18:57:48.482Z] ---> c7069bc75bde [2023-03-28T18:57:48.482Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-28T18:57:48.482Z] Successfully built c7069bc75bde [2023-03-28T18:57:48.482Z] 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-03-28T18:57:48.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T18:57:48.914Z] [2023-03-28T18:57:48.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:57:49.249Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T18:57:49.249Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-28T18:57:49.249Z] 8998bd30e6a1: Pulling fs layer [2023-03-28T18:57:49.249Z] 04944245beec: Pulling fs layer [2023-03-28T18:57:49.249Z] 699f458cf7ca: Pulling fs layer [2023-03-28T18:57:49.249Z] 765212b225bb: Pulling fs layer [2023-03-28T18:57:49.249Z] f23df028b6ca: Pulling fs layer [2023-03-28T18:57:49.249Z] d65c8cfc05b1: Pulling fs layer [2023-03-28T18:57:49.249Z] 2437ff75d9bd: Pulling fs layer [2023-03-28T18:57:49.249Z] 765212b225bb: Waiting [2023-03-28T18:57:49.249Z] d65c8cfc05b1: Waiting [2023-03-28T18:57:49.249Z] 2437ff75d9bd: Waiting [2023-03-28T18:57:49.525Z] 04944245beec: Verifying Checksum [2023-03-28T18:57:49.525Z] 04944245beec: Download complete [2023-03-28T18:57:49.525Z] 765212b225bb: Verifying Checksum [2023-03-28T18:57:49.525Z] 765212b225bb: Download complete [2023-03-28T18:57:49.525Z] f23df028b6ca: Verifying Checksum [2023-03-28T18:57:49.525Z] f23df028b6ca: Download complete [2023-03-28T18:57:49.525Z] d65c8cfc05b1: Verifying Checksum [2023-03-28T18:57:49.525Z] d65c8cfc05b1: Download complete [2023-03-28T18:57:49.794Z] 699f458cf7ca: Verifying Checksum [2023-03-28T18:57:49.794Z] 699f458cf7ca: Download complete [2023-03-28T18:57:50.065Z] 8998bd30e6a1: Verifying Checksum [2023-03-28T18:57:50.065Z] 8998bd30e6a1: Download complete [2023-03-28T18:57:52.651Z] 2437ff75d9bd: Verifying Checksum [2023-03-28T18:57:52.651Z] 2437ff75d9bd: Download complete [2023-03-28T18:57:54.064Z] 8998bd30e6a1: Pull complete [2023-03-28T18:57:54.647Z] 04944245beec: Pull complete [2023-03-28T18:57:56.057Z] 699f458cf7ca: Pull complete [2023-03-28T18:57:56.057Z] 765212b225bb: Pull complete [2023-03-28T18:57:57.021Z] f23df028b6ca: Pull complete [2023-03-28T18:57:57.021Z] d65c8cfc05b1: Pull complete [2023-03-28T18:58:15.233Z] 2437ff75d9bd: Pull complete [2023-03-28T18:58:15.233Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-28T18:58:15.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T18:58:15.233Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:58:15.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-6086 does not seem to be running inside a container [2023-03-28T18:58:15.514Z] $ 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/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-28T18:58:18.315Z] $ docker top 444d981329e7a325e83cc7b705874893f2f729e17aae75a1c3a4bb1748f5778b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:58:19.185Z] ---> job-cost.sh [2023-03-28T18:58:19.185Z] lf-activate-venv: SKIPPING [2023-03-28T18:58:19.185Z] INFO: No Stack... [2023-03-28T18:58:19.453Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-28T18:58:20.413Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T18:58:21.049Z] + + cut -d, -f6cat [2023-03-28T18:58:21.049Z] /w/workspace/device-sdk-go/13/archives/cost.csv [Pipeline] lock [2023-03-28T18:58:21.113Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-13-stack-cost] [2023-03-28T18:58:21.120Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-13-stack-cost] did not exist. Created. [2023-03-28T18:58:21.120Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T18:58:21.780Z] /w/workspace/device-sdk-go/13@tmp/durable-a66148dd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-28T18:58:22.436Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-28T18:58:22.452Z] Warning: overwriting stash ‘stack-cost’ [2023-03-28T18:58:22.515Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T18:58:22.522Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-13-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T18:58:22.541Z] $ docker stop --time=1 444d981329e7a325e83cc7b705874893f2f729e17aae75a1c3a4bb1748f5778b [2023-03-28T18:58:24.030Z] $ docker rm -f --volumes 444d981329e7a325e83cc7b705874893f2f729e17aae75a1c3a4bb1748f5778b [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-03-28T18:58:24.361Z] provisioning config files... [2023-03-28T18:58:24.369Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config10402442486044024647tmp [Pipeline] { [Pipeline] sh [2023-03-28T18:58:24.662Z] + set +x [2023-03-28T18:58:24.662Z] + curl -s https://codecov.io/bash [2023-03-28T18:58:24.662Z] + bash -s -- [2023-03-28T18:58:24.662Z] [2023-03-28T18:58:24.662Z] _____ _ [2023-03-28T18:58:24.662Z] / ____| | | [2023-03-28T18:58:24.662Z] | | ___ __| | ___ ___ _____ __ [2023-03-28T18:58:24.662Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-28T18:58:24.662Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-28T18:58:24.662Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-28T18:58:24.662Z] Bash-1.0.6 [2023-03-28T18:58:24.662Z] [2023-03-28T18:58:24.662Z] [2023-03-28T18:58:24.662Z] ==> git version 2.25.1 found [2023-03-28T18:58:24.662Z] ==> 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-03-28T18:58:24.662Z] Release-Date: 2020-01-08 [2023-03-28T18:58:24.662Z] 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-03-28T18:58:24.662Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-28T18:58:24.662Z] ==> Jenkins CI detected. [2023-03-28T18:58:24.662Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-28T18:58:24.662Z] project root: . [2023-03-28T18:58:24.662Z] --> token set from env [2023-03-28T18:58:24.662Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-28T18:58:24.662Z] ==> Running gcov in . (disable via -X gcov) [2023-03-28T18:58:24.662Z] ==> Python coveragepy not found [2023-03-28T18:58:24.662Z] ==> Searching for coverage reports in: [2023-03-28T18:58:24.662Z] + . [2023-03-28T18:58:24.662Z] -> Found 1 reports [2023-03-28T18:58:24.662Z] ==> Detecting git/mercurial file structure [2023-03-28T18:58:24.662Z] ==> Reading reports [2023-03-28T18:58:24.662Z] + ./coverage.out bytes=105787 [2023-03-28T18:58:24.662Z] ==> Appending adjustments [2023-03-28T18:58:24.662Z] https://docs.codecov.io/docs/fixing-reports [2023-03-28T18:58:24.921Z] + Found adjustments [2023-03-28T18:58:24.921Z] ==> Gzipping contents [2023-03-28T18:58:24.921Z] 16K /tmp/codecov.R2T23c.gz [2023-03-28T18:58:24.921Z] ==> Uploading reports [2023-03-28T18:58:24.921Z] url: https://codecov.io [2023-03-28T18:58:24.921Z] query: branch=PR-1391&commit=01ceb96bfd88c0a2934357dbae221ca8cc5db34d&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-28T18:58:24.921Z] -> Pinging Codecov [2023-03-28T18:58:24.921Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1391&commit=01ceb96bfd88c0a2934357dbae221ca8cc5db34d&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-28T18:58:25.179Z] -> Uploading to [2023-03-28T18:58:25.179Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-28/7E55EF52A471D76F132DFD9A03CDDE97/01ceb96bfd88c0a2934357dbae221ca8cc5db34d/c3279a1e-fe82-4863-9e2d-20d925f1b714.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T185824Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b7a369cbbd7ac8937907313e264c049ea9d82f7f513935c66d08b772f8c938a [2023-03-28T18:58:25.179Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T18:58:25.179Z] Dload Upload Total Spent Left Speed [2023-03-28T18:58:25.438Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14925 0 0 100 14925 0 38665 --:--:-- --:--:-- --:--:-- 38565 [2023-03-28T18:58:25.438Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/01ceb96bfd88c0a2934357dbae221ca8cc5db34d [Pipeline] } [2023-03-28T18:58:25.445Z] 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-03-28T18:58:26.126Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives ] [2023-03-28T18:58:26.126Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-28T18:58:26.126Z] total 16 [2023-03-28T18:58:26.126Z] drwxr-xr-x 3 root root 4096 Mar 28 18:44 . [2023-03-28T18:58:26.126Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 18:44 .. [2023-03-28T18:58:26.126Z] drwxr-xr-x 2 root root 4096 Mar 28 18:44 cost [2023-03-28T18:58:26.126Z] -rw-r--r-- 1 root root 87 Mar 28 18:44 cost.csv [2023-03-28T18:58:26.126Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-28T18:58:26.126Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-28T18:58:26.126Z] total 16 [2023-03-28T18:58:26.126Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:44 . [2023-03-28T18:58:26.126Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 18:44 .. [2023-03-28T18:58:26.126Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 18:44 cost [2023-03-28T18:58:26.126Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 28 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:58:26.415Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:58:27.272Z] ---> package-listing.sh [2023-03-28T18:58:27.273Z] ++ facter osfamily [2023-03-28T18:58:27.273Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-28T18:58:27.532Z] + OS_FAMILY=debian [2023-03-28T18:58:27.532Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-28T18:58:27.532Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-28T18:58:27.532Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-28T18:58:27.532Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-28T18:58:27.532Z] + PACKAGES=/tmp/packages_start.txt [2023-03-28T18:58:27.532Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-28T18:58:27.532Z] + PACKAGES=/tmp/packages_end.txt [2023-03-28T18:58:27.532Z] + case "${OS_FAMILY}" in [2023-03-28T18:58:27.532Z] + dpkg -l [2023-03-28T18:58:27.532Z] + grep '^ii' [2023-03-28T18:58:27.532Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-28T18:58:27.532Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-28T18:58:27.532Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-28T18:58:27.532Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-28T18:58:27.532Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [2023-03-28T18:58:27.532Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [Pipeline] echo [2023-03-28T18:58:27.542Z] 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-1391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-28T18:58:27.817Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:58:28.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:58:28.372Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:58:28.447Z] prd-ubuntu20.04-docker-8c-8g-6084 does not seem to be running inside a container [2023-03-28T18:58:28.476Z] $ 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-1391/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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T18:58:28.685Z] $ docker top 7ef586f38a89b2b7eecc055d22afd7996777b602a6905db9a2699b6e94ac16f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:58:29.024Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-28T18:58:29.306Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-28T18:58:29.589Z] + ls /var/log/sa-host [2023-03-28T18:58:29.589Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T18:58:29.656Z] provisioning config files... [2023-03-28T18:58:29.665Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config11459199314834878856tmp [Pipeline] { [Pipeline] echo [2023-03-28T18:58:29.676Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:58:29.954Z] ---> create-netrc.sh [Pipeline] } [2023-03-28T18:58:29.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:58:30.274Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-28T18:58:30.282Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:58:30.563Z] ---> sudo-logs.sh [2023-03-28T18:58:30.563Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-28T18:58:30.595Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:58:30.875Z] ---> job-cost.sh [2023-03-28T18:58:30.875Z] lf-activate-venv: SKIPPING [2023-03-28T18:58:30.875Z] DEBUG: total: 0.2199999988079071 [2023-03-28T18:58:30.875Z] INFO: Retrieving Stack Cost... [2023-03-28T18:58:31.134Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T18:58:31.702Z] INFO: Archiving Costs [Pipeline] echo [2023-03-28T18:58:31.714Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:58:31.999Z] ---> logs-deploy.sh [2023-03-28T18:58:31.999Z] lf-activate-venv: SKIPPING [2023-03-28T18:58:31.999Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1391/13 [2023-03-28T18:58:31.999Z] INFO: archiving workspace using pattern(s): [2023-03-28T18:58:32.937Z] Archives upload complete. [2023-03-28T18:58:32.937Z] INFO: archiving logs to Nexus