Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 854a1d02177849dfca254246521bbb7ea3bc181d+45e6addfd964a0ca7ed47e9673a51a0c53e11884 (804c33110be0bf4650e4ffe9d99bb022863f5c57) 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-ssh11656153016795126416.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-ssh15977457876950925904.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-1123/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-1123/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh708420092914367936.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-ssh16050025406023685685.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-1123/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-1123/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17029572285551319278.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20730 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [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-1123 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1123/head:refs/remotes/origin/PR-1123 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit 854a1d02177849dfca254246521bbb7ea3bc181d Merge succeeded, producing 106b3f240b44d39bf24f90023f483d7ad428017d Checking out Revision 106b3f240b44d39bf24f90023f483d7ad428017d (PR-1123) > git config core.sparsecheckout # timeout=10 > git checkout -f 854a1d02177849dfca254246521bbb7ea3bc181d # 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 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 106b3f240b44d39bf24f90023f483d7ad428017d # timeout=10 Commit message: "Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-12T22:42:23.992Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-12T22:42:24.055Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-12T22:42:24.067Z] ========================================================= [2022-04-12T22:42:24.067Z] EdgeX Global Pipelines Version Info [2022-04-12T22:42:24.067Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:42:24.825Z] ------------------- [2022-04-12T22:42:24.825Z] stable info: [2022-04-12T22:42:24.825Z] ------------------- [2022-04-12T22:42:24.825Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-12T22:42:24.825Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T22:42:24.825Z] Message: update stable to v1.0.221 > git rev-list --no-walk 3325adb14315d6a270dca8262662c3c97c14334c # timeout=10 [2022-04-12T22:42:25.399Z] ------------------- [2022-04-12T22:42:25.399Z] experimental info: [2022-04-12T22:42:25.399Z] ------------------- [2022-04-12T22:42:25.399Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-12T22:42:25.399Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T22:42:25.399Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-12T22:42:25.537Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-12T22:42:25.553Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-12T22:42:25.570Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-12T22:42:25.586Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-12T22:42:25.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-12T22:42:25.615Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-12T22:42:25.629Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-12T22:42:25.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-12T22:42:25.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-12T22:42:25.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-12T22:42:25.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-12T22:42:25.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-12T22:42:25.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-12T22:42:25.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-12T22:42:25.754Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-12T22:42:25.768Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T22:42:25.784Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T22:42:25.801Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T22:42:25.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-12T22:42:25.825Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-12T22:42:25.837Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-12T22:42:25.852Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-12T22:42:25.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-12T22:42:25.879Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-12T22:42:25.893Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-12T22:42:25.902Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-12T22:42:25.915Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1123 [Pipeline] echo [2022-04-12T22:42:25.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1123 [Pipeline] echo [2022-04-12T22:42:25.938Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1123 [Pipeline] echo [2022-04-12T22:42:25.951Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 106b3f240b44d39bf24f90023f483d7ad428017d [Pipeline] echo [2022-04-12T22:42:25.969Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 106b3f2 [Pipeline] echo [2022-04-12T22:42:25.985Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T22:42:26.023Z] provisioning config files... [2022-04-12T22:42:26.039Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config3731838238590298996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:42:26.355Z] ---> docker-login.sh [2022-04-12T22:42:26.355Z] nexus3.edgexfoundry.org:10001 [2022-04-12T22:42:26.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:42:26.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:42:26.618Z] Configure a credential helper to remove this warning. See [2022-04-12T22:42:26.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:42:26.618Z] [2022-04-12T22:42:26.618Z] Login Succeeded [2022-04-12T22:42:26.618Z] nexus3.edgexfoundry.org:10002 [2022-04-12T22:42:26.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:42:26.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:42:26.880Z] Configure a credential helper to remove this warning. See [2022-04-12T22:42:26.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:42:26.880Z] [2022-04-12T22:42:26.880Z] Login Succeeded [2022-04-12T22:42:26.880Z] nexus3.edgexfoundry.org:10003 [2022-04-12T22:42:26.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:42:26.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:42:26.880Z] Configure a credential helper to remove this warning. See [2022-04-12T22:42:26.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:42:26.880Z] [2022-04-12T22:42:26.880Z] Login Succeeded [2022-04-12T22:42:26.880Z] nexus3.edgexfoundry.org:10004 [2022-04-12T22:42:27.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:42:27.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:42:27.143Z] Configure a credential helper to remove this warning. See [2022-04-12T22:42:27.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:42:27.143Z] [2022-04-12T22:42:27.143Z] Login Succeeded [2022-04-12T22:42:27.143Z] docker.io [2022-04-12T22:42:27.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:42:27.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:42:27.405Z] Configure a credential helper to remove this warning. See [2022-04-12T22:42:27.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:42:27.405Z] [2022-04-12T22:42:27.405Z] Login Succeeded [2022-04-12T22:42:27.668Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T22:42:27.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-12T22:42:28.070Z] + git rev-list -1 --merges 106b3f240b44d39bf24f90023f483d7ad428017d~1..106b3f240b44d39bf24f90023f483d7ad428017d [Pipeline] echo [2022-04-12T22:42:28.104Z] -----------> git rev-list -1 --merges 106b3f240b44d39bf24f90023f483d7ad428017d~1..106b3f240b44d39bf24f90023f483d7ad428017d 106b3f240b44d39bf24f90023f483d7ad428017d [2022-04-12T22:42:28.104Z] 106b3f240b44d39bf24f90023f483d7ad428017d [false] [Pipeline] sh [2022-04-12T22:42:28.407Z] + git log --format=format:%s -1 106b3f240b44d39bf24f90023f483d7ad428017d [Pipeline] echo [2022-04-12T22:42:28.428Z] ========================================================= [2022-04-12T22:42:28.428Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-12T22:42:28.428Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T22:42:28.776Z] + git log --format=format:%s -1 106b3f240b44d39bf24f90023f483d7ad428017d [Pipeline] echo [2022-04-12T22:42:28.788Z] [semverPrep] GIT_COMMIT: 106b3f240b44d39bf24f90023f483d7ad428017d, Commit Message: Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD [Pipeline] echo [2022-04-12T22:42:28.802Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-12T22:42:29.183Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T22:42:29.183Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-12T22:42:29.183Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-12T22:42:29.183Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-12T22:42:29.183Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-12T22:42:29.183Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-12T22:42:29.183Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:42:29.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T22:42:29.547Z] [2022-04-12T22:42:29.547Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:42:29.858Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T22:42:29.858Z] latest: Pulling from edgex-devops/git-semver [2022-04-12T22:42:29.858Z] a0d0a0d46f8b: Pulling fs layer [2022-04-12T22:42:29.858Z] 3e5f54012d9b: Pulling fs layer [2022-04-12T22:42:29.858Z] 4c7163046ea9: Pulling fs layer [2022-04-12T22:42:29.858Z] 0c2d73faf560: Pulling fs layer [2022-04-12T22:42:29.858Z] 0c2d73faf560: Waiting [2022-04-12T22:42:29.858Z] 3e5f54012d9b: Verifying Checksum [2022-04-12T22:42:29.858Z] 3e5f54012d9b: Download complete [2022-04-12T22:42:29.858Z] a0d0a0d46f8b: Download complete [2022-04-12T22:42:29.858Z] 0c2d73faf560: Verifying Checksum [2022-04-12T22:42:29.858Z] 0c2d73faf560: Download complete [2022-04-12T22:42:30.121Z] 4c7163046ea9: Verifying Checksum [2022-04-12T22:42:30.121Z] 4c7163046ea9: Download complete [2022-04-12T22:42:30.121Z] a0d0a0d46f8b: Pull complete [2022-04-12T22:42:30.121Z] 3e5f54012d9b: Pull complete [2022-04-12T22:42:30.697Z] 4c7163046ea9: Pull complete [2022-04-12T22:42:30.697Z] 0c2d73faf560: Pull complete [2022-04-12T22:42:30.697Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-12T22:42:30.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T22:42:30.697Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-12T22:42:30.855Z] prd-ubuntu20.04-docker-8c-8g-20730 does not seem to be running inside a container [2022-04-12T22:42:30.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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-12T22:42:31.676Z] $ docker top f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T22:42:31.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T22:42:31.780Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T22:42:31.912Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T22:42:31.917Z] $ docker exec f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d ssh-agent [2022-04-12T22:42:32.052Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXclLgNh/agent.14 [2022-04-12T22:42:32.052Z] SSH_AGENT_PID=20 [2022-04-12T22:42:32.061Z] Running ssh-add (command line suppressed) [2022-04-12T22:42:32.188Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_7527283505563870791.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_7527283505563870791.key) [2022-04-12T22:42:32.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T22:42:32.503Z] + git tag --points-at HEAD [Pipeline] } [2022-04-12T22:42:32.527Z] $ docker exec --env ******** --env ******** f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d ssh-agent -k [2022-04-12T22:42:32.642Z] unset SSH_AUTH_SOCK; [2022-04-12T22:42:32.643Z] unset SSH_AGENT_PID; [2022-04-12T22:42:32.643Z] echo Agent pid 20 killed; [2022-04-12T22:42:32.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-12T22:42:32.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T22:42:32.677Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T22:42:32.839Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T22:42:32.844Z] $ docker exec f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d ssh-agent [2022-04-12T22:42:32.982Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNdeeah/agent.52 [2022-04-12T22:42:32.982Z] SSH_AGENT_PID=58 [2022-04-12T22:42:32.988Z] Running ssh-add (command line suppressed) [2022-04-12T22:42:33.121Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_745233129785787141.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_745233129785787141.key) [2022-04-12T22:42:33.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T22:42:33.444Z] + git semver init [2022-04-12T22:42:33.444Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T22:42:33.444Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.git [2022-04-12T22:42:33.444Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1123 [2022-04-12T22:42:33.444Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T22:42:33.444Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T22:42:33.444Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T22:42:33.444Z] # $SEMVER_BRANCH = PR-1123 [2022-04-12T22:42:33.444Z] # $SEMVER_TEMP = /tmp/semver-060493420 [2022-04-12T22:42:33.444Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-12T22:42:34.842Z] # '/tmp/semver-060493420' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver' [2022-04-12T22:42:34.842Z] # -> Force: false [2022-04-12T22:42:34.842Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver [Pipeline] } [2022-04-12T22:42:34.855Z] $ docker exec --env ******** --env ******** f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d ssh-agent -k [2022-04-12T22:42:34.988Z] unset SSH_AUTH_SOCK; [2022-04-12T22:42:34.989Z] unset SSH_AGENT_PID; [2022-04-12T22:42:34.989Z] echo Agent pid 58 killed; [2022-04-12T22:42:34.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T22:42:35.322Z] + git semver [Pipeline] } [2022-04-12T22:42:35.342Z] $ docker stop --time=1 f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d [2022-04-12T22:42:36.714Z] $ docker rm -f f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T22:42:37.070Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-12T22:42:37.345Z] Stashed 1 file(s) [Pipeline] echo [2022-04-12T22:42:37.348Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T22:42:37.496Z] provisioning config files... [2022-04-12T22:42:37.507Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config2080414597961113081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:42:37.806Z] ---> docker-login.sh [2022-04-12T22:42:37.806Z] nexus3.edgexfoundry.org:10001 [2022-04-12T22:42:37.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:42:37.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:42:37.806Z] Configure a credential helper to remove this warning. See [2022-04-12T22:42:37.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:42:37.806Z] [2022-04-12T22:42:37.806Z] Login Succeeded [2022-04-12T22:42:37.806Z] nexus3.edgexfoundry.org:10002 [2022-04-12T22:42:37.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:42:38.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:42:38.068Z] Configure a credential helper to remove this warning. See [2022-04-12T22:42:38.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:42:38.068Z] [2022-04-12T22:42:38.068Z] Login Succeeded [2022-04-12T22:42:38.068Z] nexus3.edgexfoundry.org:10003 [2022-04-12T22:42:38.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:42:38.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:42:38.068Z] Configure a credential helper to remove this warning. See [2022-04-12T22:42:38.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:42:38.068Z] [2022-04-12T22:42:38.068Z] Login Succeeded [2022-04-12T22:42:38.068Z] nexus3.edgexfoundry.org:10004 [2022-04-12T22:42:38.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:42:38.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:42:38.331Z] Configure a credential helper to remove this warning. See [2022-04-12T22:42:38.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:42:38.331Z] [2022-04-12T22:42:38.331Z] Login Succeeded [2022-04-12T22:42:38.331Z] docker.io [2022-04-12T22:42:38.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:42:38.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:42:38.592Z] Configure a credential helper to remove this warning. See [2022-04-12T22:42:38.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:42:38.592Z] [2022-04-12T22:42:38.592Z] Login Succeeded [2022-04-12T22:42:38.592Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T22:42:38.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T22:42:38.675Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T22:42:38.688Z] ========================================================= [2022-04-12T22:42:38.688Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-12T22:42:38.688Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:42:39.011Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-12T22:42:39.011Z] Sending build context to Docker daemon 9.584MB [2022-04-12T22:42:39.011Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T22:42:39.011Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T22:42:39.011Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-12T22:42:39.011Z] 59bf1c3509f3: Pulling fs layer [2022-04-12T22:42:39.011Z] 666ba61612fd: Pulling fs layer [2022-04-12T22:42:39.011Z] 8ed8ca486205: Pulling fs layer [2022-04-12T22:42:39.011Z] 4fe6c5a15a65: Pulling fs layer [2022-04-12T22:42:39.011Z] 22a0e8bec74d: Pulling fs layer [2022-04-12T22:42:39.011Z] 640e595b4fbd: Pulling fs layer [2022-04-12T22:42:39.011Z] 763cafe07f6e: Pulling fs layer [2022-04-12T22:42:39.011Z] 0c0b528cf693: Pulling fs layer [2022-04-12T22:42:39.011Z] 10935f4eaf8b: Pulling fs layer [2022-04-12T22:42:39.011Z] 640e595b4fbd: Waiting [2022-04-12T22:42:39.011Z] 763cafe07f6e: Waiting [2022-04-12T22:42:39.011Z] 0c0b528cf693: Waiting [2022-04-12T22:42:39.011Z] 10935f4eaf8b: Waiting [2022-04-12T22:42:39.011Z] 4fe6c5a15a65: Waiting [2022-04-12T22:42:39.011Z] 22a0e8bec74d: Waiting [2022-04-12T22:42:39.281Z] 8ed8ca486205: Verifying Checksum [2022-04-12T22:42:39.281Z] 8ed8ca486205: Download complete [2022-04-12T22:42:39.281Z] 666ba61612fd: Verifying Checksum [2022-04-12T22:42:39.281Z] 666ba61612fd: Download complete [2022-04-12T22:42:39.281Z] 22a0e8bec74d: Verifying Checksum [2022-04-12T22:42:39.281Z] 22a0e8bec74d: Download complete [2022-04-12T22:42:39.281Z] 640e595b4fbd: Verifying Checksum [2022-04-12T22:42:39.281Z] 640e595b4fbd: Download complete [2022-04-12T22:42:39.281Z] 59bf1c3509f3: Verifying Checksum [2022-04-12T22:42:39.281Z] 59bf1c3509f3: Download complete [2022-04-12T22:42:39.281Z] 763cafe07f6e: Verifying Checksum [2022-04-12T22:42:39.281Z] 763cafe07f6e: Download complete [2022-04-12T22:42:39.281Z] 0c0b528cf693: Verifying Checksum [2022-04-12T22:42:39.281Z] 0c0b528cf693: Download complete [2022-04-12T22:42:39.281Z] 59bf1c3509f3: Pull complete [2022-04-12T22:42:39.543Z] 666ba61612fd: Pull complete [2022-04-12T22:42:39.543Z] 8ed8ca486205: Pull complete [2022-04-12T22:42:39.804Z] 10935f4eaf8b: Verifying Checksum [2022-04-12T22:42:39.804Z] 10935f4eaf8b: Download complete [2022-04-12T22:42:40.064Z] 4fe6c5a15a65: Verifying Checksum [2022-04-12T22:42:40.064Z] 4fe6c5a15a65: Download complete [2022-04-12T22:42:44.266Z] 4fe6c5a15a65: Pull complete [2022-04-12T22:42:44.266Z] 22a0e8bec74d: Pull complete [2022-04-12T22:42:44.266Z] 640e595b4fbd: Pull complete [2022-04-12T22:42:44.266Z] 763cafe07f6e: Pull complete [2022-04-12T22:42:44.527Z] 0c0b528cf693: Pull complete [2022-04-12T22:42:47.070Z] 10935f4eaf8b: Pull complete [2022-04-12T22:42:47.070Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-12T22:42:47.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-12T22:42:47.070Z] ---> 99d49a6021b9 [2022-04-12T22:42:47.070Z] Step 3/11 : ARG MAKE=make build [2022-04-12T22:42:48.459Z] ---> Running in 4270d5bb159e [2022-04-12T22:42:48.459Z] Removing intermediate container 4270d5bb159e [2022-04-12T22:42:48.459Z] ---> 15ad7f4dd6a1 [2022-04-12T22:42:48.459Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T22:42:48.459Z] ---> Running in 0d85513318a9 [2022-04-12T22:42:48.459Z] Removing intermediate container 0d85513318a9 [2022-04-12T22:42:48.459Z] ---> 4bc754c5e8da [2022-04-12T22:42:48.459Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:42:48.459Z] ---> Running in c15320a988f0 [2022-04-12T22:42:48.459Z] Removing intermediate container c15320a988f0 [2022-04-12T22:42:48.459Z] ---> 7b87e5a665d4 [2022-04-12T22:42:48.459Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:42:48.459Z] ---> Running in 7a2322240f46 [2022-04-12T22:42:49.404Z] Removing intermediate container 7a2322240f46 [2022-04-12T22:42:49.404Z] ---> e162dab74c7c [2022-04-12T22:42:49.404Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T22:42:49.404Z] ---> Running in 88ed21fdb44a [2022-04-12T22:42:49.404Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T22:42:50.350Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T22:42:50.611Z] OK: 221 MiB in 52 packages [2022-04-12T22:42:50.874Z] Removing intermediate container 88ed21fdb44a [2022-04-12T22:42:50.874Z] ---> 84ab320670ee [2022-04-12T22:42:50.874Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T22:42:51.134Z] ---> 6dd2bb472435 [2022-04-12T22:42:51.134Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T22:42:51.134Z] ---> Running in 7bb0c80af0e3 [2022-04-12T22:42:52.449Z] Still waiting to schedule task [2022-04-12T22:42:52.449Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20731’ is offline [2022-04-12T22:43:06.059Z] Removing intermediate container 7bb0c80af0e3 [2022-04-12T22:43:06.060Z] ---> 41061075809f [2022-04-12T22:43:06.060Z] Step 10/11 : COPY . . [2022-04-12T22:43:06.060Z] ---> 481a5335d81f [2022-04-12T22:43:06.060Z] Step 11/11 : RUN ${MAKE} [2022-04-12T22:43:06.060Z] ---> Running in 251b52ab3fd6 [2022-04-12T22:43:06.060Z] noop [2022-04-12T22:43:06.323Z] Removing intermediate container 251b52ab3fd6 [2022-04-12T22:43:06.323Z] ---> bbff37a3d537 [2022-04-12T22:43:06.323Z] Successfully built bbff37a3d537 [2022-04-12T22:43:06.323Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:43:06.630Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T22:43:06.630Z] . [Pipeline] withDockerContainer [2022-04-12T22:43:06.705Z] prd-ubuntu20.04-docker-8c-8g-20730 does not seem to be running inside a container [2022-04-12T22:43:06.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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-12T22:43:07.176Z] $ docker top f2a88ab9dd466c2d84a75c00bffbdcad259e9eac02f1b43a5d4b3bda3884650b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T22:43:07.548Z] + go version [2022-04-12T22:43:07.548Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-12T22:43:07.569Z] $ docker stop --time=1 f2a88ab9dd466c2d84a75c00bffbdcad259e9eac02f1b43a5d4b3bda3884650b [2022-04-12T22:43:08.863Z] $ docker rm -f f2a88ab9dd466c2d84a75c00bffbdcad259e9eac02f1b43a5d4b3bda3884650b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:43:09.268Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T22:43:09.268Z] . [Pipeline] withDockerContainer [2022-04-12T22:43:09.343Z] prd-ubuntu20.04-docker-8c-8g-20730 does not seem to be running inside a container [2022-04-12T22:43:09.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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-12T22:43:09.838Z] $ docker top b537a13e503696c98384b7e1c6d23ae30bd00fed77f2cbc67978f9df7662230f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T22:43:10.213Z] + make test [2022-04-12T22:43:10.213Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-12T22:43:16.809Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T22:43:29.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T22:43:29.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T22:43:29.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T22:43:29.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 23.3% of statements [2022-04-12T22:43:29.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T22:43:29.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements [2022-04-12T22:43:29.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2022-04-12T22:43:29.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.086s coverage: 10.8% of statements [2022-04-12T22:43:29.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T22:43:29.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T22:43:29.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T22:43:29.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 33.2% of statements [2022-04-12T22:43:29.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T22:43:29.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.074s coverage: 86.1% of statements [2022-04-12T22:43:29.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T22:43:29.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T22:43:29.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 57.4% of statements [2022-04-12T22:43:29.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.772s coverage: 89.2% of statements [2022-04-12T22:43:29.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T22:43:29.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.8% of statements [2022-04-12T22:43:29.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T22:43:47.890Z] GO111MODULE=on go vet ./... [2022-04-12T22:43:49.272Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T22:43:49.272Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T22:43:49.532Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T22:43:50.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T22:43:50.136Z] $ docker stop --time=1 b537a13e503696c98384b7e1c6d23ae30bd00fed77f2cbc67978f9df7662230f [2022-04-12T22:43:52.265Z] $ docker rm -f b537a13e503696c98384b7e1c6d23ae30bd00fed77f2cbc67978f9df7662230f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T22:43:52.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T22:43:52.831Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-12T22:43:53.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T22:43:53.704Z] + ls -al . [2022-04-12T22:43:53.704Z] total 316 [2022-04-12T22:43:53.704Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 22:43 . [2022-04-12T22:43:53.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:42 .. [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 22:42 .dockerignore [2022-04-12T22:43:53.704Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 22:42 .git [2022-04-12T22:43:53.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:42 .github [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 22:42 .gitignore [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 22:42 .golangci.yml [2022-04-12T22:43:53.704Z] drwx------ 3 jenkins jenkins 4096 Apr 12 22:42 .semver [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 22:42 CHANGELOG.md [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 22:42 GOVERNANCE.md [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 22:42 Jenkinsfile [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 22:42 LICENSE [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 22:42 Makefile [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 22:42 OWNERS.md [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 22:42 README.md [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 22:42 VERSION [2022-04-12T22:43:53.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:42 bin [2022-04-12T22:43:53.704Z] -rw-r--r-- 1 jenkins jenkins 129061 Apr 12 22:43 coverage.out [2022-04-12T22:43:53.704Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:42 example [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 12 22:42 go.mod [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 12 22:42 go.sum [2022-04-12T22:43:53.704Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 22:42 internal [2022-04-12T22:43:53.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:42 openapi [2022-04-12T22:43:53.704Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:42 pkg [2022-04-12T22:43:53.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:42 snap [2022-04-12T22:43:53.704Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 22:42 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:43:54.015Z] + 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=106b3f240b44d39bf24f90023f483d7ad428017d --label arch=amd64 --label version=0.0.0 . [2022-04-12T22:43:54.015Z] Sending build context to Docker daemon 9.714MB [2022-04-12T22:43:54.015Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T22:43:54.015Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T22:43:54.015Z] ---> bbff37a3d537 [2022-04-12T22:43:54.015Z] Step 3/25 : ARG MAKE=make build [2022-04-12T22:43:54.278Z] ---> Running in e271d094f6df [2022-04-12T22:43:54.278Z] Removing intermediate container e271d094f6df [2022-04-12T22:43:54.278Z] ---> bfdc59e4efbf [2022-04-12T22:43:54.278Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T22:43:54.278Z] ---> Running in eb48155809ff [2022-04-12T22:43:54.540Z] Removing intermediate container eb48155809ff [2022-04-12T22:43:54.540Z] ---> b2cec1b33e42 [2022-04-12T22:43:54.540Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:43:54.540Z] ---> Running in 4080c2a51fba [2022-04-12T22:43:54.540Z] Removing intermediate container 4080c2a51fba [2022-04-12T22:43:54.540Z] ---> e385625646ac [2022-04-12T22:43:54.540Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:43:54.540Z] ---> Running in 5891a190245a [2022-04-12T22:43:55.112Z] Removing intermediate container 5891a190245a [2022-04-12T22:43:55.112Z] ---> eadd5c55033b [2022-04-12T22:43:55.112Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T22:43:55.112Z] ---> Running in ab8bc80cdfab [2022-04-12T22:43:55.685Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T22:43:56.261Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T22:43:56.835Z] OK: 221 MiB in 52 packages [2022-04-12T22:43:57.103Z] Removing intermediate container ab8bc80cdfab [2022-04-12T22:43:57.103Z] ---> d68a6705cce2 [2022-04-12T22:43:57.103Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T22:43:57.103Z] ---> c253bd046c16 [2022-04-12T22:43:57.103Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T22:43:57.366Z] ---> Running in f640f467cc17 [2022-04-12T22:43:57.939Z] Removing intermediate container f640f467cc17 [2022-04-12T22:43:57.939Z] ---> 809e7499e66c [2022-04-12T22:43:57.939Z] Step 10/25 : COPY . . [2022-04-12T22:43:58.514Z] ---> b45d5b05abe4 [2022-04-12T22:43:58.514Z] Step 11/25 : RUN ${MAKE} [2022-04-12T22:43:58.514Z] ---> Running in 17ce952f6d7c [2022-04-12T22:43:58.775Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-12T22:44:16.891Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T22:44:19.433Z] Removing intermediate container 17ce952f6d7c [2022-04-12T22:44:19.433Z] ---> ce602b451c29 [2022-04-12T22:44:19.433Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T22:44:19.693Z] 3.14: Pulling from library/alpine [2022-04-12T22:44:19.693Z] 8663204ce13b: Pulling fs layer [2022-04-12T22:44:19.953Z] 8663204ce13b: Verifying Checksum [2022-04-12T22:44:19.953Z] 8663204ce13b: Download complete [2022-04-12T22:44:19.953Z] 8663204ce13b: Pull complete [2022-04-12T22:44:20.213Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T22:44:20.213Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T22:44:20.213Z] ---> e04c818066af [2022-04-12T22:44:20.213Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:44:20.213Z] ---> Running in 88163f0da0c2 [2022-04-12T22:44:20.213Z] Removing intermediate container 88163f0da0c2 [2022-04-12T22:44:20.213Z] ---> cd10260fd0dd [2022-04-12T22:44:20.213Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:44:20.213Z] ---> Running in de49efeba456 [2022-04-12T22:44:20.783Z] Removing intermediate container de49efeba456 [2022-04-12T22:44:20.783Z] ---> 6739a7820291 [2022-04-12T22:44:20.783Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T22:44:21.043Z] ---> Running in 51d3274981cf [2022-04-12T22:44:21.303Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-12T22:44:22.243Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-12T22:44:22.243Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T22:44:22.504Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T22:44:22.504Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T22:44:22.504Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T22:44:22.763Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T22:44:22.763Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T22:44:22.763Z] OK: 8 MiB in 19 packages [2022-04-12T22:44:23.022Z] Removing intermediate container 51d3274981cf [2022-04-12T22:44:23.022Z] ---> 9d138291084c [2022-04-12T22:44:23.022Z] Step 16/25 : WORKDIR / [2022-04-12T22:44:23.283Z] ---> Running in 123b114a3ec9 [2022-04-12T22:44:23.283Z] Removing intermediate container 123b114a3ec9 [2022-04-12T22:44:23.283Z] ---> 490cc54a2199 [2022-04-12T22:44:23.283Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T22:44:23.283Z] ---> c165b68bea57 [2022-04-12T22:44:23.283Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T22:44:24.225Z] ---> f729ee8a97d4 [2022-04-12T22:44:24.225Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T22:44:24.225Z] ---> 96a57cdbd0ac [2022-04-12T22:44:24.225Z] Step 20/25 : EXPOSE 59999 [2022-04-12T22:44:24.225Z] ---> Running in e3278d8f9ee0 [2022-04-12T22:44:24.225Z] Removing intermediate container e3278d8f9ee0 [2022-04-12T22:44:24.225Z] ---> 90e13cf3b2c8 [2022-04-12T22:44:24.225Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T22:44:24.225Z] ---> Running in 338f2905ddd2 [2022-04-12T22:44:24.485Z] Removing intermediate container 338f2905ddd2 [2022-04-12T22:44:24.485Z] ---> c82783e4b871 [2022-04-12T22:44:24.485Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T22:44:24.485Z] ---> Running in 7ae27b00042b [2022-04-12T22:44:24.485Z] Removing intermediate container 7ae27b00042b [2022-04-12T22:44:24.485Z] ---> 00f2803218fa [2022-04-12T22:44:24.485Z] Step 23/25 : LABEL arch=amd64 [2022-04-12T22:44:24.485Z] ---> Running in 38f6074ec29f [2022-04-12T22:44:24.746Z] Removing intermediate container 38f6074ec29f [2022-04-12T22:44:24.746Z] ---> 042fd570259c [2022-04-12T22:44:24.746Z] Step 24/25 : LABEL git_sha=106b3f240b44d39bf24f90023f483d7ad428017d [2022-04-12T22:44:24.746Z] ---> Running in df23deaf3886 [2022-04-12T22:44:24.746Z] Removing intermediate container df23deaf3886 [2022-04-12T22:44:24.746Z] ---> d8a56b89c15d [2022-04-12T22:44:24.746Z] Step 25/25 : LABEL version=0.0.0 [2022-04-12T22:44:24.746Z] ---> Running in 0c81061c6fd6 [2022-04-12T22:44:25.007Z] Removing intermediate container 0c81061c6fd6 [2022-04-12T22:44:25.007Z] ---> 6a13c9a7d297 [2022-04-12T22:44:25.007Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T22:44:25.007Z] Successfully built 6a13c9a7d297 [2022-04-12T22:44:25.007Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:44:25.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T22:44:25.425Z] [2022-04-12T22:44:25.425Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:44:25.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T22:44:25.732Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-12T22:44:25.732Z] 5eb5b503b376: Pulling fs layer [2022-04-12T22:44:25.732Z] 5c69ac0246d0: Pulling fs layer [2022-04-12T22:44:25.732Z] ec43610c2a17: Pulling fs layer [2022-04-12T22:44:25.732Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-12T22:44:25.732Z] 33b1e0a273af: Pulling fs layer [2022-04-12T22:44:25.732Z] 5d3b04190fa2: Pulling fs layer [2022-04-12T22:44:25.732Z] 2f39f015ded8: Pulling fs layer [2022-04-12T22:44:25.732Z] 33b1e0a273af: Waiting [2022-04-12T22:44:25.732Z] 5d3b04190fa2: Waiting [2022-04-12T22:44:25.732Z] 2f39f015ded8: Waiting [2022-04-12T22:44:25.732Z] 3a2ae6a8a46f: Waiting [2022-04-12T22:44:25.732Z] 5c69ac0246d0: Verifying Checksum [2022-04-12T22:44:25.732Z] 5c69ac0246d0: Download complete [2022-04-12T22:44:25.732Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-12T22:44:25.732Z] 3a2ae6a8a46f: Download complete [2022-04-12T22:44:25.732Z] 33b1e0a273af: Verifying Checksum [2022-04-12T22:44:25.732Z] 33b1e0a273af: Download complete [2022-04-12T22:44:25.732Z] 5d3b04190fa2: Download complete [2022-04-12T22:44:25.993Z] ec43610c2a17: Verifying Checksum [2022-04-12T22:44:25.993Z] ec43610c2a17: Download complete [2022-04-12T22:44:25.993Z] 5eb5b503b376: Verifying Checksum [2022-04-12T22:44:25.993Z] 5eb5b503b376: Download complete [2022-04-12T22:44:26.559Z] 2f39f015ded8: Download complete [2022-04-12T22:44:27.498Z] 5eb5b503b376: Pull complete [2022-04-12T22:44:27.498Z] 5c69ac0246d0: Pull complete [2022-04-12T22:44:28.065Z] ec43610c2a17: Pull complete [2022-04-12T22:44:28.065Z] 3a2ae6a8a46f: Pull complete [2022-04-12T22:44:28.325Z] 33b1e0a273af: Pull complete [2022-04-12T22:44:28.325Z] 5d3b04190fa2: Pull complete [2022-04-12T22:44:33.599Z] 2f39f015ded8: Pull complete [2022-04-12T22:44:33.599Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-12T22:44:33.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T22:44:33.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-12T22:44:33.674Z] prd-ubuntu20.04-docker-8c-8g-20730 does not seem to be running inside a container [2022-04-12T22:44:33.716Z] $ 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-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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-12T22:44:35.669Z] $ docker top fd3bad61d87e45c77b3c4ec8fd87ebfa5d50744c7a19840593136a9409e33c0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:44:36.081Z] ---> job-cost.sh [2022-04-12T22:44:36.081Z] lf-activate-venv: SKIPPING [2022-04-12T22:44:36.081Z] INFO: No Stack... [2022-04-12T22:44:36.656Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T22:44:36.917Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T22:44:37.209Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/cost.csv [2022-04-12T22:44:37.209Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T22:44:37.228Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] [2022-04-12T22:44:37.237Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] did not exist. Created. [2022-04-12T22:44:37.237Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T22:44:37.545Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-12T22:44:37.570Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T22:44:37.576Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T22:44:37.601Z] $ docker stop --time=1 fd3bad61d87e45c77b3c4ec8fd87ebfa5d50744c7a19840593136a9409e33c0f [2022-04-12T22:44:38.790Z] $ docker rm -f fd3bad61d87e45c77b3c4ec8fd87ebfa5d50744c7a19840593136a9409e33c0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-12T22:45:23.828Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20732 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [Pipeline] { [Pipeline] ws [2022-04-12T22:45:23.843Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2022-04-12T22:45:24.378Z] The recommended git tool is: git [2022-04-12T22:45:31.863Z] using credential edgex-jenkins-ssh [2022-04-12T22:45:31.896Z] Cloning the remote Git repository [2022-04-12T22:45:32.047Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T22:45:32.165Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2022-04-12T22:45:32.364Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T22:45:32.365Z] > git --version # timeout=10 [2022-04-12T22:45:32.394Z] > git --version # 'git version 2.25.1' [2022-04-12T22:45:32.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T22:45:32.453Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T22:45:34.186Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T22:45:34.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T22:45:34.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T22:45:34.327Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T22:45:34.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T22:45:34.349Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1123/head:refs/remotes/origin/PR-1123 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-12T22:45:34.927Z] Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit 854a1d02177849dfca254246521bbb7ea3bc181d [2022-04-12T22:45:35.327Z] Merge succeeded, producing fc18c769fae714dff2db1cdb3b1542ba98770df7 [2022-04-12T22:45:35.327Z] Checking out Revision fc18c769fae714dff2db1cdb3b1542ba98770df7 (PR-1123) [2022-04-12T22:45:34.950Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T22:45:34.996Z] > git checkout -f 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 [2022-04-12T22:45:35.128Z] > git remote # timeout=10 [2022-04-12T22:45:35.159Z] > git config --get remote.origin.url # timeout=10 [2022-04-12T22:45:35.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T22:45:35.200Z] > git merge 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 [2022-04-12T22:45:35.315Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-12T22:45:35.340Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T22:45:35.374Z] > git checkout -f fc18c769fae714dff2db1cdb3b1542ba98770df7 # timeout=10 [2022-04-12T22:45:39.743Z] Commit message: "Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD" [2022-04-12T22:45:39.768Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T22:45:40.654Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-12T22:45:40.654Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T22:45:40.654Z] Dload Upload Total Spent Left Speed [2022-04-12T22:45:40.654Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2022-04-12T22:45:39.757Z] > git rev-list --no-walk 3325adb14315d6a270dca8262662c3c97c14334c # timeout=10 [2022-04-12T22:45:41.217Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-12T22:45:41.570Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-12T22:45:41.570Z] + sudo tee /etc/docker/daemon.new [2022-04-12T22:45:41.570Z] { [2022-04-12T22:45:41.570Z] "registry-mirrors": [ [2022-04-12T22:45:41.570Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-12T22:45:41.570Z] ], [2022-04-12T22:45:41.570Z] "bip": "10.250.0.254/24", [2022-04-12T22:45:41.570Z] "hosts": [ [2022-04-12T22:45:41.570Z] "tcp://0.0.0.0:5555", [2022-04-12T22:45:41.570Z] "unix:///var/run/docker.sock" [2022-04-12T22:45:41.570Z] ], [2022-04-12T22:45:41.570Z] "mtu": 1458, [2022-04-12T22:45:41.570Z] "selinux-enabled": true, [2022-04-12T22:45:41.570Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-12T22:45:41.570Z] } [Pipeline] sh [2022-04-12T22:45:41.923Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-12T22:45:42.277Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T22:46:00.698Z] provisioning config files... [2022-04-12T22:46:00.723Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7409294137525257163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:46:01.082Z] ---> docker-login.sh [2022-04-12T22:46:01.082Z] nexus3.edgexfoundry.org:10001 [2022-04-12T22:46:01.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:46:01.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:46:01.949Z] Configure a credential helper to remove this warning. See [2022-04-12T22:46:01.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:46:01.949Z] [2022-04-12T22:46:01.949Z] Login Succeeded [2022-04-12T22:46:01.949Z] nexus3.edgexfoundry.org:10002 [2022-04-12T22:46:02.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:46:02.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:46:02.223Z] Configure a credential helper to remove this warning. See [2022-04-12T22:46:02.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:46:02.223Z] [2022-04-12T22:46:02.223Z] Login Succeeded [2022-04-12T22:46:02.223Z] nexus3.edgexfoundry.org:10003 [2022-04-12T22:46:02.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:46:02.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:46:02.817Z] Configure a credential helper to remove this warning. See [2022-04-12T22:46:02.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:46:02.817Z] [2022-04-12T22:46:02.817Z] Login Succeeded [2022-04-12T22:46:02.817Z] nexus3.edgexfoundry.org:10004 [2022-04-12T22:46:03.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:46:03.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:46:03.091Z] Configure a credential helper to remove this warning. See [2022-04-12T22:46:03.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:46:03.091Z] [2022-04-12T22:46:03.091Z] Login Succeeded [2022-04-12T22:46:03.364Z] docker.io [2022-04-12T22:46:03.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T22:46:03.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T22:46:03.908Z] Configure a credential helper to remove this warning. See [2022-04-12T22:46:03.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T22:46:03.908Z] [2022-04-12T22:46:03.908Z] Login Succeeded [2022-04-12T22:46:03.908Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T22:46:03.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T22:46:04.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T22:46:04.463Z] ========================================================= [2022-04-12T22:46:04.463Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-12T22:46:04.463Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:46:04.809Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-12T22:46:05.082Z] Sending build context to Docker daemon 5.175MB [2022-04-12T22:46:05.356Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T22:46:05.356Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T22:46:05.356Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-12T22:46:05.356Z] 9b3977197b4f: Pulling fs layer [2022-04-12T22:46:05.356Z] 1a89e8eeedd5: Pulling fs layer [2022-04-12T22:46:05.356Z] 94645a83ff95: Pulling fs layer [2022-04-12T22:46:05.356Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-12T22:46:05.356Z] 0c92f367c5e7: Pulling fs layer [2022-04-12T22:46:05.356Z] f7c0051592d6: Pulling fs layer [2022-04-12T22:46:05.356Z] a227ed2f7395: Pulling fs layer [2022-04-12T22:46:05.356Z] 7b1c46037f91: Pulling fs layer [2022-04-12T22:46:05.356Z] 3f3a8bcf1eab: Waiting [2022-04-12T22:46:05.356Z] 0c92f367c5e7: Waiting [2022-04-12T22:46:05.356Z] f7c0051592d6: Waiting [2022-04-12T22:46:05.356Z] a227ed2f7395: Waiting [2022-04-12T22:46:05.356Z] 7b1c46037f91: Waiting [2022-04-12T22:46:05.356Z] 94645a83ff95: Verifying Checksum [2022-04-12T22:46:05.356Z] 94645a83ff95: Download complete [2022-04-12T22:46:05.356Z] 1a89e8eeedd5: Verifying Checksum [2022-04-12T22:46:05.356Z] 1a89e8eeedd5: Download complete [2022-04-12T22:46:05.356Z] 0c92f367c5e7: Verifying Checksum [2022-04-12T22:46:05.356Z] 0c92f367c5e7: Download complete [2022-04-12T22:46:05.631Z] f7c0051592d6: Verifying Checksum [2022-04-12T22:46:05.631Z] f7c0051592d6: Download complete [2022-04-12T22:46:05.631Z] 9b3977197b4f: Download complete [2022-04-12T22:46:05.631Z] a227ed2f7395: Verifying Checksum [2022-04-12T22:46:05.631Z] a227ed2f7395: Download complete [2022-04-12T22:46:06.236Z] 9b3977197b4f: Pull complete [2022-04-12T22:46:06.839Z] 1a89e8eeedd5: Pull complete [2022-04-12T22:46:07.114Z] 94645a83ff95: Pull complete [2022-04-12T22:46:07.730Z] 7b1c46037f91: Verifying Checksum [2022-04-12T22:46:07.730Z] 7b1c46037f91: Download complete [2022-04-12T22:46:08.004Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-12T22:46:08.004Z] 3f3a8bcf1eab: Download complete [2022-04-12T22:46:20.404Z] 3f3a8bcf1eab: Pull complete [2022-04-12T22:46:20.404Z] 0c92f367c5e7: Pull complete [2022-04-12T22:46:20.404Z] f7c0051592d6: Pull complete [2022-04-12T22:46:20.404Z] a227ed2f7395: Pull complete [2022-04-12T22:46:27.111Z] 7b1c46037f91: Pull complete [2022-04-12T22:46:27.111Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-12T22:46:27.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-12T22:46:27.111Z] ---> f79e39bc4007 [2022-04-12T22:46:27.111Z] Step 3/11 : ARG MAKE=make build [2022-04-12T22:46:27.710Z] ---> Running in e2d7fc40096a [2022-04-12T22:46:27.983Z] Removing intermediate container e2d7fc40096a [2022-04-12T22:46:27.983Z] ---> ebb988a2a95a [2022-04-12T22:46:27.983Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T22:46:27.983Z] ---> Running in 0b5f6d0669ab [2022-04-12T22:46:28.257Z] Removing intermediate container 0b5f6d0669ab [2022-04-12T22:46:28.257Z] ---> 37c5bf3750af [2022-04-12T22:46:28.257Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:46:28.531Z] ---> Running in 4b056a03a990 [2022-04-12T22:46:28.805Z] Removing intermediate container 4b056a03a990 [2022-04-12T22:46:28.805Z] ---> 251bf4fa2177 [2022-04-12T22:46:28.805Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:46:28.805Z] ---> Running in d751fd992803 [2022-04-12T22:46:30.782Z] Removing intermediate container d751fd992803 [2022-04-12T22:46:30.782Z] ---> 5bcc13af538d [2022-04-12T22:46:30.782Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T22:46:30.782Z] ---> Running in 2fe995f542cd [2022-04-12T22:46:31.754Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T22:46:32.345Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T22:46:33.321Z] OK: 220 MiB in 52 packages [2022-04-12T22:46:33.917Z] Removing intermediate container 2fe995f542cd [2022-04-12T22:46:33.917Z] ---> 46e1729ee260 [2022-04-12T22:46:33.917Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T22:46:34.519Z] ---> ab0521e1526f [2022-04-12T22:46:34.519Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T22:46:34.519Z] ---> Running in 05029ba695d3 [2022-04-12T22:47:21.532Z] Removing intermediate container 05029ba695d3 [2022-04-12T22:47:21.532Z] ---> 60df35152bb0 [2022-04-12T22:47:21.532Z] Step 10/11 : COPY . . [2022-04-12T22:47:21.532Z] ---> 50d2af007b5d [2022-04-12T22:47:21.532Z] Step 11/11 : RUN ${MAKE} [2022-04-12T22:47:21.532Z] ---> Running in 20809ea7bd81 [2022-04-12T22:47:21.532Z] noop [2022-04-12T22:47:21.532Z] Removing intermediate container 20809ea7bd81 [2022-04-12T22:47:21.532Z] ---> 248ba36c7019 [2022-04-12T22:47:21.532Z] Successfully built 248ba36c7019 [2022-04-12T22:47:21.532Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:47:21.876Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T22:47:21.876Z] . [Pipeline] withDockerContainer [2022-04-12T22:47:22.097Z] prd-ubuntu20.04-docker-arm64-4c-16g-20732 does not seem to be running inside a container [2022-04-12T22:47:22.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-12T22:47:23.405Z] $ docker top 07bd9e13e3c3806cd34980160e7a95d9ff6bb994314270cffa593ff4c84d265d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T22:47:24.301Z] + go version [2022-04-12T22:47:24.301Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-12T22:47:24.328Z] $ docker stop --time=1 07bd9e13e3c3806cd34980160e7a95d9ff6bb994314270cffa593ff4c84d265d [2022-04-12T22:47:25.940Z] $ docker rm -f 07bd9e13e3c3806cd34980160e7a95d9ff6bb994314270cffa593ff4c84d265d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:47:26.536Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T22:47:26.536Z] . [Pipeline] withDockerContainer [2022-04-12T22:47:26.765Z] prd-ubuntu20.04-docker-arm64-4c-16g-20732 does not seem to be running inside a container [2022-04-12T22:47:26.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-12T22:47:28.138Z] $ docker top 60c65df8fb96e9f67d240d4b066f7804d65d12107b11eb64bd3a2633cd03cd57 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T22:47:29.067Z] + make test [2022-04-12T22:47:29.067Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-12T22:48:01.469Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T22:49:53.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T22:49:53.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T22:49:53.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T22:49:53.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.336s coverage: 23.3% of statements [2022-04-12T22:49:53.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T22:49:53.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.339s coverage: 27.6% of statements [2022-04-12T22:49:53.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.320s coverage: 78.9% of statements [2022-04-12T22:49:53.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.287s coverage: 10.8% of statements [2022-04-12T22:49:53.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T22:49:53.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T22:49:53.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T22:49:56.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.415s coverage: 33.2% of statements [2022-04-12T22:49:56.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T22:49:57.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.293s coverage: 86.1% of statements [2022-04-12T22:49:57.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T22:49:57.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T22:49:58.564Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.405s coverage: 57.4% of statements [2022-04-12T22:49:59.154Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.441s coverage: 89.2% of statements [2022-04-12T22:49:59.154Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T22:50:03.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.239s coverage: 4.8% of statements [2022-04-12T22:50:03.463Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T22:50:03.463Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-12T22:50:03.463Z] GO111MODULE=on go vet ./... [2022-04-12T22:51:25.284Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T22:51:25.284Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T22:51:25.284Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T22:51:25.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T22:51:25.325Z] $ docker stop --time=1 60c65df8fb96e9f67d240d4b066f7804d65d12107b11eb64bd3a2633cd03cd57 [2022-04-12T22:51:27.126Z] $ docker rm -f 60c65df8fb96e9f67d240d4b066f7804d65d12107b11eb64bd3a2633cd03cd57 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T22:51:28.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T22:51:28.427Z] Warning: overwriting stash ‘coverage-report’ [2022-04-12T22:51:29.005Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T22:51:29.436Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T22:51:29.795Z] + ls -al . [2022-04-12T22:51:29.795Z] total 312 [2022-04-12T22:51:29.795Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 22:51 . [2022-04-12T22:51:29.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:45 .. [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 22:45 .dockerignore [2022-04-12T22:51:29.795Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 22:45 .git [2022-04-12T22:51:29.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:45 .github [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 22:45 .gitignore [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 22:45 .golangci.yml [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 22:45 CHANGELOG.md [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 22:45 GOVERNANCE.md [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 22:45 Jenkinsfile [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 22:45 LICENSE [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 22:45 Makefile [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 22:45 OWNERS.md [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 22:45 README.md [2022-04-12T22:51:29.795Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 22:42 VERSION [2022-04-12T22:51:29.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:45 bin [2022-04-12T22:51:29.796Z] -rw-r--r-- 1 jenkins jenkins 129061 Apr 12 22:50 coverage.out [2022-04-12T22:51:29.796Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:45 example [2022-04-12T22:51:29.796Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 12 22:45 go.mod [2022-04-12T22:51:29.796Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 12 22:45 go.sum [2022-04-12T22:51:29.796Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 22:45 internal [2022-04-12T22:51:29.796Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:45 openapi [2022-04-12T22:51:29.796Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:45 pkg [2022-04-12T22:51:29.796Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:45 snap [2022-04-12T22:51:29.796Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:51:30.180Z] + 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=fc18c769fae714dff2db1cdb3b1542ba98770df7 --label arch=arm64 --label version=0.0.0 . [2022-04-12T22:51:30.467Z] Sending build context to Docker daemon 5.305MB [2022-04-12T22:51:30.789Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T22:51:30.789Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T22:51:30.789Z] ---> 248ba36c7019 [2022-04-12T22:51:30.789Z] Step 3/25 : ARG MAKE=make build [2022-04-12T22:51:30.789Z] ---> Running in c45312d74f6c [2022-04-12T22:51:31.069Z] Removing intermediate container c45312d74f6c [2022-04-12T22:51:31.069Z] ---> 59e73844ddbc [2022-04-12T22:51:31.069Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T22:51:31.357Z] ---> Running in 2b2935343d74 [2022-04-12T22:51:31.633Z] Removing intermediate container 2b2935343d74 [2022-04-12T22:51:31.633Z] ---> a6a3547f2171 [2022-04-12T22:51:31.633Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:51:31.633Z] ---> Running in fea98c1df810 [2022-04-12T22:51:31.914Z] Removing intermediate container fea98c1df810 [2022-04-12T22:51:31.914Z] ---> 25cce3244bc3 [2022-04-12T22:51:31.914Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:51:31.914Z] ---> Running in db8d437f4947 [2022-04-12T22:51:33.904Z] Removing intermediate container db8d437f4947 [2022-04-12T22:51:33.904Z] ---> 3cce6f1531c8 [2022-04-12T22:51:33.904Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T22:51:33.904Z] ---> Running in 12476cc1cf03 [2022-04-12T22:51:34.501Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T22:51:35.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T22:51:36.456Z] OK: 220 MiB in 52 packages [2022-04-12T22:51:37.050Z] Removing intermediate container 12476cc1cf03 [2022-04-12T22:51:37.050Z] ---> 49692ebe0459 [2022-04-12T22:51:37.050Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T22:51:37.652Z] ---> 3530b39b29bc [2022-04-12T22:51:37.652Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T22:51:37.652Z] ---> Running in 37e15e09db23 [2022-04-12T22:51:39.631Z] Removing intermediate container 37e15e09db23 [2022-04-12T22:51:39.631Z] ---> 471395f1075e [2022-04-12T22:51:39.631Z] Step 10/25 : COPY . . [2022-04-12T22:51:40.610Z] ---> 3042838fa85d [2022-04-12T22:51:40.610Z] Step 11/25 : RUN ${MAKE} [2022-04-12T22:51:40.881Z] ---> Running in 98b4e8ed4e73 [2022-04-12T22:51:41.860Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-12T22:53:33.658Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T22:53:40.372Z] Removing intermediate container 98b4e8ed4e73 [2022-04-12T22:53:40.372Z] ---> a16ed62cfa78 [2022-04-12T22:53:40.372Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T22:53:40.372Z] 3.14: Pulling from library/alpine [2022-04-12T22:53:40.372Z] 455c02918c45: Pulling fs layer [2022-04-12T22:53:41.351Z] 455c02918c45: Pull complete [2022-04-12T22:53:41.351Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T22:53:41.351Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T22:53:41.351Z] ---> ac73e934f311 [2022-04-12T22:53:41.351Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T22:53:41.351Z] ---> Running in 47a06fd64129 [2022-04-12T22:53:41.624Z] Removing intermediate container 47a06fd64129 [2022-04-12T22:53:41.624Z] ---> 0ee4cef7ff68 [2022-04-12T22:53:41.624Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T22:53:41.624Z] ---> Running in 7180065f0e2d [2022-04-12T22:53:43.596Z] Removing intermediate container 7180065f0e2d [2022-04-12T22:53:43.596Z] ---> 5db2f4c0327a [2022-04-12T22:53:43.596Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T22:53:43.596Z] ---> Running in 4755ec8709b3 [2022-04-12T22:53:44.573Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-12T22:53:45.163Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-12T22:53:46.143Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T22:53:46.143Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T22:53:46.143Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T22:53:46.419Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T22:53:46.419Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T22:53:46.419Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T22:53:46.419Z] OK: 8 MiB in 19 packages [2022-04-12T22:53:47.407Z] Removing intermediate container 4755ec8709b3 [2022-04-12T22:53:47.408Z] ---> 4f15915bdd6f [2022-04-12T22:53:47.408Z] Step 16/25 : WORKDIR / [2022-04-12T22:53:47.408Z] ---> Running in 5055af8d4132 [2022-04-12T22:53:47.681Z] Removing intermediate container 5055af8d4132 [2022-04-12T22:53:47.681Z] ---> 180d5d4178a8 [2022-04-12T22:53:47.681Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T22:53:48.276Z] ---> b60307ea9709 [2022-04-12T22:53:48.276Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T22:53:49.709Z] ---> b4f4a1019f36 [2022-04-12T22:53:49.709Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T22:53:50.306Z] ---> f5627e198b95 [2022-04-12T22:53:50.306Z] Step 20/25 : EXPOSE 59999 [2022-04-12T22:53:50.306Z] ---> Running in d8f742f9a1b5 [2022-04-12T22:53:50.589Z] Removing intermediate container d8f742f9a1b5 [2022-04-12T22:53:50.589Z] ---> a16c385c8e16 [2022-04-12T22:53:50.589Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T22:53:50.589Z] ---> Running in acbe8acb220d [2022-04-12T22:53:50.867Z] Removing intermediate container acbe8acb220d [2022-04-12T22:53:50.867Z] ---> ded34e2a5245 [2022-04-12T22:53:50.867Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T22:53:51.143Z] ---> Running in 2ea376eaf5de [2022-04-12T22:53:51.418Z] Removing intermediate container 2ea376eaf5de [2022-04-12T22:53:51.418Z] ---> cabb85870ec7 [2022-04-12T22:53:51.418Z] Step 23/25 : LABEL arch=arm64 [2022-04-12T22:53:51.418Z] ---> Running in 0b9f3697a4d7 [2022-04-12T22:53:51.690Z] Removing intermediate container 0b9f3697a4d7 [2022-04-12T22:53:51.690Z] ---> 47b9cdb75aa2 [2022-04-12T22:53:51.690Z] Step 24/25 : LABEL git_sha=fc18c769fae714dff2db1cdb3b1542ba98770df7 [2022-04-12T22:53:51.690Z] ---> Running in 7c67a87804ab [2022-04-12T22:53:51.963Z] Removing intermediate container 7c67a87804ab [2022-04-12T22:53:51.963Z] ---> d76ccc72637c [2022-04-12T22:53:51.963Z] Step 25/25 : LABEL version=0.0.0 [2022-04-12T22:53:52.239Z] ---> Running in b1ee2dc90aa8 [2022-04-12T22:53:52.511Z] Removing intermediate container b1ee2dc90aa8 [2022-04-12T22:53:52.512Z] ---> 844ee31c4cb4 [2022-04-12T22:53:52.512Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T22:53:52.512Z] Successfully built 844ee31c4cb4 [2022-04-12T22:53:52.512Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:53:52.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T22:53:52.937Z] [2022-04-12T22:53:52.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:53:53.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T22:53:53.562Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-12T22:53:53.562Z] 8998bd30e6a1: Pulling fs layer [2022-04-12T22:53:53.562Z] 04944245beec: Pulling fs layer [2022-04-12T22:53:53.562Z] 699f458cf7ca: Pulling fs layer [2022-04-12T22:53:53.562Z] 765212b225bb: Pulling fs layer [2022-04-12T22:53:53.562Z] f23df028b6ca: Pulling fs layer [2022-04-12T22:53:53.562Z] d65c8cfc05b1: Pulling fs layer [2022-04-12T22:53:53.562Z] 2437ff75d9bd: Pulling fs layer [2022-04-12T22:53:53.562Z] 765212b225bb: Waiting [2022-04-12T22:53:53.562Z] f23df028b6ca: Waiting [2022-04-12T22:53:53.562Z] d65c8cfc05b1: Waiting [2022-04-12T22:53:53.562Z] 2437ff75d9bd: Waiting [2022-04-12T22:53:53.562Z] 04944245beec: Verifying Checksum [2022-04-12T22:53:53.562Z] 04944245beec: Download complete [2022-04-12T22:53:53.563Z] 765212b225bb: Verifying Checksum [2022-04-12T22:53:53.563Z] 765212b225bb: Download complete [2022-04-12T22:53:53.563Z] f23df028b6ca: Verifying Checksum [2022-04-12T22:53:53.563Z] f23df028b6ca: Download complete [2022-04-12T22:53:53.563Z] d65c8cfc05b1: Verifying Checksum [2022-04-12T22:53:53.563Z] d65c8cfc05b1: Download complete [2022-04-12T22:53:53.837Z] 699f458cf7ca: Verifying Checksum [2022-04-12T22:53:53.837Z] 699f458cf7ca: Download complete [2022-04-12T22:53:54.111Z] 8998bd30e6a1: Download complete [2022-04-12T22:53:56.735Z] 2437ff75d9bd: Verifying Checksum [2022-04-12T22:53:56.735Z] 2437ff75d9bd: Download complete [2022-04-12T22:53:58.715Z] 8998bd30e6a1: Pull complete [2022-04-12T22:53:58.991Z] 04944245beec: Pull complete [2022-04-12T22:54:00.426Z] 699f458cf7ca: Pull complete [2022-04-12T22:54:00.700Z] 765212b225bb: Pull complete [2022-04-12T22:54:01.682Z] f23df028b6ca: Pull complete [2022-04-12T22:54:01.682Z] d65c8cfc05b1: Pull complete [2022-04-12T22:54:16.842Z] 2437ff75d9bd: Pull complete [2022-04-12T22:54:16.842Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-12T22:54:16.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T22:54:16.842Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-12T22:54:17.078Z] prd-ubuntu20.04-docker-arm64-4c-16g-20732 does not seem to be running inside a container [2022-04-12T22:54:17.164Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-12T22:54:19.573Z] $ docker top 370ae792f5d1d43ad1376db18b786f7634291863a2cfa4ead876e0952d60548c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:54:20.458Z] ---> job-cost.sh [2022-04-12T22:54:20.458Z] lf-activate-venv: SKIPPING [2022-04-12T22:54:20.458Z] INFO: No Stack... [2022-04-12T22:54:23.070Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-12T22:54:23.663Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T22:54:24.325Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2022-04-12T22:54:24.325Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T22:54:24.387Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] [2022-04-12T22:54:24.396Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] did not exist. Created. [2022-04-12T22:54:24.396Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T22:54:25.074Z] /w/workspace/device-sdk-go/4@tmp/durable-728b1317/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-12T22:54:25.752Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-12T22:54:25.776Z] Warning: overwriting stash ‘stack-cost’ [2022-04-12T22:54:25.831Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T22:54:25.841Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T22:54:25.866Z] $ docker stop --time=1 370ae792f5d1d43ad1376db18b786f7634291863a2cfa4ead876e0952d60548c [2022-04-12T22:54:27.359Z] $ docker rm -f 370ae792f5d1d43ad1376db18b786f7634291863a2cfa4ead876e0952d60548c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-12T22:54:27.816Z] provisioning config files... [2022-04-12T22:54:27.826Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config43225951773394898tmp [Pipeline] { [Pipeline] sh [2022-04-12T22:54:28.126Z] + set +x [2022-04-12T22:54:28.126Z] + curl -s https://codecov.io/bash [2022-04-12T22:54:28.126Z] + bash -s -- [2022-04-12T22:54:28.126Z] [2022-04-12T22:54:28.126Z] _____ _ [2022-04-12T22:54:28.126Z] / ____| | | [2022-04-12T22:54:28.126Z] | | ___ __| | ___ ___ _____ __ [2022-04-12T22:54:28.126Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-12T22:54:28.126Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-12T22:54:28.126Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-12T22:54:28.126Z] Bash-1.0.6 [2022-04-12T22:54:28.126Z] [2022-04-12T22:54:28.126Z] [2022-04-12T22:54:28.126Z] ==> git version 2.25.1 found [2022-04-12T22:54:28.126Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-12T22:54:28.126Z] Release-Date: 2020-01-08 [2022-04-12T22:54:28.126Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-12T22:54:28.126Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-12T22:54:28.126Z] ==> Jenkins CI detected. [2022-04-12T22:54:28.126Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1123 [2022-04-12T22:54:28.126Z] project root: . [2022-04-12T22:54:28.126Z] --> token set from env [2022-04-12T22:54:28.126Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-12T22:54:28.126Z] ==> Running gcov in . (disable via -X gcov) [2022-04-12T22:54:28.126Z] ==> Python coveragepy not found [2022-04-12T22:54:28.126Z] ==> Searching for coverage reports in: [2022-04-12T22:54:28.126Z] + . [2022-04-12T22:54:28.126Z] -> Found 1 reports [2022-04-12T22:54:28.126Z] ==> Detecting git/mercurial file structure [2022-04-12T22:54:28.126Z] ==> Reading reports [2022-04-12T22:54:28.126Z] + ./coverage.out bytes=129061 [2022-04-12T22:54:28.126Z] ==> Appending adjustments [2022-04-12T22:54:28.126Z] https://docs.codecov.io/docs/fixing-reports [2022-04-12T22:54:28.387Z] + Found adjustments [2022-04-12T22:54:28.387Z] ==> Gzipping contents [2022-04-12T22:54:28.387Z] 20K /tmp/codecov.7WQi2w.gz [2022-04-12T22:54:28.387Z] ==> Uploading reports [2022-04-12T22:54:28.387Z] url: https://codecov.io [2022-04-12T22:54:28.387Z] query: branch=PR-1123&commit=106b3f240b44d39bf24f90023f483d7ad428017d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= [2022-04-12T22:54:28.387Z] -> Pinging Codecov [2022-04-12T22:54:28.387Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1123&commit=106b3f240b44d39bf24f90023f483d7ad428017d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= [2022-04-12T22:54:28.648Z] -> Uploading to [2022-04-12T22:54:28.648Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-12/7E55EF52A471D76F132DFD9A03CDDE97/106b3f240b44d39bf24f90023f483d7ad428017d/6d631b33-8b23-436a-88cd-68ed872dc8f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T225428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa265b1c36f7fc0317e7a79e961c80f3db2146534bcd2ed8d4df711d73dce881 [2022-04-12T22:54:28.909Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T22:54:28.909Z] Dload Upload Total Spent Left Speed [2022-04-12T22:54:28.909Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16479 0 0 100 16479 0 74565 --:--:-- --:--:-- --:--:-- 74565 [2022-04-12T22:54:28.909Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/106b3f240b44d39bf24f90023f483d7ad428017d [Pipeline] } [2022-04-12T22:54:28.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-12T22:54:29.802Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives ] [2022-04-12T22:54:29.802Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives [2022-04-12T22:54:29.802Z] total 16 [2022-04-12T22:54:29.802Z] drwxr-xr-x 3 root root 4096 Apr 12 22:44 . [2022-04-12T22:54:29.802Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 22:44 .. [2022-04-12T22:54:29.802Z] drwxr-xr-x 2 root root 4096 Apr 12 22:44 cost [2022-04-12T22:54:29.802Z] -rw-r--r-- 1 root root 85 Apr 12 22:44 cost.csv [2022-04-12T22:54:29.802Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives [2022-04-12T22:54:29.802Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives [2022-04-12T22:54:29.802Z] total 16 [2022-04-12T22:54:29.802Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 22:44 . [2022-04-12T22:54:29.802Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 22:44 .. [2022-04-12T22:54:29.802Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 22:44 cost [2022-04-12T22:54:29.802Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 12 22:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:54:30.115Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:54:30.997Z] ---> package-listing.sh [2022-04-12T22:54:30.997Z] ++ facter osfamily [2022-04-12T22:54:30.997Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-12T22:54:31.260Z] + OS_FAMILY=debian [2022-04-12T22:54:31.260Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1123 [2022-04-12T22:54:31.260Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-12T22:54:31.260Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-12T22:54:31.260Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-12T22:54:31.260Z] + PACKAGES=/tmp/packages_start.txt [2022-04-12T22:54:31.260Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' [2022-04-12T22:54:31.260Z] + PACKAGES=/tmp/packages_end.txt [2022-04-12T22:54:31.260Z] + case "${OS_FAMILY}" in [2022-04-12T22:54:31.260Z] + dpkg -l [2022-04-12T22:54:31.260Z] + grep '^ii' [2022-04-12T22:54:31.260Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-12T22:54:31.260Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-12T22:54:31.260Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-12T22:54:31.260Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' [2022-04-12T22:54:31.260Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ [2022-04-12T22:54:31.260Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ [Pipeline] echo [2022-04-12T22:54:31.276Z] 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-1123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-12T22:54:31.561Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-12T22:54:32.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T22:54:32.130Z] . [Pipeline] withDockerContainer [2022-04-12T22:54:32.215Z] prd-ubuntu20.04-docker-8c-8g-20730 does not seem to be running inside a container [2022-04-12T22:54:32.261Z] $ 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-1123/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-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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-12T22:54:32.479Z] $ docker top d3cf58354a238a9f0fefa0a5bf01965fc884742a875171d13aba276019cc4f30 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T22:54:32.851Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-12T22:54:33.153Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-12T22:54:33.447Z] + ls /var/log/sa-host [2022-04-12T22:54:33.447Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T22:54:33.548Z] provisioning config files... [2022-04-12T22:54:33.559Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config1713702779595329479tmp [Pipeline] { [Pipeline] echo [2022-04-12T22:54:33.575Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:54:33.864Z] ---> create-netrc.sh [Pipeline] } [2022-04-12T22:54:33.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:54:34.215Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-12T22:54:34.227Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:54:34.519Z] ---> sudo-logs.sh [2022-04-12T22:54:34.519Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-12T22:54:34.556Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:54:34.855Z] ---> job-cost.sh [2022-04-12T22:54:34.855Z] lf-activate-venv: SKIPPING [2022-04-12T22:54:34.855Z] DEBUG: total: 0.2199999988079071 [2022-04-12T22:54:34.855Z] INFO: Retrieving Stack Cost... [2022-04-12T22:54:35.428Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T22:54:35.689Z] INFO: Archiving Costs [Pipeline] echo [2022-04-12T22:54:35.703Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T22:54:35.994Z] ---> logs-deploy.sh [2022-04-12T22:54:35.994Z] lf-activate-venv: SKIPPING [2022-04-12T22:54:35.994Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1123/4 [2022-04-12T22:54:35.994Z] INFO: archiving workspace using pattern(s): [2022-04-12T22:54:36.938Z] Archives upload complete. [2022-04-12T22:54:36.938Z] INFO: archiving logs to Nexus