Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fad5b8934091ce8d844bc32fca8ede5bda20e4fc+c11ae5f9cc83784f65659a881f6412b77a9cc0d8 (9b63f448802798bd445f1dfe8de26ba57afe7c0a) 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-ssh584856509594727541.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-ssh15525116961006634044.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-ssh18415156087184755456.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-ssh8414802144715571842.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-ssh13337634898873050809.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-20570 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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit fad5b8934091ce8d844bc32fca8ede5bda20e4fc Merge succeeded, producing 73417602b74e3a5132d1a38fdf4054a4482d9977 Checking out Revision 73417602b74e3a5132d1a38fdf4054a4482d9977 (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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73417602b74e3a5132d1a38fdf4054a4482d9977 # timeout=10 Commit message: "Merge commit 'c11ae5f9cc83784f65659a881f6412b77a9cc0d8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-11T22:40:26.576Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-11T22:40:26.639Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-11T22:40:26.653Z] ========================================================= [2022-04-11T22:40:26.653Z] EdgeX Global Pipelines Version Info [2022-04-11T22:40:26.653Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e935a8832cfbfe53789e0847d752cbd1c364582c # timeout=10 [2022-04-11T22:40:27.417Z] ------------------- [2022-04-11T22:40:27.417Z] stable info: [2022-04-11T22:40:27.417Z] ------------------- [2022-04-11T22:40:27.417Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-11T22:40:27.417Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T22:40:27.417Z] Message: update stable to v1.0.221 [2022-04-11T22:40:27.999Z] ------------------- [2022-04-11T22:40:27.999Z] experimental info: [2022-04-11T22:40:27.999Z] ------------------- [2022-04-11T22:40:27.999Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-11T22:40:27.999Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T22:40:27.999Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-11T22:40:28.112Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-11T22:40:28.126Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-11T22:40:28.135Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-11T22:40:28.145Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-11T22:40:28.156Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-11T22:40:28.166Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-11T22:40:28.176Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-11T22:40:28.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-11T22:40:28.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-11T22:40:28.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-11T22:40:28.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-11T22:40:28.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-11T22:40:28.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-11T22:40:28.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-11T22:40:28.258Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T22:40:28.269Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T22:40:28.279Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T22:40:28.291Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T22:40:28.302Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-11T22:40:28.312Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-11T22:40:28.322Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-11T22:40:28.332Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-11T22:40:28.392Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-11T22:40:28.403Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-11T22:40:28.413Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-11T22:40:28.423Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-11T22:40:28.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1122 [Pipeline] echo [2022-04-11T22:40:28.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1122 [Pipeline] echo [2022-04-11T22:40:28.457Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1122 [Pipeline] echo [2022-04-11T22:40:28.468Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73417602b74e3a5132d1a38fdf4054a4482d9977 [Pipeline] echo [2022-04-11T22:40:28.483Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7341760 [Pipeline] echo [2022-04-11T22:40:28.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T22:40:28.546Z] provisioning config files... [2022-04-11T22:40:28.559Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config6192817877214132274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:40:28.885Z] ---> docker-login.sh [2022-04-11T22:40:28.886Z] nexus3.edgexfoundry.org:10001 [2022-04-11T22:40:29.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:40:29.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:40:29.145Z] Configure a credential helper to remove this warning. See [2022-04-11T22:40:29.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:40:29.145Z] [2022-04-11T22:40:29.145Z] Login Succeeded [2022-04-11T22:40:29.145Z] nexus3.edgexfoundry.org:10002 [2022-04-11T22:40:29.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:40:29.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:40:29.408Z] Configure a credential helper to remove this warning. See [2022-04-11T22:40:29.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:40:29.408Z] [2022-04-11T22:40:29.408Z] Login Succeeded [2022-04-11T22:40:29.408Z] nexus3.edgexfoundry.org:10003 [2022-04-11T22:40:29.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:40:29.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:40:29.408Z] Configure a credential helper to remove this warning. See [2022-04-11T22:40:29.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:40:29.408Z] [2022-04-11T22:40:29.408Z] Login Succeeded [2022-04-11T22:40:29.408Z] nexus3.edgexfoundry.org:10004 [2022-04-11T22:40:29.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:40:29.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:40:29.669Z] Configure a credential helper to remove this warning. See [2022-04-11T22:40:29.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:40:29.669Z] [2022-04-11T22:40:29.669Z] Login Succeeded [2022-04-11T22:40:29.669Z] docker.io [2022-04-11T22:40:29.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:40:30.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:40:30.246Z] Configure a credential helper to remove this warning. See [2022-04-11T22:40:30.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:40:30.246Z] [2022-04-11T22:40:30.246Z] Login Succeeded [2022-04-11T22:40:30.246Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T22:40:30.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-11T22:40:30.638Z] + git rev-list -1 --merges 73417602b74e3a5132d1a38fdf4054a4482d9977~1..73417602b74e3a5132d1a38fdf4054a4482d9977 [Pipeline] echo [2022-04-11T22:40:30.741Z] -----------> git rev-list -1 --merges 73417602b74e3a5132d1a38fdf4054a4482d9977~1..73417602b74e3a5132d1a38fdf4054a4482d9977 73417602b74e3a5132d1a38fdf4054a4482d9977 [2022-04-11T22:40:30.741Z] 73417602b74e3a5132d1a38fdf4054a4482d9977 [false] [Pipeline] sh [2022-04-11T22:40:31.035Z] + git log --format=format:%s -1 73417602b74e3a5132d1a38fdf4054a4482d9977 [Pipeline] echo [2022-04-11T22:40:31.053Z] ========================================================= [2022-04-11T22:40:31.053Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-11T22:40:31.053Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T22:40:31.388Z] + git log --format=format:%s -1 73417602b74e3a5132d1a38fdf4054a4482d9977 [Pipeline] echo [2022-04-11T22:40:31.401Z] [semverPrep] GIT_COMMIT: 73417602b74e3a5132d1a38fdf4054a4482d9977, Commit Message: Merge commit 'c11ae5f9cc83784f65659a881f6412b77a9cc0d8' into HEAD [Pipeline] echo [2022-04-11T22:40:31.412Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-11T22:40:31.825Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T22:40:31.825Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-11T22:40:31.825Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-11T22:40:31.825Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-11T22:40:31.825Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-04-11T22:40:31.825Z] tee -a /etc/ssh/ssh_known_hosts [2022-04-11T22:40:31.825Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:40:32.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T22:40:32.240Z] [2022-04-11T22:40:32.240Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:40:32.551Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T22:40:32.551Z] latest: Pulling from edgex-devops/git-semver [2022-04-11T22:40:32.551Z] a0d0a0d46f8b: Pulling fs layer [2022-04-11T22:40:32.551Z] 3e5f54012d9b: Pulling fs layer [2022-04-11T22:40:32.551Z] 4c7163046ea9: Pulling fs layer [2022-04-11T22:40:32.551Z] 0c2d73faf560: Pulling fs layer [2022-04-11T22:40:32.551Z] 3e5f54012d9b: Verifying Checksum [2022-04-11T22:40:32.551Z] 3e5f54012d9b: Download complete [2022-04-11T22:40:32.551Z] a0d0a0d46f8b: Verifying Checksum [2022-04-11T22:40:32.551Z] a0d0a0d46f8b: Download complete [2022-04-11T22:40:32.551Z] 0c2d73faf560: Verifying Checksum [2022-04-11T22:40:32.551Z] 0c2d73faf560: Download complete [2022-04-11T22:40:32.812Z] 4c7163046ea9: Verifying Checksum [2022-04-11T22:40:32.812Z] 4c7163046ea9: Download complete [2022-04-11T22:40:32.812Z] a0d0a0d46f8b: Pull complete [2022-04-11T22:40:32.812Z] 3e5f54012d9b: Pull complete [2022-04-11T22:40:33.073Z] 4c7163046ea9: Pull complete [2022-04-11T22:40:33.335Z] 0c2d73faf560: Pull complete [2022-04-11T22:40:33.335Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-11T22:40:33.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T22:40:33.335Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-11T22:40:33.418Z] prd-ubuntu20.04-docker-8c-8g-20570 does not seem to be running inside a container [2022-04-11T22:40:33.452Z] $ 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-11T22:40:34.072Z] $ docker top 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T22:40:34.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T22:40:34.189Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T22:40:34.309Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T22:40:34.305Z] $ docker exec 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 ssh-agent [2022-04-11T22:40:34.436Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHLjgMg/agent.13 [2022-04-11T22:40:34.436Z] SSH_AGENT_PID=20 [2022-04-11T22:40:34.445Z] Running ssh-add (command line suppressed) [2022-04-11T22:40:34.543Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_560823355900633380.key (/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_560823355900633380.key) [2022-04-11T22:40:34.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T22:40:34.861Z] + git tag --points-at HEAD [Pipeline] } [2022-04-11T22:40:34.875Z] $ docker exec --env ******** --env ******** 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 ssh-agent -k [2022-04-11T22:40:34.990Z] unset SSH_AUTH_SOCK; [2022-04-11T22:40:34.990Z] unset SSH_AGENT_PID; [2022-04-11T22:40:34.990Z] echo Agent pid 20 killed; [2022-04-11T22:40:35.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-11T22:40:35.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T22:40:35.039Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T22:40:35.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T22:40:35.161Z] $ docker exec 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 ssh-agent [2022-04-11T22:40:35.309Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfGjkFa/agent.53 [2022-04-11T22:40:35.309Z] SSH_AGENT_PID=59 [2022-04-11T22:40:35.316Z] Running ssh-add (command line suppressed) [2022-04-11T22:40:35.443Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_8123102538095320161.key (/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_8123102538095320161.key) [2022-04-11T22:40:35.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T22:40:35.760Z] + git semver init [2022-04-11T22:40:35.760Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T22:40:35.760Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1122/.git [2022-04-11T22:40:35.760Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1122 [2022-04-11T22:40:35.760Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T22:40:35.761Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T22:40:35.761Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T22:40:35.761Z] # $SEMVER_BRANCH = PR-1122 [2022-04-11T22:40:35.761Z] # $SEMVER_TEMP = /tmp/semver-505779674 [2022-04-11T22:40:35.761Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-11T22:40:36.700Z] # '/tmp/semver-505779674' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1122/.semver' [2022-04-11T22:40:36.700Z] # -> Force: false [2022-04-11T22:40:36.961Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1122/.semver [Pipeline] } [2022-04-11T22:40:36.965Z] $ docker exec --env ******** --env ******** 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 ssh-agent -k [2022-04-11T22:40:37.074Z] unset SSH_AUTH_SOCK; [2022-04-11T22:40:37.075Z] unset SSH_AGENT_PID; [2022-04-11T22:40:37.075Z] echo Agent pid 59 killed; [2022-04-11T22:40:37.095Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T22:40:37.402Z] + git semver [Pipeline] } [2022-04-11T22:40:37.408Z] $ docker stop --time=1 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 [2022-04-11T22:40:38.769Z] $ docker rm -f 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T22:40:39.137Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-11T22:40:39.388Z] Stashed 1 file(s) [Pipeline] echo [2022-04-11T22:40:39.392Z] [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-11T22:40:39.548Z] provisioning config files... [2022-04-11T22:40:39.559Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config6145819340430199347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:40:39.864Z] ---> docker-login.sh [2022-04-11T22:40:39.864Z] nexus3.edgexfoundry.org:10001 [2022-04-11T22:40:39.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:40:39.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:40:39.864Z] Configure a credential helper to remove this warning. See [2022-04-11T22:40:39.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:40:39.864Z] [2022-04-11T22:40:39.864Z] Login Succeeded [2022-04-11T22:40:39.864Z] nexus3.edgexfoundry.org:10002 [2022-04-11T22:40:39.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:40:40.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:40:40.124Z] Configure a credential helper to remove this warning. See [2022-04-11T22:40:40.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:40:40.124Z] [2022-04-11T22:40:40.124Z] Login Succeeded [2022-04-11T22:40:40.124Z] nexus3.edgexfoundry.org:10003 [2022-04-11T22:40:40.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:40:40.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:40:40.124Z] Configure a credential helper to remove this warning. See [2022-04-11T22:40:40.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:40:40.124Z] [2022-04-11T22:40:40.124Z] Login Succeeded [2022-04-11T22:40:40.124Z] nexus3.edgexfoundry.org:10004 [2022-04-11T22:40:40.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:40:40.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:40:40.385Z] Configure a credential helper to remove this warning. See [2022-04-11T22:40:40.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:40:40.385Z] [2022-04-11T22:40:40.385Z] Login Succeeded [2022-04-11T22:40:40.385Z] docker.io [2022-04-11T22:40:40.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:40:40.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:40:40.646Z] Configure a credential helper to remove this warning. See [2022-04-11T22:40:40.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:40:40.646Z] [2022-04-11T22:40:40.646Z] Login Succeeded [2022-04-11T22:40:40.646Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T22:40:40.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T22:40:40.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T22:40:40.735Z] ========================================================= [2022-04-11T22:40:40.735Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-11T22:40:40.735Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:40:41.043Z] + 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-11T22:40:41.043Z] Sending build context to Docker daemon 9.583MB [2022-04-11T22:40:41.043Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T22:40:41.043Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-11T22:40:41.043Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-11T22:40:41.043Z] 59bf1c3509f3: Pulling fs layer [2022-04-11T22:40:41.043Z] 666ba61612fd: Pulling fs layer [2022-04-11T22:40:41.043Z] 8ed8ca486205: Pulling fs layer [2022-04-11T22:40:41.043Z] 4fe6c5a15a65: Pulling fs layer [2022-04-11T22:40:41.043Z] 22a0e8bec74d: Pulling fs layer [2022-04-11T22:40:41.043Z] 640e595b4fbd: Pulling fs layer [2022-04-11T22:40:41.043Z] 763cafe07f6e: Pulling fs layer [2022-04-11T22:40:41.043Z] 0c0b528cf693: Pulling fs layer [2022-04-11T22:40:41.043Z] 10935f4eaf8b: Pulling fs layer [2022-04-11T22:40:41.043Z] 4fe6c5a15a65: Waiting [2022-04-11T22:40:41.043Z] 22a0e8bec74d: Waiting [2022-04-11T22:40:41.043Z] 640e595b4fbd: Waiting [2022-04-11T22:40:41.043Z] 0c0b528cf693: Waiting [2022-04-11T22:40:41.043Z] 763cafe07f6e: Waiting [2022-04-11T22:40:41.305Z] 8ed8ca486205: Verifying Checksum [2022-04-11T22:40:41.305Z] 8ed8ca486205: Download complete [2022-04-11T22:40:41.305Z] 666ba61612fd: Download complete [2022-04-11T22:40:41.305Z] 22a0e8bec74d: Verifying Checksum [2022-04-11T22:40:41.305Z] 22a0e8bec74d: Download complete [2022-04-11T22:40:41.305Z] 640e595b4fbd: Verifying Checksum [2022-04-11T22:40:41.305Z] 640e595b4fbd: Download complete [2022-04-11T22:40:41.305Z] 59bf1c3509f3: Verifying Checksum [2022-04-11T22:40:41.305Z] 59bf1c3509f3: Download complete [2022-04-11T22:40:41.305Z] 763cafe07f6e: Verifying Checksum [2022-04-11T22:40:41.305Z] 763cafe07f6e: Download complete [2022-04-11T22:40:41.305Z] 0c0b528cf693: Verifying Checksum [2022-04-11T22:40:41.305Z] 0c0b528cf693: Download complete [2022-04-11T22:40:41.305Z] 59bf1c3509f3: Pull complete [2022-04-11T22:40:41.565Z] 666ba61612fd: Pull complete [2022-04-11T22:40:41.565Z] 8ed8ca486205: Pull complete [2022-04-11T22:40:41.824Z] 10935f4eaf8b: Verifying Checksum [2022-04-11T22:40:41.825Z] 10935f4eaf8b: Download complete [2022-04-11T22:40:42.085Z] 4fe6c5a15a65: Verifying Checksum [2022-04-11T22:40:42.085Z] 4fe6c5a15a65: Download complete [2022-04-11T22:40:46.278Z] 4fe6c5a15a65: Pull complete [2022-04-11T22:40:46.278Z] 22a0e8bec74d: Pull complete [2022-04-11T22:40:46.278Z] 640e595b4fbd: Pull complete [2022-04-11T22:40:46.278Z] 763cafe07f6e: Pull complete [2022-04-11T22:40:46.278Z] 0c0b528cf693: Pull complete [2022-04-11T22:40:48.183Z] 10935f4eaf8b: Pull complete [2022-04-11T22:40:48.183Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-11T22:40:48.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-11T22:40:48.183Z] ---> 99d49a6021b9 [2022-04-11T22:40:48.183Z] Step 3/11 : ARG MAKE=make build [2022-04-11T22:40:49.573Z] ---> Running in 186d4454d73a [2022-04-11T22:40:49.573Z] Removing intermediate container 186d4454d73a [2022-04-11T22:40:49.573Z] ---> cd8aea470729 [2022-04-11T22:40:49.573Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-11T22:40:49.573Z] ---> Running in 85e0ca7f9853 [2022-04-11T22:40:49.573Z] Removing intermediate container 85e0ca7f9853 [2022-04-11T22:40:49.573Z] ---> e0099380833e [2022-04-11T22:40:49.573Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T22:40:49.835Z] ---> Running in 9745f2767d50 [2022-04-11T22:40:49.835Z] Removing intermediate container 9745f2767d50 [2022-04-11T22:40:49.835Z] ---> 9b9de2dc5a45 [2022-04-11T22:40:49.835Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T22:40:49.835Z] ---> Running in e9f6fe4222a7 [2022-04-11T22:40:50.409Z] Removing intermediate container e9f6fe4222a7 [2022-04-11T22:40:50.409Z] ---> 81b1831a8c4c [2022-04-11T22:40:50.409Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T22:40:50.409Z] ---> Running in 3c36a239aeab [2022-04-11T22:40:50.670Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T22:40:51.617Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T22:40:51.877Z] OK: 221 MiB in 52 packages [2022-04-11T22:40:52.138Z] Removing intermediate container 3c36a239aeab [2022-04-11T22:40:52.138Z] ---> 6c4c3a3c6f4b [2022-04-11T22:40:52.138Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-11T22:40:52.399Z] ---> b8ba67cea7fa [2022-04-11T22:40:52.399Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T22:40:52.399Z] ---> Running in f0b5c5a77142 [2022-04-11T22:40:54.500Z] Still waiting to schedule task [2022-04-11T22:40:54.500Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-11T22:41:07.311Z] Removing intermediate container f0b5c5a77142 [2022-04-11T22:41:07.311Z] ---> bb90b60251c8 [2022-04-11T22:41:07.311Z] Step 10/11 : COPY . . [2022-04-11T22:41:07.311Z] ---> 9535efb6e93b [2022-04-11T22:41:07.311Z] Step 11/11 : RUN ${MAKE} [2022-04-11T22:41:07.311Z] ---> Running in 86c248e2744e [2022-04-11T22:41:07.311Z] noop [2022-04-11T22:41:07.311Z] Removing intermediate container 86c248e2744e [2022-04-11T22:41:07.311Z] ---> 93d9980bb43e [2022-04-11T22:41:07.311Z] Successfully built 93d9980bb43e [2022-04-11T22:41:07.311Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:41:07.609Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T22:41:07.609Z] . [Pipeline] withDockerContainer [2022-04-11T22:41:07.679Z] prd-ubuntu20.04-docker-8c-8g-20570 does not seem to be running inside a container [2022-04-11T22:41:07.702Z] $ 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-11T22:41:08.114Z] $ docker top 3eb5f968ad5cd6ab47336a80cf1c86e29c383d7c5fbeb8b63d4c6bc0e6278f7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T22:41:08.481Z] + go version [2022-04-11T22:41:08.481Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-11T22:41:08.487Z] $ docker stop --time=1 3eb5f968ad5cd6ab47336a80cf1c86e29c383d7c5fbeb8b63d4c6bc0e6278f7b [2022-04-11T22:41:09.792Z] $ docker rm -f 3eb5f968ad5cd6ab47336a80cf1c86e29c383d7c5fbeb8b63d4c6bc0e6278f7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:41:10.220Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T22:41:10.220Z] . [Pipeline] withDockerContainer [2022-04-11T22:41:10.285Z] prd-ubuntu20.04-docker-8c-8g-20570 does not seem to be running inside a container [2022-04-11T22:41:10.309Z] $ 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-11T22:41:10.671Z] $ docker top 725c75549da81fe3d8a96f7cba9343d40ccef84729fe0e8bdcae6d4bae5b396b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T22:41:11.049Z] + make test [2022-04-11T22:41:11.049Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-11T22:41:11.309Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-11T22:41:21.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.016s coverage: 23.3% of statements [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-11T22:41:21.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.012s coverage: 27.6% of statements [2022-04-11T22:41:21.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.017s coverage: 78.9% of statements [2022-04-11T22:41:21.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.021s coverage: 10.8% of statements [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-11T22:41:21.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.021s coverage: 33.2% of statements [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-11T22:41:21.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 86.1% of statements [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-11T22:41:21.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.019s coverage: 57.4% of statements [2022-04-11T22:41:21.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.036s coverage: 89.2% of statements [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-11T22:41:21.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.018s coverage: 4.8% of statements [2022-04-11T22:41:21.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-11T22:41:27.963Z] GO111MODULE=on go vet ./... [2022-04-11T22:41:31.270Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T22:41:31.531Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T22:41:31.531Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T22:41:32.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T22:41:32.136Z] $ docker stop --time=1 725c75549da81fe3d8a96f7cba9343d40ccef84729fe0e8bdcae6d4bae5b396b [2022-04-11T22:41:33.882Z] $ docker rm -f 725c75549da81fe3d8a96f7cba9343d40ccef84729fe0e8bdcae6d4bae5b396b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T22:41:34.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T22:41:34.426Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-11T22:41:35.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T22:41:35.715Z] + ls -al . [2022-04-11T22:41:35.715Z] total 316 [2022-04-11T22:41:35.715Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 22:41 . [2022-04-11T22:41:35.715Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:40 .. [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 22:40 .dockerignore [2022-04-11T22:41:35.715Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 22:40 .git [2022-04-11T22:41:35.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:40 .github [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 11 22:40 .gitignore [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 11 22:40 .golangci.yml [2022-04-11T22:41:35.715Z] drwx------ 3 jenkins jenkins 4096 Apr 11 22:40 .semver [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 11 22:40 CHANGELOG.md [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 22:40 GOVERNANCE.md [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 11 22:40 Jenkinsfile [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 11 22:40 LICENSE [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 11 22:40 Makefile [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 11 22:40 OWNERS.md [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 11 22:40 README.md [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 22:40 VERSION [2022-04-11T22:41:35.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:40 bin [2022-04-11T22:41:35.715Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 11 22:41 coverage.out [2022-04-11T22:41:35.715Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:40 example [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 11 22:40 go.mod [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 53784 Apr 11 22:40 go.sum [2022-04-11T22:41:35.715Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 11 22:40 internal [2022-04-11T22:41:35.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 22:40 openapi [2022-04-11T22:41:35.715Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:40 pkg [2022-04-11T22:41:35.715Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:40 snap [2022-04-11T22:41:35.715Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 11 22:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:41:36.014Z] + 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=73417602b74e3a5132d1a38fdf4054a4482d9977 --label arch=amd64 --label version=0.0.0 . [2022-04-11T22:41:36.014Z] Sending build context to Docker daemon 9.713MB [2022-04-11T22:41:36.014Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T22:41:36.014Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-11T22:41:36.014Z] ---> 93d9980bb43e [2022-04-11T22:41:36.014Z] Step 3/25 : ARG MAKE=make build [2022-04-11T22:41:36.276Z] ---> Running in cd9f40b06eb9 [2022-04-11T22:41:36.276Z] Removing intermediate container cd9f40b06eb9 [2022-04-11T22:41:36.276Z] ---> 96754a3c4a0d [2022-04-11T22:41:36.276Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-11T22:41:36.276Z] ---> Running in 6d2fc7f7f711 [2022-04-11T22:41:36.276Z] Removing intermediate container 6d2fc7f7f711 [2022-04-11T22:41:36.276Z] ---> 4e28aba69f36 [2022-04-11T22:41:36.276Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T22:41:36.534Z] ---> Running in 544d01ed48b7 [2022-04-11T22:41:36.534Z] Removing intermediate container 544d01ed48b7 [2022-04-11T22:41:36.534Z] ---> 00dc8fbe354c [2022-04-11T22:41:36.534Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T22:41:36.534Z] ---> Running in 477c1725f8bd [2022-04-11T22:41:37.102Z] Removing intermediate container 477c1725f8bd [2022-04-11T22:41:37.103Z] ---> cd6a5531b698 [2022-04-11T22:41:37.103Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T22:41:37.103Z] ---> Running in e5b7664bed49 [2022-04-11T22:41:37.363Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T22:41:38.302Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T22:41:38.561Z] OK: 221 MiB in 52 packages [2022-04-11T22:41:39.130Z] Removing intermediate container e5b7664bed49 [2022-04-11T22:41:39.130Z] ---> 4e01b40daecf [2022-04-11T22:41:39.130Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-11T22:41:39.130Z] ---> 190428675c24 [2022-04-11T22:41:39.130Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T22:41:39.130Z] ---> Running in 4f1fee5a74ce [2022-04-11T22:41:39.700Z] Removing intermediate container 4f1fee5a74ce [2022-04-11T22:41:39.700Z] ---> d6283c5fb777 [2022-04-11T22:41:39.700Z] Step 10/25 : COPY . . [2022-04-11T22:41:40.274Z] ---> 908f82736ae3 [2022-04-11T22:41:40.274Z] Step 11/25 : RUN ${MAKE} [2022-04-11T22:41:40.274Z] ---> Running in 9deb81cffb3c [2022-04-11T22:41:40.534Z] 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-11T22:41:58.651Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-11T22:41:58.912Z] Removing intermediate container 9deb81cffb3c [2022-04-11T22:41:58.912Z] ---> 631b85060aa0 [2022-04-11T22:41:58.912Z] Step 12/25 : FROM alpine:3.14 [2022-04-11T22:41:59.484Z] 3.14: Pulling from library/alpine [2022-04-11T22:41:59.745Z] 8663204ce13b: Pulling fs layer [2022-04-11T22:42:00.059Z] 8663204ce13b: Download complete [2022-04-11T22:42:00.060Z] 8663204ce13b: Pull complete [2022-04-11T22:42:00.060Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T22:42:00.060Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T22:42:00.060Z] ---> e04c818066af [2022-04-11T22:42:00.060Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T22:42:00.318Z] ---> Running in c829e70d47d6 [2022-04-11T22:42:00.319Z] Removing intermediate container c829e70d47d6 [2022-04-11T22:42:00.319Z] ---> 7dfb4c324fc8 [2022-04-11T22:42:00.319Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T22:42:00.319Z] ---> Running in 490970b83110 [2022-04-11T22:42:00.889Z] Removing intermediate container 490970b83110 [2022-04-11T22:42:00.889Z] ---> 88c7a0d2af40 [2022-04-11T22:42:00.889Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-11T22:42:00.889Z] ---> Running in 30e8f1695555 [2022-04-11T22:42:01.149Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-11T22:42:02.092Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-11T22:42:02.353Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T22:42:02.353Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-11T22:42:02.613Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T22:42:02.613Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-11T22:42:02.613Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-11T22:42:02.874Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T22:42:02.874Z] OK: 8 MiB in 19 packages [2022-04-11T22:42:03.133Z] Removing intermediate container 30e8f1695555 [2022-04-11T22:42:03.133Z] ---> 0c47e0eb7b51 [2022-04-11T22:42:03.133Z] Step 16/25 : WORKDIR / [2022-04-11T22:42:03.133Z] ---> Running in 3019f6f3cf18 [2022-04-11T22:42:03.392Z] Removing intermediate container 3019f6f3cf18 [2022-04-11T22:42:03.392Z] ---> 6473db8801ac [2022-04-11T22:42:03.392Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-11T22:42:03.392Z] ---> bcb11f717192 [2022-04-11T22:42:03.392Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-11T22:42:03.964Z] ---> 6d1cf608221d [2022-04-11T22:42:03.965Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-11T22:42:04.224Z] ---> 5adbcbb2f943 [2022-04-11T22:42:04.224Z] Step 20/25 : EXPOSE 59999 [2022-04-11T22:42:04.224Z] ---> Running in 8327876d1845 [2022-04-11T22:42:04.224Z] Removing intermediate container 8327876d1845 [2022-04-11T22:42:04.224Z] ---> 56f91cc56c18 [2022-04-11T22:42:04.224Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-11T22:42:04.485Z] ---> Running in 009c4256ddbf [2022-04-11T22:42:04.485Z] Removing intermediate container 009c4256ddbf [2022-04-11T22:42:04.485Z] ---> 02a083f30f70 [2022-04-11T22:42:04.485Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-11T22:42:04.485Z] ---> Running in b24e74842ca5 [2022-04-11T22:42:04.485Z] Removing intermediate container b24e74842ca5 [2022-04-11T22:42:04.485Z] ---> d10589b0b2d5 [2022-04-11T22:42:04.485Z] Step 23/25 : LABEL arch=amd64 [2022-04-11T22:42:04.749Z] ---> Running in fad1811fc07c [2022-04-11T22:42:04.749Z] Removing intermediate container fad1811fc07c [2022-04-11T22:42:04.749Z] ---> d0e5343ecfe6 [2022-04-11T22:42:04.749Z] Step 24/25 : LABEL git_sha=73417602b74e3a5132d1a38fdf4054a4482d9977 [2022-04-11T22:42:04.749Z] ---> Running in fe0114a8bc9f [2022-04-11T22:42:04.749Z] Removing intermediate container fe0114a8bc9f [2022-04-11T22:42:04.749Z] ---> 929c73d2be0a [2022-04-11T22:42:04.749Z] Step 25/25 : LABEL version=0.0.0 [2022-04-11T22:42:05.009Z] ---> Running in 70ce15791b7c [2022-04-11T22:42:05.009Z] Removing intermediate container 70ce15791b7c [2022-04-11T22:42:05.009Z] ---> bd75977981c8 [2022-04-11T22:42:05.009Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T22:42:05.009Z] Successfully built bd75977981c8 [2022-04-11T22:42:05.009Z] 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-11T22:42:05.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T22:42:05.426Z] [2022-04-11T22:42:05.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:42:05.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T22:42:05.730Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-11T22:42:05.730Z] 5eb5b503b376: Pulling fs layer [2022-04-11T22:42:05.730Z] 5c69ac0246d0: Pulling fs layer [2022-04-11T22:42:05.730Z] ec43610c2a17: Pulling fs layer [2022-04-11T22:42:05.730Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-11T22:42:05.730Z] 33b1e0a273af: Pulling fs layer [2022-04-11T22:42:05.730Z] 5d3b04190fa2: Pulling fs layer [2022-04-11T22:42:05.730Z] 2f39f015ded8: Pulling fs layer [2022-04-11T22:42:05.730Z] 33b1e0a273af: Waiting [2022-04-11T22:42:05.730Z] 5d3b04190fa2: Waiting [2022-04-11T22:42:05.730Z] 3a2ae6a8a46f: Waiting [2022-04-11T22:42:05.730Z] 5c69ac0246d0: Verifying Checksum [2022-04-11T22:42:05.730Z] 5c69ac0246d0: Download complete [2022-04-11T22:42:05.730Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-11T22:42:05.730Z] 3a2ae6a8a46f: Download complete [2022-04-11T22:42:05.730Z] 33b1e0a273af: Verifying Checksum [2022-04-11T22:42:05.730Z] 33b1e0a273af: Download complete [2022-04-11T22:42:05.730Z] 5d3b04190fa2: Verifying Checksum [2022-04-11T22:42:05.730Z] 5d3b04190fa2: Download complete [2022-04-11T22:42:05.730Z] ec43610c2a17: Verifying Checksum [2022-04-11T22:42:05.730Z] ec43610c2a17: Download complete [2022-04-11T22:42:05.989Z] 5eb5b503b376: Verifying Checksum [2022-04-11T22:42:05.989Z] 5eb5b503b376: Download complete [2022-04-11T22:42:06.556Z] 2f39f015ded8: Download complete [2022-04-11T22:42:07.497Z] 5eb5b503b376: Pull complete [2022-04-11T22:42:07.497Z] 5c69ac0246d0: Pull complete [2022-04-11T22:42:08.067Z] ec43610c2a17: Pull complete [2022-04-11T22:42:08.067Z] 3a2ae6a8a46f: Pull complete [2022-04-11T22:42:08.326Z] 33b1e0a273af: Pull complete [2022-04-11T22:42:08.326Z] 5d3b04190fa2: Pull complete [2022-04-11T22:42:13.597Z] 2f39f015ded8: Pull complete [2022-04-11T22:42:13.597Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-11T22:42:13.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T22:42:13.597Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-11T22:42:13.662Z] prd-ubuntu20.04-docker-8c-8g-20570 does not seem to be running inside a container [2022-04-11T22:42:13.688Z] $ 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-11T22:42:15.296Z] $ docker top 34bc415a3c7db9c09cdc2500a96ea9554e7f4a9f8adca23b9b2039ffdb522c07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:42:15.747Z] ---> job-cost.sh [2022-04-11T22:42:15.747Z] lf-activate-venv: SKIPPING [2022-04-11T22:42:15.747Z] INFO: No Stack... [2022-04-11T22:42:16.319Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T22:42:16.579Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T22:42:16.873Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/cost.csv [2022-04-11T22:42:16.873Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T22:42:16.892Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] [2022-04-11T22:42:16.901Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] did not exist. Created. [2022-04-11T22:42:16.901Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T22:42:17.210Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-11T22:42:17.243Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T22:42:17.250Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T22:42:17.260Z] $ docker stop --time=1 34bc415a3c7db9c09cdc2500a96ea9554e7f4a9f8adca23b9b2039ffdb522c07 [2022-04-11T22:42:18.427Z] $ docker rm -f 34bc415a3c7db9c09cdc2500a96ea9554e7f4a9f8adca23b9b2039ffdb522c07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-11T22:42:27.995Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20572 in /w/workspace/gexfoundry_device-sdk-go_PR-1122 [Pipeline] { [Pipeline] ws [2022-04-11T22:42:28.010Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-04-11T22:42:28.257Z] The recommended git tool is: git [2022-04-11T22:42:35.876Z] using credential edgex-jenkins-ssh [2022-04-11T22:42:35.896Z] Cloning the remote Git repository [2022-04-11T22:42:35.984Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-11T22:42:36.092Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-04-11T22:42:36.270Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-11T22:42:36.271Z] > git --version # timeout=10 [2022-04-11T22:42:36.345Z] > git --version # 'git version 2.25.1' [2022-04-11T22:42:36.348Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T22:42:36.584Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T22:42:38.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-11T22:42:39.148Z] Merging remotes/origin/main commit c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit fad5b8934091ce8d844bc32fca8ede5bda20e4fc [2022-04-11T22:42:39.522Z] Merge succeeded, producing 28ef465814b688676f14cb703bfcce7f1f02fc86 [2022-04-11T22:42:39.523Z] Checking out Revision 28ef465814b688676f14cb703bfcce7f1f02fc86 (PR-1122) [2022-04-11T22:42:38.397Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T22:42:38.425Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-11T22:42:38.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-11T22:42:38.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T22:42:38.523Z] > 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-11T22:42:39.175Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T22:42:39.198Z] > git checkout -f fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 [2022-04-11T22:42:39.315Z] > git remote # timeout=10 [2022-04-11T22:42:39.338Z] > git config --get remote.origin.url # timeout=10 [2022-04-11T22:42:39.379Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T22:42:39.390Z] > git merge c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 [2022-04-11T22:42:39.480Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-11T22:42:39.538Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T22:42:39.562Z] > git checkout -f 28ef465814b688676f14cb703bfcce7f1f02fc86 # timeout=10 [2022-04-11T22:42:43.900Z] Commit message: "Merge commit 'c11ae5f9cc83784f65659a881f6412b77a9cc0d8' into HEAD" [2022-04-11T22:42:43.927Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T22:42:43.914Z] > git rev-list --no-walk e935a8832cfbfe53789e0847d752cbd1c364582c # timeout=10 [2022-04-11T22:42:44.894Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-11T22:42:44.894Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T22:42:44.894Z] Dload Upload Total Spent Left Speed [2022-04-11T22:42:44.894Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47562 0 --:--:-- --:--:-- --:--:-- 47562 [Pipeline] sh [2022-04-11T22:42:45.412Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-11T22:42:45.766Z] + sudo tee /etc/docker/daemon.new [2022-04-11T22:42:45.766Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-11T22:42:45.766Z] { [2022-04-11T22:42:45.766Z] "registry-mirrors": [ [2022-04-11T22:42:45.766Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-11T22:42:45.766Z] ], [2022-04-11T22:42:45.766Z] "bip": "10.250.0.254/24", [2022-04-11T22:42:45.766Z] "hosts": [ [2022-04-11T22:42:45.766Z] "tcp://0.0.0.0:5555", [2022-04-11T22:42:45.766Z] "unix:///var/run/docker.sock" [2022-04-11T22:42:45.766Z] ], [2022-04-11T22:42:45.766Z] "mtu": 1458, [2022-04-11T22:42:45.766Z] "selinux-enabled": true, [2022-04-11T22:42:45.766Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-11T22:42:45.766Z] } [Pipeline] sh [2022-04-11T22:42:46.134Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-11T22:42:46.478Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T22:43:04.814Z] provisioning config files... [2022-04-11T22:43:04.838Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3955836001439022783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:43:05.289Z] ---> docker-login.sh [2022-04-11T22:43:05.289Z] nexus3.edgexfoundry.org:10001 [2022-04-11T22:43:05.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:43:06.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:43:06.166Z] Configure a credential helper to remove this warning. See [2022-04-11T22:43:06.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:43:06.166Z] [2022-04-11T22:43:06.166Z] Login Succeeded [2022-04-11T22:43:06.166Z] nexus3.edgexfoundry.org:10002 [2022-04-11T22:43:06.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:43:06.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:43:06.720Z] Configure a credential helper to remove this warning. See [2022-04-11T22:43:06.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:43:06.720Z] [2022-04-11T22:43:06.720Z] Login Succeeded [2022-04-11T22:43:06.720Z] nexus3.edgexfoundry.org:10003 [2022-04-11T22:43:06.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:43:06.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:43:06.992Z] Configure a credential helper to remove this warning. See [2022-04-11T22:43:06.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:43:06.992Z] [2022-04-11T22:43:06.992Z] Login Succeeded [2022-04-11T22:43:07.273Z] nexus3.edgexfoundry.org:10004 [2022-04-11T22:43:07.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:43:07.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:43:07.547Z] Configure a credential helper to remove this warning. See [2022-04-11T22:43:07.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:43:07.547Z] [2022-04-11T22:43:07.547Z] Login Succeeded [2022-04-11T22:43:07.547Z] docker.io [2022-04-11T22:43:07.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T22:43:08.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T22:43:08.418Z] Configure a credential helper to remove this warning. See [2022-04-11T22:43:08.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T22:43:08.418Z] [2022-04-11T22:43:08.418Z] Login Succeeded [2022-04-11T22:43:08.418Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T22:43:08.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T22:43:08.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T22:43:08.869Z] ========================================================= [2022-04-11T22:43:08.869Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-11T22:43:08.869Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:43:09.232Z] + 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-11T22:43:09.839Z] Sending build context to Docker daemon 5.167MB [2022-04-11T22:43:09.839Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T22:43:09.839Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-11T22:43:09.839Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-11T22:43:09.839Z] 9b3977197b4f: Pulling fs layer [2022-04-11T22:43:09.839Z] 1a89e8eeedd5: Pulling fs layer [2022-04-11T22:43:09.839Z] 94645a83ff95: Pulling fs layer [2022-04-11T22:43:09.839Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-11T22:43:09.839Z] 0c92f367c5e7: Pulling fs layer [2022-04-11T22:43:09.839Z] f7c0051592d6: Pulling fs layer [2022-04-11T22:43:09.839Z] a227ed2f7395: Pulling fs layer [2022-04-11T22:43:09.839Z] 7b1c46037f91: Pulling fs layer [2022-04-11T22:43:09.839Z] 3f3a8bcf1eab: Waiting [2022-04-11T22:43:09.839Z] 0c92f367c5e7: Waiting [2022-04-11T22:43:09.839Z] f7c0051592d6: Waiting [2022-04-11T22:43:09.839Z] a227ed2f7395: Waiting [2022-04-11T22:43:09.839Z] 7b1c46037f91: Waiting [2022-04-11T22:43:09.839Z] 94645a83ff95: Verifying Checksum [2022-04-11T22:43:09.839Z] 94645a83ff95: Download complete [2022-04-11T22:43:09.839Z] 1a89e8eeedd5: Download complete [2022-04-11T22:43:09.839Z] 0c92f367c5e7: Verifying Checksum [2022-04-11T22:43:09.839Z] 0c92f367c5e7: Download complete [2022-04-11T22:43:09.839Z] f7c0051592d6: Verifying Checksum [2022-04-11T22:43:09.839Z] f7c0051592d6: Download complete [2022-04-11T22:43:10.116Z] 9b3977197b4f: Download complete [2022-04-11T22:43:10.116Z] a227ed2f7395: Verifying Checksum [2022-04-11T22:43:10.116Z] a227ed2f7395: Download complete [2022-04-11T22:43:10.718Z] 9b3977197b4f: Pull complete [2022-04-11T22:43:11.321Z] 1a89e8eeedd5: Pull complete [2022-04-11T22:43:11.600Z] 94645a83ff95: Pull complete [2022-04-11T22:43:11.874Z] 7b1c46037f91: Verifying Checksum [2022-04-11T22:43:11.874Z] 7b1c46037f91: Download complete [2022-04-11T22:43:12.852Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-11T22:43:12.852Z] 3f3a8bcf1eab: Download complete [2022-04-11T22:43:25.264Z] 3f3a8bcf1eab: Pull complete [2022-04-11T22:43:25.264Z] 0c92f367c5e7: Pull complete [2022-04-11T22:43:25.264Z] f7c0051592d6: Pull complete [2022-04-11T22:43:25.264Z] a227ed2f7395: Pull complete [2022-04-11T22:43:32.002Z] 7b1c46037f91: Pull complete [2022-04-11T22:43:32.002Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-11T22:43:32.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-11T22:43:32.002Z] ---> f79e39bc4007 [2022-04-11T22:43:32.002Z] Step 3/11 : ARG MAKE=make build [2022-04-11T22:43:32.002Z] ---> Running in d936d9fdae2f [2022-04-11T22:43:32.598Z] Removing intermediate container d936d9fdae2f [2022-04-11T22:43:32.598Z] ---> 08b48fb07499 [2022-04-11T22:43:32.598Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-11T22:43:32.598Z] ---> Running in f35badfec725 [2022-04-11T22:43:32.872Z] Removing intermediate container f35badfec725 [2022-04-11T22:43:32.872Z] ---> 5441f0c3bb24 [2022-04-11T22:43:32.872Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T22:43:32.872Z] ---> Running in fa709a5a72eb [2022-04-11T22:43:33.146Z] Removing intermediate container fa709a5a72eb [2022-04-11T22:43:33.146Z] ---> c15eee38c90b [2022-04-11T22:43:33.146Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T22:43:33.146Z] ---> Running in 54d18bb6faa7 [2022-04-11T22:43:35.128Z] Removing intermediate container 54d18bb6faa7 [2022-04-11T22:43:35.128Z] ---> d87053a67107 [2022-04-11T22:43:35.128Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T22:43:35.128Z] ---> Running in ec663aed6575 [2022-04-11T22:43:36.105Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T22:43:36.703Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T22:43:37.685Z] OK: 220 MiB in 52 packages [2022-04-11T22:43:38.290Z] Removing intermediate container ec663aed6575 [2022-04-11T22:43:38.290Z] ---> 9256118a5ffc [2022-04-11T22:43:38.290Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-11T22:43:38.890Z] ---> 3f117b82ea47 [2022-04-11T22:43:38.890Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T22:43:38.890Z] ---> Running in 0659660af271 [2022-04-11T22:44:25.932Z] Removing intermediate container 0659660af271 [2022-04-11T22:44:25.932Z] ---> fa761f6477b3 [2022-04-11T22:44:25.932Z] Step 10/11 : COPY . . [2022-04-11T22:44:25.932Z] ---> 026ab3619695 [2022-04-11T22:44:25.932Z] Step 11/11 : RUN ${MAKE} [2022-04-11T22:44:25.932Z] ---> Running in 077b5f6877bb [2022-04-11T22:44:25.932Z] noop [2022-04-11T22:44:25.932Z] Removing intermediate container 077b5f6877bb [2022-04-11T22:44:25.932Z] ---> ed6d7d2d2507 [2022-04-11T22:44:25.932Z] Successfully built ed6d7d2d2507 [2022-04-11T22:44:25.932Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:44:26.280Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T22:44:26.280Z] . [Pipeline] withDockerContainer [2022-04-11T22:44:26.528Z] prd-ubuntu20.04-docker-arm64-4c-16g-20572 does not seem to be running inside a container [2022-04-11T22:44:26.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-11T22:44:27.879Z] $ docker top 132593d2e2786a148681c4a93636345e727131bc8fef1490052a4a35c6e28cd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T22:44:28.781Z] + go version [2022-04-11T22:44:28.781Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-11T22:44:28.816Z] $ docker stop --time=1 132593d2e2786a148681c4a93636345e727131bc8fef1490052a4a35c6e28cd8 [2022-04-11T22:44:30.425Z] $ docker rm -f 132593d2e2786a148681c4a93636345e727131bc8fef1490052a4a35c6e28cd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:44:31.027Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T22:44:31.027Z] . [Pipeline] withDockerContainer [2022-04-11T22:44:31.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-20572 does not seem to be running inside a container [2022-04-11T22:44:31.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-11T22:44:32.626Z] $ docker top f393d6bd39c8f30d12ca9d216a1434e2dd1089f2a00aa10ca07ff967f62be082 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T22:44:33.549Z] + make test [2022-04-11T22:44:33.549Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-11T22:44:35.546Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-11T22:45:57.432Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-11T22:45:57.432Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-11T22:45:57.432Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-11T22:45:57.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.128s coverage: 23.3% of statements [2022-04-11T22:45:57.432Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-11T22:45:57.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2022-04-11T22:45:57.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.095s coverage: 78.9% of statements [2022-04-11T22:45:59.458Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.066s coverage: 10.8% of statements [2022-04-11T22:45:59.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-11T22:45:59.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-11T22:45:59.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-11T22:46:01.483Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.141s coverage: 33.2% of statements [2022-04-11T22:46:01.483Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-11T22:46:03.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.071s coverage: 86.1% of statements [2022-04-11T22:46:03.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-11T22:46:03.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-11T22:46:03.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.153s coverage: 57.4% of statements [2022-04-11T22:46:03.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.203s coverage: 89.2% of statements [2022-04-11T22:46:03.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-11T22:46:06.871Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.8% of statements [2022-04-11T22:46:06.871Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-11T22:46:07.147Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-11T22:46:07.147Z] GO111MODULE=on go vet ./... [2022-04-11T22:46:33.999Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T22:46:33.999Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T22:46:33.999Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T22:46:34.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T22:46:35.013Z] $ docker stop --time=1 f393d6bd39c8f30d12ca9d216a1434e2dd1089f2a00aa10ca07ff967f62be082 [2022-04-11T22:46:36.783Z] $ docker rm -f f393d6bd39c8f30d12ca9d216a1434e2dd1089f2a00aa10ca07ff967f62be082 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T22:46:37.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T22:46:37.741Z] Warning: overwriting stash ‘coverage-report’ [2022-04-11T22:46:38.290Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T22:46:38.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T22:46:39.012Z] + ls -al . [2022-04-11T22:46:39.012Z] total 312 [2022-04-11T22:46:39.012Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 22:46 . [2022-04-11T22:46:39.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:42 .. [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 22:42 .dockerignore [2022-04-11T22:46:39.012Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 22:42 .git [2022-04-11T22:46:39.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:42 .github [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 11 22:42 .gitignore [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 11 22:42 .golangci.yml [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 11 22:42 CHANGELOG.md [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 22:42 GOVERNANCE.md [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 11 22:42 Jenkinsfile [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 11 22:42 LICENSE [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 11 22:42 Makefile [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 11 22:42 OWNERS.md [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 11 22:42 README.md [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 22:40 VERSION [2022-04-11T22:46:39.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:42 bin [2022-04-11T22:46:39.012Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 11 22:46 coverage.out [2022-04-11T22:46:39.012Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:42 example [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 11 22:42 go.mod [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 53784 Apr 11 22:42 go.sum [2022-04-11T22:46:39.012Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 11 22:42 internal [2022-04-11T22:46:39.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 22:42 openapi [2022-04-11T22:46:39.012Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:42 pkg [2022-04-11T22:46:39.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:42 snap [2022-04-11T22:46:39.012Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 11 22:42 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:46:39.351Z] + 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=28ef465814b688676f14cb703bfcce7f1f02fc86 --label arch=arm64 --label version=0.0.0 . [2022-04-11T22:46:39.627Z] Sending build context to Docker daemon 5.297MB [2022-04-11T22:46:39.900Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T22:46:39.900Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-11T22:46:39.900Z] ---> ed6d7d2d2507 [2022-04-11T22:46:39.900Z] Step 3/25 : ARG MAKE=make build [2022-04-11T22:46:39.900Z] ---> Running in ff8e2e0e73c3 [2022-04-11T22:46:40.175Z] Removing intermediate container ff8e2e0e73c3 [2022-04-11T22:46:40.175Z] ---> e427feaae01d [2022-04-11T22:46:40.175Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-11T22:46:40.175Z] ---> Running in 09701771a478 [2022-04-11T22:46:40.466Z] Removing intermediate container 09701771a478 [2022-04-11T22:46:40.466Z] ---> 374fba683bb5 [2022-04-11T22:46:40.466Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T22:46:40.751Z] ---> Running in 01850a09bf46 [2022-04-11T22:46:41.030Z] Removing intermediate container 01850a09bf46 [2022-04-11T22:46:41.030Z] ---> 4822d2388d8c [2022-04-11T22:46:41.030Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T22:46:41.030Z] ---> Running in 9cd573bce76c [2022-04-11T22:46:43.009Z] Removing intermediate container 9cd573bce76c [2022-04-11T22:46:43.009Z] ---> f43045c603cb [2022-04-11T22:46:43.009Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-11T22:46:43.393Z] ---> Running in 6a84fa84f373 [2022-04-11T22:46:44.492Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T22:46:45.094Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T22:46:46.086Z] OK: 220 MiB in 52 packages [2022-04-11T22:46:46.684Z] Removing intermediate container 6a84fa84f373 [2022-04-11T22:46:46.684Z] ---> cbd23d540714 [2022-04-11T22:46:46.684Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-11T22:46:47.290Z] ---> 2390d2881e81 [2022-04-11T22:46:47.290Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T22:46:47.290Z] ---> Running in e7e0b4d82338 [2022-04-11T22:46:49.273Z] Removing intermediate container e7e0b4d82338 [2022-04-11T22:46:49.273Z] ---> 80ce436c5a0e [2022-04-11T22:46:49.273Z] Step 10/25 : COPY . . [2022-04-11T22:46:50.255Z] ---> 96328a920895 [2022-04-11T22:46:50.255Z] Step 11/25 : RUN ${MAKE} [2022-04-11T22:46:50.255Z] ---> Running in 258312d00636 [2022-04-11T22:46:51.247Z] 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-11T22:48:58.149Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-11T22:48:58.149Z] Removing intermediate container 258312d00636 [2022-04-11T22:48:58.149Z] ---> 73950771cdc6 [2022-04-11T22:48:58.149Z] Step 12/25 : FROM alpine:3.14 [2022-04-11T22:48:58.149Z] 3.14: Pulling from library/alpine [2022-04-11T22:48:58.149Z] 455c02918c45: Pulling fs layer [2022-04-11T22:48:58.149Z] 455c02918c45: Verifying Checksum [2022-04-11T22:48:58.149Z] 455c02918c45: Download complete [2022-04-11T22:48:58.149Z] 455c02918c45: Pull complete [2022-04-11T22:48:58.149Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T22:48:58.149Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T22:48:58.149Z] ---> ac73e934f311 [2022-04-11T22:48:58.149Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-11T22:48:58.149Z] ---> Running in 75eb4dd26966 [2022-04-11T22:48:58.149Z] Removing intermediate container 75eb4dd26966 [2022-04-11T22:48:58.149Z] ---> 406ed25187c5 [2022-04-11T22:48:58.149Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T22:48:58.149Z] ---> Running in cadc7afdaf0e [2022-04-11T22:48:58.149Z] Removing intermediate container cadc7afdaf0e [2022-04-11T22:48:58.149Z] ---> d98d958c2ea5 [2022-04-11T22:48:58.149Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-11T22:48:58.149Z] ---> Running in 2908417cc60f [2022-04-11T22:48:58.149Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-11T22:48:58.149Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-11T22:48:58.149Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T22:48:58.149Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-11T22:48:58.149Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T22:48:58.149Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-11T22:48:58.149Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-11T22:48:58.149Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T22:48:58.149Z] OK: 8 MiB in 19 packages [2022-04-11T22:48:58.422Z] Removing intermediate container 2908417cc60f [2022-04-11T22:48:58.422Z] ---> 2cc57b3045a7 [2022-04-11T22:48:58.422Z] Step 16/25 : WORKDIR / [2022-04-11T22:48:58.422Z] ---> Running in 0d3303f889d8 [2022-04-11T22:48:58.697Z] Removing intermediate container 0d3303f889d8 [2022-04-11T22:48:58.697Z] ---> a9360bf090a9 [2022-04-11T22:48:58.697Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-11T22:48:59.292Z] ---> 0a7cbce81406 [2022-04-11T22:48:59.292Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-11T22:49:01.270Z] ---> c27d361fa98c [2022-04-11T22:49:01.270Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-11T22:49:01.544Z] ---> 3cf019f16ebd [2022-04-11T22:49:01.544Z] Step 20/25 : EXPOSE 59999 [2022-04-11T22:49:01.544Z] ---> Running in e3cc5d29075f [2022-04-11T22:49:02.145Z] Removing intermediate container e3cc5d29075f [2022-04-11T22:49:02.146Z] ---> 8ca6bcf8cb64 [2022-04-11T22:49:02.146Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-11T22:49:02.146Z] ---> Running in 8c46e3f00eb8 [2022-04-11T22:49:02.418Z] Removing intermediate container 8c46e3f00eb8 [2022-04-11T22:49:02.418Z] ---> d9058a4800df [2022-04-11T22:49:02.418Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-11T22:49:02.418Z] ---> Running in f7c9b99d9e97 [2022-04-11T22:49:02.697Z] Removing intermediate container f7c9b99d9e97 [2022-04-11T22:49:02.697Z] ---> 747ff94c195e [2022-04-11T22:49:02.697Z] Step 23/25 : LABEL arch=arm64 [2022-04-11T22:49:02.974Z] ---> Running in 3a009f5c78cc [2022-04-11T22:49:03.249Z] Removing intermediate container 3a009f5c78cc [2022-04-11T22:49:03.249Z] ---> 7a1302b795ed [2022-04-11T22:49:03.249Z] Step 24/25 : LABEL git_sha=28ef465814b688676f14cb703bfcce7f1f02fc86 [2022-04-11T22:49:03.249Z] ---> Running in 50a60b117031 [2022-04-11T22:49:03.523Z] Removing intermediate container 50a60b117031 [2022-04-11T22:49:03.523Z] ---> b08fac351c15 [2022-04-11T22:49:03.523Z] Step 25/25 : LABEL version=0.0.0 [2022-04-11T22:49:03.799Z] ---> Running in c5005023c3a3 [2022-04-11T22:49:04.073Z] Removing intermediate container c5005023c3a3 [2022-04-11T22:49:04.073Z] ---> 548464e5a939 [2022-04-11T22:49:04.073Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T22:49:04.073Z] Successfully built 548464e5a939 [2022-04-11T22:49:04.073Z] 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-11T22:49:04.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T22:49:04.504Z] [2022-04-11T22:49:04.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:49:04.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T22:49:05.135Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-11T22:49:05.135Z] 8998bd30e6a1: Pulling fs layer [2022-04-11T22:49:05.135Z] 04944245beec: Pulling fs layer [2022-04-11T22:49:05.135Z] 699f458cf7ca: Pulling fs layer [2022-04-11T22:49:05.135Z] 765212b225bb: Pulling fs layer [2022-04-11T22:49:05.135Z] f23df028b6ca: Pulling fs layer [2022-04-11T22:49:05.135Z] d65c8cfc05b1: Pulling fs layer [2022-04-11T22:49:05.135Z] 2437ff75d9bd: Pulling fs layer [2022-04-11T22:49:05.135Z] d65c8cfc05b1: Waiting [2022-04-11T22:49:05.135Z] 2437ff75d9bd: Waiting [2022-04-11T22:49:05.135Z] 765212b225bb: Waiting [2022-04-11T22:49:05.135Z] f23df028b6ca: Waiting [2022-04-11T22:49:05.135Z] 04944245beec: Verifying Checksum [2022-04-11T22:49:05.135Z] 04944245beec: Download complete [2022-04-11T22:49:05.135Z] 765212b225bb: Verifying Checksum [2022-04-11T22:49:05.135Z] 765212b225bb: Download complete [2022-04-11T22:49:05.135Z] f23df028b6ca: Download complete [2022-04-11T22:49:05.135Z] d65c8cfc05b1: Verifying Checksum [2022-04-11T22:49:05.135Z] d65c8cfc05b1: Download complete [2022-04-11T22:49:05.415Z] 699f458cf7ca: Verifying Checksum [2022-04-11T22:49:05.415Z] 699f458cf7ca: Download complete [2022-04-11T22:49:05.694Z] 8998bd30e6a1: Verifying Checksum [2022-04-11T22:49:05.694Z] 8998bd30e6a1: Download complete [2022-04-11T22:49:08.319Z] 2437ff75d9bd: Verifying Checksum [2022-04-11T22:49:08.319Z] 2437ff75d9bd: Download complete [2022-04-11T22:49:10.297Z] 8998bd30e6a1: Pull complete [2022-04-11T22:49:10.570Z] 04944245beec: Pull complete [2022-04-11T22:49:12.011Z] 699f458cf7ca: Pull complete [2022-04-11T22:49:12.287Z] 765212b225bb: Pull complete [2022-04-11T22:49:13.269Z] f23df028b6ca: Pull complete [2022-04-11T22:49:13.542Z] d65c8cfc05b1: Pull complete [2022-04-11T22:49:28.646Z] 2437ff75d9bd: Pull complete [2022-04-11T22:49:28.646Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-11T22:49:28.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T22:49:28.646Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-11T22:49:28.856Z] prd-ubuntu20.04-docker-arm64-4c-16g-20572 does not seem to be running inside a container [2022-04-11T22:49:28.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-11T22:49:31.614Z] $ docker top f9840d1f5825b21a0a3475f3039db86c6fb01dd8ba8a532feabcd5e59e41d8d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:49:32.529Z] ---> job-cost.sh [2022-04-11T22:49:32.529Z] lf-activate-venv: SKIPPING [2022-04-11T22:49:32.529Z] INFO: No Stack... [2022-04-11T22:49:33.123Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-11T22:49:34.101Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T22:49:34.781Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-04-11T22:49:34.781Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T22:49:34.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] [2022-04-11T22:49:34.855Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] did not exist. Created. [2022-04-11T22:49:34.855Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T22:49:35.567Z] /w/workspace/device-sdk-go/3@tmp/durable-2bf48ac6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-11T22:49:36.302Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-11T22:49:36.335Z] Warning: overwriting stash ‘stack-cost’ [2022-04-11T22:49:36.423Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T22:49:36.431Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T22:49:36.455Z] $ docker stop --time=1 f9840d1f5825b21a0a3475f3039db86c6fb01dd8ba8a532feabcd5e59e41d8d2 [2022-04-11T22:49:38.027Z] $ docker rm -f f9840d1f5825b21a0a3475f3039db86c6fb01dd8ba8a532feabcd5e59e41d8d2 [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-11T22:49:38.562Z] provisioning config files... [2022-04-11T22:49:38.571Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config8565093801332709240tmp [Pipeline] { [Pipeline] sh [2022-04-11T22:49:38.923Z] + set +x [2022-04-11T22:49:38.923Z] + curl -s https://codecov.io/bash [2022-04-11T22:49:38.923Z] + bash -s -- [2022-04-11T22:49:38.923Z] [2022-04-11T22:49:38.923Z] _____ _ [2022-04-11T22:49:38.923Z] / ____| | | [2022-04-11T22:49:38.923Z] | | ___ __| | ___ ___ _____ __ [2022-04-11T22:49:38.923Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-11T22:49:38.923Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-11T22:49:38.923Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-11T22:49:38.923Z] Bash-1.0.6 [2022-04-11T22:49:38.923Z] [2022-04-11T22:49:38.923Z] [2022-04-11T22:49:38.923Z] ==> git version 2.25.1 found [2022-04-11T22:49:38.923Z] ==> 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-11T22:49:38.923Z] Release-Date: 2020-01-08 [2022-04-11T22:49:38.923Z] 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-11T22:49:38.923Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-11T22:49:38.923Z] ==> Jenkins CI detected. [2022-04-11T22:49:38.923Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1122 [2022-04-11T22:49:38.923Z] project root: . [2022-04-11T22:49:38.923Z] --> token set from env [2022-04-11T22:49:38.923Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-11T22:49:38.923Z] ==> Running gcov in . (disable via -X gcov) [2022-04-11T22:49:38.923Z] ==> Python coveragepy not found [2022-04-11T22:49:38.923Z] ==> Searching for coverage reports in: [2022-04-11T22:49:38.923Z] + . [2022-04-11T22:49:38.923Z] -> Found 1 reports [2022-04-11T22:49:38.923Z] ==> Detecting git/mercurial file structure [2022-04-11T22:49:38.923Z] ==> Reading reports [2022-04-11T22:49:38.923Z] + ./coverage.out bytes=129001 [2022-04-11T22:49:38.923Z] ==> Appending adjustments [2022-04-11T22:49:38.923Z] https://docs.codecov.io/docs/fixing-reports [2022-04-11T22:49:39.214Z] + Found adjustments [2022-04-11T22:49:39.214Z] ==> Gzipping contents [2022-04-11T22:49:39.214Z] 16K /tmp/codecov.rWTtAw.gz [2022-04-11T22:49:39.214Z] ==> Uploading reports [2022-04-11T22:49:39.214Z] url: https://codecov.io [2022-04-11T22:49:39.214Z] query: branch=PR-1122&commit=73417602b74e3a5132d1a38fdf4054a4482d9977&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1122%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1122&job=&cmd_args= [2022-04-11T22:49:39.214Z] -> Pinging Codecov [2022-04-11T22:49:39.214Z] 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=73417602b74e3a5132d1a38fdf4054a4482d9977&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1122%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1122&job=&cmd_args= [2022-04-11T22:49:39.786Z] -> Uploading to [2022-04-11T22:49:39.786Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-11/7E55EF52A471D76F132DFD9A03CDDE97/73417602b74e3a5132d1a38fdf4054a4482d9977/3d84b2a9-d458-460a-bb0c-7f0d4c17a02a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T224939Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a152de778c4b915376ed8af1076c9588e3a12366bfa644d659303e5b3573a794 [2022-04-11T22:49:39.786Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T22:49:39.786Z] Dload Upload Total Spent Left Speed [2022-04-11T22:49:40.047Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16232 0 0 100 16232 0 65451 --:--:-- --:--:-- --:--:-- 65451 [2022-04-11T22:49:40.047Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/73417602b74e3a5132d1a38fdf4054a4482d9977 [Pipeline] } [2022-04-11T22:49:40.056Z] 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-11T22:49:40.884Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives ] [2022-04-11T22:49:40.885Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives [2022-04-11T22:49:40.885Z] total 16 [2022-04-11T22:49:40.885Z] drwxr-xr-x 3 root root 4096 Apr 11 22:42 . [2022-04-11T22:49:40.885Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 11 22:42 .. [2022-04-11T22:49:40.885Z] drwxr-xr-x 2 root root 4096 Apr 11 22:42 cost [2022-04-11T22:49:40.885Z] -rw-r--r-- 1 root root 86 Apr 11 22:42 cost.csv [2022-04-11T22:49:40.885Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives [2022-04-11T22:49:40.885Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives [2022-04-11T22:49:40.885Z] total 16 [2022-04-11T22:49:40.885Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 22:42 . [2022-04-11T22:49:40.885Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 11 22:42 .. [2022-04-11T22:49:40.885Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 22:42 cost [2022-04-11T22:49:40.885Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 11 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:49:41.179Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:49:42.043Z] ---> package-listing.sh [2022-04-11T22:49:42.044Z] ++ facter osfamily [2022-04-11T22:49:42.044Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-11T22:49:42.044Z] + OS_FAMILY=debian [2022-04-11T22:49:42.044Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1122 [2022-04-11T22:49:42.044Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-11T22:49:42.044Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-11T22:49:42.044Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-11T22:49:42.044Z] + PACKAGES=/tmp/packages_start.txt [2022-04-11T22:49:42.044Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1122 ']' [2022-04-11T22:49:42.044Z] + PACKAGES=/tmp/packages_end.txt [2022-04-11T22:49:42.044Z] + case "${OS_FAMILY}" in [2022-04-11T22:49:42.044Z] + dpkg -l [2022-04-11T22:49:42.044Z] + grep '^ii' [2022-04-11T22:49:42.305Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-11T22:49:42.305Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-11T22:49:42.305Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-11T22:49:42.305Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1122 ']' [2022-04-11T22:49:42.305Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/ [2022-04-11T22:49:42.305Z] + 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-11T22:49:42.318Z] 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-11T22:49:42.597Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-11T22:49:43.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T22:49:43.156Z] . [Pipeline] withDockerContainer [2022-04-11T22:49:43.225Z] prd-ubuntu20.04-docker-8c-8g-20570 does not seem to be running inside a container [2022-04-11T22:49:43.245Z] $ 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-11T22:49:43.468Z] $ docker top ce69dabdc4b719d90acb138f024cfeea28260a862027214cc6fee42fbf4bb526 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T22:49:43.837Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-11T22:49:44.126Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-11T22:49:44.417Z] + ls /var/log/sa-host [2022-04-11T22:49:44.417Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T22:49:44.632Z] provisioning config files... [2022-04-11T22:49:44.640Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config5960231316383346289tmp [Pipeline] { [Pipeline] echo [2022-04-11T22:49:44.654Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:49:44.941Z] ---> create-netrc.sh [Pipeline] } [2022-04-11T22:49:44.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:49:45.287Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-11T22:49:45.298Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:49:45.590Z] ---> sudo-logs.sh [2022-04-11T22:49:45.590Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-11T22:49:45.617Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:49:45.908Z] ---> job-cost.sh [2022-04-11T22:49:45.908Z] lf-activate-venv: SKIPPING [2022-04-11T22:49:45.908Z] DEBUG: total: 0.2199999988079071 [2022-04-11T22:49:45.908Z] INFO: Retrieving Stack Cost... [2022-04-11T22:49:46.479Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T22:49:46.740Z] INFO: Archiving Costs [Pipeline] echo [2022-04-11T22:49:46.755Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T22:49:47.044Z] ---> logs-deploy.sh [2022-04-11T22:49:47.044Z] lf-activate-venv: SKIPPING [2022-04-11T22:49:47.044Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1122/3 [2022-04-11T22:49:47.044Z] INFO: archiving workspace using pattern(s): [2022-04-11T22:49:47.987Z] Archives upload complete. [2022-04-11T22:49:47.987Z] INFO: archiving logs to Nexus