Pull request #1322 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b618711b869c963d4bf151d758a794bb2943caa8+cf150bd1006c505b2559d8970edbe52dd5fe7567 (3347b86d8a183245c485530d8c540d99b3a24ce7) 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-ssh10761527369098600978.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-ssh7445044514202676213.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15676126913532767894.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 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-ssh17441394133411292809.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1322/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1322/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6176883404190231208.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6137’ Running on prd-ubuntu20.04-docker-8c-8g-6141 in /w/workspace/gexfoundry_device-sdk-go_PR-1322 [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-1322 # 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/1322/head:refs/remotes/origin/PR-1322 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit b618711b869c963d4bf151d758a794bb2943caa8 Merge succeeded, producing b618711b869c963d4bf151d758a794bb2943caa8 Checking out Revision b618711b869c963d4bf151d758a794bb2943caa8 (PR-1322) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T16:57:31.491Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T16:57:31.551Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T16:57:31.564Z] ========================================================= [2023-02-15T16:57:31.564Z] EdgeX Global Pipelines Version Info [2023-02-15T16:57:31.564Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b618711b869c963d4bf151d758a794bb2943caa8 # 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 cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b618711b869c963d4bf151d758a794bb2943caa8 # timeout=10 > git rev-list --no-walk dcfdaedc17ba7ef50e4b406ade3e38bd41473fce # timeout=10 [2023-02-15T16:57:32.292Z] ------------------- [2023-02-15T16:57:32.292Z] stable info: [2023-02-15T16:57:32.292Z] ------------------- [2023-02-15T16:57:32.292Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T16:57:32.292Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T16:57:32.292Z] Message: update stable to v1.0.244 [2023-02-15T16:57:32.872Z] ------------------- [2023-02-15T16:57:32.872Z] experimental info: [2023-02-15T16:57:32.872Z] ------------------- [2023-02-15T16:57:32.873Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T16:57:32.873Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T16:57:32.873Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T16:57:33.077Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-15T16:57:33.088Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-15T16:57:33.101Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T16:57:33.116Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T16:57:33.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T16:57:33.138Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T16:57:33.147Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T16:57:33.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-15T16:57:33.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T16:57:33.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T16:57:33.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T16:57:33.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-15T16:57:33.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T16:57:33.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T16:57:33.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T16:57:33.238Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T16:57:33.250Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T16:57:33.262Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T16:57:33.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T16:57:33.286Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T16:57:33.298Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-15T16:57:33.310Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-15T16:57:33.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T16:57:33.333Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T16:57:33.342Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T16:57:33.353Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T16:57:33.365Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T16:57:33.374Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1322 [Pipeline] echo [2023-02-15T16:57:33.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1322 [Pipeline] echo [2023-02-15T16:57:33.393Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1322 [Pipeline] echo [2023-02-15T16:57:33.412Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b618711b869c963d4bf151d758a794bb2943caa8 [Pipeline] echo [2023-02-15T16:57:33.431Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b618711 [Pipeline] echo [2023-02-15T16:57:33.453Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T16:57:33.501Z] provisioning config files... [2023-02-15T16:57:33.521Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp/config2102982992565643446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:57:33.826Z] ---> docker-login.sh [2023-02-15T16:57:33.826Z] nexus3.edgexfoundry.org:10001 [2023-02-15T16:57:33.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:57:34.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:57:34.086Z] Configure a credential helper to remove this warning. See [2023-02-15T16:57:34.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:57:34.086Z] [2023-02-15T16:57:34.086Z] Login Succeeded [2023-02-15T16:57:34.086Z] nexus3.edgexfoundry.org:10002 [2023-02-15T16:57:34.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:57:34.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:57:34.086Z] Configure a credential helper to remove this warning. See [2023-02-15T16:57:34.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:57:34.086Z] [2023-02-15T16:57:34.086Z] Login Succeeded [2023-02-15T16:57:34.086Z] nexus3.edgexfoundry.org:10003 [2023-02-15T16:57:34.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:57:34.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:57:34.345Z] Configure a credential helper to remove this warning. See [2023-02-15T16:57:34.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:57:34.345Z] [2023-02-15T16:57:34.345Z] Login Succeeded [2023-02-15T16:57:34.345Z] nexus3.edgexfoundry.org:10004 [2023-02-15T16:57:34.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:57:34.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:57:34.345Z] Configure a credential helper to remove this warning. See [2023-02-15T16:57:34.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:57:34.345Z] [2023-02-15T16:57:34.345Z] Login Succeeded [2023-02-15T16:57:34.345Z] docker.io [2023-02-15T16:57:34.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:57:34.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:57:34.605Z] Configure a credential helper to remove this warning. See [2023-02-15T16:57:34.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:57:34.605Z] [2023-02-15T16:57:34.605Z] Login Succeeded [2023-02-15T16:57:34.605Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T16:57:34.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T16:57:34.969Z] + git rev-list -1 --merges b618711b869c963d4bf151d758a794bb2943caa8~1..b618711b869c963d4bf151d758a794bb2943caa8 [Pipeline] echo [2023-02-15T16:57:35.045Z] -----------> git rev-list -1 --merges b618711b869c963d4bf151d758a794bb2943caa8~1..b618711b869c963d4bf151d758a794bb2943caa8 b618711b869c963d4bf151d758a794bb2943caa8 [false] [Pipeline] sh [2023-02-15T16:57:35.338Z] + git log --format=format:%s -1 b618711b869c963d4bf151d758a794bb2943caa8 [Pipeline] echo [2023-02-15T16:57:35.352Z] ========================================================= [2023-02-15T16:57:35.352Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T16:57:35.352Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T16:57:35.677Z] + git log --format=format:%s -1 b618711b869c963d4bf151d758a794bb2943caa8 [Pipeline] echo [2023-02-15T16:57:35.691Z] [semverPrep] GIT_COMMIT: b618711b869c963d4bf151d758a794bb2943caa8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-02-15T16:57:35.705Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T16:57:36.072Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T16:57:36.072Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T16:57:36.072Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T16:57:36.072Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T16:57:36.072Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T16:57:36.072Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T16:57:36.072Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:57:36.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T16:57:36.447Z] [2023-02-15T16:57:36.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:57:36.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T16:57:36.753Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T16:57:36.753Z] b85a868b505f: Pulling fs layer [2023-02-15T16:57:36.753Z] e2be974225ed: Pulling fs layer [2023-02-15T16:57:36.753Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T16:57:36.753Z] 988bab9f4d93: Pulling fs layer [2023-02-15T16:57:36.753Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T16:57:36.753Z] eaf3925da568: Pulling fs layer [2023-02-15T16:57:36.753Z] bab4dde63d76: Pulling fs layer [2023-02-15T16:57:36.753Z] bde34c3a00c8: Pulling fs layer [2023-02-15T16:57:36.753Z] b352a97aabf1: Pulling fs layer [2023-02-15T16:57:36.753Z] 4872d77fe225: Pulling fs layer [2023-02-15T16:57:36.753Z] 5851b861e8e6: Pulling fs layer [2023-02-15T16:57:36.753Z] bde34c3a00c8: Waiting [2023-02-15T16:57:36.753Z] 988bab9f4d93: Waiting [2023-02-15T16:57:36.753Z] 1469e6f7b9e6: Waiting [2023-02-15T16:57:36.753Z] eaf3925da568: Waiting [2023-02-15T16:57:36.753Z] bab4dde63d76: Waiting [2023-02-15T16:57:36.753Z] b352a97aabf1: Waiting [2023-02-15T16:57:36.753Z] 5851b861e8e6: Waiting [2023-02-15T16:57:36.753Z] e2be974225ed: Download complete [2023-02-15T16:57:36.753Z] 988bab9f4d93: Verifying Checksum [2023-02-15T16:57:36.753Z] 988bab9f4d93: Download complete [2023-02-15T16:57:37.018Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T16:57:37.018Z] 1469e6f7b9e6: Download complete [2023-02-15T16:57:37.018Z] eaf3925da568: Verifying Checksum [2023-02-15T16:57:37.018Z] eaf3925da568: Download complete [2023-02-15T16:57:37.018Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T16:57:37.018Z] 339a4e72a1f5: Download complete [2023-02-15T16:57:37.018Z] bde34c3a00c8: Verifying Checksum [2023-02-15T16:57:37.018Z] bde34c3a00c8: Download complete [2023-02-15T16:57:37.018Z] 4872d77fe225: Verifying Checksum [2023-02-15T16:57:37.018Z] 4872d77fe225: Download complete [2023-02-15T16:57:37.277Z] 5851b861e8e6: Download complete [2023-02-15T16:57:37.277Z] b85a868b505f: Verifying Checksum [2023-02-15T16:57:37.277Z] b85a868b505f: Download complete [2023-02-15T16:57:37.535Z] bab4dde63d76: Verifying Checksum [2023-02-15T16:57:37.535Z] bab4dde63d76: Download complete [2023-02-15T16:57:38.471Z] b85a868b505f: Pull complete [2023-02-15T16:57:38.730Z] e2be974225ed: Pull complete [2023-02-15T16:57:39.297Z] 339a4e72a1f5: Pull complete [2023-02-15T16:57:39.297Z] 988bab9f4d93: Pull complete [2023-02-15T16:57:39.557Z] 1469e6f7b9e6: Pull complete [2023-02-15T16:57:39.816Z] eaf3925da568: Pull complete [2023-02-15T16:57:41.722Z] bab4dde63d76: Pull complete [2023-02-15T16:57:41.722Z] bde34c3a00c8: Pull complete [2023-02-15T16:57:41.722Z] b352a97aabf1: Pull complete [2023-02-15T16:57:41.722Z] 4872d77fe225: Pull complete [2023-02-15T16:57:41.722Z] 5851b861e8e6: Pull complete [2023-02-15T16:57:41.722Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T16:57:41.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T16:57:41.722Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:57:41.857Z] prd-ubuntu20.04-docker-8c-8g-6141 does not seem to be running inside a container [2023-02-15T16:57:41.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1322 -v /w/workspace/gexfoundry_device-sdk-go_PR-1322:/w/workspace/gexfoundry_device-sdk-go_PR-1322:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1322@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-devops/py-git-semver:0.1.4 cat [2023-02-15T16:57:43.406Z] $ docker top 79436c8cb7146176623ed72d7b3373e40568ed3d8ef2b482ec2b02be45b14c60 -eo pid,comm [2023-02-15T16:57:43.465Z] 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-02-15T16:57:43.465Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T16:57:43.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T16:57:43.501Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T16:57:43.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T16:57:43.633Z] $ docker exec 79436c8cb7146176623ed72d7b3373e40568ed3d8ef2b482ec2b02be45b14c60 ssh-agent [2023-02-15T16:57:43.750Z] SSH_AUTH_SOCK=/tmp/ssh-AyKW3j2ABOWH/agent.32 [2023-02-15T16:57:43.750Z] SSH_AGENT_PID=38 [2023-02-15T16:57:43.758Z] Running ssh-add (command line suppressed) [2023-02-15T16:57:43.872Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp/private_key_14868093578152647197.key (/w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp/private_key_14868093578152647197.key) [2023-02-15T16:57:43.882Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T16:57:44.174Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T16:57:44.189Z] $ docker exec --env ******** --env ******** 79436c8cb7146176623ed72d7b3373e40568ed3d8ef2b482ec2b02be45b14c60 ssh-agent -k [2023-02-15T16:57:44.282Z] unset SSH_AUTH_SOCK; [2023-02-15T16:57:44.283Z] unset SSH_AGENT_PID; [2023-02-15T16:57:44.284Z] echo Agent pid 38 killed; [2023-02-15T16:57:44.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T16:57:44.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T16:57:44.317Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T16:57:44.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T16:57:44.436Z] $ docker exec 79436c8cb7146176623ed72d7b3373e40568ed3d8ef2b482ec2b02be45b14c60 ssh-agent [2023-02-15T16:57:44.537Z] SSH_AUTH_SOCK=/tmp/ssh-K375UROabmBz/agent.70 [2023-02-15T16:57:44.537Z] SSH_AGENT_PID=76 [2023-02-15T16:57:44.541Z] Running ssh-add (command line suppressed) [2023-02-15T16:57:44.656Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp/private_key_639413282086015238.key (/w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp/private_key_639413282086015238.key) [2023-02-15T16:57:44.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T16:57:44.958Z] + git semver init [2023-02-15T16:57:45.219Z] 2023-02-15 16:57:45,145 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T16:57:45.219Z] 2023-02-15 16:57:45,146 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1322/.semver [2023-02-15T16:57:45.219Z] 2023-02-15 16:57:45,146 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1322/.semver [2023-02-15T16:57:45.219Z] 2023-02-15 16:57:45,146 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1322/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1322, universal_newlines=False, shell=None, istream=None) [2023-02-15T16:57:46.604Z] 2023-02-15 16:57:46,170 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1322/.git/info/exclude [2023-02-15T16:57:46.604Z] 2023-02-15 16:57:46,171 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1322/.semver/PR-1322 with force:False [2023-02-15T16:57:46.604Z] 2023-02-15 16:57:46,171 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1322/.semver/PR-1322 [2023-02-15T16:57:46.604Z] 2023-02-15 16:57:46,175 [execute] INFO git cat-file --batch-check [2023-02-15T16:57:46.604Z] 2023-02-15 16:57:46,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1322/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T16:57:46.604Z] 2023-02-15 16:57:46,183 [execute] INFO git cat-file --batch [2023-02-15T16:57:46.604Z] 2023-02-15 16:57:46,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1322/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T16:57:46.604Z] 2023-02-15 16:57:46,189 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1322/.semver/PR-1322 [2023-02-15T16:57:46.604Z] 0.0.0 [Pipeline] } [2023-02-15T16:57:46.619Z] $ docker exec --env ******** --env ******** 79436c8cb7146176623ed72d7b3373e40568ed3d8ef2b482ec2b02be45b14c60 ssh-agent -k [2023-02-15T16:57:46.715Z] unset SSH_AUTH_SOCK; [2023-02-15T16:57:46.715Z] unset SSH_AGENT_PID; [2023-02-15T16:57:46.716Z] echo Agent pid 76 killed; [2023-02-15T16:57:46.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T16:57:47.029Z] + git semver [Pipeline] } [2023-02-15T16:57:47.325Z] $ docker stop --time=1 79436c8cb7146176623ed72d7b3373e40568ed3d8ef2b482ec2b02be45b14c60 [2023-02-15T16:57:48.686Z] $ docker rm -f --volumes 79436c8cb7146176623ed72d7b3373e40568ed3d8ef2b482ec2b02be45b14c60 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T16:57:49.027Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T16:57:49.230Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T16:57:49.234Z] [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-02-15T16:57:49.376Z] provisioning config files... [2023-02-15T16:57:49.385Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp/config14355972096480754537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:57:49.679Z] ---> docker-login.sh [2023-02-15T16:57:49.679Z] nexus3.edgexfoundry.org:10001 [2023-02-15T16:57:49.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:57:49.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:57:49.679Z] Configure a credential helper to remove this warning. See [2023-02-15T16:57:49.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:57:49.679Z] [2023-02-15T16:57:49.679Z] Login Succeeded [2023-02-15T16:57:49.679Z] nexus3.edgexfoundry.org:10002 [2023-02-15T16:57:49.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:57:49.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:57:49.679Z] Configure a credential helper to remove this warning. See [2023-02-15T16:57:49.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:57:49.679Z] [2023-02-15T16:57:49.679Z] Login Succeeded [2023-02-15T16:57:49.679Z] nexus3.edgexfoundry.org:10003 [2023-02-15T16:57:49.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:57:49.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:57:49.938Z] Configure a credential helper to remove this warning. See [2023-02-15T16:57:49.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:57:49.938Z] [2023-02-15T16:57:49.938Z] Login Succeeded [2023-02-15T16:57:49.938Z] nexus3.edgexfoundry.org:10004 [2023-02-15T16:57:49.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:57:49.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:57:49.938Z] Configure a credential helper to remove this warning. See [2023-02-15T16:57:49.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:57:49.938Z] [2023-02-15T16:57:49.938Z] Login Succeeded [2023-02-15T16:57:49.938Z] docker.io [2023-02-15T16:57:49.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T16:57:50.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T16:57:50.197Z] Configure a credential helper to remove this warning. See [2023-02-15T16:57:50.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T16:57:50.197Z] [2023-02-15T16:57:50.197Z] Login Succeeded [2023-02-15T16:57:50.197Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T16:57:50.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T16:57:50.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T16:57:50.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T16:57:50.275Z] ========================================================= [2023-02-15T16:57:50.275Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T16:57:50.275Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:57:50.578Z] + 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-02-15T16:57:50.578Z] Sending build context to Docker daemon 10.47MB [2023-02-15T16:57:50.578Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T16:57:50.578Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T16:57:50.578Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T16:57:50.578Z] 213ec9aee27d: Pulling fs layer [2023-02-15T16:57:50.578Z] 4583459ba037: Pulling fs layer [2023-02-15T16:57:50.578Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T16:57:50.578Z] 53926ce57604: Pulling fs layer [2023-02-15T16:57:50.578Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T16:57:50.578Z] 22ff95d597cd: Pulling fs layer [2023-02-15T16:57:50.578Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T16:57:50.578Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T16:57:50.578Z] a7acece74701: Pulling fs layer [2023-02-15T16:57:50.578Z] 21b2b0c7a3f4: Waiting [2023-02-15T16:57:50.578Z] 22ff95d597cd: Waiting [2023-02-15T16:57:50.578Z] 12d6caf4c0d1: Waiting [2023-02-15T16:57:50.578Z] 53926ce57604: Waiting [2023-02-15T16:57:50.578Z] 96b7cbca73a9: Waiting [2023-02-15T16:57:50.578Z] a7acece74701: Waiting [2023-02-15T16:57:50.578Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T16:57:50.578Z] 93c1e223e6f2: Download complete [2023-02-15T16:57:50.845Z] 4583459ba037: Verifying Checksum [2023-02-15T16:57:50.845Z] 4583459ba037: Download complete [2023-02-15T16:57:50.845Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T16:57:50.845Z] 21b2b0c7a3f4: Download complete [2023-02-15T16:57:50.845Z] 22ff95d597cd: Verifying Checksum [2023-02-15T16:57:50.845Z] 22ff95d597cd: Download complete [2023-02-15T16:57:50.845Z] 213ec9aee27d: Download complete [2023-02-15T16:57:50.845Z] 12d6caf4c0d1: Download complete [2023-02-15T16:57:51.112Z] 213ec9aee27d: Pull complete [2023-02-15T16:57:51.112Z] 4583459ba037: Pull complete [2023-02-15T16:57:51.112Z] 93c1e223e6f2: Pull complete [2023-02-15T16:57:51.719Z] a7acece74701: Verifying Checksum [2023-02-15T16:57:51.719Z] a7acece74701: Download complete [2023-02-15T16:57:51.991Z] 53926ce57604: Verifying Checksum [2023-02-15T16:57:51.991Z] 53926ce57604: Download complete [2023-02-15T16:57:52.253Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T16:57:52.253Z] 96b7cbca73a9: Download complete [2023-02-15T16:57:55.543Z] 53926ce57604: Pull complete [2023-02-15T16:57:55.543Z] 21b2b0c7a3f4: Pull complete [2023-02-15T16:57:55.543Z] 22ff95d597cd: Pull complete [2023-02-15T16:57:55.803Z] 12d6caf4c0d1: Pull complete [2023-02-15T16:57:58.330Z] 96b7cbca73a9: Pull complete [2023-02-15T16:57:58.590Z] a7acece74701: Pull complete [2023-02-15T16:57:58.590Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T16:57:58.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T16:57:58.590Z] ---> db6d94c90886 [2023-02-15T16:57:58.590Z] Step 3/10 : ARG MAKE=make build [2023-02-15T16:58:01.127Z] ---> Running in 5a125d2fedae [2023-02-15T16:58:01.127Z] Removing intermediate container 5a125d2fedae [2023-02-15T16:58:01.127Z] ---> fb78e38f57e8 [2023-02-15T16:58:01.127Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T16:58:01.127Z] ---> Running in 260fbbf353a6 [2023-02-15T16:58:01.127Z] Removing intermediate container 260fbbf353a6 [2023-02-15T16:58:01.127Z] ---> 731f49d36f24 [2023-02-15T16:58:01.127Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T16:58:01.127Z] ---> Running in 1d820c854e2c [2023-02-15T16:58:01.127Z] Removing intermediate container 1d820c854e2c [2023-02-15T16:58:01.127Z] ---> 6efaf831d1b4 [2023-02-15T16:58:01.127Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T16:58:01.388Z] ---> Running in 7719c3d52696 [2023-02-15T16:58:01.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T16:58:01.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T16:58:01.906Z] OK: 211 MiB in 51 packages [2023-02-15T16:58:02.174Z] Removing intermediate container 7719c3d52696 [2023-02-15T16:58:02.174Z] ---> b0b95e666875 [2023-02-15T16:58:02.174Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T16:58:02.433Z] ---> f34a5fc3db02 [2023-02-15T16:58:02.433Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T16:58:02.433Z] ---> Running in 86ff6c19dd76 [2023-02-15T16:58:04.336Z] Still waiting to schedule task [2023-02-15T16:58:04.337Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6138’ [2023-02-15T16:58:34.519Z] Removing intermediate container 86ff6c19dd76 [2023-02-15T16:58:34.519Z] ---> 59e2200f939e [2023-02-15T16:58:34.519Z] Step 9/10 : COPY . . [2023-02-15T16:58:34.519Z] ---> 04cfe2291209 [2023-02-15T16:58:34.519Z] Step 10/10 : RUN ${MAKE} [2023-02-15T16:58:34.519Z] ---> Running in ae857653d14f [2023-02-15T16:58:34.519Z] noop [2023-02-15T16:58:34.519Z] Removing intermediate container ae857653d14f [2023-02-15T16:58:34.519Z] ---> 30791d867cf7 [2023-02-15T16:58:34.519Z] Successfully built 30791d867cf7 [2023-02-15T16:58:34.519Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:58:34.823Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T16:58:34.823Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:58:34.895Z] prd-ubuntu20.04-docker-8c-8g-6141 does not seem to be running inside a container [2023-02-15T16:58:34.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1322 -v /w/workspace/gexfoundry_device-sdk-go_PR-1322:/w/workspace/gexfoundry_device-sdk-go_PR-1322:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T16:58:35.348Z] $ docker top daefeb8b2f43bb871c572f577c0ef2bfcd8260d1a84a40d187a9ae9504fd73bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T16:58:35.690Z] + go version [2023-02-15T16:58:35.690Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T16:58:35.703Z] $ docker stop --time=1 daefeb8b2f43bb871c572f577c0ef2bfcd8260d1a84a40d187a9ae9504fd73bb [2023-02-15T16:58:36.994Z] $ docker rm -f --volumes daefeb8b2f43bb871c572f577c0ef2bfcd8260d1a84a40d187a9ae9504fd73bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:58:37.427Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T16:58:37.427Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:58:37.505Z] prd-ubuntu20.04-docker-8c-8g-6141 does not seem to be running inside a container [2023-02-15T16:58:37.537Z] $ 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-1322 -v /w/workspace/gexfoundry_device-sdk-go_PR-1322:/w/workspace/gexfoundry_device-sdk-go_PR-1322:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T16:58:37.891Z] $ docker top 69843dd3d2ea26be2187f58d30fad48015252e9c16b3509f0877be5af7038e98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T16:58:38.237Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1322 [Pipeline] fileExists [Pipeline] sh [2023-02-15T16:58:38.531Z] + make test [2023-02-15T16:58:38.531Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T16:58:45.098Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T16:58:57.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T16:58:57.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T16:58:57.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T16:58:57.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T16:58:57.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T16:58:57.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements [2023-02-15T16:58:57.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.121s coverage: 78.9% of statements [2023-02-15T16:58:57.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T16:58:57.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.095s coverage: 77.8% of statements [2023-02-15T16:58:57.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T16:58:57.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T16:58:57.894Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 77.0% of statements [2023-02-15T16:58:57.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T16:58:57.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T16:58:57.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T16:58:57.894Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.088s coverage: 65.2% of statements [2023-02-15T16:58:57.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T16:58:57.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T16:58:57.894Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.726s coverage: 89.2% of statements [2023-02-15T16:58:57.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T16:58:57.894Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.7% of statements [2023-02-15T16:58:57.894Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T16:59:12.755Z] 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-02-15T16:59:12.755Z] GO111MODULE=on go vet ./... [2023-02-15T16:59:15.305Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T16:59:15.305Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T16:59:15.305Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T16:59:15.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T16:59:15.332Z] $ docker stop --time=1 69843dd3d2ea26be2187f58d30fad48015252e9c16b3509f0877be5af7038e98 [2023-02-15T16:59:17.576Z] $ docker rm -f --volumes 69843dd3d2ea26be2187f58d30fad48015252e9c16b3509f0877be5af7038e98 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T16:59:18.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T16:59:18.176Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T16:59:18.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T16:59:18.885Z] + ls -al . [2023-02-15T16:59:18.885Z] total 272 [2023-02-15T16:59:18.885Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 16:58 . [2023-02-15T16:59:18.885Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:57 .. [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 16:57 .dockerignore [2023-02-15T16:59:18.885Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 16:58 .git [2023-02-15T16:59:18.885Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 16:57 .github [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 16:57 .gitignore [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 16:57 .golangci.yml [2023-02-15T16:59:18.885Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 16:57 .semver [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 16:57 CHANGELOG.md [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 16:57 GOVERNANCE.md [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 16:57 Jenkinsfile [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 16:57 LICENSE [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 16:57 Makefile [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 16:57 OWNERS.md [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 16:57 README.md [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 16:57 VERSION [2023-02-15T16:59:18.885Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 16:57 bin [2023-02-15T16:59:18.885Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 16:58 coverage.out [2023-02-15T16:59:18.885Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 16:57 example [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 15 16:57 go.mod [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 15 16:57 go.sum [2023-02-15T16:59:18.885Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 16:57 internal [2023-02-15T16:59:18.885Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 16:57 openapi [2023-02-15T16:59:18.885Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 16:57 pkg [2023-02-15T16:59:18.885Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 16:57 snap [2023-02-15T16:59:18.885Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 16:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:59:19.190Z] + 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=b618711b869c963d4bf151d758a794bb2943caa8 --label arch=amd64 --label version=0.0.0 . [2023-02-15T16:59:19.190Z] Sending build context to Docker daemon 10.57MB [2023-02-15T16:59:19.190Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T16:59:19.190Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T16:59:19.190Z] ---> 30791d867cf7 [2023-02-15T16:59:19.190Z] Step 3/23 : ARG MAKE=make build [2023-02-15T16:59:19.450Z] ---> Running in 34dfc6d0f866 [2023-02-15T16:59:19.450Z] Removing intermediate container 34dfc6d0f866 [2023-02-15T16:59:19.450Z] ---> e389a6b5e38f [2023-02-15T16:59:19.450Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T16:59:19.450Z] ---> Running in 490038910d85 [2023-02-15T16:59:19.450Z] Removing intermediate container 490038910d85 [2023-02-15T16:59:19.450Z] ---> 3defeac6467e [2023-02-15T16:59:19.450Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T16:59:19.711Z] ---> Running in 9b2138615466 [2023-02-15T16:59:19.711Z] Removing intermediate container 9b2138615466 [2023-02-15T16:59:19.711Z] ---> 05937d1fd35f [2023-02-15T16:59:19.711Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T16:59:19.712Z] ---> Running in 267760582a4f [2023-02-15T16:59:19.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T16:59:20.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T16:59:20.488Z] OK: 211 MiB in 51 packages [2023-02-15T16:59:20.747Z] Removing intermediate container 267760582a4f [2023-02-15T16:59:20.747Z] ---> 601de7c343e1 [2023-02-15T16:59:20.747Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T16:59:21.005Z] ---> 0ff5c42898e8 [2023-02-15T16:59:21.005Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T16:59:21.005Z] ---> Running in c2ccf63b9ec9 [2023-02-15T16:59:21.941Z] Removing intermediate container c2ccf63b9ec9 [2023-02-15T16:59:21.941Z] ---> fb61f6d7e1e0 [2023-02-15T16:59:21.941Z] Step 9/23 : COPY . . [2023-02-15T16:59:22.199Z] ---> b265317ef36f [2023-02-15T16:59:22.199Z] Step 10/23 : RUN ${MAKE} [2023-02-15T16:59:22.199Z] ---> Running in f10dce733bbf [2023-02-15T16:59:22.457Z] 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-02-15T16:59:40.527Z] Removing intermediate container f10dce733bbf [2023-02-15T16:59:40.527Z] ---> e4782c8018e9 [2023-02-15T16:59:40.527Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T16:59:40.527Z] 3.16: Pulling from library/alpine [2023-02-15T16:59:40.527Z] ef5531b6e74e: Pulling fs layer [2023-02-15T16:59:40.527Z] ef5531b6e74e: Verifying Checksum [2023-02-15T16:59:40.527Z] ef5531b6e74e: Download complete [2023-02-15T16:59:40.527Z] ef5531b6e74e: Pull complete [2023-02-15T16:59:40.527Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T16:59:40.527Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T16:59:40.527Z] ---> dfd21b5a31f5 [2023-02-15T16:59:40.527Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T16:59:40.527Z] ---> Running in aa62274371f0 [2023-02-15T16:59:40.527Z] Removing intermediate container aa62274371f0 [2023-02-15T16:59:40.527Z] ---> 27e875d7f893 [2023-02-15T16:59:40.527Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T16:59:40.527Z] ---> Running in ec50c3eef28d [2023-02-15T16:59:40.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T16:59:41.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T16:59:41.313Z] OK: 6 MiB in 14 packages [2023-02-15T16:59:41.571Z] Removing intermediate container ec50c3eef28d [2023-02-15T16:59:41.571Z] ---> 0dc80dc4f115 [2023-02-15T16:59:41.571Z] Step 14/23 : WORKDIR / [2023-02-15T16:59:41.571Z] ---> Running in cb57650d2341 [2023-02-15T16:59:41.829Z] Removing intermediate container cb57650d2341 [2023-02-15T16:59:41.829Z] ---> 277d779d0605 [2023-02-15T16:59:41.829Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T16:59:41.829Z] ---> 77c14de16840 [2023-02-15T16:59:41.829Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T16:59:42.398Z] ---> 00665118e709 [2023-02-15T16:59:42.398Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T16:59:42.398Z] ---> 3497808c7791 [2023-02-15T16:59:42.398Z] Step 18/23 : EXPOSE 59999 [2023-02-15T16:59:42.398Z] ---> Running in f383f0974c20 [2023-02-15T16:59:42.655Z] Removing intermediate container f383f0974c20 [2023-02-15T16:59:42.655Z] ---> 536f235cad18 [2023-02-15T16:59:42.655Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T16:59:42.655Z] ---> Running in d3d3cb051ba8 [2023-02-15T16:59:42.655Z] Removing intermediate container d3d3cb051ba8 [2023-02-15T16:59:42.655Z] ---> 127bc2debe8c [2023-02-15T16:59:42.655Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T16:59:42.655Z] ---> Running in e41792bbc799 [2023-02-15T16:59:42.655Z] Removing intermediate container e41792bbc799 [2023-02-15T16:59:42.655Z] ---> ae259b4107d1 [2023-02-15T16:59:42.655Z] Step 21/23 : LABEL arch=amd64 [2023-02-15T16:59:42.914Z] ---> Running in 7a495002c9a8 [2023-02-15T16:59:42.914Z] Removing intermediate container 7a495002c9a8 [2023-02-15T16:59:42.914Z] ---> 75accd1a2a70 [2023-02-15T16:59:42.914Z] Step 22/23 : LABEL git_sha=b618711b869c963d4bf151d758a794bb2943caa8 [2023-02-15T16:59:42.914Z] ---> Running in e84da90e85d7 [2023-02-15T16:59:43.173Z] Removing intermediate container e84da90e85d7 [2023-02-15T16:59:43.173Z] ---> 2bf4d222c429 [2023-02-15T16:59:43.173Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T16:59:43.173Z] ---> Running in c3d5bcbc8a0f [2023-02-15T16:59:43.173Z] Removing intermediate container c3d5bcbc8a0f [2023-02-15T16:59:43.173Z] ---> a09f5e2ab9d3 [2023-02-15T16:59:43.173Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T16:59:43.173Z] Successfully built a09f5e2ab9d3 [2023-02-15T16:59:43.173Z] 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-02-15T16:59:43.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T16:59:43.618Z] [2023-02-15T16:59:43.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T16:59:43.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T16:59:43.916Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T16:59:43.916Z] 5eb5b503b376: Pulling fs layer [2023-02-15T16:59:43.916Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T16:59:43.916Z] ec43610c2a17: Pulling fs layer [2023-02-15T16:59:43.916Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T16:59:43.916Z] 33b1e0a273af: Pulling fs layer [2023-02-15T16:59:43.916Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T16:59:43.916Z] 2f39f015ded8: Pulling fs layer [2023-02-15T16:59:43.916Z] 5d3b04190fa2: Waiting [2023-02-15T16:59:43.916Z] 2f39f015ded8: Waiting [2023-02-15T16:59:43.916Z] 3a2ae6a8a46f: Waiting [2023-02-15T16:59:43.916Z] 33b1e0a273af: Waiting [2023-02-15T16:59:43.916Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T16:59:43.916Z] 5c69ac0246d0: Download complete [2023-02-15T16:59:43.916Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T16:59:43.916Z] 3a2ae6a8a46f: Download complete [2023-02-15T16:59:44.174Z] 33b1e0a273af: Verifying Checksum [2023-02-15T16:59:44.174Z] 33b1e0a273af: Download complete [2023-02-15T16:59:44.174Z] 5d3b04190fa2: Download complete [2023-02-15T16:59:44.174Z] ec43610c2a17: Verifying Checksum [2023-02-15T16:59:44.174Z] ec43610c2a17: Download complete [2023-02-15T16:59:44.174Z] 5eb5b503b376: Verifying Checksum [2023-02-15T16:59:44.174Z] 5eb5b503b376: Download complete [2023-02-15T16:59:45.109Z] 2f39f015ded8: Download complete [2023-02-15T16:59:45.368Z] 5eb5b503b376: Pull complete [2023-02-15T16:59:45.368Z] 5c69ac0246d0: Pull complete [2023-02-15T16:59:45.933Z] ec43610c2a17: Pull complete [2023-02-15T16:59:45.933Z] 3a2ae6a8a46f: Pull complete [2023-02-15T16:59:46.191Z] 33b1e0a273af: Pull complete [2023-02-15T16:59:46.191Z] 5d3b04190fa2: Pull complete [2023-02-15T16:59:50.375Z] 2f39f015ded8: Pull complete [2023-02-15T16:59:50.375Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T16:59:50.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T16:59:50.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T16:59:50.459Z] prd-ubuntu20.04-docker-8c-8g-6141 does not seem to be running inside a container [2023-02-15T16:59:50.492Z] $ 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-1322 -v /w/workspace/gexfoundry_device-sdk-go_PR-1322:/w/workspace/gexfoundry_device-sdk-go_PR-1322:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T16:59:52.111Z] $ docker top af712b844d05c802ffeeedf48da2370beb8892b0564ae6f9e3550e5fee425b89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T16:59:52.480Z] ---> job-cost.sh [2023-02-15T16:59:52.480Z] lf-activate-venv: SKIPPING [2023-02-15T16:59:52.480Z] INFO: No Stack... [2023-02-15T16:59:53.046Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T16:59:53.305Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T16:59:53.596Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1322/archives/cost.csv [2023-02-15T16:59:53.596Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T16:59:53.611Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1322-2-stack-cost] [2023-02-15T16:59:53.619Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1322-2-stack-cost] did not exist. Created. [2023-02-15T16:59:53.619Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1322-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T16:59:53.923Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T16:59:53.950Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T16:59:53.957Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1322-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T16:59:53.981Z] $ docker stop --time=1 af712b844d05c802ffeeedf48da2370beb8892b0564ae6f9e3550e5fee425b89 [2023-02-15T16:59:55.151Z] $ docker rm -f --volumes af712b844d05c802ffeeedf48da2370beb8892b0564ae6f9e3550e5fee425b89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T17:00:52.396Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6146 in /w/workspace/gexfoundry_device-sdk-go_PR-1322 [Pipeline] { [Pipeline] ws [2023-02-15T17:00:52.409Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-15T17:00:52.439Z] The recommended git tool is: git [2023-02-15T17:00:58.606Z] using credential edgex-jenkins-ssh [2023-02-15T17:00:58.628Z] Cloning the remote Git repository [2023-02-15T17:00:58.684Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T17:00:58.780Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-15T17:00:58.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T17:00:58.976Z] > git --version # timeout=10 [2023-02-15T17:00:59.001Z] > git --version # 'git version 2.25.1' [2023-02-15T17:00:59.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T17:00:59.074Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T17:01:00.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T17:01:00.895Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T17:01:01.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T17:01:01.954Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T17:01:01.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T17:01:01.975Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1322/head:refs/remotes/origin/PR-1322 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T17:01:02.749Z] Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit b618711b869c963d4bf151d758a794bb2943caa8 [2023-02-15T17:01:03.050Z] Merge succeeded, producing b618711b869c963d4bf151d758a794bb2943caa8 [2023-02-15T17:01:03.050Z] Checking out Revision b618711b869c963d4bf151d758a794bb2943caa8 (PR-1322) [2023-02-15T17:01:03.796Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-02-15T17:01:02.774Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T17:01:02.794Z] > git checkout -f b618711b869c963d4bf151d758a794bb2943caa8 # timeout=10 [2023-02-15T17:01:02.925Z] > git remote # timeout=10 [2023-02-15T17:01:02.947Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T17:01:02.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T17:01:02.997Z] > git merge cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 [2023-02-15T17:01:03.030Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T17:01:03.060Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T17:01:03.090Z] > git checkout -f b618711b869c963d4bf151d758a794bb2943caa8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T17:01:05.089Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T17:01:05.089Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T17:01:05.089Z] Dload Upload Total Spent Left Speed [2023-02-15T17:01:05.089Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-02-15T17:01:05.711Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T17:01:06.055Z] + sudo tee /etc/docker/daemon.new [2023-02-15T17:01:06.056Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T17:01:06.056Z] { [2023-02-15T17:01:06.056Z] "registry-mirrors": [ [2023-02-15T17:01:06.056Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T17:01:06.056Z] ], [2023-02-15T17:01:06.056Z] "bip": "10.250.0.254/24", [2023-02-15T17:01:06.056Z] "hosts": [ [2023-02-15T17:01:06.056Z] "tcp://0.0.0.0:5555", [2023-02-15T17:01:06.056Z] "unix:///var/run/docker.sock" [2023-02-15T17:01:06.056Z] ], [2023-02-15T17:01:06.056Z] "mtu": 1458, [2023-02-15T17:01:06.056Z] "selinux-enabled": true, [2023-02-15T17:01:06.056Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T17:01:06.056Z] } [Pipeline] sh [2023-02-15T17:01:06.403Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T17:01:06.752Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T17:01:25.076Z] provisioning config files... [2023-02-15T17:01:25.111Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1116823813643772599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:01:25.478Z] ---> docker-login.sh [2023-02-15T17:01:25.478Z] nexus3.edgexfoundry.org:10001 [2023-02-15T17:01:26.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:01:26.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:01:26.349Z] Configure a credential helper to remove this warning. See [2023-02-15T17:01:26.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:01:26.349Z] [2023-02-15T17:01:26.349Z] Login Succeeded [2023-02-15T17:01:26.349Z] nexus3.edgexfoundry.org:10002 [2023-02-15T17:01:26.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:01:26.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:01:26.620Z] Configure a credential helper to remove this warning. See [2023-02-15T17:01:26.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:01:26.620Z] [2023-02-15T17:01:26.620Z] Login Succeeded [2023-02-15T17:01:26.620Z] nexus3.edgexfoundry.org:10003 [2023-02-15T17:01:26.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:01:27.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:01:27.166Z] Configure a credential helper to remove this warning. See [2023-02-15T17:01:27.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:01:27.166Z] [2023-02-15T17:01:27.166Z] Login Succeeded [2023-02-15T17:01:27.166Z] nexus3.edgexfoundry.org:10004 [2023-02-15T17:01:27.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:01:27.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:01:27.441Z] Configure a credential helper to remove this warning. See [2023-02-15T17:01:27.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:01:27.441Z] [2023-02-15T17:01:27.441Z] Login Succeeded [2023-02-15T17:01:27.441Z] docker.io [2023-02-15T17:01:27.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:01:27.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:01:27.993Z] Configure a credential helper to remove this warning. See [2023-02-15T17:01:27.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:01:27.993Z] [2023-02-15T17:01:27.993Z] Login Succeeded [2023-02-15T17:01:28.264Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T17:01:28.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T17:01:28.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T17:01:28.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T17:01:28.662Z] ========================================================= [2023-02-15T17:01:28.662Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T17:01:28.662Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:01:29.029Z] + 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-02-15T17:01:29.640Z] Sending build context to Docker daemon 5.619MB [2023-02-15T17:01:29.640Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T17:01:29.640Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T17:01:29.640Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T17:01:29.640Z] 9b18e9b68314: Pulling fs layer [2023-02-15T17:01:29.640Z] 35d82f9e3411: Pulling fs layer [2023-02-15T17:01:29.640Z] e16973657156: Pulling fs layer [2023-02-15T17:01:29.640Z] fc693d55d65f: Pulling fs layer [2023-02-15T17:01:29.640Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T17:01:29.640Z] dda99020689f: Pulling fs layer [2023-02-15T17:01:29.640Z] db1c61fa0a46: Pulling fs layer [2023-02-15T17:01:29.640Z] 891c053d2c06: Pulling fs layer [2023-02-15T17:01:29.640Z] fc693d55d65f: Waiting [2023-02-15T17:01:29.640Z] db1c61fa0a46: Waiting [2023-02-15T17:01:29.640Z] 7e9fc2657dce: Waiting [2023-02-15T17:01:29.640Z] 891c053d2c06: Waiting [2023-02-15T17:01:29.640Z] dda99020689f: Waiting [2023-02-15T17:01:29.640Z] e16973657156: Verifying Checksum [2023-02-15T17:01:29.640Z] e16973657156: Download complete [2023-02-15T17:01:29.921Z] 35d82f9e3411: Verifying Checksum [2023-02-15T17:01:29.921Z] 35d82f9e3411: Download complete [2023-02-15T17:01:29.921Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T17:01:29.921Z] 7e9fc2657dce: Download complete [2023-02-15T17:01:29.921Z] dda99020689f: Verifying Checksum [2023-02-15T17:01:29.921Z] dda99020689f: Download complete [2023-02-15T17:01:29.921Z] 9b18e9b68314: Verifying Checksum [2023-02-15T17:01:29.921Z] 9b18e9b68314: Download complete [2023-02-15T17:01:30.925Z] 9b18e9b68314: Pull complete [2023-02-15T17:01:31.197Z] 891c053d2c06: Verifying Checksum [2023-02-15T17:01:31.197Z] 891c053d2c06: Download complete [2023-02-15T17:01:31.473Z] 35d82f9e3411: Pull complete [2023-02-15T17:01:31.745Z] e16973657156: Pull complete [2023-02-15T17:01:32.345Z] db1c61fa0a46: Verifying Checksum [2023-02-15T17:01:32.345Z] db1c61fa0a46: Download complete [2023-02-15T17:01:32.936Z] fc693d55d65f: Verifying Checksum [2023-02-15T17:01:32.936Z] fc693d55d65f: Download complete [2023-02-15T17:01:45.289Z] fc693d55d65f: Pull complete [2023-02-15T17:01:45.559Z] 7e9fc2657dce: Pull complete [2023-02-15T17:01:45.829Z] dda99020689f: Pull complete [2023-02-15T17:01:52.647Z] db1c61fa0a46: Pull complete [2023-02-15T17:01:54.604Z] 891c053d2c06: Pull complete [2023-02-15T17:01:54.604Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T17:01:54.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T17:01:54.604Z] ---> f96f9c87975a [2023-02-15T17:01:54.604Z] Step 3/10 : ARG MAKE=make build [2023-02-15T17:01:55.575Z] ---> Running in d638cb1f5873 [2023-02-15T17:01:56.168Z] Removing intermediate container d638cb1f5873 [2023-02-15T17:01:56.168Z] ---> c7759333ea79 [2023-02-15T17:01:56.168Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T17:01:56.168Z] ---> Running in 0fe32c5697e8 [2023-02-15T17:01:56.447Z] Removing intermediate container 0fe32c5697e8 [2023-02-15T17:01:56.448Z] ---> 14f3364ac290 [2023-02-15T17:01:56.448Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T17:01:56.726Z] ---> Running in a37f52ed01b4 [2023-02-15T17:01:56.999Z] Removing intermediate container a37f52ed01b4 [2023-02-15T17:01:56.999Z] ---> 2bee30acc979 [2023-02-15T17:01:56.999Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T17:01:56.999Z] ---> Running in 5411626feab3 [2023-02-15T17:01:58.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T17:01:58.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T17:02:00.122Z] OK: 221 MiB in 51 packages [2023-02-15T17:02:01.103Z] Removing intermediate container 5411626feab3 [2023-02-15T17:02:01.103Z] ---> 021baefea637 [2023-02-15T17:02:01.103Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T17:02:01.376Z] ---> 36a97b90259e [2023-02-15T17:02:01.376Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T17:02:01.648Z] ---> Running in 1e2af8ad2fdd [2023-02-15T17:03:09.568Z] Removing intermediate container 1e2af8ad2fdd [2023-02-15T17:03:09.568Z] ---> e60dd0015066 [2023-02-15T17:03:09.568Z] Step 9/10 : COPY . . [2023-02-15T17:03:09.568Z] ---> a74fd5c138cd [2023-02-15T17:03:09.568Z] Step 10/10 : RUN ${MAKE} [2023-02-15T17:03:09.568Z] ---> Running in 3be88417a369 [2023-02-15T17:03:09.839Z] noop [2023-02-15T17:03:10.424Z] Removing intermediate container 3be88417a369 [2023-02-15T17:03:10.424Z] ---> b7c8cb29da78 [2023-02-15T17:03:10.691Z] Successfully built b7c8cb29da78 [2023-02-15T17:03:10.691Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:03:11.043Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T17:03:11.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:03:11.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-6146 does not seem to be running inside a container [2023-02-15T17:03:11.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T17:03:12.640Z] $ docker top 784ece51983037f9021e518dc67fbfc7da27fb2ce84e2fe5ef7f6e2b9a35f66a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T17:03:13.509Z] + go version [2023-02-15T17:03:13.509Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T17:03:13.535Z] $ docker stop --time=1 784ece51983037f9021e518dc67fbfc7da27fb2ce84e2fe5ef7f6e2b9a35f66a [2023-02-15T17:03:15.220Z] $ docker rm -f --volumes 784ece51983037f9021e518dc67fbfc7da27fb2ce84e2fe5ef7f6e2b9a35f66a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:03:15.791Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T17:03:15.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:03:15.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-6146 does not seem to be running inside a container [2023-02-15T17:03:16.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T17:03:17.352Z] $ docker top 590c8b8f8b28f7fbed37871bf251fe102b5a670649e2cf9fadadd1909e92230d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T17:03:18.186Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-15T17:03:18.837Z] + make test [2023-02-15T17:03:18.837Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T17:03:57.742Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T17:06:19.493Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T17:06:19.493Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T17:06:19.493Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T17:06:19.493Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T17:06:19.493Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T17:06:19.493Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.283s coverage: 27.6% of statements [2023-02-15T17:06:19.493Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.334s coverage: 78.9% of statements [2023-02-15T17:06:19.493Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T17:06:22.879Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.428s coverage: 77.8% of statements [2023-02-15T17:06:22.879Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T17:06:22.879Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T17:06:25.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.664s coverage: 77.0% of statements [2023-02-15T17:06:25.470Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T17:06:25.470Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T17:06:25.470Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T17:06:25.740Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.493s coverage: 65.2% of statements [2023-02-15T17:06:25.740Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T17:06:25.740Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T17:06:26.709Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.457s coverage: 89.2% of statements [2023-02-15T17:06:26.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T17:06:26.709Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.338s coverage: 4.7% of statements [2023-02-15T17:06:26.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T17:06:27.679Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T17:06:27.679Z] GO111MODULE=on go vet ./... [2023-02-15T17:08:19.424Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T17:08:19.424Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T17:08:19.424Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T17:08:19.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T17:08:19.457Z] $ docker stop --time=1 590c8b8f8b28f7fbed37871bf251fe102b5a670649e2cf9fadadd1909e92230d [2023-02-15T17:08:21.284Z] $ docker rm -f --volumes 590c8b8f8b28f7fbed37871bf251fe102b5a670649e2cf9fadadd1909e92230d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T17:08:22.771Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T17:08:22.793Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T17:08:23.437Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T17:08:23.836Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T17:08:24.169Z] + ls -al . [2023-02-15T17:08:24.169Z] total 268 [2023-02-15T17:08:24.169Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 17:03 . [2023-02-15T17:08:24.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:00 .. [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 17:01 .dockerignore [2023-02-15T17:08:24.169Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 17:01 .git [2023-02-15T17:08:24.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:01 .github [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 17:01 .gitignore [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 17:01 .golangci.yml [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 17:01 CHANGELOG.md [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 17:01 GOVERNANCE.md [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 17:01 Jenkinsfile [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 17:01 LICENSE [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 17:01 Makefile [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 17:01 OWNERS.md [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 17:01 README.md [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 16:57 VERSION [2023-02-15T17:08:24.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:01 bin [2023-02-15T17:08:24.169Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 17:06 coverage.out [2023-02-15T17:08:24.169Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 17:01 example [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 15 17:01 go.mod [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 15 17:01 go.sum [2023-02-15T17:08:24.169Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 17:01 internal [2023-02-15T17:08:24.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:01 openapi [2023-02-15T17:08:24.169Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 17:01 pkg [2023-02-15T17:08:24.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:01 snap [2023-02-15T17:08:24.169Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 17:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:08:24.524Z] + 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=b618711b869c963d4bf151d758a794bb2943caa8 --label arch=arm64 --label version=0.0.0 . [2023-02-15T17:08:24.793Z] Sending build context to Docker daemon 5.718MB [2023-02-15T17:08:25.064Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T17:08:25.064Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T17:08:25.064Z] ---> b7c8cb29da78 [2023-02-15T17:08:25.064Z] Step 3/23 : ARG MAKE=make build [2023-02-15T17:08:25.064Z] ---> Running in be2edf4b27d8 [2023-02-15T17:08:27.674Z] Removing intermediate container be2edf4b27d8 [2023-02-15T17:08:27.674Z] ---> fb0fd9b8cafd [2023-02-15T17:08:27.674Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T17:08:27.674Z] ---> Running in 0030dc20bb3e [2023-02-15T17:08:27.941Z] Removing intermediate container 0030dc20bb3e [2023-02-15T17:08:27.941Z] ---> 81158302c628 [2023-02-15T17:08:27.941Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T17:08:27.941Z] ---> Running in 6105f38f93f8 [2023-02-15T17:08:28.211Z] Removing intermediate container 6105f38f93f8 [2023-02-15T17:08:28.211Z] ---> 460ed8d8145c [2023-02-15T17:08:28.211Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T17:08:28.480Z] ---> Running in e01a70308737 [2023-02-15T17:08:29.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T17:08:29.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T17:08:31.131Z] OK: 221 MiB in 51 packages [2023-02-15T17:08:32.099Z] Removing intermediate container e01a70308737 [2023-02-15T17:08:32.099Z] ---> 6a6d0f07d394 [2023-02-15T17:08:32.099Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T17:08:32.690Z] ---> bfc0b05dfb1f [2023-02-15T17:08:32.690Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T17:08:32.690Z] ---> Running in 9dbb7be12d33 [2023-02-15T17:08:36.051Z] Removing intermediate container 9dbb7be12d33 [2023-02-15T17:08:36.051Z] ---> 95fd70f0bbf6 [2023-02-15T17:08:36.051Z] Step 9/23 : COPY . . [2023-02-15T17:08:37.019Z] ---> 3b86d1f4ddb5 [2023-02-15T17:08:37.019Z] Step 10/23 : RUN ${MAKE} [2023-02-15T17:08:37.019Z] ---> Running in 1fd9e12549b1 [2023-02-15T17:08:37.988Z] 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-02-15T17:10:59.716Z] Removing intermediate container 1fd9e12549b1 [2023-02-15T17:10:59.716Z] ---> 34a89de045e8 [2023-02-15T17:10:59.716Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T17:10:59.716Z] 3.16: Pulling from library/alpine [2023-02-15T17:10:59.999Z] 3760b48202b3: Pulling fs layer [2023-02-15T17:11:00.283Z] 3760b48202b3: Verifying Checksum [2023-02-15T17:11:00.283Z] 3760b48202b3: Download complete [2023-02-15T17:11:00.553Z] 3760b48202b3: Pull complete [2023-02-15T17:11:00.553Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T17:11:00.553Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T17:11:00.824Z] ---> 4c81e5bf8899 [2023-02-15T17:11:00.824Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T17:11:00.824Z] ---> Running in e3d0fe1b79b6 [2023-02-15T17:11:01.095Z] Removing intermediate container e3d0fe1b79b6 [2023-02-15T17:11:01.095Z] ---> 2455a13be65f [2023-02-15T17:11:01.095Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T17:11:01.095Z] ---> Running in 381824be7c49 [2023-02-15T17:11:02.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T17:11:02.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T17:11:03.661Z] OK: 5 MiB in 14 packages [2023-02-15T17:11:04.623Z] Removing intermediate container 381824be7c49 [2023-02-15T17:11:04.623Z] ---> ad761b09a327 [2023-02-15T17:11:04.623Z] Step 14/23 : WORKDIR / [2023-02-15T17:11:04.623Z] ---> Running in 23f54f81dda7 [2023-02-15T17:11:04.890Z] Removing intermediate container 23f54f81dda7 [2023-02-15T17:11:04.890Z] ---> 5f94d81d6d07 [2023-02-15T17:11:04.890Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T17:11:05.474Z] ---> 18c7ff50995e [2023-02-15T17:11:05.474Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T17:11:06.881Z] ---> 3bdb3c55c947 [2023-02-15T17:11:06.881Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T17:11:07.149Z] ---> 93345c17d44b [2023-02-15T17:11:07.149Z] Step 18/23 : EXPOSE 59999 [2023-02-15T17:11:07.416Z] ---> Running in aa8f91b80a70 [2023-02-15T17:11:07.702Z] Removing intermediate container aa8f91b80a70 [2023-02-15T17:11:07.702Z] ---> 4741b857b6af [2023-02-15T17:11:07.702Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T17:11:07.702Z] ---> Running in 5c0563feff15 [2023-02-15T17:11:07.968Z] Removing intermediate container 5c0563feff15 [2023-02-15T17:11:07.968Z] ---> 9cf2f1a52adc [2023-02-15T17:11:07.968Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T17:11:07.968Z] ---> Running in 38674316283c [2023-02-15T17:11:08.237Z] Removing intermediate container 38674316283c [2023-02-15T17:11:08.237Z] ---> 74ca03d8b052 [2023-02-15T17:11:08.237Z] Step 21/23 : LABEL arch=arm64 [2023-02-15T17:11:08.505Z] ---> Running in 8aa7bfe1b5a6 [2023-02-15T17:11:08.773Z] Removing intermediate container 8aa7bfe1b5a6 [2023-02-15T17:11:08.773Z] ---> bed33a723959 [2023-02-15T17:11:08.773Z] Step 22/23 : LABEL git_sha=b618711b869c963d4bf151d758a794bb2943caa8 [2023-02-15T17:11:08.773Z] ---> Running in cb400a73d90e [2023-02-15T17:11:09.038Z] Removing intermediate container cb400a73d90e [2023-02-15T17:11:09.038Z] ---> 644f784bf6b8 [2023-02-15T17:11:09.038Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T17:11:09.038Z] ---> Running in cc3dca083b10 [2023-02-15T17:11:09.303Z] Removing intermediate container cc3dca083b10 [2023-02-15T17:11:09.303Z] ---> 098e393f3446 [2023-02-15T17:11:09.303Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T17:11:09.303Z] Successfully built 098e393f3446 [2023-02-15T17:11:09.303Z] 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-02-15T17:11:09.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T17:11:09.983Z] [2023-02-15T17:11:09.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:11:10.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T17:11:13.675Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T17:11:13.675Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T17:11:13.675Z] 04944245beec: Pulling fs layer [2023-02-15T17:11:13.675Z] 699f458cf7ca: Pulling fs layer [2023-02-15T17:11:13.675Z] 765212b225bb: Pulling fs layer [2023-02-15T17:11:13.675Z] f23df028b6ca: Pulling fs layer [2023-02-15T17:11:13.675Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T17:11:13.675Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T17:11:13.675Z] f23df028b6ca: Waiting [2023-02-15T17:11:13.675Z] d65c8cfc05b1: Waiting [2023-02-15T17:11:13.675Z] 2437ff75d9bd: Waiting [2023-02-15T17:11:13.675Z] 765212b225bb: Waiting [2023-02-15T17:11:13.675Z] 04944245beec: Verifying Checksum [2023-02-15T17:11:13.675Z] 04944245beec: Download complete [2023-02-15T17:11:13.675Z] 765212b225bb: Verifying Checksum [2023-02-15T17:11:13.675Z] 765212b225bb: Download complete [2023-02-15T17:11:13.675Z] f23df028b6ca: Download complete [2023-02-15T17:11:13.675Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T17:11:13.675Z] d65c8cfc05b1: Download complete [2023-02-15T17:11:13.675Z] 699f458cf7ca: Verifying Checksum [2023-02-15T17:11:13.675Z] 699f458cf7ca: Download complete [2023-02-15T17:11:13.946Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T17:11:13.946Z] 8998bd30e6a1: Download complete [2023-02-15T17:11:16.563Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T17:11:16.563Z] 2437ff75d9bd: Download complete [2023-02-15T17:11:18.512Z] 8998bd30e6a1: Pull complete [2023-02-15T17:11:18.780Z] 04944245beec: Pull complete [2023-02-15T17:11:20.191Z] 699f458cf7ca: Pull complete [2023-02-15T17:11:20.458Z] 765212b225bb: Pull complete [2023-02-15T17:11:21.427Z] f23df028b6ca: Pull complete [2023-02-15T17:11:21.427Z] d65c8cfc05b1: Pull complete [2023-02-15T17:11:36.434Z] 2437ff75d9bd: Pull complete [2023-02-15T17:11:36.434Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T17:11:36.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T17:11:36.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:11:36.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-6146 does not seem to be running inside a container [2023-02-15T17:11:36.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T17:11:39.616Z] $ docker top e3c9d5c53be0dc76c1376c33bb06f3ea05dd4cd8fa43083338d738f03f5ae361 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:11:40.466Z] ---> job-cost.sh [2023-02-15T17:11:40.466Z] lf-activate-venv: SKIPPING [2023-02-15T17:11:40.466Z] INFO: No Stack... [2023-02-15T17:11:41.876Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T17:11:42.469Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T17:11:43.109Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-15T17:11:43.109Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T17:11:43.175Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1322-2-stack-cost] [2023-02-15T17:11:43.183Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1322-2-stack-cost] did not exist. Created. [2023-02-15T17:11:43.183Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1322-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T17:11:43.836Z] /w/workspace/device-sdk-go/2@tmp/durable-b680298e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T17:11:44.498Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T17:11:44.519Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T17:11:44.594Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T17:11:44.671Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1322-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T17:11:44.694Z] $ docker stop --time=1 e3c9d5c53be0dc76c1376c33bb06f3ea05dd4cd8fa43083338d738f03f5ae361 [2023-02-15T17:11:46.258Z] $ docker rm -f --volumes e3c9d5c53be0dc76c1376c33bb06f3ea05dd4cd8fa43083338d738f03f5ae361 [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-02-15T17:11:46.640Z] provisioning config files... [2023-02-15T17:11:46.647Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp/config7716027766754957012tmp [Pipeline] { [Pipeline] sh [2023-02-15T17:11:46.940Z] + set +x [2023-02-15T17:11:46.940Z] + curl -s https://codecov.io/bash [2023-02-15T17:11:46.940Z] + bash -s -- [2023-02-15T17:11:46.940Z] [2023-02-15T17:11:46.940Z] _____ _ [2023-02-15T17:11:46.940Z] / ____| | | [2023-02-15T17:11:46.940Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T17:11:46.940Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T17:11:46.940Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T17:11:46.940Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T17:11:46.940Z] Bash-1.0.6 [2023-02-15T17:11:46.940Z] [2023-02-15T17:11:46.940Z] [2023-02-15T17:11:46.940Z] ==> git version 2.25.1 found [2023-02-15T17:11:46.940Z] ==> 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-02-15T17:11:46.940Z] Release-Date: 2020-01-08 [2023-02-15T17:11:46.940Z] 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-02-15T17:11:46.940Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T17:11:46.940Z] ==> Jenkins CI detected. [2023-02-15T17:11:46.940Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1322 [2023-02-15T17:11:46.940Z] project root: . [2023-02-15T17:11:46.940Z] --> token set from env [2023-02-15T17:11:46.940Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T17:11:46.940Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T17:11:46.940Z] ==> Python coveragepy not found [2023-02-15T17:11:46.940Z] ==> Searching for coverage reports in: [2023-02-15T17:11:46.940Z] + . [2023-02-15T17:11:46.940Z] -> Found 1 reports [2023-02-15T17:11:46.940Z] ==> Detecting git/mercurial file structure [2023-02-15T17:11:46.940Z] ==> Reading reports [2023-02-15T17:11:47.199Z] + ./coverage.out bytes=98700 [2023-02-15T17:11:47.199Z] ==> Appending adjustments [2023-02-15T17:11:47.199Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T17:11:47.458Z] + Found adjustments [2023-02-15T17:11:47.458Z] ==> Gzipping contents [2023-02-15T17:11:47.458Z] 16K /tmp/codecov.aihJFd.gz [2023-02-15T17:11:47.458Z] ==> Uploading reports [2023-02-15T17:11:47.458Z] url: https://codecov.io [2023-02-15T17:11:47.458Z] query: branch=PR-1322&commit=b618711b869c963d4bf151d758a794bb2943caa8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1322%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1322&job=&cmd_args= [2023-02-15T17:11:47.458Z] -> Pinging Codecov [2023-02-15T17:11:47.458Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1322&commit=b618711b869c963d4bf151d758a794bb2943caa8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1322%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1322&job=&cmd_args= [2023-02-15T17:11:47.458Z] -> Uploading to [2023-02-15T17:11:47.458Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7E55EF52A471D76F132DFD9A03CDDE97/b618711b869c963d4bf151d758a794bb2943caa8/3e7325ef-156b-4789-b868-3a792d226096.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T171147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75aa6c0c7c6bd964504de75838fc84765a5b93d6c337ab0bb8873f74ca2f305a [2023-02-15T17:11:47.458Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T17:11:47.458Z] Dload Upload Total Spent Left Speed [2023-02-15T17:11:47.718Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14381 0 0 100 14381 0 52294 --:--:-- --:--:-- --:--:-- 52294 [2023-02-15T17:11:47.718Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b618711b869c963d4bf151d758a794bb2943caa8 [Pipeline] } [2023-02-15T17:11:47.726Z] 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-02-15T17:11:48.394Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1322/archives ] [2023-02-15T17:11:48.394Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1322/archives [2023-02-15T17:11:48.394Z] total 16 [2023-02-15T17:11:48.394Z] drwxr-xr-x 3 root root 4096 Feb 15 16:59 . [2023-02-15T17:11:48.394Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 16:59 .. [2023-02-15T17:11:48.394Z] drwxr-xr-x 2 root root 4096 Feb 15 16:59 cost [2023-02-15T17:11:48.394Z] -rw-r--r-- 1 root root 86 Feb 15 16:59 cost.csv [2023-02-15T17:11:48.394Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1322/archives [2023-02-15T17:11:48.394Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1322/archives [2023-02-15T17:11:48.394Z] total 16 [2023-02-15T17:11:48.394Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 16:59 . [2023-02-15T17:11:48.394Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 16:59 .. [2023-02-15T17:11:48.394Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 16:59 cost [2023-02-15T17:11:48.394Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 16:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:11:48.682Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:11:49.550Z] ---> package-listing.sh [2023-02-15T17:11:49.550Z] ++ facter osfamily [2023-02-15T17:11:49.550Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T17:11:49.811Z] + OS_FAMILY=debian [2023-02-15T17:11:49.811Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1322 [2023-02-15T17:11:49.811Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T17:11:49.811Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T17:11:49.811Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T17:11:49.811Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T17:11:49.811Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1322 ']' [2023-02-15T17:11:49.811Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T17:11:49.811Z] + case "${OS_FAMILY}" in [2023-02-15T17:11:49.811Z] + dpkg -l [2023-02-15T17:11:49.811Z] + grep '^ii' [2023-02-15T17:11:49.811Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T17:11:49.811Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T17:11:49.811Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T17:11:49.811Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1322 ']' [2023-02-15T17:11:49.811Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1322/archives/ [2023-02-15T17:11:49.811Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1322/archives/ [Pipeline] echo [2023-02-15T17:11:49.822Z] 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-1322/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T17:11:50.101Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:11:50.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T17:11:50.667Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:11:50.744Z] prd-ubuntu20.04-docker-8c-8g-6141 does not seem to be running inside a container [2023-02-15T17:11:50.778Z] $ 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-1322/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-1322 -v /w/workspace/gexfoundry_device-sdk-go_PR-1322:/w/workspace/gexfoundry_device-sdk-go_PR-1322:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T17:11:50.980Z] $ docker top 90310bb48d2de3750c45543a2f9a40581a7f33548ae0af4c3a8677a4d018ff23 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T17:11:51.314Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T17:11:51.603Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T17:11:51.884Z] + ls /var/log/sa-host [2023-02-15T17:11:51.885Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T17:11:51.958Z] provisioning config files... [2023-02-15T17:11:51.966Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1322@tmp/config481690238185151207tmp [Pipeline] { [Pipeline] echo [2023-02-15T17:11:51.978Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:11:52.258Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T17:11:52.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:11:52.589Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T17:11:52.599Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:11:52.878Z] ---> sudo-logs.sh [2023-02-15T17:11:52.879Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T17:11:52.900Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:11:53.179Z] ---> job-cost.sh [2023-02-15T17:11:53.179Z] lf-activate-venv: SKIPPING [2023-02-15T17:11:53.179Z] DEBUG: total: 0.2199999988079071 [2023-02-15T17:11:53.179Z] INFO: Retrieving Stack Cost... [2023-02-15T17:11:53.437Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T17:11:54.004Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T17:11:54.017Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:11:54.295Z] ---> logs-deploy.sh [2023-02-15T17:11:54.295Z] lf-activate-venv: SKIPPING [2023-02-15T17:11:54.295Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1322/2 [2023-02-15T17:11:54.295Z] INFO: archiving workspace using pattern(s): [2023-02-15T17:11:55.232Z] Archives upload complete. [2023-02-15T17:11:55.492Z] INFO: archiving logs to Nexus