Pull request #1130 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 45e6addfd964a0ca7ed47e9673a51a0c53e11884 rather than daeaa2d04152392f6fcb0f7e694d6443ef22d2cd Obtained Jenkinsfile from 45e6addfd964a0ca7ed47e9673a51a0c53e11884 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13445961444470781413.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5888176683736717166.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3976028908563114244.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2040027693099772453.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2043128167163213216.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20754 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1130 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit daeaa2d04152392f6fcb0f7e694d6443ef22d2cd > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f daeaa2d04152392f6fcb0f7e694d6443ef22d2cd # timeout=10 > git remote # timeout=10 Merge succeeded, producing daeaa2d04152392f6fcb0f7e694d6443ef22d2cd Checking out Revision daeaa2d04152392f6fcb0f7e694d6443ef22d2cd (PR-1130) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f daeaa2d04152392f6fcb0f7e694d6443ef22d2cd # timeout=10 Commit message: "feat: Implement ReadingUnits configuration for device profile changes" First time build. Skipping changelog. > git rev-list --no-walk c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T01:40:59.856Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-13T01:40:59.906Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T01:40:59.925Z] ========================================================= [2022-04-13T01:40:59.925Z] EdgeX Global Pipelines Version Info [2022-04-13T01:40:59.925Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:41:00.730Z] ------------------- [2022-04-13T01:41:00.730Z] stable info: [2022-04-13T01:41:00.730Z] ------------------- [2022-04-13T01:41:00.730Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T01:41:00.730Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T01:41:00.730Z] Message: update stable to v1.0.221 [2022-04-13T01:41:01.304Z] ------------------- [2022-04-13T01:41:01.304Z] experimental info: [2022-04-13T01:41:01.304Z] ------------------- [2022-04-13T01:41:01.304Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T01:41:01.304Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T01:41:01.304Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T01:41:01.443Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-13T01:41:01.455Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-13T01:41:01.467Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T01:41:01.478Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T01:41:01.491Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T01:41:01.504Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T01:41:01.515Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T01:41:01.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-13T01:41:01.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T01:41:01.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T01:41:01.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T01:41:01.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-13T01:41:01.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T01:41:01.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T01:41:01.638Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T01:41:01.655Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T01:41:01.675Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T01:41:01.697Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T01:41:01.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T01:41:01.796Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T01:41:01.807Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-13T01:41:01.817Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-13T01:41:01.833Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T01:41:01.846Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T01:41:01.863Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T01:41:01.875Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T01:41:01.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1130 [Pipeline] echo [2022-04-13T01:41:01.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1130 [Pipeline] echo [2022-04-13T01:41:01.914Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1130 [Pipeline] echo [2022-04-13T01:41:01.926Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [Pipeline] echo [2022-04-13T01:41:01.937Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = daeaa2d [Pipeline] echo [2022-04-13T01:41:01.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T01:41:01.992Z] provisioning config files... [2022-04-13T01:41:02.010Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config7069230149583257010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:41:02.321Z] ---> docker-login.sh [2022-04-13T01:41:02.321Z] nexus3.edgexfoundry.org:10001 [2022-04-13T01:41:02.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:41:02.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:41:02.585Z] Configure a credential helper to remove this warning. See [2022-04-13T01:41:02.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:41:02.585Z] [2022-04-13T01:41:02.585Z] Login Succeeded [2022-04-13T01:41:02.585Z] nexus3.edgexfoundry.org:10002 [2022-04-13T01:41:02.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:41:02.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:41:02.845Z] Configure a credential helper to remove this warning. See [2022-04-13T01:41:02.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:41:02.845Z] [2022-04-13T01:41:02.845Z] Login Succeeded [2022-04-13T01:41:02.845Z] nexus3.edgexfoundry.org:10003 [2022-04-13T01:41:02.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:41:03.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:41:03.106Z] Configure a credential helper to remove this warning. See [2022-04-13T01:41:03.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:41:03.106Z] [2022-04-13T01:41:03.106Z] Login Succeeded [2022-04-13T01:41:03.106Z] nexus3.edgexfoundry.org:10004 [2022-04-13T01:41:03.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:41:03.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:41:03.106Z] Configure a credential helper to remove this warning. See [2022-04-13T01:41:03.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:41:03.106Z] [2022-04-13T01:41:03.106Z] Login Succeeded [2022-04-13T01:41:03.106Z] docker.io [2022-04-13T01:41:03.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:41:03.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:41:03.628Z] Configure a credential helper to remove this warning. See [2022-04-13T01:41:03.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:41:03.628Z] [2022-04-13T01:41:03.628Z] Login Succeeded [2022-04-13T01:41:03.628Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T01:41:03.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T01:41:04.014Z] + git rev-list -1 --merges daeaa2d04152392f6fcb0f7e694d6443ef22d2cd~1..daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [Pipeline] echo [2022-04-13T01:41:04.132Z] -----------> git rev-list -1 --merges daeaa2d04152392f6fcb0f7e694d6443ef22d2cd~1..daeaa2d04152392f6fcb0f7e694d6443ef22d2cd daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [false] [Pipeline] sh [2022-04-13T01:41:04.425Z] + git log --format=format:%s -1 daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [Pipeline] echo [2022-04-13T01:41:04.443Z] ========================================================= [2022-04-13T01:41:04.443Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T01:41:04.443Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T01:41:04.786Z] + git log --format=format:%s -1 daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [Pipeline] echo [2022-04-13T01:41:04.799Z] [semverPrep] GIT_COMMIT: daeaa2d04152392f6fcb0f7e694d6443ef22d2cd, Commit Message: feat: Implement ReadingUnits configuration for device profile changes [Pipeline] echo [2022-04-13T01:41:04.813Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T01:41:05.292Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T01:41:05.292Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T01:41:05.292Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T01:41:05.292Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T01:41:05.292Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T01:41:05.293Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T01:41:05.293Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:41:05.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T01:41:05.741Z] [2022-04-13T01:41:05.741Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:41:06.056Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T01:41:06.056Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T01:41:06.056Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T01:41:06.056Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T01:41:06.056Z] 4c7163046ea9: Pulling fs layer [2022-04-13T01:41:06.056Z] 0c2d73faf560: Pulling fs layer [2022-04-13T01:41:06.056Z] 0c2d73faf560: Waiting [2022-04-13T01:41:06.056Z] 3e5f54012d9b: Download complete [2022-04-13T01:41:06.056Z] a0d0a0d46f8b: Verifying Checksum [2022-04-13T01:41:06.056Z] a0d0a0d46f8b: Download complete [2022-04-13T01:41:06.056Z] 4c7163046ea9: Verifying Checksum [2022-04-13T01:41:06.056Z] 4c7163046ea9: Download complete [2022-04-13T01:41:06.056Z] 0c2d73faf560: Verifying Checksum [2022-04-13T01:41:06.056Z] 0c2d73faf560: Download complete [2022-04-13T01:41:06.316Z] a0d0a0d46f8b: Pull complete [2022-04-13T01:41:06.316Z] 3e5f54012d9b: Pull complete [2022-04-13T01:41:06.577Z] 4c7163046ea9: Pull complete [2022-04-13T01:41:06.838Z] 0c2d73faf560: Pull complete [2022-04-13T01:41:06.838Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T01:41:06.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T01:41:06.838Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T01:41:06.924Z] prd-ubuntu20.04-docker-8c-8g-20754 does not seem to be running inside a container [2022-04-13T01:41:06.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-13T01:41:07.725Z] $ docker top 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T01:41:07.836Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T01:41:07.836Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T01:41:07.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T01:41:07.993Z] $ docker exec 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f ssh-agent [2022-04-13T01:41:08.107Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDOpiPp/agent.14 [2022-04-13T01:41:08.107Z] SSH_AGENT_PID=20 [2022-04-13T01:41:08.115Z] Running ssh-add (command line suppressed) [2022-04-13T01:41:08.254Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_7060188403023406247.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_7060188403023406247.key) [2022-04-13T01:41:08.266Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T01:41:08.558Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T01:41:08.579Z] $ docker exec --env ******** --env ******** 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f ssh-agent -k [2022-04-13T01:41:08.718Z] unset SSH_AUTH_SOCK; [2022-04-13T01:41:08.718Z] unset SSH_AGENT_PID; [2022-04-13T01:41:08.718Z] echo Agent pid 20 killed; [2022-04-13T01:41:08.725Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T01:41:08.753Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T01:41:08.753Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T01:41:08.888Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T01:41:08.897Z] $ docker exec 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f ssh-agent [2022-04-13T01:41:09.029Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmfokjP/agent.54 [2022-04-13T01:41:09.029Z] SSH_AGENT_PID=60 [2022-04-13T01:41:09.034Z] Running ssh-add (command line suppressed) [2022-04-13T01:41:09.179Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_2131923673468784368.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_2131923673468784368.key) [2022-04-13T01:41:09.191Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T01:41:09.491Z] + git semver init [2022-04-13T01:41:09.491Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T01:41:09.491Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.git [2022-04-13T01:41:09.491Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-13T01:41:09.491Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T01:41:09.491Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T01:41:09.491Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T01:41:09.491Z] # $SEMVER_BRANCH = PR-1130 [2022-04-13T01:41:09.491Z] # $SEMVER_TEMP = /tmp/semver-045632943 [2022-04-13T01:41:09.491Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-13T01:41:10.895Z] # '/tmp/semver-045632943' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver' [2022-04-13T01:41:10.895Z] # -> Force: false [2022-04-13T01:41:10.895Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver [Pipeline] } [2022-04-13T01:41:10.912Z] $ docker exec --env ******** --env ******** 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f ssh-agent -k [2022-04-13T01:41:11.029Z] unset SSH_AUTH_SOCK; [2022-04-13T01:41:11.029Z] unset SSH_AGENT_PID; [2022-04-13T01:41:11.030Z] echo Agent pid 60 killed; [2022-04-13T01:41:11.035Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T01:41:11.338Z] + git semver [Pipeline] } [2022-04-13T01:41:11.362Z] $ docker stop --time=1 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f [2022-04-13T01:41:12.768Z] $ docker rm -f 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T01:41:13.125Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T01:41:13.393Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T01:41:13.397Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T01:41:13.532Z] provisioning config files... [2022-04-13T01:41:13.543Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config2881549352233079798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:41:13.851Z] ---> docker-login.sh [2022-04-13T01:41:13.851Z] nexus3.edgexfoundry.org:10001 [2022-04-13T01:41:13.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:41:13.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:41:13.851Z] Configure a credential helper to remove this warning. See [2022-04-13T01:41:13.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:41:13.851Z] [2022-04-13T01:41:13.851Z] Login Succeeded [2022-04-13T01:41:13.851Z] nexus3.edgexfoundry.org:10002 [2022-04-13T01:41:14.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:41:14.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:41:14.114Z] Configure a credential helper to remove this warning. See [2022-04-13T01:41:14.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:41:14.114Z] [2022-04-13T01:41:14.114Z] Login Succeeded [2022-04-13T01:41:14.114Z] nexus3.edgexfoundry.org:10003 [2022-04-13T01:41:14.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:41:14.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:41:14.114Z] Configure a credential helper to remove this warning. See [2022-04-13T01:41:14.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:41:14.114Z] [2022-04-13T01:41:14.114Z] Login Succeeded [2022-04-13T01:41:14.114Z] nexus3.edgexfoundry.org:10004 [2022-04-13T01:41:14.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:41:14.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:41:14.374Z] Configure a credential helper to remove this warning. See [2022-04-13T01:41:14.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:41:14.374Z] [2022-04-13T01:41:14.374Z] Login Succeeded [2022-04-13T01:41:14.374Z] docker.io [2022-04-13T01:41:14.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:41:14.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:41:14.949Z] Configure a credential helper to remove this warning. See [2022-04-13T01:41:14.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:41:14.949Z] [2022-04-13T01:41:14.949Z] Login Succeeded [2022-04-13T01:41:14.949Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T01:41:14.962Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T01:41:15.037Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T01:41:15.045Z] ========================================================= [2022-04-13T01:41:15.045Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T01:41:15.045Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:41:15.353Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-13T01:41:15.353Z] Sending build context to Docker daemon 9.648MB [2022-04-13T01:41:15.353Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T01:41:15.353Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-13T01:41:15.620Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T01:41:15.620Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T01:41:15.620Z] 666ba61612fd: Pulling fs layer [2022-04-13T01:41:15.620Z] 8ed8ca486205: Pulling fs layer [2022-04-13T01:41:15.620Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T01:41:15.620Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T01:41:15.620Z] 640e595b4fbd: Pulling fs layer [2022-04-13T01:41:15.620Z] 763cafe07f6e: Pulling fs layer [2022-04-13T01:41:15.620Z] 0c0b528cf693: Pulling fs layer [2022-04-13T01:41:15.620Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T01:41:15.620Z] 22a0e8bec74d: Waiting [2022-04-13T01:41:15.620Z] 640e595b4fbd: Waiting [2022-04-13T01:41:15.620Z] 763cafe07f6e: Waiting [2022-04-13T01:41:15.620Z] 0c0b528cf693: Waiting [2022-04-13T01:41:15.620Z] 4fe6c5a15a65: Waiting [2022-04-13T01:41:15.620Z] 8ed8ca486205: Verifying Checksum [2022-04-13T01:41:15.620Z] 8ed8ca486205: Download complete [2022-04-13T01:41:15.620Z] 666ba61612fd: Verifying Checksum [2022-04-13T01:41:15.620Z] 666ba61612fd: Download complete [2022-04-13T01:41:15.620Z] 22a0e8bec74d: Download complete [2022-04-13T01:41:15.620Z] 640e595b4fbd: Download complete [2022-04-13T01:41:15.620Z] 59bf1c3509f3: Verifying Checksum [2022-04-13T01:41:15.620Z] 59bf1c3509f3: Download complete [2022-04-13T01:41:15.620Z] 763cafe07f6e: Verifying Checksum [2022-04-13T01:41:15.620Z] 763cafe07f6e: Download complete [2022-04-13T01:41:15.620Z] 0c0b528cf693: Verifying Checksum [2022-04-13T01:41:15.620Z] 0c0b528cf693: Download complete [2022-04-13T01:41:15.881Z] 59bf1c3509f3: Pull complete [2022-04-13T01:41:15.881Z] 666ba61612fd: Pull complete [2022-04-13T01:41:15.881Z] 8ed8ca486205: Pull complete [2022-04-13T01:41:16.462Z] 10935f4eaf8b: Verifying Checksum [2022-04-13T01:41:16.462Z] 10935f4eaf8b: Download complete [2022-04-13T01:41:16.462Z] 4fe6c5a15a65: Verifying Checksum [2022-04-13T01:41:16.462Z] 4fe6c5a15a65: Download complete [2022-04-13T01:41:20.675Z] 4fe6c5a15a65: Pull complete [2022-04-13T01:41:20.675Z] 22a0e8bec74d: Pull complete [2022-04-13T01:41:20.935Z] 640e595b4fbd: Pull complete [2022-04-13T01:41:20.935Z] 763cafe07f6e: Pull complete [2022-04-13T01:41:20.935Z] 0c0b528cf693: Pull complete [2022-04-13T01:41:23.472Z] 10935f4eaf8b: Pull complete [2022-04-13T01:41:23.472Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T01:41:23.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T01:41:23.472Z] ---> 99d49a6021b9 [2022-04-13T01:41:23.472Z] Step 3/11 : ARG MAKE=make build [2022-04-13T01:41:25.392Z] ---> Running in dee4a9c89e79 [2022-04-13T01:41:25.392Z] Removing intermediate container dee4a9c89e79 [2022-04-13T01:41:25.392Z] ---> 8dcee7984a31 [2022-04-13T01:41:25.392Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-13T01:41:25.392Z] ---> Running in 80ad2a0e5733 [2022-04-13T01:41:25.392Z] Removing intermediate container 80ad2a0e5733 [2022-04-13T01:41:25.392Z] ---> 332aa9570a75 [2022-04-13T01:41:25.392Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T01:41:25.392Z] ---> Running in 221dc746c52c [2022-04-13T01:41:25.392Z] Removing intermediate container 221dc746c52c [2022-04-13T01:41:25.392Z] ---> 9332abd141c9 [2022-04-13T01:41:25.392Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T01:41:25.392Z] ---> Running in 73360b6a9c4f [2022-04-13T01:41:26.335Z] Removing intermediate container 73360b6a9c4f [2022-04-13T01:41:26.335Z] ---> e8ee2417f905 [2022-04-13T01:41:26.335Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T01:41:26.335Z] ---> Running in aea9ce6463f8 [2022-04-13T01:41:26.598Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T01:41:27.545Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T01:41:27.545Z] OK: 221 MiB in 52 packages [2022-04-13T01:41:28.113Z] Removing intermediate container aea9ce6463f8 [2022-04-13T01:41:28.113Z] ---> 1b0f38efa873 [2022-04-13T01:41:28.113Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-13T01:41:28.113Z] ---> a43fb289f6a0 [2022-04-13T01:41:28.113Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T01:41:28.113Z] ---> Running in eb48eeaecc0b [2022-04-13T01:41:28.478Z] Still waiting to schedule task [2022-04-13T01:41:28.478Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-13T01:41:43.015Z] Removing intermediate container eb48eeaecc0b [2022-04-13T01:41:43.016Z] ---> 22118a1a3a37 [2022-04-13T01:41:43.016Z] Step 10/11 : COPY . . [2022-04-13T01:41:43.016Z] ---> d24b567e20b2 [2022-04-13T01:41:43.016Z] Step 11/11 : RUN ${MAKE} [2022-04-13T01:41:43.016Z] ---> Running in 98290ad144cd [2022-04-13T01:41:43.276Z] noop [2022-04-13T01:41:43.853Z] Removing intermediate container 98290ad144cd [2022-04-13T01:41:43.853Z] ---> 008f29891f53 [2022-04-13T01:41:43.853Z] Successfully built 008f29891f53 [2022-04-13T01:41:43.853Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:41:44.157Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T01:41:44.157Z] . [Pipeline] withDockerContainer [2022-04-13T01:41:44.230Z] prd-ubuntu20.04-docker-8c-8g-20754 does not seem to be running inside a container [2022-04-13T01:41:44.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T01:41:44.690Z] $ docker top c82bee2300a120d3ba1838336c30e19e59991996ac007dc6a07ba619cd2e1d26 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T01:41:45.053Z] + go version [2022-04-13T01:41:45.053Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T01:41:45.072Z] $ docker stop --time=1 c82bee2300a120d3ba1838336c30e19e59991996ac007dc6a07ba619cd2e1d26 [2022-04-13T01:41:46.375Z] $ docker rm -f c82bee2300a120d3ba1838336c30e19e59991996ac007dc6a07ba619cd2e1d26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:41:46.799Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T01:41:46.799Z] . [Pipeline] withDockerContainer [2022-04-13T01:41:46.884Z] prd-ubuntu20.04-docker-8c-8g-20754 does not seem to be running inside a container [2022-04-13T01:41:46.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T01:41:47.328Z] $ docker top eaa195d9b9e902599485b8c525d7e9cb4bcb5e4a94c1795cd521abdfdf1f3adc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T01:41:47.698Z] + make test [2022-04-13T01:41:47.698Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-13T01:41:54.329Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-13T01:42:06.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.069s coverage: 23.3% of statements [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-13T01:42:06.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 27.6% of statements [2022-04-13T01:42:06.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-04-13T01:42:06.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.057s coverage: 10.8% of statements [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-13T01:42:06.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 33.2% of statements [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-13T01:42:06.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 86.1% of statements [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-13T01:42:06.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 65.1% of statements [2022-04-13T01:42:06.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.857s coverage: 89.2% of statements [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-13T01:42:06.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 4.8% of statements [2022-04-13T01:42:06.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-13T01:42:24.756Z] GO111MODULE=on go vet ./... [2022-04-13T01:42:26.672Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T01:42:26.672Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T01:42:26.672Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T01:42:26.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T01:42:26.962Z] $ docker stop --time=1 eaa195d9b9e902599485b8c525d7e9cb4bcb5e4a94c1795cd521abdfdf1f3adc [2022-04-13T01:42:29.072Z] $ docker rm -f eaa195d9b9e902599485b8c525d7e9cb4bcb5e4a94c1795cd521abdfdf1f3adc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T01:42:29.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T01:42:29.614Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T01:42:30.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T01:42:31.051Z] + ls -al . [2022-04-13T01:42:31.051Z] total 296 [2022-04-13T01:42:31.051Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 01:42 . [2022-04-13T01:42:31.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 01:40 .. [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 01:40 .dockerignore [2022-04-13T01:42:31.051Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 01:40 .git [2022-04-13T01:42:31.051Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 01:40 .github [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 13 01:40 .gitignore [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 13 01:40 .golangci.yml [2022-04-13T01:42:31.051Z] drwx------ 3 jenkins jenkins 4096 Apr 13 01:41 .semver [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 13 01:40 CHANGELOG.md [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 01:40 GOVERNANCE.md [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 13 01:40 Jenkinsfile [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 01:40 LICENSE [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 13 01:40 Makefile [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 13 01:40 OWNERS.md [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 13 01:40 README.md [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 01:41 VERSION [2022-04-13T01:42:31.051Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 01:40 bin [2022-04-13T01:42:31.051Z] -rw-r--r-- 1 jenkins jenkins 129245 Apr 13 01:42 coverage.out [2022-04-13T01:42:31.051Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 01:40 example [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 13 01:40 go.mod [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 13 01:40 go.sum [2022-04-13T01:42:31.051Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 13 01:40 internal [2022-04-13T01:42:31.051Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 01:40 openapi [2022-04-13T01:42:31.051Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 01:40 pkg [2022-04-13T01:42:31.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 01:40 snap [2022-04-13T01:42:31.051Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 01:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:42:31.353Z] + 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=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd --label arch=amd64 --label version=0.0.0 . [2022-04-13T01:42:31.353Z] Sending build context to Docker daemon 9.778MB [2022-04-13T01:42:31.353Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T01:42:31.353Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-13T01:42:31.353Z] ---> 008f29891f53 [2022-04-13T01:42:31.353Z] Step 3/25 : ARG MAKE=make build [2022-04-13T01:42:31.353Z] ---> Running in 132063b495b5 [2022-04-13T01:42:31.614Z] Removing intermediate container 132063b495b5 [2022-04-13T01:42:31.614Z] ---> 6c66d2a6412d [2022-04-13T01:42:31.614Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-13T01:42:31.614Z] ---> Running in d47358a3d028 [2022-04-13T01:42:31.614Z] Removing intermediate container d47358a3d028 [2022-04-13T01:42:31.614Z] ---> 0e1204dbf3e3 [2022-04-13T01:42:31.614Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T01:42:31.614Z] ---> Running in 6c3c6b5a2b4c [2022-04-13T01:42:31.885Z] Removing intermediate container 6c3c6b5a2b4c [2022-04-13T01:42:31.885Z] ---> 30fa42f3891a [2022-04-13T01:42:31.885Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T01:42:31.885Z] ---> Running in 3796922f2624 [2022-04-13T01:42:32.457Z] Removing intermediate container 3796922f2624 [2022-04-13T01:42:32.457Z] ---> 2895138469cd [2022-04-13T01:42:32.457Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T01:42:32.457Z] ---> Running in e8f97e894f46 [2022-04-13T01:42:32.717Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T01:42:33.668Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T01:42:33.929Z] OK: 221 MiB in 52 packages [2022-04-13T01:42:34.201Z] Removing intermediate container e8f97e894f46 [2022-04-13T01:42:34.201Z] ---> 54d3b360e620 [2022-04-13T01:42:34.201Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-13T01:42:34.462Z] ---> 95ec45a3dc8f [2022-04-13T01:42:34.462Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T01:42:34.462Z] ---> Running in 6254998afce7 [2022-04-13T01:42:35.032Z] Removing intermediate container 6254998afce7 [2022-04-13T01:42:35.032Z] ---> 05014187b553 [2022-04-13T01:42:35.032Z] Step 10/25 : COPY . . [2022-04-13T01:42:35.602Z] ---> 6a97b83cc467 [2022-04-13T01:42:35.602Z] Step 11/25 : RUN ${MAKE} [2022-04-13T01:42:35.602Z] ---> Running in da90bc0a37cd [2022-04-13T01:42:35.862Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-13T01:42:53.959Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-13T01:42:55.342Z] Removing intermediate container da90bc0a37cd [2022-04-13T01:42:55.342Z] ---> fb949dc454ad [2022-04-13T01:42:55.342Z] Step 12/25 : FROM alpine:3.14 [2022-04-13T01:42:55.914Z] 3.14: Pulling from library/alpine [2022-04-13T01:42:56.180Z] 8663204ce13b: Pulling fs layer [2022-04-13T01:42:56.180Z] 8663204ce13b: Verifying Checksum [2022-04-13T01:42:56.180Z] 8663204ce13b: Download complete [2022-04-13T01:42:56.441Z] 8663204ce13b: Pull complete [2022-04-13T01:42:56.441Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T01:42:56.441Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T01:42:56.441Z] ---> e04c818066af [2022-04-13T01:42:56.441Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T01:42:56.441Z] ---> Running in c293e8f51b08 [2022-04-13T01:42:56.703Z] Removing intermediate container c293e8f51b08 [2022-04-13T01:42:56.703Z] ---> 161c5285ea69 [2022-04-13T01:42:56.703Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T01:42:56.703Z] ---> Running in 8802a8911079 [2022-04-13T01:42:57.275Z] Removing intermediate container 8802a8911079 [2022-04-13T01:42:57.275Z] ---> 967b81e7d37d [2022-04-13T01:42:57.275Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-13T01:42:57.275Z] ---> Running in 1cbaffd7f2b3 [2022-04-13T01:42:57.535Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-13T01:42:58.476Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-13T01:42:58.737Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T01:42:58.737Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-13T01:42:58.998Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T01:42:58.998Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-13T01:42:58.998Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-13T01:42:59.259Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T01:42:59.259Z] OK: 8 MiB in 19 packages [2022-04-13T01:42:59.520Z] Removing intermediate container 1cbaffd7f2b3 [2022-04-13T01:42:59.520Z] ---> 4f8c84fd8b2b [2022-04-13T01:42:59.520Z] Step 16/25 : WORKDIR / [2022-04-13T01:42:59.780Z] ---> Running in b523aa303391 [2022-04-13T01:42:59.780Z] Removing intermediate container b523aa303391 [2022-04-13T01:42:59.780Z] ---> 12730cb4e030 [2022-04-13T01:42:59.780Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-13T01:43:00.041Z] ---> f3fd7fa50928 [2022-04-13T01:43:00.041Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-13T01:43:00.613Z] ---> db7d32e19acb [2022-04-13T01:43:00.613Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-13T01:43:00.614Z] ---> 46d1f32b83a2 [2022-04-13T01:43:00.614Z] Step 20/25 : EXPOSE 59999 [2022-04-13T01:43:00.614Z] ---> Running in 11b7e184a857 [2022-04-13T01:43:00.873Z] Removing intermediate container 11b7e184a857 [2022-04-13T01:43:00.873Z] ---> 466b0eb1b73a [2022-04-13T01:43:00.873Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-13T01:43:00.873Z] ---> Running in 34769d1cc041 [2022-04-13T01:43:00.873Z] Removing intermediate container 34769d1cc041 [2022-04-13T01:43:00.873Z] ---> 51b0de9a528a [2022-04-13T01:43:00.873Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T01:43:00.873Z] ---> Running in b35628866eb3 [2022-04-13T01:43:01.135Z] Removing intermediate container b35628866eb3 [2022-04-13T01:43:01.135Z] ---> 848b3836892f [2022-04-13T01:43:01.135Z] Step 23/25 : LABEL arch=amd64 [2022-04-13T01:43:01.135Z] ---> Running in 7a2a1df5f1ef [2022-04-13T01:43:01.135Z] Removing intermediate container 7a2a1df5f1ef [2022-04-13T01:43:01.135Z] ---> 460f67563d67 [2022-04-13T01:43:01.135Z] Step 24/25 : LABEL git_sha=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [2022-04-13T01:43:01.403Z] ---> Running in 6bbd29439c09 [2022-04-13T01:43:01.403Z] Removing intermediate container 6bbd29439c09 [2022-04-13T01:43:01.403Z] ---> 752cbe2694fa [2022-04-13T01:43:01.403Z] Step 25/25 : LABEL version=0.0.0 [2022-04-13T01:43:01.403Z] ---> Running in c1f4a8f6f946 [2022-04-13T01:43:01.403Z] Removing intermediate container c1f4a8f6f946 [2022-04-13T01:43:01.403Z] ---> 201316ba7682 [2022-04-13T01:43:01.403Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T01:43:01.403Z] Successfully built 201316ba7682 [2022-04-13T01:43:01.664Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:43:02.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T01:43:02.062Z] [2022-04-13T01:43:02.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:43:02.373Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T01:43:02.373Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T01:43:02.373Z] 5eb5b503b376: Pulling fs layer [2022-04-13T01:43:02.373Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T01:43:02.373Z] ec43610c2a17: Pulling fs layer [2022-04-13T01:43:02.373Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T01:43:02.373Z] 33b1e0a273af: Pulling fs layer [2022-04-13T01:43:02.373Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T01:43:02.373Z] 2f39f015ded8: Pulling fs layer [2022-04-13T01:43:02.373Z] 3a2ae6a8a46f: Waiting [2022-04-13T01:43:02.373Z] 33b1e0a273af: Waiting [2022-04-13T01:43:02.373Z] 5d3b04190fa2: Waiting [2022-04-13T01:43:02.373Z] 2f39f015ded8: Waiting [2022-04-13T01:43:02.373Z] 5c69ac0246d0: Verifying Checksum [2022-04-13T01:43:02.373Z] 5c69ac0246d0: Download complete [2022-04-13T01:43:02.373Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T01:43:02.373Z] 3a2ae6a8a46f: Download complete [2022-04-13T01:43:02.373Z] 33b1e0a273af: Verifying Checksum [2022-04-13T01:43:02.373Z] 33b1e0a273af: Download complete [2022-04-13T01:43:02.373Z] 5d3b04190fa2: Verifying Checksum [2022-04-13T01:43:02.373Z] 5d3b04190fa2: Download complete [2022-04-13T01:43:02.373Z] ec43610c2a17: Verifying Checksum [2022-04-13T01:43:02.373Z] ec43610c2a17: Download complete [2022-04-13T01:43:02.632Z] 5eb5b503b376: Verifying Checksum [2022-04-13T01:43:02.632Z] 5eb5b503b376: Download complete [2022-04-13T01:43:03.198Z] 2f39f015ded8: Verifying Checksum [2022-04-13T01:43:03.198Z] 2f39f015ded8: Download complete [2022-04-13T01:43:03.767Z] 5eb5b503b376: Pull complete [2022-04-13T01:43:04.026Z] 5c69ac0246d0: Pull complete [2022-04-13T01:43:04.594Z] ec43610c2a17: Pull complete [2022-04-13T01:43:04.594Z] 3a2ae6a8a46f: Pull complete [2022-04-13T01:43:04.854Z] 33b1e0a273af: Pull complete [2022-04-13T01:43:04.854Z] 5d3b04190fa2: Pull complete [2022-04-13T01:43:10.133Z] 2f39f015ded8: Pull complete [2022-04-13T01:43:10.133Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T01:43:10.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T01:43:10.133Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T01:43:10.201Z] prd-ubuntu20.04-docker-8c-8g-20754 does not seem to be running inside a container [2022-04-13T01:43:10.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T01:43:11.885Z] $ docker top 625318fab1ae08a40503805dcfa0143a35059215f04b1dbf59f93e7d0d12352a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:43:12.279Z] ---> job-cost.sh [2022-04-13T01:43:12.279Z] lf-activate-venv: SKIPPING [2022-04-13T01:43:12.279Z] INFO: No Stack... [2022-04-13T01:43:12.852Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T01:43:13.114Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T01:43:13.412Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/cost.csv [2022-04-13T01:43:13.412Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T01:43:13.433Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] [2022-04-13T01:43:13.439Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] did not exist. Created. [2022-04-13T01:43:13.439Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T01:43:13.747Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T01:43:13.775Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T01:43:13.781Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T01:43:13.804Z] $ docker stop --time=1 625318fab1ae08a40503805dcfa0143a35059215f04b1dbf59f93e7d0d12352a [2022-04-13T01:43:14.993Z] $ docker rm -f 625318fab1ae08a40503805dcfa0143a35059215f04b1dbf59f93e7d0d12352a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T01:46:23.435Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20756 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [Pipeline] { [Pipeline] ws [2022-04-13T01:46:23.448Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2022-04-13T01:46:23.868Z] The recommended git tool is: git [2022-04-13T01:46:32.327Z] using credential edgex-jenkins-ssh [2022-04-13T01:46:32.357Z] Cloning the remote Git repository [2022-04-13T01:46:32.445Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-13T01:46:32.530Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2022-04-13T01:46:32.673Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-13T01:46:32.674Z] > git --version # timeout=10 [2022-04-13T01:46:32.712Z] > git --version # 'git version 2.25.1' [2022-04-13T01:46:32.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T01:46:32.850Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T01:46:34.920Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-13T01:46:34.995Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T01:46:35.030Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-13T01:46:35.089Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-13T01:46:35.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T01:46:35.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-13T01:46:35.845Z] Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [2022-04-13T01:46:36.133Z] Merge succeeded, producing daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [2022-04-13T01:46:36.133Z] Checking out Revision daeaa2d04152392f6fcb0f7e694d6443ef22d2cd (PR-1130) [2022-04-13T01:46:35.870Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T01:46:35.898Z] > git checkout -f daeaa2d04152392f6fcb0f7e694d6443ef22d2cd # timeout=10 [2022-04-13T01:46:36.029Z] > git remote # timeout=10 [2022-04-13T01:46:36.051Z] > git config --get remote.origin.url # timeout=10 [2022-04-13T01:46:36.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T01:46:36.085Z] > git merge 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 [2022-04-13T01:46:36.119Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-13T01:46:36.146Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T01:46:36.163Z] > git checkout -f daeaa2d04152392f6fcb0f7e694d6443ef22d2cd # timeout=10 [2022-04-13T01:46:40.605Z] Commit message: "feat: Implement ReadingUnits configuration for device profile changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T01:46:41.568Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T01:46:41.568Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T01:46:41.568Z] Dload Upload Total Spent Left Speed [2022-04-13T01:46:41.568Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 42754 0 --:--:-- --:--:-- --:--:-- 42909 [Pipeline] sh [2022-04-13T01:46:42.077Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T01:46:42.425Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-13T01:46:42.425Z] + sudo tee /etc/docker/daemon.new [2022-04-13T01:46:42.425Z] { [2022-04-13T01:46:42.425Z] "registry-mirrors": [ [2022-04-13T01:46:42.425Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T01:46:42.425Z] ], [2022-04-13T01:46:42.425Z] "bip": "10.250.0.254/24", [2022-04-13T01:46:42.425Z] "hosts": [ [2022-04-13T01:46:42.425Z] "tcp://0.0.0.0:5555", [2022-04-13T01:46:42.425Z] "unix:///var/run/docker.sock" [2022-04-13T01:46:42.425Z] ], [2022-04-13T01:46:42.425Z] "mtu": 1458, [2022-04-13T01:46:42.425Z] "selinux-enabled": true, [2022-04-13T01:46:42.425Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T01:46:42.425Z] } [Pipeline] sh [2022-04-13T01:46:42.787Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T01:46:43.155Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T01:47:01.568Z] provisioning config files... [2022-04-13T01:47:01.594Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6303186178718251370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:47:01.973Z] ---> docker-login.sh [2022-04-13T01:47:01.973Z] nexus3.edgexfoundry.org:10001 [2022-04-13T01:47:02.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:47:02.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:47:02.849Z] Configure a credential helper to remove this warning. See [2022-04-13T01:47:02.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:47:02.849Z] [2022-04-13T01:47:02.849Z] Login Succeeded [2022-04-13T01:47:02.849Z] nexus3.edgexfoundry.org:10002 [2022-04-13T01:47:03.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:47:03.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:47:03.447Z] Configure a credential helper to remove this warning. See [2022-04-13T01:47:03.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:47:03.447Z] [2022-04-13T01:47:03.447Z] Login Succeeded [2022-04-13T01:47:03.447Z] nexus3.edgexfoundry.org:10003 [2022-04-13T01:47:03.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:47:04.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:47:04.008Z] Configure a credential helper to remove this warning. See [2022-04-13T01:47:04.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:47:04.008Z] [2022-04-13T01:47:04.008Z] Login Succeeded [2022-04-13T01:47:04.008Z] nexus3.edgexfoundry.org:10004 [2022-04-13T01:47:04.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:47:04.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:47:04.564Z] Configure a credential helper to remove this warning. See [2022-04-13T01:47:04.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:47:04.564Z] [2022-04-13T01:47:04.564Z] Login Succeeded [2022-04-13T01:47:04.564Z] docker.io [2022-04-13T01:47:04.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T01:47:05.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T01:47:05.443Z] Configure a credential helper to remove this warning. See [2022-04-13T01:47:05.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T01:47:05.443Z] [2022-04-13T01:47:05.443Z] Login Succeeded [2022-04-13T01:47:05.443Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T01:47:05.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T01:47:05.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T01:47:05.939Z] ========================================================= [2022-04-13T01:47:05.939Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T01:47:05.939Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:47:06.294Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-13T01:47:06.909Z] Sending build context to Docker daemon 5.227MB [2022-04-13T01:47:06.909Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T01:47:06.909Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-13T01:47:06.909Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T01:47:06.909Z] 9b3977197b4f: Pulling fs layer [2022-04-13T01:47:06.909Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T01:47:06.909Z] 94645a83ff95: Pulling fs layer [2022-04-13T01:47:06.909Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T01:47:06.909Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T01:47:06.909Z] f7c0051592d6: Pulling fs layer [2022-04-13T01:47:06.909Z] a227ed2f7395: Pulling fs layer [2022-04-13T01:47:06.909Z] 7b1c46037f91: Pulling fs layer [2022-04-13T01:47:06.909Z] 3f3a8bcf1eab: Waiting [2022-04-13T01:47:06.910Z] 0c92f367c5e7: Waiting [2022-04-13T01:47:06.910Z] f7c0051592d6: Waiting [2022-04-13T01:47:06.910Z] a227ed2f7395: Waiting [2022-04-13T01:47:06.910Z] 7b1c46037f91: Waiting [2022-04-13T01:47:06.910Z] 94645a83ff95: Verifying Checksum [2022-04-13T01:47:06.910Z] 94645a83ff95: Download complete [2022-04-13T01:47:07.188Z] 1a89e8eeedd5: Verifying Checksum [2022-04-13T01:47:07.189Z] 1a89e8eeedd5: Download complete [2022-04-13T01:47:07.189Z] 0c92f367c5e7: Verifying Checksum [2022-04-13T01:47:07.189Z] 0c92f367c5e7: Download complete [2022-04-13T01:47:07.189Z] f7c0051592d6: Verifying Checksum [2022-04-13T01:47:07.189Z] f7c0051592d6: Download complete [2022-04-13T01:47:07.189Z] 9b3977197b4f: Verifying Checksum [2022-04-13T01:47:07.189Z] 9b3977197b4f: Download complete [2022-04-13T01:47:07.189Z] a227ed2f7395: Verifying Checksum [2022-04-13T01:47:07.189Z] a227ed2f7395: Download complete [2022-04-13T01:47:07.799Z] 9b3977197b4f: Pull complete [2022-04-13T01:47:08.408Z] 1a89e8eeedd5: Pull complete [2022-04-13T01:47:09.016Z] 94645a83ff95: Pull complete [2022-04-13T01:47:09.297Z] 7b1c46037f91: Verifying Checksum [2022-04-13T01:47:09.297Z] 7b1c46037f91: Download complete [2022-04-13T01:47:09.895Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-13T01:47:09.895Z] 3f3a8bcf1eab: Download complete [2022-04-13T01:47:22.307Z] 3f3a8bcf1eab: Pull complete [2022-04-13T01:47:22.307Z] 0c92f367c5e7: Pull complete [2022-04-13T01:47:22.307Z] f7c0051592d6: Pull complete [2022-04-13T01:47:22.584Z] a227ed2f7395: Pull complete [2022-04-13T01:47:29.336Z] 7b1c46037f91: Pull complete [2022-04-13T01:47:29.336Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T01:47:29.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T01:47:29.336Z] ---> f79e39bc4007 [2022-04-13T01:47:29.336Z] Step 3/11 : ARG MAKE=make build [2022-04-13T01:47:29.938Z] ---> Running in fbdb9eda17c9 [2022-04-13T01:47:30.220Z] Removing intermediate container fbdb9eda17c9 [2022-04-13T01:47:30.220Z] ---> 36e09a958189 [2022-04-13T01:47:30.220Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-13T01:47:30.220Z] ---> Running in 2ee3523b680e [2022-04-13T01:47:30.829Z] Removing intermediate container 2ee3523b680e [2022-04-13T01:47:30.829Z] ---> a84220bc70bb [2022-04-13T01:47:30.829Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T01:47:30.829Z] ---> Running in 7d2d5957ac96 [2022-04-13T01:47:31.108Z] Removing intermediate container 7d2d5957ac96 [2022-04-13T01:47:31.108Z] ---> b454b1410b92 [2022-04-13T01:47:31.108Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T01:47:31.390Z] ---> Running in c0baa6c2e3f7 [2022-04-13T01:47:33.368Z] Removing intermediate container c0baa6c2e3f7 [2022-04-13T01:47:33.368Z] ---> 2f1b48e1c806 [2022-04-13T01:47:33.368Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T01:47:33.368Z] ---> Running in ecbc563fdd0d [2022-04-13T01:47:34.358Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T01:47:35.354Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T01:47:36.372Z] OK: 220 MiB in 52 packages [2022-04-13T01:47:38.397Z] Removing intermediate container ecbc563fdd0d [2022-04-13T01:47:38.397Z] ---> 09ac1fe7a4e2 [2022-04-13T01:47:38.397Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-13T01:47:39.849Z] ---> 8b12a3416319 [2022-04-13T01:47:39.849Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T01:47:39.849Z] ---> Running in 423c9da30ffa [2022-04-13T01:48:36.424Z] Removing intermediate container 423c9da30ffa [2022-04-13T01:48:36.424Z] ---> b194bcc6e520 [2022-04-13T01:48:36.424Z] Step 10/11 : COPY . . [2022-04-13T01:48:36.424Z] ---> 6b4d55ef512e [2022-04-13T01:48:36.424Z] Step 11/11 : RUN ${MAKE} [2022-04-13T01:48:36.424Z] ---> Running in 8e524c589d8d [2022-04-13T01:48:36.424Z] noop [2022-04-13T01:48:36.424Z] Removing intermediate container 8e524c589d8d [2022-04-13T01:48:36.424Z] ---> a468d2749e51 [2022-04-13T01:48:36.424Z] Successfully built a468d2749e51 [2022-04-13T01:48:36.424Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:48:36.766Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T01:48:36.767Z] . [Pipeline] withDockerContainer [2022-04-13T01:48:36.992Z] prd-ubuntu20.04-docker-arm64-4c-16g-20756 does not seem to be running inside a container [2022-04-13T01:48:37.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-13T01:48:38.490Z] $ docker top 2513fae1d7832fd5ba094ae282d279d9dd616819066a78673487ea2e521bea75 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T01:48:39.390Z] + go version [2022-04-13T01:48:39.390Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T01:48:39.417Z] $ docker stop --time=1 2513fae1d7832fd5ba094ae282d279d9dd616819066a78673487ea2e521bea75 [2022-04-13T01:48:41.078Z] $ docker rm -f 2513fae1d7832fd5ba094ae282d279d9dd616819066a78673487ea2e521bea75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:48:41.737Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T01:48:41.737Z] . [Pipeline] withDockerContainer [2022-04-13T01:48:41.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-20756 does not seem to be running inside a container [2022-04-13T01:48:42.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-13T01:48:43.498Z] $ docker top 3c53b2f1902b91cdbf5b374cd46ed977cd94b74c0260b9acd125418e8fb21b9e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T01:48:44.461Z] + make test [2022-04-13T01:48:44.461Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-13T01:49:16.867Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-13T01:51:08.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-13T01:51:08.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-13T01:51:08.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-13T01:51:08.808Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.315s coverage: 23.3% of statements [2022-04-13T01:51:08.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-13T01:51:08.808Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.291s coverage: 27.6% of statements [2022-04-13T01:51:08.808Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.327s coverage: 78.9% of statements [2022-04-13T01:51:08.808Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.269s coverage: 10.8% of statements [2022-04-13T01:51:08.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-13T01:51:08.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-13T01:51:08.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-13T01:51:15.571Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.583s coverage: 33.2% of statements [2022-04-13T01:51:15.571Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-13T01:51:15.571Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.275s coverage: 86.1% of statements [2022-04-13T01:51:15.571Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-13T01:51:15.571Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-13T01:51:17.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.491s coverage: 65.1% of statements [2022-04-13T01:51:17.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.515s coverage: 89.2% of statements [2022-04-13T01:51:17.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-13T01:51:22.428Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.249s coverage: 4.8% of statements [2022-04-13T01:51:22.428Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-13T01:51:22.701Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T01:51:22.701Z] GO111MODULE=on go vet ./... [2022-04-13T01:52:44.548Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T01:52:44.548Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T01:52:44.548Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T01:52:46.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T01:52:46.587Z] $ docker stop --time=1 3c53b2f1902b91cdbf5b374cd46ed977cd94b74c0260b9acd125418e8fb21b9e [2022-04-13T01:52:48.564Z] $ docker rm -f 3c53b2f1902b91cdbf5b374cd46ed977cd94b74c0260b9acd125418e8fb21b9e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T01:52:49.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T01:52:49.967Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T01:52:50.771Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T01:52:51.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T01:52:51.562Z] + ls -al . [2022-04-13T01:52:51.562Z] total 292 [2022-04-13T01:52:51.562Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 01:52 . [2022-04-13T01:52:51.562Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 01:46 .. [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 01:46 .dockerignore [2022-04-13T01:52:51.562Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 01:46 .git [2022-04-13T01:52:51.562Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 01:46 .github [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 13 01:46 .gitignore [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 13 01:46 .golangci.yml [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 13 01:46 CHANGELOG.md [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 01:46 GOVERNANCE.md [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 13 01:46 Jenkinsfile [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 01:46 LICENSE [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 13 01:46 Makefile [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 13 01:46 OWNERS.md [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 13 01:46 README.md [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 01:41 VERSION [2022-04-13T01:52:51.562Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 01:46 bin [2022-04-13T01:52:51.562Z] -rw-r--r-- 1 jenkins jenkins 129245 Apr 13 01:51 coverage.out [2022-04-13T01:52:51.562Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 01:46 example [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 13 01:46 go.mod [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 13 01:46 go.sum [2022-04-13T01:52:51.562Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 13 01:46 internal [2022-04-13T01:52:51.562Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 01:46 openapi [2022-04-13T01:52:51.562Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 01:46 pkg [2022-04-13T01:52:51.562Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 01:46 snap [2022-04-13T01:52:51.562Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 01:46 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:52:51.918Z] + 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=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd --label arch=arm64 --label version=0.0.0 . [2022-04-13T01:52:52.524Z] Sending build context to Docker daemon 5.357MB [2022-04-13T01:52:52.524Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T01:52:52.524Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-13T01:52:52.524Z] ---> a468d2749e51 [2022-04-13T01:52:52.524Z] Step 3/25 : ARG MAKE=make build [2022-04-13T01:52:52.524Z] ---> Running in 873bb5477c70 [2022-04-13T01:52:53.128Z] Removing intermediate container 873bb5477c70 [2022-04-13T01:52:53.128Z] ---> 3b340254713f [2022-04-13T01:52:53.128Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-13T01:52:53.128Z] ---> Running in 5314544d2b67 [2022-04-13T01:52:53.402Z] Removing intermediate container 5314544d2b67 [2022-04-13T01:52:53.402Z] ---> a0a0644f3177 [2022-04-13T01:52:53.402Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T01:52:53.402Z] ---> Running in bc58c8d51538 [2022-04-13T01:52:53.676Z] Removing intermediate container bc58c8d51538 [2022-04-13T01:52:53.676Z] ---> ef37089e00a5 [2022-04-13T01:52:53.954Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T01:52:53.954Z] ---> Running in 53e4a6069ce7 [2022-04-13T01:52:55.935Z] Removing intermediate container 53e4a6069ce7 [2022-04-13T01:52:55.935Z] ---> 9a1097833cff [2022-04-13T01:52:55.935Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T01:52:55.935Z] ---> Running in 68b94c6d656d [2022-04-13T01:52:56.531Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T01:52:57.507Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T01:52:58.479Z] OK: 220 MiB in 52 packages [2022-04-13T01:52:59.459Z] Removing intermediate container 68b94c6d656d [2022-04-13T01:52:59.459Z] ---> 3f0e500b982f [2022-04-13T01:52:59.459Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-13T01:52:59.730Z] ---> f005f64014ff [2022-04-13T01:52:59.730Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T01:53:00.005Z] ---> Running in 1a390a8a558c [2022-04-13T01:53:01.989Z] Removing intermediate container 1a390a8a558c [2022-04-13T01:53:01.989Z] ---> 378a793dc678 [2022-04-13T01:53:01.989Z] Step 10/25 : COPY . . [2022-04-13T01:53:02.968Z] ---> 8c568e274652 [2022-04-13T01:53:02.968Z] Step 11/25 : RUN ${MAKE} [2022-04-13T01:53:02.968Z] ---> Running in 076e9b92073a [2022-04-13T01:53:03.948Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-13T01:54:55.746Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-13T01:54:56.723Z] Removing intermediate container 076e9b92073a [2022-04-13T01:54:56.723Z] ---> fb9954720ac3 [2022-04-13T01:54:56.723Z] Step 12/25 : FROM alpine:3.14 [2022-04-13T01:54:57.318Z] 3.14: Pulling from library/alpine [2022-04-13T01:54:57.318Z] 455c02918c45: Pulling fs layer [2022-04-13T01:54:57.604Z] 455c02918c45: Verifying Checksum [2022-04-13T01:54:57.604Z] 455c02918c45: Download complete [2022-04-13T01:54:58.204Z] 455c02918c45: Pull complete [2022-04-13T01:54:58.204Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T01:54:58.204Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T01:54:58.204Z] ---> ac73e934f311 [2022-04-13T01:54:58.204Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-13T01:54:58.204Z] ---> Running in 8f44f783ba99 [2022-04-13T01:54:58.481Z] Removing intermediate container 8f44f783ba99 [2022-04-13T01:54:58.481Z] ---> 40da2cb35f9e [2022-04-13T01:54:58.481Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T01:54:58.759Z] ---> Running in 2f513528140d [2022-04-13T01:55:00.220Z] Removing intermediate container 2f513528140d [2022-04-13T01:55:00.220Z] ---> a159a02db5a1 [2022-04-13T01:55:00.220Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-13T01:55:00.511Z] ---> Running in 721d1d54e90b [2022-04-13T01:55:01.500Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-13T01:55:02.475Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-13T01:55:03.073Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T01:55:03.073Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-13T01:55:03.347Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T01:55:03.347Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-13T01:55:03.347Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-13T01:55:03.622Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T01:55:03.622Z] OK: 8 MiB in 19 packages [2022-04-13T01:55:04.611Z] Removing intermediate container 721d1d54e90b [2022-04-13T01:55:04.611Z] ---> 39abf87926e7 [2022-04-13T01:55:04.611Z] Step 16/25 : WORKDIR / [2022-04-13T01:55:04.611Z] ---> Running in 6cddf1f6c1bc [2022-04-13T01:55:04.885Z] Removing intermediate container 6cddf1f6c1bc [2022-04-13T01:55:04.885Z] ---> 714cb8225869 [2022-04-13T01:55:04.885Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-13T01:55:05.484Z] ---> e5ef5b2dba85 [2022-04-13T01:55:05.484Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-13T01:55:06.923Z] ---> 57e059b99e15 [2022-04-13T01:55:06.923Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-13T01:55:07.530Z] ---> 70143a2f11c6 [2022-04-13T01:55:07.530Z] Step 20/25 : EXPOSE 59999 [2022-04-13T01:55:07.530Z] ---> Running in d1754b71374b [2022-04-13T01:55:07.808Z] Removing intermediate container d1754b71374b [2022-04-13T01:55:07.808Z] ---> d10a872270ff [2022-04-13T01:55:07.808Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-13T01:55:08.090Z] ---> Running in 0897f8ec049f [2022-04-13T01:55:08.365Z] Removing intermediate container 0897f8ec049f [2022-04-13T01:55:08.365Z] ---> 9fe7d7f136f6 [2022-04-13T01:55:08.365Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T01:55:08.365Z] ---> Running in 046a0617b37d [2022-04-13T01:55:08.641Z] Removing intermediate container 046a0617b37d [2022-04-13T01:55:08.641Z] ---> 24dd39774d1d [2022-04-13T01:55:08.641Z] Step 23/25 : LABEL arch=arm64 [2022-04-13T01:55:08.641Z] ---> Running in 8040a0265a87 [2022-04-13T01:55:09.240Z] Removing intermediate container 8040a0265a87 [2022-04-13T01:55:09.240Z] ---> 6599db604f44 [2022-04-13T01:55:09.240Z] Step 24/25 : LABEL git_sha=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [2022-04-13T01:55:09.240Z] ---> Running in b336ef64b672 [2022-04-13T01:55:09.516Z] Removing intermediate container b336ef64b672 [2022-04-13T01:55:09.516Z] ---> e87989f6c95f [2022-04-13T01:55:09.516Z] Step 25/25 : LABEL version=0.0.0 [2022-04-13T01:55:09.516Z] ---> Running in 7fb3d3888721 [2022-04-13T01:55:09.790Z] Removing intermediate container 7fb3d3888721 [2022-04-13T01:55:09.790Z] ---> 8383de8f2ede [2022-04-13T01:55:09.790Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T01:55:09.790Z] Successfully built 8383de8f2ede [2022-04-13T01:55:09.790Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:55:10.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T01:55:10.239Z] [2022-04-13T01:55:10.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:55:10.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T01:55:10.863Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T01:55:10.863Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T01:55:10.863Z] 04944245beec: Pulling fs layer [2022-04-13T01:55:10.863Z] 699f458cf7ca: Pulling fs layer [2022-04-13T01:55:10.863Z] 765212b225bb: Pulling fs layer [2022-04-13T01:55:10.863Z] f23df028b6ca: Pulling fs layer [2022-04-13T01:55:10.863Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T01:55:10.863Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T01:55:10.863Z] f23df028b6ca: Waiting [2022-04-13T01:55:10.863Z] d65c8cfc05b1: Waiting [2022-04-13T01:55:10.863Z] 2437ff75d9bd: Waiting [2022-04-13T01:55:10.863Z] 765212b225bb: Waiting [2022-04-13T01:55:10.863Z] 04944245beec: Verifying Checksum [2022-04-13T01:55:10.863Z] 04944245beec: Download complete [2022-04-13T01:55:10.863Z] 765212b225bb: Verifying Checksum [2022-04-13T01:55:10.863Z] 765212b225bb: Download complete [2022-04-13T01:55:10.863Z] f23df028b6ca: Verifying Checksum [2022-04-13T01:55:10.863Z] f23df028b6ca: Download complete [2022-04-13T01:55:10.863Z] d65c8cfc05b1: Verifying Checksum [2022-04-13T01:55:10.863Z] d65c8cfc05b1: Download complete [2022-04-13T01:55:11.140Z] 699f458cf7ca: Verifying Checksum [2022-04-13T01:55:11.140Z] 699f458cf7ca: Download complete [2022-04-13T01:55:11.417Z] 8998bd30e6a1: Verifying Checksum [2022-04-13T01:55:11.417Z] 8998bd30e6a1: Download complete [2022-04-13T01:55:14.041Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T01:55:14.041Z] 2437ff75d9bd: Download complete [2022-04-13T01:55:16.024Z] 8998bd30e6a1: Pull complete [2022-04-13T01:55:16.304Z] 04944245beec: Pull complete [2022-04-13T01:55:17.752Z] 699f458cf7ca: Pull complete [2022-04-13T01:55:17.752Z] 765212b225bb: Pull complete [2022-04-13T01:55:18.737Z] f23df028b6ca: Pull complete [2022-04-13T01:55:19.011Z] d65c8cfc05b1: Pull complete [2022-04-13T01:55:34.186Z] 2437ff75d9bd: Pull complete [2022-04-13T01:55:34.186Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T01:55:34.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T01:55:34.186Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T01:55:34.427Z] prd-ubuntu20.04-docker-arm64-4c-16g-20756 does not seem to be running inside a container [2022-04-13T01:55:34.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-13T01:55:36.989Z] $ docker top 0cadd0393bd5c1876d39800233248749ffd4ae0228ad46cdb5b90571d5db140c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:55:37.903Z] ---> job-cost.sh [2022-04-13T01:55:37.903Z] lf-activate-venv: SKIPPING [2022-04-13T01:55:37.903Z] INFO: No Stack... [2022-04-13T01:55:38.176Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T01:55:39.153Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T01:55:39.828Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2022-04-13T01:55:39.828Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T01:55:39.895Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] [2022-04-13T01:55:39.900Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] did not exist. Created. [2022-04-13T01:55:39.900Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T01:55:40.597Z] /w/workspace/device-sdk-go/4@tmp/durable-9a6898be/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T01:55:41.272Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T01:55:41.296Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T01:55:41.354Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T01:55:41.363Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T01:55:41.382Z] $ docker stop --time=1 0cadd0393bd5c1876d39800233248749ffd4ae0228ad46cdb5b90571d5db140c [2022-04-13T01:55:42.862Z] $ docker rm -f 0cadd0393bd5c1876d39800233248749ffd4ae0228ad46cdb5b90571d5db140c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-13T01:55:43.433Z] provisioning config files... [2022-04-13T01:55:43.442Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config3097498891128010167tmp [Pipeline] { [Pipeline] sh [2022-04-13T01:55:43.743Z] + set +x [2022-04-13T01:55:43.743Z] + curl -s https://codecov.io/bash [2022-04-13T01:55:43.743Z] + bash -s -- [2022-04-13T01:55:43.743Z] [2022-04-13T01:55:43.743Z] _____ _ [2022-04-13T01:55:43.743Z] / ____| | | [2022-04-13T01:55:43.743Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T01:55:43.743Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T01:55:43.743Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T01:55:43.743Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T01:55:43.743Z] Bash-1.0.6 [2022-04-13T01:55:43.743Z] [2022-04-13T01:55:43.743Z] [2022-04-13T01:55:43.743Z] ==> git version 2.25.1 found [2022-04-13T01:55:43.743Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-13T01:55:43.743Z] Release-Date: 2020-01-08 [2022-04-13T01:55:43.743Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-13T01:55:43.743Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T01:55:43.743Z] ==> Jenkins CI detected. [2022-04-13T01:55:43.743Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-13T01:55:43.743Z] project root: . [2022-04-13T01:55:43.743Z] --> token set from env [2022-04-13T01:55:43.743Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T01:55:43.743Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T01:55:43.743Z] ==> Python coveragepy not found [2022-04-13T01:55:43.743Z] ==> Searching for coverage reports in: [2022-04-13T01:55:43.743Z] + . [2022-04-13T01:55:43.743Z] -> Found 1 reports [2022-04-13T01:55:43.743Z] ==> Detecting git/mercurial file structure [2022-04-13T01:55:43.743Z] ==> Reading reports [2022-04-13T01:55:43.743Z] + ./coverage.out bytes=129245 [2022-04-13T01:55:43.743Z] ==> Appending adjustments [2022-04-13T01:55:43.743Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T01:55:44.005Z] + Found adjustments [2022-04-13T01:55:44.005Z] ==> Gzipping contents [2022-04-13T01:55:44.005Z] 20K /tmp/codecov.MoKa6H.gz [2022-04-13T01:55:44.005Z] ==> Uploading reports [2022-04-13T01:55:44.005Z] url: https://codecov.io [2022-04-13T01:55:44.005Z] query: branch=PR-1130&commit=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= [2022-04-13T01:55:44.005Z] -> Pinging Codecov [2022-04-13T01:55:44.005Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1130&commit=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= [2022-04-13T01:55:44.578Z] -> Uploading to [2022-04-13T01:55:44.578Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/7E55EF52A471D76F132DFD9A03CDDE97/daeaa2d04152392f6fcb0f7e694d6443ef22d2cd/733aa3d7-f62f-4c2f-9099-95a85fcc0f8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T015544Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8998ad72b62be5e4414e3d77a34539a46e45363bbfca893faf3c6f2049d86c1a [2022-04-13T01:55:44.578Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T01:55:44.578Z] Dload Upload Total Spent Left Speed [2022-04-13T01:55:44.839Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16567 0 0 100 16567 0 61132 --:--:-- --:--:-- --:--:-- 61132 [2022-04-13T01:55:44.839Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [Pipeline] } [2022-04-13T01:55:44.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-13T01:55:45.652Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives ] [2022-04-13T01:55:45.652Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-13T01:55:45.652Z] total 16 [2022-04-13T01:55:45.652Z] drwxr-xr-x 3 root root 4096 Apr 13 01:43 . [2022-04-13T01:55:45.652Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 01:43 .. [2022-04-13T01:55:45.652Z] drwxr-xr-x 2 root root 4096 Apr 13 01:43 cost [2022-04-13T01:55:45.652Z] -rw-r--r-- 1 root root 85 Apr 13 01:43 cost.csv [2022-04-13T01:55:45.652Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-13T01:55:45.652Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-13T01:55:45.652Z] total 16 [2022-04-13T01:55:45.652Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 01:43 . [2022-04-13T01:55:45.652Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 01:43 .. [2022-04-13T01:55:45.652Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 01:43 cost [2022-04-13T01:55:45.652Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 13 01:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:55:45.951Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:55:46.813Z] ---> package-listing.sh [2022-04-13T01:55:46.813Z] ++ facter osfamily [2022-04-13T01:55:46.813Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T01:55:47.074Z] + OS_FAMILY=debian [2022-04-13T01:55:47.074Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-13T01:55:47.074Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T01:55:47.074Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T01:55:47.074Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T01:55:47.074Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T01:55:47.074Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' [2022-04-13T01:55:47.074Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T01:55:47.074Z] + case "${OS_FAMILY}" in [2022-04-13T01:55:47.074Z] + dpkg -l [2022-04-13T01:55:47.074Z] + grep '^ii' [2022-04-13T01:55:47.074Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T01:55:47.074Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T01:55:47.074Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T01:55:47.074Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' [2022-04-13T01:55:47.074Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ [2022-04-13T01:55:47.074Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ [Pipeline] echo [2022-04-13T01:55:47.088Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-13T01:55:47.370Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T01:55:47.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T01:55:47.928Z] . [Pipeline] withDockerContainer [2022-04-13T01:55:47.990Z] prd-ubuntu20.04-docker-8c-8g-20754 does not seem to be running inside a container [2022-04-13T01:55:48.029Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T01:55:48.265Z] $ docker top 2fa6fa1229ece659534acfbf8773c78f7d897bcb195ff71eb9c720471997e161 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T01:55:48.630Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T01:55:48.925Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T01:55:49.217Z] + ls /var/log/sa-host [2022-04-13T01:55:49.217Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T01:55:49.307Z] provisioning config files... [2022-04-13T01:55:49.317Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config3663954195712073019tmp [Pipeline] { [Pipeline] echo [2022-04-13T01:55:49.332Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:55:49.621Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T01:55:49.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:55:49.963Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T01:55:49.975Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:55:50.267Z] ---> sudo-logs.sh [2022-04-13T01:55:50.267Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T01:55:50.294Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:55:50.584Z] ---> job-cost.sh [2022-04-13T01:55:50.584Z] lf-activate-venv: SKIPPING [2022-04-13T01:55:50.584Z] DEBUG: total: 0.2199999988079071 [2022-04-13T01:55:50.584Z] INFO: Retrieving Stack Cost... [2022-04-13T01:55:50.845Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T01:55:51.419Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T01:55:51.434Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T01:55:51.722Z] ---> logs-deploy.sh [2022-04-13T01:55:51.723Z] lf-activate-venv: SKIPPING [2022-04-13T01:55:51.723Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1130/4 [2022-04-13T01:55:51.723Z] INFO: archiving workspace using pattern(s): [2022-04-13T01:55:52.663Z] Archives upload complete. [2022-04-13T01:55:52.663Z] INFO: archiving logs to Nexus