Pull request #1513 opened 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 ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 10694e6a91a67f5fde8debfd675953a530180938+98543e36ecf96a570242d73ea5ad964aaa05b01f (61e14db6c7f4ba191496e4fa36e49638d520575f) 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-ssh12862991363866194169.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16038584525563847529.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh895652657496177415.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10119444698384658724.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh17387160706411745411.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3006768762144239548.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6593’ Running on prd-ubuntu20.04-docker-8c-8g-6597 in /w/workspace/gexfoundry_device-sdk-go_PR-1513 [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-1513 # 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/1513/head:refs/remotes/origin/PR-1513 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 98543e36ecf96a570242d73ea5ad964aaa05b01f into PR head commit 10694e6a91a67f5fde8debfd675953a530180938 Merge succeeded, producing f9b5e51955539fa1bab30447cb7b3fcebde5470d Checking out Revision f9b5e51955539fa1bab30447cb7b3fcebde5470d (PR-1513) > git config core.sparsecheckout # timeout=10 > git checkout -f 10694e6a91a67f5fde8debfd675953a530180938 # 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 98543e36ecf96a570242d73ea5ad964aaa05b01f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9b5e51955539fa1bab30447cb7b3fcebde5470d # timeout=10 Commit message: "Merge commit '98543e36ecf96a570242d73ea5ad964aaa05b01f' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-19T18:03:45.663Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T18:03:45.862Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T18:03:45.961Z] ========================================================= [2023-09-19T18:03:45.961Z] EdgeX Global Pipelines Version Info [2023-09-19T18:03:45.961Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:03:47.118Z] ------------------- [2023-09-19T18:03:47.118Z] stable info: [2023-09-19T18:03:47.118Z] ------------------- [2023-09-19T18:03:47.118Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T18:03:47.118Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T18:03:47.118Z] Message: update stable to v1.0.254 [2023-09-19T18:03:47.381Z] ------------------- [2023-09-19T18:03:47.381Z] experimental info: [2023-09-19T18:03:47.381Z] ------------------- [2023-09-19T18:03:47.381Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T18:03:47.381Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T18:03:47.381Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T18:03:47.666Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-19T18:03:47.711Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-19T18:03:47.756Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T18:03:47.801Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T18:03:47.842Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T18:03:47.883Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T18:03:47.928Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T18:03:47.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-19T18:03:48.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T18:03:48.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T18:03:48.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T18:03:48.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-19T18:03:48.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T18:03:48.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T18:03:48.252Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T18:03:48.291Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T18:03:48.332Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T18:03:48.373Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T18:03:48.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T18:03:48.452Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T18:03:48.501Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-19T18:03:48.540Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-19T18:03:48.581Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T18:03:48.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T18:03:48.667Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T18:03:48.718Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T18:03:48.756Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T18:03:48.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1513 [Pipeline] echo [2023-09-19T18:03:48.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1513 [Pipeline] echo [2023-09-19T18:03:48.888Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1513 [Pipeline] echo [2023-09-19T18:03:48.932Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9b5e51955539fa1bab30447cb7b3fcebde5470d [Pipeline] echo [2023-09-19T18:03:48.975Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9b5e51 [Pipeline] echo [2023-09-19T18:03:49.020Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:03:49.136Z] provisioning config files... [2023-09-19T18:03:49.151Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp/config15433076233230918745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:03:49.494Z] ---> docker-login.sh [2023-09-19T18:03:49.494Z] nexus3.edgexfoundry.org:10001 [2023-09-19T18:03:50.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:03:50.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:03:50.878Z] Configure a credential helper to remove this warning. See [2023-09-19T18:03:50.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:03:50.878Z] [2023-09-19T18:03:50.878Z] Login Succeeded [2023-09-19T18:03:50.878Z] nexus3.edgexfoundry.org:10002 [2023-09-19T18:03:50.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:03:51.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:03:51.142Z] Configure a credential helper to remove this warning. See [2023-09-19T18:03:51.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:03:51.142Z] [2023-09-19T18:03:51.142Z] Login Succeeded [2023-09-19T18:03:51.142Z] nexus3.edgexfoundry.org:10003 [2023-09-19T18:03:51.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:03:51.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:03:51.142Z] Configure a credential helper to remove this warning. See [2023-09-19T18:03:51.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:03:51.142Z] [2023-09-19T18:03:51.142Z] Login Succeeded [2023-09-19T18:03:51.142Z] nexus3.edgexfoundry.org:10004 [2023-09-19T18:03:51.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:03:51.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:03:51.406Z] Configure a credential helper to remove this warning. See [2023-09-19T18:03:51.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:03:51.406Z] [2023-09-19T18:03:51.406Z] Login Succeeded [2023-09-19T18:03:51.406Z] docker.io [2023-09-19T18:03:51.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:03:51.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:03:51.666Z] Configure a credential helper to remove this warning. See [2023-09-19T18:03:51.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:03:51.666Z] [2023-09-19T18:03:51.666Z] Login Succeeded [2023-09-19T18:03:51.666Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T18:03:51.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T18:03:52.304Z] + git rev-list -1 --merges f9b5e51955539fa1bab30447cb7b3fcebde5470d~1..f9b5e51955539fa1bab30447cb7b3fcebde5470d [Pipeline] echo [2023-09-19T18:03:52.366Z] -----------> git rev-list -1 --merges f9b5e51955539fa1bab30447cb7b3fcebde5470d~1..f9b5e51955539fa1bab30447cb7b3fcebde5470d f9b5e51955539fa1bab30447cb7b3fcebde5470d [2023-09-19T18:03:52.366Z] f9b5e51955539fa1bab30447cb7b3fcebde5470d [false] [Pipeline] sh [2023-09-19T18:03:52.677Z] + git log --format=format:%s -1 f9b5e51955539fa1bab30447cb7b3fcebde5470d [Pipeline] echo [2023-09-19T18:03:52.709Z] ========================================================= [2023-09-19T18:03:52.709Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T18:03:52.709Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T18:03:53.138Z] + git log --format=format:%s -1 f9b5e51955539fa1bab30447cb7b3fcebde5470d [Pipeline] echo [2023-09-19T18:03:53.173Z] [semverPrep] GIT_COMMIT: f9b5e51955539fa1bab30447cb7b3fcebde5470d, Commit Message: Merge commit '98543e36ecf96a570242d73ea5ad964aaa05b01f' into HEAD [Pipeline] echo [2023-09-19T18:03:53.202Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T18:03:53.578Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T18:03:53.578Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T18:03:53.578Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T18:03:53.578Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T18:03:53.578Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T18:03:53.578Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T18:03:53.578Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:03:54.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:03:54.008Z] [2023-09-19T18:03:54.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:03:54.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:03:54.392Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T18:03:54.392Z] b85a868b505f: Pulling fs layer [2023-09-19T18:03:54.392Z] e2be974225ed: Pulling fs layer [2023-09-19T18:03:54.392Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T18:03:54.392Z] 988bab9f4d93: Pulling fs layer [2023-09-19T18:03:54.392Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T18:03:54.392Z] eaf3925da568: Pulling fs layer [2023-09-19T18:03:54.392Z] bab4dde63d76: Pulling fs layer [2023-09-19T18:03:54.392Z] bde34c3a00c8: Pulling fs layer [2023-09-19T18:03:54.392Z] b352a97aabf1: Pulling fs layer [2023-09-19T18:03:54.392Z] 4872d77fe225: Pulling fs layer [2023-09-19T18:03:54.392Z] 5851b861e8e6: Pulling fs layer [2023-09-19T18:03:54.392Z] 988bab9f4d93: Waiting [2023-09-19T18:03:54.392Z] 5851b861e8e6: Waiting [2023-09-19T18:03:54.392Z] eaf3925da568: Waiting [2023-09-19T18:03:54.392Z] b352a97aabf1: Waiting [2023-09-19T18:03:54.392Z] bab4dde63d76: Waiting [2023-09-19T18:03:54.392Z] bde34c3a00c8: Waiting [2023-09-19T18:03:54.392Z] 4872d77fe225: Waiting [2023-09-19T18:03:54.392Z] 1469e6f7b9e6: Waiting [2023-09-19T18:03:54.392Z] e2be974225ed: Download complete [2023-09-19T18:03:54.392Z] 988bab9f4d93: Download complete [2023-09-19T18:03:54.652Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T18:03:54.652Z] 1469e6f7b9e6: Download complete [2023-09-19T18:03:54.652Z] eaf3925da568: Download complete [2023-09-19T18:03:54.652Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T18:03:54.652Z] 339a4e72a1f5: Download complete [2023-09-19T18:03:54.652Z] bde34c3a00c8: Download complete [2023-09-19T18:03:54.652Z] b352a97aabf1: Download complete [2023-09-19T18:03:54.652Z] 4872d77fe225: Verifying Checksum [2023-09-19T18:03:54.652Z] 4872d77fe225: Download complete [2023-09-19T18:03:54.652Z] 5851b861e8e6: Verifying Checksum [2023-09-19T18:03:54.652Z] 5851b861e8e6: Download complete [2023-09-19T18:03:54.652Z] b85a868b505f: Download complete [2023-09-19T18:03:54.913Z] bab4dde63d76: Verifying Checksum [2023-09-19T18:03:54.913Z] bab4dde63d76: Download complete [2023-09-19T18:03:55.893Z] b85a868b505f: Pull complete [2023-09-19T18:03:56.152Z] e2be974225ed: Pull complete [2023-09-19T18:03:56.720Z] 339a4e72a1f5: Pull complete [2023-09-19T18:03:56.720Z] 988bab9f4d93: Pull complete [2023-09-19T18:03:57.286Z] 1469e6f7b9e6: Pull complete [2023-09-19T18:03:57.286Z] eaf3925da568: Pull complete [2023-09-19T18:03:59.210Z] bab4dde63d76: Pull complete [2023-09-19T18:03:59.210Z] bde34c3a00c8: Pull complete [2023-09-19T18:03:59.471Z] b352a97aabf1: Pull complete [2023-09-19T18:03:59.471Z] 4872d77fe225: Pull complete [2023-09-19T18:03:59.471Z] 5851b861e8e6: Pull complete [2023-09-19T18:03:59.471Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T18:03:59.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:03:59.471Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:03:59.711Z] prd-ubuntu20.04-docker-8c-8g-6597 does not seem to be running inside a container [2023-09-19T18:03:59.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1513 -v /w/workspace/gexfoundry_device-sdk-go_PR-1513:/w/workspace/gexfoundry_device-sdk-go_PR-1513:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T18:04:04.307Z] $ docker top 1bcccc1af69564cc2091a9f74e72d0e0954f045010edd9d08e7208e1e48e78b8 -eo pid,comm [2023-09-19T18:04:04.345Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-19T18:04:04.345Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T18:04:04.483Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T18:04:04.484Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T18:04:04.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T18:04:04.636Z] $ docker exec 1bcccc1af69564cc2091a9f74e72d0e0954f045010edd9d08e7208e1e48e78b8 ssh-agent [2023-09-19T18:04:04.721Z] SSH_AUTH_SOCK=/tmp/ssh-QTZOfUCkr4FW/agent.31 [2023-09-19T18:04:04.721Z] SSH_AGENT_PID=37 [2023-09-19T18:04:04.729Z] Running ssh-add (command line suppressed) [2023-09-19T18:04:04.852Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp/private_key_2060288337814262812.key (/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp/private_key_2060288337814262812.key) [2023-09-19T18:04:04.847Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T18:04:05.178Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T18:04:05.226Z] $ docker exec --env ******** --env ******** 1bcccc1af69564cc2091a9f74e72d0e0954f045010edd9d08e7208e1e48e78b8 ssh-agent -k [2023-09-19T18:04:05.327Z] unset SSH_AUTH_SOCK; [2023-09-19T18:04:05.328Z] unset SSH_AGENT_PID; [2023-09-19T18:04:05.328Z] echo Agent pid 37 killed; [2023-09-19T18:04:05.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T18:04:05.398Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T18:04:05.398Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T18:04:05.513Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T18:04:05.537Z] $ docker exec 1bcccc1af69564cc2091a9f74e72d0e0954f045010edd9d08e7208e1e48e78b8 ssh-agent [2023-09-19T18:04:05.636Z] SSH_AUTH_SOCK=/tmp/ssh-rMbpHKurBglF/agent.69 [2023-09-19T18:04:05.636Z] SSH_AGENT_PID=75 [2023-09-19T18:04:05.642Z] Running ssh-add (command line suppressed) [2023-09-19T18:04:05.772Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp/private_key_16711479602219370532.key (/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp/private_key_16711479602219370532.key) [2023-09-19T18:04:05.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T18:04:06.099Z] + git semver init [2023-09-19T18:04:06.359Z] 2023-09-19 18:04:06,312 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T18:04:06.359Z] 2023-09-19 18:04:06,313 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1513/.semver [2023-09-19T18:04:06.359Z] 2023-09-19 18:04:06,314 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1513/.semver [2023-09-19T18:04:06.359Z] 2023-09-19 18:04:06,314 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1513/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1513, universal_newlines=False, shell=None, istream=None) [2023-09-19T18:04:07.299Z] 2023-09-19 18:04:07,240 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1513/.git/info/exclude [2023-09-19T18:04:07.299Z] 2023-09-19 18:04:07,240 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1513/.semver/PR-1513 with force:False [2023-09-19T18:04:07.299Z] 2023-09-19 18:04:07,240 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1513/.semver/PR-1513 [2023-09-19T18:04:07.299Z] 2023-09-19 18:04:07,245 [execute] INFO git cat-file --batch-check [2023-09-19T18:04:07.299Z] 2023-09-19 18:04:07,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1513/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T18:04:07.299Z] 2023-09-19 18:04:07,252 [execute] INFO git cat-file --batch [2023-09-19T18:04:07.299Z] 2023-09-19 18:04:07,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1513/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T18:04:07.299Z] 2023-09-19 18:04:07,257 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1513/.semver/PR-1513 [2023-09-19T18:04:07.299Z] 0.0.0 [Pipeline] } [2023-09-19T18:04:07.353Z] $ docker exec --env ******** --env ******** 1bcccc1af69564cc2091a9f74e72d0e0954f045010edd9d08e7208e1e48e78b8 ssh-agent -k [2023-09-19T18:04:07.448Z] unset SSH_AUTH_SOCK; [2023-09-19T18:04:07.449Z] unset SSH_AGENT_PID; [2023-09-19T18:04:07.449Z] echo Agent pid 75 killed; [2023-09-19T18:04:07.438Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T18:04:07.862Z] + git semver [Pipeline] } [2023-09-19T18:04:08.170Z] $ docker stop --time=1 1bcccc1af69564cc2091a9f74e72d0e0954f045010edd9d08e7208e1e48e78b8 [2023-09-19T18:04:09.461Z] $ docker rm -f --volumes 1bcccc1af69564cc2091a9f74e72d0e0954f045010edd9d08e7208e1e48e78b8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T18:04:09.833Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T18:04:10.141Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T18:04:10.158Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:04:10.800Z] provisioning config files... [2023-09-19T18:04:10.810Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp/config17440003775848923059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:04:11.157Z] ---> docker-login.sh [2023-09-19T18:04:11.157Z] nexus3.edgexfoundry.org:10001 [2023-09-19T18:04:11.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:04:11.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:04:11.157Z] Configure a credential helper to remove this warning. See [2023-09-19T18:04:11.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:04:11.157Z] [2023-09-19T18:04:11.157Z] Login Succeeded [2023-09-19T18:04:11.158Z] nexus3.edgexfoundry.org:10002 [2023-09-19T18:04:11.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:04:11.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:04:11.158Z] Configure a credential helper to remove this warning. See [2023-09-19T18:04:11.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:04:11.158Z] [2023-09-19T18:04:11.158Z] Login Succeeded [2023-09-19T18:04:11.158Z] nexus3.edgexfoundry.org:10003 [2023-09-19T18:04:11.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:04:11.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:04:11.418Z] Configure a credential helper to remove this warning. See [2023-09-19T18:04:11.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:04:11.418Z] [2023-09-19T18:04:11.418Z] Login Succeeded [2023-09-19T18:04:11.418Z] nexus3.edgexfoundry.org:10004 [2023-09-19T18:04:11.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:04:11.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:04:11.418Z] Configure a credential helper to remove this warning. See [2023-09-19T18:04:11.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:04:11.418Z] [2023-09-19T18:04:11.418Z] Login Succeeded [2023-09-19T18:04:11.418Z] docker.io [2023-09-19T18:04:11.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:04:11.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:04:11.677Z] Configure a credential helper to remove this warning. See [2023-09-19T18:04:11.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:04:11.677Z] [2023-09-19T18:04:11.677Z] Login Succeeded [2023-09-19T18:04:11.677Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T18:04:11.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T18:04:11.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:04:11.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:04:11.992Z] ========================================================= [2023-09-19T18:04:11.992Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T18:04:11.992Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:04:12.479Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T18:04:12.479Z] Sending build context to Docker daemon 11.17MB [2023-09-19T18:04:12.479Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:04:12.479Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T18:04:12.479Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T18:04:12.479Z] 7264a8db6415: Pulling fs layer [2023-09-19T18:04:12.479Z] c4d48a809fc2: Pulling fs layer [2023-09-19T18:04:12.479Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T18:04:12.479Z] ad3a456e5733: Pulling fs layer [2023-09-19T18:04:12.479Z] 9e4f439ed901: Pulling fs layer [2023-09-19T18:04:12.479Z] feaf6a47b606: Pulling fs layer [2023-09-19T18:04:12.479Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T18:04:12.479Z] 8ac70367396e: Pulling fs layer [2023-09-19T18:04:12.479Z] 9e4f439ed901: Waiting [2023-09-19T18:04:12.479Z] 6db16350a2e2: Pulling fs layer [2023-09-19T18:04:12.479Z] 9250d5d63582: Pulling fs layer [2023-09-19T18:04:12.479Z] feaf6a47b606: Waiting [2023-09-19T18:04:12.479Z] 8ac70367396e: Waiting [2023-09-19T18:04:12.479Z] 6db16350a2e2: Waiting [2023-09-19T18:04:12.479Z] 5e8b037d7d82: Waiting [2023-09-19T18:04:12.479Z] 9250d5d63582: Waiting [2023-09-19T18:04:12.479Z] ad3a456e5733: Waiting [2023-09-19T18:04:12.479Z] c4d48a809fc2: Verifying Checksum [2023-09-19T18:04:12.479Z] c4d48a809fc2: Download complete [2023-09-19T18:04:12.740Z] ad3a456e5733: Verifying Checksum [2023-09-19T18:04:12.740Z] ad3a456e5733: Download complete [2023-09-19T18:04:12.740Z] 9e4f439ed901: Verifying Checksum [2023-09-19T18:04:12.740Z] 9e4f439ed901: Download complete [2023-09-19T18:04:12.740Z] 7264a8db6415: Verifying Checksum [2023-09-19T18:04:12.740Z] 7264a8db6415: Download complete [2023-09-19T18:04:12.740Z] feaf6a47b606: Verifying Checksum [2023-09-19T18:04:12.740Z] feaf6a47b606: Download complete [2023-09-19T18:04:12.740Z] 7264a8db6415: Pull complete [2023-09-19T18:04:13.000Z] c4d48a809fc2: Pull complete [2023-09-19T18:04:13.000Z] 8ac70367396e: Verifying Checksum [2023-09-19T18:04:13.000Z] 8ac70367396e: Download complete [2023-09-19T18:04:13.260Z] 4f1c88b9dad5: Download complete [2023-09-19T18:04:13.260Z] 6db16350a2e2: Verifying Checksum [2023-09-19T18:04:13.260Z] 6db16350a2e2: Download complete [2023-09-19T18:04:13.519Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T18:04:13.519Z] 5e8b037d7d82: Download complete [2023-09-19T18:04:13.778Z] 9250d5d63582: Verifying Checksum [2023-09-19T18:04:13.778Z] 9250d5d63582: Download complete [2023-09-19T18:04:17.067Z] 4f1c88b9dad5: Pull complete [2023-09-19T18:04:17.067Z] ad3a456e5733: Pull complete [2023-09-19T18:04:17.067Z] 9e4f439ed901: Pull complete [2023-09-19T18:04:17.067Z] feaf6a47b606: Pull complete [2023-09-19T18:04:18.971Z] 5e8b037d7d82: Pull complete [2023-09-19T18:04:19.538Z] 8ac70367396e: Pull complete [2023-09-19T18:04:20.104Z] 6db16350a2e2: Pull complete [2023-09-19T18:04:20.673Z] 9250d5d63582: Pull complete [2023-09-19T18:04:20.673Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T18:04:20.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T18:04:20.673Z] ---> fa269f55d9b9 [2023-09-19T18:04:20.673Z] Step 3/10 : ARG MAKE=make build [2023-09-19T18:04:25.607Z] Still waiting to schedule task [2023-09-19T18:04:25.607Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6596’ [2023-09-19T18:04:30.705Z] ---> Running in 86f105f25b8f [2023-09-19T18:04:30.705Z] Removing intermediate container 86f105f25b8f [2023-09-19T18:04:30.705Z] ---> 359c7807fca2 [2023-09-19T18:04:30.705Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-19T18:04:30.705Z] ---> Running in 1ef44290269a [2023-09-19T18:04:30.705Z] Removing intermediate container 1ef44290269a [2023-09-19T18:04:30.705Z] ---> dcd3033a3e11 [2023-09-19T18:04:30.705Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:04:30.705Z] ---> Running in 2b7e44833eaf [2023-09-19T18:04:30.705Z] Removing intermediate container 2b7e44833eaf [2023-09-19T18:04:30.705Z] ---> 14e7a5bdbc4f [2023-09-19T18:04:30.705Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-19T18:04:30.705Z] ---> Running in 4c6ef0844c41 [2023-09-19T18:04:30.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T18:04:30.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T18:04:31.223Z] OK: 265 MiB in 56 packages [2023-09-19T18:04:31.790Z] Removing intermediate container 4c6ef0844c41 [2023-09-19T18:04:31.790Z] ---> ed222e00386d [2023-09-19T18:04:31.790Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T18:04:32.049Z] ---> ea83eb9e3560 [2023-09-19T18:04:32.049Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:04:32.049Z] ---> Running in fe53c4566522 [2023-09-19T18:05:18.864Z] Removing intermediate container fe53c4566522 [2023-09-19T18:05:18.864Z] ---> f5a472c86e15 [2023-09-19T18:05:18.864Z] Step 9/10 : COPY . . [2023-09-19T18:05:18.864Z] ---> a92ef39cc472 [2023-09-19T18:05:18.864Z] Step 10/10 : RUN ${MAKE} [2023-09-19T18:05:18.864Z] ---> Running in f05fdafd78a4 [2023-09-19T18:05:18.864Z] noop [2023-09-19T18:05:18.864Z] Removing intermediate container f05fdafd78a4 [2023-09-19T18:05:18.864Z] ---> 0c9712a50c9a [2023-09-19T18:05:18.864Z] Successfully built 0c9712a50c9a [2023-09-19T18:05:18.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:05:19.314Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T18:05:19.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:05:19.482Z] prd-ubuntu20.04-docker-8c-8g-6597 does not seem to be running inside a container [2023-09-19T18:05:19.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1513 -v /w/workspace/gexfoundry_device-sdk-go_PR-1513:/w/workspace/gexfoundry_device-sdk-go_PR-1513:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T18:05:19.874Z] $ docker top c31ce52f0ce5c54841d93868cab75bec87cdc7c4671cf68ee19a2d63a607353f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:05:20.238Z] + go version [2023-09-19T18:05:20.238Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T18:05:20.296Z] $ docker stop --time=1 c31ce52f0ce5c54841d93868cab75bec87cdc7c4671cf68ee19a2d63a607353f [2023-09-19T18:05:22.117Z] $ docker rm -f --volumes c31ce52f0ce5c54841d93868cab75bec87cdc7c4671cf68ee19a2d63a607353f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:05:22.844Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T18:05:22.844Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:05:23.054Z] prd-ubuntu20.04-docker-8c-8g-6597 does not seem to be running inside a container [2023-09-19T18:05:23.111Z] $ 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-1513 -v /w/workspace/gexfoundry_device-sdk-go_PR-1513:/w/workspace/gexfoundry_device-sdk-go_PR-1513:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T18:05:23.445Z] $ docker top 5da63661ff64ebb1a341d4751aa2e4ea16d9b72af25b925eb7fedfb8e8f86900 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:05:23.870Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1513 [Pipeline] fileExists [Pipeline] sh [2023-09-19T18:05:24.264Z] + make test [2023-09-19T18:05:24.264Z] go test -race -coverprofile=coverage.out ./... [2023-09-19T18:05:32.384Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-19T18:05:47.260Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-19T18:05:47.260Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-19T18:05:47.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-19T18:05:47.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-19T18:05:47.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-19T18:05:47.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-19T18:05:47.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-19T18:05:47.261Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.043s coverage: 27.6% of statements [2023-09-19T18:05:47.261Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.062s coverage: 80.2% of statements [2023-09-19T18:05:47.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-19T18:05:47.261Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.067s coverage: 86.0% of statements [2023-09-19T18:05:48.638Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.065s coverage: 71.8% of statements [2023-09-19T18:05:48.638Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-19T18:05:48.638Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-19T18:05:48.638Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-19T18:05:51.927Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.080s coverage: 14.4% of statements [2023-09-19T18:05:51.927Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.055s coverage: 45.9% of statements [2023-09-19T18:05:51.927Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.062s coverage: 68.5% of statements [2023-09-19T18:05:51.927Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.117s coverage: 89.2% of statements [2023-09-19T18:05:51.927Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.048s coverage: 5.5% of statements [2023-09-19T18:06:13.892Z] GO111MODULE=on go vet ./... [2023-09-19T18:06:17.173Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T18:06:17.173Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T18:06:17.173Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T18:06:17.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T18:06:17.511Z] $ docker stop --time=1 5da63661ff64ebb1a341d4751aa2e4ea16d9b72af25b925eb7fedfb8e8f86900 [2023-09-19T18:06:22.334Z] $ docker rm -f --volumes 5da63661ff64ebb1a341d4751aa2e4ea16d9b72af25b925eb7fedfb8e8f86900 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T18:06:22.937Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T18:06:23.027Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T18:06:23.719Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T18:06:24.024Z] + ls -al . [2023-09-19T18:06:24.024Z] total 304 [2023-09-19T18:06:24.024Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 18:05 . [2023-09-19T18:06:24.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:03 .. [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 18:03 .dockerignore [2023-09-19T18:06:24.024Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 18:05 .git [2023-09-19T18:06:24.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:03 .github [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 18:03 .gitignore [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 18:03 .golangci.yml [2023-09-19T18:06:24.024Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 18:04 .semver [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 18:03 CHANGELOG.md [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 18:03 GOVERNANCE.md [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 18:03 Jenkinsfile [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 18:03 LICENSE [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 18:03 Makefile [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 18:03 OWNERS.md [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 18:03 README.md [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 18:04 VERSION [2023-09-19T18:06:24.024Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:03 bin [2023-09-19T18:06:24.024Z] -rw-r--r-- 1 jenkins jenkins 121388 Sep 19 18:05 coverage.out [2023-09-19T18:06:24.024Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 18:03 example [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 18:03 go.mod [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 18:03 go.sum [2023-09-19T18:06:24.024Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:03 internal [2023-09-19T18:06:24.024Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 18:03 openapi [2023-09-19T18:06:24.024Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 18:03 pkg [2023-09-19T18:06:24.024Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:03 snap [2023-09-19T18:06:24.024Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 18:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:06:24.452Z] + 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=f9b5e51955539fa1bab30447cb7b3fcebde5470d --label arch=amd64 --label version=0.0.0 . [2023-09-19T18:06:24.453Z] Sending build context to Docker daemon 11.29MB [2023-09-19T18:06:24.453Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:06:24.453Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-19T18:06:24.453Z] ---> 0c9712a50c9a [2023-09-19T18:06:24.453Z] Step 3/23 : ARG MAKE=make build [2023-09-19T18:06:24.711Z] ---> Running in a1d1e84a44b4 [2023-09-19T18:06:24.972Z] Removing intermediate container a1d1e84a44b4 [2023-09-19T18:06:24.972Z] ---> 0bef1797fcaa [2023-09-19T18:06:24.972Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-19T18:06:24.972Z] ---> Running in 17905e5c49af [2023-09-19T18:06:24.972Z] Removing intermediate container 17905e5c49af [2023-09-19T18:06:24.972Z] ---> 65c063e238cc [2023-09-19T18:06:24.972Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:06:24.972Z] ---> Running in 8f202ba105e1 [2023-09-19T18:06:24.972Z] Removing intermediate container 8f202ba105e1 [2023-09-19T18:06:24.972Z] ---> cb23c6e01f26 [2023-09-19T18:06:24.972Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-19T18:06:25.231Z] ---> Running in 747ae868ebba [2023-09-19T18:06:25.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T18:06:25.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T18:06:26.008Z] OK: 265 MiB in 56 packages [2023-09-19T18:06:26.266Z] Removing intermediate container 747ae868ebba [2023-09-19T18:06:26.266Z] ---> c711ba0aec0d [2023-09-19T18:06:26.266Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-19T18:06:26.525Z] ---> 75c090f5f349 [2023-09-19T18:06:26.525Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:06:26.525Z] ---> Running in fa6cfc7e63f5 [2023-09-19T18:06:27.092Z] Removing intermediate container fa6cfc7e63f5 [2023-09-19T18:06:27.092Z] ---> 0923bc7dfa02 [2023-09-19T18:06:27.092Z] Step 9/23 : COPY . . [2023-09-19T18:06:27.725Z] ---> 1174f5aa01c5 [2023-09-19T18:06:27.725Z] Step 10/23 : RUN ${MAKE} [2023-09-19T18:06:27.725Z] ---> Running in c13e61027dc2 [2023-09-19T18:06:27.984Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-19T18:06:54.569Z] Removing intermediate container c13e61027dc2 [2023-09-19T18:06:54.569Z] ---> 0a83d8af13d7 [2023-09-19T18:06:54.569Z] Step 11/23 : FROM alpine:3.18 [2023-09-19T18:06:54.569Z] 3.18: Pulling from library/alpine [2023-09-19T18:06:54.569Z] 7264a8db6415: Already exists [2023-09-19T18:06:54.569Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T18:06:54.569Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T18:06:54.569Z] ---> 7e01a0d0a1dc [2023-09-19T18:06:54.569Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-19T18:06:54.569Z] ---> Running in 23c58e4d193e [2023-09-19T18:06:54.569Z] Removing intermediate container 23c58e4d193e [2023-09-19T18:06:54.569Z] ---> 42fb5cfb7cec [2023-09-19T18:06:54.569Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-19T18:06:54.569Z] ---> Running in f93a10f77dac [2023-09-19T18:06:54.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T18:06:54.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T18:06:54.569Z] OK: 7 MiB in 15 packages [2023-09-19T18:06:54.569Z] Removing intermediate container f93a10f77dac [2023-09-19T18:06:54.569Z] ---> 5f14fa046d2d [2023-09-19T18:06:54.569Z] Step 14/23 : WORKDIR / [2023-09-19T18:06:54.569Z] ---> Running in 50d3bdaef00f [2023-09-19T18:06:54.569Z] Removing intermediate container 50d3bdaef00f [2023-09-19T18:06:54.569Z] ---> 4a9775634f14 [2023-09-19T18:06:54.569Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-19T18:06:54.569Z] ---> 6297d165f0ef [2023-09-19T18:06:54.569Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-19T18:06:54.569Z] ---> 9464e738bbd5 [2023-09-19T18:06:54.569Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-19T18:06:54.569Z] ---> b1d145b715e9 [2023-09-19T18:06:54.569Z] Step 18/23 : EXPOSE 59999 [2023-09-19T18:06:54.569Z] ---> Running in 5b80c8bfc9a6 [2023-09-19T18:06:54.569Z] Removing intermediate container 5b80c8bfc9a6 [2023-09-19T18:06:54.569Z] ---> 023344e137e6 [2023-09-19T18:06:54.569Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-19T18:06:54.569Z] ---> Running in dce782fc827a [2023-09-19T18:06:54.569Z] Removing intermediate container dce782fc827a [2023-09-19T18:06:54.569Z] ---> c4acb8246e0f [2023-09-19T18:06:54.569Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T18:06:54.569Z] ---> Running in c5708d0da678 [2023-09-19T18:06:54.569Z] Removing intermediate container c5708d0da678 [2023-09-19T18:06:54.569Z] ---> cecfacf1ab0c [2023-09-19T18:06:54.569Z] Step 21/23 : LABEL arch=amd64 [2023-09-19T18:06:54.569Z] ---> Running in 8051f2a9d230 [2023-09-19T18:06:54.569Z] Removing intermediate container 8051f2a9d230 [2023-09-19T18:06:54.569Z] ---> eeef6350c6e4 [2023-09-19T18:06:54.569Z] Step 22/23 : LABEL git_sha=f9b5e51955539fa1bab30447cb7b3fcebde5470d [2023-09-19T18:06:54.569Z] ---> Running in 604e0c8b8810 [2023-09-19T18:06:54.569Z] Removing intermediate container 604e0c8b8810 [2023-09-19T18:06:54.569Z] ---> 48406ce5dc8f [2023-09-19T18:06:54.569Z] Step 23/23 : LABEL version=0.0.0 [2023-09-19T18:06:54.569Z] ---> Running in 169f7dafcf05 [2023-09-19T18:06:54.569Z] Removing intermediate container 169f7dafcf05 [2023-09-19T18:06:54.569Z] ---> c9532c092794 [2023-09-19T18:06:54.569Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T18:06:54.569Z] Successfully built c9532c092794 [2023-09-19T18:06:54.569Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:06:55.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:06:55.427Z] [2023-09-19T18:06:55.427Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:06:55.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:06:55.812Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T18:06:55.812Z] 5eb5b503b376: Pulling fs layer [2023-09-19T18:06:55.812Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T18:06:55.812Z] ec43610c2a17: Pulling fs layer [2023-09-19T18:06:55.812Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T18:06:55.812Z] 33b1e0a273af: Pulling fs layer [2023-09-19T18:06:55.812Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T18:06:55.812Z] 2f39f015ded8: Pulling fs layer [2023-09-19T18:06:55.812Z] 33b1e0a273af: Waiting [2023-09-19T18:06:55.812Z] 5d3b04190fa2: Waiting [2023-09-19T18:06:55.812Z] 2f39f015ded8: Waiting [2023-09-19T18:06:55.812Z] 3a2ae6a8a46f: Waiting [2023-09-19T18:06:55.812Z] 5c69ac0246d0: Download complete [2023-09-19T18:06:55.812Z] 3a2ae6a8a46f: Download complete [2023-09-19T18:06:56.073Z] 33b1e0a273af: Verifying Checksum [2023-09-19T18:06:56.073Z] 33b1e0a273af: Download complete [2023-09-19T18:06:56.073Z] 5d3b04190fa2: Verifying Checksum [2023-09-19T18:06:56.073Z] 5d3b04190fa2: Download complete [2023-09-19T18:06:56.073Z] ec43610c2a17: Verifying Checksum [2023-09-19T18:06:56.073Z] ec43610c2a17: Download complete [2023-09-19T18:06:56.073Z] 5eb5b503b376: Download complete [2023-09-19T18:06:57.463Z] 5eb5b503b376: Pull complete [2023-09-19T18:06:58.041Z] 5c69ac0246d0: Pull complete [2023-09-19T18:06:58.977Z] ec43610c2a17: Pull complete [2023-09-19T18:06:59.236Z] 3a2ae6a8a46f: Pull complete [2023-09-19T18:06:59.802Z] 33b1e0a273af: Pull complete [2023-09-19T18:06:59.802Z] 5d3b04190fa2: Pull complete [2023-09-19T18:07:03.998Z] 2f39f015ded8: Pull complete [2023-09-19T18:07:03.998Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T18:07:03.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:07:03.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:07:04.226Z] prd-ubuntu20.04-docker-8c-8g-6597 does not seem to be running inside a container [2023-09-19T18:07:04.277Z] $ 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-1513 -v /w/workspace/gexfoundry_device-sdk-go_PR-1513:/w/workspace/gexfoundry_device-sdk-go_PR-1513:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T18:07:12.324Z] $ docker top 4d576623b278a2ddc95c1ed14c5d004442408759059a36f25e6272eee7e80e63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:07:12.727Z] ---> job-cost.sh [2023-09-19T18:07:12.727Z] lf-activate-venv: SKIPPING [2023-09-19T18:07:12.727Z] INFO: No Stack... [2023-09-19T18:07:12.987Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T18:07:13.553Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T18:07:13.867Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1513/archives/cost.csv [2023-09-19T18:07:13.867Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T18:07:13.907Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1513-1-stack-cost] [2023-09-19T18:07:13.911Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1513-1-stack-cost] did not exist. Created. [2023-09-19T18:07:13.911Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1513-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T18:07:14.297Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T18:07:14.353Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T18:07:14.413Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1513-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T18:07:14.509Z] $ docker stop --time=1 4d576623b278a2ddc95c1ed14c5d004442408759059a36f25e6272eee7e80e63 [2023-09-19T18:07:15.670Z] $ docker rm -f --volumes 4d576623b278a2ddc95c1ed14c5d004442408759059a36f25e6272eee7e80e63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-19T18:07:17.447Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6600 in /w/workspace/gexfoundry_device-sdk-go_PR-1513 [Pipeline] { [Pipeline] ws [2023-09-19T18:07:17.514Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-09-19T18:07:17.594Z] The recommended git tool is: git [2023-09-19T18:07:23.311Z] using credential edgex-jenkins-ssh [2023-09-19T18:07:23.328Z] Cloning the remote Git repository [2023-09-19T18:07:23.371Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T18:07:23.471Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-19T18:07:23.646Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T18:07:23.647Z] > git --version # timeout=10 [2023-09-19T18:07:23.671Z] > git --version # 'git version 2.25.1' [2023-09-19T18:07:23.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T18:07:23.843Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T18:07:25.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-19T18:07:25.629Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T18:07:27.304Z] Merging remotes/origin/main commit 98543e36ecf96a570242d73ea5ad964aaa05b01f into PR head commit 10694e6a91a67f5fde8debfd675953a530180938 [2023-09-19T18:07:27.720Z] Merge succeeded, producing 52184930285fe906078df9b7541ab671f3a86d43 [2023-09-19T18:07:27.721Z] Checking out Revision 52184930285fe906078df9b7541ab671f3a86d43 (PR-1513) [2023-09-19T18:07:26.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-19T18:07:26.629Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T18:07:26.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T18:07:26.647Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1513/head:refs/remotes/origin/PR-1513 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-19T18:07:27.326Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T18:07:27.404Z] > git checkout -f 10694e6a91a67f5fde8debfd675953a530180938 # timeout=10 [2023-09-19T18:07:27.527Z] > git remote # timeout=10 [2023-09-19T18:07:27.547Z] > git config --get remote.origin.url # timeout=10 [2023-09-19T18:07:27.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T18:07:27.589Z] > git merge 98543e36ecf96a570242d73ea5ad964aaa05b01f # timeout=10 [2023-09-19T18:07:27.696Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-19T18:07:27.728Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T18:07:27.745Z] > git checkout -f 52184930285fe906078df9b7541ab671f3a86d43 # timeout=10 [2023-09-19T18:07:31.273Z] Commit message: "Merge commit '98543e36ecf96a570242d73ea5ad964aaa05b01f' into HEAD" [2023-09-19T18:07:31.274Z] First time build. Skipping changelog. [2023-09-19T18:07:31.330Z] > git --version # timeout=10 [2023-09-19T18:07:31.342Z] > git --version # 'git version 2.25.1' [2023-09-19T18:07:31.355Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T18:07:32.460Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T18:07:32.460Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T18:07:32.460Z] Dload Upload Total Spent Left Speed [2023-09-19T18:07:32.460Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-09-19T18:07:33.237Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T18:07:33.583Z] + sudo tee /etc/docker/daemon.new [2023-09-19T18:07:33.583Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T18:07:33.583Z] { [2023-09-19T18:07:33.583Z] "registry-mirrors": [ [2023-09-19T18:07:33.583Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T18:07:33.583Z] ], [2023-09-19T18:07:33.583Z] "bip": "10.250.0.254/24", [2023-09-19T18:07:33.583Z] "hosts": [ [2023-09-19T18:07:33.583Z] "tcp://0.0.0.0:5555", [2023-09-19T18:07:33.583Z] "unix:///var/run/docker.sock" [2023-09-19T18:07:33.583Z] ], [2023-09-19T18:07:33.583Z] "mtu": 1458, [2023-09-19T18:07:33.583Z] "selinux-enabled": true, [2023-09-19T18:07:33.583Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T18:07:33.583Z] } [Pipeline] sh [2023-09-19T18:07:33.942Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T18:07:34.290Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:07:52.637Z] provisioning config files... [2023-09-19T18:07:52.667Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9224006826437759938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:07:53.068Z] ---> docker-login.sh [2023-09-19T18:07:53.068Z] nexus3.edgexfoundry.org:10001 [2023-09-19T18:07:53.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:07:53.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:07:53.666Z] Configure a credential helper to remove this warning. See [2023-09-19T18:07:53.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:07:53.666Z] [2023-09-19T18:07:53.666Z] Login Succeeded [2023-09-19T18:07:53.666Z] nexus3.edgexfoundry.org:10002 [2023-09-19T18:07:53.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:07:53.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:07:53.941Z] Configure a credential helper to remove this warning. See [2023-09-19T18:07:53.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:07:53.941Z] [2023-09-19T18:07:53.941Z] Login Succeeded [2023-09-19T18:07:53.941Z] nexus3.edgexfoundry.org:10003 [2023-09-19T18:07:54.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:07:54.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:07:54.476Z] Configure a credential helper to remove this warning. See [2023-09-19T18:07:54.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:07:54.476Z] [2023-09-19T18:07:54.476Z] Login Succeeded [2023-09-19T18:07:54.476Z] nexus3.edgexfoundry.org:10004 [2023-09-19T18:07:54.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:07:54.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:07:54.747Z] Configure a credential helper to remove this warning. See [2023-09-19T18:07:54.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:07:54.747Z] [2023-09-19T18:07:54.747Z] Login Succeeded [2023-09-19T18:07:54.747Z] docker.io [2023-09-19T18:07:55.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:07:55.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:07:55.285Z] Configure a credential helper to remove this warning. See [2023-09-19T18:07:55.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:07:55.285Z] [2023-09-19T18:07:55.285Z] Login Succeeded [2023-09-19T18:07:55.285Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T18:07:55.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T18:07:55.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:07:55.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:07:55.781Z] ========================================================= [2023-09-19T18:07:55.781Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T18:07:55.781Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:07:56.289Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T18:07:56.558Z] Sending build context to Docker daemon 5.983MB [2023-09-19T18:07:56.827Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:07:56.827Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T18:07:56.827Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T18:07:56.827Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T18:07:56.827Z] 5d54e960e981: Pulling fs layer [2023-09-19T18:07:56.827Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T18:07:56.827Z] f0e02332f6b5: Pulling fs layer [2023-09-19T18:07:56.827Z] 66412af1f25a: Pulling fs layer [2023-09-19T18:07:56.827Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T18:07:56.827Z] 9a37bb91b891: Pulling fs layer [2023-09-19T18:07:56.827Z] a29adfc67d43: Pulling fs layer [2023-09-19T18:07:56.827Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T18:07:56.827Z] f0e02332f6b5: Waiting [2023-09-19T18:07:56.827Z] 66412af1f25a: Waiting [2023-09-19T18:07:56.827Z] 1baf3a5c0e64: Waiting [2023-09-19T18:07:56.828Z] d5de9f91c1a4: Waiting [2023-09-19T18:07:56.828Z] 5d54e960e981: Verifying Checksum [2023-09-19T18:07:56.828Z] 5d54e960e981: Download complete [2023-09-19T18:07:57.101Z] 66412af1f25a: Verifying Checksum [2023-09-19T18:07:57.101Z] 66412af1f25a: Download complete [2023-09-19T18:07:57.101Z] 9fda8d8052c6: Verifying Checksum [2023-09-19T18:07:57.101Z] 9fda8d8052c6: Download complete [2023-09-19T18:07:57.371Z] 9a37bb91b891: Verifying Checksum [2023-09-19T18:07:57.371Z] 9a37bb91b891: Download complete [2023-09-19T18:07:57.986Z] 9fda8d8052c6: Pull complete [2023-09-19T18:07:57.986Z] a29adfc67d43: Verifying Checksum [2023-09-19T18:07:57.986Z] a29adfc67d43: Download complete [2023-09-19T18:07:58.582Z] 5d54e960e981: Pull complete [2023-09-19T18:07:58.857Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T18:07:58.857Z] d5de9f91c1a4: Download complete [2023-09-19T18:07:58.857Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T18:07:58.857Z] c4a7e357bf2a: Download complete [2023-09-19T18:07:59.821Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T18:07:59.821Z] 1baf3a5c0e64: Download complete [2023-09-19T18:08:09.896Z] c4a7e357bf2a: Pull complete [2023-09-19T18:08:09.896Z] f0e02332f6b5: Pull complete [2023-09-19T18:08:09.896Z] 66412af1f25a: Pull complete [2023-09-19T18:08:16.571Z] 1baf3a5c0e64: Pull complete [2023-09-19T18:08:18.003Z] 9a37bb91b891: Pull complete [2023-09-19T18:08:18.982Z] a29adfc67d43: Pull complete [2023-09-19T18:08:20.925Z] d5de9f91c1a4: Pull complete [2023-09-19T18:08:20.925Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T18:08:20.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T18:08:20.925Z] ---> 746ca1b523b5 [2023-09-19T18:08:20.925Z] Step 3/10 : ARG MAKE=make build [2023-09-19T18:08:22.881Z] ---> Running in 7c1561ac0664 [2023-09-19T18:08:22.881Z] Removing intermediate container 7c1561ac0664 [2023-09-19T18:08:22.881Z] ---> 896d46cd7b17 [2023-09-19T18:08:22.881Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-19T18:08:22.881Z] ---> Running in 7ddaa9544cb3 [2023-09-19T18:08:23.149Z] Removing intermediate container 7ddaa9544cb3 [2023-09-19T18:08:23.149Z] ---> ec0f9501a88b [2023-09-19T18:08:23.149Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:08:23.416Z] ---> Running in ed206a0fcbea [2023-09-19T18:08:23.683Z] Removing intermediate container ed206a0fcbea [2023-09-19T18:08:23.683Z] ---> e21e71f16545 [2023-09-19T18:08:23.683Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-19T18:08:23.683Z] ---> Running in 63260b424751 [2023-09-19T18:08:24.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T18:08:25.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T18:08:26.196Z] OK: 267 MiB in 56 packages [2023-09-19T18:08:27.168Z] Removing intermediate container 63260b424751 [2023-09-19T18:08:27.168Z] ---> ad88604a3a42 [2023-09-19T18:08:27.168Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T18:08:27.442Z] ---> 4ecafcadd920 [2023-09-19T18:08:27.442Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:08:27.710Z] ---> Running in bf9cb726ba0e [2023-09-19T18:09:49.359Z] Removing intermediate container bf9cb726ba0e [2023-09-19T18:09:49.359Z] ---> c8852f8214b4 [2023-09-19T18:09:49.359Z] Step 9/10 : COPY . . [2023-09-19T18:09:49.359Z] ---> 19ad8e8990f6 [2023-09-19T18:09:49.359Z] Step 10/10 : RUN ${MAKE} [2023-09-19T18:09:49.359Z] ---> Running in be4c7e334118 [2023-09-19T18:09:49.359Z] noop [2023-09-19T18:09:49.359Z] Removing intermediate container be4c7e334118 [2023-09-19T18:09:49.359Z] ---> 8ed35c0f26a8 [2023-09-19T18:09:49.359Z] Successfully built 8ed35c0f26a8 [2023-09-19T18:09:49.359Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:09:49.847Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T18:09:49.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:09:50.143Z] prd-ubuntu20.04-docker-arm64-4c-16g-6600 does not seem to be running inside a container [2023-09-19T18:09:50.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T18:09:51.435Z] $ docker top e2a65f43f6bb490e86d1bbeb3a10351320e85be1153764b5895a403c69b32272 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:09:52.329Z] + go version [2023-09-19T18:09:52.329Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T18:09:52.373Z] $ docker stop --time=1 e2a65f43f6bb490e86d1bbeb3a10351320e85be1153764b5895a403c69b32272 [2023-09-19T18:09:54.001Z] $ docker rm -f --volumes e2a65f43f6bb490e86d1bbeb3a10351320e85be1153764b5895a403c69b32272 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:09:54.851Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T18:09:54.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:09:55.106Z] prd-ubuntu20.04-docker-arm64-4c-16g-6600 does not seem to be running inside a container [2023-09-19T18:09:55.180Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T18:09:56.337Z] $ docker top f97fa90b6a76eda1b9fb9d06403d9f0a66893ff90e8afe872a4d2657a387cc2f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:09:56.869Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-19T18:09:57.575Z] + make test [2023-09-19T18:09:57.575Z] go test -race -coverprofile=coverage.out ./... [2023-09-19T18:10:36.447Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-19T18:12:28.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-19T18:12:28.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-19T18:12:28.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-19T18:12:28.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-19T18:12:28.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-19T18:12:40.438Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.405s coverage: 27.6% of statements [2023-09-19T18:12:45.797Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.247s coverage: 80.2% of statements [2023-09-19T18:12:55.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-19T18:12:55.876Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-19T18:12:56.460Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.296s coverage: 86.0% of statements [2023-09-19T18:13:00.707Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-19T18:13:02.112Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.410s coverage: 71.8% of statements [2023-09-19T18:13:05.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-19T18:13:05.455Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-19T18:13:05.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.254s coverage: 14.4% of statements [2023-09-19T18:13:05.455Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.936s coverage: 45.9% of statements [2023-09-19T18:13:06.411Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.363s coverage: 68.5% of statements [2023-09-19T18:13:09.780Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.420s coverage: 89.2% of statements [2023-09-19T18:13:09.780Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-19T18:13:10.739Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.223s coverage: 5.5% of statements [2023-09-19T18:13:11.698Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T18:13:11.698Z] GO111MODULE=on go vet ./... [2023-09-19T18:15:03.606Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T18:15:03.606Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T18:15:03.606Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T18:15:04.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T18:15:04.292Z] $ docker stop --time=1 f97fa90b6a76eda1b9fb9d06403d9f0a66893ff90e8afe872a4d2657a387cc2f [2023-09-19T18:15:06.770Z] $ docker rm -f --volumes f97fa90b6a76eda1b9fb9d06403d9f0a66893ff90e8afe872a4d2657a387cc2f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T18:15:08.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T18:15:08.453Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T18:15:08.957Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T18:15:09.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T18:15:09.892Z] + ls -al . [2023-09-19T18:15:09.892Z] total 300 [2023-09-19T18:15:09.892Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 18:10 . [2023-09-19T18:15:09.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:07 .. [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 18:07 .dockerignore [2023-09-19T18:15:09.892Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 18:07 .git [2023-09-19T18:15:09.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:07 .github [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 18:07 .gitignore [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 18:07 .golangci.yml [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 18:07 CHANGELOG.md [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 18:07 GOVERNANCE.md [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 18:07 Jenkinsfile [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 18:07 LICENSE [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 18:07 Makefile [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 18:07 OWNERS.md [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 18:07 README.md [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 18:04 VERSION [2023-09-19T18:15:09.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:07 bin [2023-09-19T18:15:09.892Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 19 18:13 coverage.out [2023-09-19T18:15:09.892Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 18:07 example [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 18:07 go.mod [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 18:07 go.sum [2023-09-19T18:15:09.892Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:07 internal [2023-09-19T18:15:09.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 18:07 openapi [2023-09-19T18:15:09.892Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 18:07 pkg [2023-09-19T18:15:09.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:07 snap [2023-09-19T18:15:09.892Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 18:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:15:10.322Z] + 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=52184930285fe906078df9b7541ab671f3a86d43 --label arch=arm64 --label version=0.0.0 . [2023-09-19T18:15:10.588Z] Sending build context to Docker daemon 6.106MB [2023-09-19T18:15:10.588Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:15:10.588Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-19T18:15:10.588Z] ---> 8ed35c0f26a8 [2023-09-19T18:15:10.588Z] Step 3/23 : ARG MAKE=make build [2023-09-19T18:15:10.854Z] ---> Running in 146781be40a5 [2023-09-19T18:15:11.121Z] Removing intermediate container 146781be40a5 [2023-09-19T18:15:11.121Z] ---> 64d006c555f0 [2023-09-19T18:15:11.121Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-19T18:15:11.121Z] ---> Running in 1aef1fc52e42 [2023-09-19T18:15:11.389Z] Removing intermediate container 1aef1fc52e42 [2023-09-19T18:15:11.389Z] ---> aa61ab128a59 [2023-09-19T18:15:11.389Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:15:11.389Z] ---> Running in 54f41030f565 [2023-09-19T18:15:11.657Z] Removing intermediate container 54f41030f565 [2023-09-19T18:15:11.657Z] ---> 8e1c71844912 [2023-09-19T18:15:11.657Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-19T18:15:11.926Z] ---> Running in 39cfab9b5b3e [2023-09-19T18:15:12.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T18:15:13.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T18:15:14.564Z] OK: 267 MiB in 56 packages [2023-09-19T18:15:15.147Z] Removing intermediate container 39cfab9b5b3e [2023-09-19T18:15:15.147Z] ---> 6c603b5fec5c [2023-09-19T18:15:15.147Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-19T18:15:15.737Z] ---> 48e18d0a5510 [2023-09-19T18:15:15.737Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:15:15.737Z] ---> Running in f28b0f831fcf [2023-09-19T18:15:19.987Z] Removing intermediate container f28b0f831fcf [2023-09-19T18:15:19.987Z] ---> 2839445a28aa [2023-09-19T18:15:19.987Z] Step 9/23 : COPY . . [2023-09-19T18:15:21.395Z] ---> f948795b9f0a [2023-09-19T18:15:21.395Z] Step 10/23 : RUN ${MAKE} [2023-09-19T18:15:21.395Z] ---> Running in dfa514ddde16 [2023-09-19T18:15:22.356Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-19T18:17:14.005Z] Removing intermediate container dfa514ddde16 [2023-09-19T18:17:14.005Z] ---> 837fd4fac98c [2023-09-19T18:17:14.005Z] Step 11/23 : FROM alpine:3.18 [2023-09-19T18:17:14.005Z] 3.18: Pulling from library/alpine [2023-09-19T18:17:14.005Z] 9fda8d8052c6: Already exists [2023-09-19T18:17:14.005Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T18:17:14.005Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T18:17:14.005Z] ---> f6648c04cd6c [2023-09-19T18:17:14.005Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-19T18:17:14.005Z] ---> Running in b39b2bbe49a0 [2023-09-19T18:17:14.005Z] Removing intermediate container b39b2bbe49a0 [2023-09-19T18:17:14.005Z] ---> 41836f8150d0 [2023-09-19T18:17:14.005Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-19T18:17:14.005Z] ---> Running in 0441e830dc81 [2023-09-19T18:17:14.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T18:17:14.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T18:17:14.005Z] OK: 8 MiB in 15 packages [2023-09-19T18:17:14.005Z] Removing intermediate container 0441e830dc81 [2023-09-19T18:17:14.005Z] ---> 53ec5aa55ce2 [2023-09-19T18:17:14.005Z] Step 14/23 : WORKDIR / [2023-09-19T18:17:14.005Z] ---> Running in ea1c2fa17d52 [2023-09-19T18:17:14.005Z] Removing intermediate container ea1c2fa17d52 [2023-09-19T18:17:14.005Z] ---> f929e71a0a84 [2023-09-19T18:17:14.005Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-19T18:17:14.005Z] ---> b9dd06996d9b [2023-09-19T18:17:14.005Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-19T18:17:14.005Z] ---> fa0f99d7d41f [2023-09-19T18:17:14.005Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-19T18:17:14.005Z] ---> 231107e3afcb [2023-09-19T18:17:14.005Z] Step 18/23 : EXPOSE 59999 [2023-09-19T18:17:14.005Z] ---> Running in 3687638c90c2 [2023-09-19T18:17:14.005Z] Removing intermediate container 3687638c90c2 [2023-09-19T18:17:14.005Z] ---> f4777f054276 [2023-09-19T18:17:14.005Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-19T18:17:14.005Z] ---> Running in a44d21fcaf4e [2023-09-19T18:17:14.005Z] Removing intermediate container a44d21fcaf4e [2023-09-19T18:17:14.005Z] ---> cbfaf3a331c9 [2023-09-19T18:17:14.005Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T18:17:14.005Z] ---> Running in 08cb824ab8cd [2023-09-19T18:17:14.005Z] Removing intermediate container 08cb824ab8cd [2023-09-19T18:17:14.005Z] ---> 30d37575ca1c [2023-09-19T18:17:14.005Z] Step 21/23 : LABEL arch=arm64 [2023-09-19T18:17:14.005Z] ---> Running in 44552f7f6cc8 [2023-09-19T18:17:14.005Z] Removing intermediate container 44552f7f6cc8 [2023-09-19T18:17:14.005Z] ---> ebe02d0a4ac1 [2023-09-19T18:17:14.005Z] Step 22/23 : LABEL git_sha=52184930285fe906078df9b7541ab671f3a86d43 [2023-09-19T18:17:14.005Z] ---> Running in 045733f45995 [2023-09-19T18:17:14.005Z] Removing intermediate container 045733f45995 [2023-09-19T18:17:14.005Z] ---> 673cb3937a93 [2023-09-19T18:17:14.005Z] Step 23/23 : LABEL version=0.0.0 [2023-09-19T18:17:14.005Z] ---> Running in ad6fbca4156e [2023-09-19T18:17:14.005Z] Removing intermediate container ad6fbca4156e [2023-09-19T18:17:14.005Z] ---> bedf04bca419 [2023-09-19T18:17:14.005Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T18:17:14.005Z] Successfully built bedf04bca419 [2023-09-19T18:17:14.005Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:17:14.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T18:17:14.842Z] [2023-09-19T18:17:14.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:17:15.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T18:17:15.243Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T18:17:15.243Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T18:17:15.243Z] 04944245beec: Pulling fs layer [2023-09-19T18:17:15.243Z] 699f458cf7ca: Pulling fs layer [2023-09-19T18:17:15.243Z] 765212b225bb: Pulling fs layer [2023-09-19T18:17:15.243Z] f23df028b6ca: Pulling fs layer [2023-09-19T18:17:15.243Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T18:17:15.243Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T18:17:15.243Z] f23df028b6ca: Waiting [2023-09-19T18:17:15.243Z] d65c8cfc05b1: Waiting [2023-09-19T18:17:15.243Z] 765212b225bb: Waiting [2023-09-19T18:17:15.243Z] 2437ff75d9bd: Waiting [2023-09-19T18:17:15.510Z] 04944245beec: Verifying Checksum [2023-09-19T18:17:15.510Z] 04944245beec: Download complete [2023-09-19T18:17:15.510Z] 765212b225bb: Verifying Checksum [2023-09-19T18:17:15.510Z] 765212b225bb: Download complete [2023-09-19T18:17:15.510Z] f23df028b6ca: Verifying Checksum [2023-09-19T18:17:15.510Z] f23df028b6ca: Download complete [2023-09-19T18:17:15.510Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T18:17:15.510Z] d65c8cfc05b1: Download complete [2023-09-19T18:17:15.510Z] 699f458cf7ca: Verifying Checksum [2023-09-19T18:17:15.510Z] 699f458cf7ca: Download complete [2023-09-19T18:17:16.098Z] 8998bd30e6a1: Verifying Checksum [2023-09-19T18:17:16.098Z] 8998bd30e6a1: Download complete [2023-09-19T18:17:18.043Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T18:17:18.043Z] 2437ff75d9bd: Download complete [2023-09-19T18:17:22.291Z] 8998bd30e6a1: Pull complete [2023-09-19T18:17:22.875Z] 04944245beec: Pull complete [2023-09-19T18:17:24.282Z] 699f458cf7ca: Pull complete [2023-09-19T18:17:24.282Z] 765212b225bb: Pull complete [2023-09-19T18:17:25.242Z] f23df028b6ca: Pull complete [2023-09-19T18:17:25.242Z] d65c8cfc05b1: Pull complete [2023-09-19T18:17:40.234Z] 2437ff75d9bd: Pull complete [2023-09-19T18:17:40.234Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T18:17:40.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T18:17:40.234Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:17:40.555Z] prd-ubuntu20.04-docker-arm64-4c-16g-6600 does not seem to be running inside a container [2023-09-19T18:17:40.629Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-19T18:17:43.266Z] $ docker top 0f5448fa33e51b6f3ae83cde4e90694a0075ee20f38cc351b59c6e65f10cd112 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:17:44.136Z] ---> job-cost.sh [2023-09-19T18:17:44.136Z] lf-activate-venv: SKIPPING [2023-09-19T18:17:44.136Z] INFO: No Stack... [2023-09-19T18:17:44.401Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T18:17:45.354Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T18:17:45.695Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-09-19T18:17:45.695Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T18:17:46.037Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1513-1-stack-cost] [2023-09-19T18:17:46.042Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1513-1-stack-cost] did not exist. Created. [2023-09-19T18:17:46.042Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1513-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T18:17:46.446Z] /w/workspace/device-sdk-go/1@tmp/durable-d039721e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T18:17:46.791Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T18:17:46.826Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T18:17:46.899Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T18:17:46.913Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1513-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T18:17:47.000Z] $ docker stop --time=1 0f5448fa33e51b6f3ae83cde4e90694a0075ee20f38cc351b59c6e65f10cd112 [2023-09-19T18:17:48.820Z] $ docker rm -f --volumes 0f5448fa33e51b6f3ae83cde4e90694a0075ee20f38cc351b59c6e65f10cd112 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-19T18:17:49.787Z] provisioning config files... [2023-09-19T18:17:49.794Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp/config8156500161379284283tmp [Pipeline] { [Pipeline] sh [2023-09-19T18:17:50.140Z] + set +x [2023-09-19T18:17:50.140Z] + bash -s -- [2023-09-19T18:17:50.140Z] + curl -s https://codecov.io/bash [2023-09-19T18:17:50.140Z] [2023-09-19T18:17:50.140Z] _____ _ [2023-09-19T18:17:50.140Z] / ____| | | [2023-09-19T18:17:50.140Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T18:17:50.140Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T18:17:50.140Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T18:17:50.140Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T18:17:50.140Z] Bash-1.0.6 [2023-09-19T18:17:50.140Z] [2023-09-19T18:17:50.140Z] [2023-09-19T18:17:50.140Z] ==> git version 2.25.1 found [2023-09-19T18:17:50.140Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-19T18:17:50.140Z] Release-Date: 2020-01-08 [2023-09-19T18:17:50.140Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-19T18:17:50.140Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T18:17:50.140Z] ==> Jenkins CI detected. [2023-09-19T18:17:50.141Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1513 [2023-09-19T18:17:50.141Z] project root: . [2023-09-19T18:17:50.141Z] --> token set from env [2023-09-19T18:17:50.141Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T18:17:50.141Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T18:17:50.141Z] ==> Python coveragepy not found [2023-09-19T18:17:50.141Z] ==> Searching for coverage reports in: [2023-09-19T18:17:50.141Z] + . [2023-09-19T18:17:50.141Z] -> Found 1 reports [2023-09-19T18:17:50.141Z] ==> Detecting git/mercurial file structure [2023-09-19T18:17:50.400Z] ==> Reading reports [2023-09-19T18:17:50.400Z] + ./coverage.out bytes=121385 [2023-09-19T18:17:50.400Z] ==> Appending adjustments [2023-09-19T18:17:50.400Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T18:17:50.676Z] + Found adjustments [2023-09-19T18:17:50.676Z] ==> Gzipping contents [2023-09-19T18:17:50.676Z] 20K /tmp/codecov.DxEnrS.gz [2023-09-19T18:17:50.676Z] ==> Uploading reports [2023-09-19T18:17:50.676Z] url: https://codecov.io [2023-09-19T18:17:50.676Z] query: branch=PR-1513&commit=f9b5e51955539fa1bab30447cb7b3fcebde5470d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1513%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1513&job=&cmd_args= [2023-09-19T18:17:50.676Z] -> Pinging Codecov [2023-09-19T18:17:50.676Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1513&commit=f9b5e51955539fa1bab30447cb7b3fcebde5470d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1513%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1513&job=&cmd_args= [2023-09-19T18:17:50.935Z] -> Uploading to [2023-09-19T18:17:50.935Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/7E55EF52A471D76F132DFD9A03CDDE97/f9b5e51955539fa1bab30447cb7b3fcebde5470d/044681b8-9e98-48ad-a46b-72f013e39e38.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T181750Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e6e2aa626b5bc57ff40fe4effa3e64f318cd7a27e40ffac9e18036bc71c51e5 [2023-09-19T18:17:50.935Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T18:17:50.935Z] Dload Upload Total Spent Left Speed [2023-09-19T18:17:51.209Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16535 0 0 100 16535 0 66943 --:--:-- --:--:-- --:--:-- 66943 [2023-09-19T18:17:51.209Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f9b5e51955539fa1bab30447cb7b3fcebde5470d [Pipeline] } [2023-09-19T18:17:51.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-19T18:17:53.086Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1513/archives ] [2023-09-19T18:17:53.086Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1513/archives [2023-09-19T18:17:53.086Z] total 16 [2023-09-19T18:17:53.086Z] drwxr-xr-x 3 root root 4096 Sep 19 18:07 . [2023-09-19T18:17:53.086Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:07 .. [2023-09-19T18:17:53.086Z] drwxr-xr-x 2 root root 4096 Sep 19 18:07 cost [2023-09-19T18:17:53.086Z] -rw-r--r-- 1 root root 86 Sep 19 18:07 cost.csv [2023-09-19T18:17:53.086Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1513/archives [2023-09-19T18:17:53.086Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1513/archives [2023-09-19T18:17:53.086Z] total 16 [2023-09-19T18:17:53.086Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 18:07 . [2023-09-19T18:17:53.086Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:07 .. [2023-09-19T18:17:53.086Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 18:07 cost [2023-09-19T18:17:53.086Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 19 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:17:53.415Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:17:54.307Z] ---> package-listing.sh [2023-09-19T18:17:54.307Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T18:17:54.307Z] ++ facter osfamily [2023-09-19T18:17:54.567Z] + OS_FAMILY=debian [2023-09-19T18:17:54.567Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1513 [2023-09-19T18:17:54.567Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T18:17:54.567Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T18:17:54.567Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T18:17:54.567Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T18:17:54.567Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1513 ']' [2023-09-19T18:17:54.567Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T18:17:54.567Z] + case "${OS_FAMILY}" in [2023-09-19T18:17:54.567Z] + dpkg -l [2023-09-19T18:17:54.567Z] + grep '^ii' [2023-09-19T18:17:54.567Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T18:17:54.567Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T18:17:54.567Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T18:17:54.567Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1513 ']' [2023-09-19T18:17:54.567Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1513/archives/ [2023-09-19T18:17:54.567Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1513/archives/ [Pipeline] echo [2023-09-19T18:17:54.599Z] 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-1513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-19T18:17:54.891Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:17:55.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:17:55.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:17:55.671Z] prd-ubuntu20.04-docker-8c-8g-6597 does not seem to be running inside a container [2023-09-19T18:17:55.737Z] $ 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-1513/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-1513 -v /w/workspace/gexfoundry_device-sdk-go_PR-1513:/w/workspace/gexfoundry_device-sdk-go_PR-1513:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T18:17:56.473Z] $ docker top 3faf9fa1a1697df2fe346d7026ce6b911fefa22cc574d93652f3aeeec98528f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:17:56.828Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T18:17:57.135Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T18:17:57.446Z] + ls /var/log/sa-host [2023-09-19T18:17:57.446Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:17:57.666Z] provisioning config files... [2023-09-19T18:17:57.675Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1513@tmp/config3156947399697601255tmp [Pipeline] { [Pipeline] echo [2023-09-19T18:17:57.728Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:17:58.042Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T18:17:58.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:17:58.475Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T18:17:58.508Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:17:58.823Z] ---> sudo-logs.sh [2023-09-19T18:17:58.823Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T18:17:58.919Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:17:59.228Z] ---> job-cost.sh [2023-09-19T18:17:59.228Z] lf-activate-venv: SKIPPING [2023-09-19T18:17:59.228Z] DEBUG: total: 0.2199999988079071 [2023-09-19T18:17:59.228Z] INFO: Retrieving Stack Cost... [2023-09-19T18:17:59.487Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T18:18:00.056Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T18:18:00.091Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:18:00.401Z] ---> logs-deploy.sh [2023-09-19T18:18:00.401Z] lf-activate-venv: SKIPPING [2023-09-19T18:18:00.401Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1513/1 [2023-09-19T18:18:00.401Z] INFO: archiving workspace using pattern(s): [2023-09-19T18:18:01.347Z] Archives upload complete. [2023-09-19T18:18:01.347Z] INFO: archiving logs to Nexus