Pull request #1357 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9fd6ba797c01d21c8f51b8c25f3623ac286e8019+b4dcd90c517d60267da088e4e26fcccd6a523ed6 (65bc06e81cd5b535ce92ce3336c46c46e67fe0f1) 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-ssh11329155743188098418.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6279988432622055133.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh 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-1357/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-1357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16878061440568712216.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-1357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6409145955318099345.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh9822920873070050977.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-1357/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-1357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13345343434771639898.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8323 in /w/workspace/gexfoundry_device-sdk-go_PR-1357 [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-1357 # 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/1357/head:refs/remotes/origin/PR-1357 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 Merge succeeded, producing 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 Checking out Revision 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 (PR-1357) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-06T04:59:00.005Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-06T04:59:00.186Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 # 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-06T04:59:00.286Z] ========================================================= [2023-03-06T04:59:00.286Z] EdgeX Global Pipelines Version Info [2023-03-06T04:59:00.286Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-06T04:59:01.037Z] ------------------- [2023-03-06T04:59:01.038Z] stable info: [2023-03-06T04:59:01.038Z] ------------------- [2023-03-06T04:59:01.038Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-06T04:59:01.038Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T04:59:01.038Z] Message: update stable to v1.0.244 [2023-03-06T04:59:01.622Z] ------------------- [2023-03-06T04:59:01.622Z] experimental info: [2023-03-06T04:59:01.622Z] ------------------- [2023-03-06T04:59:01.622Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-06T04:59:01.622Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T04:59:01.622Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-06T04:59:01.909Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-06T04:59:01.945Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-06T04:59:01.980Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-06T04:59:02.016Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-06T04:59:02.058Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-06T04:59:02.094Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-06T04:59:02.130Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-06T04:59:02.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-06T04:59:02.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-06T04:59:02.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-06T04:59:02.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-06T04:59:02.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-06T04:59:02.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-06T04:59:02.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-06T04:59:02.422Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-06T04:59:02.459Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T04:59:02.496Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T04:59:02.534Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T04:59:02.569Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-06T04:59:02.610Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-06T04:59:02.653Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-06T04:59:02.695Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-06T04:59:02.736Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-06T04:59:02.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-06T04:59:02.820Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-06T04:59:02.865Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-06T04:59:02.912Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-06T04:59:02.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1357 [Pipeline] echo [2023-03-06T04:59:02.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1357 [Pipeline] echo [2023-03-06T04:59:03.040Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1357 [Pipeline] echo [2023-03-06T04:59:03.081Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 [Pipeline] echo [2023-03-06T04:59:03.131Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9fd6ba7 [Pipeline] echo [2023-03-06T04:59:03.171Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T04:59:03.281Z] provisioning config files... [2023-03-06T04:59:03.293Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp/config4909723662893358209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T04:59:03.632Z] ---> docker-login.sh [2023-03-06T04:59:03.632Z] nexus3.edgexfoundry.org:10001 [2023-03-06T04:59:03.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T04:59:04.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T04:59:04.151Z] Configure a credential helper to remove this warning. See [2023-03-06T04:59:04.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T04:59:04.151Z] [2023-03-06T04:59:04.151Z] Login Succeeded [2023-03-06T04:59:04.151Z] nexus3.edgexfoundry.org:10002 [2023-03-06T04:59:04.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T04:59:04.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T04:59:04.151Z] Configure a credential helper to remove this warning. See [2023-03-06T04:59:04.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T04:59:04.151Z] [2023-03-06T04:59:04.151Z] Login Succeeded [2023-03-06T04:59:04.151Z] nexus3.edgexfoundry.org:10003 [2023-03-06T04:59:04.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T04:59:04.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T04:59:04.151Z] Configure a credential helper to remove this warning. See [2023-03-06T04:59:04.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T04:59:04.151Z] [2023-03-06T04:59:04.151Z] Login Succeeded [2023-03-06T04:59:04.151Z] nexus3.edgexfoundry.org:10004 [2023-03-06T04:59:04.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T04:59:04.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T04:59:04.411Z] Configure a credential helper to remove this warning. See [2023-03-06T04:59:04.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T04:59:04.411Z] [2023-03-06T04:59:04.411Z] Login Succeeded [2023-03-06T04:59:04.411Z] docker.io [2023-03-06T04:59:04.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T04:59:04.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T04:59:04.672Z] Configure a credential helper to remove this warning. See [2023-03-06T04:59:04.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T04:59:04.672Z] [2023-03-06T04:59:04.672Z] Login Succeeded [2023-03-06T04:59:04.672Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T04:59:04.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-06T04:59:05.302Z] + git rev-list -1 --merges 9fd6ba797c01d21c8f51b8c25f3623ac286e8019~1..9fd6ba797c01d21c8f51b8c25f3623ac286e8019 [Pipeline] echo [2023-03-06T04:59:05.383Z] -----------> git rev-list -1 --merges 9fd6ba797c01d21c8f51b8c25f3623ac286e8019~1..9fd6ba797c01d21c8f51b8c25f3623ac286e8019 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 [false] [Pipeline] sh [2023-03-06T04:59:05.690Z] + git log --format=format:%s -1 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 [Pipeline] echo [2023-03-06T04:59:05.727Z] ========================================================= [2023-03-06T04:59:05.727Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-06T04:59:05.727Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T04:59:06.143Z] + git log --format=format:%s -1 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 [Pipeline] echo [2023-03-06T04:59:06.174Z] [semverPrep] GIT_COMMIT: 9fd6ba797c01d21c8f51b8c25f3623ac286e8019, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-06T04:59:06.205Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-06T04:59:06.613Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-06T04:59:06.613Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-06T04:59:06.613Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-06T04:59:06.613Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-06T04:59:06.613Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-06T04:59:06.613Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-06T04:59:06.613Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T04:59:07.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T04:59:07.108Z] [2023-03-06T04:59:07.108Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T04:59:07.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T04:59:07.494Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-06T04:59:07.494Z] b85a868b505f: Pulling fs layer [2023-03-06T04:59:07.494Z] e2be974225ed: Pulling fs layer [2023-03-06T04:59:07.494Z] 339a4e72a1f5: Pulling fs layer [2023-03-06T04:59:07.494Z] 988bab9f4d93: Pulling fs layer [2023-03-06T04:59:07.494Z] 1469e6f7b9e6: Pulling fs layer [2023-03-06T04:59:07.494Z] eaf3925da568: Pulling fs layer [2023-03-06T04:59:07.494Z] bab4dde63d76: Pulling fs layer [2023-03-06T04:59:07.494Z] bde34c3a00c8: Pulling fs layer [2023-03-06T04:59:07.494Z] 988bab9f4d93: Waiting [2023-03-06T04:59:07.494Z] 1469e6f7b9e6: Waiting [2023-03-06T04:59:07.494Z] eaf3925da568: Waiting [2023-03-06T04:59:07.494Z] bab4dde63d76: Waiting [2023-03-06T04:59:07.494Z] b352a97aabf1: Pulling fs layer [2023-03-06T04:59:07.494Z] 4872d77fe225: Pulling fs layer [2023-03-06T04:59:07.494Z] 5851b861e8e6: Pulling fs layer [2023-03-06T04:59:07.494Z] 5851b861e8e6: Waiting [2023-03-06T04:59:07.494Z] b352a97aabf1: Waiting [2023-03-06T04:59:07.494Z] 4872d77fe225: Waiting [2023-03-06T04:59:07.494Z] e2be974225ed: Verifying Checksum [2023-03-06T04:59:07.494Z] e2be974225ed: Download complete [2023-03-06T04:59:07.494Z] 988bab9f4d93: Verifying Checksum [2023-03-06T04:59:07.494Z] 988bab9f4d93: Download complete [2023-03-06T04:59:07.755Z] 339a4e72a1f5: Download complete [2023-03-06T04:59:07.755Z] 1469e6f7b9e6: Verifying Checksum [2023-03-06T04:59:07.755Z] 1469e6f7b9e6: Download complete [2023-03-06T04:59:07.755Z] eaf3925da568: Verifying Checksum [2023-03-06T04:59:07.755Z] eaf3925da568: Download complete [2023-03-06T04:59:07.755Z] bde34c3a00c8: Download complete [2023-03-06T04:59:07.755Z] b352a97aabf1: Verifying Checksum [2023-03-06T04:59:07.755Z] b352a97aabf1: Download complete [2023-03-06T04:59:07.755Z] 4872d77fe225: Verifying Checksum [2023-03-06T04:59:07.755Z] 4872d77fe225: Download complete [2023-03-06T04:59:07.755Z] 5851b861e8e6: Verifying Checksum [2023-03-06T04:59:07.755Z] 5851b861e8e6: Download complete [2023-03-06T04:59:07.755Z] b85a868b505f: Verifying Checksum [2023-03-06T04:59:07.755Z] b85a868b505f: Download complete [2023-03-06T04:59:08.014Z] bab4dde63d76: Download complete [2023-03-06T04:59:09.392Z] b85a868b505f: Pull complete [2023-03-06T04:59:09.393Z] e2be974225ed: Pull complete [2023-03-06T04:59:09.652Z] 339a4e72a1f5: Pull complete [2023-03-06T04:59:09.911Z] 988bab9f4d93: Pull complete [2023-03-06T04:59:10.169Z] 1469e6f7b9e6: Pull complete [2023-03-06T04:59:10.169Z] eaf3925da568: Pull complete [2023-03-06T04:59:12.074Z] bab4dde63d76: Pull complete [2023-03-06T04:59:12.074Z] bde34c3a00c8: Pull complete [2023-03-06T04:59:12.074Z] b352a97aabf1: Pull complete [2023-03-06T04:59:12.074Z] 4872d77fe225: Pull complete [2023-03-06T04:59:12.074Z] 5851b861e8e6: Pull complete [2023-03-06T04:59:12.074Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-06T04:59:12.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T04:59:12.074Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T04:59:12.303Z] prd-ubuntu20.04-docker-8c-8g-8323 does not seem to be running inside a container [2023-03-06T04:59:12.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1357 -v /w/workspace/gexfoundry_device-sdk-go_PR-1357:/w/workspace/gexfoundry_device-sdk-go_PR-1357:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1357@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-06T04:59:15.443Z] $ docker top 935522cf6167f899d410bffb1a9cf3af18d3822fcfc942e09276c246539ff2f9 -eo pid,comm [2023-03-06T04:59:15.505Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-06T04:59:15.505Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-06T04:59:15.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-06T04:59:15.654Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-06T04:59:15.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-06T04:59:15.763Z] $ docker exec 935522cf6167f899d410bffb1a9cf3af18d3822fcfc942e09276c246539ff2f9 ssh-agent [2023-03-06T04:59:15.863Z] SSH_AUTH_SOCK=/tmp/ssh-VDwNtYnuWwyA/agent.32 [2023-03-06T04:59:15.863Z] SSH_AGENT_PID=38 [2023-03-06T04:59:15.872Z] Running ssh-add (command line suppressed) [2023-03-06T04:59:15.962Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp/private_key_7920796754746861889.key (/w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp/private_key_7920796754746861889.key) [2023-03-06T04:59:15.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-06T04:59:16.316Z] + git tag --points-at HEAD [Pipeline] } [2023-03-06T04:59:16.344Z] $ docker exec --env ******** --env ******** 935522cf6167f899d410bffb1a9cf3af18d3822fcfc942e09276c246539ff2f9 ssh-agent -k [2023-03-06T04:59:16.442Z] unset SSH_AUTH_SOCK; [2023-03-06T04:59:16.443Z] unset SSH_AGENT_PID; [2023-03-06T04:59:16.443Z] echo Agent pid 38 killed; [2023-03-06T04:59:16.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-06T04:59:16.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-06T04:59:16.562Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-06T04:59:16.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-06T04:59:16.672Z] $ docker exec 935522cf6167f899d410bffb1a9cf3af18d3822fcfc942e09276c246539ff2f9 ssh-agent [2023-03-06T04:59:16.773Z] SSH_AUTH_SOCK=/tmp/ssh-oyQMGH5NwW28/agent.70 [2023-03-06T04:59:16.773Z] SSH_AGENT_PID=76 [2023-03-06T04:59:16.778Z] Running ssh-add (command line suppressed) [2023-03-06T04:59:16.878Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp/private_key_7109494742821893759.key (/w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp/private_key_7109494742821893759.key) [2023-03-06T04:59:16.895Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-06T04:59:17.230Z] + git semver init [2023-03-06T04:59:17.490Z] 2023-03-06 04:59:17,422 [run_init] DEBUG init version:0.0.0 force:False [2023-03-06T04:59:17.490Z] 2023-03-06 04:59:17,422 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1357/.semver [2023-03-06T04:59:17.490Z] 2023-03-06 04:59:17,423 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1357/.semver [2023-03-06T04:59:17.490Z] 2023-03-06 04:59:17,423 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1357/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1357, universal_newlines=False, shell=None, istream=None) [2023-03-06T04:59:18.867Z] 2023-03-06 04:59:18,465 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1357/.git/info/exclude [2023-03-06T04:59:18.867Z] 2023-03-06 04:59:18,466 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1357/.semver/PR-1357 with force:False [2023-03-06T04:59:18.867Z] 2023-03-06 04:59:18,466 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1357/.semver/PR-1357 [2023-03-06T04:59:18.867Z] 2023-03-06 04:59:18,470 [execute] INFO git cat-file --batch-check [2023-03-06T04:59:18.867Z] 2023-03-06 04:59:18,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1357/.semver, universal_newlines=False, shell=None, istream=) [2023-03-06T04:59:18.867Z] 2023-03-06 04:59:18,476 [execute] INFO git cat-file --batch [2023-03-06T04:59:18.867Z] 2023-03-06 04:59:18,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1357/.semver, universal_newlines=False, shell=None, istream=) [2023-03-06T04:59:18.867Z] 2023-03-06 04:59:18,482 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1357/.semver/PR-1357 [2023-03-06T04:59:18.867Z] 0.0.0 [Pipeline] } [2023-03-06T04:59:18.895Z] $ docker exec --env ******** --env ******** 935522cf6167f899d410bffb1a9cf3af18d3822fcfc942e09276c246539ff2f9 ssh-agent -k [2023-03-06T04:59:18.990Z] unset SSH_AUTH_SOCK; [2023-03-06T04:59:18.990Z] unset SSH_AGENT_PID; [2023-03-06T04:59:18.990Z] echo Agent pid 76 killed; [2023-03-06T04:59:18.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-06T04:59:19.418Z] + git semver [Pipeline] } [2023-03-06T04:59:19.699Z] $ docker stop --time=1 935522cf6167f899d410bffb1a9cf3af18d3822fcfc942e09276c246539ff2f9 [2023-03-06T04:59:21.048Z] $ docker rm -f --volumes 935522cf6167f899d410bffb1a9cf3af18d3822fcfc942e09276c246539ff2f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T04:59:21.464Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-06T04:59:21.774Z] Stashed 1 file(s) [Pipeline] echo [2023-03-06T04:59:21.792Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T04:59:22.371Z] provisioning config files... [2023-03-06T04:59:22.380Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp/config14136115873011221246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T04:59:22.707Z] ---> docker-login.sh [2023-03-06T04:59:22.707Z] nexus3.edgexfoundry.org:10001 [2023-03-06T04:59:22.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T04:59:22.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T04:59:22.707Z] Configure a credential helper to remove this warning. See [2023-03-06T04:59:22.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T04:59:22.707Z] [2023-03-06T04:59:22.707Z] Login Succeeded [2023-03-06T04:59:22.707Z] nexus3.edgexfoundry.org:10002 [2023-03-06T04:59:22.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T04:59:22.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T04:59:22.707Z] Configure a credential helper to remove this warning. See [2023-03-06T04:59:22.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T04:59:22.707Z] [2023-03-06T04:59:22.707Z] Login Succeeded [2023-03-06T04:59:22.707Z] nexus3.edgexfoundry.org:10003 [2023-03-06T04:59:22.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T04:59:22.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T04:59:22.965Z] Configure a credential helper to remove this warning. See [2023-03-06T04:59:22.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T04:59:22.965Z] [2023-03-06T04:59:22.965Z] Login Succeeded [2023-03-06T04:59:22.965Z] nexus3.edgexfoundry.org:10004 [2023-03-06T04:59:22.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T04:59:22.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T04:59:22.965Z] Configure a credential helper to remove this warning. See [2023-03-06T04:59:22.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T04:59:22.965Z] [2023-03-06T04:59:22.965Z] Login Succeeded [2023-03-06T04:59:22.965Z] docker.io [2023-03-06T04:59:23.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T04:59:23.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T04:59:23.225Z] Configure a credential helper to remove this warning. See [2023-03-06T04:59:23.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T04:59:23.225Z] [2023-03-06T04:59:23.225Z] Login Succeeded [2023-03-06T04:59:23.225Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T04:59:23.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-06T04:59:23.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T04:59:23.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T04:59:23.496Z] ========================================================= [2023-03-06T04:59:23.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-06T04:59:23.496Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T04:59:23.962Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-06T04:59:23.962Z] Sending build context to Docker daemon 10.61MB [2023-03-06T04:59:23.962Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T04:59:23.962Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-06T04:59:24.536Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-06T04:59:24.536Z] 213ec9aee27d: Pulling fs layer [2023-03-06T04:59:24.536Z] 4583459ba037: Pulling fs layer [2023-03-06T04:59:24.536Z] 93c1e223e6f2: Pulling fs layer [2023-03-06T04:59:24.536Z] 53926ce57604: Pulling fs layer [2023-03-06T04:59:24.536Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-06T04:59:24.536Z] 22ff95d597cd: Pulling fs layer [2023-03-06T04:59:24.536Z] 12d6caf4c0d1: Pulling fs layer [2023-03-06T04:59:24.536Z] 96b7cbca73a9: Pulling fs layer [2023-03-06T04:59:24.536Z] a7acece74701: Pulling fs layer [2023-03-06T04:59:24.536Z] 21b2b0c7a3f4: Waiting [2023-03-06T04:59:24.536Z] 22ff95d597cd: Waiting [2023-03-06T04:59:24.537Z] 12d6caf4c0d1: Waiting [2023-03-06T04:59:24.537Z] a7acece74701: Waiting [2023-03-06T04:59:24.537Z] 96b7cbca73a9: Waiting [2023-03-06T04:59:24.537Z] 53926ce57604: Waiting [2023-03-06T04:59:24.537Z] 93c1e223e6f2: Verifying Checksum [2023-03-06T04:59:24.537Z] 93c1e223e6f2: Download complete [2023-03-06T04:59:24.537Z] 4583459ba037: Download complete [2023-03-06T04:59:24.537Z] 21b2b0c7a3f4: Download complete [2023-03-06T04:59:24.537Z] 22ff95d597cd: Verifying Checksum [2023-03-06T04:59:24.537Z] 22ff95d597cd: Download complete [2023-03-06T04:59:24.537Z] 213ec9aee27d: Verifying Checksum [2023-03-06T04:59:24.537Z] 213ec9aee27d: Download complete [2023-03-06T04:59:24.537Z] 12d6caf4c0d1: Verifying Checksum [2023-03-06T04:59:24.537Z] 12d6caf4c0d1: Download complete [2023-03-06T04:59:24.799Z] 213ec9aee27d: Pull complete [2023-03-06T04:59:24.799Z] 4583459ba037: Pull complete [2023-03-06T04:59:24.799Z] 93c1e223e6f2: Pull complete [2023-03-06T04:59:25.058Z] a7acece74701: Verifying Checksum [2023-03-06T04:59:25.058Z] a7acece74701: Download complete [2023-03-06T04:59:25.316Z] 96b7cbca73a9: Verifying Checksum [2023-03-06T04:59:25.316Z] 96b7cbca73a9: Download complete [2023-03-06T04:59:25.316Z] 53926ce57604: Download complete [2023-03-06T04:59:29.504Z] 53926ce57604: Pull complete [2023-03-06T04:59:29.504Z] 21b2b0c7a3f4: Pull complete [2023-03-06T04:59:29.763Z] 22ff95d597cd: Pull complete [2023-03-06T04:59:30.022Z] 12d6caf4c0d1: Pull complete [2023-03-06T04:59:31.922Z] 96b7cbca73a9: Pull complete [2023-03-06T04:59:32.857Z] a7acece74701: Pull complete [2023-03-06T04:59:33.116Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-06T04:59:33.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-06T04:59:33.116Z] ---> db6d94c90886 [2023-03-06T04:59:33.116Z] Step 3/10 : ARG MAKE=make build [2023-03-06T04:59:37.229Z] Still waiting to schedule task [2023-03-06T04:59:37.230Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-06T04:59:41.234Z] ---> Running in 574c2830cb3e [2023-03-06T04:59:41.234Z] Removing intermediate container 574c2830cb3e [2023-03-06T04:59:41.234Z] ---> 5a9bae405017 [2023-03-06T04:59:41.234Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-06T04:59:41.492Z] ---> Running in db3ced044925 [2023-03-06T04:59:41.751Z] Removing intermediate container db3ced044925 [2023-03-06T04:59:41.751Z] ---> 9b1183b97222 [2023-03-06T04:59:41.751Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-06T04:59:42.014Z] ---> Running in f6fbb77962e4 [2023-03-06T04:59:42.281Z] Removing intermediate container f6fbb77962e4 [2023-03-06T04:59:42.281Z] ---> 7a306932e546 [2023-03-06T04:59:42.281Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-06T04:59:42.541Z] ---> Running in d95d6b58b1fe [2023-03-06T04:59:43.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T04:59:43.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T04:59:43.629Z] OK: 211 MiB in 51 packages [2023-03-06T04:59:44.233Z] Removing intermediate container d95d6b58b1fe [2023-03-06T04:59:44.233Z] ---> 17350875c5c0 [2023-03-06T04:59:44.233Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-06T04:59:44.799Z] ---> 74ef049295bb [2023-03-06T04:59:44.799Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T04:59:44.799Z] ---> Running in 972f264040ab [2023-03-06T05:00:31.725Z] Removing intermediate container 972f264040ab [2023-03-06T05:00:31.725Z] ---> 165112cd307a [2023-03-06T05:00:31.725Z] Step 9/10 : COPY . . [2023-03-06T05:00:32.302Z] ---> 0d0b78f46f6b [2023-03-06T05:00:32.302Z] Step 10/10 : RUN ${MAKE} [2023-03-06T05:00:32.302Z] ---> Running in da892ebfb070 [2023-03-06T05:00:32.560Z] noop [2023-03-06T05:00:33.132Z] Removing intermediate container da892ebfb070 [2023-03-06T05:00:33.132Z] ---> 970690f75622 [2023-03-06T05:00:33.132Z] Successfully built 970690f75622 [2023-03-06T05:00:33.132Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:00:33.564Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-06T05:00:33.564Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T05:00:33.736Z] prd-ubuntu20.04-docker-8c-8g-8323 does not seem to be running inside a container [2023-03-06T05:00:33.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1357 -v /w/workspace/gexfoundry_device-sdk-go_PR-1357:/w/workspace/gexfoundry_device-sdk-go_PR-1357:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1357@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 ******** ci-base-image-x86_64 cat [2023-03-06T05:00:34.575Z] $ docker top 60f02ff31bcfcd040739f1528541a51029744a6af8f2f5351eadc366661b152e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T05:00:34.975Z] + go version [2023-03-06T05:00:34.975Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-06T05:00:35.015Z] $ docker stop --time=1 60f02ff31bcfcd040739f1528541a51029744a6af8f2f5351eadc366661b152e [2023-03-06T05:00:36.492Z] $ docker rm -f --volumes 60f02ff31bcfcd040739f1528541a51029744a6af8f2f5351eadc366661b152e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:00:37.281Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-06T05:00:37.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T05:00:37.448Z] prd-ubuntu20.04-docker-8c-8g-8323 does not seem to be running inside a container [2023-03-06T05:00:37.488Z] $ 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-1357 -v /w/workspace/gexfoundry_device-sdk-go_PR-1357:/w/workspace/gexfoundry_device-sdk-go_PR-1357:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1357@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 ******** ci-base-image-x86_64 cat [2023-03-06T05:00:38.299Z] $ docker top 82b7534f75752f0a4da028436d468e44e990c012bc22e02dbceee4478cfbb8f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T05:00:38.698Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1357 [Pipeline] fileExists [Pipeline] sh [2023-03-06T05:00:39.061Z] + make test [2023-03-06T05:00:39.061Z] go test -race -coverprofile=coverage.out ./... [2023-03-06T05:00:45.635Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-06T05:01:00.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-06T05:01:00.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-06T05:01:00.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-06T05:01:00.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-06T05:01:00.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-06T05:01:00.513Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.087s coverage: 27.6% of statements [2023-03-06T05:01:00.513Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.078s coverage: 78.9% of statements [2023-03-06T05:01:00.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-06T05:01:00.513Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.125s coverage: 86.0% of statements [2023-03-06T05:01:00.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-06T05:01:00.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-06T05:01:00.513Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 75.0% of statements [2023-03-06T05:01:00.513Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-06T05:01:03.798Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.076s coverage: 15.3% of statements [2023-03-06T05:01:03.798Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-06T05:01:03.798Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.123s coverage: 65.2% of statements [2023-03-06T05:01:03.798Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-06T05:01:03.798Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-06T05:01:03.798Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.804s coverage: 89.2% of statements [2023-03-06T05:01:03.798Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-06T05:01:03.798Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements [2023-03-06T05:01:03.798Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-06T05:01:21.956Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-06T05:01:21.956Z] GO111MODULE=on go vet ./... [2023-03-06T05:01:23.856Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-06T05:01:23.856Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-06T05:01:23.856Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-06T05:01:23.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-06T05:01:23.921Z] $ docker stop --time=1 82b7534f75752f0a4da028436d468e44e990c012bc22e02dbceee4478cfbb8f1 [2023-03-06T05:01:26.554Z] $ docker rm -f --volumes 82b7534f75752f0a4da028436d468e44e990c012bc22e02dbceee4478cfbb8f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T05:01:27.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-06T05:01:27.304Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-06T05:01:27.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-06T05:01:28.280Z] + ls -al . [2023-03-06T05:01:28.280Z] total 280 [2023-03-06T05:01:28.280Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 6 05:00 . [2023-03-06T05:01:28.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 04:58 .. [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 6 04:58 .dockerignore [2023-03-06T05:01:28.280Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 05:01 .git [2023-03-06T05:01:28.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 04:58 .github [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 6 04:58 .gitignore [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 6 04:58 .golangci.yml [2023-03-06T05:01:28.280Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 04:59 .semver [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 6 04:58 CHANGELOG.md [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 6 04:58 GOVERNANCE.md [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 6 04:58 Jenkinsfile [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 6 04:58 LICENSE [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 6 04:58 Makefile [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 6 04:58 OWNERS.md [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 6 04:58 README.md [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 6 04:59 VERSION [2023-03-06T05:01:28.280Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 04:58 bin [2023-03-06T05:01:28.280Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 6 05:01 coverage.out [2023-03-06T05:01:28.280Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 6 04:58 example [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 6 04:58 go.mod [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 6 04:58 go.sum [2023-03-06T05:01:28.280Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 6 04:58 internal [2023-03-06T05:01:28.280Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 6 04:58 openapi [2023-03-06T05:01:28.280Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 6 04:58 pkg [2023-03-06T05:01:28.280Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 04:58 snap [2023-03-06T05:01:28.280Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 6 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:01:28.670Z] + 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=9fd6ba797c01d21c8f51b8c25f3623ac286e8019 --label arch=amd64 --label version=0.0.0 . [2023-03-06T05:01:28.670Z] Sending build context to Docker daemon 10.72MB [2023-03-06T05:01:28.670Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T05:01:28.670Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-06T05:01:28.670Z] ---> 970690f75622 [2023-03-06T05:01:28.670Z] Step 3/23 : ARG MAKE=make build [2023-03-06T05:01:28.927Z] ---> Running in c56b1931bf59 [2023-03-06T05:01:28.927Z] Removing intermediate container c56b1931bf59 [2023-03-06T05:01:28.927Z] ---> 61a220634f08 [2023-03-06T05:01:28.927Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-06T05:01:28.927Z] ---> Running in e9132c1fa56e [2023-03-06T05:01:29.185Z] Removing intermediate container e9132c1fa56e [2023-03-06T05:01:29.185Z] ---> 6ab6ad396661 [2023-03-06T05:01:29.185Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-06T05:01:29.185Z] ---> Running in fe4e5d84e472 [2023-03-06T05:01:29.185Z] Removing intermediate container fe4e5d84e472 [2023-03-06T05:01:29.185Z] ---> 1f449927a044 [2023-03-06T05:01:29.185Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-06T05:01:29.185Z] ---> Running in d2442174aa88 [2023-03-06T05:01:29.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T05:01:29.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T05:01:29.960Z] OK: 211 MiB in 51 packages [2023-03-06T05:01:30.218Z] Removing intermediate container d2442174aa88 [2023-03-06T05:01:30.218Z] ---> f7d078a41f70 [2023-03-06T05:01:30.218Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-06T05:01:30.477Z] ---> 7e8b4891b31b [2023-03-06T05:01:30.477Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T05:01:30.477Z] ---> Running in 0605cd8fe98b [2023-03-06T05:01:31.251Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8325 in /w/workspace/gexfoundry_device-sdk-go_PR-1357 [Pipeline] { [Pipeline] ws [2023-03-06T05:01:31.312Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-06T05:01:31.412Z] Removing intermediate container 0605cd8fe98b [2023-03-06T05:01:31.412Z] ---> f449b3f883e2 [2023-03-06T05:01:31.412Z] Step 9/23 : COPY . . [2023-03-06T05:01:31.421Z] The recommended git tool is: git [2023-03-06T05:01:31.981Z] ---> e911ceadcf38 [2023-03-06T05:01:31.981Z] Step 10/23 : RUN ${MAKE} [2023-03-06T05:01:31.981Z] ---> Running in 4535f1e70e10 [2023-03-06T05:01:32.239Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-06T05:01:42.039Z] using credential edgex-jenkins-ssh [2023-03-06T05:01:42.069Z] Cloning the remote Git repository [2023-03-06T05:01:42.129Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-06T05:01:42.230Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-06T05:01:42.384Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-06T05:01:42.385Z] > git --version # timeout=10 [2023-03-06T05:01:42.407Z] > git --version # 'git version 2.25.1' [2023-03-06T05:01:42.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T05:01:42.475Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-06T05:01:44.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-06T05:01:44.107Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-06T05:01:45.707Z] Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 [2023-03-06T05:01:45.995Z] Merge succeeded, producing 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 [2023-03-06T05:01:45.996Z] Checking out Revision 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 (PR-1357) [2023-03-06T05:01:45.030Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-06T05:01:45.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-06T05:01:45.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T05:01:45.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1357/head:refs/remotes/origin/PR-1357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-06T05:01:45.728Z] > git config core.sparsecheckout # timeout=10 [2023-03-06T05:01:45.759Z] > git checkout -f 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 # timeout=10 [2023-03-06T05:01:45.893Z] > git remote # timeout=10 [2023-03-06T05:01:45.911Z] > git config --get remote.origin.url # timeout=10 [2023-03-06T05:01:45.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T05:01:45.955Z] > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 [2023-03-06T05:01:45.981Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-06T05:01:46.005Z] > git config core.sparsecheckout # timeout=10 [2023-03-06T05:01:46.021Z] > git checkout -f 9fd6ba797c01d21c8f51b8c25f3623ac286e8019 # timeout=10 [2023-03-06T05:01:46.517Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-03-06T05:01:46.568Z] > git --version # timeout=10 [2023-03-06T05:01:46.581Z] > git --version # 'git version 2.25.1' [2023-03-06T05:01:46.597Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T05:01:47.605Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-06T05:01:47.605Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-06T05:01:47.605Z] Dload Upload Total Spent Left Speed [2023-03-06T05:01:47.605Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-03-06T05:01:48.194Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-06T05:01:48.551Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-06T05:01:48.551Z] + sudo tee /etc/docker/daemon.new [2023-03-06T05:01:48.551Z] { [2023-03-06T05:01:48.551Z] "registry-mirrors": [ [2023-03-06T05:01:48.551Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-06T05:01:48.551Z] ], [2023-03-06T05:01:48.551Z] "bip": "10.250.0.254/24", [2023-03-06T05:01:48.551Z] "hosts": [ [2023-03-06T05:01:48.551Z] "tcp://0.0.0.0:5555", [2023-03-06T05:01:48.551Z] "unix:///var/run/docker.sock" [2023-03-06T05:01:48.551Z] ], [2023-03-06T05:01:48.551Z] "mtu": 1458, [2023-03-06T05:01:48.551Z] "selinux-enabled": true, [2023-03-06T05:01:48.551Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-06T05:01:48.551Z] } [Pipeline] sh [2023-03-06T05:01:48.895Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-06T05:01:49.242Z] + sudo service docker restart [2023-03-06T05:01:58.845Z] Removing intermediate container 4535f1e70e10 [2023-03-06T05:01:58.845Z] ---> 5af21036abd6 [2023-03-06T05:01:58.845Z] Step 11/23 : FROM alpine:3.16 [2023-03-06T05:01:58.845Z] 3.16: Pulling from library/alpine [2023-03-06T05:01:58.845Z] ef5531b6e74e: Pulling fs layer [2023-03-06T05:01:58.845Z] ef5531b6e74e: Verifying Checksum [2023-03-06T05:01:58.845Z] ef5531b6e74e: Download complete [2023-03-06T05:01:58.845Z] ef5531b6e74e: Pull complete [2023-03-06T05:01:58.845Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-06T05:01:58.845Z] Status: Downloaded newer image for alpine:3.16 [2023-03-06T05:01:58.845Z] ---> dfd21b5a31f5 [2023-03-06T05:01:58.845Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-06T05:01:58.845Z] ---> Running in a7e6bdd192a8 [2023-03-06T05:01:58.845Z] Removing intermediate container a7e6bdd192a8 [2023-03-06T05:01:58.845Z] ---> 3c057db49e40 [2023-03-06T05:01:58.845Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-06T05:01:58.845Z] ---> Running in f06dd7121bf0 [2023-03-06T05:01:58.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T05:01:58.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T05:01:58.845Z] OK: 6 MiB in 14 packages [2023-03-06T05:01:58.846Z] Removing intermediate container f06dd7121bf0 [2023-03-06T05:01:58.846Z] ---> db1ea5d96a4f [2023-03-06T05:01:58.846Z] Step 14/23 : WORKDIR / [2023-03-06T05:01:58.846Z] ---> Running in 56f1ff219278 [2023-03-06T05:01:58.846Z] Removing intermediate container 56f1ff219278 [2023-03-06T05:01:58.846Z] ---> c26a8f7e321c [2023-03-06T05:01:58.846Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-06T05:01:58.846Z] ---> 0c450be65290 [2023-03-06T05:01:58.846Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-06T05:01:58.846Z] ---> 6ae910d058cd [2023-03-06T05:01:58.846Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-06T05:01:58.846Z] ---> 1f248322dd2c [2023-03-06T05:01:58.846Z] Step 18/23 : EXPOSE 59999 [2023-03-06T05:01:58.846Z] ---> Running in 44308d2d3b63 [2023-03-06T05:01:58.846Z] Removing intermediate container 44308d2d3b63 [2023-03-06T05:01:58.846Z] ---> 28397e780870 [2023-03-06T05:01:58.846Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-06T05:01:58.846Z] ---> Running in e3e2111dba7c [2023-03-06T05:01:58.846Z] Removing intermediate container e3e2111dba7c [2023-03-06T05:01:58.846Z] ---> fa74ea46b818 [2023-03-06T05:01:58.846Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-06T05:01:58.846Z] ---> Running in 4e898a2280e0 [2023-03-06T05:01:58.846Z] Removing intermediate container 4e898a2280e0 [2023-03-06T05:01:58.846Z] ---> 4e5fd5195546 [2023-03-06T05:01:58.846Z] Step 21/23 : LABEL arch=amd64 [2023-03-06T05:01:58.846Z] ---> Running in af5836e4f08f [2023-03-06T05:01:58.846Z] Removing intermediate container af5836e4f08f [2023-03-06T05:01:58.846Z] ---> 91cfe3ab31bc [2023-03-06T05:01:58.846Z] Step 22/23 : LABEL git_sha=9fd6ba797c01d21c8f51b8c25f3623ac286e8019 [2023-03-06T05:01:58.846Z] ---> Running in 9da7d689d7b9 [2023-03-06T05:01:59.106Z] Removing intermediate container 9da7d689d7b9 [2023-03-06T05:01:59.106Z] ---> 1697e32b8b6e [2023-03-06T05:01:59.106Z] Step 23/23 : LABEL version=0.0.0 [2023-03-06T05:01:59.106Z] ---> Running in 22e33f16c310 [2023-03-06T05:01:59.106Z] Removing intermediate container 22e33f16c310 [2023-03-06T05:01:59.106Z] ---> 885dcb584eb6 [2023-03-06T05:01:59.106Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-06T05:01:59.106Z] Successfully built 885dcb584eb6 [2023-03-06T05:01:59.106Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:01:59.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T05:01:59.975Z] [2023-03-06T05:01:59.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:02:00.361Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T05:02:00.361Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-06T05:02:00.361Z] 5eb5b503b376: Pulling fs layer [2023-03-06T05:02:00.361Z] 5c69ac0246d0: Pulling fs layer [2023-03-06T05:02:00.361Z] ec43610c2a17: Pulling fs layer [2023-03-06T05:02:00.361Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-06T05:02:00.361Z] 33b1e0a273af: Pulling fs layer [2023-03-06T05:02:00.361Z] 5d3b04190fa2: Pulling fs layer [2023-03-06T05:02:00.361Z] 2f39f015ded8: Pulling fs layer [2023-03-06T05:02:00.361Z] 33b1e0a273af: Waiting [2023-03-06T05:02:00.361Z] 2f39f015ded8: Waiting [2023-03-06T05:02:00.361Z] 3a2ae6a8a46f: Waiting [2023-03-06T05:02:00.362Z] 5c69ac0246d0: Download complete [2023-03-06T05:02:00.362Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-06T05:02:00.362Z] 3a2ae6a8a46f: Download complete [2023-03-06T05:02:00.624Z] 33b1e0a273af: Verifying Checksum [2023-03-06T05:02:00.624Z] 33b1e0a273af: Download complete [2023-03-06T05:02:00.624Z] 5d3b04190fa2: Download complete [2023-03-06T05:02:00.624Z] ec43610c2a17: Verifying Checksum [2023-03-06T05:02:00.624Z] ec43610c2a17: Download complete [2023-03-06T05:02:00.624Z] 5eb5b503b376: Download complete [2023-03-06T05:02:01.558Z] 2f39f015ded8: Download complete [2023-03-06T05:02:02.126Z] 5eb5b503b376: Pull complete [2023-03-06T05:02:02.126Z] 5c69ac0246d0: Pull complete [2023-03-06T05:02:02.693Z] ec43610c2a17: Pull complete [2023-03-06T05:02:02.693Z] 3a2ae6a8a46f: Pull complete [2023-03-06T05:02:02.951Z] 33b1e0a273af: Pull complete [2023-03-06T05:02:02.951Z] 5d3b04190fa2: Pull complete [2023-03-06T05:02:07.136Z] 2f39f015ded8: Pull complete [2023-03-06T05:02:07.136Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-06T05:02:07.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T05:02:07.136Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T05:02:07.360Z] prd-ubuntu20.04-docker-8c-8g-8323 does not seem to be running inside a container [2023-03-06T05:02:07.388Z] $ 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-1357 -v /w/workspace/gexfoundry_device-sdk-go_PR-1357:/w/workspace/gexfoundry_device-sdk-go_PR-1357:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1357@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-lftools-log-publisher:latest cat [2023-03-06T05:02:11.395Z] $ docker top 483c00d34d8fd8ccbd35b52d1e41e6de20fa745f2e9f466bab038159b50c4c52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-03-06T05:02:11.675Z] provisioning config files... [2023-03-06T05:02:11.701Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3949875158480578198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T05:02:11.912Z] ---> job-cost.sh [2023-03-06T05:02:11.912Z] lf-activate-venv: SKIPPING [2023-03-06T05:02:11.912Z] INFO: No Stack... [2023-03-06T05:02:12.094Z] ---> docker-login.sh [2023-03-06T05:02:12.094Z] nexus3.edgexfoundry.org:10001 [2023-03-06T05:02:12.173Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-06T05:02:12.433Z] INFO: Archiving Costs [Pipeline] sh [2023-03-06T05:02:12.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T05:02:12.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T05:02:12.683Z] Configure a credential helper to remove this warning. See [2023-03-06T05:02:12.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T05:02:12.683Z] [2023-03-06T05:02:12.683Z] Login Succeeded [2023-03-06T05:02:12.683Z] nexus3.edgexfoundry.org:10002 [2023-03-06T05:02:12.747Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1357/archives/cost.csv [2023-03-06T05:02:12.747Z] + cut -d, -f6 [Pipeline] lock [2023-03-06T05:02:12.789Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1357-1-stack-cost] [2023-03-06T05:02:12.794Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1357-1-stack-cost] did not exist. Created. [2023-03-06T05:02:12.794Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-06T05:02:12.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T05:02:13.194Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-06T05:02:13.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T05:02:13.225Z] Configure a credential helper to remove this warning. See [2023-03-06T05:02:13.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T05:02:13.225Z] [2023-03-06T05:02:13.225Z] Login Succeeded [2023-03-06T05:02:13.225Z] nexus3.edgexfoundry.org:10003 [2023-03-06T05:02:13.248Z] Stashed 1 file(s) [Pipeline] } [2023-03-06T05:02:13.292Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1357-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-06T05:02:13.367Z] $ docker stop --time=1 483c00d34d8fd8ccbd35b52d1e41e6de20fa745f2e9f466bab038159b50c4c52 [2023-03-06T05:02:13.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T05:02:13.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T05:02:13.496Z] Configure a credential helper to remove this warning. See [2023-03-06T05:02:13.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T05:02:13.496Z] [2023-03-06T05:02:13.496Z] Login Succeeded [2023-03-06T05:02:13.496Z] nexus3.edgexfoundry.org:10004 [2023-03-06T05:02:13.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T05:02:14.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T05:02:14.040Z] Configure a credential helper to remove this warning. See [2023-03-06T05:02:14.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T05:02:14.040Z] [2023-03-06T05:02:14.040Z] Login Succeeded [2023-03-06T05:02:14.040Z] docker.io [2023-03-06T05:02:14.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T05:02:14.522Z] $ docker rm -f --volumes 483c00d34d8fd8ccbd35b52d1e41e6de20fa745f2e9f466bab038159b50c4c52 [2023-03-06T05:02:14.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T05:02:14.580Z] Configure a credential helper to remove this warning. See [2023-03-06T05:02:14.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T05:02:14.580Z] [2023-03-06T05:02:14.580Z] Login Succeeded [2023-03-06T05:02:14.580Z] ---> docker-login.sh ends [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-03-06T05:02:14.747Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-03-06T05:02:15.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T05:02:15.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T05:02:15.244Z] ========================================================= [2023-03-06T05:02:15.244Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-06T05:02:15.244Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:02:15.743Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-06T05:02:16.012Z] Sending build context to Docker daemon 5.693MB [2023-03-06T05:02:16.012Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T05:02:16.012Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-06T05:02:16.293Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-06T05:02:16.293Z] 9b18e9b68314: Pulling fs layer [2023-03-06T05:02:16.293Z] 35d82f9e3411: Pulling fs layer [2023-03-06T05:02:16.293Z] e16973657156: Pulling fs layer [2023-03-06T05:02:16.293Z] fc693d55d65f: Pulling fs layer [2023-03-06T05:02:16.293Z] 7e9fc2657dce: Pulling fs layer [2023-03-06T05:02:16.293Z] dda99020689f: Pulling fs layer [2023-03-06T05:02:16.293Z] db1c61fa0a46: Pulling fs layer [2023-03-06T05:02:16.293Z] 891c053d2c06: Pulling fs layer [2023-03-06T05:02:16.293Z] dda99020689f: Waiting [2023-03-06T05:02:16.293Z] db1c61fa0a46: Waiting [2023-03-06T05:02:16.293Z] 891c053d2c06: Waiting [2023-03-06T05:02:16.293Z] fc693d55d65f: Waiting [2023-03-06T05:02:16.293Z] 7e9fc2657dce: Waiting [2023-03-06T05:02:16.293Z] e16973657156: Verifying Checksum [2023-03-06T05:02:16.293Z] e16973657156: Download complete [2023-03-06T05:02:16.293Z] 35d82f9e3411: Verifying Checksum [2023-03-06T05:02:16.293Z] 35d82f9e3411: Download complete [2023-03-06T05:02:16.293Z] 7e9fc2657dce: Verifying Checksum [2023-03-06T05:02:16.293Z] 7e9fc2657dce: Download complete [2023-03-06T05:02:16.293Z] dda99020689f: Verifying Checksum [2023-03-06T05:02:16.293Z] dda99020689f: Download complete [2023-03-06T05:02:16.570Z] 9b18e9b68314: Verifying Checksum [2023-03-06T05:02:16.570Z] 9b18e9b68314: Download complete [2023-03-06T05:02:17.545Z] 9b18e9b68314: Pull complete [2023-03-06T05:02:17.545Z] 891c053d2c06: Verifying Checksum [2023-03-06T05:02:17.545Z] 891c053d2c06: Download complete [2023-03-06T05:02:18.966Z] db1c61fa0a46: Verifying Checksum [2023-03-06T05:02:18.966Z] db1c61fa0a46: Download complete [2023-03-06T05:02:19.234Z] fc693d55d65f: Verifying Checksum [2023-03-06T05:02:19.234Z] fc693d55d65f: Download complete [2023-03-06T05:02:19.502Z] 35d82f9e3411: Pull complete [2023-03-06T05:02:19.502Z] e16973657156: Pull complete [2023-03-06T05:02:34.494Z] fc693d55d65f: Pull complete [2023-03-06T05:02:34.494Z] 7e9fc2657dce: Pull complete [2023-03-06T05:02:34.494Z] dda99020689f: Pull complete [2023-03-06T05:02:38.798Z] db1c61fa0a46: Pull complete [2023-03-06T05:02:40.809Z] 891c053d2c06: Pull complete [2023-03-06T05:02:40.809Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-06T05:02:40.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-06T05:02:40.809Z] ---> f96f9c87975a [2023-03-06T05:02:40.809Z] Step 3/10 : ARG MAKE=make build [2023-03-06T05:02:42.797Z] ---> Running in 1e00411e42ed [2023-03-06T05:02:42.797Z] Removing intermediate container 1e00411e42ed [2023-03-06T05:02:42.797Z] ---> 9a30258e28b7 [2023-03-06T05:02:42.797Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-06T05:02:43.078Z] ---> Running in a5401a2dddc4 [2023-03-06T05:02:43.354Z] Removing intermediate container a5401a2dddc4 [2023-03-06T05:02:43.354Z] ---> 3fdac975cd08 [2023-03-06T05:02:43.354Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-06T05:02:43.626Z] ---> Running in d1c15005659a [2023-03-06T05:02:45.045Z] Removing intermediate container d1c15005659a [2023-03-06T05:02:45.045Z] ---> 5185e3c83558 [2023-03-06T05:02:45.045Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-06T05:02:45.045Z] ---> Running in 48f0e85fc073 [2023-03-06T05:02:46.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T05:02:46.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T05:02:47.442Z] OK: 221 MiB in 51 packages [2023-03-06T05:02:48.037Z] Removing intermediate container 48f0e85fc073 [2023-03-06T05:02:48.037Z] ---> 99ba4df863cf [2023-03-06T05:02:48.037Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-06T05:02:48.633Z] ---> 5ca7f02aad42 [2023-03-06T05:02:48.633Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T05:02:48.633Z] ---> Running in b1fbff0270db [2023-03-06T05:03:45.064Z] Removing intermediate container b1fbff0270db [2023-03-06T05:03:45.064Z] ---> c1d9bcedab42 [2023-03-06T05:03:45.064Z] Step 9/10 : COPY . . [2023-03-06T05:03:45.064Z] ---> 348889ffa7c1 [2023-03-06T05:03:45.064Z] Step 10/10 : RUN ${MAKE} [2023-03-06T05:03:45.064Z] ---> Running in 2af34f1d8ddd [2023-03-06T05:03:46.027Z] noop [2023-03-06T05:03:46.610Z] Removing intermediate container 2af34f1d8ddd [2023-03-06T05:03:46.610Z] ---> 869cc1289987 [2023-03-06T05:03:46.610Z] Successfully built 869cc1289987 [2023-03-06T05:03:46.610Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:03:47.101Z] + docker inspect -f . ci-base-image-arm64 [2023-03-06T05:03:47.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T05:03:47.350Z] prd-ubuntu20.04-docker-arm64-4c-16g-8325 does not seem to be running inside a container [2023-03-06T05:03:47.413Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-06T05:03:49.427Z] $ docker top e5371aa3003e79d9dd9a2f1e14d1df55bf33438f9b7c722d799dcb938ab0270d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T05:03:50.297Z] + go version [2023-03-06T05:03:50.297Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-06T05:03:50.331Z] $ docker stop --time=1 e5371aa3003e79d9dd9a2f1e14d1df55bf33438f9b7c722d799dcb938ab0270d [2023-03-06T05:03:51.904Z] $ docker rm -f --volumes e5371aa3003e79d9dd9a2f1e14d1df55bf33438f9b7c722d799dcb938ab0270d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:03:52.697Z] + docker inspect -f . ci-base-image-arm64 [2023-03-06T05:03:52.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T05:03:52.929Z] prd-ubuntu20.04-docker-arm64-4c-16g-8325 does not seem to be running inside a container [2023-03-06T05:03:52.990Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-06T05:03:54.030Z] $ docker top 73bed74be1d8cf3ce7721fb528939fb919750d696c2c2b15c48a2ceb0f9858d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T05:03:54.572Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-06T05:03:54.956Z] + make test [2023-03-06T05:03:54.956Z] go test -race -coverprofile=coverage.out ./... [2023-03-06T05:04:27.190Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-06T05:06:18.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-06T05:06:18.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-06T05:06:18.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-06T05:06:18.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-06T05:06:18.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-06T05:06:18.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.250s coverage: 27.6% of statements [2023-03-06T05:06:20.250Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.339s coverage: 78.9% of statements [2023-03-06T05:06:20.250Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-06T05:06:24.506Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.355s coverage: 86.0% of statements [2023-03-06T05:06:24.506Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-06T05:06:24.506Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-06T05:06:26.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.448s coverage: 75.0% of statements [2023-03-06T05:06:26.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-06T05:06:26.445Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.367s coverage: 15.3% of statements [2023-03-06T05:06:26.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-06T05:06:27.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.434s coverage: 65.2% of statements [2023-03-06T05:06:27.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-06T05:06:27.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-06T05:06:31.670Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.933s coverage: 89.2% of statements [2023-03-06T05:06:31.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-06T05:06:31.670Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.255s coverage: 4.6% of statements [2023-03-06T05:06:31.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-06T05:06:32.253Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-06T05:06:32.253Z] GO111MODULE=on go vet ./... [2023-03-06T05:08:08.906Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-06T05:08:08.906Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-06T05:08:08.906Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-06T05:08:08.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-06T05:08:08.985Z] $ docker stop --time=1 73bed74be1d8cf3ce7721fb528939fb919750d696c2c2b15c48a2ceb0f9858d3 [2023-03-06T05:08:10.807Z] $ docker rm -f --volumes 73bed74be1d8cf3ce7721fb528939fb919750d696c2c2b15c48a2ceb0f9858d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T05:08:12.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-06T05:08:12.258Z] Warning: overwriting stash ‘coverage-report’ [2023-03-06T05:08:12.885Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T05:08:13.457Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-06T05:08:13.798Z] + ls -al . [2023-03-06T05:08:13.798Z] total 276 [2023-03-06T05:08:13.798Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 6 05:03 . [2023-03-06T05:08:13.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 05:01 .. [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 6 05:01 .dockerignore [2023-03-06T05:08:13.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 05:01 .git [2023-03-06T05:08:13.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 05:01 .github [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 6 05:01 .gitignore [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 6 05:01 .golangci.yml [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 6 05:01 CHANGELOG.md [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 6 05:01 GOVERNANCE.md [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 6 05:01 Jenkinsfile [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 6 05:01 LICENSE [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 6 05:01 Makefile [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 6 05:01 OWNERS.md [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 6 05:01 README.md [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 6 04:59 VERSION [2023-03-06T05:08:13.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 05:01 bin [2023-03-06T05:08:13.798Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 6 05:06 coverage.out [2023-03-06T05:08:13.798Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 6 05:01 example [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 6 05:01 go.mod [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 6 05:01 go.sum [2023-03-06T05:08:13.798Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 6 05:01 internal [2023-03-06T05:08:13.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 6 05:01 openapi [2023-03-06T05:08:13.798Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 6 05:01 pkg [2023-03-06T05:08:13.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 05:01 snap [2023-03-06T05:08:13.798Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 6 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:08:14.247Z] + 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=9fd6ba797c01d21c8f51b8c25f3623ac286e8019 --label arch=arm64 --label version=0.0.0 . [2023-03-06T05:08:14.516Z] Sending build context to Docker daemon 5.806MB [2023-03-06T05:08:14.516Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T05:08:14.516Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-06T05:08:14.516Z] ---> 869cc1289987 [2023-03-06T05:08:14.516Z] Step 3/23 : ARG MAKE=make build [2023-03-06T05:08:14.785Z] ---> Running in bd3762a6a461 [2023-03-06T05:08:15.051Z] Removing intermediate container bd3762a6a461 [2023-03-06T05:08:15.051Z] ---> 317c39cd1c7b [2023-03-06T05:08:15.051Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-06T05:08:15.051Z] ---> Running in 4febe0e37526 [2023-03-06T05:08:15.322Z] Removing intermediate container 4febe0e37526 [2023-03-06T05:08:15.322Z] ---> 02dfe374c391 [2023-03-06T05:08:15.322Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-06T05:08:15.590Z] ---> Running in 9f1c6200e707 [2023-03-06T05:08:15.858Z] Removing intermediate container 9f1c6200e707 [2023-03-06T05:08:15.858Z] ---> 4ef927db81d2 [2023-03-06T05:08:15.858Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-06T05:08:15.858Z] ---> Running in 52b6e5e100fa [2023-03-06T05:08:16.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T05:08:17.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T05:08:18.047Z] OK: 221 MiB in 51 packages [2023-03-06T05:08:19.012Z] Removing intermediate container 52b6e5e100fa [2023-03-06T05:08:19.012Z] ---> 724695a3d3da [2023-03-06T05:08:19.012Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-06T05:08:19.602Z] ---> 2d3e5b23a029 [2023-03-06T05:08:19.602Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T05:08:19.602Z] ---> Running in f826989c216a [2023-03-06T05:08:22.193Z] Removing intermediate container f826989c216a [2023-03-06T05:08:22.193Z] ---> ba42d86ecf88 [2023-03-06T05:08:22.193Z] Step 9/23 : COPY . . [2023-03-06T05:08:23.622Z] ---> 94689089fc6f [2023-03-06T05:08:23.622Z] Step 10/23 : RUN ${MAKE} [2023-03-06T05:08:23.622Z] ---> Running in 8b25625815e4 [2023-03-06T05:08:24.586Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-06T05:10:31.271Z] Removing intermediate container 8b25625815e4 [2023-03-06T05:10:31.271Z] ---> 3eb1a7f146e1 [2023-03-06T05:10:31.271Z] Step 11/23 : FROM alpine:3.16 [2023-03-06T05:10:31.271Z] 3.16: Pulling from library/alpine [2023-03-06T05:10:31.271Z] 3760b48202b3: Pulling fs layer [2023-03-06T05:10:31.271Z] 3760b48202b3: Verifying Checksum [2023-03-06T05:10:31.271Z] 3760b48202b3: Download complete [2023-03-06T05:10:31.271Z] 3760b48202b3: Pull complete [2023-03-06T05:10:31.271Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-06T05:10:31.271Z] Status: Downloaded newer image for alpine:3.16 [2023-03-06T05:10:31.271Z] ---> 4c81e5bf8899 [2023-03-06T05:10:31.271Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-06T05:10:31.271Z] ---> Running in 51d882767509 [2023-03-06T05:10:31.271Z] Removing intermediate container 51d882767509 [2023-03-06T05:10:31.271Z] ---> ae340372f820 [2023-03-06T05:10:31.271Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-06T05:10:31.271Z] ---> Running in c2e8c00892bd [2023-03-06T05:10:31.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T05:10:31.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T05:10:31.271Z] OK: 5 MiB in 14 packages [2023-03-06T05:10:31.271Z] Removing intermediate container c2e8c00892bd [2023-03-06T05:10:31.271Z] ---> d8a5c9a71fae [2023-03-06T05:10:31.271Z] Step 14/23 : WORKDIR / [2023-03-06T05:10:31.271Z] ---> Running in 685da25eece9 [2023-03-06T05:10:31.271Z] Removing intermediate container 685da25eece9 [2023-03-06T05:10:31.271Z] ---> 1c47667ee768 [2023-03-06T05:10:31.271Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-06T05:10:34.617Z] ---> 59f0e616d8ab [2023-03-06T05:10:34.617Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-06T05:10:35.591Z] ---> 91559b9183b5 [2023-03-06T05:10:35.591Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-06T05:10:36.185Z] ---> 5267d4bb1d2a [2023-03-06T05:10:36.185Z] Step 18/23 : EXPOSE 59999 [2023-03-06T05:10:36.185Z] ---> Running in 10d0ffde1903 [2023-03-06T05:10:36.452Z] Removing intermediate container 10d0ffde1903 [2023-03-06T05:10:36.452Z] ---> b764ce71abba [2023-03-06T05:10:36.452Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-06T05:10:36.719Z] ---> Running in 91f20c7e31ab [2023-03-06T05:10:36.719Z] Removing intermediate container 91f20c7e31ab [2023-03-06T05:10:36.719Z] ---> a39ed5097cc4 [2023-03-06T05:10:36.719Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-06T05:10:36.984Z] ---> Running in 752e2eb0c935 [2023-03-06T05:10:37.250Z] Removing intermediate container 752e2eb0c935 [2023-03-06T05:10:37.250Z] ---> 347f44326012 [2023-03-06T05:10:37.250Z] Step 21/23 : LABEL arch=arm64 [2023-03-06T05:10:37.250Z] ---> Running in 35bd8dc24a43 [2023-03-06T05:10:37.516Z] Removing intermediate container 35bd8dc24a43 [2023-03-06T05:10:37.517Z] ---> c5ad0bffc0c0 [2023-03-06T05:10:37.517Z] Step 22/23 : LABEL git_sha=9fd6ba797c01d21c8f51b8c25f3623ac286e8019 [2023-03-06T05:10:37.517Z] ---> Running in 401d5ef5ac19 [2023-03-06T05:10:37.782Z] Removing intermediate container 401d5ef5ac19 [2023-03-06T05:10:37.782Z] ---> c6dcd87f4c72 [2023-03-06T05:10:37.782Z] Step 23/23 : LABEL version=0.0.0 [2023-03-06T05:10:38.049Z] ---> Running in 64ace1cbf4e7 [2023-03-06T05:10:38.049Z] Removing intermediate container 64ace1cbf4e7 [2023-03-06T05:10:38.049Z] ---> b334916f57fe [2023-03-06T05:10:38.049Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-06T05:10:38.315Z] Successfully built b334916f57fe [2023-03-06T05:10:38.315Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:10:39.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T05:10:39.094Z] [2023-03-06T05:10:39.094Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:10:39.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T05:10:39.491Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-06T05:10:39.491Z] 8998bd30e6a1: Pulling fs layer [2023-03-06T05:10:39.491Z] 04944245beec: Pulling fs layer [2023-03-06T05:10:39.491Z] 699f458cf7ca: Pulling fs layer [2023-03-06T05:10:39.491Z] 765212b225bb: Pulling fs layer [2023-03-06T05:10:39.491Z] f23df028b6ca: Pulling fs layer [2023-03-06T05:10:39.491Z] d65c8cfc05b1: Pulling fs layer [2023-03-06T05:10:39.491Z] 2437ff75d9bd: Pulling fs layer [2023-03-06T05:10:39.491Z] f23df028b6ca: Waiting [2023-03-06T05:10:39.491Z] d65c8cfc05b1: Waiting [2023-03-06T05:10:39.491Z] 2437ff75d9bd: Waiting [2023-03-06T05:10:39.491Z] 765212b225bb: Waiting [2023-03-06T05:10:39.759Z] 04944245beec: Verifying Checksum [2023-03-06T05:10:39.759Z] 04944245beec: Download complete [2023-03-06T05:10:39.759Z] 765212b225bb: Verifying Checksum [2023-03-06T05:10:39.759Z] 765212b225bb: Download complete [2023-03-06T05:10:39.759Z] f23df028b6ca: Verifying Checksum [2023-03-06T05:10:39.759Z] f23df028b6ca: Download complete [2023-03-06T05:10:39.759Z] d65c8cfc05b1: Verifying Checksum [2023-03-06T05:10:39.759Z] d65c8cfc05b1: Download complete [2023-03-06T05:10:39.759Z] 699f458cf7ca: Verifying Checksum [2023-03-06T05:10:39.759Z] 699f458cf7ca: Download complete [2023-03-06T05:10:40.346Z] 8998bd30e6a1: Download complete [2023-03-06T05:10:42.289Z] 2437ff75d9bd: Verifying Checksum [2023-03-06T05:10:42.289Z] 2437ff75d9bd: Download complete [2023-03-06T05:10:44.242Z] 8998bd30e6a1: Pull complete [2023-03-06T05:10:44.508Z] 04944245beec: Pull complete [2023-03-06T05:10:48.759Z] 699f458cf7ca: Pull complete [2023-03-06T05:10:48.759Z] 765212b225bb: Pull complete [2023-03-06T05:10:49.028Z] f23df028b6ca: Pull complete [2023-03-06T05:10:49.028Z] d65c8cfc05b1: Pull complete [2023-03-06T05:11:04.010Z] 2437ff75d9bd: Pull complete [2023-03-06T05:11:04.010Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-06T05:11:04.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T05:11:04.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T05:11:04.336Z] prd-ubuntu20.04-docker-arm64-4c-16g-8325 does not seem to be running inside a container [2023-03-06T05:11:04.397Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-06T05:11:07.118Z] $ docker top 39e4943732b341b43d580ce84ce1329861d2b0614dfbe154f75dd0f3ed609c31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T05:11:08.002Z] ---> job-cost.sh [2023-03-06T05:11:08.002Z] lf-activate-venv: SKIPPING [2023-03-06T05:11:08.002Z] INFO: No Stack... [2023-03-06T05:11:08.583Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-06T05:11:09.164Z] INFO: Archiving Costs [Pipeline] sh [2023-03-06T05:11:09.513Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-06T05:11:09.513Z] + cut -d, -f6 [Pipeline] lock [2023-03-06T05:11:09.600Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1357-1-stack-cost] [2023-03-06T05:11:09.605Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1357-1-stack-cost] did not exist. Created. [2023-03-06T05:11:09.605Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-06T05:11:10.014Z] /w/workspace/device-sdk-go/1@tmp/durable-ac693264/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-06T05:11:10.684Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-06T05:11:10.720Z] Warning: overwriting stash ‘stack-cost’ [2023-03-06T05:11:10.791Z] Stashed 1 file(s) [Pipeline] } [2023-03-06T05:11:10.805Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1357-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-06T05:11:10.876Z] $ docker stop --time=1 39e4943732b341b43d580ce84ce1329861d2b0614dfbe154f75dd0f3ed609c31 [2023-03-06T05:11:12.358Z] $ docker rm -f --volumes 39e4943732b341b43d580ce84ce1329861d2b0614dfbe154f75dd0f3ed609c31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-06T05:11:13.338Z] provisioning config files... [2023-03-06T05:11:13.347Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp/config549162484916061046tmp [Pipeline] { [Pipeline] sh [2023-03-06T05:11:13.681Z] + set +x [2023-03-06T05:11:13.682Z] + curl -s https://codecov.io/bash [2023-03-06T05:11:13.682Z] + bash -s -- [2023-03-06T05:11:13.682Z] [2023-03-06T05:11:13.682Z] _____ _ [2023-03-06T05:11:13.682Z] / ____| | | [2023-03-06T05:11:13.682Z] | | ___ __| | ___ ___ _____ __ [2023-03-06T05:11:13.682Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-06T05:11:13.682Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-06T05:11:13.682Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-06T05:11:13.682Z] Bash-1.0.6 [2023-03-06T05:11:13.682Z] [2023-03-06T05:11:13.682Z] [2023-03-06T05:11:13.682Z] ==> git version 2.25.1 found [2023-03-06T05:11:13.682Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-06T05:11:13.682Z] Release-Date: 2020-01-08 [2023-03-06T05:11:13.682Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-06T05:11:13.682Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-06T05:11:13.682Z] ==> Jenkins CI detected. [2023-03-06T05:11:13.682Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1357 [2023-03-06T05:11:13.682Z] project root: . [2023-03-06T05:11:13.682Z] --> token set from env [2023-03-06T05:11:13.682Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-06T05:11:13.682Z] ==> Running gcov in . (disable via -X gcov) [2023-03-06T05:11:13.682Z] ==> Python coveragepy not found [2023-03-06T05:11:13.682Z] ==> Searching for coverage reports in: [2023-03-06T05:11:13.682Z] + . [2023-03-06T05:11:13.682Z] -> Found 1 reports [2023-03-06T05:11:13.682Z] ==> Detecting git/mercurial file structure [2023-03-06T05:11:13.682Z] ==> Reading reports [2023-03-06T05:11:13.682Z] + ./coverage.out bytes=111243 [2023-03-06T05:11:13.682Z] ==> Appending adjustments [2023-03-06T05:11:13.682Z] https://docs.codecov.io/docs/fixing-reports [2023-03-06T05:11:13.942Z] + Found adjustments [2023-03-06T05:11:13.942Z] ==> Gzipping contents [2023-03-06T05:11:14.202Z] 16K /tmp/codecov.MESkuE.gz [2023-03-06T05:11:14.202Z] ==> Uploading reports [2023-03-06T05:11:14.202Z] url: https://codecov.io [2023-03-06T05:11:14.202Z] query: branch=PR-1357&commit=9fd6ba797c01d21c8f51b8c25f3623ac286e8019&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1357&job=&cmd_args= [2023-03-06T05:11:14.202Z] -> Pinging Codecov [2023-03-06T05:11:14.202Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1357&commit=9fd6ba797c01d21c8f51b8c25f3623ac286e8019&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1357&job=&cmd_args= [2023-03-06T05:11:14.202Z] -> Uploading to [2023-03-06T05:11:14.202Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-06/7E55EF52A471D76F132DFD9A03CDDE97/9fd6ba797c01d21c8f51b8c25f3623ac286e8019/99f33bcf-66af-447c-882f-c9235e1ea90a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230306%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230306T051114Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b647ca8777cabf0e239b2350370513057d8dc23712d5e4a87a5d78847470404a [2023-03-06T05:11:14.202Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-06T05:11:14.202Z] Dload Upload Total Spent Left Speed [2023-03-06T05:11:14.461Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15397 0 0 100 15397 0 57025 --:--:-- --:--:-- --:--:-- 57237 [2023-03-06T05:11:14.461Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9fd6ba797c01d21c8f51b8c25f3623ac286e8019 [Pipeline] } [2023-03-06T05:11:14.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-06T05:11:16.249Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1357/archives ] [2023-03-06T05:11:16.249Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1357/archives [2023-03-06T05:11:16.249Z] total 16 [2023-03-06T05:11:16.249Z] drwxr-xr-x 3 root root 4096 Mar 6 05:02 . [2023-03-06T05:11:16.249Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 6 05:02 .. [2023-03-06T05:11:16.249Z] drwxr-xr-x 2 root root 4096 Mar 6 05:02 cost [2023-03-06T05:11:16.249Z] -rw-r--r-- 1 root root 86 Mar 6 05:02 cost.csv [2023-03-06T05:11:16.249Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1357/archives [2023-03-06T05:11:16.249Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1357/archives [2023-03-06T05:11:16.249Z] total 16 [2023-03-06T05:11:16.249Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 05:02 . [2023-03-06T05:11:16.249Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 6 05:02 .. [2023-03-06T05:11:16.249Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 6 05:02 cost [2023-03-06T05:11:16.249Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 6 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-06T05:11:16.574Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T05:11:17.464Z] ---> package-listing.sh [2023-03-06T05:11:17.464Z] ++ facter osfamily [2023-03-06T05:11:17.464Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-06T05:11:17.722Z] + OS_FAMILY=debian [2023-03-06T05:11:17.722Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1357 [2023-03-06T05:11:17.722Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-06T05:11:17.722Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-06T05:11:17.722Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-06T05:11:17.722Z] + PACKAGES=/tmp/packages_start.txt [2023-03-06T05:11:17.722Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1357 ']' [2023-03-06T05:11:17.722Z] + PACKAGES=/tmp/packages_end.txt [2023-03-06T05:11:17.722Z] + case "${OS_FAMILY}" in [2023-03-06T05:11:17.722Z] + dpkg -l [2023-03-06T05:11:17.722Z] + grep '^ii' [2023-03-06T05:11:17.722Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-06T05:11:17.722Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-06T05:11:17.722Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-06T05:11:17.722Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1357 ']' [2023-03-06T05:11:17.722Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1357/archives/ [2023-03-06T05:11:17.722Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1357/archives/ [Pipeline] echo [2023-03-06T05:11:17.751Z] 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-1357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-06T05:11:18.040Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T05:11:18.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T05:11:18.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T05:11:18.795Z] prd-ubuntu20.04-docker-8c-8g-8323 does not seem to be running inside a container [2023-03-06T05:11:18.822Z] $ 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-1357/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-1357 -v /w/workspace/gexfoundry_device-sdk-go_PR-1357:/w/workspace/gexfoundry_device-sdk-go_PR-1357:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1357@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-06T05:11:19.002Z] $ docker top d0bf301d011e3e13a2248d06d6c905ca7cca0405ec5a386f05c2e739d9f868a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T05:11:19.391Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-06T05:11:19.695Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-06T05:11:20.002Z] + ls /var/log/sa-host [2023-03-06T05:11:20.002Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T05:11:20.210Z] provisioning config files... [2023-03-06T05:11:20.218Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1357@tmp/config15851473497443538618tmp [Pipeline] { [Pipeline] echo [2023-03-06T05:11:20.264Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T05:11:20.573Z] ---> create-netrc.sh [Pipeline] } [2023-03-06T05:11:20.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-06T05:11:20.991Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-06T05:11:21.024Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T05:11:21.333Z] ---> sudo-logs.sh [2023-03-06T05:11:21.333Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-06T05:11:21.416Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T05:11:21.726Z] ---> job-cost.sh [2023-03-06T05:11:21.726Z] lf-activate-venv: SKIPPING [2023-03-06T05:11:21.726Z] DEBUG: total: 0.2199999988079071 [2023-03-06T05:11:21.726Z] INFO: Retrieving Stack Cost... [2023-03-06T05:11:21.985Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-06T05:11:22.553Z] INFO: Archiving Costs [Pipeline] echo [2023-03-06T05:11:22.586Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T05:11:22.900Z] ---> logs-deploy.sh [2023-03-06T05:11:22.900Z] lf-activate-venv: SKIPPING [2023-03-06T05:11:22.900Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1357/1 [2023-03-06T05:11:22.900Z] INFO: archiving workspace using pattern(s): [2023-03-06T05:11:23.836Z] Archives upload complete. [2023-03-06T05:11:24.096Z] INFO: archiving logs to Nexus