Pull request #1325 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6834b703c46265c814bdd961536da7fd4f6ffe58+64ca9b081847739b4160c0dc87966f6c81a47c16 (bd09f64fd5abd2c953aab4796f44482e3e7a3280) 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-ssh6775685695205218232.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-ssh985680639608636123.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-1325/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-1325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2570358133729201936.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-ssh267155818874804854.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-1325/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-1325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15974534888232501146.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6893 in /w/workspace/gexfoundry_device-sdk-go_PR-1325 [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-1325 # 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 Merging remotes/origin/main commit 64ca9b081847739b4160c0dc87966f6c81a47c16 into PR head commit 6834b703c46265c814bdd961536da7fd4f6ffe58 Merge succeeded, producing 6834b703c46265c814bdd961536da7fd4f6ffe58 Checking out Revision 6834b703c46265c814bdd961536da7fd4f6ffe58 (PR-1325) > 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/1325/head:refs/remotes/origin/PR-1325 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6834b703c46265c814bdd961536da7fd4f6ffe58 # 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 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6834b703c46265c814bdd961536da7fd4f6ffe58 # timeout=10 Commit message: "feat!: replace REST device validation callback with MessageBus" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-21T15:51:51.427Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-21T15:51:51.495Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-21T15:51:51.512Z] ========================================================= [2023-02-21T15:51:51.512Z] EdgeX Global Pipelines Version Info [2023-02-21T15:51:51.512Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8740cac6adde13c314af0724902fd23fd6435801 # timeout=10 [2023-02-21T15:51:52.632Z] ------------------- [2023-02-21T15:51:52.632Z] stable info: [2023-02-21T15:51:52.632Z] ------------------- [2023-02-21T15:51:52.632Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-21T15:51:52.632Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-21T15:51:52.632Z] Message: update stable to v1.0.244 [2023-02-21T15:51:52.894Z] ------------------- [2023-02-21T15:51:52.894Z] experimental info: [2023-02-21T15:51:52.894Z] ------------------- [2023-02-21T15:51:52.894Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-21T15:51:52.894Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-21T15:51:52.894Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-21T15:51:53.066Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-21T15:51:53.080Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-21T15:51:53.091Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-21T15:51:53.102Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-21T15:51:53.114Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-21T15:51:53.127Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-21T15:51:53.139Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-21T15:51:53.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-21T15:51:53.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-21T15:51:53.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-21T15:51:53.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-21T15:51:53.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-21T15:51:53.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-21T15:51:53.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-21T15:51:53.238Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-21T15:51:53.249Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-21T15:51:53.262Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-21T15:51:53.278Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-21T15:51:53.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-21T15:51:53.301Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-21T15:51:53.313Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-21T15:51:53.325Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-21T15:51:53.338Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-21T15:51:53.350Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-21T15:51:53.362Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-21T15:51:53.374Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-21T15:51:53.388Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-21T15:51:53.397Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1325 [Pipeline] echo [2023-02-21T15:51:53.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1325 [Pipeline] echo [2023-02-21T15:51:53.421Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1325 [Pipeline] echo [2023-02-21T15:51:53.433Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6834b703c46265c814bdd961536da7fd4f6ffe58 [Pipeline] echo [2023-02-21T15:51:53.444Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6834b70 [Pipeline] echo [2023-02-21T15:51:53.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T15:51:53.507Z] provisioning config files... [2023-02-21T15:51:53.522Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config13844329342932642278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:51:53.828Z] ---> docker-login.sh [2023-02-21T15:51:53.828Z] nexus3.edgexfoundry.org:10001 [2023-02-21T15:51:54.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:51:54.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:51:54.087Z] Configure a credential helper to remove this warning. See [2023-02-21T15:51:54.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:51:54.087Z] [2023-02-21T15:51:54.087Z] Login Succeeded [2023-02-21T15:51:54.087Z] nexus3.edgexfoundry.org:10002 [2023-02-21T15:51:54.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:51:54.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:51:54.346Z] Configure a credential helper to remove this warning. See [2023-02-21T15:51:54.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:51:54.346Z] [2023-02-21T15:51:54.346Z] Login Succeeded [2023-02-21T15:51:54.346Z] nexus3.edgexfoundry.org:10003 [2023-02-21T15:51:54.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:51:54.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:51:54.346Z] Configure a credential helper to remove this warning. See [2023-02-21T15:51:54.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:51:54.346Z] [2023-02-21T15:51:54.346Z] Login Succeeded [2023-02-21T15:51:54.346Z] nexus3.edgexfoundry.org:10004 [2023-02-21T15:51:54.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:51:54.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:51:54.606Z] Configure a credential helper to remove this warning. See [2023-02-21T15:51:54.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:51:54.606Z] [2023-02-21T15:51:54.606Z] Login Succeeded [2023-02-21T15:51:54.606Z] docker.io [2023-02-21T15:51:54.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:51:54.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:51:54.867Z] Configure a credential helper to remove this warning. See [2023-02-21T15:51:54.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:51:54.867Z] [2023-02-21T15:51:54.867Z] Login Succeeded [2023-02-21T15:51:54.867Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T15:51:54.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-21T15:51:55.259Z] + git rev-list -1 --merges 6834b703c46265c814bdd961536da7fd4f6ffe58~1..6834b703c46265c814bdd961536da7fd4f6ffe58 [Pipeline] echo [2023-02-21T15:51:55.320Z] -----------> git rev-list -1 --merges 6834b703c46265c814bdd961536da7fd4f6ffe58~1..6834b703c46265c814bdd961536da7fd4f6ffe58 6834b703c46265c814bdd961536da7fd4f6ffe58 [false] [Pipeline] sh [2023-02-21T15:51:55.610Z] + git log --format=format:%s -1 6834b703c46265c814bdd961536da7fd4f6ffe58 [Pipeline] echo [2023-02-21T15:51:55.628Z] ========================================================= [2023-02-21T15:51:55.628Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-21T15:51:55.628Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T15:51:55.971Z] + git log --format=format:%s -1 6834b703c46265c814bdd961536da7fd4f6ffe58 [Pipeline] echo [2023-02-21T15:51:55.984Z] [semverPrep] GIT_COMMIT: 6834b703c46265c814bdd961536da7fd4f6ffe58, Commit Message: feat!: replace REST device validation callback with MessageBus [Pipeline] echo [2023-02-21T15:51:55.996Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-21T15:51:56.403Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-21T15:51:56.403Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-21T15:51:56.403Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-21T15:51:56.403Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-21T15:51:56.403Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-21T15:51:56.403Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-21T15:51:56.403Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:51:56.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T15:51:56.818Z] [2023-02-21T15:51:56.818Z] 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-21T15:51:57.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T15:51:57.129Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-21T15:51:57.129Z] b85a868b505f: Pulling fs layer [2023-02-21T15:51:57.129Z] e2be974225ed: Pulling fs layer [2023-02-21T15:51:57.129Z] 339a4e72a1f5: Pulling fs layer [2023-02-21T15:51:57.129Z] 988bab9f4d93: Pulling fs layer [2023-02-21T15:51:57.129Z] 1469e6f7b9e6: Pulling fs layer [2023-02-21T15:51:57.129Z] eaf3925da568: Pulling fs layer [2023-02-21T15:51:57.129Z] bab4dde63d76: Pulling fs layer [2023-02-21T15:51:57.129Z] bde34c3a00c8: Pulling fs layer [2023-02-21T15:51:57.129Z] b352a97aabf1: Pulling fs layer [2023-02-21T15:51:57.129Z] 4872d77fe225: Pulling fs layer [2023-02-21T15:51:57.129Z] 5851b861e8e6: Pulling fs layer [2023-02-21T15:51:57.129Z] bab4dde63d76: Waiting [2023-02-21T15:51:57.129Z] bde34c3a00c8: Waiting [2023-02-21T15:51:57.129Z] b352a97aabf1: Waiting [2023-02-21T15:51:57.129Z] 4872d77fe225: Waiting [2023-02-21T15:51:57.129Z] 5851b861e8e6: Waiting [2023-02-21T15:51:57.129Z] 1469e6f7b9e6: Waiting [2023-02-21T15:51:57.129Z] eaf3925da568: Waiting [2023-02-21T15:51:57.129Z] 988bab9f4d93: Waiting [2023-02-21T15:51:57.129Z] e2be974225ed: Download complete [2023-02-21T15:51:57.129Z] 988bab9f4d93: Verifying Checksum [2023-02-21T15:51:57.129Z] 988bab9f4d93: Download complete [2023-02-21T15:51:57.391Z] 1469e6f7b9e6: Verifying Checksum [2023-02-21T15:51:57.391Z] 1469e6f7b9e6: Download complete [2023-02-21T15:51:57.391Z] eaf3925da568: Verifying Checksum [2023-02-21T15:51:57.391Z] eaf3925da568: Download complete [2023-02-21T15:51:57.391Z] 339a4e72a1f5: Verifying Checksum [2023-02-21T15:51:57.391Z] 339a4e72a1f5: Download complete [2023-02-21T15:51:57.391Z] bde34c3a00c8: Verifying Checksum [2023-02-21T15:51:57.391Z] bde34c3a00c8: Download complete [2023-02-21T15:51:57.391Z] b352a97aabf1: Download complete [2023-02-21T15:51:57.391Z] 4872d77fe225: Verifying Checksum [2023-02-21T15:51:57.391Z] 5851b861e8e6: Verifying Checksum [2023-02-21T15:51:57.391Z] 5851b861e8e6: Download complete [2023-02-21T15:51:57.391Z] b85a868b505f: Download complete [2023-02-21T15:51:57.652Z] bab4dde63d76: Verifying Checksum [2023-02-21T15:51:57.652Z] bab4dde63d76: Download complete [2023-02-21T15:51:58.593Z] b85a868b505f: Pull complete [2023-02-21T15:51:58.852Z] e2be974225ed: Pull complete [2023-02-21T15:51:59.421Z] 339a4e72a1f5: Pull complete [2023-02-21T15:51:59.421Z] 988bab9f4d93: Pull complete [2023-02-21T15:51:59.688Z] 1469e6f7b9e6: Pull complete [2023-02-21T15:51:59.688Z] eaf3925da568: Pull complete [2023-02-21T15:52:01.597Z] bab4dde63d76: Pull complete [2023-02-21T15:52:01.597Z] bde34c3a00c8: Pull complete [2023-02-21T15:52:01.597Z] b352a97aabf1: Pull complete [2023-02-21T15:52:01.597Z] 4872d77fe225: Pull complete [2023-02-21T15:52:01.597Z] 5851b861e8e6: Pull complete [2023-02-21T15:52:01.597Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-21T15:52:01.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T15:52:01.597Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:52:01.679Z] prd-ubuntu20.04-docker-8c-8g-6893 does not seem to be running inside a container [2023-02-21T15:52:01.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@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-devops/py-git-semver:0.1.4 cat [2023-02-21T15:52:04.901Z] $ docker top a2b5de0e5263087ce99f642e1c8c4518c1dac46d31103efcb0a3c34e3c45945c -eo pid,comm [2023-02-21T15:52:04.995Z] 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-21T15:52:04.995Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-21T15:52:05.035Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T15:52:05.035Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T15:52:05.154Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T15:52:05.156Z] $ docker exec a2b5de0e5263087ce99f642e1c8c4518c1dac46d31103efcb0a3c34e3c45945c ssh-agent [2023-02-21T15:52:05.268Z] SSH_AUTH_SOCK=/tmp/ssh-O4C6qNvnVQto/agent.32 [2023-02-21T15:52:05.268Z] SSH_AGENT_PID=38 [2023-02-21T15:52:05.275Z] Running ssh-add (command line suppressed) [2023-02-21T15:52:05.377Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_3889593371626680591.key (/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_3889593371626680591.key) [2023-02-21T15:52:05.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T15:52:05.674Z] + git tag --points-at HEAD [Pipeline] } [2023-02-21T15:52:05.685Z] $ docker exec --env ******** --env ******** a2b5de0e5263087ce99f642e1c8c4518c1dac46d31103efcb0a3c34e3c45945c ssh-agent -k [2023-02-21T15:52:05.776Z] unset SSH_AUTH_SOCK; [2023-02-21T15:52:05.776Z] unset SSH_AGENT_PID; [2023-02-21T15:52:05.776Z] echo Agent pid 38 killed; [2023-02-21T15:52:05.787Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-21T15:52:05.812Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T15:52:05.812Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T15:52:05.919Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T15:52:05.920Z] $ docker exec a2b5de0e5263087ce99f642e1c8c4518c1dac46d31103efcb0a3c34e3c45945c ssh-agent [2023-02-21T15:52:06.020Z] SSH_AUTH_SOCK=/tmp/ssh-MZlbTqxxKQTx/agent.70 [2023-02-21T15:52:06.020Z] SSH_AGENT_PID=75 [2023-02-21T15:52:06.024Z] Running ssh-add (command line suppressed) [2023-02-21T15:52:06.129Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_14923608456891164320.key (/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_14923608456891164320.key) [2023-02-21T15:52:06.142Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T15:52:06.444Z] + git semver init [2023-02-21T15:52:06.704Z] 2023-02-21 15:52:06,605 [run_init] DEBUG init version:0.0.0 force:False [2023-02-21T15:52:06.704Z] 2023-02-21 15:52:06,606 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver [2023-02-21T15:52:06.704Z] 2023-02-21 15:52:06,607 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver [2023-02-21T15:52:06.704Z] 2023-02-21 15:52:06,607 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325, universal_newlines=False, shell=None, istream=None) [2023-02-21T15:52:08.085Z] 2023-02-21 15:52:07,683 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.git/info/exclude [2023-02-21T15:52:08.085Z] 2023-02-21 15:52:07,683 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 with force:False [2023-02-21T15:52:08.085Z] 2023-02-21 15:52:07,684 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 [2023-02-21T15:52:08.085Z] 2023-02-21 15:52:07,688 [execute] INFO git cat-file --batch-check [2023-02-21T15:52:08.085Z] 2023-02-21 15:52:07,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver, universal_newlines=False, shell=None, istream=) [2023-02-21T15:52:08.085Z] 2023-02-21 15:52:07,694 [execute] INFO git cat-file --batch [2023-02-21T15:52:08.085Z] 2023-02-21 15:52:07,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver, universal_newlines=False, shell=None, istream=) [2023-02-21T15:52:08.085Z] 2023-02-21 15:52:07,699 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 [2023-02-21T15:52:08.085Z] 0.0.0 [Pipeline] } [2023-02-21T15:52:08.094Z] $ docker exec --env ******** --env ******** a2b5de0e5263087ce99f642e1c8c4518c1dac46d31103efcb0a3c34e3c45945c ssh-agent -k [2023-02-21T15:52:08.194Z] unset SSH_AUTH_SOCK; [2023-02-21T15:52:08.196Z] unset SSH_AGENT_PID; [2023-02-21T15:52:08.196Z] echo Agent pid 75 killed; [2023-02-21T15:52:08.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-21T15:52:08.516Z] + git semver [Pipeline] } [2023-02-21T15:52:08.790Z] $ docker stop --time=1 a2b5de0e5263087ce99f642e1c8c4518c1dac46d31103efcb0a3c34e3c45945c [2023-02-21T15:52:10.088Z] $ docker rm -f --volumes a2b5de0e5263087ce99f642e1c8c4518c1dac46d31103efcb0a3c34e3c45945c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T15:52:10.432Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-21T15:52:10.629Z] Stashed 1 file(s) [Pipeline] echo [2023-02-21T15:52:10.633Z] [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-21T15:52:10.797Z] provisioning config files... [2023-02-21T15:52:10.806Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config14962197591747968500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:52:11.099Z] ---> docker-login.sh [2023-02-21T15:52:11.100Z] nexus3.edgexfoundry.org:10001 [2023-02-21T15:52:11.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:52:11.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:52:11.100Z] Configure a credential helper to remove this warning. See [2023-02-21T15:52:11.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:52:11.100Z] [2023-02-21T15:52:11.100Z] Login Succeeded [2023-02-21T15:52:11.100Z] nexus3.edgexfoundry.org:10002 [2023-02-21T15:52:11.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:52:11.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:52:11.100Z] Configure a credential helper to remove this warning. See [2023-02-21T15:52:11.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:52:11.100Z] [2023-02-21T15:52:11.100Z] Login Succeeded [2023-02-21T15:52:11.100Z] nexus3.edgexfoundry.org:10003 [2023-02-21T15:52:11.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:52:11.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:52:11.359Z] Configure a credential helper to remove this warning. See [2023-02-21T15:52:11.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:52:11.359Z] [2023-02-21T15:52:11.359Z] Login Succeeded [2023-02-21T15:52:11.359Z] nexus3.edgexfoundry.org:10004 [2023-02-21T15:52:11.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:52:11.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:52:11.359Z] Configure a credential helper to remove this warning. See [2023-02-21T15:52:11.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:52:11.359Z] [2023-02-21T15:52:11.359Z] Login Succeeded [2023-02-21T15:52:11.359Z] docker.io [2023-02-21T15:52:11.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:52:11.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:52:11.877Z] Configure a credential helper to remove this warning. See [2023-02-21T15:52:11.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:52:11.877Z] [2023-02-21T15:52:11.877Z] Login Succeeded [2023-02-21T15:52:11.877Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T15:52:11.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-21T15:52:11.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T15:52:11.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T15:52:11.958Z] ========================================================= [2023-02-21T15:52:11.958Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-21T15:52:11.958Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:52:12.274Z] + 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-21T15:52:12.274Z] Sending build context to Docker daemon 10.59MB [2023-02-21T15:52:12.274Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T15:52:12.274Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-21T15:52:12.274Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-21T15:52:12.274Z] 213ec9aee27d: Pulling fs layer [2023-02-21T15:52:12.274Z] 4583459ba037: Pulling fs layer [2023-02-21T15:52:12.274Z] 93c1e223e6f2: Pulling fs layer [2023-02-21T15:52:12.274Z] 53926ce57604: Pulling fs layer [2023-02-21T15:52:12.274Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-21T15:52:12.274Z] 22ff95d597cd: Pulling fs layer [2023-02-21T15:52:12.274Z] 12d6caf4c0d1: Pulling fs layer [2023-02-21T15:52:12.274Z] 96b7cbca73a9: Pulling fs layer [2023-02-21T15:52:12.274Z] a7acece74701: Pulling fs layer [2023-02-21T15:52:12.274Z] 53926ce57604: Waiting [2023-02-21T15:52:12.274Z] 21b2b0c7a3f4: Waiting [2023-02-21T15:52:12.274Z] 22ff95d597cd: Waiting [2023-02-21T15:52:12.274Z] 12d6caf4c0d1: Waiting [2023-02-21T15:52:12.274Z] 96b7cbca73a9: Waiting [2023-02-21T15:52:12.274Z] a7acece74701: Waiting [2023-02-21T15:52:12.274Z] 93c1e223e6f2: Download complete [2023-02-21T15:52:12.274Z] 4583459ba037: Download complete [2023-02-21T15:52:12.274Z] 21b2b0c7a3f4: Download complete [2023-02-21T15:52:12.536Z] 22ff95d597cd: Download complete [2023-02-21T15:52:12.536Z] 213ec9aee27d: Verifying Checksum [2023-02-21T15:52:12.536Z] 12d6caf4c0d1: Download complete [2023-02-21T15:52:12.536Z] 213ec9aee27d: Pull complete [2023-02-21T15:52:12.799Z] 4583459ba037: Pull complete [2023-02-21T15:52:12.799Z] 93c1e223e6f2: Pull complete [2023-02-21T15:52:13.061Z] a7acece74701: Verifying Checksum [2023-02-21T15:52:13.061Z] a7acece74701: Download complete [2023-02-21T15:52:13.319Z] 96b7cbca73a9: Verifying Checksum [2023-02-21T15:52:13.319Z] 96b7cbca73a9: Download complete [2023-02-21T15:52:13.319Z] 53926ce57604: Verifying Checksum [2023-02-21T15:52:13.319Z] 53926ce57604: Download complete [2023-02-21T15:52:16.607Z] 53926ce57604: Pull complete [2023-02-21T15:52:16.866Z] 21b2b0c7a3f4: Pull complete [2023-02-21T15:52:16.866Z] 22ff95d597cd: Pull complete [2023-02-21T15:52:16.866Z] 12d6caf4c0d1: Pull complete [2023-02-21T15:52:19.397Z] 96b7cbca73a9: Pull complete [2023-02-21T15:52:19.965Z] a7acece74701: Pull complete [2023-02-21T15:52:19.965Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-21T15:52:19.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-21T15:52:19.965Z] ---> db6d94c90886 [2023-02-21T15:52:19.965Z] Step 3/10 : ARG MAKE=make build [2023-02-21T15:52:23.277Z] ---> Running in d1cef8653668 [2023-02-21T15:52:23.277Z] Removing intermediate container d1cef8653668 [2023-02-21T15:52:23.277Z] ---> 1cd93420c196 [2023-02-21T15:52:23.277Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-21T15:52:23.277Z] ---> Running in c2b180fcda71 [2023-02-21T15:52:23.277Z] Removing intermediate container c2b180fcda71 [2023-02-21T15:52:23.277Z] ---> e6b392fa841e [2023-02-21T15:52:23.277Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-21T15:52:23.536Z] ---> Running in 1b6226f84460 [2023-02-21T15:52:23.536Z] Removing intermediate container 1b6226f84460 [2023-02-21T15:52:23.536Z] ---> 47daa4f01267 [2023-02-21T15:52:23.536Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-21T15:52:23.536Z] ---> Running in 4048be8dfde1 [2023-02-21T15:52:23.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T15:52:24.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T15:52:24.314Z] OK: 211 MiB in 51 packages [2023-02-21T15:52:24.571Z] Removing intermediate container 4048be8dfde1 [2023-02-21T15:52:24.571Z] ---> 7fee9aee59bb [2023-02-21T15:52:24.571Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-21T15:52:24.571Z] ---> 05d70ba188b1 [2023-02-21T15:52:24.571Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T15:52:24.571Z] ---> Running in 58b3e798b84e [2023-02-21T15:52:25.745Z] Still waiting to schedule task [2023-02-21T15:52:25.746Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-21T15:53:03.302Z] Removing intermediate container 58b3e798b84e [2023-02-21T15:53:03.302Z] ---> 8587fafa17a4 [2023-02-21T15:53:03.302Z] Step 9/10 : COPY . . [2023-02-21T15:53:03.302Z] ---> c5f9b6243037 [2023-02-21T15:53:03.302Z] Step 10/10 : RUN ${MAKE} [2023-02-21T15:53:03.302Z] ---> Running in 17cd503144cd [2023-02-21T15:53:03.302Z] noop [2023-02-21T15:53:03.302Z] Removing intermediate container 17cd503144cd [2023-02-21T15:53:03.302Z] ---> 45ff368ea45a [2023-02-21T15:53:03.302Z] Successfully built 45ff368ea45a [2023-02-21T15:53:03.302Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:53:03.609Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-21T15:53:03.610Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:53:03.676Z] prd-ubuntu20.04-docker-8c-8g-6893 does not seem to be running inside a container [2023-02-21T15:53:03.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-21T15:53:04.034Z] $ docker top 634acb2500a99283ff76ac975dc1eaf1bc30c1c73e7ca76ae1c22053ff83b8a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T15:53:04.377Z] + go version [2023-02-21T15:53:04.377Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-21T15:53:04.389Z] $ docker stop --time=1 634acb2500a99283ff76ac975dc1eaf1bc30c1c73e7ca76ae1c22053ff83b8a7 [2023-02-21T15:53:05.664Z] $ docker rm -f --volumes 634acb2500a99283ff76ac975dc1eaf1bc30c1c73e7ca76ae1c22053ff83b8a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:53:06.045Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-21T15:53:06.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:53:06.115Z] prd-ubuntu20.04-docker-8c-8g-6893 does not seem to be running inside a container [2023-02-21T15:53:06.148Z] $ 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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-21T15:53:06.492Z] $ docker top 181bc20d9e8072fe3dd0cc8d98ab294ab31a2e09da144de2781847fb8c8cbf36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T15:53:06.832Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] fileExists [Pipeline] sh [2023-02-21T15:53:07.127Z] + make test [2023-02-21T15:53:07.127Z] go test -race -coverprofile=coverage.out ./... [2023-02-21T15:53:13.688Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-21T15:53:28.556Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-21T15:53:28.556Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-21T15:53:28.556Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-21T15:53:28.556Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-21T15:53:28.556Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-21T15:53:28.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.053s coverage: 27.6% of statements [2023-02-21T15:53:28.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.089s coverage: 78.9% of statements [2023-02-21T15:53:28.556Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-21T15:53:28.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.127s coverage: 86.0% of statements [2023-02-21T15:53:28.556Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-21T15:53:28.556Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-21T15:53:28.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 74.7% of statements [2023-02-21T15:53:28.556Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-21T15:53:31.093Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 15.5% of statements [2023-02-21T15:53:31.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-21T15:53:31.094Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.101s coverage: 65.2% of statements [2023-02-21T15:53:31.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-21T15:53:31.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-21T15:53:31.094Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.756s coverage: 89.2% of statements [2023-02-21T15:53:31.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-21T15:53:31.094Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 4.6% of statements [2023-02-21T15:53:31.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-21T15:53:45.948Z] 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-21T15:53:45.948Z] GO111MODULE=on go vet ./... [2023-02-21T15:53:47.847Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-21T15:53:48.105Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-21T15:53:48.105Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-21T15:53:48.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-21T15:53:48.127Z] $ docker stop --time=1 181bc20d9e8072fe3dd0cc8d98ab294ab31a2e09da144de2781847fb8c8cbf36 [2023-02-21T15:53:50.466Z] $ docker rm -f --volumes 181bc20d9e8072fe3dd0cc8d98ab294ab31a2e09da144de2781847fb8c8cbf36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T15:53:50.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-21T15:53:51.005Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-21T15:53:51.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-21T15:53:51.799Z] + ls -al . [2023-02-21T15:53:51.799Z] total 284 [2023-02-21T15:53:51.799Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 21 15:53 . [2023-02-21T15:53:51.799Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 15:51 .. [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 21 15:51 .dockerignore [2023-02-21T15:53:51.799Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 15:53 .git [2023-02-21T15:53:51.799Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 15:51 .github [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 21 15:51 .gitignore [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 21 15:51 .golangci.yml [2023-02-21T15:53:51.799Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 15:52 .semver [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 21 15:51 CHANGELOG.md [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 15:51 GOVERNANCE.md [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 21 15:51 Jenkinsfile [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 21 15:51 LICENSE [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 21 15:51 Makefile [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 21 15:51 OWNERS.md [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 21 15:51 README.md [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 21 15:52 VERSION [2023-02-21T15:53:51.799Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 15:51 bin [2023-02-21T15:53:51.799Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 21 15:53 coverage.out [2023-02-21T15:53:51.799Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 21 15:51 example [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 21 15:51 go.mod [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 21 15:51 go.sum [2023-02-21T15:53:51.799Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 21 15:51 internal [2023-02-21T15:53:51.799Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 15:51 openapi [2023-02-21T15:53:51.799Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 21 15:51 pkg [2023-02-21T15:53:51.799Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 15:51 snap [2023-02-21T15:53:51.799Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 21 15:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:53:52.153Z] + 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=6834b703c46265c814bdd961536da7fd4f6ffe58 --label arch=amd64 --label version=0.0.0 . [2023-02-21T15:53:52.153Z] Sending build context to Docker daemon 10.7MB [2023-02-21T15:53:52.153Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T15:53:52.153Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-21T15:53:52.153Z] ---> 45ff368ea45a [2023-02-21T15:53:52.153Z] Step 3/23 : ARG MAKE=make build [2023-02-21T15:53:52.413Z] ---> Running in d9ef7c2f2e87 [2023-02-21T15:53:52.413Z] Removing intermediate container d9ef7c2f2e87 [2023-02-21T15:53:52.413Z] ---> 5bb7ff7a992b [2023-02-21T15:53:52.413Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-21T15:53:52.413Z] ---> Running in 14a75a41f505 [2023-02-21T15:53:52.413Z] Removing intermediate container 14a75a41f505 [2023-02-21T15:53:52.413Z] ---> bea9ea8063c2 [2023-02-21T15:53:52.413Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-21T15:53:52.413Z] ---> Running in 4b05a503ef17 [2023-02-21T15:53:52.413Z] Removing intermediate container 4b05a503ef17 [2023-02-21T15:53:52.413Z] ---> 088e454120bf [2023-02-21T15:53:52.413Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-21T15:53:52.672Z] ---> Running in b1bed1787b72 [2023-02-21T15:53:52.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T15:53:52.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T15:53:53.188Z] OK: 211 MiB in 51 packages [2023-02-21T15:53:53.446Z] Removing intermediate container b1bed1787b72 [2023-02-21T15:53:53.446Z] ---> f3b2383bb220 [2023-02-21T15:53:53.446Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-21T15:53:53.704Z] ---> 4cb1eb7bc075 [2023-02-21T15:53:53.704Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T15:53:53.704Z] ---> Running in dd926ac31c9c [2023-02-21T15:53:54.270Z] Removing intermediate container dd926ac31c9c [2023-02-21T15:53:54.270Z] ---> d24bf9c07e4d [2023-02-21T15:53:54.270Z] Step 9/23 : COPY . . [2023-02-21T15:53:54.837Z] ---> 57ffe0c7751f [2023-02-21T15:53:54.837Z] Step 10/23 : RUN ${MAKE} [2023-02-21T15:53:54.837Z] ---> Running in 3747ef16bf2f [2023-02-21T15:53:55.095Z] 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-21T15:54:14.331Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6895 in /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] { [Pipeline] ws [2023-02-21T15:54:14.344Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2023-02-21T15:54:14.386Z] The recommended git tool is: git [2023-02-21T15:54:17.013Z] Removing intermediate container 3747ef16bf2f [2023-02-21T15:54:17.013Z] ---> 19c2ac8f9f2a [2023-02-21T15:54:17.013Z] Step 11/23 : FROM alpine:3.16 [2023-02-21T15:54:17.013Z] 3.16: Pulling from library/alpine [2023-02-21T15:54:17.013Z] ef5531b6e74e: Pulling fs layer [2023-02-21T15:54:17.013Z] ef5531b6e74e: Verifying Checksum [2023-02-21T15:54:17.013Z] ef5531b6e74e: Download complete [2023-02-21T15:54:17.013Z] ef5531b6e74e: Pull complete [2023-02-21T15:54:17.013Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-21T15:54:17.013Z] Status: Downloaded newer image for alpine:3.16 [2023-02-21T15:54:17.013Z] ---> dfd21b5a31f5 [2023-02-21T15:54:17.013Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-21T15:54:17.013Z] ---> Running in 5a5d989e66dc [2023-02-21T15:54:17.013Z] Removing intermediate container 5a5d989e66dc [2023-02-21T15:54:17.013Z] ---> c088ecf9b139 [2023-02-21T15:54:17.013Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-21T15:54:17.013Z] ---> Running in 40d51077c4e1 [2023-02-21T15:54:17.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T15:54:17.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T15:54:17.013Z] OK: 6 MiB in 14 packages [2023-02-21T15:54:17.013Z] Removing intermediate container 40d51077c4e1 [2023-02-21T15:54:17.013Z] ---> 6a5c345ef0fb [2023-02-21T15:54:17.013Z] Step 14/23 : WORKDIR / [2023-02-21T15:54:17.013Z] ---> Running in 27ea5ca9f998 [2023-02-21T15:54:17.013Z] Removing intermediate container 27ea5ca9f998 [2023-02-21T15:54:17.013Z] ---> 69b04a2c64e6 [2023-02-21T15:54:17.013Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-21T15:54:17.013Z] ---> a386b1ec574f [2023-02-21T15:54:17.013Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-21T15:54:17.013Z] ---> c4c20b166466 [2023-02-21T15:54:17.013Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-21T15:54:17.013Z] ---> a663f196e0c1 [2023-02-21T15:54:17.013Z] Step 18/23 : EXPOSE 59999 [2023-02-21T15:54:17.013Z] ---> Running in 7de4616658c2 [2023-02-21T15:54:17.013Z] Removing intermediate container 7de4616658c2 [2023-02-21T15:54:17.013Z] ---> 7f6065a35482 [2023-02-21T15:54:17.013Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-21T15:54:17.013Z] ---> Running in 43da1a0df7fe [2023-02-21T15:54:17.013Z] Removing intermediate container 43da1a0df7fe [2023-02-21T15:54:17.013Z] ---> 6584397e5752 [2023-02-21T15:54:17.013Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-21T15:54:17.013Z] ---> Running in e33f1c3fc7ab [2023-02-21T15:54:17.013Z] Removing intermediate container e33f1c3fc7ab [2023-02-21T15:54:17.013Z] ---> b11dab199dba [2023-02-21T15:54:17.013Z] Step 21/23 : LABEL arch=amd64 [2023-02-21T15:54:17.013Z] ---> Running in 1330352dad2a [2023-02-21T15:54:17.272Z] Removing intermediate container 1330352dad2a [2023-02-21T15:54:17.272Z] ---> cf6cb3338d5f [2023-02-21T15:54:17.272Z] Step 22/23 : LABEL git_sha=6834b703c46265c814bdd961536da7fd4f6ffe58 [2023-02-21T15:54:17.272Z] ---> Running in cd290bfca115 [2023-02-21T15:54:17.272Z] Removing intermediate container cd290bfca115 [2023-02-21T15:54:17.272Z] ---> 472472d5bcb4 [2023-02-21T15:54:17.272Z] Step 23/23 : LABEL version=0.0.0 [2023-02-21T15:54:17.272Z] ---> Running in 00ca806330ed [2023-02-21T15:54:17.272Z] Removing intermediate container 00ca806330ed [2023-02-21T15:54:17.272Z] ---> 61cfb612c151 [2023-02-21T15:54:17.272Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-21T15:54:17.272Z] Successfully built 61cfb612c151 [2023-02-21T15:54:17.272Z] 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-21T15:54:17.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T15:54:17.713Z] [2023-02-21T15:54:17.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:54:18.012Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T15:54:18.012Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-21T15:54:18.012Z] 5eb5b503b376: Pulling fs layer [2023-02-21T15:54:18.012Z] 5c69ac0246d0: Pulling fs layer [2023-02-21T15:54:18.012Z] ec43610c2a17: Pulling fs layer [2023-02-21T15:54:18.012Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-21T15:54:18.012Z] 33b1e0a273af: Pulling fs layer [2023-02-21T15:54:18.012Z] 5d3b04190fa2: Pulling fs layer [2023-02-21T15:54:18.012Z] 2f39f015ded8: Pulling fs layer [2023-02-21T15:54:18.012Z] 2f39f015ded8: Waiting [2023-02-21T15:54:18.012Z] 5d3b04190fa2: Waiting [2023-02-21T15:54:18.012Z] 3a2ae6a8a46f: Waiting [2023-02-21T15:54:18.012Z] 33b1e0a273af: Waiting [2023-02-21T15:54:18.012Z] 5c69ac0246d0: Download complete [2023-02-21T15:54:18.012Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-21T15:54:18.012Z] 3a2ae6a8a46f: Download complete [2023-02-21T15:54:18.271Z] 33b1e0a273af: Verifying Checksum [2023-02-21T15:54:18.271Z] 33b1e0a273af: Download complete [2023-02-21T15:54:18.271Z] 5d3b04190fa2: Verifying Checksum [2023-02-21T15:54:18.271Z] 5d3b04190fa2: Download complete [2023-02-21T15:54:18.271Z] ec43610c2a17: Verifying Checksum [2023-02-21T15:54:18.271Z] ec43610c2a17: Download complete [2023-02-21T15:54:18.271Z] 5eb5b503b376: Download complete [2023-02-21T15:54:18.837Z] 2f39f015ded8: Download complete [2023-02-21T15:54:19.405Z] 5eb5b503b376: Pull complete [2023-02-21T15:54:19.405Z] 5c69ac0246d0: Pull complete [2023-02-21T15:54:19.852Z] using credential edgex-jenkins-ssh [2023-02-21T15:54:19.875Z] Cloning the remote Git repository [2023-02-21T15:54:19.970Z] ec43610c2a17: Pull complete [2023-02-21T15:54:19.970Z] 3a2ae6a8a46f: Pull complete [2023-02-21T15:54:20.227Z] 33b1e0a273af: Pull complete [2023-02-21T15:54:20.227Z] 5d3b04190fa2: Pull complete [2023-02-21T15:54:19.917Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-21T15:54:19.998Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2023-02-21T15:54:20.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-21T15:54:20.158Z] > git --version # timeout=10 [2023-02-21T15:54:20.178Z] > git --version # 'git version 2.25.1' [2023-02-21T15:54:20.180Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-21T15:54:20.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-21T15:54:21.899Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-21T15:54:21.919Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-21T15:54:22.771Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-21T15:54:22.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-21T15:54:22.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-21T15:54:22.843Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1325/head:refs/remotes/origin/PR-1325 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-21T15:54:23.568Z] Merging remotes/origin/main commit 64ca9b081847739b4160c0dc87966f6c81a47c16 into PR head commit 6834b703c46265c814bdd961536da7fd4f6ffe58 [2023-02-21T15:54:23.823Z] Merge succeeded, producing 6834b703c46265c814bdd961536da7fd4f6ffe58 [2023-02-21T15:54:23.823Z] Checking out Revision 6834b703c46265c814bdd961536da7fd4f6ffe58 (PR-1325) [2023-02-21T15:54:24.410Z] 2f39f015ded8: Pull complete [2023-02-21T15:54:24.410Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-21T15:54:24.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T15:54:24.410Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:54:24.498Z] prd-ubuntu20.04-docker-8c-8g-6893 does not seem to be running inside a container [2023-02-21T15:54:24.529Z] $ 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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-21T15:54:23.581Z] > git config core.sparsecheckout # timeout=10 [2023-02-21T15:54:23.614Z] > git checkout -f 6834b703c46265c814bdd961536da7fd4f6ffe58 # timeout=10 [2023-02-21T15:54:23.715Z] > git remote # timeout=10 [2023-02-21T15:54:23.736Z] > git config --get remote.origin.url # timeout=10 [2023-02-21T15:54:23.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-21T15:54:23.770Z] > git merge 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 [2023-02-21T15:54:23.798Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-21T15:54:23.828Z] > git config core.sparsecheckout # timeout=10 [2023-02-21T15:54:23.842Z] > git checkout -f 6834b703c46265c814bdd961536da7fd4f6ffe58 # timeout=10 [2023-02-21T15:54:27.325Z] Commit message: "feat!: replace REST device validation callback with MessageBus" [2023-02-21T15:54:27.659Z] [2023-02-21T15:54:27.660Z] GitHub has been notified of this commit’s build result [2023-02-21T15:54:27.660Z] [2023-02-21T15:54:27.769Z] $ docker top b9afdb0be24df2f115ae8a1aa48a18263062faa7cc0d8a3b62404e2cc5c653ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T15:54:28.161Z] ---> job-cost.sh [2023-02-21T15:54:28.161Z] lf-activate-venv: SKIPPING [2023-02-21T15:54:28.161Z] INFO: No Stack... [2023-02-21T15:54:28.419Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-21T15:54:28.438Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-21T15:54:28.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-21T15:54:28.438Z] Dload Upload Total Spent Left Speed [2023-02-21T15:54:28.439Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-02-21T15:54:28.986Z] INFO: Archiving Costs [Pipeline] sh [2023-02-21T15:54:29.265Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-21T15:54:29.292Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/cost.csv [2023-02-21T15:54:29.292Z] + cut -d, -f6 [Pipeline] lock [2023-02-21T15:54:29.340Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1325-7-stack-cost] [2023-02-21T15:54:29.353Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-7-stack-cost] did not exist. Created. [2023-02-21T15:54:29.353Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1325-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-21T15:54:29.591Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-21T15:54:29.591Z] + sudo tee /etc/docker/daemon.new [2023-02-21T15:54:29.591Z] { [2023-02-21T15:54:29.591Z] "registry-mirrors": [ [2023-02-21T15:54:29.591Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-21T15:54:29.591Z] ], [2023-02-21T15:54:29.591Z] "bip": "10.250.0.254/24", [2023-02-21T15:54:29.591Z] "hosts": [ [2023-02-21T15:54:29.591Z] "tcp://0.0.0.0:5555", [2023-02-21T15:54:29.591Z] "unix:///var/run/docker.sock" [2023-02-21T15:54:29.591Z] ], [2023-02-21T15:54:29.591Z] "mtu": 1458, [2023-02-21T15:54:29.591Z] "selinux-enabled": true, [2023-02-21T15:54:29.591Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-21T15:54:29.591Z] } [Pipeline] sh [2023-02-21T15:54:29.650Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-21T15:54:29.696Z] Stashed 1 file(s) [Pipeline] } [2023-02-21T15:54:29.702Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-21T15:54:29.721Z] $ docker stop --time=1 b9afdb0be24df2f115ae8a1aa48a18263062faa7cc0d8a3b62404e2cc5c653ea [2023-02-21T15:54:29.931Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-02-21T15:54:30.865Z] $ docker rm -f --volumes b9afdb0be24df2f115ae8a1aa48a18263062faa7cc0d8a3b62404e2cc5c653ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-21T15:54:31.224Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T15:54:49.491Z] provisioning config files... [2023-02-21T15:54:49.519Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1880847371169573867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T15:54:49.870Z] ---> docker-login.sh [2023-02-21T15:54:49.870Z] nexus3.edgexfoundry.org:10001 [2023-02-21T15:54:50.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:54:50.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:54:50.456Z] Configure a credential helper to remove this warning. See [2023-02-21T15:54:50.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:54:50.456Z] [2023-02-21T15:54:50.456Z] Login Succeeded [2023-02-21T15:54:50.456Z] nexus3.edgexfoundry.org:10002 [2023-02-21T15:54:50.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:54:50.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:54:50.999Z] Configure a credential helper to remove this warning. See [2023-02-21T15:54:50.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:54:50.999Z] [2023-02-21T15:54:50.999Z] Login Succeeded [2023-02-21T15:54:50.999Z] nexus3.edgexfoundry.org:10003 [2023-02-21T15:54:51.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:54:51.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:54:51.269Z] Configure a credential helper to remove this warning. See [2023-02-21T15:54:51.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:54:51.269Z] [2023-02-21T15:54:51.269Z] Login Succeeded [2023-02-21T15:54:51.269Z] nexus3.edgexfoundry.org:10004 [2023-02-21T15:54:51.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:54:51.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:54:51.539Z] Configure a credential helper to remove this warning. See [2023-02-21T15:54:51.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:54:51.539Z] [2023-02-21T15:54:51.539Z] Login Succeeded [2023-02-21T15:54:51.539Z] docker.io [2023-02-21T15:54:51.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T15:54:52.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T15:54:52.079Z] Configure a credential helper to remove this warning. See [2023-02-21T15:54:52.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T15:54:52.079Z] [2023-02-21T15:54:52.079Z] Login Succeeded [2023-02-21T15:54:52.079Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T15:54:52.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-21T15:54:52.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T15:54:52.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T15:54:52.363Z] ========================================================= [2023-02-21T15:54:52.363Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-21T15:54:52.363Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:54:52.701Z] + 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-21T15:54:52.969Z] Sending build context to Docker daemon 5.701MB [2023-02-21T15:54:53.238Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T15:54:53.238Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-21T15:54:53.238Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-21T15:54:53.238Z] 9b18e9b68314: Pulling fs layer [2023-02-21T15:54:53.238Z] 35d82f9e3411: Pulling fs layer [2023-02-21T15:54:53.238Z] e16973657156: Pulling fs layer [2023-02-21T15:54:53.238Z] fc693d55d65f: Pulling fs layer [2023-02-21T15:54:53.238Z] 7e9fc2657dce: Pulling fs layer [2023-02-21T15:54:53.238Z] dda99020689f: Pulling fs layer [2023-02-21T15:54:53.238Z] db1c61fa0a46: Pulling fs layer [2023-02-21T15:54:53.238Z] fc693d55d65f: Waiting [2023-02-21T15:54:53.238Z] 891c053d2c06: Pulling fs layer [2023-02-21T15:54:53.238Z] 7e9fc2657dce: Waiting [2023-02-21T15:54:53.238Z] dda99020689f: Waiting [2023-02-21T15:54:53.238Z] 891c053d2c06: Waiting [2023-02-21T15:54:53.238Z] e16973657156: Download complete [2023-02-21T15:54:53.238Z] 35d82f9e3411: Verifying Checksum [2023-02-21T15:54:53.238Z] 35d82f9e3411: Download complete [2023-02-21T15:54:53.238Z] 7e9fc2657dce: Verifying Checksum [2023-02-21T15:54:53.238Z] 7e9fc2657dce: Download complete [2023-02-21T15:54:53.238Z] dda99020689f: Verifying Checksum [2023-02-21T15:54:53.238Z] dda99020689f: Download complete [2023-02-21T15:54:53.508Z] 9b18e9b68314: Verifying Checksum [2023-02-21T15:54:54.489Z] 891c053d2c06: Verifying Checksum [2023-02-21T15:54:54.489Z] 891c053d2c06: Download complete [2023-02-21T15:54:55.454Z] db1c61fa0a46: Verifying Checksum [2023-02-21T15:54:55.454Z] db1c61fa0a46: Download complete [2023-02-21T15:54:56.045Z] fc693d55d65f: Verifying Checksum [2023-02-21T15:54:56.045Z] fc693d55d65f: Download complete [2023-02-21T15:54:56.633Z] 9b18e9b68314: Pull complete [2023-02-21T15:54:57.223Z] 35d82f9e3411: Pull complete [2023-02-21T15:54:57.223Z] e16973657156: Pull complete [2023-02-21T15:55:12.241Z] fc693d55d65f: Pull complete [2023-02-21T15:55:12.241Z] 7e9fc2657dce: Pull complete [2023-02-21T15:55:12.241Z] dda99020689f: Pull complete [2023-02-21T15:55:16.513Z] db1c61fa0a46: Pull complete [2023-02-21T15:55:18.461Z] 891c053d2c06: Pull complete [2023-02-21T15:55:18.461Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-21T15:55:18.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-21T15:55:18.461Z] ---> f96f9c87975a [2023-02-21T15:55:18.461Z] Step 3/10 : ARG MAKE=make build [2023-02-21T15:55:19.868Z] ---> Running in d07343b327d4 [2023-02-21T15:55:20.135Z] Removing intermediate container d07343b327d4 [2023-02-21T15:55:20.135Z] ---> c840fb90aadb [2023-02-21T15:55:20.135Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-21T15:55:20.402Z] ---> Running in f7636d91e392 [2023-02-21T15:55:20.670Z] Removing intermediate container f7636d91e392 [2023-02-21T15:55:20.670Z] ---> db341dbe6ab8 [2023-02-21T15:55:20.670Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-21T15:55:20.670Z] ---> Running in c89bf9a75ea3 [2023-02-21T15:55:20.939Z] Removing intermediate container c89bf9a75ea3 [2023-02-21T15:55:20.939Z] ---> ba2fb53fb425 [2023-02-21T15:55:20.939Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-21T15:55:21.207Z] ---> Running in 55bf9517abb3 [2023-02-21T15:55:22.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T15:55:22.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T15:55:23.848Z] OK: 221 MiB in 51 packages [2023-02-21T15:55:24.433Z] Removing intermediate container 55bf9517abb3 [2023-02-21T15:55:24.433Z] ---> 16b73005f30e [2023-02-21T15:55:24.433Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-21T15:55:25.021Z] ---> 54ad4b1492c0 [2023-02-21T15:55:25.021Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T15:55:25.021Z] ---> Running in e864187108a7 [2023-02-21T15:56:32.907Z] Removing intermediate container e864187108a7 [2023-02-21T15:56:32.907Z] ---> 0a4b030483b2 [2023-02-21T15:56:32.907Z] Step 9/10 : COPY . . [2023-02-21T15:56:32.907Z] ---> 9f2f092d9123 [2023-02-21T15:56:32.907Z] Step 10/10 : RUN ${MAKE} [2023-02-21T15:56:32.907Z] ---> Running in 92145e8a39ba [2023-02-21T15:56:32.907Z] noop [2023-02-21T15:56:32.907Z] Removing intermediate container 92145e8a39ba [2023-02-21T15:56:32.907Z] ---> aab0b1ff55d6 [2023-02-21T15:56:32.907Z] Successfully built aab0b1ff55d6 [2023-02-21T15:56:32.907Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:56:33.253Z] + docker inspect -f . ci-base-image-arm64 [2023-02-21T15:56:33.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:56:33.430Z] prd-ubuntu20.04-docker-arm64-4c-16g-6895 does not seem to be running inside a container [2023-02-21T15:56:33.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-21T15:56:34.702Z] $ docker top 895a2e813373970f46b028d9c6a6c7d0cf5a1aba46b58181dbc5ee45aa68cfb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T15:56:35.520Z] + go version [2023-02-21T15:56:35.520Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-21T15:56:35.539Z] $ docker stop --time=1 895a2e813373970f46b028d9c6a6c7d0cf5a1aba46b58181dbc5ee45aa68cfb1 [2023-02-21T15:56:37.116Z] $ docker rm -f --volumes 895a2e813373970f46b028d9c6a6c7d0cf5a1aba46b58181dbc5ee45aa68cfb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T15:56:37.659Z] + docker inspect -f . ci-base-image-arm64 [2023-02-21T15:56:37.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T15:56:37.819Z] prd-ubuntu20.04-docker-arm64-4c-16g-6895 does not seem to be running inside a container [2023-02-21T15:56:37.876Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-21T15:56:38.967Z] $ docker top f802657cff84c2d8c68bcb29249684ce46b7e430f487a4126107270569b71881 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T15:56:39.797Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh [2023-02-21T15:56:40.134Z] + make test [2023-02-21T15:56:40.134Z] go test -race -coverprofile=coverage.out ./... [2023-02-21T15:57:12.399Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-21T15:59:04.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-21T15:59:04.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-21T15:59:04.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-21T15:59:04.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-21T15:59:04.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-21T15:59:09.451Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.274s coverage: 27.6% of statements [2023-02-21T15:59:10.862Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.317s coverage: 78.9% of statements [2023-02-21T15:59:10.862Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-21T15:59:16.210Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.398s coverage: 86.0% of statements [2023-02-21T15:59:16.210Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-21T15:59:16.210Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-21T15:59:18.797Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.820s coverage: 74.7% of statements [2023-02-21T15:59:18.797Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-21T15:59:18.797Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.316s coverage: 15.5% of statements [2023-02-21T15:59:18.797Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-21T15:59:19.378Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.818s coverage: 65.2% of statements [2023-02-21T15:59:19.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-21T15:59:19.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-21T15:59:24.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.948s coverage: 89.2% of statements [2023-02-21T15:59:24.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-21T15:59:24.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.284s coverage: 4.6% of statements [2023-02-21T15:59:24.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-21T15:59:25.700Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-21T15:59:25.700Z] GO111MODULE=on go vet ./... [2023-02-21T16:01:02.346Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-21T16:01:02.346Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-21T16:01:02.346Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-21T16:01:02.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-21T16:01:02.379Z] $ docker stop --time=1 f802657cff84c2d8c68bcb29249684ce46b7e430f487a4126107270569b71881 [2023-02-21T16:01:04.219Z] $ docker rm -f --volumes f802657cff84c2d8c68bcb29249684ce46b7e430f487a4126107270569b71881 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T16:01:05.561Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-21T16:01:05.583Z] Warning: overwriting stash ‘coverage-report’ [2023-02-21T16:01:06.173Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T16:01:06.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-21T16:01:06.917Z] + ls -al . [2023-02-21T16:01:06.917Z] total 280 [2023-02-21T16:01:06.917Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 15:56 . [2023-02-21T16:01:06.917Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 15:54 .. [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 21 15:54 .dockerignore [2023-02-21T16:01:06.917Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 15:54 .git [2023-02-21T16:01:06.917Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 15:54 .github [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 21 15:54 .gitignore [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 21 15:54 .golangci.yml [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 21 15:54 CHANGELOG.md [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 15:54 GOVERNANCE.md [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 21 15:54 Jenkinsfile [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 21 15:54 LICENSE [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 21 15:54 Makefile [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 21 15:54 OWNERS.md [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 21 15:54 README.md [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 21 15:52 VERSION [2023-02-21T16:01:06.917Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 15:54 bin [2023-02-21T16:01:06.917Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 21 15:59 coverage.out [2023-02-21T16:01:06.917Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 21 15:54 example [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 21 15:54 go.mod [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 21 15:54 go.sum [2023-02-21T16:01:06.917Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 21 15:54 internal [2023-02-21T16:01:06.917Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 15:54 openapi [2023-02-21T16:01:06.917Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 21 15:54 pkg [2023-02-21T16:01:06.917Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 15:54 snap [2023-02-21T16:01:06.917Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 21 15:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T16:01:07.278Z] + 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=6834b703c46265c814bdd961536da7fd4f6ffe58 --label arch=arm64 --label version=0.0.0 . [2023-02-21T16:01:07.890Z] Sending build context to Docker daemon 5.813MB [2023-02-21T16:01:07.890Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T16:01:07.890Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-21T16:01:07.890Z] ---> aab0b1ff55d6 [2023-02-21T16:01:07.890Z] Step 3/23 : ARG MAKE=make build [2023-02-21T16:01:07.890Z] ---> Running in eb75d6e9ea22 [2023-02-21T16:01:08.181Z] Removing intermediate container eb75d6e9ea22 [2023-02-21T16:01:08.181Z] ---> 9abe028f5463 [2023-02-21T16:01:08.181Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-21T16:01:08.181Z] ---> Running in 18ae04987af0 [2023-02-21T16:01:08.815Z] Removing intermediate container 18ae04987af0 [2023-02-21T16:01:08.815Z] ---> 48771f51e484 [2023-02-21T16:01:08.815Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-21T16:01:08.815Z] ---> Running in b5267a282e62 [2023-02-21T16:01:09.104Z] Removing intermediate container b5267a282e62 [2023-02-21T16:01:09.104Z] ---> 44f7422926fb [2023-02-21T16:01:09.104Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-21T16:01:09.104Z] ---> Running in 79e879ccccc1 [2023-02-21T16:01:10.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T16:01:10.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T16:01:11.316Z] OK: 221 MiB in 51 packages [2023-02-21T16:01:12.281Z] Removing intermediate container 79e879ccccc1 [2023-02-21T16:01:12.281Z] ---> 9c7f4e31e2a5 [2023-02-21T16:01:12.281Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-21T16:01:12.552Z] ---> 426eb103abbf [2023-02-21T16:01:12.552Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T16:01:12.821Z] ---> Running in b6bd224d6588 [2023-02-21T16:01:15.413Z] Removing intermediate container b6bd224d6588 [2023-02-21T16:01:15.413Z] ---> 41bc35e0127d [2023-02-21T16:01:15.413Z] Step 9/23 : COPY . . [2023-02-21T16:01:16.375Z] ---> ec2d6026f169 [2023-02-21T16:01:16.375Z] Step 10/23 : RUN ${MAKE} [2023-02-21T16:01:16.375Z] ---> Running in cc4c94874149 [2023-02-21T16:01:17.339Z] 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-21T16:03:23.992Z] Removing intermediate container cc4c94874149 [2023-02-21T16:03:23.992Z] ---> f4323710f791 [2023-02-21T16:03:23.992Z] Step 11/23 : FROM alpine:3.16 [2023-02-21T16:03:23.992Z] 3.16: Pulling from library/alpine [2023-02-21T16:03:23.992Z] 3760b48202b3: Pulling fs layer [2023-02-21T16:03:23.992Z] 3760b48202b3: Verifying Checksum [2023-02-21T16:03:23.992Z] 3760b48202b3: Download complete [2023-02-21T16:03:23.992Z] 3760b48202b3: Pull complete [2023-02-21T16:03:23.992Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-21T16:03:23.992Z] Status: Downloaded newer image for alpine:3.16 [2023-02-21T16:03:23.992Z] ---> 4c81e5bf8899 [2023-02-21T16:03:23.992Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-21T16:03:23.992Z] ---> Running in 15f66d56a456 [2023-02-21T16:03:23.992Z] Removing intermediate container 15f66d56a456 [2023-02-21T16:03:23.992Z] ---> 1fadce81cf32 [2023-02-21T16:03:23.992Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-21T16:03:23.992Z] ---> Running in 6b0b78d6ab0f [2023-02-21T16:03:23.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T16:03:23.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T16:03:23.992Z] OK: 5 MiB in 14 packages [2023-02-21T16:03:23.992Z] Removing intermediate container 6b0b78d6ab0f [2023-02-21T16:03:23.992Z] ---> 4d3d3fc7cbd2 [2023-02-21T16:03:23.992Z] Step 14/23 : WORKDIR / [2023-02-21T16:03:23.992Z] ---> Running in b4eb518d640c [2023-02-21T16:03:23.992Z] Removing intermediate container b4eb518d640c [2023-02-21T16:03:23.992Z] ---> 68d043d2d367 [2023-02-21T16:03:23.992Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-21T16:03:23.992Z] ---> 601be032b03a [2023-02-21T16:03:23.992Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-21T16:03:23.992Z] ---> 12081632c665 [2023-02-21T16:03:23.992Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-21T16:03:23.992Z] ---> 376ccfbda0d4 [2023-02-21T16:03:23.992Z] Step 18/23 : EXPOSE 59999 [2023-02-21T16:03:23.992Z] ---> Running in be71ebd9aa7d [2023-02-21T16:03:23.992Z] Removing intermediate container be71ebd9aa7d [2023-02-21T16:03:23.992Z] ---> 3ab005a094ed [2023-02-21T16:03:23.992Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-21T16:03:23.992Z] ---> Running in 8c7e351565f1 [2023-02-21T16:03:23.992Z] Removing intermediate container 8c7e351565f1 [2023-02-21T16:03:23.992Z] ---> 9fb96dda90ec [2023-02-21T16:03:23.992Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-21T16:03:23.992Z] ---> Running in 1dfe621d1a21 [2023-02-21T16:03:23.992Z] Removing intermediate container 1dfe621d1a21 [2023-02-21T16:03:23.992Z] ---> dc0307cc1005 [2023-02-21T16:03:23.992Z] Step 21/23 : LABEL arch=arm64 [2023-02-21T16:03:23.992Z] ---> Running in f1395aa7c69f [2023-02-21T16:03:23.992Z] Removing intermediate container f1395aa7c69f [2023-02-21T16:03:23.992Z] ---> 2f0e0cc361ba [2023-02-21T16:03:23.992Z] Step 22/23 : LABEL git_sha=6834b703c46265c814bdd961536da7fd4f6ffe58 [2023-02-21T16:03:23.992Z] ---> Running in 30f7e492598c [2023-02-21T16:03:23.992Z] Removing intermediate container 30f7e492598c [2023-02-21T16:03:23.992Z] ---> 1ba7a9f24874 [2023-02-21T16:03:23.992Z] Step 23/23 : LABEL version=0.0.0 [2023-02-21T16:03:23.992Z] ---> Running in adc9434cdf53 [2023-02-21T16:03:23.992Z] Removing intermediate container adc9434cdf53 [2023-02-21T16:03:23.992Z] ---> 0855a3a682e4 [2023-02-21T16:03:23.992Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-21T16:03:23.992Z] Successfully built 0855a3a682e4 [2023-02-21T16:03:23.992Z] 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-21T16:03:24.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T16:03:24.406Z] [2023-02-21T16:03:24.406Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T16:03:24.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T16:03:24.733Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-21T16:03:24.733Z] 8998bd30e6a1: Pulling fs layer [2023-02-21T16:03:24.733Z] 04944245beec: Pulling fs layer [2023-02-21T16:03:24.733Z] 699f458cf7ca: Pulling fs layer [2023-02-21T16:03:24.733Z] 765212b225bb: Pulling fs layer [2023-02-21T16:03:24.733Z] f23df028b6ca: Pulling fs layer [2023-02-21T16:03:24.733Z] d65c8cfc05b1: Pulling fs layer [2023-02-21T16:03:24.733Z] 2437ff75d9bd: Pulling fs layer [2023-02-21T16:03:24.733Z] f23df028b6ca: Waiting [2023-02-21T16:03:24.733Z] d65c8cfc05b1: Waiting [2023-02-21T16:03:24.733Z] 2437ff75d9bd: Waiting [2023-02-21T16:03:24.733Z] 765212b225bb: Waiting [2023-02-21T16:03:24.999Z] 04944245beec: Verifying Checksum [2023-02-21T16:03:24.999Z] 04944245beec: Download complete [2023-02-21T16:03:24.999Z] 765212b225bb: Download complete [2023-02-21T16:03:24.999Z] f23df028b6ca: Verifying Checksum [2023-02-21T16:03:24.999Z] f23df028b6ca: Download complete [2023-02-21T16:03:24.999Z] d65c8cfc05b1: Verifying Checksum [2023-02-21T16:03:24.999Z] d65c8cfc05b1: Download complete [2023-02-21T16:03:24.999Z] 699f458cf7ca: Verifying Checksum [2023-02-21T16:03:24.999Z] 699f458cf7ca: Download complete [2023-02-21T16:03:25.579Z] 8998bd30e6a1: Download complete [2023-02-21T16:03:27.515Z] 2437ff75d9bd: Verifying Checksum [2023-02-21T16:03:27.515Z] 2437ff75d9bd: Download complete [2023-02-21T16:03:28.924Z] 8998bd30e6a1: Pull complete [2023-02-21T16:03:29.507Z] 04944245beec: Pull complete [2023-02-21T16:03:32.845Z] 699f458cf7ca: Pull complete [2023-02-21T16:03:32.845Z] 765212b225bb: Pull complete [2023-02-21T16:03:33.806Z] f23df028b6ca: Pull complete [2023-02-21T16:03:33.806Z] d65c8cfc05b1: Pull complete [2023-02-21T16:03:48.799Z] 2437ff75d9bd: Pull complete [2023-02-21T16:03:48.799Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-21T16:03:48.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T16:03:48.799Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T16:03:48.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-6895 does not seem to be running inside a container [2023-02-21T16:03:49.038Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-21T16:03:51.625Z] $ docker top e372bb8c74c248fc7a3b165f22c50e5093d380a14efa61446fd7689a3a08ec1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T16:03:52.110Z] ---> job-cost.sh [2023-02-21T16:03:52.374Z] lf-activate-venv: SKIPPING [2023-02-21T16:03:52.374Z] INFO: No Stack... [2023-02-21T16:03:52.952Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-21T16:03:53.903Z] INFO: Archiving Costs [Pipeline] sh [2023-02-21T16:03:54.227Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2023-02-21T16:03:54.227Z] + cut -d, -f6 [Pipeline] lock [2023-02-21T16:03:54.550Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1325-7-stack-cost] [2023-02-21T16:03:54.559Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-7-stack-cost] did not exist. Created. [2023-02-21T16:03:54.560Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1325-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-21T16:03:54.886Z] /w/workspace/device-sdk-go/7@tmp/durable-ef3ccd1f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-21T16:03:55.211Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-21T16:03:55.227Z] Warning: overwriting stash ‘stack-cost’ [2023-02-21T16:03:55.291Z] Stashed 1 file(s) [Pipeline] } [2023-02-21T16:03:55.298Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-21T16:03:55.314Z] $ docker stop --time=1 e372bb8c74c248fc7a3b165f22c50e5093d380a14efa61446fd7689a3a08ec1d [2023-02-21T16:03:58.367Z] $ docker rm -f --volumes e372bb8c74c248fc7a3b165f22c50e5093d380a14efa61446fd7689a3a08ec1d [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-21T16:03:58.734Z] provisioning config files... [2023-02-21T16:03:58.740Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config15348331679312227189tmp [Pipeline] { [Pipeline] sh [2023-02-21T16:03:59.031Z] + set +x [2023-02-21T16:03:59.031Z] + curl -s https://codecov.io/bash [2023-02-21T16:03:59.031Z] + bash -s -- [2023-02-21T16:03:59.031Z] [2023-02-21T16:03:59.031Z] _____ _ [2023-02-21T16:03:59.031Z] / ____| | | [2023-02-21T16:03:59.031Z] | | ___ __| | ___ ___ _____ __ [2023-02-21T16:03:59.031Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-21T16:03:59.031Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-21T16:03:59.031Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-21T16:03:59.031Z] Bash-1.0.6 [2023-02-21T16:03:59.031Z] [2023-02-21T16:03:59.031Z] [2023-02-21T16:03:59.031Z] ==> git version 2.25.1 found [2023-02-21T16:03:59.031Z] ==> 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-21T16:03:59.031Z] Release-Date: 2020-01-08 [2023-02-21T16:03:59.031Z] 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-21T16:03:59.031Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-21T16:03:59.031Z] ==> Jenkins CI detected. [2023-02-21T16:03:59.031Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1325 [2023-02-21T16:03:59.031Z] project root: . [2023-02-21T16:03:59.031Z] --> token set from env [2023-02-21T16:03:59.031Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-21T16:03:59.031Z] ==> Running gcov in . (disable via -X gcov) [2023-02-21T16:03:59.031Z] ==> Python coveragepy not found [2023-02-21T16:03:59.031Z] ==> Searching for coverage reports in: [2023-02-21T16:03:59.031Z] + . [2023-02-21T16:03:59.031Z] -> Found 1 reports [2023-02-21T16:03:59.031Z] ==> Detecting git/mercurial file structure [2023-02-21T16:03:59.031Z] ==> Reading reports [2023-02-21T16:03:59.290Z] + ./coverage.out bytes=111045 [2023-02-21T16:03:59.290Z] ==> Appending adjustments [2023-02-21T16:03:59.290Z] https://docs.codecov.io/docs/fixing-reports [2023-02-21T16:03:59.549Z] + Found adjustments [2023-02-21T16:03:59.549Z] ==> Gzipping contents [2023-02-21T16:03:59.549Z] 16K /tmp/codecov.l6AeLa.gz [2023-02-21T16:03:59.549Z] ==> Uploading reports [2023-02-21T16:03:59.549Z] url: https://codecov.io [2023-02-21T16:03:59.549Z] query: branch=PR-1325&commit=6834b703c46265c814bdd961536da7fd4f6ffe58&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1325%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1325&job=&cmd_args= [2023-02-21T16:03:59.549Z] -> Pinging Codecov [2023-02-21T16:03:59.549Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1325&commit=6834b703c46265c814bdd961536da7fd4f6ffe58&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1325%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1325&job=&cmd_args= [2023-02-21T16:03:59.809Z] -> Uploading to [2023-02-21T16:03:59.809Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-21/7E55EF52A471D76F132DFD9A03CDDE97/6834b703c46265c814bdd961536da7fd4f6ffe58/b9888ba2-9905-4fde-b79c-0fb9a8a5fbcd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230221T160359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13aa3244d2edfb07a40c776da45b515b9732d3c5f2e3335c14b41ad607c19729 [2023-02-21T16:03:59.809Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-21T16:03:59.809Z] Dload Upload Total Spent Left Speed [2023-02-21T16:04:00.069Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15383 0 0 100 15383 0 48680 --:--:-- --:--:-- --:--:-- 48526 [2023-02-21T16:04:00.069Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6834b703c46265c814bdd961536da7fd4f6ffe58 [Pipeline] } [2023-02-21T16:04:00.076Z] 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-21T16:04:00.764Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives ] [2023-02-21T16:04:00.764Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-21T16:04:00.765Z] total 16 [2023-02-21T16:04:00.765Z] drwxr-xr-x 3 root root 4096 Feb 21 15:54 . [2023-02-21T16:04:00.765Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 21 15:54 .. [2023-02-21T16:04:00.765Z] drwxr-xr-x 2 root root 4096 Feb 21 15:54 cost [2023-02-21T16:04:00.765Z] -rw-r--r-- 1 root root 86 Feb 21 15:54 cost.csv [2023-02-21T16:04:00.765Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-21T16:04:00.765Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-21T16:04:00.765Z] total 16 [2023-02-21T16:04:00.765Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 15:54 . [2023-02-21T16:04:00.765Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 21 15:54 .. [2023-02-21T16:04:00.765Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 21 15:54 cost [2023-02-21T16:04:00.765Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 21 15:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-21T16:04:01.056Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T16:04:01.913Z] ---> package-listing.sh [2023-02-21T16:04:01.913Z] ++ facter osfamily [2023-02-21T16:04:01.913Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-21T16:04:02.171Z] + OS_FAMILY=debian [2023-02-21T16:04:02.171Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1325 [2023-02-21T16:04:02.171Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-21T16:04:02.171Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-21T16:04:02.171Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-21T16:04:02.171Z] + PACKAGES=/tmp/packages_start.txt [2023-02-21T16:04:02.171Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1325 ']' [2023-02-21T16:04:02.171Z] + PACKAGES=/tmp/packages_end.txt [2023-02-21T16:04:02.171Z] + case "${OS_FAMILY}" in [2023-02-21T16:04:02.171Z] + dpkg -l [2023-02-21T16:04:02.171Z] + grep '^ii' [2023-02-21T16:04:02.171Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-21T16:04:02.171Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-21T16:04:02.171Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-21T16:04:02.171Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1325 ']' [2023-02-21T16:04:02.171Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/ [2023-02-21T16:04:02.171Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/ [Pipeline] echo [2023-02-21T16:04:02.182Z] 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-1325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-21T16:04:02.461Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T16:04:03.030Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T16:04:03.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T16:04:03.102Z] prd-ubuntu20.04-docker-8c-8g-6893 does not seem to be running inside a container [2023-02-21T16:04:03.129Z] $ 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-1325/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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-21T16:04:03.323Z] $ docker top 7c90a392eebddc3455970e36bc949a70a16bec0fdbf5532bf7c35574ee7bedd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T16:04:03.686Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-21T16:04:03.975Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-21T16:04:04.257Z] + ls /var/log/sa-host [2023-02-21T16:04:04.257Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T16:04:04.327Z] provisioning config files... [2023-02-21T16:04:04.334Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config7442693787907764520tmp [Pipeline] { [Pipeline] echo [2023-02-21T16:04:04.347Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T16:04:04.627Z] ---> create-netrc.sh [Pipeline] } [2023-02-21T16:04:04.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-21T16:04:04.964Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-21T16:04:04.973Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T16:04:05.256Z] ---> sudo-logs.sh [2023-02-21T16:04:05.256Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-21T16:04:05.283Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T16:04:05.564Z] ---> job-cost.sh [2023-02-21T16:04:05.564Z] lf-activate-venv: SKIPPING [2023-02-21T16:04:05.564Z] DEBUG: total: 0.2199999988079071 [2023-02-21T16:04:05.564Z] INFO: Retrieving Stack Cost... [2023-02-21T16:04:05.824Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-21T16:04:06.399Z] INFO: Archiving Costs [Pipeline] echo [2023-02-21T16:04:06.413Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T16:04:06.701Z] ---> logs-deploy.sh [2023-02-21T16:04:06.701Z] lf-activate-venv: SKIPPING [2023-02-21T16:04:06.701Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1325/7 [2023-02-21T16:04:06.701Z] INFO: archiving workspace using pattern(s): [2023-02-21T16:04:07.633Z] Archives upload complete. [2023-02-21T16:04:07.633Z] INFO: archiving logs to Nexus