Pull request #1094 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a5685c30134eaa70a345d0afb3445298a6fc3f22+9a649bf1bf9918af6bcd6933aa59ded149e77d26 (687a1663366d1be88412e54916b6b5aa254ecffa) 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-ssh9775979421298877900.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh17695244904410666296.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-1094/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-1094/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7266727818986449835.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh17458120695989765468.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-1094/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-1094/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4326131968117191451.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.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 on ‘prd-centos7-docker-4c-2g-4987’ Running on prd-centos7-docker-4c-2g-4991 in /w/workspace/gexfoundry_device-sdk-go_PR-1094 [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-1094 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/jenkins-gitclient-ssh6470570059130164755.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/jenkins-gitclient-ssh1974989848317885092.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1094/head:refs/remotes/origin/PR-1094 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit a5685c30134eaa70a345d0afb3445298a6fc3f22 Merge succeeded, producing a5685c30134eaa70a345d0afb3445298a6fc3f22 Checking out Revision a5685c30134eaa70a345d0afb3445298a6fc3f22 (PR-1094) > git config core.sparsecheckout # timeout=10 > git checkout -f a5685c30134eaa70a345d0afb3445298a6fc3f22 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/jenkins-gitclient-ssh7248409093128240302.key > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5685c30134eaa70a345d0afb3445298a6fc3f22 # timeout=10 Commit message: "fix: Sorted imports impacted by this PR" > git rev-list --no-walk f9dc3477577711277a71b71469784344d8ea0f80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-10T15:35:22.888Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-10T15:35:22.924Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-10T15:35:22.937Z] ========================================================= [2022-02-10T15:35:22.937Z] EdgeX Global Pipelines Version Info [2022-02-10T15:35:22.937Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:35:24.072Z] ------------------- [2022-02-10T15:35:24.072Z] stable info: [2022-02-10T15:35:24.072Z] ------------------- [2022-02-10T15:35:24.072Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T15:35:24.072Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T15:35:24.072Z] Message: update stable to v1.0.220 [2022-02-10T15:35:24.643Z] ------------------- [2022-02-10T15:35:24.643Z] experimental info: [2022-02-10T15:35:24.643Z] ------------------- [2022-02-10T15:35:24.643Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T15:35:24.643Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T15:35:24.643Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-10T15:35:24.785Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-02-10T15:35:24.799Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-02-10T15:35:24.816Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-10T15:35:24.827Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-10T15:35:24.839Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-10T15:35:24.855Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-10T15:35:24.869Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-10T15:35:24.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-02-10T15:35:24.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-10T15:35:24.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-10T15:35:24.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-10T15:35:24.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-02-10T15:35:24.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-10T15:35:24.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-10T15:35:24.964Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-10T15:35:24.977Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T15:35:24.992Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T15:35:25.009Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T15:35:25.020Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-10T15:35:25.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-10T15:35:25.047Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-10T15:35:25.062Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-10T15:35:25.077Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-10T15:35:25.089Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-10T15:35:25.102Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-10T15:35:25.114Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-10T15:35:25.129Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1094 [Pipeline] echo [2022-02-10T15:35:25.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1094 [Pipeline] echo [2022-02-10T15:35:25.156Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1094 [Pipeline] echo [2022-02-10T15:35:25.171Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5685c30134eaa70a345d0afb3445298a6fc3f22 [Pipeline] echo [2022-02-10T15:35:25.183Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5685c3 [Pipeline] echo [2022-02-10T15:35:25.197Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T15:35:25.243Z] provisioning config files... [2022-02-10T15:35:25.259Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/config779080159364003839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:35:25.565Z] ---> docker-login.sh [2022-02-10T15:35:25.565Z] nexus3.edgexfoundry.org:10001 [2022-02-10T15:35:25.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:25.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:25.829Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:25.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:25.829Z] [2022-02-10T15:35:25.829Z] Login Succeeded [2022-02-10T15:35:25.829Z] nexus3.edgexfoundry.org:10002 [2022-02-10T15:35:25.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:25.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:25.829Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:25.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:25.829Z] [2022-02-10T15:35:25.829Z] Login Succeeded [2022-02-10T15:35:25.829Z] nexus3.edgexfoundry.org:10003 [2022-02-10T15:35:25.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:26.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:26.092Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:26.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:26.092Z] [2022-02-10T15:35:26.092Z] Login Succeeded [2022-02-10T15:35:26.092Z] nexus3.edgexfoundry.org:10004 [2022-02-10T15:35:26.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:26.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:26.092Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:26.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:26.092Z] [2022-02-10T15:35:26.092Z] Login Succeeded [2022-02-10T15:35:26.092Z] docker.io [2022-02-10T15:35:26.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:26.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:26.359Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:26.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:26.360Z] [2022-02-10T15:35:26.360Z] Login Succeeded [2022-02-10T15:35:26.360Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T15:35:26.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-10T15:35:26.753Z] + git rev-list -1 --merges a5685c30134eaa70a345d0afb3445298a6fc3f22~1..a5685c30134eaa70a345d0afb3445298a6fc3f22 [Pipeline] echo [2022-02-10T15:35:26.784Z] -----------> git rev-list -1 --merges a5685c30134eaa70a345d0afb3445298a6fc3f22~1..a5685c30134eaa70a345d0afb3445298a6fc3f22 a5685c30134eaa70a345d0afb3445298a6fc3f22 [false] [Pipeline] sh [2022-02-10T15:35:27.071Z] + git log --format=format:%s -1 a5685c30134eaa70a345d0afb3445298a6fc3f22 [Pipeline] echo [2022-02-10T15:35:27.087Z] ========================================================= [2022-02-10T15:35:27.087Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-10T15:35:27.087Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T15:35:27.426Z] + git log --format=format:%s -1 a5685c30134eaa70a345d0afb3445298a6fc3f22 [Pipeline] echo [2022-02-10T15:35:27.438Z] [semverPrep] GIT_COMMIT: a5685c30134eaa70a345d0afb3445298a6fc3f22, Commit Message: fix: Sorted imports impacted by this PR [Pipeline] echo [2022-02-10T15:35:27.448Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-10T15:35:27.830Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-10T15:35:27.830Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-10T15:35:27.830Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-10T15:35:27.830Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-10T15:35:27.830Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-10T15:35:27.830Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-10T15:35:27.830Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:35:28.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T15:35:28.171Z] [2022-02-10T15:35:28.171Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:35:28.483Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T15:35:28.483Z] latest: Pulling from edgex-devops/git-semver [2022-02-10T15:35:28.483Z] a0d0a0d46f8b: Pulling fs layer [2022-02-10T15:35:28.483Z] 3e5f54012d9b: Pulling fs layer [2022-02-10T15:35:28.483Z] 4c7163046ea9: Pulling fs layer [2022-02-10T15:35:28.483Z] 0c2d73faf560: Pulling fs layer [2022-02-10T15:35:28.483Z] 0c2d73faf560: Waiting [2022-02-10T15:35:28.483Z] 3e5f54012d9b: Verifying Checksum [2022-02-10T15:35:28.483Z] 3e5f54012d9b: Download complete [2022-02-10T15:35:28.483Z] a0d0a0d46f8b: Verifying Checksum [2022-02-10T15:35:28.483Z] a0d0a0d46f8b: Download complete [2022-02-10T15:35:28.483Z] 4c7163046ea9: Verifying Checksum [2022-02-10T15:35:28.483Z] 4c7163046ea9: Download complete [2022-02-10T15:35:28.483Z] 0c2d73faf560: Verifying Checksum [2022-02-10T15:35:28.483Z] 0c2d73faf560: Download complete [2022-02-10T15:35:28.752Z] a0d0a0d46f8b: Pull complete [2022-02-10T15:35:28.752Z] 3e5f54012d9b: Pull complete [2022-02-10T15:35:29.025Z] 4c7163046ea9: Pull complete [2022-02-10T15:35:29.298Z] 0c2d73faf560: Pull complete [2022-02-10T15:35:29.298Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-10T15:35:29.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T15:35:29.298Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-10T15:35:29.372Z] prd-centos7-docker-4c-2g-4991 does not seem to be running inside a container [2022-02-10T15:35:29.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1094 -v /w/workspace/gexfoundry_device-sdk-go_PR-1094:/w/workspace/gexfoundry_device-sdk-go_PR-1094:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1094@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:10004/edgex-devops/git-semver:latest cat [2022-02-10T15:35:30.073Z] $ docker top 33308ad6d5825da56d62b3189727f465e448d00320cfcf5893b3b0ae96fe77a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-10T15:35:30.164Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T15:35:30.164Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T15:35:30.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T15:35:30.275Z] $ docker exec 33308ad6d5825da56d62b3189727f465e448d00320cfcf5893b3b0ae96fe77a6 ssh-agent [2022-02-10T15:35:30.377Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPAknci/agent.13 [2022-02-10T15:35:30.377Z] SSH_AGENT_PID=19 [2022-02-10T15:35:30.387Z] Running ssh-add (command line suppressed) [2022-02-10T15:35:30.481Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/private_key_4403323704764888570.key (/w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/private_key_4403323704764888570.key) [2022-02-10T15:35:30.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T15:35:30.798Z] + git tag --points-at HEAD [Pipeline] } [2022-02-10T15:35:30.815Z] $ docker exec --env ******** --env ******** 33308ad6d5825da56d62b3189727f465e448d00320cfcf5893b3b0ae96fe77a6 ssh-agent -k [2022-02-10T15:35:30.898Z] unset SSH_AUTH_SOCK; [2022-02-10T15:35:30.898Z] unset SSH_AGENT_PID; [2022-02-10T15:35:30.899Z] echo Agent pid 19 killed; [2022-02-10T15:35:30.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-10T15:35:30.934Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T15:35:30.934Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T15:35:31.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T15:35:31.040Z] $ docker exec 33308ad6d5825da56d62b3189727f465e448d00320cfcf5893b3b0ae96fe77a6 ssh-agent [2022-02-10T15:35:31.152Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAdheac/agent.52 [2022-02-10T15:35:31.152Z] SSH_AGENT_PID=58 [2022-02-10T15:35:31.157Z] Running ssh-add (command line suppressed) [2022-02-10T15:35:31.261Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/private_key_387093368164903097.key (/w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/private_key_387093368164903097.key) [2022-02-10T15:35:31.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T15:35:31.570Z] + git semver init [2022-02-10T15:35:31.570Z] # -> Open(): unable to determine branch for HEAD [2022-02-10T15:35:31.570Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1094/.git [2022-02-10T15:35:31.570Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1094 [2022-02-10T15:35:31.570Z] # $SEMVER_REMOTE_NAME = origin [2022-02-10T15:35:31.570Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-10T15:35:31.570Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-10T15:35:31.570Z] # $SEMVER_BRANCH = PR-1094 [2022-02-10T15:35:31.570Z] # $SEMVER_TEMP = /tmp/semver-354450680 [2022-02-10T15:35:31.570Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-02-10T15:35:32.514Z] # '/tmp/semver-354450680' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1094/.semver' [2022-02-10T15:35:32.514Z] # -> Force: false [2022-02-10T15:35:32.514Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1094/.semver [Pipeline] } [2022-02-10T15:35:32.526Z] $ docker exec --env ******** --env ******** 33308ad6d5825da56d62b3189727f465e448d00320cfcf5893b3b0ae96fe77a6 ssh-agent -k [2022-02-10T15:35:32.609Z] unset SSH_AUTH_SOCK; [2022-02-10T15:35:32.609Z] unset SSH_AGENT_PID; [2022-02-10T15:35:32.609Z] echo Agent pid 58 killed; [2022-02-10T15:35:32.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-10T15:35:32.943Z] + git semver [Pipeline] } [2022-02-10T15:35:32.956Z] $ docker stop --time=1 33308ad6d5825da56d62b3189727f465e448d00320cfcf5893b3b0ae96fe77a6 [2022-02-10T15:35:34.250Z] $ docker rm -f 33308ad6d5825da56d62b3189727f465e448d00320cfcf5893b3b0ae96fe77a6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-10T15:35:34.588Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-10T15:35:34.802Z] Stashed 1 file(s) [Pipeline] echo [2022-02-10T15:35:34.806Z] [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-02-10T15:35:34.943Z] provisioning config files... [2022-02-10T15:35:34.953Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/config6757760025757802170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:35:35.260Z] ---> docker-login.sh [2022-02-10T15:35:35.260Z] nexus3.edgexfoundry.org:10001 [2022-02-10T15:35:35.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:35.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:35.260Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:35.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:35.260Z] [2022-02-10T15:35:35.260Z] Login Succeeded [2022-02-10T15:35:35.260Z] nexus3.edgexfoundry.org:10002 [2022-02-10T15:35:35.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:35.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:35.260Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:35.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:35.260Z] [2022-02-10T15:35:35.260Z] Login Succeeded [2022-02-10T15:35:35.260Z] nexus3.edgexfoundry.org:10003 [2022-02-10T15:35:35.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:35.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:35.520Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:35.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:35.520Z] [2022-02-10T15:35:35.520Z] Login Succeeded [2022-02-10T15:35:35.520Z] nexus3.edgexfoundry.org:10004 [2022-02-10T15:35:35.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:35.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:35.520Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:35.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:35.520Z] [2022-02-10T15:35:35.520Z] Login Succeeded [2022-02-10T15:35:35.520Z] docker.io [2022-02-10T15:35:35.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:36.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:36.040Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:36.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:36.040Z] [2022-02-10T15:35:36.040Z] Login Succeeded [2022-02-10T15:35:36.040Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T15:35:36.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T15:35:36.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T15:35:36.125Z] ========================================================= [2022-02-10T15:35:36.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-10T15:35:36.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:35:36.441Z] + 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-02-10T15:35:36.441Z] Sending build context to Docker daemon 9.581MB [2022-02-10T15:35:36.441Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-10T15:35:36.441Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-10T15:35:36.441Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-10T15:35:36.441Z] 59bf1c3509f3: Pulling fs layer [2022-02-10T15:35:36.441Z] 666ba61612fd: Pulling fs layer [2022-02-10T15:35:36.441Z] 8ed8ca486205: Pulling fs layer [2022-02-10T15:35:36.441Z] 4fe6c5a15a65: Pulling fs layer [2022-02-10T15:35:36.441Z] 22a0e8bec74d: Pulling fs layer [2022-02-10T15:35:36.441Z] 640e595b4fbd: Pulling fs layer [2022-02-10T15:35:36.441Z] 763cafe07f6e: Pulling fs layer [2022-02-10T15:35:36.441Z] 0c0b528cf693: Pulling fs layer [2022-02-10T15:35:36.441Z] 10935f4eaf8b: Pulling fs layer [2022-02-10T15:35:36.441Z] 640e595b4fbd: Waiting [2022-02-10T15:35:36.441Z] 763cafe07f6e: Waiting [2022-02-10T15:35:36.441Z] 0c0b528cf693: Waiting [2022-02-10T15:35:36.441Z] 10935f4eaf8b: Waiting [2022-02-10T15:35:36.441Z] 4fe6c5a15a65: Waiting [2022-02-10T15:35:36.441Z] 22a0e8bec74d: Waiting [2022-02-10T15:35:36.441Z] 8ed8ca486205: Verifying Checksum [2022-02-10T15:35:36.441Z] 8ed8ca486205: Download complete [2022-02-10T15:35:36.711Z] 666ba61612fd: Verifying Checksum [2022-02-10T15:35:36.711Z] 666ba61612fd: Download complete [2022-02-10T15:35:36.711Z] 22a0e8bec74d: Verifying Checksum [2022-02-10T15:35:36.711Z] 22a0e8bec74d: Download complete [2022-02-10T15:35:36.711Z] 640e595b4fbd: Verifying Checksum [2022-02-10T15:35:36.711Z] 640e595b4fbd: Download complete [2022-02-10T15:35:36.711Z] 59bf1c3509f3: Verifying Checksum [2022-02-10T15:35:36.711Z] 59bf1c3509f3: Download complete [2022-02-10T15:35:36.711Z] 763cafe07f6e: Verifying Checksum [2022-02-10T15:35:36.711Z] 763cafe07f6e: Download complete [2022-02-10T15:35:36.711Z] 0c0b528cf693: Verifying Checksum [2022-02-10T15:35:36.711Z] 0c0b528cf693: Download complete [2022-02-10T15:35:37.292Z] 10935f4eaf8b: Verifying Checksum [2022-02-10T15:35:37.292Z] 10935f4eaf8b: Download complete [2022-02-10T15:35:37.292Z] 59bf1c3509f3: Pull complete [2022-02-10T15:35:37.292Z] 4fe6c5a15a65: Verifying Checksum [2022-02-10T15:35:37.292Z] 4fe6c5a15a65: Download complete [2022-02-10T15:35:37.292Z] 666ba61612fd: Pull complete [2022-02-10T15:35:37.292Z] 8ed8ca486205: Pull complete [2022-02-10T15:35:41.532Z] 4fe6c5a15a65: Pull complete [2022-02-10T15:35:41.532Z] 22a0e8bec74d: Pull complete [2022-02-10T15:35:41.532Z] 640e595b4fbd: Pull complete [2022-02-10T15:35:41.532Z] 763cafe07f6e: Pull complete [2022-02-10T15:35:41.797Z] 0c0b528cf693: Pull complete [2022-02-10T15:35:44.358Z] 10935f4eaf8b: Pull complete [2022-02-10T15:35:44.358Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-10T15:35:44.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-10T15:35:44.358Z] ---> 99d49a6021b9 [2022-02-10T15:35:44.358Z] Step 3/11 : ARG MAKE=make build [2022-02-10T15:35:46.280Z] ---> Running in 94dedd3b5cb2 [2022-02-10T15:35:46.281Z] Removing intermediate container 94dedd3b5cb2 [2022-02-10T15:35:46.281Z] ---> 3f78ed95440c [2022-02-10T15:35:46.281Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-10T15:35:46.281Z] ---> Running in 09fd1e582da2 [2022-02-10T15:35:46.281Z] Removing intermediate container 09fd1e582da2 [2022-02-10T15:35:46.281Z] ---> a32ef8ab2213 [2022-02-10T15:35:46.281Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:35:46.281Z] ---> Running in 7e6ca6bdc1eb [2022-02-10T15:35:46.281Z] Removing intermediate container 7e6ca6bdc1eb [2022-02-10T15:35:46.281Z] ---> d6593b53a90d [2022-02-10T15:35:46.281Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:35:46.281Z] ---> Running in 65bfc3651e22 [2022-02-10T15:35:46.540Z] Removing intermediate container 65bfc3651e22 [2022-02-10T15:35:46.540Z] ---> 0417900f2cd4 [2022-02-10T15:35:46.540Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-10T15:35:46.804Z] ---> Running in 561515d218a0 [2022-02-10T15:35:46.804Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-10T15:35:47.746Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-10T15:35:48.017Z] OK: 221 MiB in 52 packages [2022-02-10T15:35:48.284Z] Removing intermediate container 561515d218a0 [2022-02-10T15:35:48.284Z] ---> e9ca2077c02f [2022-02-10T15:35:48.284Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-10T15:35:48.547Z] ---> 59d6eb66f0fd [2022-02-10T15:35:48.547Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-10T15:35:48.547Z] ---> Running in 4876ca26c39d [2022-02-10T15:35:49.899Z] Still waiting to schedule task [2022-02-10T15:35:49.899Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4988’ [2022-02-10T15:36:15.171Z] Removing intermediate container 4876ca26c39d [2022-02-10T15:36:15.171Z] ---> 10525e2d6ed6 [2022-02-10T15:36:15.171Z] Step 10/11 : COPY . . [2022-02-10T15:36:15.430Z] ---> 32d136945c16 [2022-02-10T15:36:15.430Z] Step 11/11 : RUN ${MAKE} [2022-02-10T15:36:15.691Z] ---> Running in f684d71ce2f6 [2022-02-10T15:36:15.691Z] noop [2022-02-10T15:36:15.956Z] Removing intermediate container f684d71ce2f6 [2022-02-10T15:36:15.956Z] ---> 813ba931590e [2022-02-10T15:36:15.956Z] Successfully built 813ba931590e [2022-02-10T15:36:15.956Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:36:16.252Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-10T15:36:16.252Z] . [Pipeline] withDockerContainer [2022-02-10T15:36:16.316Z] prd-centos7-docker-4c-2g-4991 does not seem to be running inside a container [2022-02-10T15:36:16.349Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1094 -v /w/workspace/gexfoundry_device-sdk-go_PR-1094:/w/workspace/gexfoundry_device-sdk-go_PR-1094:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-10T15:36:16.689Z] $ docker top 7c5a8215d491f95d29894437636de63a044e2007c9db9bef51633f993c14085f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T15:36:17.045Z] + go version [2022-02-10T15:36:17.045Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-10T15:36:17.057Z] $ docker stop --time=1 7c5a8215d491f95d29894437636de63a044e2007c9db9bef51633f993c14085f [2022-02-10T15:36:18.284Z] $ docker rm -f 7c5a8215d491f95d29894437636de63a044e2007c9db9bef51633f993c14085f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:36:18.705Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-10T15:36:18.706Z] . [Pipeline] withDockerContainer [2022-02-10T15:36:18.772Z] prd-centos7-docker-4c-2g-4991 does not seem to be running inside a container [2022-02-10T15:36:18.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1094 -v /w/workspace/gexfoundry_device-sdk-go_PR-1094:/w/workspace/gexfoundry_device-sdk-go_PR-1094:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-10T15:36:19.141Z] $ docker top 2f955c9e375631d0784f882659e3f6609f662bb70c908345417cbfbf54f0c5c8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-10T15:36:19.518Z] + make test [2022-02-10T15:36:19.518Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-10T15:36:19.780Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-10T15:36:34.773Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-10T15:36:34.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-10T15:36:34.774Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-10T15:36:35.354Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.008s coverage: 23.3% of statements [2022-02-10T15:36:35.354Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-10T15:36:35.354Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.012s coverage: 27.6% of statements [2022-02-10T15:36:35.622Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.017s coverage: 78.9% of statements [2022-02-10T15:36:35.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.007s coverage: 10.8% of statements [2022-02-10T15:36:35.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-10T15:36:35.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-10T15:36:35.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-10T15:36:36.465Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.011s coverage: 28.7% of statements [2022-02-10T15:36:36.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-10T15:36:37.418Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.022s coverage: 86.1% of statements [2022-02-10T15:36:37.418Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-10T15:36:37.418Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-10T15:36:37.418Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.011s coverage: 57.4% of statements [2022-02-10T15:36:37.418Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.028s coverage: 89.2% of statements [2022-02-10T15:36:37.418Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-10T15:36:37.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.009s coverage: 4.8% of statements [2022-02-10T15:36:37.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-10T15:36:50.332Z] GO111MODULE=on go vet ./... [2022-02-10T15:36:55.685Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-10T15:36:55.685Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-10T15:36:55.685Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-10T15:36:55.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-10T15:36:55.975Z] $ docker stop --time=1 2f955c9e375631d0784f882659e3f6609f662bb70c908345417cbfbf54f0c5c8 [2022-02-10T15:36:57.385Z] $ docker rm -f 2f955c9e375631d0784f882659e3f6609f662bb70c908345417cbfbf54f0c5c8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-10T15:36:57.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-10T15:36:57.919Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-02-10T15:36:58.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-10T15:36:58.792Z] + ls -al . [2022-02-10T15:36:58.792Z] total 272 [2022-02-10T15:36:58.792Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 10 15:36 . [2022-02-10T15:36:58.792Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 10 15:35 .. [2022-02-10T15:36:58.792Z] drwxrwxr-x. 2 jenkins jenkins 37 Feb 10 15:35 bin [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 26321 Feb 10 15:35 CHANGELOG.md [2022-02-10T15:36:58.792Z] -rw-r--r--. 1 jenkins jenkins 128110 Feb 10 15:36 coverage.out [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 10 15:35 .dockerignore [2022-02-10T15:36:58.792Z] drwxrwxr-x. 5 jenkins jenkins 62 Feb 10 15:35 example [2022-02-10T15:36:58.792Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 10 15:35 .git [2022-02-10T15:36:58.792Z] drwxrwxr-x. 3 jenkins jenkins 125 Feb 10 15:35 .github [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 131 Feb 10 15:35 .gitignore [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 42 Feb 10 15:35 .golangci.yml [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 2773 Feb 10 15:35 go.mod [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 49776 Feb 10 15:35 go.sum [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 10 15:35 GOVERNANCE.md [2022-02-10T15:36:58.792Z] drwxrwxr-x. 15 jenkins jenkins 224 Feb 10 15:35 internal [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 880 Feb 10 15:35 Jenkinsfile [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 10 15:35 LICENSE [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 1614 Feb 10 15:35 Makefile [2022-02-10T15:36:58.792Z] drwxrwxr-x. 3 jenkins jenkins 16 Feb 10 15:35 openapi [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 619 Feb 10 15:35 OWNERS.md [2022-02-10T15:36:58.792Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 10 15:35 pkg [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 4881 Feb 10 15:35 README.md [2022-02-10T15:36:58.792Z] drwx------. 3 jenkins jenkins 72 Feb 10 15:35 .semver [2022-02-10T15:36:58.792Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 10 15:35 snap [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 10 15:35 VERSION [2022-02-10T15:36:58.792Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 10 15:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:36:59.095Z] + 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=a5685c30134eaa70a345d0afb3445298a6fc3f22 --label arch=amd64 --label version=0.0.0 . [2022-02-10T15:36:59.095Z] Sending build context to Docker daemon 9.71MB [2022-02-10T15:36:59.095Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-10T15:36:59.095Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-10T15:36:59.095Z] ---> 813ba931590e [2022-02-10T15:36:59.095Z] Step 3/25 : ARG MAKE=make build [2022-02-10T15:36:59.362Z] ---> Running in ca36d90589a0 [2022-02-10T15:36:59.362Z] Removing intermediate container ca36d90589a0 [2022-02-10T15:36:59.362Z] ---> d9cbd41a9b8b [2022-02-10T15:36:59.362Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-10T15:36:59.362Z] ---> Running in aa53c2874d85 [2022-02-10T15:36:59.362Z] Removing intermediate container aa53c2874d85 [2022-02-10T15:36:59.362Z] ---> 13864090a082 [2022-02-10T15:36:59.362Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:36:59.362Z] ---> Running in 4cadbe35c575 [2022-02-10T15:36:59.622Z] Removing intermediate container 4cadbe35c575 [2022-02-10T15:36:59.622Z] ---> 2bf57f3ecbc9 [2022-02-10T15:36:59.622Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:36:59.622Z] ---> Running in 0a41127d9f16 [2022-02-10T15:36:59.891Z] Removing intermediate container 0a41127d9f16 [2022-02-10T15:36:59.891Z] ---> d7bf9f982f63 [2022-02-10T15:36:59.891Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-10T15:36:59.891Z] ---> Running in 9602965c9a54 [2022-02-10T15:37:00.152Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-10T15:37:01.094Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-10T15:37:01.353Z] OK: 221 MiB in 52 packages [2022-02-10T15:37:01.617Z] Removing intermediate container 9602965c9a54 [2022-02-10T15:37:01.617Z] ---> be34ed4b78b6 [2022-02-10T15:37:01.617Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-10T15:37:01.877Z] ---> 63c9f982db7b [2022-02-10T15:37:01.877Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-10T15:37:01.877Z] ---> Running in 4338977e8b63 [2022-02-10T15:37:02.450Z] Removing intermediate container 4338977e8b63 [2022-02-10T15:37:02.450Z] ---> 73473ceb61b3 [2022-02-10T15:37:02.450Z] Step 10/25 : COPY . . [2022-02-10T15:37:02.718Z] ---> f753fce68743 [2022-02-10T15:37:02.719Z] Step 11/25 : RUN ${MAKE} [2022-02-10T15:37:02.719Z] ---> Running in 336d19757149 [2022-02-10T15:37:02.988Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-02-10T15:37:15.278Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-10T15:37:15.278Z] Removing intermediate container 336d19757149 [2022-02-10T15:37:15.278Z] ---> ff6e2736d60e [2022-02-10T15:37:15.278Z] Step 12/25 : FROM alpine:3.14 [2022-02-10T15:37:15.538Z] 3.14: Pulling from library/alpine [2022-02-10T15:37:15.538Z] 97518928ae5f: Pulling fs layer [2022-02-10T15:37:15.799Z] 97518928ae5f: Verifying Checksum [2022-02-10T15:37:15.799Z] 97518928ae5f: Download complete [2022-02-10T15:37:15.799Z] 97518928ae5f: Pull complete [2022-02-10T15:37:16.059Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-10T15:37:16.059Z] Status: Downloaded newer image for alpine:3.14 [2022-02-10T15:37:16.059Z] ---> 0a97eee8041e [2022-02-10T15:37:16.059Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:37:16.059Z] ---> Running in 3d8b687149bc [2022-02-10T15:37:16.059Z] Removing intermediate container 3d8b687149bc [2022-02-10T15:37:16.059Z] ---> 143ddf36fc56 [2022-02-10T15:37:16.059Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:37:16.059Z] ---> Running in 4e7f954d725a [2022-02-10T15:37:16.629Z] Removing intermediate container 4e7f954d725a [2022-02-10T15:37:16.629Z] ---> f5f75c1a3fce [2022-02-10T15:37:16.629Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-10T15:37:16.629Z] ---> Running in 8eb238e0cae9 [2022-02-10T15:37:16.889Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T15:37:17.831Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-10T15:37:17.831Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-10T15:37:18.094Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-10T15:37:18.094Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-10T15:37:18.094Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-10T15:37:18.354Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-10T15:37:18.354Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T15:37:18.354Z] OK: 8 MiB in 19 packages [2022-02-10T15:37:18.924Z] Removing intermediate container 8eb238e0cae9 [2022-02-10T15:37:18.924Z] ---> 5bece305e515 [2022-02-10T15:37:18.924Z] Step 16/25 : WORKDIR / [2022-02-10T15:37:18.924Z] ---> Running in 699f71c779ee [2022-02-10T15:37:18.924Z] Removing intermediate container 699f71c779ee [2022-02-10T15:37:18.924Z] ---> fb9547e005bb [2022-02-10T15:37:18.924Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-10T15:37:18.924Z] ---> 04f0f929c8a0 [2022-02-10T15:37:18.924Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-10T15:37:19.506Z] ---> af32202aeb7a [2022-02-10T15:37:19.506Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-10T15:37:19.506Z] ---> 7cb16323ecc0 [2022-02-10T15:37:19.506Z] Step 20/25 : EXPOSE 59999 [2022-02-10T15:37:19.506Z] ---> Running in d519007c063b [2022-02-10T15:37:19.506Z] Removing intermediate container d519007c063b [2022-02-10T15:37:19.506Z] ---> 66830f5442b4 [2022-02-10T15:37:19.506Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-10T15:37:19.506Z] ---> Running in 763b4c858501 [2022-02-10T15:37:19.764Z] Removing intermediate container 763b4c858501 [2022-02-10T15:37:19.764Z] ---> 4f8aa7107622 [2022-02-10T15:37:19.764Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-10T15:37:19.764Z] ---> Running in d0740584097d [2022-02-10T15:37:19.764Z] Removing intermediate container d0740584097d [2022-02-10T15:37:19.764Z] ---> 54d0b4899c04 [2022-02-10T15:37:19.764Z] Step 23/25 : LABEL arch=amd64 [2022-02-10T15:37:19.764Z] ---> Running in 9baca5475eb9 [2022-02-10T15:37:19.764Z] Removing intermediate container 9baca5475eb9 [2022-02-10T15:37:19.764Z] ---> 748778da6ea4 [2022-02-10T15:37:19.764Z] Step 24/25 : LABEL git_sha=a5685c30134eaa70a345d0afb3445298a6fc3f22 [2022-02-10T15:37:20.025Z] ---> Running in 22bb68fd5193 [2022-02-10T15:37:20.025Z] Removing intermediate container 22bb68fd5193 [2022-02-10T15:37:20.025Z] ---> 1513f22b7622 [2022-02-10T15:37:20.025Z] Step 25/25 : LABEL version=0.0.0 [2022-02-10T15:37:20.025Z] ---> Running in 06208c9979a1 [2022-02-10T15:37:20.025Z] Removing intermediate container 06208c9979a1 [2022-02-10T15:37:20.025Z] ---> 3d39b7a59fdf [2022-02-10T15:37:20.025Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-10T15:37:20.025Z] Successfully built 3d39b7a59fdf [2022-02-10T15:37:20.025Z] 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-02-10T15:37:20.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T15:37:20.429Z] [2022-02-10T15:37:20.429Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:37:20.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T15:37:20.733Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-10T15:37:20.733Z] b4d181a07f80: Pulling fs layer [2022-02-10T15:37:20.733Z] a1111a8f2ec3: Pulling fs layer [2022-02-10T15:37:20.733Z] ed53099fbce6: Pulling fs layer [2022-02-10T15:37:20.733Z] dc539afda2c1: Pulling fs layer [2022-02-10T15:37:20.733Z] 77bc0d833cb6: Pulling fs layer [2022-02-10T15:37:20.733Z] 9065ff56babe: Pulling fs layer [2022-02-10T15:37:20.733Z] d287ab97295c: Pulling fs layer [2022-02-10T15:37:20.733Z] dc539afda2c1: Waiting [2022-02-10T15:37:20.733Z] 77bc0d833cb6: Waiting [2022-02-10T15:37:20.733Z] 9065ff56babe: Waiting [2022-02-10T15:37:20.733Z] d287ab97295c: Waiting [2022-02-10T15:37:20.733Z] a1111a8f2ec3: Verifying Checksum [2022-02-10T15:37:20.733Z] a1111a8f2ec3: Download complete [2022-02-10T15:37:20.733Z] dc539afda2c1: Verifying Checksum [2022-02-10T15:37:20.733Z] dc539afda2c1: Download complete [2022-02-10T15:37:20.733Z] ed53099fbce6: Verifying Checksum [2022-02-10T15:37:20.733Z] ed53099fbce6: Download complete [2022-02-10T15:37:20.999Z] 9065ff56babe: Verifying Checksum [2022-02-10T15:37:20.999Z] 9065ff56babe: Download complete [2022-02-10T15:37:20.999Z] 77bc0d833cb6: Verifying Checksum [2022-02-10T15:37:20.999Z] 77bc0d833cb6: Download complete [2022-02-10T15:37:20.999Z] b4d181a07f80: Verifying Checksum [2022-02-10T15:37:20.999Z] b4d181a07f80: Download complete [2022-02-10T15:37:21.576Z] d287ab97295c: Verifying Checksum [2022-02-10T15:37:21.576Z] d287ab97295c: Download complete [2022-02-10T15:37:22.155Z] b4d181a07f80: Pull complete [2022-02-10T15:37:22.421Z] a1111a8f2ec3: Pull complete [2022-02-10T15:37:23.006Z] ed53099fbce6: Pull complete [2022-02-10T15:37:23.006Z] dc539afda2c1: Pull complete [2022-02-10T15:37:23.575Z] 77bc0d833cb6: Pull complete [2022-02-10T15:37:23.575Z] 9065ff56babe: Pull complete [2022-02-10T15:37:28.940Z] d287ab97295c: Pull complete [2022-02-10T15:37:28.940Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-10T15:37:28.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T15:37:28.940Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-10T15:37:29.004Z] prd-centos7-docker-4c-2g-4991 does not seem to be running inside a container [2022-02-10T15:37:29.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1094 -v /w/workspace/gexfoundry_device-sdk-go_PR-1094:/w/workspace/gexfoundry_device-sdk-go_PR-1094:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-10T15:37:31.489Z] $ docker top 5eabfe7e8f417aced1eeae1ee718245d7ecee8ef6ec8f64c1432f1ddc6c5e794 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:37:31.885Z] ---> job-cost.sh [2022-02-10T15:37:31.885Z] lf-activate-venv: SKIPPING [2022-02-10T15:37:31.885Z] INFO: No Stack... [2022-02-10T15:37:32.455Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T15:37:32.715Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T15:37:33.235Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1094/archives/cost.csv [2022-02-10T15:37:33.235Z] + cut -d, -f6 [Pipeline] lock [2022-02-10T15:37:33.290Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1094-5-stack-cost] [2022-02-10T15:37:33.296Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1094-5-stack-cost] did not exist. Created. [2022-02-10T15:37:33.296Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1094-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T15:37:33.692Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-10T15:37:33.741Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T15:37:33.748Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1094-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T15:37:33.766Z] $ docker stop --time=1 5eabfe7e8f417aced1eeae1ee718245d7ecee8ef6ec8f64c1432f1ddc6c5e794 [2022-02-10T15:37:34.891Z] $ docker rm -f 5eabfe7e8f417aced1eeae1ee718245d7ecee8ef6ec8f64c1432f1ddc6c5e794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-10T15:38:43.562Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4993 in /w/workspace/gexfoundry_device-sdk-go_PR-1094 [Pipeline] { [Pipeline] ws [2022-02-10T15:38:43.582Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2022-02-10T15:38:43.777Z] The recommended git tool is: git [2022-02-10T15:38:48.733Z] using credential edgex-jenkins-ssh [2022-02-10T15:38:48.755Z] Cloning the remote Git repository [2022-02-10T15:38:48.817Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-02-10T15:38:48.905Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2022-02-10T15:38:48.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-10T15:38:48.993Z] > git --version # timeout=10 [2022-02-10T15:38:49.019Z] > git --version # 'git version 2.17.1' [2022-02-10T15:38:49.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T15:38:49.124Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T15:38:50.840Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-10T15:38:50.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T15:38:50.889Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-10T15:38:50.930Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-10T15:38:50.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T15:38:50.949Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1094/head:refs/remotes/origin/PR-1094 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-10T15:38:51.692Z] Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit a5685c30134eaa70a345d0afb3445298a6fc3f22 [2022-02-10T15:38:52.086Z] Merge succeeded, producing a5685c30134eaa70a345d0afb3445298a6fc3f22 [2022-02-10T15:38:52.087Z] Checking out Revision a5685c30134eaa70a345d0afb3445298a6fc3f22 (PR-1094) [2022-02-10T15:38:51.715Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T15:38:51.735Z] > git checkout -f a5685c30134eaa70a345d0afb3445298a6fc3f22 # timeout=10 [2022-02-10T15:38:51.855Z] > git remote # timeout=10 [2022-02-10T15:38:51.883Z] > git config --get remote.origin.url # timeout=10 [2022-02-10T15:38:51.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T15:38:52.001Z] > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 [2022-02-10T15:38:52.042Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-10T15:38:52.097Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T15:38:52.145Z] > git checkout -f a5685c30134eaa70a345d0afb3445298a6fc3f22 # timeout=10 [2022-02-10T15:38:56.638Z] Commit message: "fix: Sorted imports impacted by this PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T15:38:57.525Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-10T15:38:57.525Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-10T15:38:57.525Z] Dload Upload Total Spent Left Speed [2022-02-10T15:38:57.525Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 160k 0 --:--:-- --:--:-- --:--:-- 160k [Pipeline] sh [2022-02-10T15:38:58.078Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-10T15:38:58.429Z] + sudo tee /etc/docker/daemon.new [2022-02-10T15:38:58.429Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-10T15:38:58.429Z] { [2022-02-10T15:38:58.429Z] "registry-mirrors": [ [2022-02-10T15:38:58.429Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-10T15:38:58.429Z] ], [2022-02-10T15:38:58.429Z] "bip": "10.250.0.254/24", [2022-02-10T15:38:58.429Z] "hosts": [ [2022-02-10T15:38:58.429Z] "tcp://0.0.0.0:5555", [2022-02-10T15:38:58.429Z] "unix:///var/run/docker.sock" [2022-02-10T15:38:58.429Z] ], [2022-02-10T15:38:58.429Z] "mtu": 1458, [2022-02-10T15:38:58.429Z] "selinux-enabled": true, [2022-02-10T15:38:58.429Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-10T15:38:58.429Z] } [Pipeline] sh [2022-02-10T15:38:58.790Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-10T15:38:59.154Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T15:39:17.523Z] provisioning config files... [2022-02-10T15:39:17.551Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config8998505384473205704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:39:17.923Z] ---> docker-login.sh [2022-02-10T15:39:17.923Z] nexus3.edgexfoundry.org:10001 [2022-02-10T15:39:18.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:39:18.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:39:18.797Z] Configure a credential helper to remove this warning. See [2022-02-10T15:39:18.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:39:18.797Z] [2022-02-10T15:39:18.797Z] Login Succeeded [2022-02-10T15:39:18.797Z] nexus3.edgexfoundry.org:10002 [2022-02-10T15:39:19.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:39:19.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:39:19.355Z] Configure a credential helper to remove this warning. See [2022-02-10T15:39:19.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:39:19.355Z] [2022-02-10T15:39:19.355Z] Login Succeeded [2022-02-10T15:39:19.355Z] nexus3.edgexfoundry.org:10003 [2022-02-10T15:39:19.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:39:19.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:39:19.919Z] Configure a credential helper to remove this warning. See [2022-02-10T15:39:19.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:39:19.919Z] [2022-02-10T15:39:19.919Z] Login Succeeded [2022-02-10T15:39:19.919Z] nexus3.edgexfoundry.org:10004 [2022-02-10T15:39:20.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:39:20.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:39:20.469Z] Configure a credential helper to remove this warning. See [2022-02-10T15:39:20.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:39:20.469Z] [2022-02-10T15:39:20.469Z] Login Succeeded [2022-02-10T15:39:20.469Z] docker.io [2022-02-10T15:39:20.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:39:21.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:39:21.017Z] Configure a credential helper to remove this warning. See [2022-02-10T15:39:21.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:39:21.017Z] [2022-02-10T15:39:21.017Z] Login Succeeded [2022-02-10T15:39:21.017Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T15:39:21.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T15:39:21.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T15:39:21.665Z] ========================================================= [2022-02-10T15:39:21.665Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-10T15:39:21.665Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:39:22.017Z] + 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-02-10T15:39:22.626Z] Sending build context to Docker daemon 5.242MB [2022-02-10T15:39:22.626Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-10T15:39:22.626Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-10T15:39:22.900Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-10T15:39:22.900Z] 9b3977197b4f: Pulling fs layer [2022-02-10T15:39:22.900Z] 1a89e8eeedd5: Pulling fs layer [2022-02-10T15:39:22.900Z] 94645a83ff95: Pulling fs layer [2022-02-10T15:39:22.900Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-10T15:39:22.900Z] 0c92f367c5e7: Pulling fs layer [2022-02-10T15:39:22.900Z] f7c0051592d6: Pulling fs layer [2022-02-10T15:39:22.900Z] a227ed2f7395: Pulling fs layer [2022-02-10T15:39:22.900Z] 7b1c46037f91: Pulling fs layer [2022-02-10T15:39:22.900Z] f7c0051592d6: Waiting [2022-02-10T15:39:22.900Z] 7b1c46037f91: Waiting [2022-02-10T15:39:22.900Z] a227ed2f7395: Waiting [2022-02-10T15:39:22.900Z] 0c92f367c5e7: Waiting [2022-02-10T15:39:22.900Z] 94645a83ff95: Verifying Checksum [2022-02-10T15:39:22.900Z] 94645a83ff95: Download complete [2022-02-10T15:39:22.900Z] 1a89e8eeedd5: Verifying Checksum [2022-02-10T15:39:22.900Z] 1a89e8eeedd5: Download complete [2022-02-10T15:39:22.900Z] 0c92f367c5e7: Download complete [2022-02-10T15:39:22.900Z] f7c0051592d6: Download complete [2022-02-10T15:39:22.900Z] 9b3977197b4f: Download complete [2022-02-10T15:39:22.900Z] a227ed2f7395: Verifying Checksum [2022-02-10T15:39:22.900Z] a227ed2f7395: Download complete [2022-02-10T15:39:23.511Z] 9b3977197b4f: Pull complete [2022-02-10T15:39:24.118Z] 1a89e8eeedd5: Pull complete [2022-02-10T15:39:24.718Z] 94645a83ff95: Pull complete [2022-02-10T15:39:24.718Z] 7b1c46037f91: Verifying Checksum [2022-02-10T15:39:24.718Z] 7b1c46037f91: Download complete [2022-02-10T15:39:25.327Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-10T15:39:25.327Z] 3f3a8bcf1eab: Download complete [2022-02-10T15:39:37.743Z] 3f3a8bcf1eab: Pull complete [2022-02-10T15:39:37.743Z] 0c92f367c5e7: Pull complete [2022-02-10T15:39:37.743Z] f7c0051592d6: Pull complete [2022-02-10T15:39:37.743Z] a227ed2f7395: Pull complete [2022-02-10T15:39:44.459Z] 7b1c46037f91: Pull complete [2022-02-10T15:39:44.459Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-10T15:39:44.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-10T15:39:44.459Z] ---> f79e39bc4007 [2022-02-10T15:39:44.459Z] Step 3/11 : ARG MAKE=make build [2022-02-10T15:39:45.899Z] ---> Running in a730c0c363de [2022-02-10T15:39:46.495Z] Removing intermediate container a730c0c363de [2022-02-10T15:39:46.495Z] ---> 1223c36df08b [2022-02-10T15:39:46.495Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-10T15:39:46.495Z] ---> Running in 23d2f7e33722 [2022-02-10T15:39:46.770Z] Removing intermediate container 23d2f7e33722 [2022-02-10T15:39:46.770Z] ---> a9a735e5ea46 [2022-02-10T15:39:46.770Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:39:47.045Z] ---> Running in b8a1e730fc3e [2022-02-10T15:39:47.319Z] Removing intermediate container b8a1e730fc3e [2022-02-10T15:39:47.319Z] ---> 4be065a2852b [2022-02-10T15:39:47.319Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:39:47.594Z] ---> Running in c6fcb66b9099 [2022-02-10T15:39:49.574Z] Removing intermediate container c6fcb66b9099 [2022-02-10T15:39:49.574Z] ---> b796981ae267 [2022-02-10T15:39:49.574Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-10T15:39:49.574Z] ---> Running in 8d17748cd457 [2022-02-10T15:39:51.008Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-10T15:39:51.604Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-10T15:39:52.590Z] OK: 220 MiB in 52 packages [2022-02-10T15:39:53.571Z] Removing intermediate container 8d17748cd457 [2022-02-10T15:39:53.571Z] ---> fc9058822d53 [2022-02-10T15:39:53.571Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-10T15:39:54.173Z] ---> 8aa5d2bc70e6 [2022-02-10T15:39:54.173Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-10T15:39:54.173Z] ---> Running in 14d3082271c5 [2022-02-10T15:41:15.969Z] Removing intermediate container 14d3082271c5 [2022-02-10T15:41:15.969Z] ---> 29171eec4159 [2022-02-10T15:41:15.969Z] Step 10/11 : COPY . . [2022-02-10T15:41:15.969Z] ---> c52debf92b8d [2022-02-10T15:41:15.969Z] Step 11/11 : RUN ${MAKE} [2022-02-10T15:41:15.969Z] ---> Running in 9d70befedd84 [2022-02-10T15:41:15.969Z] noop [2022-02-10T15:41:15.969Z] Removing intermediate container 9d70befedd84 [2022-02-10T15:41:15.969Z] ---> 1ab7de82e7ac [2022-02-10T15:41:15.969Z] Successfully built 1ab7de82e7ac [2022-02-10T15:41:15.969Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:41:16.335Z] + docker inspect -f . ci-base-image-arm64 [2022-02-10T15:41:16.335Z] . [Pipeline] withDockerContainer [2022-02-10T15:41:16.565Z] prd-ubuntu18.04-docker-arm64-4c-16g-4993 does not seem to be running inside a container [2022-02-10T15:41:16.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-10T15:41:18.009Z] $ docker top 79e66f31f2d42acc74de91936366fbca4208cfd2d899064aef6002d22b188a84 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T15:41:18.914Z] + go version [2022-02-10T15:41:18.915Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-10T15:41:18.943Z] $ docker stop --time=1 79e66f31f2d42acc74de91936366fbca4208cfd2d899064aef6002d22b188a84 [2022-02-10T15:41:20.634Z] $ docker rm -f 79e66f31f2d42acc74de91936366fbca4208cfd2d899064aef6002d22b188a84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:41:21.260Z] + docker inspect -f . ci-base-image-arm64 [2022-02-10T15:41:21.260Z] . [Pipeline] withDockerContainer [2022-02-10T15:41:21.476Z] prd-ubuntu18.04-docker-arm64-4c-16g-4993 does not seem to be running inside a container [2022-02-10T15:41:21.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-10T15:41:22.908Z] $ docker top ac9d684a6ca3d87efa08ea9b199da47597bc1454ae18a34c6ff008003e7f6c41 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-10T15:41:23.847Z] + make test [2022-02-10T15:41:23.847Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-10T15:41:25.296Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-10T15:42:21.930Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-10T15:42:21.930Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-10T15:42:21.930Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-10T15:42:26.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.075s coverage: 23.3% of statements [2022-02-10T15:42:26.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-10T15:42:26.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.081s coverage: 27.6% of statements [2022-02-10T15:42:26.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.086s coverage: 78.9% of statements [2022-02-10T15:42:26.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.095s coverage: 10.8% of statements [2022-02-10T15:42:26.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-10T15:42:26.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-10T15:42:26.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-10T15:42:27.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 28.7% of statements [2022-02-10T15:42:27.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-10T15:42:29.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 86.1% of statements [2022-02-10T15:42:29.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-10T15:42:29.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-10T15:42:29.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 57.4% of statements [2022-02-10T15:42:29.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.197s coverage: 89.2% of statements [2022-02-10T15:42:29.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-10T15:42:31.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.8% of statements [2022-02-10T15:42:31.732Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-10T15:42:32.006Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-02-10T15:42:32.006Z] GO111MODULE=on go vet ./... [2022-02-10T15:42:54.204Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-10T15:42:54.204Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-10T15:42:54.204Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-10T15:42:55.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-10T15:42:55.687Z] $ docker stop --time=1 ac9d684a6ca3d87efa08ea9b199da47597bc1454ae18a34c6ff008003e7f6c41 [2022-02-10T15:42:57.446Z] $ docker rm -f ac9d684a6ca3d87efa08ea9b199da47597bc1454ae18a34c6ff008003e7f6c41 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-10T15:42:58.303Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-10T15:42:58.330Z] Warning: overwriting stash ‘coverage-report’ [2022-02-10T15:42:58.969Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T15:42:59.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-10T15:42:59.722Z] + ls -al . [2022-02-10T15:42:59.722Z] total 308 [2022-02-10T15:42:59.722Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 10 15:42 . [2022-02-10T15:42:59.722Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 15:38 .. [2022-02-10T15:42:59.722Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 10 15:38 .dockerignore [2022-02-10T15:42:59.722Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 15:38 .git [2022-02-10T15:42:59.722Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 15:38 .github [2022-02-10T15:42:59.722Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 10 15:38 .gitignore [2022-02-10T15:42:59.722Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 10 15:38 .golangci.yml [2022-02-10T15:42:59.722Z] -rw-rw-r-- 1 jenkins jenkins 26321 Feb 10 15:38 CHANGELOG.md [2022-02-10T15:42:59.722Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 10 15:38 GOVERNANCE.md [2022-02-10T15:42:59.722Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 10 15:38 Jenkinsfile [2022-02-10T15:42:59.722Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 10 15:38 LICENSE [2022-02-10T15:42:59.722Z] -rw-rw-r-- 1 jenkins jenkins 1614 Feb 10 15:38 Makefile [2022-02-10T15:42:59.722Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 10 15:38 OWNERS.md [2022-02-10T15:42:59.723Z] -rw-rw-r-- 1 jenkins jenkins 4881 Feb 10 15:38 README.md [2022-02-10T15:42:59.723Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 10 15:35 VERSION [2022-02-10T15:42:59.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 15:38 bin [2022-02-10T15:42:59.723Z] -rw-r--r-- 1 jenkins jenkins 128110 Feb 10 15:42 coverage.out [2022-02-10T15:42:59.723Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 10 15:38 example [2022-02-10T15:42:59.723Z] -rw-rw-r-- 1 jenkins jenkins 2773 Feb 10 15:38 go.mod [2022-02-10T15:42:59.723Z] -rw-rw-r-- 1 jenkins jenkins 49776 Feb 10 15:38 go.sum [2022-02-10T15:42:59.723Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 10 15:38 internal [2022-02-10T15:42:59.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 15:38 openapi [2022-02-10T15:42:59.723Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 10 15:38 pkg [2022-02-10T15:42:59.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 15:38 snap [2022-02-10T15:42:59.723Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 10 15:38 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:43:00.114Z] + 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=a5685c30134eaa70a345d0afb3445298a6fc3f22 --label arch=arm64 --label version=0.0.0 . [2022-02-10T15:43:00.752Z] Sending build context to Docker daemon 5.371MB [2022-02-10T15:43:00.752Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-10T15:43:00.752Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-10T15:43:00.752Z] ---> 1ab7de82e7ac [2022-02-10T15:43:00.752Z] Step 3/25 : ARG MAKE=make build [2022-02-10T15:43:00.752Z] ---> Running in 0fc12ad3b2d7 [2022-02-10T15:43:01.374Z] Removing intermediate container 0fc12ad3b2d7 [2022-02-10T15:43:01.374Z] ---> 99daa57d59a5 [2022-02-10T15:43:01.374Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-10T15:43:01.374Z] ---> Running in 3baa334b159c [2022-02-10T15:43:01.665Z] Removing intermediate container 3baa334b159c [2022-02-10T15:43:01.665Z] ---> c5294a9a994e [2022-02-10T15:43:01.665Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:43:01.948Z] ---> Running in 6bafc61ed14c [2022-02-10T15:43:02.244Z] Removing intermediate container 6bafc61ed14c [2022-02-10T15:43:02.244Z] ---> a5e6f14bebde [2022-02-10T15:43:02.244Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:43:02.537Z] ---> Running in 3cbe2abb0ee0 [2022-02-10T15:43:03.967Z] Removing intermediate container 3cbe2abb0ee0 [2022-02-10T15:43:03.967Z] ---> 1ab87e61984b [2022-02-10T15:43:03.967Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-10T15:43:04.242Z] ---> Running in 92699b363c89 [2022-02-10T15:43:05.215Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-10T15:43:06.190Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-10T15:43:07.184Z] OK: 220 MiB in 52 packages [2022-02-10T15:43:07.780Z] Removing intermediate container 92699b363c89 [2022-02-10T15:43:07.780Z] ---> 56e531116e1d [2022-02-10T15:43:07.780Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-10T15:43:08.375Z] ---> 87f20c53cbcb [2022-02-10T15:43:08.375Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-10T15:43:08.650Z] ---> Running in e7aeeb2c3dd6 [2022-02-10T15:43:10.635Z] Removing intermediate container e7aeeb2c3dd6 [2022-02-10T15:43:10.635Z] ---> 169bd2019cea [2022-02-10T15:43:10.635Z] Step 10/25 : COPY . . [2022-02-10T15:43:12.070Z] ---> 8b3e038eca02 [2022-02-10T15:43:12.070Z] Step 11/25 : RUN ${MAKE} [2022-02-10T15:43:12.348Z] ---> Running in d53b6c0d9f62 [2022-02-10T15:43:13.334Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-02-10T15:44:00.349Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-10T15:44:00.349Z] Removing intermediate container d53b6c0d9f62 [2022-02-10T15:44:00.349Z] ---> 6d8873f2cde4 [2022-02-10T15:44:00.349Z] Step 12/25 : FROM alpine:3.14 [2022-02-10T15:44:00.349Z] 3.14: Pulling from library/alpine [2022-02-10T15:44:00.349Z] be307f383ecc: Pulling fs layer [2022-02-10T15:44:00.349Z] be307f383ecc: Verifying Checksum [2022-02-10T15:44:00.349Z] be307f383ecc: Download complete [2022-02-10T15:44:00.349Z] be307f383ecc: Pull complete [2022-02-10T15:44:00.349Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-10T15:44:00.349Z] Status: Downloaded newer image for alpine:3.14 [2022-02-10T15:44:00.349Z] ---> 5b8b7b635229 [2022-02-10T15:44:00.349Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:44:00.349Z] ---> Running in 4320427d777e [2022-02-10T15:44:00.349Z] Removing intermediate container 4320427d777e [2022-02-10T15:44:00.349Z] ---> e1fdcb748cc0 [2022-02-10T15:44:00.349Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:44:00.349Z] ---> Running in 331850db4b58 [2022-02-10T15:44:01.331Z] Removing intermediate container 331850db4b58 [2022-02-10T15:44:01.331Z] ---> dc720d575e38 [2022-02-10T15:44:01.331Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-10T15:44:01.605Z] ---> Running in 25b698c9324f [2022-02-10T15:44:02.587Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T15:44:03.565Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-10T15:44:04.551Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-10T15:44:04.551Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-10T15:44:04.551Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-10T15:44:04.828Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-10T15:44:04.828Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-10T15:44:04.828Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T15:44:04.828Z] OK: 8 MiB in 19 packages [2022-02-10T15:44:05.809Z] Removing intermediate container 25b698c9324f [2022-02-10T15:44:05.809Z] ---> 5832bcbd360d [2022-02-10T15:44:05.809Z] Step 16/25 : WORKDIR / [2022-02-10T15:44:06.083Z] ---> Running in f2b9d493644f [2022-02-10T15:44:06.354Z] Removing intermediate container f2b9d493644f [2022-02-10T15:44:06.354Z] ---> 99b087b14a1a [2022-02-10T15:44:06.354Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-10T15:44:06.947Z] ---> 0b8200a92d59 [2022-02-10T15:44:06.947Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-10T15:44:08.377Z] ---> d24e13b5529e [2022-02-10T15:44:08.377Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-10T15:44:08.972Z] ---> c5b1a5403633 [2022-02-10T15:44:08.972Z] Step 20/25 : EXPOSE 59999 [2022-02-10T15:44:08.972Z] ---> Running in 9d5ec9e11362 [2022-02-10T15:44:09.248Z] Removing intermediate container 9d5ec9e11362 [2022-02-10T15:44:09.248Z] ---> 9ab6802424f8 [2022-02-10T15:44:09.248Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-10T15:44:09.248Z] ---> Running in 8d2b4bd35f32 [2022-02-10T15:44:09.841Z] Removing intermediate container 8d2b4bd35f32 [2022-02-10T15:44:09.841Z] ---> 400e2b4f7b2d [2022-02-10T15:44:09.841Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-10T15:44:09.841Z] ---> Running in d91b220e31f2 [2022-02-10T15:44:10.113Z] Removing intermediate container d91b220e31f2 [2022-02-10T15:44:10.113Z] ---> 141bc1a52616 [2022-02-10T15:44:10.113Z] Step 23/25 : LABEL arch=arm64 [2022-02-10T15:44:10.386Z] ---> Running in e14794b8f378 [2022-02-10T15:44:10.662Z] Removing intermediate container e14794b8f378 [2022-02-10T15:44:10.662Z] ---> e82fe9fcf564 [2022-02-10T15:44:10.662Z] Step 24/25 : LABEL git_sha=a5685c30134eaa70a345d0afb3445298a6fc3f22 [2022-02-10T15:44:10.662Z] ---> Running in c74cf4af4417 [2022-02-10T15:44:11.255Z] Removing intermediate container c74cf4af4417 [2022-02-10T15:44:11.255Z] ---> e7443105cfb2 [2022-02-10T15:44:11.255Z] Step 25/25 : LABEL version=0.0.0 [2022-02-10T15:44:11.255Z] ---> Running in 9e25430cf67e [2022-02-10T15:44:11.846Z] Removing intermediate container 9e25430cf67e [2022-02-10T15:44:11.846Z] ---> c61c9b22548b [2022-02-10T15:44:11.846Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-10T15:44:11.846Z] Successfully built c61c9b22548b [2022-02-10T15:44:11.846Z] 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-02-10T15:44:12.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T15:44:12.277Z] [2022-02-10T15:44:12.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:44:12.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T15:44:12.895Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-10T15:44:12.895Z] 448f6bf000e3: Pulling fs layer [2022-02-10T15:44:12.895Z] f757da607395: Pulling fs layer [2022-02-10T15:44:12.895Z] 05883995daec: Pulling fs layer [2022-02-10T15:44:12.895Z] 8603b9c90790: Pulling fs layer [2022-02-10T15:44:12.895Z] 1560dd03e051: Pulling fs layer [2022-02-10T15:44:12.895Z] 27f5ce0e4adf: Pulling fs layer [2022-02-10T15:44:12.895Z] c2d8d7efcc4b: Pulling fs layer [2022-02-10T15:44:12.895Z] 8603b9c90790: Waiting [2022-02-10T15:44:12.895Z] 1560dd03e051: Waiting [2022-02-10T15:44:12.895Z] 27f5ce0e4adf: Waiting [2022-02-10T15:44:12.895Z] c2d8d7efcc4b: Waiting [2022-02-10T15:44:12.895Z] f757da607395: Verifying Checksum [2022-02-10T15:44:12.895Z] f757da607395: Download complete [2022-02-10T15:44:12.895Z] 8603b9c90790: Verifying Checksum [2022-02-10T15:44:12.895Z] 8603b9c90790: Download complete [2022-02-10T15:44:12.895Z] 1560dd03e051: Verifying Checksum [2022-02-10T15:44:12.895Z] 1560dd03e051: Download complete [2022-02-10T15:44:12.895Z] 27f5ce0e4adf: Download complete [2022-02-10T15:44:13.167Z] 05883995daec: Verifying Checksum [2022-02-10T15:44:13.167Z] 05883995daec: Download complete [2022-02-10T15:44:13.443Z] 448f6bf000e3: Verifying Checksum [2022-02-10T15:44:13.443Z] 448f6bf000e3: Download complete [2022-02-10T15:44:16.058Z] c2d8d7efcc4b: Verifying Checksum [2022-02-10T15:44:16.058Z] c2d8d7efcc4b: Download complete [2022-02-10T15:44:17.486Z] 448f6bf000e3: Pull complete [2022-02-10T15:44:18.080Z] f757da607395: Pull complete [2022-02-10T15:44:19.528Z] 05883995daec: Pull complete [2022-02-10T15:44:19.808Z] 8603b9c90790: Pull complete [2022-02-10T15:44:20.798Z] 1560dd03e051: Pull complete [2022-02-10T15:44:21.072Z] 27f5ce0e4adf: Pull complete [2022-02-10T15:44:39.360Z] c2d8d7efcc4b: Pull complete [2022-02-10T15:44:39.360Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-10T15:44:39.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T15:44:39.360Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-10T15:44:39.574Z] prd-ubuntu18.04-docker-arm64-4c-16g-4993 does not seem to be running inside a container [2022-02-10T15:44:39.745Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-10T15:44:42.511Z] $ docker top a24d3dcc206e76588b1e9611020f34608b45d91ec1f2b6453a5940e74cfa8ea0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:43.468Z] ---> job-cost.sh [2022-02-10T15:44:43.468Z] lf-activate-venv: SKIPPING [2022-02-10T15:44:43.468Z] INFO: No Stack... [2022-02-10T15:44:43.747Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-10T15:44:44.363Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T15:44:45.042Z] + cut -d, -f6 [2022-02-10T15:44:45.042Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2022-02-10T15:44:45.106Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1094-5-stack-cost] [2022-02-10T15:44:45.114Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1094-5-stack-cost] did not exist. Created. [2022-02-10T15:44:45.114Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1094-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T15:44:45.781Z] /w/workspace/device-sdk-go/5@tmp/durable-219bdb26/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-219bdb26/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-10T15:44:46.454Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-10T15:44:46.476Z] Warning: overwriting stash ‘stack-cost’ [2022-02-10T15:44:46.539Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T15:44:46.548Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1094-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T15:44:46.572Z] $ docker stop --time=1 a24d3dcc206e76588b1e9611020f34608b45d91ec1f2b6453a5940e74cfa8ea0 [2022-02-10T15:44:48.057Z] $ docker rm -f a24d3dcc206e76588b1e9611020f34608b45d91ec1f2b6453a5940e74cfa8ea0 [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-02-10T15:44:48.483Z] provisioning config files... [2022-02-10T15:44:48.492Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/config3259451750462629589tmp [Pipeline] { [Pipeline] sh [2022-02-10T15:44:48.787Z] + set +x [2022-02-10T15:44:48.787Z] + curl -s https://codecov.io/bash [2022-02-10T15:44:48.787Z] + bash -s -- [2022-02-10T15:44:48.787Z] [2022-02-10T15:44:48.787Z] _____ _ [2022-02-10T15:44:48.787Z] / ____| | | [2022-02-10T15:44:48.787Z] | | ___ __| | ___ ___ _____ __ [2022-02-10T15:44:48.787Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-02-10T15:44:48.787Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-02-10T15:44:48.787Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-02-10T15:44:48.787Z] Bash-1.0.6 [2022-02-10T15:44:48.787Z] [2022-02-10T15:44:48.787Z] [2022-02-10T15:44:48.787Z] ==> git version 2.24.4 found [2022-02-10T15:44:48.787Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-02-10T15:44:48.787Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-02-10T15:44:48.787Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-02-10T15:44:48.787Z] ==> Jenkins CI detected. [2022-02-10T15:44:48.787Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1094 [2022-02-10T15:44:48.787Z] project root: . [2022-02-10T15:44:48.787Z] --> token set from env [2022-02-10T15:44:48.787Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-02-10T15:44:48.787Z] ==> Running gcov in . (disable via -X gcov) [2022-02-10T15:44:48.787Z] ==> Python coveragepy not found [2022-02-10T15:44:48.787Z] ==> Searching for coverage reports in: [2022-02-10T15:44:48.787Z] + . [2022-02-10T15:44:48.787Z] -> Found 1 reports [2022-02-10T15:44:48.787Z] ==> Detecting git/mercurial file structure [2022-02-10T15:44:48.787Z] ==> Reading reports [2022-02-10T15:44:48.787Z] + ./coverage.out bytes=128110 [2022-02-10T15:44:48.787Z] ==> Appending adjustments [2022-02-10T15:44:48.787Z] https://docs.codecov.io/docs/fixing-reports [2022-02-10T15:44:49.048Z] + Found adjustments [2022-02-10T15:44:49.048Z] ==> Gzipping contents [2022-02-10T15:44:49.048Z] 16K /tmp/codecov.rhC6MS.gz [2022-02-10T15:44:49.048Z] ==> Uploading reports [2022-02-10T15:44:49.048Z] url: https://codecov.io [2022-02-10T15:44:49.048Z] query: branch=PR-1094&commit=a5685c30134eaa70a345d0afb3445298a6fc3f22&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1094%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1094&job=&cmd_args= [2022-02-10T15:44:49.048Z] -> Pinging Codecov [2022-02-10T15:44:49.048Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1094&commit=a5685c30134eaa70a345d0afb3445298a6fc3f22&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1094%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1094&job=&cmd_args= [2022-02-10T15:44:49.621Z] -> Uploading to [2022-02-10T15:44:49.621Z] https://storage.googleapis.com/codecov/v4/raw/2022-02-10/7E55EF52A471D76F132DFD9A03CDDE97/a5685c30134eaa70a345d0afb3445298a6fc3f22/e91cc50b-31b2-4ddb-bd84-cea8e7658db8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220210%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220210T154449Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7284286c03d5f226e74562bdbe258feebc6fdb92a18ace9f0794863e346b6d3b [2022-02-10T15:44:49.621Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-10T15:44:49.621Z] Dload Upload Total Spent Left Speed [2022-02-10T15:44:49.882Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16041 0 0 100 16041 0 53810 --:--:-- --:--:-- --:--:-- 53828 [2022-02-10T15:44:49.882Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a5685c30134eaa70a345d0afb3445298a6fc3f22 [Pipeline] } [2022-02-10T15:44:49.890Z] 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-02-10T15:44:50.582Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1094/archives ']' [2022-02-10T15:44:50.582Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1094/archives [2022-02-10T15:44:50.582Z] total 8 [2022-02-10T15:44:50.582Z] drwxr-xr-x. 3 root root 34 Feb 10 15:37 . [2022-02-10T15:44:50.582Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 10 15:37 .. [2022-02-10T15:44:50.582Z] drwxr-xr-x. 2 root root 6 Feb 10 15:37 cost [2022-02-10T15:44:50.582Z] -rw-r--r--. 1 root root 85 Feb 10 15:37 cost.csv [2022-02-10T15:44:50.582Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1094/archives [2022-02-10T15:44:50.582Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1094/archives [2022-02-10T15:44:50.582Z] total 8 [2022-02-10T15:44:50.582Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 10 15:37 . [2022-02-10T15:44:50.582Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 10 15:37 .. [2022-02-10T15:44:50.582Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 10 15:37 cost [2022-02-10T15:44:50.582Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 10 15:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:50.880Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:51.442Z] ---> package-listing.sh [2022-02-10T15:44:51.443Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-10T15:44:51.443Z] ++ facter osfamily [2022-02-10T15:44:51.708Z] + OS_FAMILY=redhat [2022-02-10T15:44:51.708Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1094 [2022-02-10T15:44:51.708Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-10T15:44:51.708Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-10T15:44:51.708Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-10T15:44:51.708Z] + PACKAGES=/tmp/packages_start.txt [2022-02-10T15:44:51.708Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1094 ']' [2022-02-10T15:44:51.708Z] + PACKAGES=/tmp/packages_end.txt [2022-02-10T15:44:51.708Z] + case "${OS_FAMILY}" in [2022-02-10T15:44:51.708Z] + sort [2022-02-10T15:44:51.708Z] + rpm -qa [2022-02-10T15:44:52.280Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-10T15:44:52.280Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-10T15:44:52.280Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-10T15:44:52.280Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1094 ']' [2022-02-10T15:44:52.280Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1094/archives/ [2022-02-10T15:44:52.280Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1094/archives/ [Pipeline] echo [2022-02-10T15:44:52.293Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1094/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-10T15:44:52.570Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:44:53.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T15:44:53.128Z] . [Pipeline] withDockerContainer [2022-02-10T15:44:53.189Z] prd-centos7-docker-4c-2g-4991 does not seem to be running inside a container [2022-02-10T15:44:53.221Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1094/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-1094 -v /w/workspace/gexfoundry_device-sdk-go_PR-1094:/w/workspace/gexfoundry_device-sdk-go_PR-1094:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-10T15:44:53.439Z] $ docker top 4fe7a4a587b8cd9599208f512b16778b162cb67ac87366260a3b0a7fefc86118 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T15:44:53.797Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-10T15:44:54.087Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-10T15:44:54.383Z] + ls /var/log/sa-host [2022-02-10T15:44:54.383Z] + sadf -c /var/log/sa-host/sa10 [2022-02-10T15:44:54.383Z] file_magic: OK [2022-02-10T15:44:54.383Z] HZ: Using current value: 100 [2022-02-10T15:44:54.383Z] file_header: OK [2022-02-10T15:44:54.383Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-10T15:44:54.383Z] Statistics: [2022-02-10T15:44:54.383Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T15:44:54.383Z] File successfully converted to sysstat format version 12.0.3 [2022-02-10T15:44:54.383Z] + sadf -c /var/log/sa-host/sa17 [2022-02-10T15:44:54.383Z] file_magic: OK [2022-02-10T15:44:54.383Z] HZ: Using current value: 100 [2022-02-10T15:44:54.383Z] file_header: OK [2022-02-10T15:44:54.383Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-10T15:44:54.383Z] Statistics: [2022-02-10T15:44:54.383Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T15:44:54.383Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T15:44:54.470Z] provisioning config files... [2022-02-10T15:44:54.479Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1094@tmp/config2964126494517530450tmp [Pipeline] { [Pipeline] echo [2022-02-10T15:44:54.492Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:54.785Z] ---> create-netrc.sh [Pipeline] } [2022-02-10T15:44:54.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:55.128Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-10T15:44:55.136Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:55.439Z] ---> sudo-logs.sh [2022-02-10T15:44:55.439Z] Archiving 'sudo' log.. [2022-02-10T15:44:55.439Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4991.novalocal: Name or service not known [2022-02-10T15:44:55.439Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4991.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-10T15:44:55.747Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:56.054Z] ---> job-cost.sh [2022-02-10T15:44:56.054Z] lf-activate-venv: SKIPPING [2022-02-10T15:44:56.054Z] DEBUG: total: 0.05999999865889549 [2022-02-10T15:44:56.054Z] INFO: Retrieving Stack Cost... [2022-02-10T15:44:56.626Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T15:44:56.887Z] INFO: Archiving Costs [Pipeline] echo [2022-02-10T15:44:56.900Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:57.200Z] ---> logs-deploy.sh [2022-02-10T15:44:57.200Z] lf-activate-venv: SKIPPING [2022-02-10T15:44:57.200Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1094/5 [2022-02-10T15:44:57.200Z] INFO: archiving workspace using pattern(s): [2022-02-10T15:44:57.771Z] Archives upload complete. [2022-02-10T15:44:57.772Z] INFO: archiving logs to Nexus [2022-02-10T15:44:58.348Z] ---> uname -a: [2022-02-10T15:44:58.348Z] Linux prd-centos7-docker-4c-2g-4991.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] ---> lscpu: [2022-02-10T15:44:58.348Z] Architecture: x86_64 [2022-02-10T15:44:58.348Z] CPU op-mode(s): 32-bit, 64-bit [2022-02-10T15:44:58.348Z] Byte Order: Little Endian [2022-02-10T15:44:58.348Z] Address sizes: 40 bits physical, 48 bits virtual [2022-02-10T15:44:58.348Z] CPU(s): 2 [2022-02-10T15:44:58.348Z] On-line CPU(s) list: 0,1 [2022-02-10T15:44:58.348Z] Thread(s) per core: 1 [2022-02-10T15:44:58.348Z] Core(s) per socket: 1 [2022-02-10T15:44:58.348Z] Socket(s): 2 [2022-02-10T15:44:58.348Z] NUMA node(s): 1 [2022-02-10T15:44:58.348Z] Vendor ID: AuthenticAMD [2022-02-10T15:44:58.348Z] CPU family: 23 [2022-02-10T15:44:58.348Z] Model: 49 [2022-02-10T15:44:58.348Z] Model name: AMD EPYC-Rome Processor [2022-02-10T15:44:58.348Z] Stepping: 0 [2022-02-10T15:44:58.348Z] CPU MHz: 2799.998 [2022-02-10T15:44:58.348Z] BogoMIPS: 5599.99 [2022-02-10T15:44:58.348Z] Virtualization: AMD-V [2022-02-10T15:44:58.348Z] Hypervisor vendor: KVM [2022-02-10T15:44:58.348Z] Virtualization type: full [2022-02-10T15:44:58.348Z] L1d cache: 32K [2022-02-10T15:44:58.348Z] L1i cache: 32K [2022-02-10T15:44:58.348Z] L2 cache: 512K [2022-02-10T15:44:58.348Z] L3 cache: 16384K [2022-02-10T15:44:58.348Z] NUMA node0 CPU(s): 0,1 [2022-02-10T15:44:58.348Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] ---> nproc: [2022-02-10T15:44:58.348Z] 2 [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] ---> df -h: [2022-02-10T15:44:58.348Z] Filesystem Size Used Avail Use% Mounted on [2022-02-10T15:44:58.348Z] overlay 40G 9.1G 31G 23% / [2022-02-10T15:44:58.348Z] tmpfs 64M 0 64M 0% /dev [2022-02-10T15:44:58.348Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2022-02-10T15:44:58.348Z] shm 64M 0 64M 0% /dev/shm [2022-02-10T15:44:58.348Z] /dev/vda1 40G 9.1G 31G 23% /facter-os [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] ---> sar -b -r -n DEV: [2022-02-10T15:44:58.348Z] Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 02/10/22 _x86_64_ (2 CPU) [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] 15:34:49 LINUX RESTART (2 CPU) [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] 15:35:01 tps rtps wtps bread/s bwrtn/s [2022-02-10T15:44:58.348Z] 15:36:01 300.70 44.55 256.15 6488.64 79095.06 [2022-02-10T15:44:58.348Z] 15:37:01 263.98 0.02 263.96 0.27 42902.03 [2022-02-10T15:44:58.348Z] 15:38:01 118.53 0.00 118.53 0.00 24773.11 [2022-02-10T15:44:58.348Z] 15:39:01 0.83 0.00 0.83 0.00 7.94 [2022-02-10T15:44:58.348Z] 15:40:01 0.23 0.00 0.23 0.00 2.98 [2022-02-10T15:44:58.348Z] 15:41:01 0.25 0.00 0.25 0.00 3.56 [2022-02-10T15:44:58.348Z] 15:42:01 0.28 0.00 0.28 0.00 3.68 [2022-02-10T15:44:58.348Z] 15:43:01 0.28 0.00 0.28 0.00 3.55 [2022-02-10T15:44:58.348Z] 15:44:01 0.32 0.00 0.32 0.00 3.61 [2022-02-10T15:44:58.348Z] Average: 76.20 4.96 71.24 721.71 16320.98 [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] 15:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2022-02-10T15:44:58.348Z] 15:36:01 4066304 0 885912 11.06 2620 3054096 1444116 15.94 791288 2683148 236540 [2022-02-10T15:44:58.348Z] 15:37:01 3988712 0 950608 11.87 2620 3066992 1544668 17.05 947192 2618020 44 [2022-02-10T15:44:58.348Z] 15:38:01 3291120 0 1071380 13.38 2620 3643812 1440536 15.90 1055640 3121492 20 [2022-02-10T15:44:58.348Z] 15:39:01 3302556 0 1059940 13.23 2620 3643816 1330948 14.69 1048136 3121492 20 [2022-02-10T15:44:58.348Z] 15:40:01 3311724 0 1050764 13.12 2620 3643824 1281604 14.15 1042272 3121492 16 [2022-02-10T15:44:58.348Z] 15:41:01 3313080 0 1049408 13.10 2620 3643824 1281688 14.15 1042424 3121492 8 [2022-02-10T15:44:58.348Z] 15:42:01 3319648 0 1042832 13.02 2620 3643832 1281604 14.15 1035852 3121492 16 [2022-02-10T15:44:58.348Z] 15:43:01 3319624 0 1042852 13.02 2620 3643836 1281604 14.15 1035908 3121492 8 [2022-02-10T15:44:58.348Z] 15:44:01 3312060 0 1050416 13.12 2620 3643836 1281604 14.15 1043392 3121492 8 [2022-02-10T15:44:58.348Z] Average: 3469425 0 1022679 12.77 2620 3514208 1352041 14.93 1004678 3016846 26298 [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] 15:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2022-02-10T15:44:58.348Z] 15:36:01 eth0 902.83 590.97 6534.93 112.14 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:36:01 docker0 230.49 265.71 19.56 2142.51 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:37:01 eth0 48.23 30.60 75.57 15.98 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:37:01 docker0 6.46 7.81 0.36 38.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:38:01 eth0 145.73 99.05 2718.50 109.09 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:38:01 docker0 8.64 9.66 0.49 51.18 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:39:01 eth0 0.77 0.63 0.28 0.22 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:40:01 eth0 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:41:01 eth0 0.25 0.18 0.08 0.07 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:42:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:43:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:44:01 eth0 0.12 0.03 0.01 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] 15:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] Average: eth0 122.13 80.26 1037.33 26.41 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] Average: docker0 27.31 31.49 2.27 248.21 0.00 0.00 0.00 0.00 [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] ---> sar -P ALL: [2022-02-10T15:44:58.348Z] Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 02/10/22 _x86_64_ (2 CPU) [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] 15:34:49 LINUX RESTART (2 CPU) [2022-02-10T15:44:58.348Z] [2022-02-10T15:44:58.348Z] 15:35:01 CPU %user %nice %system %iowait %steal %idle [2022-02-10T15:44:58.349Z] 15:36:01 all 34.43 0.00 12.59 7.17 0.11 45.71 [2022-02-10T15:44:58.349Z] 15:36:01 0 34.70 0.00 13.90 6.78 0.11 44.51 [2022-02-10T15:44:58.349Z] 15:36:01 1 34.15 0.00 11.29 7.55 0.11 46.90 [2022-02-10T15:44:58.349Z] 15:37:01 all 54.93 0.00 11.50 2.23 0.13 31.22 [2022-02-10T15:44:58.349Z] 15:37:01 0 55.37 0.00 11.94 2.33 0.13 30.23 [2022-02-10T15:44:58.349Z] 15:37:01 1 54.48 0.00 11.05 2.12 0.13 32.22 [2022-02-10T15:44:58.349Z] 15:38:01 all 23.63 0.00 6.00 1.96 0.07 68.34 [2022-02-10T15:44:58.349Z] 15:38:01 0 23.45 0.00 6.44 2.33 0.07 67.71 [2022-02-10T15:44:58.349Z] 15:38:01 1 23.81 0.00 5.55 1.59 0.07 68.98 [2022-02-10T15:44:58.349Z] 15:39:01 all 0.21 0.00 0.08 0.00 0.03 99.69 [2022-02-10T15:44:58.349Z] 15:39:01 0 0.08 0.00 0.08 0.00 0.02 99.82 [2022-02-10T15:44:58.349Z] 15:39:01 1 0.33 0.00 0.07 0.00 0.03 99.57 [2022-02-10T15:44:58.349Z] 15:40:01 all 0.13 0.00 0.08 0.00 0.03 99.77 [2022-02-10T15:44:58.349Z] 15:40:01 0 0.20 0.00 0.05 0.00 0.03 99.72 [2022-02-10T15:44:58.349Z] 15:40:01 1 0.05 0.00 0.10 0.00 0.03 99.82 [2022-02-10T15:44:58.349Z] 15:41:01 all 0.15 0.00 0.04 0.00 0.02 99.79 [2022-02-10T15:44:58.349Z] 15:41:01 0 0.27 0.00 0.03 0.00 0.02 99.68 [2022-02-10T15:44:58.349Z] 15:41:01 1 0.03 0.00 0.05 0.00 0.02 99.90 [2022-02-10T15:44:58.349Z] 15:42:01 all 0.14 0.00 0.03 0.00 0.02 99.82 [2022-02-10T15:44:58.349Z] 15:42:01 0 0.23 0.00 0.02 0.00 0.00 99.75 [2022-02-10T15:44:58.349Z] 15:42:01 1 0.05 0.00 0.03 0.00 0.03 99.88 [2022-02-10T15:44:58.349Z] 15:43:01 all 0.13 0.00 0.03 0.00 0.03 99.82 [2022-02-10T15:44:58.349Z] 15:43:01 0 0.02 0.00 0.02 0.00 0.03 99.93 [2022-02-10T15:44:58.349Z] 15:43:01 1 0.23 0.00 0.03 0.00 0.03 99.70 [2022-02-10T15:44:58.349Z] 15:44:01 all 0.08 0.00 0.05 0.00 0.03 99.85 [2022-02-10T15:44:58.349Z] 15:44:01 0 0.12 0.00 0.07 0.00 0.03 99.78 [2022-02-10T15:44:58.349Z] 15:44:01 1 0.03 0.00 0.03 0.00 0.02 99.92 [2022-02-10T15:44:58.349Z] Average: all 12.03 0.00 3.22 1.21 0.05 83.50 [2022-02-10T15:44:58.349Z] Average: 0 12.11 0.00 3.45 1.22 0.05 83.17 [2022-02-10T15:44:58.349Z] Average: 1 11.94 0.00 2.98 1.20 0.05 83.83 [2022-02-10T15:44:58.349Z] [2022-02-10T15:44:58.349Z] [2022-02-10T15:44:58.349Z]