Branch indexing 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 45e6addfd964a0ca7ed47e9673a51a0c53e11884 rather than 3593550cb183f04032b99acb80b17e47af38cf69 Obtained Jenkinsfile from 45e6addfd964a0ca7ed47e9673a51a0c53e11884 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-ssh7093477867254336349.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13802081939570678575.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-1130/workspace@libs/edgex-global-pipelines/.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-1130/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6580474495202936302.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh17764591794178393381.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1130/workspace@libs/lf-pipelines/.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-1130/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3289250199808467418.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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/v2]] ========================================================= [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.17 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/v2 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20729 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [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-1130 # 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 Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit 3593550cb183f04032b99acb80b17e47af38cf69 > 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/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 061a315398b7745a571a29e8bcb27353e985ff0c Checking out Revision 061a315398b7745a571a29e8bcb27353e985ff0c (PR-1130) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 061a315398b7745a571a29e8bcb27353e985ff0c # timeout=10 Commit message: "Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD" > git rev-list --no-walk 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-12T22:41:21.770Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-12T22:41:21.844Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-12T22:41:21.862Z] ========================================================= [2022-04-12T22:41:21.862Z] EdgeX Global Pipelines Version Info [2022-04-12T22:41:21.862Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:41:22.643Z] ------------------- [2022-04-12T22:41:22.643Z] stable info: [2022-04-12T22:41:22.643Z] ------------------- [2022-04-12T22:41:22.643Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-12T22:41:22.643Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T22:41:22.643Z] Message: update stable to v1.0.221 [2022-04-12T22:41:23.215Z] ------------------- [2022-04-12T22:41:23.215Z] experimental info: [2022-04-12T22:41:23.215Z] ------------------- [2022-04-12T22:41:23.216Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-12T22:41:23.216Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T22:41:23.216Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-12T22:41:23.350Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-12T22:41:23.366Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-12T22:41:23.380Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-12T22:41:23.392Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-12T22:41:23.404Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-12T22:41:23.419Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-12T22:41:23.432Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-12T22:41:23.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-12T22:41:23.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-12T22:41:23.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-12T22:41:23.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-12T22:41:23.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-12T22:41:23.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-12T22:41:23.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-12T22:41:23.559Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-12T22:41:23.574Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T22:41:23.585Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T22:41:23.601Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T22:41:23.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-12T22:41:23.629Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-12T22:41:23.644Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-12T22:41:23.662Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-12T22:41:23.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-12T22:41:23.692Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-12T22:41:23.705Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-12T22:41:23.721Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-12T22:41:23.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1130 [Pipeline] echo [2022-04-12T22:41:23.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1130 [Pipeline] echo [2022-04-12T22:41:23.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1130 [Pipeline] echo [2022-04-12T22:41:23.766Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 061a315398b7745a571a29e8bcb27353e985ff0c [Pipeline] echo [2022-04-12T22:41:23.777Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 061a315 [Pipeline] echo [2022-04-12T22:41:23.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T22:41:23.833Z] provisioning config files... [2022-04-12T22:41:23.850Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config2373342495571291102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:41:24.162Z] ---> docker-login.sh [2022-04-12T22:41:24.162Z] nexus3.edgexfoundry.org:10001 [2022-04-12T22:41:24.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:41:24.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:41:24.692Z] Configure a credential helper to remove this warning. See [2022-04-12T22:41:24.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:41:24.692Z] [2022-04-12T22:41:24.692Z] Login Succeeded [2022-04-12T22:41:24.692Z] nexus3.edgexfoundry.org:10002 [2022-04-12T22:41:24.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:41:24.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:41:24.692Z] Configure a credential helper to remove this warning. See [2022-04-12T22:41:24.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:41:24.692Z] [2022-04-12T22:41:24.692Z] Login Succeeded [2022-04-12T22:41:24.692Z] nexus3.edgexfoundry.org:10003 [2022-04-12T22:41:24.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:41:24.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:41:24.954Z] Configure a credential helper to remove this warning. See [2022-04-12T22:41:24.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:41:24.954Z] [2022-04-12T22:41:24.954Z] Login Succeeded [2022-04-12T22:41:24.954Z] nexus3.edgexfoundry.org:10004 [2022-04-12T22:41:24.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:41:24.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:41:24.954Z] Configure a credential helper to remove this warning. See [2022-04-12T22:41:24.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:41:24.954Z] [2022-04-12T22:41:24.954Z] Login Succeeded [2022-04-12T22:41:24.954Z] docker.io [2022-04-12T22:41:25.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:41:25.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:41:25.478Z] Configure a credential helper to remove this warning. See [2022-04-12T22:41:25.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:41:25.478Z] [2022-04-12T22:41:25.478Z] Login Succeeded [2022-04-12T22:41:25.478Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T22:41:25.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-12T22:41:25.853Z] + git rev-list -1 --merges 061a315398b7745a571a29e8bcb27353e985ff0c~1..061a315398b7745a571a29e8bcb27353e985ff0c [Pipeline] echo [2022-04-12T22:41:25.957Z] -----------> git rev-list -1 --merges 061a315398b7745a571a29e8bcb27353e985ff0c~1..061a315398b7745a571a29e8bcb27353e985ff0c 061a315398b7745a571a29e8bcb27353e985ff0c [2022-04-12T22:41:25.957Z] 061a315398b7745a571a29e8bcb27353e985ff0c [false] [Pipeline] sh [2022-04-12T22:41:26.247Z] + git log --format=format:%s -1 061a315398b7745a571a29e8bcb27353e985ff0c [Pipeline] echo [2022-04-12T22:41:26.263Z] ========================================================= [2022-04-12T22:41:26.263Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-12T22:41:26.263Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T22:41:26.604Z] + git log --format=format:%s -1 061a315398b7745a571a29e8bcb27353e985ff0c [Pipeline] echo [2022-04-12T22:41:26.618Z] [semverPrep] GIT_COMMIT: 061a315398b7745a571a29e8bcb27353e985ff0c, Commit Message: Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD [Pipeline] echo [2022-04-12T22:41:26.631Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-12T22:41:27.065Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T22:41:27.065Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-12T22:41:27.065Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-12T22:41:27.065Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-12T22:41:27.065Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-12T22:41:27.065Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-12T22:41:27.065Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:41:27.508Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T22:41:27.508Z] [2022-04-12T22:41:27.508Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:41:27.816Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T22:41:27.817Z] latest: Pulling from edgex-devops/git-semver [2022-04-12T22:41:27.817Z] a0d0a0d46f8b: Pulling fs layer [2022-04-12T22:41:27.817Z] 3e5f54012d9b: Pulling fs layer [2022-04-12T22:41:27.817Z] 4c7163046ea9: Pulling fs layer [2022-04-12T22:41:27.817Z] 0c2d73faf560: Pulling fs layer [2022-04-12T22:41:27.817Z] 0c2d73faf560: Waiting [2022-04-12T22:41:27.817Z] 3e5f54012d9b: Verifying Checksum [2022-04-12T22:41:27.817Z] 3e5f54012d9b: Download complete [2022-04-12T22:41:27.817Z] a0d0a0d46f8b: Download complete [2022-04-12T22:41:27.817Z] 0c2d73faf560: Verifying Checksum [2022-04-12T22:41:27.817Z] 0c2d73faf560: Download complete [2022-04-12T22:41:27.817Z] 4c7163046ea9: Verifying Checksum [2022-04-12T22:41:27.817Z] 4c7163046ea9: Download complete [2022-04-12T22:41:28.077Z] a0d0a0d46f8b: Pull complete [2022-04-12T22:41:28.077Z] 3e5f54012d9b: Pull complete [2022-04-12T22:41:28.655Z] 4c7163046ea9: Pull complete [2022-04-12T22:41:28.655Z] 0c2d73faf560: Pull complete [2022-04-12T22:41:28.655Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-12T22:41:28.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T22:41:28.655Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-12T22:41:28.730Z] prd-ubuntu20.04-docker-8c-8g-20729 does not seem to be running inside a container [2022-04-12T22:41:28.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T22:41:29.539Z] $ docker top 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T22:41:29.641Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T22:41:29.641Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T22:41:29.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T22:41:29.774Z] $ docker exec 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 ssh-agent [2022-04-12T22:41:29.881Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcGccdn/agent.14 [2022-04-12T22:41:29.881Z] SSH_AGENT_PID=20 [2022-04-12T22:41:29.888Z] Running ssh-add (command line suppressed) [2022-04-12T22:41:29.991Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_9079111848976179983.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_9079111848976179983.key) [2022-04-12T22:41:30.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T22:41:30.291Z] + git tag --points-at HEAD [Pipeline] } [2022-04-12T22:41:30.311Z] $ docker exec --env ******** --env ******** 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 ssh-agent -k [2022-04-12T22:41:30.415Z] unset SSH_AUTH_SOCK; [2022-04-12T22:41:30.415Z] unset SSH_AGENT_PID; [2022-04-12T22:41:30.416Z] echo Agent pid 20 killed; [2022-04-12T22:41:30.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-12T22:41:30.450Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T22:41:30.451Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T22:41:30.580Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T22:41:30.586Z] $ docker exec 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 ssh-agent [2022-04-12T22:41:30.701Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGpijnA/agent.55 [2022-04-12T22:41:30.701Z] SSH_AGENT_PID=61 [2022-04-12T22:41:30.706Z] Running ssh-add (command line suppressed) [2022-04-12T22:41:30.836Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_1734727937326892565.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_1734727937326892565.key) [2022-04-12T22:41:30.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T22:41:31.138Z] + git semver init [2022-04-12T22:41:31.138Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T22:41:31.138Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.git [2022-04-12T22:41:31.138Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T22:41:31.138Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T22:41:31.138Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T22:41:31.138Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T22:41:31.138Z] # $SEMVER_BRANCH = PR-1130 [2022-04-12T22:41:31.138Z] # $SEMVER_TEMP = /tmp/semver-451730916 [2022-04-12T22:41:31.138Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-12T22:41:32.085Z] # '/tmp/semver-451730916' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver' [2022-04-12T22:41:32.085Z] # -> Force: false [2022-04-12T22:41:32.085Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver [Pipeline] } [2022-04-12T22:41:32.102Z] $ docker exec --env ******** --env ******** 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 ssh-agent -k [2022-04-12T22:41:32.210Z] unset SSH_AUTH_SOCK; [2022-04-12T22:41:32.210Z] unset SSH_AGENT_PID; [2022-04-12T22:41:32.210Z] echo Agent pid 61 killed; [2022-04-12T22:41:32.218Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T22:41:32.538Z] + git semver [Pipeline] } [2022-04-12T22:41:32.559Z] $ docker stop --time=1 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 [2022-04-12T22:41:33.997Z] $ docker rm -f 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T22:41:34.355Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-12T22:41:34.608Z] Stashed 1 file(s) [Pipeline] echo [2022-04-12T22:41:34.612Z] [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 [2022-04-12T22:41:34.767Z] provisioning config files... [2022-04-12T22:41:34.780Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config5009810174202249126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:41:35.079Z] ---> docker-login.sh [2022-04-12T22:41:35.079Z] nexus3.edgexfoundry.org:10001 [2022-04-12T22:41:35.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:41:35.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:41:35.079Z] Configure a credential helper to remove this warning. See [2022-04-12T22:41:35.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:41:35.079Z] [2022-04-12T22:41:35.079Z] Login Succeeded [2022-04-12T22:41:35.079Z] nexus3.edgexfoundry.org:10002 [2022-04-12T22:41:35.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:41:35.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:41:35.339Z] Configure a credential helper to remove this warning. See [2022-04-12T22:41:35.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:41:35.339Z] [2022-04-12T22:41:35.339Z] Login Succeeded [2022-04-12T22:41:35.339Z] nexus3.edgexfoundry.org:10003 [2022-04-12T22:41:35.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:41:35.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:41:35.339Z] Configure a credential helper to remove this warning. See [2022-04-12T22:41:35.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:41:35.339Z] [2022-04-12T22:41:35.339Z] Login Succeeded [2022-04-12T22:41:35.339Z] nexus3.edgexfoundry.org:10004 [2022-04-12T22:41:35.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:41:35.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:41:35.598Z] Configure a credential helper to remove this warning. See [2022-04-12T22:41:35.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:41:35.599Z] [2022-04-12T22:41:35.599Z] Login Succeeded [2022-04-12T22:41:35.599Z] docker.io [2022-04-12T22:41:35.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:41:35.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:41:35.859Z] Configure a credential helper to remove this warning. See [2022-04-12T22:41:35.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:41:35.860Z] [2022-04-12T22:41:35.860Z] Login Succeeded [2022-04-12T22:41:35.860Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T22:41:35.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T22:41:35.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T22:41:35.953Z] ========================================================= [2022-04-12T22:41:35.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-12T22:41:35.953Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:41:36.274Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-12T22:41:36.274Z] Sending build context to Docker daemon 9.645MB [2022-04-12T22:41:36.274Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T22:41:36.274Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T22:41:36.275Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-12T22:41:36.275Z] 59bf1c3509f3: Pulling fs layer [2022-04-12T22:41:36.275Z] 666ba61612fd: Pulling fs layer [2022-04-12T22:41:36.275Z] 8ed8ca486205: Pulling fs layer [2022-04-12T22:41:36.275Z] 4fe6c5a15a65: Pulling fs layer [2022-04-12T22:41:36.275Z] 22a0e8bec74d: Pulling fs layer [2022-04-12T22:41:36.275Z] 640e595b4fbd: Pulling fs layer [2022-04-12T22:41:36.275Z] 763cafe07f6e: Pulling fs layer [2022-04-12T22:41:36.275Z] 0c0b528cf693: Pulling fs layer [2022-04-12T22:41:36.275Z] 10935f4eaf8b: Pulling fs layer [2022-04-12T22:41:36.275Z] 4fe6c5a15a65: Waiting [2022-04-12T22:41:36.275Z] 22a0e8bec74d: Waiting [2022-04-12T22:41:36.275Z] 763cafe07f6e: Waiting [2022-04-12T22:41:36.275Z] 640e595b4fbd: Waiting [2022-04-12T22:41:36.275Z] 0c0b528cf693: Waiting [2022-04-12T22:41:36.275Z] 10935f4eaf8b: Waiting [2022-04-12T22:41:36.535Z] 8ed8ca486205: Verifying Checksum [2022-04-12T22:41:36.535Z] 8ed8ca486205: Download complete [2022-04-12T22:41:36.535Z] 666ba61612fd: Download complete [2022-04-12T22:41:36.535Z] 22a0e8bec74d: Verifying Checksum [2022-04-12T22:41:36.535Z] 22a0e8bec74d: Download complete [2022-04-12T22:41:36.535Z] 640e595b4fbd: Download complete [2022-04-12T22:41:36.535Z] 59bf1c3509f3: Verifying Checksum [2022-04-12T22:41:36.535Z] 59bf1c3509f3: Download complete [2022-04-12T22:41:36.535Z] 763cafe07f6e: Verifying Checksum [2022-04-12T22:41:36.535Z] 763cafe07f6e: Download complete [2022-04-12T22:41:36.535Z] 0c0b528cf693: Verifying Checksum [2022-04-12T22:41:36.535Z] 0c0b528cf693: Download complete [2022-04-12T22:41:36.535Z] 59bf1c3509f3: Pull complete [2022-04-12T22:41:36.797Z] 666ba61612fd: Pull complete [2022-04-12T22:41:36.797Z] 8ed8ca486205: Pull complete [2022-04-12T22:41:37.058Z] 10935f4eaf8b: Verifying Checksum [2022-04-12T22:41:37.058Z] 10935f4eaf8b: Download complete [2022-04-12T22:41:37.318Z] 4fe6c5a15a65: Download complete [2022-04-12T22:41:41.518Z] 4fe6c5a15a65: Pull complete [2022-04-12T22:41:41.518Z] 22a0e8bec74d: Pull complete [2022-04-12T22:41:41.518Z] 640e595b4fbd: Pull complete [2022-04-12T22:41:41.518Z] 763cafe07f6e: Pull complete [2022-04-12T22:41:41.519Z] 0c0b528cf693: Pull complete [2022-04-12T22:41:43.428Z] 10935f4eaf8b: Pull complete [2022-04-12T22:41:43.428Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-12T22:41:43.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-12T22:41:43.428Z] ---> 99d49a6021b9 [2022-04-12T22:41:43.428Z] Step 3/11 : ARG MAKE=make build [2022-04-12T22:41:44.813Z] ---> Running in 625e324f8b55 [2022-04-12T22:41:44.813Z] Removing intermediate container 625e324f8b55 [2022-04-12T22:41:44.813Z] ---> b851129f0418 [2022-04-12T22:41:44.813Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T22:41:45.073Z] ---> Running in f665a9a3300c [2022-04-12T22:41:45.073Z] Removing intermediate container f665a9a3300c [2022-04-12T22:41:45.073Z] ---> a5100e5e4d26 [2022-04-12T22:41:45.073Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:41:45.073Z] ---> Running in cd7f0be3a845 [2022-04-12T22:41:45.334Z] Removing intermediate container cd7f0be3a845 [2022-04-12T22:41:45.334Z] ---> 6b9fe57b069e [2022-04-12T22:41:45.334Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:41:45.334Z] ---> Running in b1cc3fbf73da [2022-04-12T22:41:45.904Z] Removing intermediate container b1cc3fbf73da [2022-04-12T22:41:45.904Z] ---> a5e0af53c66a [2022-04-12T22:41:45.904Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T22:41:45.904Z] ---> Running in fdfa6747b45c [2022-04-12T22:41:46.165Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T22:41:47.108Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T22:41:47.369Z] OK: 221 MiB in 52 packages [2022-04-12T22:41:47.630Z] Removing intermediate container fdfa6747b45c [2022-04-12T22:41:47.630Z] ---> 1b73372ee11c [2022-04-12T22:41:47.630Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T22:41:47.891Z] ---> c1795e1b1f2d [2022-04-12T22:41:47.891Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T22:41:47.891Z] ---> Running in 24ebc1062f91 [2022-04-12T22:41:49.717Z] Still waiting to schedule task [2022-04-12T22:41:49.718Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-12T22:42:06.010Z] Removing intermediate container 24ebc1062f91 [2022-04-12T22:42:06.010Z] ---> 4734beab2025 [2022-04-12T22:42:06.010Z] Step 10/11 : COPY . . [2022-04-12T22:42:06.010Z] ---> 6d609962bd59 [2022-04-12T22:42:06.010Z] Step 11/11 : RUN ${MAKE} [2022-04-12T22:42:06.010Z] ---> Running in 3e51e926a7b0 [2022-04-12T22:42:06.010Z] noop [2022-04-12T22:42:06.010Z] Removing intermediate container 3e51e926a7b0 [2022-04-12T22:42:06.010Z] ---> 91e497008b22 [2022-04-12T22:42:06.010Z] Successfully built 91e497008b22 [2022-04-12T22:42:06.010Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:42:06.305Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T22:42:06.305Z] . [Pipeline] withDockerContainer [2022-04-12T22:42:06.375Z] prd-ubuntu20.04-docker-8c-8g-20729 does not seem to be running inside a container [2022-04-12T22:42:06.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T22:42:06.776Z] $ docker top 80c6272d284406074211de54f5cf6debf2bfe20b39863df6d8e4235d5b0b730c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T22:42:07.131Z] + go version [2022-04-12T22:42:07.131Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-12T22:42:07.147Z] $ docker stop --time=1 80c6272d284406074211de54f5cf6debf2bfe20b39863df6d8e4235d5b0b730c [2022-04-12T22:42:08.418Z] $ docker rm -f 80c6272d284406074211de54f5cf6debf2bfe20b39863df6d8e4235d5b0b730c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:42:08.838Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T22:42:08.838Z] . [Pipeline] withDockerContainer [2022-04-12T22:42:08.906Z] prd-ubuntu20.04-docker-8c-8g-20729 does not seem to be running inside a container [2022-04-12T22:42:08.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T22:42:09.331Z] $ docker top d99b521024cd090cfc5cbeef8b6f7c1920a84618092eb4a42d32a97048dd758c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T22:42:09.690Z] + make test [2022-04-12T22:42:09.690Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-12T22:42:14.973Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T22:42:27.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T22:42:27.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T22:42:27.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T22:42:27.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.078s coverage: 23.3% of statements [2022-04-12T22:42:27.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T22:42:27.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements [2022-04-12T22:42:27.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.093s coverage: 78.9% of statements [2022-04-12T22:42:27.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.060s coverage: 10.8% of statements [2022-04-12T22:42:27.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T22:42:27.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T22:42:27.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T22:42:27.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 33.2% of statements [2022-04-12T22:42:27.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T22:42:27.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.077s coverage: 86.1% of statements [2022-04-12T22:42:27.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T22:42:27.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T22:42:27.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 57.2% of statements [2022-04-12T22:42:27.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.789s coverage: 89.2% of statements [2022-04-12T22:42:27.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T22:42:27.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.8% of statements [2022-04-12T22:42:27.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T22:42:42.208Z] GO111MODULE=on go vet ./... [2022-04-12T22:42:44.745Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T22:42:44.745Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T22:42:45.007Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T22:42:45.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T22:42:45.300Z] $ docker stop --time=1 d99b521024cd090cfc5cbeef8b6f7c1920a84618092eb4a42d32a97048dd758c [2022-04-12T22:42:47.535Z] $ docker rm -f d99b521024cd090cfc5cbeef8b6f7c1920a84618092eb4a42d32a97048dd758c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T22:42:48.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T22:42:48.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-12T22:42:49.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T22:42:49.409Z] + ls -al . [2022-04-12T22:42:49.410Z] total 296 [2022-04-12T22:42:49.410Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 22:42 . [2022-04-12T22:42:49.410Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:41 .. [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 22:41 .dockerignore [2022-04-12T22:42:49.410Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 22:41 .git [2022-04-12T22:42:49.410Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:41 .github [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 22:41 .gitignore [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 22:41 .golangci.yml [2022-04-12T22:42:49.410Z] drwx------ 3 jenkins jenkins 4096 Apr 12 22:41 .semver [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 22:41 CHANGELOG.md [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 22:41 GOVERNANCE.md [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 22:41 Jenkinsfile [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 22:41 LICENSE [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 22:41 Makefile [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 22:41 OWNERS.md [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 22:41 README.md [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 22:41 VERSION [2022-04-12T22:42:49.410Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:41 bin [2022-04-12T22:42:49.410Z] -rw-r--r-- 1 jenkins jenkins 129245 Apr 12 22:42 coverage.out [2022-04-12T22:42:49.410Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:41 example [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 22:41 go.mod [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 22:41 go.sum [2022-04-12T22:42:49.410Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 22:41 internal [2022-04-12T22:42:49.410Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:41 openapi [2022-04-12T22:42:49.410Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:41 pkg [2022-04-12T22:42:49.410Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:41 snap [2022-04-12T22:42:49.410Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 22:41 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:42:49.704Z] + 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=061a315398b7745a571a29e8bcb27353e985ff0c --label arch=amd64 --label version=0.0.0 . [2022-04-12T22:42:49.704Z] Sending build context to Docker daemon 9.775MB [2022-04-12T22:42:49.704Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T22:42:49.704Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T22:42:49.704Z] ---> 91e497008b22 [2022-04-12T22:42:49.704Z] Step 3/25 : ARG MAKE=make build [2022-04-12T22:42:49.964Z] ---> Running in d89457bcaa42 [2022-04-12T22:42:49.964Z] Removing intermediate container d89457bcaa42 [2022-04-12T22:42:49.964Z] ---> a41b5b80819e [2022-04-12T22:42:49.964Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T22:42:49.964Z] ---> Running in 4bd739064495 [2022-04-12T22:42:49.964Z] Removing intermediate container 4bd739064495 [2022-04-12T22:42:49.964Z] ---> cc1c3bf1c016 [2022-04-12T22:42:49.964Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:42:50.225Z] ---> Running in 43b333ed9e71 [2022-04-12T22:42:50.225Z] Removing intermediate container 43b333ed9e71 [2022-04-12T22:42:50.225Z] ---> 36de4b12fdfb [2022-04-12T22:42:50.225Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:42:50.225Z] ---> Running in d2becce66dcc [2022-04-12T22:42:50.796Z] Removing intermediate container d2becce66dcc [2022-04-12T22:42:50.796Z] ---> 21762c097b54 [2022-04-12T22:42:50.796Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T22:42:50.796Z] ---> Running in 32bf10b048df [2022-04-12T22:42:51.057Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T22:42:52.005Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T22:42:52.265Z] OK: 221 MiB in 52 packages [2022-04-12T22:42:52.525Z] Removing intermediate container 32bf10b048df [2022-04-12T22:42:52.525Z] ---> ed55080d7a10 [2022-04-12T22:42:52.525Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T22:42:52.784Z] ---> eca5c69e2234 [2022-04-12T22:42:52.784Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T22:42:52.784Z] ---> Running in dfec5333cc2d [2022-04-12T22:42:53.355Z] Removing intermediate container dfec5333cc2d [2022-04-12T22:42:53.355Z] ---> 9b737df095a8 [2022-04-12T22:42:53.355Z] Step 10/25 : COPY . . [2022-04-12T22:42:53.927Z] ---> aaa56b1887ca [2022-04-12T22:42:53.927Z] Step 11/25 : RUN ${MAKE} [2022-04-12T22:42:53.927Z] ---> Running in 0472d82e0dce [2022-04-12T22:42:54.188Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-12T22:43:12.296Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T22:43:13.680Z] Removing intermediate container 0472d82e0dce [2022-04-12T22:43:13.680Z] ---> 301a5b8002c2 [2022-04-12T22:43:13.680Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T22:43:13.941Z] 3.14: Pulling from library/alpine [2022-04-12T22:43:14.200Z] 8663204ce13b: Pulling fs layer [2022-04-12T22:43:14.460Z] 8663204ce13b: Verifying Checksum [2022-04-12T22:43:14.460Z] 8663204ce13b: Download complete [2022-04-12T22:43:14.460Z] 8663204ce13b: Pull complete [2022-04-12T22:43:14.460Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T22:43:14.460Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T22:43:14.460Z] ---> e04c818066af [2022-04-12T22:43:14.460Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:43:14.720Z] ---> Running in c20dc80984b6 [2022-04-12T22:43:14.720Z] Removing intermediate container c20dc80984b6 [2022-04-12T22:43:14.720Z] ---> d2358d8d145b [2022-04-12T22:43:14.720Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:43:14.720Z] ---> Running in 0116b4019277 [2022-04-12T22:43:15.292Z] Removing intermediate container 0116b4019277 [2022-04-12T22:43:15.292Z] ---> e28df2c63ebc [2022-04-12T22:43:15.292Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T22:43:15.292Z] ---> Running in daab9c749b85 [2022-04-12T22:43:15.864Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-12T22:43:16.436Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-12T22:43:17.009Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T22:43:17.009Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T22:43:17.009Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T22:43:17.269Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T22:43:17.269Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T22:43:17.269Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T22:43:17.269Z] OK: 8 MiB in 19 packages [2022-04-12T22:43:17.838Z] Removing intermediate container daab9c749b85 [2022-04-12T22:43:17.838Z] ---> a724463f2d4d [2022-04-12T22:43:17.838Z] Step 16/25 : WORKDIR / [2022-04-12T22:43:17.838Z] ---> Running in dbe5747da011 [2022-04-12T22:43:17.838Z] Removing intermediate container dbe5747da011 [2022-04-12T22:43:17.838Z] ---> c3fac6a3a011 [2022-04-12T22:43:17.838Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T22:43:18.098Z] ---> db73cb1d5a8d [2022-04-12T22:43:18.098Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T22:43:18.669Z] ---> d8c2687e822e [2022-04-12T22:43:18.669Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T22:43:18.669Z] ---> 1dfa934bc361 [2022-04-12T22:43:18.669Z] Step 20/25 : EXPOSE 59999 [2022-04-12T22:43:18.932Z] ---> Running in 7f370be901e1 [2022-04-12T22:43:18.932Z] Removing intermediate container 7f370be901e1 [2022-04-12T22:43:18.932Z] ---> 8fd32fc84d51 [2022-04-12T22:43:18.932Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T22:43:18.932Z] ---> Running in f22078366b0e [2022-04-12T22:43:18.932Z] Removing intermediate container f22078366b0e [2022-04-12T22:43:18.932Z] ---> e13a1fd42ee0 [2022-04-12T22:43:18.932Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T22:43:19.193Z] ---> Running in 1f59db41c116 [2022-04-12T22:43:19.193Z] Removing intermediate container 1f59db41c116 [2022-04-12T22:43:19.193Z] ---> 6fae591baca0 [2022-04-12T22:43:19.193Z] Step 23/25 : LABEL arch=amd64 [2022-04-12T22:43:19.193Z] ---> Running in 02aeade258b5 [2022-04-12T22:43:19.193Z] Removing intermediate container 02aeade258b5 [2022-04-12T22:43:19.193Z] ---> fcb0a683de85 [2022-04-12T22:43:19.193Z] Step 24/25 : LABEL git_sha=061a315398b7745a571a29e8bcb27353e985ff0c [2022-04-12T22:43:19.454Z] ---> Running in 74dd3019bd8d [2022-04-12T22:43:19.454Z] Removing intermediate container 74dd3019bd8d [2022-04-12T22:43:19.454Z] ---> b621db2097ae [2022-04-12T22:43:19.454Z] Step 25/25 : LABEL version=0.0.0 [2022-04-12T22:43:19.454Z] ---> Running in bc0a8424dc17 [2022-04-12T22:43:19.714Z] Removing intermediate container bc0a8424dc17 [2022-04-12T22:43:19.714Z] ---> 8ea8932b1522 [2022-04-12T22:43:19.714Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T22:43:19.714Z] Successfully built 8ea8932b1522 [2022-04-12T22:43:19.714Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-04-12T22:43:20.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T22:43:20.146Z] [2022-04-12T22:43:20.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:43:20.452Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T22:43:20.452Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-12T22:43:20.452Z] 5eb5b503b376: Pulling fs layer [2022-04-12T22:43:20.452Z] 5c69ac0246d0: Pulling fs layer [2022-04-12T22:43:20.452Z] ec43610c2a17: Pulling fs layer [2022-04-12T22:43:20.452Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-12T22:43:20.452Z] 33b1e0a273af: Pulling fs layer [2022-04-12T22:43:20.452Z] 5d3b04190fa2: Pulling fs layer [2022-04-12T22:43:20.452Z] 2f39f015ded8: Pulling fs layer [2022-04-12T22:43:20.452Z] 33b1e0a273af: Waiting [2022-04-12T22:43:20.452Z] 5d3b04190fa2: Waiting [2022-04-12T22:43:20.452Z] 3a2ae6a8a46f: Waiting [2022-04-12T22:43:20.452Z] 2f39f015ded8: Waiting [2022-04-12T22:43:20.452Z] 5c69ac0246d0: Verifying Checksum [2022-04-12T22:43:20.452Z] 5c69ac0246d0: Download complete [2022-04-12T22:43:20.452Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-12T22:43:20.452Z] 3a2ae6a8a46f: Download complete [2022-04-12T22:43:20.452Z] 33b1e0a273af: Verifying Checksum [2022-04-12T22:43:20.452Z] 33b1e0a273af: Download complete [2022-04-12T22:43:20.452Z] 5d3b04190fa2: Verifying Checksum [2022-04-12T22:43:20.452Z] 5d3b04190fa2: Download complete [2022-04-12T22:43:20.710Z] ec43610c2a17: Verifying Checksum [2022-04-12T22:43:20.710Z] ec43610c2a17: Download complete [2022-04-12T22:43:20.710Z] 5eb5b503b376: Verifying Checksum [2022-04-12T22:43:20.710Z] 5eb5b503b376: Download complete [2022-04-12T22:43:21.282Z] 2f39f015ded8: Download complete [2022-04-12T22:43:22.220Z] 5eb5b503b376: Pull complete [2022-04-12T22:43:22.220Z] 5c69ac0246d0: Pull complete [2022-04-12T22:43:22.481Z] ec43610c2a17: Pull complete [2022-04-12T22:43:22.481Z] 3a2ae6a8a46f: Pull complete [2022-04-12T22:43:22.739Z] 33b1e0a273af: Pull complete [2022-04-12T22:43:22.739Z] 5d3b04190fa2: Pull complete [2022-04-12T22:43:26.931Z] 2f39f015ded8: Pull complete [2022-04-12T22:43:26.931Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-12T22:43:26.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T22:43:26.931Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-12T22:43:26.994Z] prd-ubuntu20.04-docker-8c-8g-20729 does not seem to be running inside a container [2022-04-12T22:43:27.029Z] $ 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-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T22:43:27.733Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20731 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T22:43:28.669Z] $ docker top 5fead60c4cf5167db9d1cadb2ca56130076f4125483862b792ef1f3907d6a1bb -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-04-12T22:43:28.846Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-04-12T22:43:29.042Z] The recommended git tool is: git [2022-04-12T22:43:29.101Z] ---> job-cost.sh [2022-04-12T22:43:29.101Z] lf-activate-venv: SKIPPING [2022-04-12T22:43:29.101Z] INFO: No Stack... [2022-04-12T22:43:29.670Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T22:43:29.932Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T22:43:30.223Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/cost.csv [2022-04-12T22:43:30.223Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T22:43:30.240Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] [2022-04-12T22:43:30.251Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] did not exist. Created. [2022-04-12T22:43:30.251Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T22:43:30.552Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-12T22:43:30.577Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T22:43:30.583Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T22:43:30.604Z] $ docker stop --time=1 5fead60c4cf5167db9d1cadb2ca56130076f4125483862b792ef1f3907d6a1bb [2022-04-12T22:43:31.774Z] $ docker rm -f 5fead60c4cf5167db9d1cadb2ca56130076f4125483862b792ef1f3907d6a1bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-12T22:43:36.062Z] using credential edgex-jenkins-ssh [2022-04-12T22:43:36.079Z] Cloning the remote Git repository [2022-04-12T22:43:36.193Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T22:43:36.295Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-04-12T22:43:36.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T22:43:36.482Z] > git --version # timeout=10 [2022-04-12T22:43:36.530Z] > git --version # 'git version 2.25.1' [2022-04-12T22:43:36.532Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T22:43:36.686Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T22:43:38.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T22:43:38.465Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T22:43:38.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T22:43:39.369Z] Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit 3593550cb183f04032b99acb80b17e47af38cf69 [2022-04-12T22:43:39.850Z] Merge succeeded, producing c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 [2022-04-12T22:43:39.851Z] Checking out Revision c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 (PR-1130) [2022-04-12T22:43:38.631Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T22:43:38.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T22:43:38.660Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-12T22:43:39.397Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T22:43:39.422Z] > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 [2022-04-12T22:43:39.548Z] > git remote # timeout=10 [2022-04-12T22:43:39.587Z] > git config --get remote.origin.url # timeout=10 [2022-04-12T22:43:39.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T22:43:39.640Z] > git merge 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 [2022-04-12T22:43:39.802Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-12T22:43:39.870Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T22:43:39.903Z] > git checkout -f c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 # timeout=10 [2022-04-12T22:43:44.313Z] Commit message: "Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD" [2022-04-12T22:43:44.323Z] > git rev-list --no-walk 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T22:43:45.202Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-12T22:43:45.203Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T22:43:45.203Z] Dload Upload Total Spent Left Speed [2022-04-12T22:43:45.203Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48536 0 --:--:-- --:--:-- --:--:-- 48536 [Pipeline] sh [2022-04-12T22:43:45.735Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-12T22:43:46.081Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-12T22:43:46.081Z] + sudo tee /etc/docker/daemon.new [2022-04-12T22:43:46.081Z] { [2022-04-12T22:43:46.081Z] "registry-mirrors": [ [2022-04-12T22:43:46.081Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-12T22:43:46.081Z] ], [2022-04-12T22:43:46.081Z] "bip": "10.250.0.254/24", [2022-04-12T22:43:46.081Z] "hosts": [ [2022-04-12T22:43:46.081Z] "tcp://0.0.0.0:5555", [2022-04-12T22:43:46.081Z] "unix:///var/run/docker.sock" [2022-04-12T22:43:46.081Z] ], [2022-04-12T22:43:46.081Z] "mtu": 1458, [2022-04-12T22:43:46.081Z] "selinux-enabled": true, [2022-04-12T22:43:46.081Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-12T22:43:46.081Z] } [Pipeline] sh [2022-04-12T22:43:46.436Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-12T22:43:46.785Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T22:44:05.210Z] provisioning config files... [2022-04-12T22:44:05.239Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4475793626591161156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:44:05.608Z] ---> docker-login.sh [2022-04-12T22:44:05.609Z] nexus3.edgexfoundry.org:10001 [2022-04-12T22:44:06.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:44:06.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:44:06.485Z] Configure a credential helper to remove this warning. See [2022-04-12T22:44:06.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:44:06.485Z] [2022-04-12T22:44:06.485Z] Login Succeeded [2022-04-12T22:44:06.485Z] nexus3.edgexfoundry.org:10002 [2022-04-12T22:44:07.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:44:07.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:44:07.086Z] Configure a credential helper to remove this warning. See [2022-04-12T22:44:07.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:44:07.086Z] [2022-04-12T22:44:07.086Z] Login Succeeded [2022-04-12T22:44:07.086Z] nexus3.edgexfoundry.org:10003 [2022-04-12T22:44:07.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:44:07.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:44:07.636Z] Configure a credential helper to remove this warning. See [2022-04-12T22:44:07.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:44:07.636Z] [2022-04-12T22:44:07.636Z] Login Succeeded [2022-04-12T22:44:07.636Z] nexus3.edgexfoundry.org:10004 [2022-04-12T22:44:07.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:44:07.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:44:07.910Z] Configure a credential helper to remove this warning. See [2022-04-12T22:44:07.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:44:07.910Z] [2022-04-12T22:44:07.910Z] Login Succeeded [2022-04-12T22:44:07.910Z] docker.io [2022-04-12T22:44:08.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:44:08.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:44:08.784Z] Configure a credential helper to remove this warning. See [2022-04-12T22:44:08.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:44:08.784Z] [2022-04-12T22:44:08.784Z] Login Succeeded [2022-04-12T22:44:08.784Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T22:44:08.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T22:44:09.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T22:44:09.336Z] ========================================================= [2022-04-12T22:44:09.336Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-12T22:44:09.336Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:44:09.688Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-12T22:44:10.292Z] Sending build context to Docker daemon 5.224MB [2022-04-12T22:44:10.292Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T22:44:10.292Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T22:44:10.292Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-12T22:44:10.292Z] 9b3977197b4f: Pulling fs layer [2022-04-12T22:44:10.292Z] 1a89e8eeedd5: Pulling fs layer [2022-04-12T22:44:10.292Z] 94645a83ff95: Pulling fs layer [2022-04-12T22:44:10.292Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-12T22:44:10.292Z] 0c92f367c5e7: Pulling fs layer [2022-04-12T22:44:10.292Z] f7c0051592d6: Pulling fs layer [2022-04-12T22:44:10.292Z] a227ed2f7395: Pulling fs layer [2022-04-12T22:44:10.292Z] 7b1c46037f91: Pulling fs layer [2022-04-12T22:44:10.292Z] 0c92f367c5e7: Waiting [2022-04-12T22:44:10.292Z] 3f3a8bcf1eab: Waiting [2022-04-12T22:44:10.292Z] 7b1c46037f91: Waiting [2022-04-12T22:44:10.292Z] a227ed2f7395: Waiting [2022-04-12T22:44:10.292Z] f7c0051592d6: Waiting [2022-04-12T22:44:10.292Z] 94645a83ff95: Verifying Checksum [2022-04-12T22:44:10.292Z] 94645a83ff95: Download complete [2022-04-12T22:44:10.292Z] 1a89e8eeedd5: Verifying Checksum [2022-04-12T22:44:10.292Z] 1a89e8eeedd5: Download complete [2022-04-12T22:44:10.292Z] 0c92f367c5e7: Verifying Checksum [2022-04-12T22:44:10.292Z] 0c92f367c5e7: Download complete [2022-04-12T22:44:10.292Z] f7c0051592d6: Verifying Checksum [2022-04-12T22:44:10.293Z] f7c0051592d6: Download complete [2022-04-12T22:44:10.566Z] 9b3977197b4f: Download complete [2022-04-12T22:44:10.566Z] a227ed2f7395: Verifying Checksum [2022-04-12T22:44:10.566Z] a227ed2f7395: Download complete [2022-04-12T22:44:11.168Z] 9b3977197b4f: Pull complete [2022-04-12T22:44:11.799Z] 1a89e8eeedd5: Pull complete [2022-04-12T22:44:12.094Z] 94645a83ff95: Pull complete [2022-04-12T22:44:12.370Z] 7b1c46037f91: Verifying Checksum [2022-04-12T22:44:12.370Z] 7b1c46037f91: Download complete [2022-04-12T22:44:12.975Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-12T22:44:12.975Z] 3f3a8bcf1eab: Download complete [2022-04-12T22:44:25.396Z] 3f3a8bcf1eab: Pull complete [2022-04-12T22:44:25.396Z] 0c92f367c5e7: Pull complete [2022-04-12T22:44:25.672Z] f7c0051592d6: Pull complete [2022-04-12T22:44:25.948Z] a227ed2f7395: Pull complete [2022-04-12T22:44:32.683Z] 7b1c46037f91: Pull complete [2022-04-12T22:44:32.683Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-12T22:44:32.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-12T22:44:32.683Z] ---> f79e39bc4007 [2022-04-12T22:44:32.683Z] Step 3/11 : ARG MAKE=make build [2022-04-12T22:44:33.673Z] ---> Running in 312ef90af4c9 [2022-04-12T22:44:33.949Z] Removing intermediate container 312ef90af4c9 [2022-04-12T22:44:33.949Z] ---> 4d512bf5641e [2022-04-12T22:44:33.949Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T22:44:34.225Z] ---> Running in 5d574f0de234 [2022-04-12T22:44:34.499Z] Removing intermediate container 5d574f0de234 [2022-04-12T22:44:34.500Z] ---> a4337ae1d7b1 [2022-04-12T22:44:34.500Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:44:34.500Z] ---> Running in e77964c25970 [2022-04-12T22:44:34.775Z] Removing intermediate container e77964c25970 [2022-04-12T22:44:34.775Z] ---> a794955e1ec6 [2022-04-12T22:44:34.775Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:44:35.052Z] ---> Running in 7c89726f0345 [2022-04-12T22:44:37.040Z] Removing intermediate container 7c89726f0345 [2022-04-12T22:44:37.040Z] ---> 1c8bfd796110 [2022-04-12T22:44:37.040Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T22:44:37.040Z] ---> Running in d6723448618f [2022-04-12T22:44:38.034Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T22:44:38.630Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T22:44:39.610Z] OK: 220 MiB in 52 packages [2022-04-12T22:44:40.606Z] Removing intermediate container d6723448618f [2022-04-12T22:44:40.606Z] ---> 90250db3bc6a [2022-04-12T22:44:40.606Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T22:44:41.212Z] ---> a8b9dd8d990e [2022-04-12T22:44:41.212Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T22:44:41.212Z] ---> Running in 56a49bebb696 [2022-04-12T22:45:28.259Z] Removing intermediate container 56a49bebb696 [2022-04-12T22:45:28.259Z] ---> 7184c77216a9 [2022-04-12T22:45:28.259Z] Step 10/11 : COPY . . [2022-04-12T22:45:28.864Z] ---> 5b0177023c18 [2022-04-12T22:45:28.864Z] Step 11/11 : RUN ${MAKE} [2022-04-12T22:45:28.864Z] ---> Running in b7a67c5e5f64 [2022-04-12T22:45:29.864Z] noop [2022-04-12T22:45:30.866Z] Removing intermediate container b7a67c5e5f64 [2022-04-12T22:45:30.866Z] ---> 5d12c8f89eeb [2022-04-12T22:45:30.866Z] Successfully built 5d12c8f89eeb [2022-04-12T22:45:30.866Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:45:31.221Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T22:45:31.221Z] . [Pipeline] withDockerContainer [2022-04-12T22:45:31.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-20731 does not seem to be running inside a container [2022-04-12T22:45:31.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat [2022-04-12T22:45:32.877Z] $ docker top 821d831aceab0b898469c5a1e550e955bfe1b984216fe5f051b55964b0f9493d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T22:45:33.805Z] + go version [2022-04-12T22:45:33.805Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-12T22:45:33.832Z] $ docker stop --time=1 821d831aceab0b898469c5a1e550e955bfe1b984216fe5f051b55964b0f9493d [2022-04-12T22:45:35.460Z] $ docker rm -f 821d831aceab0b898469c5a1e550e955bfe1b984216fe5f051b55964b0f9493d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:45:36.088Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T22:45:36.088Z] . [Pipeline] withDockerContainer [2022-04-12T22:45:36.333Z] prd-ubuntu20.04-docker-arm64-4c-16g-20731 does not seem to be running inside a container [2022-04-12T22:45:36.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-arm64 cat [2022-04-12T22:45:37.714Z] $ docker top aeeb7bc5219157db12359020d4319a01e011424476d9a970c549fd35f1014a53 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T22:45:38.648Z] + make test [2022-04-12T22:45:38.648Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-12T22:46:11.008Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T22:47:47.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T22:47:47.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T22:47:47.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T22:48:00.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.602s coverage: 23.3% of statements [2022-04-12T22:48:00.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T22:48:00.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.253s coverage: 27.6% of statements [2022-04-12T22:48:00.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.391s coverage: 78.9% of statements [2022-04-12T22:48:00.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.293s coverage: 10.8% of statements [2022-04-12T22:48:00.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T22:48:00.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T22:48:00.355Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T22:48:03.768Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.469s coverage: 33.2% of statements [2022-04-12T22:48:03.768Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T22:48:05.760Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.280s coverage: 86.1% of statements [2022-04-12T22:48:05.760Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T22:48:05.760Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T22:48:05.760Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.498s coverage: 57.2% of statements [2022-04-12T22:48:07.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.154s coverage: 89.2% of statements [2022-04-12T22:48:07.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T22:48:10.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.231s coverage: 4.8% of statements [2022-04-12T22:48:10.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T22:48:11.201Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-12T22:48:11.201Z] GO111MODULE=on go vet ./... [2022-04-12T22:49:48.036Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T22:49:48.036Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T22:49:48.036Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T22:49:48.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T22:49:48.076Z] $ docker stop --time=1 aeeb7bc5219157db12359020d4319a01e011424476d9a970c549fd35f1014a53 [2022-04-12T22:49:49.969Z] $ docker rm -f aeeb7bc5219157db12359020d4319a01e011424476d9a970c549fd35f1014a53 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T22:49:51.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T22:49:51.425Z] Warning: overwriting stash ‘coverage-report’ [2022-04-12T22:49:52.060Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T22:49:52.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T22:49:52.815Z] + ls -al . [2022-04-12T22:49:52.815Z] total 292 [2022-04-12T22:49:52.815Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 22:49 . [2022-04-12T22:49:52.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:43 .. [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 22:43 .dockerignore [2022-04-12T22:49:52.815Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 22:43 .git [2022-04-12T22:49:52.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:43 .github [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 22:43 .gitignore [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 22:43 .golangci.yml [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 22:43 CHANGELOG.md [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 22:43 GOVERNANCE.md [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 22:43 Jenkinsfile [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 22:43 LICENSE [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 22:43 Makefile [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 22:43 OWNERS.md [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 22:43 README.md [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 22:41 VERSION [2022-04-12T22:49:52.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:43 bin [2022-04-12T22:49:52.815Z] -rw-r--r-- 1 jenkins jenkins 129245 Apr 12 22:48 coverage.out [2022-04-12T22:49:52.815Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:43 example [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 22:43 go.mod [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 22:43 go.sum [2022-04-12T22:49:52.815Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 22:43 internal [2022-04-12T22:49:52.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:43 openapi [2022-04-12T22:49:52.815Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:43 pkg [2022-04-12T22:49:52.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:43 snap [2022-04-12T22:49:52.815Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 22:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:49:53.169Z] + 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=c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 --label arch=arm64 --label version=0.0.0 . [2022-04-12T22:49:53.779Z] Sending build context to Docker daemon 5.354MB [2022-04-12T22:49:53.779Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T22:49:53.779Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T22:49:53.779Z] ---> 5d12c8f89eeb [2022-04-12T22:49:53.779Z] Step 3/25 : ARG MAKE=make build [2022-04-12T22:49:54.055Z] ---> Running in 4c37a4ac1152 [2022-04-12T22:49:54.331Z] Removing intermediate container 4c37a4ac1152 [2022-04-12T22:49:54.331Z] ---> a57733dc92ff [2022-04-12T22:49:54.331Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T22:49:54.331Z] ---> Running in 918ed0d1b2b6 [2022-04-12T22:49:54.614Z] Removing intermediate container 918ed0d1b2b6 [2022-04-12T22:49:54.614Z] ---> 5b379499f446 [2022-04-12T22:49:54.614Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:49:54.890Z] ---> Running in 2daa35b9bf8d [2022-04-12T22:49:55.173Z] Removing intermediate container 2daa35b9bf8d [2022-04-12T22:49:55.173Z] ---> 0c8a4c31b50e [2022-04-12T22:49:55.173Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:49:55.173Z] ---> Running in 76f83b99f052 [2022-04-12T22:49:57.155Z] Removing intermediate container 76f83b99f052 [2022-04-12T22:49:57.155Z] ---> fb8f93c26fbf [2022-04-12T22:49:57.155Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T22:49:57.155Z] ---> Running in 6769222acaf8 [2022-04-12T22:49:58.151Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T22:49:59.134Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T22:50:00.117Z] OK: 220 MiB in 52 packages [2022-04-12T22:50:00.715Z] Removing intermediate container 6769222acaf8 [2022-04-12T22:50:00.715Z] ---> a5af3f7c3a9c [2022-04-12T22:50:00.715Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T22:50:01.316Z] ---> 6af7713fa689 [2022-04-12T22:50:01.316Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T22:50:01.596Z] ---> Running in 8e92fbd2c1c7 [2022-04-12T22:50:03.584Z] Removing intermediate container 8e92fbd2c1c7 [2022-04-12T22:50:03.584Z] ---> 5ca9c780d32f [2022-04-12T22:50:03.584Z] Step 10/25 : COPY . . [2022-04-12T22:50:05.039Z] ---> dca64efe9ad0 [2022-04-12T22:50:05.039Z] Step 11/25 : RUN ${MAKE} [2022-04-12T22:50:05.039Z] ---> Running in f8a588da6c0c [2022-04-12T22:50:06.024Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-12T22:52:12.894Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T22:52:12.894Z] Removing intermediate container f8a588da6c0c [2022-04-12T22:52:12.894Z] ---> 8c77fb5a39a4 [2022-04-12T22:52:12.894Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T22:52:12.894Z] 3.14: Pulling from library/alpine [2022-04-12T22:52:12.894Z] 455c02918c45: Pulling fs layer [2022-04-12T22:52:12.894Z] 455c02918c45: Download complete [2022-04-12T22:52:12.894Z] 455c02918c45: Pull complete [2022-04-12T22:52:12.894Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T22:52:12.894Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T22:52:12.894Z] ---> ac73e934f311 [2022-04-12T22:52:12.894Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:52:12.894Z] ---> Running in 17710523301b [2022-04-12T22:52:12.894Z] Removing intermediate container 17710523301b [2022-04-12T22:52:12.894Z] ---> e3c465c948a1 [2022-04-12T22:52:12.894Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:52:13.181Z] ---> Running in 89108b1f1e3f [2022-04-12T22:52:15.164Z] Removing intermediate container 89108b1f1e3f [2022-04-12T22:52:15.164Z] ---> 3ff13e1913fe [2022-04-12T22:52:15.164Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T22:52:15.164Z] ---> Running in 17a7f90a30d7 [2022-04-12T22:52:16.151Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-12T22:52:16.753Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-12T22:52:17.741Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T22:52:17.741Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T22:52:17.741Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T22:52:18.018Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T22:52:18.018Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T22:52:18.018Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T22:52:18.018Z] OK: 8 MiB in 19 packages [2022-04-12T22:52:19.013Z] Removing intermediate container 17a7f90a30d7 [2022-04-12T22:52:19.013Z] ---> b0a0ee5079a4 [2022-04-12T22:52:19.013Z] Step 16/25 : WORKDIR / [2022-04-12T22:52:19.013Z] ---> Running in 305c6d1b1f87 [2022-04-12T22:52:19.287Z] Removing intermediate container 305c6d1b1f87 [2022-04-12T22:52:19.287Z] ---> 2ebc5e357967 [2022-04-12T22:52:19.287Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T22:52:19.888Z] ---> 0d617f3b8417 [2022-04-12T22:52:19.888Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T22:52:21.326Z] ---> b29c376ba43d [2022-04-12T22:52:21.326Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T22:52:21.926Z] ---> 529762361d11 [2022-04-12T22:52:21.926Z] Step 20/25 : EXPOSE 59999 [2022-04-12T22:52:21.926Z] ---> Running in c525795181a7 [2022-04-12T22:52:22.525Z] Removing intermediate container c525795181a7 [2022-04-12T22:52:22.525Z] ---> 28f7ee390d39 [2022-04-12T22:52:22.525Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T22:52:22.525Z] ---> Running in 52f795de8711 [2022-04-12T22:52:22.799Z] Removing intermediate container 52f795de8711 [2022-04-12T22:52:22.799Z] ---> 7ffb234e6db5 [2022-04-12T22:52:22.799Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T22:52:22.799Z] ---> Running in 0995789a7041 [2022-04-12T22:52:23.074Z] Removing intermediate container 0995789a7041 [2022-04-12T22:52:23.074Z] ---> abd7fbe1358c [2022-04-12T22:52:23.074Z] Step 23/25 : LABEL arch=arm64 [2022-04-12T22:52:23.356Z] ---> Running in 31b562c36c6d [2022-04-12T22:52:23.636Z] Removing intermediate container 31b562c36c6d [2022-04-12T22:52:23.636Z] ---> f304a6046c30 [2022-04-12T22:52:23.636Z] Step 24/25 : LABEL git_sha=c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 [2022-04-12T22:52:23.636Z] ---> Running in 578b88369ed9 [2022-04-12T22:52:23.911Z] Removing intermediate container 578b88369ed9 [2022-04-12T22:52:23.911Z] ---> 03806140aa1f [2022-04-12T22:52:23.911Z] Step 25/25 : LABEL version=0.0.0 [2022-04-12T22:52:23.911Z] ---> Running in f55568c9dcf5 [2022-04-12T22:52:24.196Z] Removing intermediate container f55568c9dcf5 [2022-04-12T22:52:24.196Z] ---> 3eca69c1e434 [2022-04-12T22:52:24.196Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T22:52:24.469Z] Successfully built 3eca69c1e434 [2022-04-12T22:52:24.469Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-04-12T22:52:24.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T22:52:24.908Z] [2022-04-12T22:52:24.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:52:25.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T22:52:25.544Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-12T22:52:25.544Z] 8998bd30e6a1: Pulling fs layer [2022-04-12T22:52:25.544Z] 04944245beec: Pulling fs layer [2022-04-12T22:52:25.544Z] 699f458cf7ca: Pulling fs layer [2022-04-12T22:52:25.544Z] 765212b225bb: Pulling fs layer [2022-04-12T22:52:25.544Z] f23df028b6ca: Pulling fs layer [2022-04-12T22:52:25.544Z] d65c8cfc05b1: Pulling fs layer [2022-04-12T22:52:25.544Z] 2437ff75d9bd: Pulling fs layer [2022-04-12T22:52:25.544Z] 2437ff75d9bd: Waiting [2022-04-12T22:52:25.544Z] 765212b225bb: Waiting [2022-04-12T22:52:25.544Z] d65c8cfc05b1: Waiting [2022-04-12T22:52:25.544Z] f23df028b6ca: Waiting [2022-04-12T22:52:25.544Z] 04944245beec: Verifying Checksum [2022-04-12T22:52:25.544Z] 04944245beec: Download complete [2022-04-12T22:52:25.544Z] 765212b225bb: Download complete [2022-04-12T22:52:25.544Z] f23df028b6ca: Verifying Checksum [2022-04-12T22:52:25.544Z] f23df028b6ca: Download complete [2022-04-12T22:52:25.544Z] d65c8cfc05b1: Verifying Checksum [2022-04-12T22:52:25.544Z] d65c8cfc05b1: Download complete [2022-04-12T22:52:25.823Z] 699f458cf7ca: Verifying Checksum [2022-04-12T22:52:25.823Z] 699f458cf7ca: Download complete [2022-04-12T22:52:26.097Z] 8998bd30e6a1: Verifying Checksum [2022-04-12T22:52:26.097Z] 8998bd30e6a1: Download complete [2022-04-12T22:52:28.726Z] 2437ff75d9bd: Verifying Checksum [2022-04-12T22:52:28.727Z] 2437ff75d9bd: Download complete [2022-04-12T22:52:30.708Z] 8998bd30e6a1: Pull complete [2022-04-12T22:52:30.983Z] 04944245beec: Pull complete [2022-04-12T22:52:32.422Z] 699f458cf7ca: Pull complete [2022-04-12T22:52:32.422Z] 765212b225bb: Pull complete [2022-04-12T22:52:33.415Z] f23df028b6ca: Pull complete [2022-04-12T22:52:33.708Z] d65c8cfc05b1: Pull complete [2022-04-12T22:52:48.804Z] 2437ff75d9bd: Pull complete [2022-04-12T22:52:48.804Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-12T22:52:48.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T22:52:48.804Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-12T22:52:49.047Z] prd-ubuntu20.04-docker-arm64-4c-16g-20731 does not seem to be running inside a container [2022-04-12T22:52:49.146Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-12T22:52:51.914Z] $ docker top cdfe66274be20f5c4fee78273a2a9228efedd3e988c3a47b5552f07425a9e068 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:52:52.857Z] ---> job-cost.sh [2022-04-12T22:52:52.858Z] lf-activate-venv: SKIPPING [2022-04-12T22:52:52.858Z] INFO: No Stack... [2022-04-12T22:52:53.456Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-12T22:52:54.440Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T22:52:55.120Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-04-12T22:52:55.120Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T22:52:55.192Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] [2022-04-12T22:52:55.198Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] did not exist. Created. [2022-04-12T22:52:55.199Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T22:52:55.888Z] /w/workspace/device-sdk-go/3@tmp/durable-f0435b3f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-12T22:52:56.574Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-12T22:52:56.597Z] Warning: overwriting stash ‘stack-cost’ [2022-04-12T22:52:56.662Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T22:52:56.669Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T22:52:56.689Z] $ docker stop --time=1 cdfe66274be20f5c4fee78273a2a9228efedd3e988c3a47b5552f07425a9e068 [2022-04-12T22:52:58.208Z] $ docker rm -f cdfe66274be20f5c4fee78273a2a9228efedd3e988c3a47b5552f07425a9e068 [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 [2022-04-12T22:52:58.712Z] provisioning config files... [2022-04-12T22:52:58.720Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config1327249219397322510tmp [Pipeline] { [Pipeline] sh [2022-04-12T22:52:59.012Z] + set +x [2022-04-12T22:52:59.012Z] + + curlbash -s -s https://codecov.io/bash -- [2022-04-12T22:52:59.012Z] [2022-04-12T22:52:59.012Z] [2022-04-12T22:52:59.012Z] _____ _ [2022-04-12T22:52:59.012Z] / ____| | | [2022-04-12T22:52:59.012Z] | | ___ __| | ___ ___ _____ __ [2022-04-12T22:52:59.012Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-12T22:52:59.012Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-12T22:52:59.012Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-12T22:52:59.012Z] Bash-1.0.6 [2022-04-12T22:52:59.012Z] [2022-04-12T22:52:59.012Z] [2022-04-12T22:52:59.012Z] ==> git version 2.25.1 found [2022-04-12T22:52:59.012Z] ==> 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 [2022-04-12T22:52:59.012Z] Release-Date: 2020-01-08 [2022-04-12T22:52:59.012Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-12T22:52:59.012Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-12T22:52:59.012Z] ==> Jenkins CI detected. [2022-04-12T22:52:59.012Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T22:52:59.012Z] project root: . [2022-04-12T22:52:59.012Z] --> token set from env [2022-04-12T22:52:59.012Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-12T22:52:59.012Z] ==> Running gcov in . (disable via -X gcov) [2022-04-12T22:52:59.012Z] ==> Python coveragepy not found [2022-04-12T22:52:59.012Z] ==> Searching for coverage reports in: [2022-04-12T22:52:59.012Z] + . [2022-04-12T22:52:59.012Z] -> Found 1 reports [2022-04-12T22:52:59.012Z] ==> Detecting git/mercurial file structure [2022-04-12T22:52:59.012Z] ==> Reading reports [2022-04-12T22:52:59.012Z] + ./coverage.out bytes=129245 [2022-04-12T22:52:59.271Z] ==> Appending adjustments [2022-04-12T22:52:59.271Z] https://docs.codecov.io/docs/fixing-reports [2022-04-12T22:52:59.271Z] + Found adjustments [2022-04-12T22:52:59.271Z] ==> Gzipping contents [2022-04-12T22:52:59.530Z] 20K /tmp/codecov.P4ho7r.gz [2022-04-12T22:52:59.530Z] ==> Uploading reports [2022-04-12T22:52:59.530Z] url: https://codecov.io [2022-04-12T22:52:59.530Z] query: branch=PR-1130&commit=061a315398b7745a571a29e8bcb27353e985ff0c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= [2022-04-12T22:52:59.530Z] -> Pinging Codecov [2022-04-12T22:52:59.530Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1130&commit=061a315398b7745a571a29e8bcb27353e985ff0c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= [2022-04-12T22:52:59.531Z] -> Uploading to [2022-04-12T22:52:59.531Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-12/7E55EF52A471D76F132DFD9A03CDDE97/061a315398b7745a571a29e8bcb27353e985ff0c/3589d210-aa2e-48cf-bca5-97399486b07e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T225259Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0272c5d8d2aea63a24a912ca771e1b7c081d88c23fb8a5bbb2bcd708487ccc2b [2022-04-12T22:52:59.531Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T22:52:59.531Z] Dload Upload Total Spent Left Speed [2022-04-12T22:52:59.791Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16514 0 0 100 16514 0 69386 --:--:-- --:--:-- --:--:-- 69386 [2022-04-12T22:52:59.791Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/061a315398b7745a571a29e8bcb27353e985ff0c [Pipeline] } [2022-04-12T22:52:59.799Z] 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 [2022-04-12T22:53:00.583Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives ] [2022-04-12T22:53:00.583Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-12T22:53:00.583Z] total 16 [2022-04-12T22:53:00.583Z] drwxr-xr-x 3 root root 4096 Apr 12 22:43 . [2022-04-12T22:53:00.583Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 22:43 .. [2022-04-12T22:53:00.583Z] drwxr-xr-x 2 root root 4096 Apr 12 22:43 cost [2022-04-12T22:53:00.583Z] -rw-r--r-- 1 root root 85 Apr 12 22:43 cost.csv [2022-04-12T22:53:00.583Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-12T22:53:00.583Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-12T22:53:00.583Z] total 16 [2022-04-12T22:53:00.583Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 22:43 . [2022-04-12T22:53:00.583Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 22:43 .. [2022-04-12T22:53:00.583Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 22:43 cost [2022-04-12T22:53:00.583Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 12 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:53:00.878Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:53:01.740Z] ---> package-listing.sh [2022-04-12T22:53:01.740Z] ++ facter osfamily [2022-04-12T22:53:01.740Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-12T22:53:01.999Z] + OS_FAMILY=debian [2022-04-12T22:53:01.999Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T22:53:01.999Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-12T22:53:01.999Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-12T22:53:01.999Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-12T22:53:01.999Z] + PACKAGES=/tmp/packages_start.txt [2022-04-12T22:53:01.999Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' [2022-04-12T22:53:01.999Z] + PACKAGES=/tmp/packages_end.txt [2022-04-12T22:53:01.999Z] + case "${OS_FAMILY}" in [2022-04-12T22:53:01.999Z] + dpkg -l [2022-04-12T22:53:01.999Z] + grep '^ii' [2022-04-12T22:53:01.999Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-12T22:53:01.999Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-12T22:53:01.999Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-12T22:53:01.999Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' [2022-04-12T22:53:01.999Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ [2022-04-12T22:53:01.999Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ [Pipeline] echo [2022-04-12T22:53:02.013Z] 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-1130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-12T22:53:02.294Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:53:02.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T22:53:02.853Z] . [Pipeline] withDockerContainer [2022-04-12T22:53:02.915Z] prd-ubuntu20.04-docker-8c-8g-20729 does not seem to be running inside a container [2022-04-12T22:53:02.947Z] $ 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-1130/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-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T22:53:03.177Z] $ docker top 4262278be7637372fafac6b4ab1b32f35b87b1705de021eec6ff2569a2df063f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T22:53:03.537Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-12T22:53:03.822Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-12T22:53:04.112Z] + ls /var/log/sa-host [2022-04-12T22:53:04.112Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T22:53:04.332Z] provisioning config files... [2022-04-12T22:53:04.340Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config7790469536755982307tmp [Pipeline] { [Pipeline] echo [2022-04-12T22:53:04.351Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:53:04.636Z] ---> create-netrc.sh [Pipeline] } [2022-04-12T22:53:04.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:53:05.060Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-12T22:53:05.070Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:53:05.359Z] ---> sudo-logs.sh [2022-04-12T22:53:05.359Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-12T22:53:05.386Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:53:05.669Z] ---> job-cost.sh [2022-04-12T22:53:05.669Z] lf-activate-venv: SKIPPING [2022-04-12T22:53:05.669Z] DEBUG: total: 0.2199999988079071 [2022-04-12T22:53:05.669Z] INFO: Retrieving Stack Cost... [2022-04-12T22:53:05.929Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T22:53:06.498Z] INFO: Archiving Costs [Pipeline] echo [2022-04-12T22:53:06.511Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:53:06.797Z] ---> logs-deploy.sh [2022-04-12T22:53:06.797Z] lf-activate-venv: SKIPPING [2022-04-12T22:53:06.797Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1130/3 [2022-04-12T22:53:06.797Z] INFO: archiving workspace using pattern(s): [2022-04-12T22:53:07.738Z] Archives upload complete. [2022-04-12T22:53:07.738Z] INFO: archiving logs to Nexus