Pull request #1345 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 726b6b5438f09a016ca491210bcd8a379a7d5cec+a6f9b4558a5053ff5451a91be1399b57291d8939 (45b8ab0603de0fb5da237a0efa2f52b9840c778a) 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-ssh922029503292166144.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-ssh11775020598582543998.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-1345/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-1345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14787182080467177920.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-ssh12728109560447409750.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-1345/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-1345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6879767566022554684.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8826’ Running on prd-ubuntu20.04-docker-8c-8g-8828 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [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-1345 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a6f9b4558a5053ff5451a91be1399b57291d8939 into PR head commit 726b6b5438f09a016ca491210bcd8a379a7d5cec Merge succeeded, producing 726b6b5438f09a016ca491210bcd8a379a7d5cec Checking out Revision 726b6b5438f09a016ca491210bcd8a379a7d5cec (PR-1345) > git config core.sparsecheckout # timeout=10 > git checkout -f 726b6b5438f09a016ca491210bcd8a379a7d5cec # 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 a6f9b4558a5053ff5451a91be1399b57291d8939 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 726b6b5438f09a016ca491210bcd8a379a7d5cec # timeout=10 Commit message: "refactor: update for the new ProtocolDriver change" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T16:45:40.334Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T16:45:40.380Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T16:45:40.395Z] ========================================================= [2023-03-08T16:45:40.395Z] EdgeX Global Pipelines Version Info [2023-03-08T16:45:40.395Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:45:41.110Z] ------------------- [2023-03-08T16:45:41.110Z] stable info: [2023-03-08T16:45:41.110Z] ------------------- [2023-03-08T16:45:41.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T16:45:41.110Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T16:45:41.110Z] Message: update stable to v1.0.244 > git rev-list --no-walk 4ca6ddd332f71180be78a9cb1e82c0d99802d32a # timeout=10 [2023-03-08T16:45:41.680Z] ------------------- [2023-03-08T16:45:41.680Z] experimental info: [2023-03-08T16:45:41.680Z] ------------------- [2023-03-08T16:45:41.680Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T16:45:41.680Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T16:45:41.680Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T16:45:41.859Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-08T16:45:41.872Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-08T16:45:41.887Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T16:45:41.909Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T16:45:41.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T16:45:41.945Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T16:45:41.964Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T16:45:41.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-08T16:45:42.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T16:45:42.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T16:45:42.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T16:45:42.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-08T16:45:42.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T16:45:42.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T16:45:42.110Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T16:45:42.128Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T16:45:42.146Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T16:45:42.157Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T16:45:42.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T16:45:42.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T16:45:42.200Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-08T16:45:42.212Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-08T16:45:42.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T16:45:42.237Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T16:45:42.247Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T16:45:42.259Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T16:45:42.274Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T16:45:42.291Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1345 [Pipeline] echo [2023-03-08T16:45:42.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1345 [Pipeline] echo [2023-03-08T16:45:42.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1345 [Pipeline] echo [2023-03-08T16:45:42.333Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 726b6b5438f09a016ca491210bcd8a379a7d5cec [Pipeline] echo [2023-03-08T16:45:42.344Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 726b6b5 [Pipeline] echo [2023-03-08T16:45:42.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T16:45:42.400Z] provisioning config files... [2023-03-08T16:45:42.414Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config17401643517294389628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:45:42.717Z] ---> docker-login.sh [2023-03-08T16:45:42.717Z] nexus3.edgexfoundry.org:10001 [2023-03-08T16:45:42.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:42.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:42.977Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:42.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:42.977Z] [2023-03-08T16:45:42.977Z] Login Succeeded [2023-03-08T16:45:42.977Z] nexus3.edgexfoundry.org:10002 [2023-03-08T16:45:42.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:43.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:43.237Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:43.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:43.237Z] [2023-03-08T16:45:43.237Z] Login Succeeded [2023-03-08T16:45:43.237Z] nexus3.edgexfoundry.org:10003 [2023-03-08T16:45:43.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:43.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:43.237Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:43.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:43.237Z] [2023-03-08T16:45:43.237Z] Login Succeeded [2023-03-08T16:45:43.237Z] nexus3.edgexfoundry.org:10004 [2023-03-08T16:45:43.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:43.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:43.497Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:43.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:43.497Z] [2023-03-08T16:45:43.497Z] Login Succeeded [2023-03-08T16:45:43.497Z] docker.io [2023-03-08T16:45:43.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:43.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:43.760Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:43.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:43.760Z] [2023-03-08T16:45:43.760Z] Login Succeeded [2023-03-08T16:45:43.760Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T16:45:43.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T16:45:44.142Z] + git rev-list -1 --merges 726b6b5438f09a016ca491210bcd8a379a7d5cec~1..726b6b5438f09a016ca491210bcd8a379a7d5cec [Pipeline] echo [2023-03-08T16:45:44.192Z] -----------> git rev-list -1 --merges 726b6b5438f09a016ca491210bcd8a379a7d5cec~1..726b6b5438f09a016ca491210bcd8a379a7d5cec 726b6b5438f09a016ca491210bcd8a379a7d5cec [false] [Pipeline] sh [2023-03-08T16:45:44.485Z] + git log --format=format:%s -1 726b6b5438f09a016ca491210bcd8a379a7d5cec [Pipeline] echo [2023-03-08T16:45:44.501Z] ========================================================= [2023-03-08T16:45:44.501Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T16:45:44.501Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T16:45:44.843Z] + git log --format=format:%s -1 726b6b5438f09a016ca491210bcd8a379a7d5cec [Pipeline] echo [2023-03-08T16:45:44.855Z] [semverPrep] GIT_COMMIT: 726b6b5438f09a016ca491210bcd8a379a7d5cec, Commit Message: refactor: update for the new ProtocolDriver change [Pipeline] echo [2023-03-08T16:45:44.863Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T16:45:45.201Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T16:45:45.201Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T16:45:45.201Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T16:45:45.201Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T16:45:45.201Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T16:45:45.201Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T16:45:45.201Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:45:45.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T16:45:45.541Z] [2023-03-08T16:45:45.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:45:45.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T16:45:45.842Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T16:45:45.842Z] b85a868b505f: Pulling fs layer [2023-03-08T16:45:45.842Z] e2be974225ed: Pulling fs layer [2023-03-08T16:45:45.842Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T16:45:45.842Z] 988bab9f4d93: Pulling fs layer [2023-03-08T16:45:45.842Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T16:45:45.842Z] eaf3925da568: Pulling fs layer [2023-03-08T16:45:45.842Z] bab4dde63d76: Pulling fs layer [2023-03-08T16:45:45.842Z] bde34c3a00c8: Pulling fs layer [2023-03-08T16:45:45.842Z] b352a97aabf1: Pulling fs layer [2023-03-08T16:45:45.842Z] 4872d77fe225: Pulling fs layer [2023-03-08T16:45:45.842Z] 5851b861e8e6: Pulling fs layer [2023-03-08T16:45:45.842Z] bab4dde63d76: Waiting [2023-03-08T16:45:45.842Z] bde34c3a00c8: Waiting [2023-03-08T16:45:45.842Z] b352a97aabf1: Waiting [2023-03-08T16:45:45.842Z] 988bab9f4d93: Waiting [2023-03-08T16:45:45.842Z] 4872d77fe225: Waiting [2023-03-08T16:45:45.842Z] eaf3925da568: Waiting [2023-03-08T16:45:45.842Z] 1469e6f7b9e6: Waiting [2023-03-08T16:45:45.842Z] 5851b861e8e6: Waiting [2023-03-08T16:45:45.842Z] e2be974225ed: Download complete [2023-03-08T16:45:45.842Z] 988bab9f4d93: Verifying Checksum [2023-03-08T16:45:45.842Z] 988bab9f4d93: Download complete [2023-03-08T16:45:46.103Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T16:45:46.103Z] 1469e6f7b9e6: Download complete [2023-03-08T16:45:46.103Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T16:45:46.103Z] 339a4e72a1f5: Download complete [2023-03-08T16:45:46.103Z] eaf3925da568: Download complete [2023-03-08T16:45:46.103Z] bde34c3a00c8: Verifying Checksum [2023-03-08T16:45:46.103Z] bde34c3a00c8: Download complete [2023-03-08T16:45:46.103Z] b352a97aabf1: Download complete [2023-03-08T16:45:46.103Z] 4872d77fe225: Verifying Checksum [2023-03-08T16:45:46.103Z] 4872d77fe225: Download complete [2023-03-08T16:45:46.103Z] 5851b861e8e6: Download complete [2023-03-08T16:45:46.103Z] b85a868b505f: Verifying Checksum [2023-03-08T16:45:46.103Z] b85a868b505f: Download complete [2023-03-08T16:45:46.672Z] bab4dde63d76: Verifying Checksum [2023-03-08T16:45:46.672Z] bab4dde63d76: Download complete [2023-03-08T16:45:47.608Z] b85a868b505f: Pull complete [2023-03-08T16:45:47.608Z] e2be974225ed: Pull complete [2023-03-08T16:45:48.177Z] 339a4e72a1f5: Pull complete [2023-03-08T16:45:48.177Z] 988bab9f4d93: Pull complete [2023-03-08T16:45:48.436Z] 1469e6f7b9e6: Pull complete [2023-03-08T16:45:48.436Z] eaf3925da568: Pull complete [2023-03-08T16:45:50.347Z] bab4dde63d76: Pull complete [2023-03-08T16:45:50.610Z] bde34c3a00c8: Pull complete [2023-03-08T16:45:50.610Z] b352a97aabf1: Pull complete [2023-03-08T16:45:50.610Z] 4872d77fe225: Pull complete [2023-03-08T16:45:50.870Z] 5851b861e8e6: Pull complete [2023-03-08T16:45:50.870Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T16:45:50.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T16:45:50.870Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:45:50.971Z] prd-ubuntu20.04-docker-8c-8g-8828 does not seem to be running inside a container [2023-03-08T16:45:51.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T16:45:52.427Z] $ docker top 09be7f45e8a5c5b51bb3457a46a904a5ee4d30859df8362d5bfc3be93d5a861a -eo pid,comm [2023-03-08T16:45:52.491Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-08T16:45:52.491Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T16:45:52.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T16:45:52.529Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T16:45:52.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T16:45:52.675Z] $ docker exec 09be7f45e8a5c5b51bb3457a46a904a5ee4d30859df8362d5bfc3be93d5a861a ssh-agent [2023-03-08T16:45:52.788Z] SSH_AUTH_SOCK=/tmp/ssh-QEwB09GBFhb2/agent.31 [2023-03-08T16:45:52.788Z] SSH_AGENT_PID=37 [2023-03-08T16:45:52.794Z] Running ssh-add (command line suppressed) [2023-03-08T16:45:52.902Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_398167143049454903.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_398167143049454903.key) [2023-03-08T16:45:52.920Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T16:45:53.205Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T16:45:53.216Z] $ docker exec --env ******** --env ******** 09be7f45e8a5c5b51bb3457a46a904a5ee4d30859df8362d5bfc3be93d5a861a ssh-agent -k [2023-03-08T16:45:53.314Z] unset SSH_AUTH_SOCK; [2023-03-08T16:45:53.314Z] unset SSH_AGENT_PID; [2023-03-08T16:45:53.315Z] echo Agent pid 37 killed; [2023-03-08T16:45:53.330Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T16:45:53.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T16:45:53.353Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T16:45:53.491Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T16:45:53.493Z] $ docker exec 09be7f45e8a5c5b51bb3457a46a904a5ee4d30859df8362d5bfc3be93d5a861a ssh-agent [2023-03-08T16:45:53.600Z] SSH_AUTH_SOCK=/tmp/ssh-aDsHsPDpZRfK/agent.69 [2023-03-08T16:45:53.600Z] SSH_AGENT_PID=75 [2023-03-08T16:45:53.605Z] Running ssh-add (command line suppressed) [2023-03-08T16:45:53.706Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_16944999221535731337.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_16944999221535731337.key) [2023-03-08T16:45:53.718Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T16:45:53.999Z] + git semver init [2023-03-08T16:45:54.565Z] 2023-03-08 16:45:54,259 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T16:45:54.565Z] 2023-03-08 16:45:54,260 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver [2023-03-08T16:45:54.565Z] 2023-03-08 16:45:54,260 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver [2023-03-08T16:45:54.565Z] 2023-03-08 16:45:54,260 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345, universal_newlines=False, shell=None, istream=None) [2023-03-08T16:45:55.133Z] 2023-03-08 16:45:55,116 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.git/info/exclude [2023-03-08T16:45:55.133Z] 2023-03-08 16:45:55,117 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 with force:False [2023-03-08T16:45:55.133Z] 2023-03-08 16:45:55,117 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 [2023-03-08T16:45:55.133Z] 2023-03-08 16:45:55,121 [execute] INFO git cat-file --batch-check [2023-03-08T16:45:55.133Z] 2023-03-08 16:45:55,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T16:45:55.133Z] 2023-03-08 16:45:55,128 [execute] INFO git cat-file --batch [2023-03-08T16:45:55.133Z] 2023-03-08 16:45:55,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T16:45:55.392Z] 2023-03-08 16:45:55,134 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 [2023-03-08T16:45:55.392Z] 0.0.0 [Pipeline] } [2023-03-08T16:45:55.401Z] $ docker exec --env ******** --env ******** 09be7f45e8a5c5b51bb3457a46a904a5ee4d30859df8362d5bfc3be93d5a861a ssh-agent -k [2023-03-08T16:45:55.512Z] unset SSH_AUTH_SOCK; [2023-03-08T16:45:55.512Z] unset SSH_AGENT_PID; [2023-03-08T16:45:55.512Z] echo Agent pid 75 killed; [2023-03-08T16:45:55.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T16:45:55.826Z] + git semver [Pipeline] } [2023-03-08T16:45:56.097Z] $ docker stop --time=1 09be7f45e8a5c5b51bb3457a46a904a5ee4d30859df8362d5bfc3be93d5a861a [2023-03-08T16:45:57.411Z] $ docker rm -f --volumes 09be7f45e8a5c5b51bb3457a46a904a5ee4d30859df8362d5bfc3be93d5a861a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T16:45:57.746Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T16:45:57.966Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T16:45:57.969Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T16:45:58.123Z] provisioning config files... [2023-03-08T16:45:58.134Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config14149129433216858779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:45:58.435Z] ---> docker-login.sh [2023-03-08T16:45:58.435Z] nexus3.edgexfoundry.org:10001 [2023-03-08T16:45:58.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:58.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:58.435Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:58.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:58.435Z] [2023-03-08T16:45:58.435Z] Login Succeeded [2023-03-08T16:45:58.435Z] nexus3.edgexfoundry.org:10002 [2023-03-08T16:45:58.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:58.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:58.435Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:58.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:58.435Z] [2023-03-08T16:45:58.435Z] Login Succeeded [2023-03-08T16:45:58.435Z] nexus3.edgexfoundry.org:10003 [2023-03-08T16:45:58.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:58.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:58.695Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:58.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:58.695Z] [2023-03-08T16:45:58.695Z] Login Succeeded [2023-03-08T16:45:58.695Z] nexus3.edgexfoundry.org:10004 [2023-03-08T16:45:58.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:58.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:58.695Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:58.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:58.695Z] [2023-03-08T16:45:58.695Z] Login Succeeded [2023-03-08T16:45:58.695Z] docker.io [2023-03-08T16:45:58.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:45:58.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:45:58.953Z] Configure a credential helper to remove this warning. See [2023-03-08T16:45:58.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:45:58.953Z] [2023-03-08T16:45:58.953Z] Login Succeeded [2023-03-08T16:45:58.953Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T16:45:58.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T16:45:59.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T16:45:59.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T16:45:59.040Z] ========================================================= [2023-03-08T16:45:59.040Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T16:45:59.040Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:45:59.344Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T16:45:59.344Z] Sending build context to Docker daemon 10.76MB [2023-03-08T16:45:59.344Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T16:45:59.344Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T16:45:59.344Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T16:45:59.344Z] 213ec9aee27d: Pulling fs layer [2023-03-08T16:45:59.344Z] 4583459ba037: Pulling fs layer [2023-03-08T16:45:59.344Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T16:45:59.344Z] 53926ce57604: Pulling fs layer [2023-03-08T16:45:59.344Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T16:45:59.344Z] 22ff95d597cd: Pulling fs layer [2023-03-08T16:45:59.344Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T16:45:59.344Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T16:45:59.344Z] a7acece74701: Pulling fs layer [2023-03-08T16:45:59.344Z] 53926ce57604: Waiting [2023-03-08T16:45:59.344Z] 21b2b0c7a3f4: Waiting [2023-03-08T16:45:59.344Z] 22ff95d597cd: Waiting [2023-03-08T16:45:59.344Z] 12d6caf4c0d1: Waiting [2023-03-08T16:45:59.344Z] 96b7cbca73a9: Waiting [2023-03-08T16:45:59.344Z] a7acece74701: Waiting [2023-03-08T16:45:59.606Z] 93c1e223e6f2: Verifying Checksum [2023-03-08T16:45:59.606Z] 93c1e223e6f2: Download complete [2023-03-08T16:45:59.606Z] 4583459ba037: Download complete [2023-03-08T16:45:59.606Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-08T16:45:59.607Z] 21b2b0c7a3f4: Download complete [2023-03-08T16:45:59.607Z] 22ff95d597cd: Verifying Checksum [2023-03-08T16:45:59.607Z] 22ff95d597cd: Download complete [2023-03-08T16:45:59.607Z] 213ec9aee27d: Verifying Checksum [2023-03-08T16:45:59.607Z] 213ec9aee27d: Download complete [2023-03-08T16:45:59.607Z] 12d6caf4c0d1: Verifying Checksum [2023-03-08T16:45:59.607Z] 12d6caf4c0d1: Download complete [2023-03-08T16:45:59.607Z] 213ec9aee27d: Pull complete [2023-03-08T16:45:59.877Z] 4583459ba037: Pull complete [2023-03-08T16:45:59.877Z] 93c1e223e6f2: Pull complete [2023-03-08T16:46:00.151Z] a7acece74701: Verifying Checksum [2023-03-08T16:46:00.151Z] a7acece74701: Download complete [2023-03-08T16:46:00.410Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T16:46:00.411Z] 96b7cbca73a9: Download complete [2023-03-08T16:46:00.411Z] 53926ce57604: Verifying Checksum [2023-03-08T16:46:00.411Z] 53926ce57604: Download complete [2023-03-08T16:46:05.701Z] 53926ce57604: Pull complete [2023-03-08T16:46:05.701Z] 21b2b0c7a3f4: Pull complete [2023-03-08T16:46:05.701Z] 22ff95d597cd: Pull complete [2023-03-08T16:46:05.701Z] 12d6caf4c0d1: Pull complete [2023-03-08T16:46:07.604Z] 96b7cbca73a9: Pull complete [2023-03-08T16:46:08.173Z] a7acece74701: Pull complete [2023-03-08T16:46:08.173Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T16:46:08.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T16:46:08.173Z] ---> db6d94c90886 [2023-03-08T16:46:08.173Z] Step 3/10 : ARG MAKE=make build [2023-03-08T16:46:10.080Z] ---> Running in 29e8ac89a8bc [2023-03-08T16:46:10.339Z] Removing intermediate container 29e8ac89a8bc [2023-03-08T16:46:10.339Z] ---> c1627f622589 [2023-03-08T16:46:10.339Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T16:46:10.339Z] ---> Running in e87023b330ff [2023-03-08T16:46:10.599Z] Removing intermediate container e87023b330ff [2023-03-08T16:46:10.599Z] ---> 6c0f3f6a2b1a [2023-03-08T16:46:10.599Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T16:46:10.599Z] ---> Running in dda62ba7197d [2023-03-08T16:46:10.599Z] Removing intermediate container dda62ba7197d [2023-03-08T16:46:10.599Z] ---> f99f081b5f8f [2023-03-08T16:46:10.599Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-08T16:46:10.599Z] ---> Running in 34809ac45d21 [2023-03-08T16:46:10.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T16:46:11.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T16:46:11.685Z] OK: 211 MiB in 51 packages [2023-03-08T16:46:11.944Z] Removing intermediate container 34809ac45d21 [2023-03-08T16:46:11.944Z] ---> 045632c3efb3 [2023-03-08T16:46:11.944Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T16:46:11.944Z] ---> bac5236642a6 [2023-03-08T16:46:11.944Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T16:46:11.944Z] ---> Running in ddf725a2ec37 [2023-03-08T16:46:13.075Z] Still waiting to schedule task [2023-03-08T16:46:13.076Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8827’ [2023-03-08T16:46:38.493Z] Removing intermediate container ddf725a2ec37 [2023-03-08T16:46:38.493Z] ---> 8ed4e8c81ba0 [2023-03-08T16:46:38.493Z] Step 9/10 : COPY . . [2023-03-08T16:46:38.494Z] ---> ff642de97c89 [2023-03-08T16:46:38.494Z] Step 10/10 : RUN ${MAKE} [2023-03-08T16:46:38.494Z] ---> Running in 34344973b197 [2023-03-08T16:46:38.494Z] noop [2023-03-08T16:46:38.494Z] Removing intermediate container 34344973b197 [2023-03-08T16:46:38.494Z] ---> 6e991983f472 [2023-03-08T16:46:38.494Z] Successfully built 6e991983f472 [2023-03-08T16:46:38.494Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:46:38.807Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T16:46:38.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:46:38.876Z] prd-ubuntu20.04-docker-8c-8g-8828 does not seem to be running inside a container [2023-03-08T16:46:38.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T16:46:39.267Z] $ docker top 023ec8b3279bde7959baabfefb8f80365b5ee90f0ff8c828443041b98ff120fe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T16:46:39.616Z] + go version [2023-03-08T16:46:39.616Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T16:46:39.624Z] $ docker stop --time=1 023ec8b3279bde7959baabfefb8f80365b5ee90f0ff8c828443041b98ff120fe [2023-03-08T16:46:40.897Z] $ docker rm -f --volumes 023ec8b3279bde7959baabfefb8f80365b5ee90f0ff8c828443041b98ff120fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:46:41.335Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T16:46:41.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:46:41.412Z] prd-ubuntu20.04-docker-8c-8g-8828 does not seem to be running inside a container [2023-03-08T16:46:41.442Z] $ 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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T16:46:41.804Z] $ docker top 742cd8a556357cdde7b3c4e696074fc972160946c0a72899acbf7a9d4b68eb5a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T16:46:42.158Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] fileExists [Pipeline] sh [2023-03-08T16:46:42.459Z] + make test [2023-03-08T16:46:42.459Z] go test -race -coverprofile=coverage.out ./... [2023-03-08T16:46:49.024Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-08T16:47:03.893Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-08T16:47:03.893Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-08T16:47:03.893Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-08T16:47:03.893Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-08T16:47:03.893Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-08T16:47:03.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.058s coverage: 27.6% of statements [2023-03-08T16:47:03.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.090s coverage: 78.9% of statements [2023-03-08T16:47:03.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.112s coverage: 86.0% of statements [2023-03-08T16:47:03.893Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-08T16:47:03.893Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-08T16:47:04.460Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 75.4% of statements [2023-03-08T16:47:04.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-08T16:47:07.746Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.076s coverage: 15.3% of statements [2023-03-08T16:47:07.746Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-08T16:47:07.746Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.111s coverage: 65.2% of statements [2023-03-08T16:47:07.746Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-08T16:47:07.746Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-08T16:47:07.746Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.869s coverage: 89.2% of statements [2023-03-08T16:47:07.746Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-03-08T16:47:07.746Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-08T16:47:25.823Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-08T16:47:25.823Z] GO111MODULE=on go vet ./... [2023-03-08T16:47:26.080Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T16:47:26.080Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T16:47:26.339Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-08T16:47:26.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T16:47:26.365Z] $ docker stop --time=1 742cd8a556357cdde7b3c4e696074fc972160946c0a72899acbf7a9d4b68eb5a [2023-03-08T16:47:28.459Z] $ docker rm -f --volumes 742cd8a556357cdde7b3c4e696074fc972160946c0a72899acbf7a9d4b68eb5a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T16:47:28.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T16:47:29.079Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T16:47:29.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T16:47:29.812Z] + ls -al . [2023-03-08T16:47:29.812Z] total 280 [2023-03-08T16:47:29.812Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 16:46 . [2023-03-08T16:47:29.812Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 16:45 .. [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 16:45 .dockerignore [2023-03-08T16:47:29.812Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 16:47 .git [2023-03-08T16:47:29.812Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 16:45 .github [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 16:45 .gitignore [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 16:45 .golangci.yml [2023-03-08T16:47:29.812Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 16:45 .semver [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 16:45 CHANGELOG.md [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 16:45 GOVERNANCE.md [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 16:45 Jenkinsfile [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 16:45 LICENSE [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 8 16:45 Makefile [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 16:45 OWNERS.md [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 8 16:45 README.md [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 16:45 VERSION [2023-03-08T16:47:29.812Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 16:45 bin [2023-03-08T16:47:29.812Z] -rw-r--r-- 1 jenkins jenkins 111317 Mar 8 16:47 coverage.out [2023-03-08T16:47:29.812Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 16:45 example [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 8 16:45 go.mod [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 8 16:45 go.sum [2023-03-08T16:47:29.812Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 16:45 internal [2023-03-08T16:47:29.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 16:45 openapi [2023-03-08T16:47:29.812Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 16:45 pkg [2023-03-08T16:47:29.812Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 16:45 snap [2023-03-08T16:47:29.812Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 16:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:47:30.123Z] + 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=726b6b5438f09a016ca491210bcd8a379a7d5cec --label arch=amd64 --label version=0.0.0 . [2023-03-08T16:47:30.123Z] Sending build context to Docker daemon 10.87MB [2023-03-08T16:47:30.123Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T16:47:30.123Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-08T16:47:30.123Z] ---> 6e991983f472 [2023-03-08T16:47:30.123Z] Step 3/23 : ARG MAKE=make build [2023-03-08T16:47:30.123Z] ---> Running in 4a2c8d6d838f [2023-03-08T16:47:30.381Z] Removing intermediate container 4a2c8d6d838f [2023-03-08T16:47:30.381Z] ---> 2ad7701cbe47 [2023-03-08T16:47:30.381Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-08T16:47:30.381Z] ---> Running in 187decaa0ba8 [2023-03-08T16:47:30.381Z] Removing intermediate container 187decaa0ba8 [2023-03-08T16:47:30.381Z] ---> a483d631be22 [2023-03-08T16:47:30.381Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T16:47:30.381Z] ---> Running in 9e820ab042af [2023-03-08T16:47:30.640Z] Removing intermediate container 9e820ab042af [2023-03-08T16:47:30.640Z] ---> 942c9a0511d5 [2023-03-08T16:47:30.640Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-08T16:47:30.640Z] ---> Running in 30e8bbaca552 [2023-03-08T16:47:30.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T16:47:31.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T16:47:31.415Z] OK: 211 MiB in 51 packages [2023-03-08T16:47:31.673Z] Removing intermediate container 30e8bbaca552 [2023-03-08T16:47:31.673Z] ---> 6248a2a331a5 [2023-03-08T16:47:31.673Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-08T16:47:31.930Z] ---> 1b2cda5b3fce [2023-03-08T16:47:31.930Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T16:47:31.930Z] ---> Running in a54db795b93d [2023-03-08T16:47:32.865Z] Removing intermediate container a54db795b93d [2023-03-08T16:47:32.865Z] ---> f687bb2dd8eb [2023-03-08T16:47:32.865Z] Step 9/23 : COPY . . [2023-03-08T16:47:33.433Z] ---> 5be13db225d8 [2023-03-08T16:47:33.433Z] Step 10/23 : RUN ${MAKE} [2023-03-08T16:47:33.433Z] ---> Running in 063c3ca80e47 [2023-03-08T16:47:33.691Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-08T16:47:55.617Z] Removing intermediate container 063c3ca80e47 [2023-03-08T16:47:55.618Z] ---> 9b3f0f27774a [2023-03-08T16:47:55.618Z] Step 11/23 : FROM alpine:3.16 [2023-03-08T16:47:55.618Z] 3.16: Pulling from library/alpine [2023-03-08T16:47:55.618Z] ef5531b6e74e: Pulling fs layer [2023-03-08T16:47:55.618Z] ef5531b6e74e: Verifying Checksum [2023-03-08T16:47:55.618Z] ef5531b6e74e: Download complete [2023-03-08T16:47:55.618Z] ef5531b6e74e: Pull complete [2023-03-08T16:47:55.618Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T16:47:55.618Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T16:47:55.618Z] ---> dfd21b5a31f5 [2023-03-08T16:47:55.618Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T16:47:55.618Z] ---> Running in 844fc19cab81 [2023-03-08T16:47:55.618Z] Removing intermediate container 844fc19cab81 [2023-03-08T16:47:55.618Z] ---> 3d913d8c0f95 [2023-03-08T16:47:55.618Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-08T16:47:55.618Z] ---> Running in 9a7309d8864d [2023-03-08T16:47:55.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T16:47:55.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T16:47:55.618Z] OK: 6 MiB in 14 packages [2023-03-08T16:47:55.618Z] Removing intermediate container 9a7309d8864d [2023-03-08T16:47:55.618Z] ---> 3eeb3ed5cf2d [2023-03-08T16:47:55.618Z] Step 14/23 : WORKDIR / [2023-03-08T16:47:55.618Z] ---> Running in 1e8ab9b3b66b [2023-03-08T16:47:55.618Z] Removing intermediate container 1e8ab9b3b66b [2023-03-08T16:47:55.618Z] ---> 833226c498a1 [2023-03-08T16:47:55.618Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-08T16:47:55.618Z] ---> 7238b6839d69 [2023-03-08T16:47:55.618Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-08T16:47:55.618Z] ---> 04f9b2c7eebf [2023-03-08T16:47:55.618Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-08T16:47:55.618Z] ---> 6d64de0d5add [2023-03-08T16:47:55.618Z] Step 18/23 : EXPOSE 59999 [2023-03-08T16:47:55.618Z] ---> Running in 5c806709a7e5 [2023-03-08T16:47:55.618Z] Removing intermediate container 5c806709a7e5 [2023-03-08T16:47:55.618Z] ---> 26ca25ac5477 [2023-03-08T16:47:55.618Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-08T16:47:55.618Z] ---> Running in e16a75c0b39f [2023-03-08T16:47:55.618Z] Removing intermediate container e16a75c0b39f [2023-03-08T16:47:55.618Z] ---> 84dac86d7588 [2023-03-08T16:47:55.618Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-08T16:47:55.618Z] ---> Running in 10daf0db0da3 [2023-03-08T16:47:55.618Z] Removing intermediate container 10daf0db0da3 [2023-03-08T16:47:55.618Z] ---> f2491c41aa0d [2023-03-08T16:47:55.618Z] Step 21/23 : LABEL arch=amd64 [2023-03-08T16:47:55.618Z] ---> Running in dfd3b699d207 [2023-03-08T16:47:55.618Z] Removing intermediate container dfd3b699d207 [2023-03-08T16:47:55.618Z] ---> 9ea43732eb6c [2023-03-08T16:47:55.618Z] Step 22/23 : LABEL git_sha=726b6b5438f09a016ca491210bcd8a379a7d5cec [2023-03-08T16:47:55.618Z] ---> Running in 1d3bb643ad6f [2023-03-08T16:47:55.618Z] Removing intermediate container 1d3bb643ad6f [2023-03-08T16:47:55.618Z] ---> b6f104005628 [2023-03-08T16:47:55.618Z] Step 23/23 : LABEL version=0.0.0 [2023-03-08T16:47:55.618Z] ---> Running in 7fd8d2e1b96e [2023-03-08T16:47:55.618Z] Removing intermediate container 7fd8d2e1b96e [2023-03-08T16:47:55.618Z] ---> 86af913c18a6 [2023-03-08T16:47:55.618Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T16:47:55.618Z] Successfully built 86af913c18a6 [2023-03-08T16:47:55.618Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:47:56.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T16:47:56.022Z] [2023-03-08T16:47:56.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:47:56.316Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T16:47:56.316Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T16:47:56.316Z] 5eb5b503b376: Pulling fs layer [2023-03-08T16:47:56.316Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T16:47:56.316Z] ec43610c2a17: Pulling fs layer [2023-03-08T16:47:56.316Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T16:47:56.316Z] 33b1e0a273af: Pulling fs layer [2023-03-08T16:47:56.316Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T16:47:56.316Z] 2f39f015ded8: Pulling fs layer [2023-03-08T16:47:56.316Z] 3a2ae6a8a46f: Waiting [2023-03-08T16:47:56.316Z] 33b1e0a273af: Waiting [2023-03-08T16:47:56.316Z] 5d3b04190fa2: Waiting [2023-03-08T16:47:56.316Z] 2f39f015ded8: Waiting [2023-03-08T16:47:56.316Z] 5c69ac0246d0: Verifying Checksum [2023-03-08T16:47:56.316Z] 5c69ac0246d0: Download complete [2023-03-08T16:47:56.316Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-08T16:47:56.316Z] 3a2ae6a8a46f: Download complete [2023-03-08T16:47:56.580Z] 33b1e0a273af: Verifying Checksum [2023-03-08T16:47:56.580Z] 33b1e0a273af: Download complete [2023-03-08T16:47:56.580Z] 5d3b04190fa2: Download complete [2023-03-08T16:47:56.580Z] ec43610c2a17: Download complete [2023-03-08T16:47:56.580Z] 5eb5b503b376: Verifying Checksum [2023-03-08T16:47:56.580Z] 5eb5b503b376: Download complete [2023-03-08T16:47:57.146Z] 2f39f015ded8: Verifying Checksum [2023-03-08T16:47:57.146Z] 2f39f015ded8: Download complete [2023-03-08T16:47:57.712Z] 5eb5b503b376: Pull complete [2023-03-08T16:47:57.972Z] 5c69ac0246d0: Pull complete [2023-03-08T16:47:58.231Z] ec43610c2a17: Pull complete [2023-03-08T16:47:58.490Z] 3a2ae6a8a46f: Pull complete [2023-03-08T16:47:58.490Z] 33b1e0a273af: Pull complete [2023-03-08T16:47:58.749Z] 5d3b04190fa2: Pull complete [2023-03-08T16:48:02.933Z] 2f39f015ded8: Pull complete [2023-03-08T16:48:02.933Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T16:48:02.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T16:48:02.933Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:48:03.020Z] prd-ubuntu20.04-docker-8c-8g-8828 does not seem to be running inside a container [2023-03-08T16:48:03.045Z] $ 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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T16:48:04.667Z] $ docker top fbd48516d0e3cce4a1674c882a6f2cefe9dc9d30ad99cd6c0e20c557adcfa41c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:48:05.018Z] ---> job-cost.sh [2023-03-08T16:48:05.018Z] lf-activate-venv: SKIPPING [2023-03-08T16:48:05.018Z] INFO: No Stack... [2023-03-08T16:48:05.277Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T16:48:05.844Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T16:48:06.137Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/cost.csv [2023-03-08T16:48:06.137Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T16:48:06.152Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-6-stack-cost] [2023-03-08T16:48:06.161Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-6-stack-cost] did not exist. Created. [2023-03-08T16:48:06.161Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T16:48:06.460Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T16:48:06.493Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T16:48:06.500Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T16:48:06.512Z] $ docker stop --time=1 fbd48516d0e3cce4a1674c882a6f2cefe9dc9d30ad99cd6c0e20c557adcfa41c [2023-03-08T16:48:07.676Z] $ docker rm -f --volumes fbd48516d0e3cce4a1674c882a6f2cefe9dc9d30ad99cd6c0e20c557adcfa41c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T16:49:28.203Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8829 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] { [Pipeline] ws [2023-03-08T16:49:28.214Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2023-03-08T16:49:28.251Z] The recommended git tool is: git [2023-03-08T16:49:34.135Z] using credential edgex-jenkins-ssh [2023-03-08T16:49:34.149Z] Cloning the remote Git repository [2023-03-08T16:49:34.203Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T16:49:34.291Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2023-03-08T16:49:34.469Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T16:49:34.470Z] > git --version # timeout=10 [2023-03-08T16:49:34.494Z] > git --version # 'git version 2.25.1' [2023-03-08T16:49:34.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T16:49:34.574Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T16:49:36.314Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-08T16:49:36.338Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T16:49:37.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-08T16:49:38.015Z] Merging remotes/origin/main commit a6f9b4558a5053ff5451a91be1399b57291d8939 into PR head commit 726b6b5438f09a016ca491210bcd8a379a7d5cec [2023-03-08T16:49:38.287Z] Merge succeeded, producing 726b6b5438f09a016ca491210bcd8a379a7d5cec [2023-03-08T16:49:38.288Z] Checking out Revision 726b6b5438f09a016ca491210bcd8a379a7d5cec (PR-1345) [2023-03-08T16:49:37.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T16:49:37.318Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T16:49:37.336Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T16:49:38.038Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T16:49:38.057Z] > git checkout -f 726b6b5438f09a016ca491210bcd8a379a7d5cec # timeout=10 [2023-03-08T16:49:38.175Z] > git remote # timeout=10 [2023-03-08T16:49:38.195Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T16:49:38.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T16:49:38.235Z] > git merge a6f9b4558a5053ff5451a91be1399b57291d8939 # timeout=10 [2023-03-08T16:49:38.263Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T16:49:38.296Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T16:49:38.313Z] > git checkout -f 726b6b5438f09a016ca491210bcd8a379a7d5cec # timeout=10 [2023-03-08T16:49:41.863Z] Commit message: "refactor: update for the new ProtocolDriver change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T16:49:43.030Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T16:49:43.030Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T16:49:43.030Z] Dload Upload Total Spent Left Speed [2023-03-08T16:49:43.030Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-03-08T16:49:43.777Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T16:49:44.119Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T16:49:44.119Z] + sudo tee /etc/docker/daemon.new [2023-03-08T16:49:44.119Z] { [2023-03-08T16:49:44.119Z] "registry-mirrors": [ [2023-03-08T16:49:44.119Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T16:49:44.119Z] ], [2023-03-08T16:49:44.119Z] "bip": "10.250.0.254/24", [2023-03-08T16:49:44.119Z] "hosts": [ [2023-03-08T16:49:44.119Z] "tcp://0.0.0.0:5555", [2023-03-08T16:49:44.119Z] "unix:///var/run/docker.sock" [2023-03-08T16:49:44.119Z] ], [2023-03-08T16:49:44.119Z] "mtu": 1458, [2023-03-08T16:49:44.119Z] "selinux-enabled": true, [2023-03-08T16:49:44.119Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T16:49:44.119Z] } [Pipeline] sh [2023-03-08T16:49:44.457Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T16:49:44.800Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T16:50:03.098Z] provisioning config files... [2023-03-08T16:50:03.132Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config16722161722770322557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:50:03.487Z] ---> docker-login.sh [2023-03-08T16:50:03.487Z] nexus3.edgexfoundry.org:10001 [2023-03-08T16:50:04.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:50:04.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:50:04.079Z] Configure a credential helper to remove this warning. See [2023-03-08T16:50:04.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:50:04.079Z] [2023-03-08T16:50:04.079Z] Login Succeeded [2023-03-08T16:50:04.079Z] nexus3.edgexfoundry.org:10002 [2023-03-08T16:50:04.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:50:04.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:50:04.619Z] Configure a credential helper to remove this warning. See [2023-03-08T16:50:04.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:50:04.619Z] [2023-03-08T16:50:04.619Z] Login Succeeded [2023-03-08T16:50:04.619Z] nexus3.edgexfoundry.org:10003 [2023-03-08T16:50:04.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:50:04.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:50:04.889Z] Configure a credential helper to remove this warning. See [2023-03-08T16:50:04.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:50:04.889Z] [2023-03-08T16:50:04.889Z] Login Succeeded [2023-03-08T16:50:04.889Z] nexus3.edgexfoundry.org:10004 [2023-03-08T16:50:05.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:50:05.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:50:05.161Z] Configure a credential helper to remove this warning. See [2023-03-08T16:50:05.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:50:05.161Z] [2023-03-08T16:50:05.161Z] Login Succeeded [2023-03-08T16:50:05.438Z] docker.io [2023-03-08T16:50:05.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T16:50:05.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T16:50:05.978Z] Configure a credential helper to remove this warning. See [2023-03-08T16:50:05.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T16:50:05.978Z] [2023-03-08T16:50:05.978Z] Login Succeeded [2023-03-08T16:50:05.978Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T16:50:05.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T16:50:06.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T16:50:06.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T16:50:06.314Z] ========================================================= [2023-03-08T16:50:06.314Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T16:50:06.314Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:50:06.670Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T16:50:08.644Z] Sending build context to Docker daemon 5.827MB [2023-03-08T16:50:08.644Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T16:50:08.644Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T16:50:08.917Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T16:50:08.917Z] 9b18e9b68314: Pulling fs layer [2023-03-08T16:50:08.917Z] 35d82f9e3411: Pulling fs layer [2023-03-08T16:50:08.917Z] e16973657156: Pulling fs layer [2023-03-08T16:50:08.917Z] fc693d55d65f: Pulling fs layer [2023-03-08T16:50:08.917Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T16:50:08.917Z] dda99020689f: Pulling fs layer [2023-03-08T16:50:08.917Z] db1c61fa0a46: Pulling fs layer [2023-03-08T16:50:08.917Z] 891c053d2c06: Pulling fs layer [2023-03-08T16:50:08.917Z] fc693d55d65f: Waiting [2023-03-08T16:50:08.917Z] 7e9fc2657dce: Waiting [2023-03-08T16:50:08.917Z] dda99020689f: Waiting [2023-03-08T16:50:08.917Z] db1c61fa0a46: Waiting [2023-03-08T16:50:08.917Z] 891c053d2c06: Waiting [2023-03-08T16:50:08.917Z] e16973657156: Verifying Checksum [2023-03-08T16:50:08.917Z] e16973657156: Download complete [2023-03-08T16:50:08.917Z] 35d82f9e3411: Verifying Checksum [2023-03-08T16:50:08.917Z] 35d82f9e3411: Download complete [2023-03-08T16:50:08.917Z] 7e9fc2657dce: Verifying Checksum [2023-03-08T16:50:08.917Z] 7e9fc2657dce: Download complete [2023-03-08T16:50:08.917Z] dda99020689f: Verifying Checksum [2023-03-08T16:50:08.917Z] dda99020689f: Download complete [2023-03-08T16:50:08.917Z] 9b18e9b68314: Verifying Checksum [2023-03-08T16:50:08.917Z] 9b18e9b68314: Download complete [2023-03-08T16:50:09.890Z] 9b18e9b68314: Pull complete [2023-03-08T16:50:10.161Z] 891c053d2c06: Verifying Checksum [2023-03-08T16:50:10.161Z] 891c053d2c06: Download complete [2023-03-08T16:50:10.434Z] 35d82f9e3411: Pull complete [2023-03-08T16:50:10.704Z] e16973657156: Pull complete [2023-03-08T16:50:11.300Z] db1c61fa0a46: Verifying Checksum [2023-03-08T16:50:11.300Z] db1c61fa0a46: Download complete [2023-03-08T16:50:11.885Z] fc693d55d65f: Verifying Checksum [2023-03-08T16:50:11.885Z] fc693d55d65f: Download complete [2023-03-08T16:50:24.236Z] fc693d55d65f: Pull complete [2023-03-08T16:50:24.236Z] 7e9fc2657dce: Pull complete [2023-03-08T16:50:24.236Z] dda99020689f: Pull complete [2023-03-08T16:50:29.642Z] db1c61fa0a46: Pull complete [2023-03-08T16:50:31.595Z] 891c053d2c06: Pull complete [2023-03-08T16:50:31.595Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T16:50:31.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T16:50:31.595Z] ---> f96f9c87975a [2023-03-08T16:50:31.595Z] Step 3/10 : ARG MAKE=make build [2023-03-08T16:50:32.182Z] ---> Running in 95e1a3e21f2c [2023-03-08T16:50:32.793Z] Removing intermediate container 95e1a3e21f2c [2023-03-08T16:50:32.793Z] ---> 34b2331e379e [2023-03-08T16:50:32.793Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T16:50:32.793Z] ---> Running in 6853a8769927 [2023-03-08T16:50:33.062Z] Removing intermediate container 6853a8769927 [2023-03-08T16:50:33.062Z] ---> 1bd2c63b3db4 [2023-03-08T16:50:33.062Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T16:50:33.062Z] ---> Running in 865c18d8ce1e [2023-03-08T16:50:33.331Z] Removing intermediate container 865c18d8ce1e [2023-03-08T16:50:33.331Z] ---> 192bbf6aff4e [2023-03-08T16:50:33.331Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-08T16:50:33.601Z] ---> Running in 7fa21eea9d7c [2023-03-08T16:50:35.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T16:50:35.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T16:50:35.985Z] OK: 221 MiB in 51 packages [2023-03-08T16:50:36.950Z] Removing intermediate container 7fa21eea9d7c [2023-03-08T16:50:36.950Z] ---> 5dfc4f268710 [2023-03-08T16:50:36.950Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T16:50:37.539Z] ---> c8549ff2e02a [2023-03-08T16:50:37.539Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T16:50:37.539Z] ---> Running in a1de8539039b [2023-03-08T16:51:45.442Z] Removing intermediate container a1de8539039b [2023-03-08T16:51:45.442Z] ---> 887b6045490a [2023-03-08T16:51:45.442Z] Step 9/10 : COPY . . [2023-03-08T16:51:45.442Z] ---> e3414f465a57 [2023-03-08T16:51:45.442Z] Step 10/10 : RUN ${MAKE} [2023-03-08T16:51:45.442Z] ---> Running in 5c6304b966b2 [2023-03-08T16:51:46.028Z] noop [2023-03-08T16:51:46.614Z] Removing intermediate container 5c6304b966b2 [2023-03-08T16:51:46.614Z] ---> 44c669e29e09 [2023-03-08T16:51:46.614Z] Successfully built 44c669e29e09 [2023-03-08T16:51:46.614Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:51:46.970Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T16:51:46.970Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:51:47.160Z] prd-ubuntu20.04-docker-arm64-4c-16g-8829 does not seem to be running inside a container [2023-03-08T16:51:47.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T16:51:48.389Z] $ docker top d1f52e173300512aca1d12853b4e867378b25916af00ae19f87c7a760decf42b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T16:51:49.214Z] + go version [2023-03-08T16:51:49.214Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T16:51:49.236Z] $ docker stop --time=1 d1f52e173300512aca1d12853b4e867378b25916af00ae19f87c7a760decf42b [2023-03-08T16:51:52.288Z] $ docker rm -f --volumes d1f52e173300512aca1d12853b4e867378b25916af00ae19f87c7a760decf42b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:51:52.837Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T16:51:52.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:51:53.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-8829 does not seem to be running inside a container [2023-03-08T16:51:53.099Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T16:51:54.329Z] $ docker top ca9e36533070b65d70b2dd12ab165dcb2fe13236fb4330c5df07180c0e335b48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T16:51:54.840Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh [2023-03-08T16:51:55.171Z] + make test [2023-03-08T16:51:55.437Z] go test -race -coverprofile=coverage.out ./... [2023-03-08T16:52:27.689Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-08T16:54:34.392Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-08T16:54:34.392Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-08T16:54:34.392Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-08T16:54:34.392Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-08T16:54:34.392Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-08T16:54:34.392Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.489s coverage: 27.6% of statements [2023-03-08T16:54:34.392Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.415s coverage: 78.9% of statements [2023-03-08T16:54:42.656Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.460s coverage: 86.0% of statements [2023-03-08T16:54:42.656Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-08T16:54:42.656Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-08T16:54:43.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.424s coverage: 75.4% of statements [2023-03-08T16:54:43.251Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-08T16:54:44.217Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.481s coverage: 15.3% of statements [2023-03-08T16:54:44.217Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-08T16:54:46.160Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.587s coverage: 65.2% of statements [2023-03-08T16:54:46.160Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-08T16:54:46.160Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-08T16:54:48.774Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.365s coverage: 89.2% of statements [2023-03-08T16:54:48.774Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.290s coverage: 5.5% of statements [2023-03-08T16:54:48.774Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-08T16:54:49.039Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T16:54:49.039Z] GO111MODULE=on go vet ./... [2023-03-08T16:56:25.718Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T16:56:25.718Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T16:56:25.718Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-08T16:56:25.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T16:56:25.751Z] $ docker stop --time=1 ca9e36533070b65d70b2dd12ab165dcb2fe13236fb4330c5df07180c0e335b48 [2023-03-08T16:56:27.586Z] $ docker rm -f --volumes ca9e36533070b65d70b2dd12ab165dcb2fe13236fb4330c5df07180c0e335b48 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T16:56:28.915Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T16:56:28.941Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T16:56:29.477Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T16:56:29.842Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T16:56:30.158Z] + ls -al . [2023-03-08T16:56:30.158Z] total 276 [2023-03-08T16:56:30.158Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 16:51 . [2023-03-08T16:56:30.158Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 16:49 .. [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 16:49 .dockerignore [2023-03-08T16:56:30.158Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 16:49 .git [2023-03-08T16:56:30.158Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 16:49 .github [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 8 16:49 .gitignore [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 16:49 .golangci.yml [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 8 16:49 CHANGELOG.md [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 16:49 GOVERNANCE.md [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 16:49 Jenkinsfile [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 16:49 LICENSE [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 8 16:49 Makefile [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 16:49 OWNERS.md [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 8 16:49 README.md [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 16:45 VERSION [2023-03-08T16:56:30.158Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 16:49 bin [2023-03-08T16:56:30.158Z] -rw-r--r-- 1 jenkins jenkins 111316 Mar 8 16:54 coverage.out [2023-03-08T16:56:30.158Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 16:49 example [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 8 16:49 go.mod [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 8 16:49 go.sum [2023-03-08T16:56:30.158Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 16:49 internal [2023-03-08T16:56:30.158Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 16:49 openapi [2023-03-08T16:56:30.158Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 16:49 pkg [2023-03-08T16:56:30.158Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 16:49 snap [2023-03-08T16:56:30.158Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 16:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:56:30.503Z] + 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=726b6b5438f09a016ca491210bcd8a379a7d5cec --label arch=arm64 --label version=0.0.0 . [2023-03-08T16:56:30.772Z] Sending build context to Docker daemon 5.939MB [2023-03-08T16:56:31.039Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T16:56:31.039Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-08T16:56:31.039Z] ---> 44c669e29e09 [2023-03-08T16:56:31.039Z] Step 3/23 : ARG MAKE=make build [2023-03-08T16:56:31.039Z] ---> Running in 92297709b1a9 [2023-03-08T16:56:31.307Z] Removing intermediate container 92297709b1a9 [2023-03-08T16:56:31.307Z] ---> b8d584f88cb2 [2023-03-08T16:56:31.307Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-08T16:56:31.307Z] ---> Running in 1dafe5d18bd9 [2023-03-08T16:56:31.891Z] Removing intermediate container 1dafe5d18bd9 [2023-03-08T16:56:31.891Z] ---> a74ca00b3781 [2023-03-08T16:56:31.891Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T16:56:31.891Z] ---> Running in 8106f852a0f7 [2023-03-08T16:56:32.158Z] Removing intermediate container 8106f852a0f7 [2023-03-08T16:56:32.158Z] ---> 379cc4fb5591 [2023-03-08T16:56:32.158Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-08T16:56:32.158Z] ---> Running in d7a40c7f262d [2023-03-08T16:56:33.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T16:56:33.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T16:56:34.350Z] OK: 221 MiB in 51 packages [2023-03-08T16:56:35.396Z] Removing intermediate container d7a40c7f262d [2023-03-08T16:56:35.396Z] ---> d03c1ff9ef80 [2023-03-08T16:56:35.396Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-08T16:56:35.994Z] ---> 4d536c43264f [2023-03-08T16:56:35.994Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T16:56:35.994Z] ---> Running in 2e59d2d5e254 [2023-03-08T16:56:38.635Z] Removing intermediate container 2e59d2d5e254 [2023-03-08T16:56:38.635Z] ---> 656c8504ae2d [2023-03-08T16:56:38.635Z] Step 9/23 : COPY . . [2023-03-08T16:56:40.054Z] ---> 58143b7b5941 [2023-03-08T16:56:40.054Z] Step 10/23 : RUN ${MAKE} [2023-03-08T16:56:40.054Z] ---> Running in 48635e7c4824 [2023-03-08T16:56:41.019Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-08T16:58:48.077Z] Removing intermediate container 48635e7c4824 [2023-03-08T16:58:48.077Z] ---> 1b8ff898162b [2023-03-08T16:58:48.077Z] Step 11/23 : FROM alpine:3.16 [2023-03-08T16:58:48.077Z] 3.16: Pulling from library/alpine [2023-03-08T16:58:48.077Z] 3760b48202b3: Pulling fs layer [2023-03-08T16:58:48.077Z] 3760b48202b3: Verifying Checksum [2023-03-08T16:58:48.077Z] 3760b48202b3: Download complete [2023-03-08T16:58:48.077Z] 3760b48202b3: Pull complete [2023-03-08T16:58:48.077Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T16:58:48.077Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T16:58:48.077Z] ---> 4c81e5bf8899 [2023-03-08T16:58:48.077Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-08T16:58:48.077Z] ---> Running in a618c3e2ed7e [2023-03-08T16:58:48.077Z] Removing intermediate container a618c3e2ed7e [2023-03-08T16:58:48.077Z] ---> 0a9025a2b4c4 [2023-03-08T16:58:48.077Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-08T16:58:48.078Z] ---> Running in 6cbc0f0727fe [2023-03-08T16:58:48.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T16:58:48.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T16:58:48.078Z] OK: 5 MiB in 14 packages [2023-03-08T16:58:48.078Z] Removing intermediate container 6cbc0f0727fe [2023-03-08T16:58:48.078Z] ---> b87b82c72f20 [2023-03-08T16:58:48.078Z] Step 14/23 : WORKDIR / [2023-03-08T16:58:48.078Z] ---> Running in 47fbdc6cbb05 [2023-03-08T16:58:48.078Z] Removing intermediate container 47fbdc6cbb05 [2023-03-08T16:58:48.078Z] ---> 65701f560a0d [2023-03-08T16:58:48.078Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-08T16:58:48.078Z] ---> 8bb14d442ed1 [2023-03-08T16:58:48.078Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-08T16:58:48.078Z] ---> 515b6d4bb6ff [2023-03-08T16:58:48.078Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-08T16:58:48.078Z] ---> 1c5dad16ed85 [2023-03-08T16:58:48.078Z] Step 18/23 : EXPOSE 59999 [2023-03-08T16:58:48.078Z] ---> Running in ba352349de4d [2023-03-08T16:58:48.078Z] Removing intermediate container ba352349de4d [2023-03-08T16:58:48.078Z] ---> 50ed398bda6f [2023-03-08T16:58:48.078Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-08T16:58:48.078Z] ---> Running in 3ad7fcd6f2a6 [2023-03-08T16:58:48.078Z] Removing intermediate container 3ad7fcd6f2a6 [2023-03-08T16:58:48.078Z] ---> 0186c33a70ae [2023-03-08T16:58:48.078Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-08T16:58:48.078Z] ---> Running in 0b6a338aba49 [2023-03-08T16:58:48.078Z] Removing intermediate container 0b6a338aba49 [2023-03-08T16:58:48.078Z] ---> 4b06e14b6f01 [2023-03-08T16:58:48.078Z] Step 21/23 : LABEL arch=arm64 [2023-03-08T16:58:48.078Z] ---> Running in e802c45944a3 [2023-03-08T16:58:48.078Z] Removing intermediate container e802c45944a3 [2023-03-08T16:58:48.078Z] ---> 39e0935325b3 [2023-03-08T16:58:48.078Z] Step 22/23 : LABEL git_sha=726b6b5438f09a016ca491210bcd8a379a7d5cec [2023-03-08T16:58:48.078Z] ---> Running in aa74133b4996 [2023-03-08T16:58:48.078Z] Removing intermediate container aa74133b4996 [2023-03-08T16:58:48.078Z] ---> 6f467eeeb9c4 [2023-03-08T16:58:48.078Z] Step 23/23 : LABEL version=0.0.0 [2023-03-08T16:58:48.078Z] ---> Running in cebcd9bcea02 [2023-03-08T16:58:48.078Z] Removing intermediate container cebcd9bcea02 [2023-03-08T16:58:48.078Z] ---> d0c90728ba84 [2023-03-08T16:58:48.078Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T16:58:48.078Z] Successfully built d0c90728ba84 [2023-03-08T16:58:48.078Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:58:48.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T16:58:48.509Z] [2023-03-08T16:58:48.509Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:58:48.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T16:58:48.840Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T16:58:48.840Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T16:58:48.840Z] 04944245beec: Pulling fs layer [2023-03-08T16:58:48.840Z] 699f458cf7ca: Pulling fs layer [2023-03-08T16:58:48.840Z] 765212b225bb: Pulling fs layer [2023-03-08T16:58:48.840Z] f23df028b6ca: Pulling fs layer [2023-03-08T16:58:48.840Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T16:58:48.840Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T16:58:48.840Z] 765212b225bb: Waiting [2023-03-08T16:58:48.840Z] f23df028b6ca: Waiting [2023-03-08T16:58:48.840Z] d65c8cfc05b1: Waiting [2023-03-08T16:58:48.840Z] 2437ff75d9bd: Waiting [2023-03-08T16:58:49.108Z] 04944245beec: Verifying Checksum [2023-03-08T16:58:49.108Z] 04944245beec: Download complete [2023-03-08T16:58:49.108Z] 765212b225bb: Verifying Checksum [2023-03-08T16:58:49.108Z] 765212b225bb: Download complete [2023-03-08T16:58:49.108Z] f23df028b6ca: Verifying Checksum [2023-03-08T16:58:49.108Z] f23df028b6ca: Download complete [2023-03-08T16:58:49.108Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T16:58:49.108Z] d65c8cfc05b1: Download complete [2023-03-08T16:58:49.380Z] 699f458cf7ca: Verifying Checksum [2023-03-08T16:58:49.380Z] 699f458cf7ca: Download complete [2023-03-08T16:58:49.650Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T16:58:49.650Z] 8998bd30e6a1: Download complete [2023-03-08T16:58:52.233Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T16:58:52.233Z] 2437ff75d9bd: Download complete [2023-03-08T16:58:53.653Z] 8998bd30e6a1: Pull complete [2023-03-08T16:58:54.238Z] 04944245beec: Pull complete [2023-03-08T16:58:55.649Z] 699f458cf7ca: Pull complete [2023-03-08T16:58:55.649Z] 765212b225bb: Pull complete [2023-03-08T16:58:56.610Z] f23df028b6ca: Pull complete [2023-03-08T16:58:56.610Z] d65c8cfc05b1: Pull complete [2023-03-08T16:59:11.601Z] 2437ff75d9bd: Pull complete [2023-03-08T16:59:11.601Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T16:59:11.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T16:59:11.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:59:11.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-8829 does not seem to be running inside a container [2023-03-08T16:59:11.872Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-08T16:59:14.603Z] $ docker top 575f6b5eaff886d76559424a790f41d06bd317ff446a9f5524a6eed693032418 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:59:15.454Z] ---> job-cost.sh [2023-03-08T16:59:15.454Z] lf-activate-venv: SKIPPING [2023-03-08T16:59:15.454Z] INFO: No Stack... [2023-03-08T16:59:16.036Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T16:59:16.621Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T16:59:17.266Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2023-03-08T16:59:17.266Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T16:59:17.303Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-6-stack-cost] [2023-03-08T16:59:17.309Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-6-stack-cost] did not exist. Created. [2023-03-08T16:59:17.309Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T16:59:17.652Z] /w/workspace/device-sdk-go/6@tmp/durable-af2ba80f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T16:59:18.577Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T16:59:18.601Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T16:59:18.659Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T16:59:18.668Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T16:59:18.691Z] $ docker stop --time=1 575f6b5eaff886d76559424a790f41d06bd317ff446a9f5524a6eed693032418 [2023-03-08T16:59:20.195Z] $ docker rm -f --volumes 575f6b5eaff886d76559424a790f41d06bd317ff446a9f5524a6eed693032418 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-08T16:59:20.631Z] provisioning config files... [2023-03-08T16:59:20.638Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config15840674610446309010tmp [Pipeline] { [Pipeline] sh [2023-03-08T16:59:20.926Z] + set +x [2023-03-08T16:59:20.926Z] + curl -s https://codecov.io/bash [2023-03-08T16:59:20.926Z] + bash -s -- [2023-03-08T16:59:20.926Z] [2023-03-08T16:59:20.926Z] _____ _ [2023-03-08T16:59:20.926Z] / ____| | | [2023-03-08T16:59:20.926Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T16:59:20.926Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T16:59:20.926Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T16:59:20.926Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T16:59:20.926Z] Bash-1.0.6 [2023-03-08T16:59:20.926Z] [2023-03-08T16:59:20.926Z] [2023-03-08T16:59:20.926Z] ==> git version 2.25.1 found [2023-03-08T16:59:20.926Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-08T16:59:20.926Z] Release-Date: 2020-01-08 [2023-03-08T16:59:20.926Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-08T16:59:20.926Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T16:59:20.926Z] ==> Jenkins CI detected. [2023-03-08T16:59:20.926Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-03-08T16:59:20.926Z] project root: . [2023-03-08T16:59:20.926Z] --> token set from env [2023-03-08T16:59:20.926Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T16:59:20.926Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T16:59:20.926Z] ==> Python coveragepy not found [2023-03-08T16:59:20.926Z] ==> Searching for coverage reports in: [2023-03-08T16:59:20.926Z] + . [2023-03-08T16:59:20.926Z] -> Found 1 reports [2023-03-08T16:59:20.926Z] ==> Detecting git/mercurial file structure [2023-03-08T16:59:20.926Z] ==> Reading reports [2023-03-08T16:59:20.926Z] + ./coverage.out bytes=111316 [2023-03-08T16:59:20.926Z] ==> Appending adjustments [2023-03-08T16:59:20.926Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T16:59:21.185Z] + Found adjustments [2023-03-08T16:59:21.185Z] ==> Gzipping contents [2023-03-08T16:59:21.185Z] 16K /tmp/codecov.cgkWcL.gz [2023-03-08T16:59:21.185Z] ==> Uploading reports [2023-03-08T16:59:21.185Z] url: https://codecov.io [2023-03-08T16:59:21.185Z] query: branch=PR-1345&commit=726b6b5438f09a016ca491210bcd8a379a7d5cec&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= [2023-03-08T16:59:21.185Z] -> Pinging Codecov [2023-03-08T16:59:21.185Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1345&commit=726b6b5438f09a016ca491210bcd8a379a7d5cec&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= [2023-03-08T16:59:21.443Z] -> Uploading to [2023-03-08T16:59:21.443Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7E55EF52A471D76F132DFD9A03CDDE97/726b6b5438f09a016ca491210bcd8a379a7d5cec/0b3a186a-1270-46d6-8a78-2dd410d7362b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T165921Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e60cfdd5ded13a2091786ac829a1fff766d39189b0ada268e7720e3d9274bbf [2023-03-08T16:59:21.443Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T16:59:21.443Z] Dload Upload Total Spent Left Speed [2023-03-08T16:59:21.701Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15474 0 0 100 15474 0 52101 --:--:-- --:--:-- --:--:-- 52101 [2023-03-08T16:59:21.702Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/726b6b5438f09a016ca491210bcd8a379a7d5cec [Pipeline] } [2023-03-08T16:59:21.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-08T16:59:22.415Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives ] [2023-03-08T16:59:22.415Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-08T16:59:22.415Z] total 16 [2023-03-08T16:59:22.415Z] drwxr-xr-x 3 root root 4096 Mar 8 16:48 . [2023-03-08T16:59:22.415Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 16:48 .. [2023-03-08T16:59:22.415Z] drwxr-xr-x 2 root root 4096 Mar 8 16:48 cost [2023-03-08T16:59:22.415Z] -rw-r--r-- 1 root root 86 Mar 8 16:48 cost.csv [2023-03-08T16:59:22.415Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-08T16:59:22.415Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-08T16:59:22.415Z] total 16 [2023-03-08T16:59:22.415Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 16:48 . [2023-03-08T16:59:22.415Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 16:48 .. [2023-03-08T16:59:22.415Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 16:48 cost [2023-03-08T16:59:22.415Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 16:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:59:22.705Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:59:23.562Z] ---> package-listing.sh [2023-03-08T16:59:23.562Z] ++ facter osfamily [2023-03-08T16:59:23.562Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T16:59:23.821Z] + OS_FAMILY=debian [2023-03-08T16:59:23.821Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-03-08T16:59:23.821Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T16:59:23.821Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T16:59:23.821Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T16:59:23.821Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T16:59:23.821Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' [2023-03-08T16:59:23.821Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T16:59:23.821Z] + case "${OS_FAMILY}" in [2023-03-08T16:59:23.821Z] + grep '^ii' [2023-03-08T16:59:23.821Z] + dpkg -l [2023-03-08T16:59:23.821Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T16:59:23.821Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T16:59:23.821Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T16:59:23.821Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' [2023-03-08T16:59:23.821Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [2023-03-08T16:59:23.821Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [Pipeline] echo [2023-03-08T16:59:23.833Z] 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-1345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T16:59:24.123Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T16:59:24.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T16:59:24.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T16:59:24.746Z] prd-ubuntu20.04-docker-8c-8g-8828 does not seem to be running inside a container [2023-03-08T16:59:24.769Z] $ 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-1345/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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T16:59:24.962Z] $ docker top 293e8ae785bae6587f91e985db029fcb8df168b4117583535b992757cd126d62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T16:59:25.313Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T16:59:25.598Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T16:59:25.891Z] + ls /var/log/sa-host [2023-03-08T16:59:25.891Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T16:59:25.964Z] provisioning config files... [2023-03-08T16:59:25.971Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config16647788928121849986tmp [Pipeline] { [Pipeline] echo [2023-03-08T16:59:25.979Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:59:26.258Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T16:59:26.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:59:26.595Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T16:59:26.604Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:59:26.885Z] ---> sudo-logs.sh [2023-03-08T16:59:26.885Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T16:59:26.906Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:59:27.186Z] ---> job-cost.sh [2023-03-08T16:59:27.186Z] lf-activate-venv: SKIPPING [2023-03-08T16:59:27.186Z] DEBUG: total: 0.2199999988079071 [2023-03-08T16:59:27.186Z] INFO: Retrieving Stack Cost... [2023-03-08T16:59:27.445Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T16:59:28.010Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T16:59:28.022Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T16:59:28.303Z] ---> logs-deploy.sh [2023-03-08T16:59:28.303Z] lf-activate-venv: SKIPPING [2023-03-08T16:59:28.303Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1345/6 [2023-03-08T16:59:28.303Z] INFO: archiving workspace using pattern(s): [2023-03-08T16:59:29.236Z] Archives upload complete. [2023-03-08T16:59:29.494Z] INFO: archiving logs to Nexus