Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fad5b8934091ce8d844bc32fca8ede5bda20e4fc+b5ea364822c8c62a095049094fb918b913a19c7c (e63c41ea01081ac3e2c010af76928bd7e889b61d) 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-ssh13363290517925567568.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-ssh17008133466332099014.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-1122/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-1122/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15313881047201704543.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-ssh11808259431560474008.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-1122/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-1122/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16662791020830079778.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 Running on prd-ubuntu20.04-docker-8c-8g-11900 in /w/workspace/gexfoundry_device-sdk-go_PR-1122 [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-1122 # 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 b5ea364822c8c62a095049094fb918b913a19c7c into PR head commit fad5b8934091ce8d844bc32fca8ede5bda20e4fc Merge succeeded, producing cb9a01c67963f71cfe68306ede305dbfc0e18bcb Checking out Revision cb9a01c67963f71cfe68306ede305dbfc0e18bcb (PR-1122) > 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/1122/head:refs/remotes/origin/PR-1122 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb9a01c67963f71cfe68306ede305dbfc0e18bcb # timeout=10 Commit message: "Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD" > git rev-list --no-walk fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T22:40:29.518Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T22:40:29.590Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T22:40:29.608Z] ========================================================= [2022-04-10T22:40:29.608Z] EdgeX Global Pipelines Version Info [2022-04-10T22:40:29.608Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T22:40:30.373Z] ------------------- [2022-04-10T22:40:30.373Z] stable info: [2022-04-10T22:40:30.373Z] ------------------- [2022-04-10T22:40:30.373Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T22:40:30.373Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T22:40:30.373Z] Message: update stable to v1.0.221 [2022-04-10T22:40:30.944Z] ------------------- [2022-04-10T22:40:30.944Z] experimental info: [2022-04-10T22:40:30.944Z] ------------------- [2022-04-10T22:40:30.944Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T22:40:30.944Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T22:40:30.944Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T22:40:31.070Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-10T22:40:31.083Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-10T22:40:31.096Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T22:40:31.105Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T22:40:31.113Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T22:40:31.123Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T22:40:31.137Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T22:40:31.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-10T22:40:31.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T22:40:31.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T22:40:31.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T22:40:31.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-10T22:40:31.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T22:40:31.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T22:40:31.234Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T22:40:31.245Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T22:40:31.256Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T22:40:31.266Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T22:40:31.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T22:40:31.289Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T22:40:31.300Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-10T22:40:31.310Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-10T22:40:31.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T22:40:31.334Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T22:40:31.346Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T22:40:31.368Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T22:40:31.380Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1122 [Pipeline] echo [2022-04-10T22:40:31.391Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1122 [Pipeline] echo [2022-04-10T22:40:31.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1122 [Pipeline] echo [2022-04-10T22:40:31.415Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb9a01c67963f71cfe68306ede305dbfc0e18bcb [Pipeline] echo [2022-04-10T22:40:31.428Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb9a01c [Pipeline] echo [2022-04-10T22:40:31.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T22:40:31.485Z] provisioning config files... [2022-04-10T22:40:31.496Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config4909223758972238630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T22:40:31.795Z] ---> docker-login.sh [2022-04-10T22:40:31.795Z] nexus3.edgexfoundry.org:10001 [2022-04-10T22:40:32.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:32.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:32.054Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:32.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:32.054Z] [2022-04-10T22:40:32.054Z] Login Succeeded [2022-04-10T22:40:32.054Z] nexus3.edgexfoundry.org:10002 [2022-04-10T22:40:32.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:32.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:32.314Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:32.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:32.314Z] [2022-04-10T22:40:32.314Z] Login Succeeded [2022-04-10T22:40:32.314Z] nexus3.edgexfoundry.org:10003 [2022-04-10T22:40:32.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:32.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:32.314Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:32.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:32.314Z] [2022-04-10T22:40:32.314Z] Login Succeeded [2022-04-10T22:40:32.314Z] nexus3.edgexfoundry.org:10004 [2022-04-10T22:40:32.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:32.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:32.574Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:32.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:32.574Z] [2022-04-10T22:40:32.574Z] Login Succeeded [2022-04-10T22:40:32.574Z] docker.io [2022-04-10T22:40:32.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:32.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:32.833Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:32.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:32.833Z] [2022-04-10T22:40:32.833Z] Login Succeeded [2022-04-10T22:40:32.833Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T22:40:32.840Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T22:40:33.202Z] + git rev-list -1 --merges cb9a01c67963f71cfe68306ede305dbfc0e18bcb~1..cb9a01c67963f71cfe68306ede305dbfc0e18bcb [Pipeline] echo [2022-04-10T22:40:33.214Z] -----------> git rev-list -1 --merges cb9a01c67963f71cfe68306ede305dbfc0e18bcb~1..cb9a01c67963f71cfe68306ede305dbfc0e18bcb cb9a01c67963f71cfe68306ede305dbfc0e18bcb [2022-04-10T22:40:33.214Z] cb9a01c67963f71cfe68306ede305dbfc0e18bcb [false] [Pipeline] sh [2022-04-10T22:40:33.506Z] + git log --format=format:%s -1 cb9a01c67963f71cfe68306ede305dbfc0e18bcb [Pipeline] echo [2022-04-10T22:40:33.523Z] ========================================================= [2022-04-10T22:40:33.523Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T22:40:33.523Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T22:40:33.859Z] + git log --format=format:%s -1 cb9a01c67963f71cfe68306ede305dbfc0e18bcb [Pipeline] echo [2022-04-10T22:40:33.878Z] [semverPrep] GIT_COMMIT: cb9a01c67963f71cfe68306ede305dbfc0e18bcb, Commit Message: Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD [Pipeline] echo [2022-04-10T22:40:33.886Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T22:40:34.303Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T22:40:34.303Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T22:40:34.303Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T22:40:34.303Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T22:40:34.303Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T22:40:34.303Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T22:40:34.303Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:40:34.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T22:40:34.720Z] [2022-04-10T22:40:34.720Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:40:35.025Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T22:40:35.025Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T22:40:35.025Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T22:40:35.025Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T22:40:35.025Z] 4c7163046ea9: Pulling fs layer [2022-04-10T22:40:35.025Z] 0c2d73faf560: Pulling fs layer [2022-04-10T22:40:35.025Z] 0c2d73faf560: Waiting [2022-04-10T22:40:35.025Z] 3e5f54012d9b: Verifying Checksum [2022-04-10T22:40:35.025Z] 3e5f54012d9b: Download complete [2022-04-10T22:40:35.025Z] a0d0a0d46f8b: Download complete [2022-04-10T22:40:35.025Z] 0c2d73faf560: Verifying Checksum [2022-04-10T22:40:35.025Z] 0c2d73faf560: Download complete [2022-04-10T22:40:35.025Z] 4c7163046ea9: Download complete [2022-04-10T22:40:35.283Z] a0d0a0d46f8b: Pull complete [2022-04-10T22:40:35.283Z] 3e5f54012d9b: Pull complete [2022-04-10T22:40:35.542Z] 4c7163046ea9: Pull complete [2022-04-10T22:40:35.803Z] 0c2d73faf560: Pull complete [2022-04-10T22:40:35.803Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T22:40:35.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T22:40:35.803Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T22:40:35.870Z] prd-ubuntu20.04-docker-8c-8g-11900 does not seem to be running inside a container [2022-04-10T22:40:35.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T22:40:36.533Z] $ docker top ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T22:40:36.636Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T22:40:36.636Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T22:40:36.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T22:40:36.781Z] $ docker exec ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e ssh-agent [2022-04-10T22:40:36.897Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGjEpbP/agent.14 [2022-04-10T22:40:36.897Z] SSH_AGENT_PID=20 [2022-04-10T22:40:36.906Z] Running ssh-add (command line suppressed) [2022-04-10T22:40:37.021Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_6455046562859339326.key (/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_6455046562859339326.key) [2022-04-10T22:40:37.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T22:40:37.320Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T22:40:37.349Z] $ docker exec --env ******** --env ******** ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e ssh-agent -k [2022-04-10T22:40:37.453Z] unset SSH_AUTH_SOCK; [2022-04-10T22:40:37.453Z] unset SSH_AGENT_PID; [2022-04-10T22:40:37.453Z] echo Agent pid 20 killed; [2022-04-10T22:40:37.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T22:40:37.483Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T22:40:37.483Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T22:40:37.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T22:40:37.605Z] $ docker exec ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e ssh-agent [2022-04-10T22:40:37.738Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaGpknB/agent.52 [2022-04-10T22:40:37.738Z] SSH_AGENT_PID=58 [2022-04-10T22:40:37.743Z] Running ssh-add (command line suppressed) [2022-04-10T22:40:37.859Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_6273265672751348749.key (/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_6273265672751348749.key) [2022-04-10T22:40:37.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T22:40:38.199Z] + git semver init [2022-04-10T22:40:38.199Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T22:40:38.199Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1122/.git [2022-04-10T22:40:38.199Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1122 [2022-04-10T22:40:38.199Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T22:40:38.199Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T22:40:38.199Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T22:40:38.199Z] # $SEMVER_BRANCH = PR-1122 [2022-04-10T22:40:38.199Z] # $SEMVER_TEMP = /tmp/semver-670935932 [2022-04-10T22:40:38.199Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-10T22:40:39.136Z] # '/tmp/semver-670935932' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1122/.semver' [2022-04-10T22:40:39.136Z] # -> Force: false [2022-04-10T22:40:39.136Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1122/.semver [Pipeline] } [2022-04-10T22:40:39.157Z] $ docker exec --env ******** --env ******** ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e ssh-agent -k [2022-04-10T22:40:39.264Z] unset SSH_AUTH_SOCK; [2022-04-10T22:40:39.265Z] unset SSH_AGENT_PID; [2022-04-10T22:40:39.265Z] echo Agent pid 58 killed; [2022-04-10T22:40:39.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T22:40:39.572Z] + git semver [Pipeline] } [2022-04-10T22:40:39.597Z] $ docker stop --time=1 ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e [2022-04-10T22:40:40.998Z] $ docker rm -f ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T22:40:41.337Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T22:40:41.544Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T22:40:41.547Z] [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-10T22:40:41.680Z] provisioning config files... [2022-04-10T22:40:41.690Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config1837017078937180346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T22:40:41.989Z] ---> docker-login.sh [2022-04-10T22:40:41.989Z] nexus3.edgexfoundry.org:10001 [2022-04-10T22:40:41.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:41.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:41.989Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:41.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:41.989Z] [2022-04-10T22:40:41.989Z] Login Succeeded [2022-04-10T22:40:41.989Z] nexus3.edgexfoundry.org:10002 [2022-04-10T22:40:41.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:42.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:42.247Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:42.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:42.247Z] [2022-04-10T22:40:42.247Z] Login Succeeded [2022-04-10T22:40:42.247Z] nexus3.edgexfoundry.org:10003 [2022-04-10T22:40:42.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:42.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:42.247Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:42.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:42.247Z] [2022-04-10T22:40:42.247Z] Login Succeeded [2022-04-10T22:40:42.247Z] nexus3.edgexfoundry.org:10004 [2022-04-10T22:40:42.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:42.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:42.506Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:42.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:42.506Z] [2022-04-10T22:40:42.506Z] Login Succeeded [2022-04-10T22:40:42.506Z] docker.io [2022-04-10T22:40:42.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:42.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:42.770Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:42.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:42.770Z] [2022-04-10T22:40:42.770Z] Login Succeeded [2022-04-10T22:40:42.770Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T22:40:42.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T22:40:42.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T22:40:42.856Z] ========================================================= [2022-04-10T22:40:42.856Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T22:40:42.856Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:40:43.161Z] + 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-10T22:40:43.161Z] Sending build context to Docker daemon 9.587MB [2022-04-10T22:40:43.161Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T22:40:43.161Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T22:40:43.161Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T22:40:43.161Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T22:40:43.161Z] 666ba61612fd: Pulling fs layer [2022-04-10T22:40:43.161Z] 8ed8ca486205: Pulling fs layer [2022-04-10T22:40:43.161Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T22:40:43.161Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T22:40:43.161Z] 640e595b4fbd: Pulling fs layer [2022-04-10T22:40:43.161Z] 763cafe07f6e: Pulling fs layer [2022-04-10T22:40:43.161Z] 0c0b528cf693: Pulling fs layer [2022-04-10T22:40:43.161Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T22:40:43.161Z] 22a0e8bec74d: Waiting [2022-04-10T22:40:43.161Z] 640e595b4fbd: Waiting [2022-04-10T22:40:43.161Z] 763cafe07f6e: Waiting [2022-04-10T22:40:43.161Z] 0c0b528cf693: Waiting [2022-04-10T22:40:43.161Z] 10935f4eaf8b: Waiting [2022-04-10T22:40:43.161Z] 4fe6c5a15a65: Waiting [2022-04-10T22:40:43.161Z] 8ed8ca486205: Download complete [2022-04-10T22:40:43.421Z] 666ba61612fd: Download complete [2022-04-10T22:40:43.421Z] 22a0e8bec74d: Download complete [2022-04-10T22:40:43.421Z] 640e595b4fbd: Download complete [2022-04-10T22:40:43.421Z] 59bf1c3509f3: Verifying Checksum [2022-04-10T22:40:43.421Z] 59bf1c3509f3: Download complete [2022-04-10T22:40:43.421Z] 763cafe07f6e: Verifying Checksum [2022-04-10T22:40:43.421Z] 763cafe07f6e: Download complete [2022-04-10T22:40:43.421Z] 0c0b528cf693: Verifying Checksum [2022-04-10T22:40:43.421Z] 0c0b528cf693: Download complete [2022-04-10T22:40:43.421Z] 59bf1c3509f3: Pull complete [2022-04-10T22:40:43.681Z] 666ba61612fd: Pull complete [2022-04-10T22:40:43.681Z] 8ed8ca486205: Pull complete [2022-04-10T22:40:44.253Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T22:40:44.253Z] 10935f4eaf8b: Download complete [2022-04-10T22:40:44.253Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T22:40:44.253Z] 4fe6c5a15a65: Download complete [2022-04-10T22:40:48.450Z] 4fe6c5a15a65: Pull complete [2022-04-10T22:40:48.450Z] 22a0e8bec74d: Pull complete [2022-04-10T22:40:48.450Z] 640e595b4fbd: Pull complete [2022-04-10T22:40:48.450Z] 763cafe07f6e: Pull complete [2022-04-10T22:40:48.450Z] 0c0b528cf693: Pull complete [2022-04-10T22:40:50.988Z] 10935f4eaf8b: Pull complete [2022-04-10T22:40:50.988Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T22:40:50.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T22:40:50.988Z] ---> 99d49a6021b9 [2022-04-10T22:40:50.988Z] Step 3/11 : ARG MAKE=make build [2022-04-10T22:40:52.373Z] ---> Running in 24d47b828bf9 [2022-04-10T22:40:52.373Z] Removing intermediate container 24d47b828bf9 [2022-04-10T22:40:52.373Z] ---> 674f1a3dedf7 [2022-04-10T22:40:52.373Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-10T22:40:52.373Z] ---> Running in 2789707e6619 [2022-04-10T22:40:52.373Z] Removing intermediate container 2789707e6619 [2022-04-10T22:40:52.373Z] ---> c2ebeb908e9c [2022-04-10T22:40:52.373Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T22:40:52.373Z] ---> Running in 07293ed80bb3 [2022-04-10T22:40:52.634Z] Removing intermediate container 07293ed80bb3 [2022-04-10T22:40:52.634Z] ---> d04a3f30fb5a [2022-04-10T22:40:52.634Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T22:40:52.634Z] ---> Running in b6485efcc6d0 [2022-04-10T22:40:53.205Z] Removing intermediate container b6485efcc6d0 [2022-04-10T22:40:53.205Z] ---> 4a40b7a2c865 [2022-04-10T22:40:53.205Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T22:40:53.205Z] ---> Running in d26264d29a90 [2022-04-10T22:40:53.465Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T22:40:54.408Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T22:40:54.667Z] OK: 221 MiB in 52 packages [2022-04-10T22:40:54.928Z] Removing intermediate container d26264d29a90 [2022-04-10T22:40:54.928Z] ---> 828352a2d101 [2022-04-10T22:40:54.928Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T22:40:55.187Z] ---> 6356b86bdcef [2022-04-10T22:40:55.187Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T22:40:55.187Z] ---> Running in a6ec87d2b8f0 [2022-04-10T22:40:56.635Z] Still waiting to schedule task [2022-04-10T22:40:56.636Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-10T22:41:10.087Z] Removing intermediate container a6ec87d2b8f0 [2022-04-10T22:41:10.088Z] ---> 2c62713b0c36 [2022-04-10T22:41:10.088Z] Step 10/11 : COPY . . [2022-04-10T22:41:10.088Z] ---> 253e9c1558f6 [2022-04-10T22:41:10.088Z] Step 11/11 : RUN ${MAKE} [2022-04-10T22:41:10.088Z] ---> Running in ed3b537de0e4 [2022-04-10T22:41:10.088Z] noop [2022-04-10T22:41:10.088Z] Removing intermediate container ed3b537de0e4 [2022-04-10T22:41:10.088Z] ---> 2992335695fa [2022-04-10T22:41:10.088Z] Successfully built 2992335695fa [2022-04-10T22:41:10.088Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:41:10.384Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T22:41:10.384Z] . [Pipeline] withDockerContainer [2022-04-10T22:41:10.461Z] prd-ubuntu20.04-docker-8c-8g-11900 does not seem to be running inside a container [2022-04-10T22:41:10.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@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 ******** ci-base-image-x86_64 cat [2022-04-10T22:41:10.899Z] $ docker top 5632c8411134a2aa51237fe30e496dad2756dbae39512bb837ff3bf9768770b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T22:41:11.253Z] + go version [2022-04-10T22:41:11.253Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T22:41:11.277Z] $ docker stop --time=1 5632c8411134a2aa51237fe30e496dad2756dbae39512bb837ff3bf9768770b7 [2022-04-10T22:41:12.588Z] $ docker rm -f 5632c8411134a2aa51237fe30e496dad2756dbae39512bb837ff3bf9768770b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:41:12.985Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T22:41:12.985Z] . [Pipeline] withDockerContainer [2022-04-10T22:41:13.056Z] prd-ubuntu20.04-docker-8c-8g-11900 does not seem to be running inside a container [2022-04-10T22:41:13.101Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@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 ******** ci-base-image-x86_64 cat [2022-04-10T22:41:13.489Z] $ docker top 7db4744f8167632c2e9439fd61a787045e27998bee7119c2151d1fee3573bc24 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T22:41:13.845Z] + make test [2022-04-10T22:41:13.845Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-10T22:41:14.104Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-10T22:41:24.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.017s coverage: 23.3% of statements [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-10T22:41:24.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.011s coverage: 27.6% of statements [2022-04-10T22:41:24.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.020s coverage: 78.9% of statements [2022-04-10T22:41:24.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.015s coverage: 10.8% of statements [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-10T22:41:24.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.038s coverage: 33.2% of statements [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-10T22:41:24.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.011s coverage: 86.1% of statements [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-10T22:41:24.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.018s coverage: 57.4% of statements [2022-04-10T22:41:24.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.045s coverage: 89.2% of statements [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-10T22:41:24.091Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.018s coverage: 4.8% of statements [2022-04-10T22:41:24.091Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-10T22:41:32.212Z] GO111MODULE=on go vet ./... [2022-04-10T22:41:34.753Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T22:41:34.753Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T22:41:34.753Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T22:41:35.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T22:41:35.362Z] $ docker stop --time=1 7db4744f8167632c2e9439fd61a787045e27998bee7119c2151d1fee3573bc24 [2022-04-10T22:41:37.190Z] $ docker rm -f 7db4744f8167632c2e9439fd61a787045e27998bee7119c2151d1fee3573bc24 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T22:41:37.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T22:41:37.689Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T22:41:38.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T22:41:38.962Z] + ls -al . [2022-04-10T22:41:38.962Z] total 316 [2022-04-10T22:41:38.962Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 22:41 . [2022-04-10T22:41:38.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 22:40 .. [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 22:40 .dockerignore [2022-04-10T22:41:38.962Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 22:40 .git [2022-04-10T22:41:38.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 22:40 .github [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 22:40 .gitignore [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 22:40 .golangci.yml [2022-04-10T22:41:38.962Z] drwx------ 3 jenkins jenkins 4096 Apr 10 22:40 .semver [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 22:40 CHANGELOG.md [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 22:40 GOVERNANCE.md [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 22:40 Jenkinsfile [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 22:40 LICENSE [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 22:40 Makefile [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 22:40 OWNERS.md [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 22:40 README.md [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 22:40 VERSION [2022-04-10T22:41:38.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 22:40 bin [2022-04-10T22:41:38.962Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 22:41 coverage.out [2022-04-10T22:41:38.962Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 22:40 example [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 10 22:40 go.mod [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 53784 Apr 10 22:40 go.sum [2022-04-10T22:41:38.962Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 22:40 internal [2022-04-10T22:41:38.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 22:40 openapi [2022-04-10T22:41:38.962Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 22:40 pkg [2022-04-10T22:41:38.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 22:40 snap [2022-04-10T22:41:38.962Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 22:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:41:39.261Z] + 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=cb9a01c67963f71cfe68306ede305dbfc0e18bcb --label arch=amd64 --label version=0.0.0 . [2022-04-10T22:41:39.261Z] Sending build context to Docker daemon 9.717MB [2022-04-10T22:41:39.261Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T22:41:39.261Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T22:41:39.261Z] ---> 2992335695fa [2022-04-10T22:41:39.261Z] Step 3/25 : ARG MAKE=make build [2022-04-10T22:41:39.261Z] ---> Running in 6839d9cf2e8c [2022-04-10T22:41:39.520Z] Removing intermediate container 6839d9cf2e8c [2022-04-10T22:41:39.520Z] ---> aaea687d7910 [2022-04-10T22:41:39.520Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-10T22:41:39.521Z] ---> Running in f2bd0c25a12b [2022-04-10T22:41:39.521Z] Removing intermediate container f2bd0c25a12b [2022-04-10T22:41:39.521Z] ---> 6ecb0865e8e1 [2022-04-10T22:41:39.521Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T22:41:39.521Z] ---> Running in 9a2246633246 [2022-04-10T22:41:39.780Z] Removing intermediate container 9a2246633246 [2022-04-10T22:41:39.780Z] ---> e9884e497b6b [2022-04-10T22:41:39.780Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T22:41:39.780Z] ---> Running in 940655867f2d [2022-04-10T22:41:40.349Z] Removing intermediate container 940655867f2d [2022-04-10T22:41:40.349Z] ---> 32a9353d87e2 [2022-04-10T22:41:40.349Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T22:41:40.349Z] ---> Running in d051c38491f6 [2022-04-10T22:41:40.609Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T22:41:41.610Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T22:41:41.880Z] OK: 221 MiB in 52 packages [2022-04-10T22:41:42.149Z] Removing intermediate container d051c38491f6 [2022-04-10T22:41:42.149Z] ---> 8e30d77966fc [2022-04-10T22:41:42.149Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T22:41:42.409Z] ---> 4ffbd11056d7 [2022-04-10T22:41:42.409Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T22:41:42.409Z] ---> Running in 0113946e526f [2022-04-10T22:41:42.980Z] Removing intermediate container 0113946e526f [2022-04-10T22:41:42.980Z] ---> b67296763cfb [2022-04-10T22:41:42.980Z] Step 10/25 : COPY . . [2022-04-10T22:41:43.551Z] ---> adea5b367992 [2022-04-10T22:41:43.551Z] Step 11/25 : RUN ${MAKE} [2022-04-10T22:41:43.551Z] ---> Running in c48bbb6fa29d [2022-04-10T22:41:43.811Z] 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-10T22:42:01.916Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-10T22:42:02.176Z] Removing intermediate container c48bbb6fa29d [2022-04-10T22:42:02.176Z] ---> b0a342ddafe8 [2022-04-10T22:42:02.176Z] Step 12/25 : FROM alpine:3.14 [2022-04-10T22:42:02.746Z] 3.14: Pulling from library/alpine [2022-04-10T22:42:02.746Z] 8663204ce13b: Pulling fs layer [2022-04-10T22:42:03.005Z] 8663204ce13b: Verifying Checksum [2022-04-10T22:42:03.005Z] 8663204ce13b: Download complete [2022-04-10T22:42:03.263Z] 8663204ce13b: Pull complete [2022-04-10T22:42:03.263Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T22:42:03.263Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T22:42:03.263Z] ---> e04c818066af [2022-04-10T22:42:03.263Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T22:42:03.263Z] ---> Running in ac8d6acd650d [2022-04-10T22:42:03.263Z] Removing intermediate container ac8d6acd650d [2022-04-10T22:42:03.263Z] ---> 3a408c36160f [2022-04-10T22:42:03.263Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T22:42:03.263Z] ---> Running in f47052ab26bc [2022-04-10T22:42:03.845Z] Removing intermediate container f47052ab26bc [2022-04-10T22:42:03.845Z] ---> 4775e53ffc2b [2022-04-10T22:42:03.845Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T22:42:04.107Z] ---> Running in fb15b8fc41f1 [2022-04-10T22:42:04.367Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-10T22:42:05.307Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-10T22:42:05.307Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T22:42:05.567Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T22:42:05.567Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T22:42:05.567Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T22:42:05.827Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T22:42:05.827Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T22:42:05.827Z] OK: 8 MiB in 19 packages [2022-04-10T22:42:06.399Z] Removing intermediate container fb15b8fc41f1 [2022-04-10T22:42:06.399Z] ---> 83dca6b0fc08 [2022-04-10T22:42:06.399Z] Step 16/25 : WORKDIR / [2022-04-10T22:42:06.399Z] ---> Running in bfca43581338 [2022-04-10T22:42:06.399Z] Removing intermediate container bfca43581338 [2022-04-10T22:42:06.399Z] ---> e225a1ea84b1 [2022-04-10T22:42:06.399Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-10T22:42:06.399Z] ---> 3e5bd12133ba [2022-04-10T22:42:06.399Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-10T22:42:06.968Z] ---> 742ae6443dcb [2022-04-10T22:42:06.968Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-10T22:42:07.227Z] ---> fc30f7483330 [2022-04-10T22:42:07.227Z] Step 20/25 : EXPOSE 59999 [2022-04-10T22:42:07.227Z] ---> Running in a465e607ad95 [2022-04-10T22:42:07.227Z] Removing intermediate container a465e607ad95 [2022-04-10T22:42:07.227Z] ---> 3f648fffe824 [2022-04-10T22:42:07.227Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-10T22:42:07.490Z] ---> Running in f9b1e8efcf35 [2022-04-10T22:42:07.490Z] Removing intermediate container f9b1e8efcf35 [2022-04-10T22:42:07.490Z] ---> 85341b2cf38f [2022-04-10T22:42:07.490Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T22:42:07.490Z] ---> Running in 9c37236c6f81 [2022-04-10T22:42:07.491Z] Removing intermediate container 9c37236c6f81 [2022-04-10T22:42:07.491Z] ---> 03cdb4ba28aa [2022-04-10T22:42:07.491Z] Step 23/25 : LABEL arch=amd64 [2022-04-10T22:42:07.751Z] ---> Running in 18e754197033 [2022-04-10T22:42:07.751Z] Removing intermediate container 18e754197033 [2022-04-10T22:42:07.751Z] ---> 8e75417a1cbf [2022-04-10T22:42:07.751Z] Step 24/25 : LABEL git_sha=cb9a01c67963f71cfe68306ede305dbfc0e18bcb [2022-04-10T22:42:07.751Z] ---> Running in f3995173600e [2022-04-10T22:42:07.751Z] Removing intermediate container f3995173600e [2022-04-10T22:42:07.751Z] ---> ea5bfbedb5c2 [2022-04-10T22:42:07.751Z] Step 25/25 : LABEL version=0.0.0 [2022-04-10T22:42:08.013Z] ---> Running in 0825a6ebdb8b [2022-04-10T22:42:08.013Z] Removing intermediate container 0825a6ebdb8b [2022-04-10T22:42:08.013Z] ---> b5f7af8b221e [2022-04-10T22:42:08.013Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T22:42:08.013Z] Successfully built b5f7af8b221e [2022-04-10T22:42:08.013Z] 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-10T22:42:08.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T22:42:08.429Z] [2022-04-10T22:42:08.429Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:42:08.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T22:42:08.731Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T22:42:08.731Z] 5eb5b503b376: Pulling fs layer [2022-04-10T22:42:08.731Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T22:42:08.731Z] ec43610c2a17: Pulling fs layer [2022-04-10T22:42:08.731Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T22:42:08.731Z] 33b1e0a273af: Pulling fs layer [2022-04-10T22:42:08.731Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T22:42:08.731Z] 2f39f015ded8: Pulling fs layer [2022-04-10T22:42:08.731Z] 33b1e0a273af: Waiting [2022-04-10T22:42:08.731Z] 5d3b04190fa2: Waiting [2022-04-10T22:42:08.731Z] 2f39f015ded8: Waiting [2022-04-10T22:42:08.731Z] 3a2ae6a8a46f: Waiting [2022-04-10T22:42:08.731Z] 5c69ac0246d0: Verifying Checksum [2022-04-10T22:42:08.731Z] 5c69ac0246d0: Download complete [2022-04-10T22:42:08.731Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T22:42:08.731Z] 3a2ae6a8a46f: Download complete [2022-04-10T22:42:08.731Z] 33b1e0a273af: Verifying Checksum [2022-04-10T22:42:08.731Z] 33b1e0a273af: Download complete [2022-04-10T22:42:08.731Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T22:42:08.731Z] 5d3b04190fa2: Download complete [2022-04-10T22:42:08.731Z] ec43610c2a17: Verifying Checksum [2022-04-10T22:42:08.731Z] ec43610c2a17: Download complete [2022-04-10T22:42:08.989Z] 5eb5b503b376: Verifying Checksum [2022-04-10T22:42:08.989Z] 5eb5b503b376: Download complete [2022-04-10T22:42:09.558Z] 2f39f015ded8: Verifying Checksum [2022-04-10T22:42:09.558Z] 2f39f015ded8: Download complete [2022-04-10T22:42:10.128Z] 5eb5b503b376: Pull complete [2022-04-10T22:42:10.387Z] 5c69ac0246d0: Pull complete [2022-04-10T22:42:10.954Z] ec43610c2a17: Pull complete [2022-04-10T22:42:10.954Z] 3a2ae6a8a46f: Pull complete [2022-04-10T22:42:11.213Z] 33b1e0a273af: Pull complete [2022-04-10T22:42:11.213Z] 5d3b04190fa2: Pull complete [2022-04-10T22:42:15.401Z] 2f39f015ded8: Pull complete [2022-04-10T22:42:15.401Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T22:42:15.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T22:42:15.401Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T22:42:15.462Z] prd-ubuntu20.04-docker-8c-8g-11900 does not seem to be running inside a container [2022-04-10T22:42:15.506Z] $ 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-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T22:42:17.189Z] $ docker top 62a7a72a8626d59758ca59afb14258f2d20866e976dae822b7c4fc1874d1349a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T22:42:17.619Z] ---> job-cost.sh [2022-04-10T22:42:17.619Z] lf-activate-venv: SKIPPING [2022-04-10T22:42:17.619Z] INFO: No Stack... [2022-04-10T22:42:17.879Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T22:42:18.447Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T22:42:18.741Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/cost.csv [2022-04-10T22:42:18.741Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T22:42:18.756Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] [2022-04-10T22:42:18.762Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] did not exist. Created. [2022-04-10T22:42:18.762Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T22:42:19.065Z] + echo total: 0.6600000262260437 [Pipeline] stash [2022-04-10T22:42:19.104Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T22:42:19.114Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T22:42:19.144Z] $ docker stop --time=1 62a7a72a8626d59758ca59afb14258f2d20866e976dae822b7c4fc1874d1349a [2022-04-10T22:42:20.318Z] $ docker rm -f 62a7a72a8626d59758ca59afb14258f2d20866e976dae822b7c4fc1874d1349a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T23:05:08.562Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19347 in /w/workspace/gexfoundry_device-sdk-go_PR-1122 [Pipeline] { [Pipeline] ws [2022-04-10T23:05:08.575Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-04-10T23:05:09.147Z] The recommended git tool is: git [2022-04-10T23:05:18.040Z] using credential edgex-jenkins-ssh [2022-04-10T23:05:18.064Z] Cloning the remote Git repository [2022-04-10T23:05:18.198Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-10T23:05:18.308Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-04-10T23:05:18.465Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-10T23:05:18.467Z] > git --version # timeout=10 [2022-04-10T23:05:18.517Z] > git --version # 'git version 2.25.1' [2022-04-10T23:05:18.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T23:05:18.676Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T23:05:20.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-10T23:05:20.508Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T23:05:20.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-10T23:05:20.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-10T23:05:20.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T23:05:20.601Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1122/head:refs/remotes/origin/PR-1122 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-10T23:05:21.199Z] Merging remotes/origin/main commit b5ea364822c8c62a095049094fb918b913a19c7c into PR head commit fad5b8934091ce8d844bc32fca8ede5bda20e4fc [2022-04-10T23:05:21.589Z] Merge succeeded, producing e935a8832cfbfe53789e0847d752cbd1c364582c [2022-04-10T23:05:21.589Z] Checking out Revision e935a8832cfbfe53789e0847d752cbd1c364582c (PR-1122) [2022-04-10T23:05:21.234Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T23:05:21.255Z] > git checkout -f fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 [2022-04-10T23:05:21.401Z] > git remote # timeout=10 [2022-04-10T23:05:21.424Z] > git config --get remote.origin.url # timeout=10 [2022-04-10T23:05:21.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T23:05:21.464Z] > git merge b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 [2022-04-10T23:05:21.573Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-10T23:05:21.604Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T23:05:21.622Z] > git checkout -f e935a8832cfbfe53789e0847d752cbd1c364582c # timeout=10 [2022-04-10T23:05:26.298Z] Commit message: "Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD" [2022-04-10T23:05:26.315Z] > git rev-list --no-walk fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T23:05:27.339Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T23:05:27.339Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T23:05:27.339Z] Dload Upload Total Spent Left Speed [2022-04-10T23:05:27.339Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2022-04-10T23:05:28.127Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T23:05:28.516Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T23:05:28.516Z] + sudo tee /etc/docker/daemon.new [2022-04-10T23:05:28.516Z] { [2022-04-10T23:05:28.516Z] "registry-mirrors": [ [2022-04-10T23:05:28.516Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T23:05:28.516Z] ], [2022-04-10T23:05:28.516Z] "bip": "10.250.0.254/24", [2022-04-10T23:05:28.516Z] "hosts": [ [2022-04-10T23:05:28.516Z] "tcp://0.0.0.0:5555", [2022-04-10T23:05:28.516Z] "unix:///var/run/docker.sock" [2022-04-10T23:05:28.516Z] ], [2022-04-10T23:05:28.516Z] "mtu": 1458, [2022-04-10T23:05:28.516Z] "selinux-enabled": true, [2022-04-10T23:05:28.516Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T23:05:28.516Z] } [Pipeline] sh [2022-04-10T23:05:28.884Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T23:05:29.248Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T23:05:47.677Z] provisioning config files... [2022-04-10T23:05:47.715Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4361859934899740526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:05:48.120Z] ---> docker-login.sh [2022-04-10T23:05:48.120Z] nexus3.edgexfoundry.org:10001 [2022-04-10T23:05:48.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:05:49.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:05:49.336Z] Configure a credential helper to remove this warning. See [2022-04-10T23:05:49.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:05:49.336Z] [2022-04-10T23:05:49.336Z] Login Succeeded [2022-04-10T23:05:49.336Z] nexus3.edgexfoundry.org:10002 [2022-04-10T23:05:49.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:05:49.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:05:49.890Z] Configure a credential helper to remove this warning. See [2022-04-10T23:05:49.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:05:49.890Z] [2022-04-10T23:05:49.890Z] Login Succeeded [2022-04-10T23:05:49.890Z] nexus3.edgexfoundry.org:10003 [2022-04-10T23:05:50.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:05:50.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:05:50.456Z] Configure a credential helper to remove this warning. See [2022-04-10T23:05:50.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:05:50.456Z] [2022-04-10T23:05:50.456Z] Login Succeeded [2022-04-10T23:05:50.456Z] nexus3.edgexfoundry.org:10004 [2022-04-10T23:05:50.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:05:51.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:05:51.012Z] Configure a credential helper to remove this warning. See [2022-04-10T23:05:51.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:05:51.012Z] [2022-04-10T23:05:51.012Z] Login Succeeded [2022-04-10T23:05:51.012Z] docker.io [2022-04-10T23:05:51.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:05:51.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:05:51.896Z] Configure a credential helper to remove this warning. See [2022-04-10T23:05:51.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:05:51.896Z] [2022-04-10T23:05:51.896Z] Login Succeeded [2022-04-10T23:05:51.896Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T23:05:51.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T23:05:52.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T23:05:52.294Z] ========================================================= [2022-04-10T23:05:52.294Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T23:05:52.294Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:05:52.676Z] + 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-10T23:05:53.290Z] Sending build context to Docker daemon 5.175MB [2022-04-10T23:05:53.290Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T23:05:53.290Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T23:05:53.577Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T23:05:53.577Z] 9b3977197b4f: Pulling fs layer [2022-04-10T23:05:53.577Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T23:05:53.577Z] 94645a83ff95: Pulling fs layer [2022-04-10T23:05:53.577Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T23:05:53.577Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T23:05:53.577Z] f7c0051592d6: Pulling fs layer [2022-04-10T23:05:53.577Z] a227ed2f7395: Pulling fs layer [2022-04-10T23:05:53.577Z] 7b1c46037f91: Pulling fs layer [2022-04-10T23:05:53.577Z] 3f3a8bcf1eab: Waiting [2022-04-10T23:05:53.577Z] 0c92f367c5e7: Waiting [2022-04-10T23:05:53.577Z] f7c0051592d6: Waiting [2022-04-10T23:05:53.577Z] a227ed2f7395: Waiting [2022-04-10T23:05:53.577Z] 7b1c46037f91: Waiting [2022-04-10T23:05:53.577Z] 94645a83ff95: Verifying Checksum [2022-04-10T23:05:53.577Z] 94645a83ff95: Download complete [2022-04-10T23:05:53.577Z] 1a89e8eeedd5: Verifying Checksum [2022-04-10T23:05:53.577Z] 1a89e8eeedd5: Download complete [2022-04-10T23:05:53.577Z] 0c92f367c5e7: Verifying Checksum [2022-04-10T23:05:53.577Z] 0c92f367c5e7: Download complete [2022-04-10T23:05:53.577Z] f7c0051592d6: Verifying Checksum [2022-04-10T23:05:53.577Z] f7c0051592d6: Download complete [2022-04-10T23:05:53.577Z] 9b3977197b4f: Download complete [2022-04-10T23:05:53.577Z] a227ed2f7395: Verifying Checksum [2022-04-10T23:05:53.577Z] a227ed2f7395: Download complete [2022-04-10T23:05:54.581Z] 9b3977197b4f: Pull complete [2022-04-10T23:05:55.195Z] 1a89e8eeedd5: Pull complete [2022-04-10T23:05:55.803Z] 94645a83ff95: Pull complete [2022-04-10T23:05:56.081Z] 7b1c46037f91: Verifying Checksum [2022-04-10T23:05:56.081Z] 7b1c46037f91: Download complete [2022-04-10T23:05:56.687Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T23:05:56.687Z] 3f3a8bcf1eab: Download complete [2022-04-10T23:06:11.872Z] 3f3a8bcf1eab: Pull complete [2022-04-10T23:06:11.872Z] 0c92f367c5e7: Pull complete [2022-04-10T23:06:11.872Z] f7c0051592d6: Pull complete [2022-04-10T23:06:11.872Z] a227ed2f7395: Pull complete [2022-04-10T23:06:18.633Z] 7b1c46037f91: Pull complete [2022-04-10T23:06:18.633Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T23:06:18.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T23:06:18.633Z] ---> f79e39bc4007 [2022-04-10T23:06:18.633Z] Step 3/11 : ARG MAKE=make build [2022-04-10T23:06:19.646Z] ---> Running in 45747e6467d5 [2022-04-10T23:06:19.928Z] Removing intermediate container 45747e6467d5 [2022-04-10T23:06:19.928Z] ---> dd6719dbd49a [2022-04-10T23:06:19.928Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-10T23:06:19.928Z] ---> Running in 2b776efb5a3f [2022-04-10T23:06:20.546Z] Removing intermediate container 2b776efb5a3f [2022-04-10T23:06:20.546Z] ---> bc44ad7a495a [2022-04-10T23:06:20.546Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T23:06:20.546Z] ---> Running in b2ad8f77bdfa [2022-04-10T23:06:22.021Z] Removing intermediate container b2ad8f77bdfa [2022-04-10T23:06:22.021Z] ---> adac0c6b1575 [2022-04-10T23:06:22.021Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T23:06:22.021Z] ---> Running in 6eeb69d2c12f [2022-04-10T23:06:24.698Z] Removing intermediate container 6eeb69d2c12f [2022-04-10T23:06:24.698Z] ---> d6b5cf048eaa [2022-04-10T23:06:24.698Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T23:06:24.698Z] ---> Running in 697f977d3a4d [2022-04-10T23:06:25.696Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T23:06:26.693Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T23:06:27.689Z] OK: 220 MiB in 52 packages [2022-04-10T23:06:28.691Z] Removing intermediate container 697f977d3a4d [2022-04-10T23:06:28.691Z] ---> 6b06c19cffa5 [2022-04-10T23:06:28.691Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T23:06:29.315Z] ---> 08a193eb7e4b [2022-04-10T23:06:29.315Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T23:06:29.315Z] ---> Running in 2366845ab1bf [2022-04-10T23:07:25.943Z] Removing intermediate container 2366845ab1bf [2022-04-10T23:07:25.943Z] ---> 359b3ff5c4fc [2022-04-10T23:07:25.943Z] Step 10/11 : COPY . . [2022-04-10T23:07:25.943Z] ---> 01f596069fdb [2022-04-10T23:07:25.943Z] Step 11/11 : RUN ${MAKE} [2022-04-10T23:07:25.943Z] ---> Running in 80016dbaba80 [2022-04-10T23:07:25.943Z] noop [2022-04-10T23:07:25.943Z] Removing intermediate container 80016dbaba80 [2022-04-10T23:07:25.943Z] ---> f805e7d52283 [2022-04-10T23:07:25.943Z] Successfully built f805e7d52283 [2022-04-10T23:07:25.943Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:07:26.307Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T23:07:26.307Z] . [Pipeline] withDockerContainer [2022-04-10T23:07:26.608Z] prd-ubuntu20.04-docker-arm64-4c-16g-19347 does not seem to be running inside a container [2022-04-10T23:07:26.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T23:07:28.271Z] $ docker top 96500de7d14454ce200902f103a2377434e7269297f552508e230c777f471a7e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T23:07:29.235Z] + go version [2022-04-10T23:07:29.235Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T23:07:29.273Z] $ docker stop --time=1 96500de7d14454ce200902f103a2377434e7269297f552508e230c777f471a7e [2022-04-10T23:07:31.097Z] $ docker rm -f 96500de7d14454ce200902f103a2377434e7269297f552508e230c777f471a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:07:31.782Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T23:07:31.783Z] . [Pipeline] withDockerContainer [2022-04-10T23:07:32.072Z] prd-ubuntu20.04-docker-arm64-4c-16g-19347 does not seem to be running inside a container [2022-04-10T23:07:32.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T23:07:33.711Z] $ docker top c2e1ade28788d178f8853651b6f6e282746f5cec558ace309b55e307c08878eb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T23:07:34.698Z] + make test [2022-04-10T23:07:34.698Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-10T23:07:37.378Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-10T23:09:29.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-10T23:09:29.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-10T23:09:29.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-10T23:09:29.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.109s coverage: 23.3% of statements [2022-04-10T23:09:29.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-10T23:09:29.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.102s coverage: 27.6% of statements [2022-04-10T23:09:29.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2022-04-10T23:09:29.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.074s coverage: 10.8% of statements [2022-04-10T23:09:29.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-10T23:09:29.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-10T23:09:29.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-10T23:09:29.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 33.2% of statements [2022-04-10T23:09:29.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-10T23:09:30.447Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.117s coverage: 86.1% of statements [2022-04-10T23:09:30.447Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-10T23:09:30.447Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-10T23:09:30.447Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.116s coverage: 57.4% of statements [2022-04-10T23:09:30.447Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.191s coverage: 89.2% of statements [2022-04-10T23:09:30.447Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-10T23:09:35.897Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.074s coverage: 4.8% of statements [2022-04-10T23:09:35.897Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-10T23:09:36.179Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T23:09:36.179Z] GO111MODULE=on go vet ./... [2022-04-10T23:10:08.630Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T23:10:08.630Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T23:10:08.630Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T23:10:10.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T23:10:10.675Z] $ docker stop --time=1 c2e1ade28788d178f8853651b6f6e282746f5cec558ace309b55e307c08878eb [2022-04-10T23:10:12.507Z] $ docker rm -f c2e1ade28788d178f8853651b6f6e282746f5cec558ace309b55e307c08878eb [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T23:10:13.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T23:10:13.600Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T23:10:14.321Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T23:10:14.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T23:10:15.065Z] + ls -al . [2022-04-10T23:10:15.066Z] total 312 [2022-04-10T23:10:15.066Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 23:10 . [2022-04-10T23:10:15.066Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:05 .. [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 23:05 .dockerignore [2022-04-10T23:10:15.066Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 23:05 .git [2022-04-10T23:10:15.066Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:05 .github [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 23:05 .gitignore [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 23:05 .golangci.yml [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 23:05 CHANGELOG.md [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 23:05 GOVERNANCE.md [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 23:05 Jenkinsfile [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 23:05 LICENSE [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 23:05 Makefile [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 23:05 OWNERS.md [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 23:05 README.md [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 22:40 VERSION [2022-04-10T23:10:15.066Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:05 bin [2022-04-10T23:10:15.066Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 23:09 coverage.out [2022-04-10T23:10:15.066Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 23:05 example [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 10 23:05 go.mod [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 53784 Apr 10 23:05 go.sum [2022-04-10T23:10:15.066Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 23:05 internal [2022-04-10T23:10:15.066Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:05 openapi [2022-04-10T23:10:15.066Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 23:05 pkg [2022-04-10T23:10:15.066Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:05 snap [2022-04-10T23:10:15.066Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 23:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:10:15.425Z] + 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=e935a8832cfbfe53789e0847d752cbd1c364582c --label arch=arm64 --label version=0.0.0 . [2022-04-10T23:10:16.030Z] Sending build context to Docker daemon 5.304MB [2022-04-10T23:10:16.030Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T23:10:16.030Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T23:10:16.030Z] ---> f805e7d52283 [2022-04-10T23:10:16.030Z] Step 3/25 : ARG MAKE=make build [2022-04-10T23:10:16.030Z] ---> Running in a0616fdb4c6a [2022-04-10T23:10:16.322Z] Removing intermediate container a0616fdb4c6a [2022-04-10T23:10:16.322Z] ---> b4c1758e7c64 [2022-04-10T23:10:16.322Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-10T23:10:16.599Z] ---> Running in d53183fd4d48 [2022-04-10T23:10:16.878Z] Removing intermediate container d53183fd4d48 [2022-04-10T23:10:16.878Z] ---> 274c8f8bcbfc [2022-04-10T23:10:16.878Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T23:10:16.878Z] ---> Running in df892b726f7b [2022-04-10T23:10:17.172Z] Removing intermediate container df892b726f7b [2022-04-10T23:10:17.172Z] ---> cb42010569c4 [2022-04-10T23:10:17.172Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T23:10:17.449Z] ---> Running in fb8213946644 [2022-04-10T23:10:19.464Z] Removing intermediate container fb8213946644 [2022-04-10T23:10:19.464Z] ---> bdc14380a4e8 [2022-04-10T23:10:19.464Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T23:10:19.464Z] ---> Running in 3a51c8a643be [2022-04-10T23:10:20.456Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T23:10:21.054Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T23:10:22.500Z] OK: 220 MiB in 52 packages [2022-04-10T23:10:23.103Z] Removing intermediate container 3a51c8a643be [2022-04-10T23:10:23.103Z] ---> 07c924a7ce6f [2022-04-10T23:10:23.103Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T23:10:23.705Z] ---> 2ddf2f529f11 [2022-04-10T23:10:23.705Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T23:10:23.705Z] ---> Running in 3e63626ee456 [2022-04-10T23:10:25.691Z] Removing intermediate container 3e63626ee456 [2022-04-10T23:10:25.691Z] ---> 0dfa670bb01e [2022-04-10T23:10:25.691Z] Step 10/25 : COPY . . [2022-04-10T23:10:27.142Z] ---> 824bda5844ec [2022-04-10T23:10:27.142Z] Step 11/25 : RUN ${MAKE} [2022-04-10T23:10:27.142Z] ---> Running in 5136e4b54ebf [2022-04-10T23:10:28.127Z] 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-10T23:12:50.100Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-10T23:12:55.555Z] Removing intermediate container 5136e4b54ebf [2022-04-10T23:12:55.555Z] ---> 30843a79b1d8 [2022-04-10T23:12:55.555Z] Step 12/25 : FROM alpine:3.14 [2022-04-10T23:12:55.832Z] 3.14: Pulling from library/alpine [2022-04-10T23:12:56.108Z] 455c02918c45: Pulling fs layer [2022-04-10T23:12:56.392Z] 455c02918c45: Verifying Checksum [2022-04-10T23:12:56.392Z] 455c02918c45: Download complete [2022-04-10T23:12:57.007Z] 455c02918c45: Pull complete [2022-04-10T23:12:57.007Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T23:12:57.007Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T23:12:57.007Z] ---> ac73e934f311 [2022-04-10T23:12:57.007Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T23:12:57.287Z] ---> Running in 8db588b2ff1d [2022-04-10T23:12:57.567Z] Removing intermediate container 8db588b2ff1d [2022-04-10T23:12:57.567Z] ---> 0f4f051ee85c [2022-04-10T23:12:57.567Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T23:12:57.567Z] ---> Running in 9caa14b1b172 [2022-04-10T23:12:59.596Z] Removing intermediate container 9caa14b1b172 [2022-04-10T23:12:59.596Z] ---> 3eedb10f1c54 [2022-04-10T23:12:59.596Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T23:12:59.596Z] ---> Running in 7e239045dfb5 [2022-04-10T23:13:01.054Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-10T23:13:01.658Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-10T23:13:03.109Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T23:13:03.109Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T23:13:03.109Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T23:13:03.109Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T23:13:03.390Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T23:13:03.390Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T23:13:03.390Z] OK: 8 MiB in 19 packages [2022-04-10T23:13:04.393Z] Removing intermediate container 7e239045dfb5 [2022-04-10T23:13:04.393Z] ---> 217e428f7df4 [2022-04-10T23:13:04.393Z] Step 16/25 : WORKDIR / [2022-04-10T23:13:04.676Z] ---> Running in 8b4e4b6fce9a [2022-04-10T23:13:04.954Z] Removing intermediate container 8b4e4b6fce9a [2022-04-10T23:13:04.954Z] ---> a568af4cf8cd [2022-04-10T23:13:04.954Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-10T23:13:05.559Z] ---> 093e4caeff05 [2022-04-10T23:13:05.559Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-10T23:13:07.564Z] ---> c5069921202e [2022-04-10T23:13:07.564Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-10T23:13:07.844Z] ---> 6d0928c050d6 [2022-04-10T23:13:07.844Z] Step 20/25 : EXPOSE 59999 [2022-04-10T23:13:08.129Z] ---> Running in 112b54f00f3b [2022-04-10T23:13:08.409Z] Removing intermediate container 112b54f00f3b [2022-04-10T23:13:08.409Z] ---> 19e30ccb2161 [2022-04-10T23:13:08.409Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-10T23:13:08.409Z] ---> Running in 98e20eca6478 [2022-04-10T23:13:09.009Z] Removing intermediate container 98e20eca6478 [2022-04-10T23:13:09.009Z] ---> 55907aebdba7 [2022-04-10T23:13:09.009Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T23:13:09.009Z] ---> Running in 443c716cf6c4 [2022-04-10T23:13:09.284Z] Removing intermediate container 443c716cf6c4 [2022-04-10T23:13:09.284Z] ---> 423a4ff053e8 [2022-04-10T23:13:09.284Z] Step 23/25 : LABEL arch=arm64 [2022-04-10T23:13:09.284Z] ---> Running in 03844e4f13ad [2022-04-10T23:13:09.901Z] Removing intermediate container 03844e4f13ad [2022-04-10T23:13:09.901Z] ---> 5d9d32828ffd [2022-04-10T23:13:09.901Z] Step 24/25 : LABEL git_sha=e935a8832cfbfe53789e0847d752cbd1c364582c [2022-04-10T23:13:09.901Z] ---> Running in a502280ebd3e [2022-04-10T23:13:10.179Z] Removing intermediate container a502280ebd3e [2022-04-10T23:13:10.179Z] ---> b2c2a76b98b1 [2022-04-10T23:13:10.179Z] Step 25/25 : LABEL version=0.0.0 [2022-04-10T23:13:10.179Z] ---> Running in 0bde7b1ae3c0 [2022-04-10T23:13:10.785Z] Removing intermediate container 0bde7b1ae3c0 [2022-04-10T23:13:10.785Z] ---> ae280890994a [2022-04-10T23:13:10.785Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T23:13:10.785Z] Successfully built ae280890994a [2022-04-10T23:13:10.785Z] 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-10T23:13:11.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T23:13:11.244Z] [2022-04-10T23:13:11.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:13:11.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T23:13:12.177Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T23:13:12.177Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T23:13:12.177Z] 04944245beec: Pulling fs layer [2022-04-10T23:13:12.177Z] 699f458cf7ca: Pulling fs layer [2022-04-10T23:13:12.177Z] 765212b225bb: Pulling fs layer [2022-04-10T23:13:12.177Z] f23df028b6ca: Pulling fs layer [2022-04-10T23:13:12.177Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T23:13:12.177Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T23:13:12.177Z] 765212b225bb: Waiting [2022-04-10T23:13:12.177Z] f23df028b6ca: Waiting [2022-04-10T23:13:12.177Z] d65c8cfc05b1: Waiting [2022-04-10T23:13:12.177Z] 2437ff75d9bd: Waiting [2022-04-10T23:13:12.177Z] 04944245beec: Verifying Checksum [2022-04-10T23:13:12.177Z] 04944245beec: Download complete [2022-04-10T23:13:12.177Z] 765212b225bb: Download complete [2022-04-10T23:13:12.459Z] f23df028b6ca: Download complete [2022-04-10T23:13:12.459Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T23:13:12.459Z] d65c8cfc05b1: Download complete [2022-04-10T23:13:12.459Z] 699f458cf7ca: Verifying Checksum [2022-04-10T23:13:12.459Z] 699f458cf7ca: Download complete [2022-04-10T23:13:12.749Z] 8998bd30e6a1: Verifying Checksum [2022-04-10T23:13:12.749Z] 8998bd30e6a1: Download complete [2022-04-10T23:13:15.403Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T23:13:15.403Z] 2437ff75d9bd: Download complete [2022-04-10T23:13:17.400Z] 8998bd30e6a1: Pull complete [2022-04-10T23:13:18.007Z] 04944245beec: Pull complete [2022-04-10T23:13:19.459Z] 699f458cf7ca: Pull complete [2022-04-10T23:13:19.741Z] 765212b225bb: Pull complete [2022-04-10T23:13:20.750Z] f23df028b6ca: Pull complete [2022-04-10T23:13:21.027Z] d65c8cfc05b1: Pull complete [2022-04-10T23:13:36.184Z] 2437ff75d9bd: Pull complete [2022-04-10T23:13:36.184Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T23:13:36.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T23:13:36.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T23:13:36.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-19347 does not seem to be running inside a container [2022-04-10T23:13:36.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-10T23:13:39.745Z] $ docker top 681c90df29425c6ddcbcc184c3c31773e02ee875d133a290c15f6fc6056dbbb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:40.737Z] ---> job-cost.sh [2022-04-10T23:13:40.737Z] lf-activate-venv: SKIPPING [2022-04-10T23:13:40.737Z] INFO: No Stack... [2022-04-10T23:13:41.338Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T23:13:42.345Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T23:13:43.029Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-04-10T23:13:43.030Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T23:13:43.109Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] [2022-04-10T23:13:43.115Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] did not exist. Created. [2022-04-10T23:13:43.115Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T23:13:43.812Z] /w/workspace/device-sdk-go/2@tmp/durable-153bcebb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T23:13:44.522Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-10T23:13:44.546Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T23:13:44.624Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T23:13:44.631Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T23:13:44.660Z] $ docker stop --time=1 681c90df29425c6ddcbcc184c3c31773e02ee875d133a290c15f6fc6056dbbb1 [2022-04-10T23:13:46.289Z] $ docker rm -f 681c90df29425c6ddcbcc184c3c31773e02ee875d133a290c15f6fc6056dbbb1 [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-10T23:13:46.917Z] provisioning config files... [2022-04-10T23:13:46.924Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config951073458453166578tmp [Pipeline] { [Pipeline] sh [2022-04-10T23:13:47.249Z] + set +x [2022-04-10T23:13:47.249Z] + curl -s https://codecov.io/bash [2022-04-10T23:13:47.249Z] + bash -s -- [2022-04-10T23:13:47.249Z] [2022-04-10T23:13:47.249Z] _____ _ [2022-04-10T23:13:47.249Z] / ____| | | [2022-04-10T23:13:47.249Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T23:13:47.249Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T23:13:47.249Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T23:13:47.249Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T23:13:47.249Z] Bash-1.0.6 [2022-04-10T23:13:47.249Z] [2022-04-10T23:13:47.249Z] [2022-04-10T23:13:47.249Z] ==> git version 2.25.1 found [2022-04-10T23:13:47.249Z] ==> 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-10T23:13:47.249Z] Release-Date: 2020-01-08 [2022-04-10T23:13:47.249Z] 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-10T23:13:47.249Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T23:13:47.249Z] ==> Jenkins CI detected. [2022-04-10T23:13:47.249Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1122 [2022-04-10T23:13:47.249Z] project root: . [2022-04-10T23:13:47.249Z] --> token set from env [2022-04-10T23:13:47.249Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T23:13:47.249Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T23:13:47.249Z] ==> Python coveragepy not found [2022-04-10T23:13:47.249Z] ==> Searching for coverage reports in: [2022-04-10T23:13:47.249Z] + . [2022-04-10T23:13:47.249Z] -> Found 1 reports [2022-04-10T23:13:47.249Z] ==> Detecting git/mercurial file structure [2022-04-10T23:13:47.527Z] ==> Reading reports [2022-04-10T23:13:47.528Z] + ./coverage.out bytes=129001 [2022-04-10T23:13:47.528Z] ==> Appending adjustments [2022-04-10T23:13:47.528Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T23:13:47.816Z] + Found adjustments [2022-04-10T23:13:47.816Z] ==> Gzipping contents [2022-04-10T23:13:47.816Z] 16K /tmp/codecov.kzppKa.gz [2022-04-10T23:13:47.816Z] ==> Uploading reports [2022-04-10T23:13:47.816Z] url: https://codecov.io [2022-04-10T23:13:47.816Z] query: branch=PR-1122&commit=cb9a01c67963f71cfe68306ede305dbfc0e18bcb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1122%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1122&job=&cmd_args= [2022-04-10T23:13:47.816Z] -> Pinging Codecov [2022-04-10T23:13:47.816Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1122&commit=cb9a01c67963f71cfe68306ede305dbfc0e18bcb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1122%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1122&job=&cmd_args= [2022-04-10T23:13:48.076Z] -> Uploading to [2022-04-10T23:13:48.076Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/7E55EF52A471D76F132DFD9A03CDDE97/cb9a01c67963f71cfe68306ede305dbfc0e18bcb/19e8efe5-07a2-46ed-935c-32f75c38ce00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T231347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fdd7c1243b1d6ff6b71867e5de8c578d9168ea908a1033bf28a6eeb18cd1d47d [2022-04-10T23:13:48.076Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T23:13:48.076Z] Dload Upload Total Spent Left Speed [2022-04-10T23:13:48.336Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16221 0 0 100 16221 0 57116 --:--:-- --:--:-- --:--:-- 57116 [2022-04-10T23:13:48.336Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cb9a01c67963f71cfe68306ede305dbfc0e18bcb [Pipeline] } [2022-04-10T23:13:48.345Z] 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-10T23:13:49.163Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives ] [2022-04-10T23:13:49.163Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives [2022-04-10T23:13:49.163Z] total 16 [2022-04-10T23:13:49.163Z] drwxr-xr-x 3 root root 4096 Apr 10 22:42 . [2022-04-10T23:13:49.163Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 22:42 .. [2022-04-10T23:13:49.163Z] drwxr-xr-x 2 root root 4096 Apr 10 22:42 cost [2022-04-10T23:13:49.163Z] -rw-r--r-- 1 root root 86 Apr 10 22:42 cost.csv [2022-04-10T23:13:49.163Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives [2022-04-10T23:13:49.163Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives [2022-04-10T23:13:49.163Z] total 16 [2022-04-10T23:13:49.163Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 22:42 . [2022-04-10T23:13:49.163Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 22:42 .. [2022-04-10T23:13:49.163Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 22:42 cost [2022-04-10T23:13:49.163Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 10 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:49.460Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:50.325Z] ---> package-listing.sh [2022-04-10T23:13:50.325Z] ++ facter osfamily [2022-04-10T23:13:50.325Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T23:13:50.591Z] + OS_FAMILY=debian [2022-04-10T23:13:50.591Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1122 [2022-04-10T23:13:50.591Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T23:13:50.591Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T23:13:50.591Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T23:13:50.591Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T23:13:50.591Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1122 ']' [2022-04-10T23:13:50.591Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T23:13:50.591Z] + case "${OS_FAMILY}" in [2022-04-10T23:13:50.591Z] + dpkg -l [2022-04-10T23:13:50.591Z] + grep '^ii' [2022-04-10T23:13:50.591Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T23:13:50.591Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T23:13:50.591Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T23:13:50.591Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1122 ']' [2022-04-10T23:13:50.591Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/ [2022-04-10T23:13:50.591Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/ [Pipeline] echo [2022-04-10T23:13:50.606Z] 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-1122/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-10T23:13:50.888Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:13:51.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T23:13:51.452Z] . [Pipeline] withDockerContainer [2022-04-10T23:13:51.524Z] prd-ubuntu20.04-docker-8c-8g-11900 does not seem to be running inside a container [2022-04-10T23:13:51.568Z] $ 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-1122/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-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T23:13:51.853Z] $ docker top f97c72d492c9e395aa576e61d8300581b5bf4e4c3efdc2c42b00514d0797ba85 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T23:13:52.209Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T23:13:52.510Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T23:13:52.798Z] + ls /var/log/sa-host [2022-04-10T23:13:52.798Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T23:13:53.021Z] provisioning config files... [2022-04-10T23:13:53.030Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config5669757455700598344tmp [Pipeline] { [Pipeline] echo [2022-04-10T23:13:53.043Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:53.328Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T23:13:53.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:53.692Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T23:13:53.701Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:53.987Z] ---> sudo-logs.sh [2022-04-10T23:13:53.987Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T23:13:54.014Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:54.304Z] ---> job-cost.sh [2022-04-10T23:13:54.304Z] lf-activate-venv: SKIPPING [2022-04-10T23:13:54.304Z] DEBUG: total: 0.6600000262260437 [2022-04-10T23:13:54.304Z] INFO: Retrieving Stack Cost... [2022-04-10T23:13:54.562Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T23:13:55.130Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T23:13:55.143Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:55.426Z] ---> logs-deploy.sh [2022-04-10T23:13:55.426Z] lf-activate-venv: SKIPPING [2022-04-10T23:13:55.426Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1122/2 [2022-04-10T23:13:55.426Z] INFO: archiving workspace using pattern(s): [2022-04-10T23:13:56.366Z] Archives upload complete. [2022-04-10T23:13:56.366Z] INFO: archiving logs to Nexus