Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 854a1d02177849dfca254246521bbb7ea3bc181d+b5ea364822c8c62a095049094fb918b913a19c7c (1e8a834a866367053664ee07f04956e0c4bfe630) 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-ssh17386176319576856139.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-ssh8392556361743742506.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1123/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1123/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7455208223291743384.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-ssh10689264350773130533.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1123/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1123/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4602995496767595696.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-11903 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1123 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5ea364822c8c62a095049094fb918b913a19c7c into PR head commit 854a1d02177849dfca254246521bbb7ea3bc181d Merge succeeded, producing 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa Checking out Revision 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa (PR-1123) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1123/head:refs/remotes/origin/PR-1123 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa # timeout=10 Commit message: "Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD" > git rev-list --no-walk 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T22:40:29.541Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T22:40:29.596Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T22:40:29.618Z] ========================================================= [2022-04-10T22:40:29.618Z] EdgeX Global Pipelines Version Info [2022-04-10T22:40:29.618Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T22:40:30.385Z] ------------------- [2022-04-10T22:40:30.385Z] stable info: [2022-04-10T22:40:30.385Z] ------------------- [2022-04-10T22:40:30.385Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T22:40:30.385Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T22:40:30.385Z] Message: update stable to v1.0.221 [2022-04-10T22:40:30.955Z] ------------------- [2022-04-10T22:40:30.955Z] experimental info: [2022-04-10T22:40:30.955Z] ------------------- [2022-04-10T22:40:30.955Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T22:40:30.955Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T22:40:30.955Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T22:40:31.072Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-10T22:40:31.083Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-10T22:40:31.093Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T22:40:31.102Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T22:40:31.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T22:40:31.119Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T22:40:31.128Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T22:40:31.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-10T22:40:31.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T22:40:31.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T22:40:31.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T22:40:31.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-10T22:40:31.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T22:40:31.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T22:40:31.237Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T22:40:31.247Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T22:40:31.258Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T22:40:31.269Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T22:40:31.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T22:40:31.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T22:40:31.303Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-10T22:40:31.315Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-10T22:40:31.327Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T22:40:31.338Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T22:40:31.349Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T22:40:31.360Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T22:40:31.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1123 [Pipeline] echo [2022-04-10T22:40:31.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1123 [Pipeline] echo [2022-04-10T22:40:31.395Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1123 [Pipeline] echo [2022-04-10T22:40:31.405Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [Pipeline] echo [2022-04-10T22:40:31.415Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b07e06 [Pipeline] echo [2022-04-10T22:40:31.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T22:40:31.466Z] provisioning config files... [2022-04-10T22:40:31.477Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config4035157255368121690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T22:40:31.781Z] ---> docker-login.sh [2022-04-10T22:40:31.781Z] nexus3.edgexfoundry.org:10001 [2022-04-10T22:40:32.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:32.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:32.042Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:32.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:32.042Z] [2022-04-10T22:40:32.042Z] Login Succeeded [2022-04-10T22:40:32.042Z] nexus3.edgexfoundry.org:10002 [2022-04-10T22:40:32.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:32.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:32.303Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:32.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:32.303Z] [2022-04-10T22:40:32.303Z] Login Succeeded [2022-04-10T22:40:32.303Z] nexus3.edgexfoundry.org:10003 [2022-04-10T22:40:32.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:32.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:32.303Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:32.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:32.303Z] [2022-04-10T22:40:32.303Z] Login Succeeded [2022-04-10T22:40:32.303Z] nexus3.edgexfoundry.org:10004 [2022-04-10T22:40:32.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:32.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:32.564Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:32.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:32.564Z] [2022-04-10T22:40:32.564Z] Login Succeeded [2022-04-10T22:40:32.564Z] docker.io [2022-04-10T22:40:32.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:32.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:32.824Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:32.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:32.824Z] [2022-04-10T22:40:32.824Z] Login Succeeded [2022-04-10T22:40:32.824Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T22:40:32.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T22:40:33.213Z] + git rev-list -1 --merges 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa~1..8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [Pipeline] echo [2022-04-10T22:40:33.225Z] -----------> git rev-list -1 --merges 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa~1..8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [2022-04-10T22:40:33.225Z] 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [false] [Pipeline] sh [2022-04-10T22:40:33.512Z] + git log --format=format:%s -1 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [Pipeline] echo [2022-04-10T22:40:33.528Z] ========================================================= [2022-04-10T22:40:33.528Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T22:40:33.528Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T22:40:33.857Z] + git log --format=format:%s -1 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [Pipeline] echo [2022-04-10T22:40:33.870Z] [semverPrep] GIT_COMMIT: 8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa, Commit Message: Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD [Pipeline] echo [2022-04-10T22:40:33.879Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T22:40:34.302Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T22:40:34.302Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T22:40:34.302Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T22:40:34.302Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T22:40:34.302Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T22:40:34.302Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T22:40:34.302Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:40:34.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T22:40:34.731Z] [2022-04-10T22:40:34.731Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:40:35.022Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T22:40:35.022Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T22:40:35.022Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T22:40:35.022Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T22:40:35.022Z] 4c7163046ea9: Pulling fs layer [2022-04-10T22:40:35.022Z] 0c2d73faf560: Pulling fs layer [2022-04-10T22:40:35.022Z] 3e5f54012d9b: Verifying Checksum [2022-04-10T22:40:35.022Z] 3e5f54012d9b: Download complete [2022-04-10T22:40:35.022Z] a0d0a0d46f8b: Download complete [2022-04-10T22:40:35.022Z] 0c2d73faf560: Verifying Checksum [2022-04-10T22:40:35.022Z] 0c2d73faf560: Download complete [2022-04-10T22:40:35.280Z] 4c7163046ea9: Verifying Checksum [2022-04-10T22:40:35.280Z] 4c7163046ea9: Download complete [2022-04-10T22:40:35.280Z] a0d0a0d46f8b: Pull complete [2022-04-10T22:40:35.280Z] 3e5f54012d9b: Pull complete [2022-04-10T22:40:35.540Z] 4c7163046ea9: Pull complete [2022-04-10T22:40:35.800Z] 0c2d73faf560: Pull complete [2022-04-10T22:40:35.800Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T22:40:35.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T22:40:35.800Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T22:40:35.872Z] prd-ubuntu20.04-docker-8c-8g-11903 does not seem to be running inside a container [2022-04-10T22:40:35.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T22:40:36.499Z] $ docker top 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T22:40:36.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T22:40:36.584Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T22:40:36.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T22:40:36.730Z] $ docker exec 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 ssh-agent [2022-04-10T22:40:36.838Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXInnmCm/agent.15 [2022-04-10T22:40:36.838Z] SSH_AGENT_PID=21 [2022-04-10T22:40:36.845Z] Running ssh-add (command line suppressed) [2022-04-10T22:40:36.960Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_5116745309840363475.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_5116745309840363475.key) [2022-04-10T22:40:36.965Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T22:40:37.259Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T22:40:37.289Z] $ docker exec --env ******** --env ******** 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 ssh-agent -k [2022-04-10T22:40:37.400Z] unset SSH_AUTH_SOCK; [2022-04-10T22:40:37.401Z] unset SSH_AGENT_PID; [2022-04-10T22:40:37.401Z] echo Agent pid 21 killed; [2022-04-10T22:40:37.402Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T22:40:37.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T22:40:37.426Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T22:40:37.552Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T22:40:37.566Z] $ docker exec 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 ssh-agent [2022-04-10T22:40:37.690Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlFkOiA/agent.55 [2022-04-10T22:40:37.690Z] SSH_AGENT_PID=61 [2022-04-10T22:40:37.696Z] Running ssh-add (command line suppressed) [2022-04-10T22:40:37.853Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_1173836707326300660.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_1173836707326300660.key) [2022-04-10T22:40:37.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T22:40:38.158Z] + git semver init [2022-04-10T22:40:38.158Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T22:40:38.158Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.git [2022-04-10T22:40:38.158Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1123 [2022-04-10T22:40:38.158Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T22:40:38.158Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T22:40:38.158Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T22:40:38.158Z] # $SEMVER_BRANCH = PR-1123 [2022-04-10T22:40:38.158Z] # $SEMVER_TEMP = /tmp/semver-617277750 [2022-04-10T22:40:38.158Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-10T22:40:39.118Z] # '/tmp/semver-617277750' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver' [2022-04-10T22:40:39.118Z] # -> Force: false [2022-04-10T22:40:39.118Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver [Pipeline] } [2022-04-10T22:40:39.140Z] $ docker exec --env ******** --env ******** 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 ssh-agent -k [2022-04-10T22:40:39.252Z] unset SSH_AUTH_SOCK; [2022-04-10T22:40:39.252Z] unset SSH_AGENT_PID; [2022-04-10T22:40:39.252Z] echo Agent pid 61 killed; [2022-04-10T22:40:39.252Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T22:40:39.567Z] + git semver [Pipeline] } [2022-04-10T22:40:39.592Z] $ docker stop --time=1 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 [2022-04-10T22:40:40.913Z] $ docker rm -f 600364f9f7f197c913267a1af63b326059163b716a02c9e2823a90677a6e3870 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T22:40:41.260Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T22:40:41.485Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T22:40:41.489Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T22:40:41.643Z] provisioning config files... [2022-04-10T22:40:41.656Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config921305128461258676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T22:40:41.955Z] ---> docker-login.sh [2022-04-10T22:40:41.955Z] nexus3.edgexfoundry.org:10001 [2022-04-10T22:40:41.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:41.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:41.955Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:41.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:41.955Z] [2022-04-10T22:40:41.955Z] Login Succeeded [2022-04-10T22:40:41.955Z] nexus3.edgexfoundry.org:10002 [2022-04-10T22:40:41.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:42.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:42.215Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:42.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:42.215Z] [2022-04-10T22:40:42.215Z] Login Succeeded [2022-04-10T22:40:42.215Z] nexus3.edgexfoundry.org:10003 [2022-04-10T22:40:42.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:42.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:42.215Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:42.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:42.215Z] [2022-04-10T22:40:42.215Z] Login Succeeded [2022-04-10T22:40:42.215Z] nexus3.edgexfoundry.org:10004 [2022-04-10T22:40:42.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:42.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:42.476Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:42.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:42.476Z] [2022-04-10T22:40:42.476Z] Login Succeeded [2022-04-10T22:40:42.476Z] docker.io [2022-04-10T22:40:42.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T22:40:42.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T22:40:42.737Z] Configure a credential helper to remove this warning. See [2022-04-10T22:40:42.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T22:40:42.737Z] [2022-04-10T22:40:42.737Z] Login Succeeded [2022-04-10T22:40:42.737Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T22:40:42.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T22:40:42.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T22:40:42.823Z] ========================================================= [2022-04-10T22:40:42.823Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T22:40:42.823Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:40:43.128Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-10T22:40:43.128Z] Sending build context to Docker daemon 9.587MB [2022-04-10T22:40:43.128Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T22:40:43.128Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T22:40:43.128Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T22:40:43.128Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T22:40:43.128Z] 666ba61612fd: Pulling fs layer [2022-04-10T22:40:43.128Z] 8ed8ca486205: Pulling fs layer [2022-04-10T22:40:43.128Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T22:40:43.128Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T22:40:43.128Z] 640e595b4fbd: Pulling fs layer [2022-04-10T22:40:43.128Z] 763cafe07f6e: Pulling fs layer [2022-04-10T22:40:43.128Z] 0c0b528cf693: Pulling fs layer [2022-04-10T22:40:43.128Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T22:40:43.128Z] 4fe6c5a15a65: Waiting [2022-04-10T22:40:43.128Z] 22a0e8bec74d: Waiting [2022-04-10T22:40:43.128Z] 640e595b4fbd: Waiting [2022-04-10T22:40:43.128Z] 763cafe07f6e: Waiting [2022-04-10T22:40:43.128Z] 0c0b528cf693: Waiting [2022-04-10T22:40:43.128Z] 10935f4eaf8b: Waiting [2022-04-10T22:40:43.388Z] 8ed8ca486205: Download complete [2022-04-10T22:40:43.388Z] 666ba61612fd: Verifying Checksum [2022-04-10T22:40:43.388Z] 666ba61612fd: Download complete [2022-04-10T22:40:43.388Z] 22a0e8bec74d: Verifying Checksum [2022-04-10T22:40:43.388Z] 640e595b4fbd: Verifying Checksum [2022-04-10T22:40:43.388Z] 640e595b4fbd: Download complete [2022-04-10T22:40:43.388Z] 59bf1c3509f3: Verifying Checksum [2022-04-10T22:40:43.388Z] 59bf1c3509f3: Download complete [2022-04-10T22:40:43.388Z] 763cafe07f6e: Verifying Checksum [2022-04-10T22:40:43.388Z] 763cafe07f6e: Download complete [2022-04-10T22:40:43.388Z] 0c0b528cf693: Verifying Checksum [2022-04-10T22:40:43.388Z] 0c0b528cf693: Download complete [2022-04-10T22:40:43.388Z] 59bf1c3509f3: Pull complete [2022-04-10T22:40:43.648Z] 666ba61612fd: Pull complete [2022-04-10T22:40:43.648Z] 8ed8ca486205: Pull complete [2022-04-10T22:40:44.218Z] 4fe6c5a15a65: Download complete [2022-04-10T22:40:44.478Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T22:40:44.478Z] 10935f4eaf8b: Download complete [2022-04-10T22:40:48.688Z] 4fe6c5a15a65: Pull complete [2022-04-10T22:40:48.688Z] 22a0e8bec74d: Pull complete [2022-04-10T22:40:48.688Z] 640e595b4fbd: Pull complete [2022-04-10T22:40:48.688Z] 763cafe07f6e: Pull complete [2022-04-10T22:40:48.688Z] 0c0b528cf693: Pull complete [2022-04-10T22:40:50.598Z] 10935f4eaf8b: Pull complete [2022-04-10T22:40:50.598Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T22:40:50.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T22:40:50.598Z] ---> 99d49a6021b9 [2022-04-10T22:40:50.598Z] Step 3/11 : ARG MAKE=make build [2022-04-10T22:40:51.981Z] ---> Running in bd78589e25b1 [2022-04-10T22:40:51.981Z] Removing intermediate container bd78589e25b1 [2022-04-10T22:40:51.981Z] ---> 54e8be2aed98 [2022-04-10T22:40:51.981Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-10T22:40:51.981Z] ---> Running in 63fc8e27e4da [2022-04-10T22:40:51.981Z] Removing intermediate container 63fc8e27e4da [2022-04-10T22:40:51.981Z] ---> f60a854d00d1 [2022-04-10T22:40:51.981Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T22:40:52.241Z] ---> Running in d4a8a7c38040 [2022-04-10T22:40:52.242Z] Removing intermediate container d4a8a7c38040 [2022-04-10T22:40:52.242Z] ---> e49dd1e1ea33 [2022-04-10T22:40:52.242Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T22:40:52.242Z] ---> Running in 8b7ec8a44f03 [2022-04-10T22:40:52.814Z] Removing intermediate container 8b7ec8a44f03 [2022-04-10T22:40:52.814Z] ---> be3cf68520a9 [2022-04-10T22:40:52.814Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T22:40:52.814Z] ---> Running in 6592b01debcd [2022-04-10T22:40:53.075Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T22:40:54.025Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T22:40:54.286Z] OK: 221 MiB in 52 packages [2022-04-10T22:40:54.550Z] Removing intermediate container 6592b01debcd [2022-04-10T22:40:54.550Z] ---> 98f18d6a6b77 [2022-04-10T22:40:54.550Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T22:40:54.812Z] ---> 2b2d4c3fd040 [2022-04-10T22:40:54.812Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T22:40:54.812Z] ---> Running in 728c3c006928 [2022-04-10T22:40:56.588Z] Still waiting to schedule task [2022-04-10T22:40:56.588Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-10T22:41:09.722Z] Removing intermediate container 728c3c006928 [2022-04-10T22:41:09.723Z] ---> baceabd2c65f [2022-04-10T22:41:09.723Z] Step 10/11 : COPY . . [2022-04-10T22:41:09.723Z] ---> 728e61c01062 [2022-04-10T22:41:09.723Z] Step 11/11 : RUN ${MAKE} [2022-04-10T22:41:09.723Z] ---> Running in 96c16ffe1a1d [2022-04-10T22:41:09.723Z] noop [2022-04-10T22:41:09.723Z] Removing intermediate container 96c16ffe1a1d [2022-04-10T22:41:09.723Z] ---> 8eab10522d35 [2022-04-10T22:41:09.723Z] Successfully built 8eab10522d35 [2022-04-10T22:41:09.723Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:41:10.019Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T22:41:10.019Z] . [Pipeline] withDockerContainer [2022-04-10T22:41:10.090Z] prd-ubuntu20.04-docker-8c-8g-11903 does not seem to be running inside a container [2022-04-10T22:41:10.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T22:41:10.542Z] $ docker top 42f4c0e7a412df7aadc4000cdce27df8186d34e934cdc43277b84a98669dfc72 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T22:41:10.899Z] + go version [2022-04-10T22:41:10.899Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T22:41:10.922Z] $ docker stop --time=1 42f4c0e7a412df7aadc4000cdce27df8186d34e934cdc43277b84a98669dfc72 [2022-04-10T22:41:12.208Z] $ docker rm -f 42f4c0e7a412df7aadc4000cdce27df8186d34e934cdc43277b84a98669dfc72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:41:12.630Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T22:41:12.630Z] . [Pipeline] withDockerContainer [2022-04-10T22:41:12.707Z] prd-ubuntu20.04-docker-8c-8g-11903 does not seem to be running inside a container [2022-04-10T22:41:12.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T22:41:13.140Z] $ docker top 54dd0039a94b89406c4dd9f75e3e0019b8da8fe41e54bb2d83dd262cdf3fbf5e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T22:41:13.516Z] + make test [2022-04-10T22:41:13.516Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-10T22:41:13.778Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-10T22:41:26.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.017s coverage: 23.3% of statements [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-10T22:41:26.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.024s coverage: 27.6% of statements [2022-04-10T22:41:26.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.013s coverage: 78.9% of statements [2022-04-10T22:41:26.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.012s coverage: 10.8% of statements [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-10T22:41:26.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.022s coverage: 33.2% of statements [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-10T22:41:26.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.019s coverage: 86.1% of statements [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-10T22:41:26.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.028s coverage: 57.4% of statements [2022-04-10T22:41:26.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.042s coverage: 89.2% of statements [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-10T22:41:26.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.017s coverage: 4.8% of statements [2022-04-10T22:41:26.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-10T22:41:34.143Z] GO111MODULE=on go vet ./... [2022-04-10T22:41:38.349Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T22:41:38.349Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T22:41:38.349Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T22:41:38.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T22:41:38.646Z] $ docker stop --time=1 54dd0039a94b89406c4dd9f75e3e0019b8da8fe41e54bb2d83dd262cdf3fbf5e [2022-04-10T22:41:40.445Z] $ docker rm -f 54dd0039a94b89406c4dd9f75e3e0019b8da8fe41e54bb2d83dd262cdf3fbf5e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T22:41:40.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T22:41:40.967Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T22:41:41.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T22:41:41.969Z] + ls -al . [2022-04-10T22:41:41.969Z] total 316 [2022-04-10T22:41:41.969Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 22:41 . [2022-04-10T22:41:41.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 22:40 .. [2022-04-10T22:41:41.969Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 22:40 .dockerignore [2022-04-10T22:41:41.969Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 22:40 .git [2022-04-10T22:41:41.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 22:40 .github [2022-04-10T22:41:41.969Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 22:40 .gitignore [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 22:40 .golangci.yml [2022-04-10T22:41:41.970Z] drwx------ 3 jenkins jenkins 4096 Apr 10 22:40 .semver [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 22:40 CHANGELOG.md [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 22:40 GOVERNANCE.md [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 22:40 Jenkinsfile [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 22:40 LICENSE [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 22:40 Makefile [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 22:40 OWNERS.md [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 22:40 README.md [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 22:40 VERSION [2022-04-10T22:41:41.970Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 22:40 bin [2022-04-10T22:41:41.970Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 22:41 coverage.out [2022-04-10T22:41:41.970Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 22:40 example [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 10 22:40 go.mod [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 10 22:40 go.sum [2022-04-10T22:41:41.970Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 22:40 internal [2022-04-10T22:41:41.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 22:40 openapi [2022-04-10T22:41:41.970Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 22:40 pkg [2022-04-10T22:41:41.970Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 22:40 snap [2022-04-10T22:41:41.970Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 22:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:41:42.280Z] + 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=8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa --label arch=amd64 --label version=0.0.0 . [2022-04-10T22:41:42.280Z] Sending build context to Docker daemon 9.717MB [2022-04-10T22:41:42.280Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T22:41:42.280Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T22:41:42.280Z] ---> 8eab10522d35 [2022-04-10T22:41:42.280Z] Step 3/25 : ARG MAKE=make build [2022-04-10T22:41:42.542Z] ---> Running in d03f31d54dc7 [2022-04-10T22:41:42.542Z] Removing intermediate container d03f31d54dc7 [2022-04-10T22:41:42.542Z] ---> dfabfe7c986b [2022-04-10T22:41:42.542Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-10T22:41:42.542Z] ---> Running in ef8b7895dcb3 [2022-04-10T22:41:42.802Z] Removing intermediate container ef8b7895dcb3 [2022-04-10T22:41:42.802Z] ---> 742bf95cd72a [2022-04-10T22:41:42.802Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T22:41:42.802Z] ---> Running in b5a468035cf7 [2022-04-10T22:41:42.802Z] Removing intermediate container b5a468035cf7 [2022-04-10T22:41:42.802Z] ---> 57bf6b5a8c24 [2022-04-10T22:41:42.802Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T22:41:42.802Z] ---> Running in 616981b2fa8d [2022-04-10T22:41:43.374Z] Removing intermediate container 616981b2fa8d [2022-04-10T22:41:43.374Z] ---> 454664c0fa68 [2022-04-10T22:41:43.374Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T22:41:43.374Z] ---> Running in 853423b719d8 [2022-04-10T22:41:43.945Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T22:41:44.520Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T22:41:44.781Z] OK: 221 MiB in 52 packages [2022-04-10T22:41:45.352Z] Removing intermediate container 853423b719d8 [2022-04-10T22:41:45.352Z] ---> b4a6b754063f [2022-04-10T22:41:45.352Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T22:41:45.352Z] ---> ef988b48734f [2022-04-10T22:41:45.352Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T22:41:45.352Z] ---> Running in 05c32de8b3a6 [2022-04-10T22:41:46.293Z] Removing intermediate container 05c32de8b3a6 [2022-04-10T22:41:46.293Z] ---> 82e711806582 [2022-04-10T22:41:46.293Z] Step 10/25 : COPY . . [2022-04-10T22:41:46.554Z] ---> 2e2e5f9612ad [2022-04-10T22:41:46.554Z] Step 11/25 : RUN ${MAKE} [2022-04-10T22:41:46.554Z] ---> Running in 7c1e696fb6f9 [2022-04-10T22:41:46.816Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-10T22:42:04.925Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-10T22:42:08.233Z] Removing intermediate container 7c1e696fb6f9 [2022-04-10T22:42:08.233Z] ---> fe0496972786 [2022-04-10T22:42:08.233Z] Step 12/25 : FROM alpine:3.14 [2022-04-10T22:42:08.494Z] 3.14: Pulling from library/alpine [2022-04-10T22:42:08.755Z] 8663204ce13b: Pulling fs layer [2022-04-10T22:42:08.755Z] 8663204ce13b: Verifying Checksum [2022-04-10T22:42:08.755Z] 8663204ce13b: Download complete [2022-04-10T22:42:09.016Z] 8663204ce13b: Pull complete [2022-04-10T22:42:09.016Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T22:42:09.016Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T22:42:09.016Z] ---> e04c818066af [2022-04-10T22:42:09.016Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T22:42:09.277Z] ---> Running in 2cbcbafaf858 [2022-04-10T22:42:09.277Z] Removing intermediate container 2cbcbafaf858 [2022-04-10T22:42:09.277Z] ---> adc4f86009b3 [2022-04-10T22:42:09.277Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T22:42:09.277Z] ---> Running in bd1f66768c4f [2022-04-10T22:42:09.848Z] Removing intermediate container bd1f66768c4f [2022-04-10T22:42:09.848Z] ---> 0faf2ac4315f [2022-04-10T22:42:09.848Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T22:42:09.848Z] ---> Running in cf6f0d8c2ae5 [2022-04-10T22:42:10.109Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-10T22:42:11.051Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-10T22:42:11.312Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T22:42:11.312Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T22:42:11.312Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T22:42:11.573Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T22:42:11.573Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T22:42:11.573Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T22:42:11.573Z] OK: 8 MiB in 19 packages [2022-04-10T22:42:12.144Z] Removing intermediate container cf6f0d8c2ae5 [2022-04-10T22:42:12.144Z] ---> bb328fd74723 [2022-04-10T22:42:12.144Z] Step 16/25 : WORKDIR / [2022-04-10T22:42:12.144Z] ---> Running in f98652566345 [2022-04-10T22:42:12.144Z] Removing intermediate container f98652566345 [2022-04-10T22:42:12.144Z] ---> 93df3be9611e [2022-04-10T22:42:12.144Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-10T22:42:12.403Z] ---> c529ad5709e9 [2022-04-10T22:42:12.403Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-10T22:42:12.974Z] ---> 76dba96a926b [2022-04-10T22:42:12.974Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-10T22:42:13.234Z] ---> 615d9ac3f52a [2022-04-10T22:42:13.234Z] Step 20/25 : EXPOSE 59999 [2022-04-10T22:42:13.234Z] ---> Running in ff5855892a1a [2022-04-10T22:42:13.234Z] Removing intermediate container ff5855892a1a [2022-04-10T22:42:13.234Z] ---> 30bea96206c4 [2022-04-10T22:42:13.234Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-10T22:42:13.234Z] ---> Running in 95766416de2e [2022-04-10T22:42:13.495Z] Removing intermediate container 95766416de2e [2022-04-10T22:42:13.495Z] ---> 59f55b7e6d47 [2022-04-10T22:42:13.495Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T22:42:13.495Z] ---> Running in 6800ab215e34 [2022-04-10T22:42:13.495Z] Removing intermediate container 6800ab215e34 [2022-04-10T22:42:13.495Z] ---> 7d10735d5914 [2022-04-10T22:42:13.495Z] Step 23/25 : LABEL arch=amd64 [2022-04-10T22:42:13.495Z] ---> Running in 3bc0f7e91d89 [2022-04-10T22:42:13.755Z] Removing intermediate container 3bc0f7e91d89 [2022-04-10T22:42:13.755Z] ---> b6d0ef60f639 [2022-04-10T22:42:13.755Z] Step 24/25 : LABEL git_sha=8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [2022-04-10T22:42:13.755Z] ---> Running in ebadd5511986 [2022-04-10T22:42:13.755Z] Removing intermediate container ebadd5511986 [2022-04-10T22:42:13.755Z] ---> 6aeec5823f8c [2022-04-10T22:42:13.755Z] Step 25/25 : LABEL version=0.0.0 [2022-04-10T22:42:13.755Z] ---> Running in 471e59ea2ea7 [2022-04-10T22:42:14.018Z] Removing intermediate container 471e59ea2ea7 [2022-04-10T22:42:14.018Z] ---> f2754bd0ea1c [2022-04-10T22:42:14.018Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T22:42:14.018Z] Successfully built f2754bd0ea1c [2022-04-10T22:42:14.018Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:42:14.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T22:42:14.441Z] [2022-04-10T22:42:14.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T22:42:14.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T22:42:14.736Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T22:42:14.736Z] 5eb5b503b376: Pulling fs layer [2022-04-10T22:42:14.736Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T22:42:14.736Z] ec43610c2a17: Pulling fs layer [2022-04-10T22:42:14.736Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T22:42:14.736Z] 33b1e0a273af: Pulling fs layer [2022-04-10T22:42:14.736Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T22:42:14.736Z] 2f39f015ded8: Pulling fs layer [2022-04-10T22:42:14.736Z] 3a2ae6a8a46f: Waiting [2022-04-10T22:42:14.736Z] 5d3b04190fa2: Waiting [2022-04-10T22:42:14.736Z] 2f39f015ded8: Waiting [2022-04-10T22:42:14.736Z] 33b1e0a273af: Waiting [2022-04-10T22:42:14.736Z] 5c69ac0246d0: Download complete [2022-04-10T22:42:14.736Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T22:42:14.736Z] 3a2ae6a8a46f: Download complete [2022-04-10T22:42:14.736Z] 33b1e0a273af: Verifying Checksum [2022-04-10T22:42:14.736Z] 33b1e0a273af: Download complete [2022-04-10T22:42:14.736Z] ec43610c2a17: Verifying Checksum [2022-04-10T22:42:14.736Z] ec43610c2a17: Download complete [2022-04-10T22:42:14.736Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T22:42:14.736Z] 5d3b04190fa2: Download complete [2022-04-10T22:42:14.996Z] 5eb5b503b376: Verifying Checksum [2022-04-10T22:42:14.996Z] 5eb5b503b376: Download complete [2022-04-10T22:42:15.566Z] 2f39f015ded8: Verifying Checksum [2022-04-10T22:42:15.566Z] 2f39f015ded8: Download complete [2022-04-10T22:42:16.504Z] 5eb5b503b376: Pull complete [2022-04-10T22:42:16.504Z] 5c69ac0246d0: Pull complete [2022-04-10T22:42:17.071Z] ec43610c2a17: Pull complete [2022-04-10T22:42:17.071Z] 3a2ae6a8a46f: Pull complete [2022-04-10T22:42:17.336Z] 33b1e0a273af: Pull complete [2022-04-10T22:42:17.336Z] 5d3b04190fa2: Pull complete [2022-04-10T22:42:22.616Z] 2f39f015ded8: Pull complete [2022-04-10T22:42:22.616Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T22:42:22.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T22:42:22.616Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T22:42:22.683Z] prd-ubuntu20.04-docker-8c-8g-11903 does not seem to be running inside a container [2022-04-10T22:42:22.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T22:42:24.422Z] $ docker top 221b02daca1632631e194d48410c57ae5b1f28a851fa25c535c00e800527713d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T22:42:24.820Z] ---> job-cost.sh [2022-04-10T22:42:24.820Z] lf-activate-venv: SKIPPING [2022-04-10T22:42:24.820Z] INFO: No Stack... [2022-04-10T22:42:25.080Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T22:42:25.651Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T22:42:25.943Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/cost.csv [2022-04-10T22:42:25.943Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T22:42:25.959Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] [2022-04-10T22:42:25.965Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] did not exist. Created. [2022-04-10T22:42:25.965Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T22:42:26.276Z] + echo total: 0.6600000262260437 [Pipeline] stash [2022-04-10T22:42:26.312Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T22:42:26.319Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T22:42:26.346Z] $ docker stop --time=1 221b02daca1632631e194d48410c57ae5b1f28a851fa25c535c00e800527713d [2022-04-10T22:42:27.512Z] $ docker rm -f 221b02daca1632631e194d48410c57ae5b1f28a851fa25c535c00e800527713d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T23:05:02.306Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19346 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [Pipeline] { [Pipeline] ws [2022-04-10T23:05:02.320Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-04-10T23:05:02.881Z] The recommended git tool is: git [2022-04-10T23:05:11.171Z] using credential edgex-jenkins-ssh [2022-04-10T23:05:11.197Z] Cloning the remote Git repository [2022-04-10T23:05:11.282Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-10T23:05:11.378Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-04-10T23:05:11.517Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-10T23:05:11.519Z] > git --version # timeout=10 [2022-04-10T23:05:11.555Z] > git --version # 'git version 2.25.1' [2022-04-10T23:05:11.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T23:05:11.649Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T23:05:13.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-10T23:05:13.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T23:05:13.899Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-10T23:05:13.954Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-10T23:05:13.955Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T23:05:13.973Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1123/head:refs/remotes/origin/PR-1123 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-10T23:05:14.629Z] Merging remotes/origin/main commit b5ea364822c8c62a095049094fb918b913a19c7c into PR head commit 854a1d02177849dfca254246521bbb7ea3bc181d [2022-04-10T23:05:15.006Z] Merge succeeded, producing 0585fd7db716542023b240f973d745842ef6e787 [2022-04-10T23:05:15.007Z] Checking out Revision 0585fd7db716542023b240f973d745842ef6e787 (PR-1123) [2022-04-10T23:05:14.664Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T23:05:14.690Z] > git checkout -f 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 [2022-04-10T23:05:14.829Z] > git remote # timeout=10 [2022-04-10T23:05:14.849Z] > git config --get remote.origin.url # timeout=10 [2022-04-10T23:05:14.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T23:05:14.879Z] > git merge b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 [2022-04-10T23:05:14.991Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-10T23:05:15.021Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T23:05:15.037Z] > git checkout -f 0585fd7db716542023b240f973d745842ef6e787 # timeout=10 [2022-04-10T23:05:19.685Z] Commit message: "Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD" [2022-04-10T23:05:19.702Z] > git rev-list --no-walk 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T23:05:20.862Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T23:05:20.862Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T23:05:20.862Z] Dload Upload Total Spent Left Speed [2022-04-10T23:05:20.862Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48338 0 --:--:-- --:--:-- --:--:-- 48338 [Pipeline] sh [2022-04-10T23:05:21.507Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T23:05:21.885Z] + sudo tee /etc/docker/daemon.new [2022-04-10T23:05:21.885Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T23:05:21.885Z] { [2022-04-10T23:05:21.885Z] "registry-mirrors": [ [2022-04-10T23:05:21.885Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T23:05:21.885Z] ], [2022-04-10T23:05:21.885Z] "bip": "10.250.0.254/24", [2022-04-10T23:05:21.885Z] "hosts": [ [2022-04-10T23:05:21.885Z] "tcp://0.0.0.0:5555", [2022-04-10T23:05:21.885Z] "unix:///var/run/docker.sock" [2022-04-10T23:05:21.885Z] ], [2022-04-10T23:05:21.885Z] "mtu": 1458, [2022-04-10T23:05:21.885Z] "selinux-enabled": true, [2022-04-10T23:05:21.885Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T23:05:21.885Z] } [Pipeline] sh [2022-04-10T23:05:22.289Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T23:05:22.662Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T23:05:41.111Z] provisioning config files... [2022-04-10T23:05:41.146Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config316992539755436735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:05:41.537Z] ---> docker-login.sh [2022-04-10T23:05:41.537Z] nexus3.edgexfoundry.org:10001 [2022-04-10T23:05:42.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:05:42.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:05:42.744Z] Configure a credential helper to remove this warning. See [2022-04-10T23:05:42.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:05:42.744Z] [2022-04-10T23:05:42.744Z] Login Succeeded [2022-04-10T23:05:42.744Z] nexus3.edgexfoundry.org:10002 [2022-04-10T23:05:43.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:05:43.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:05:43.022Z] Configure a credential helper to remove this warning. See [2022-04-10T23:05:43.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:05:43.022Z] [2022-04-10T23:05:43.022Z] Login Succeeded [2022-04-10T23:05:43.022Z] nexus3.edgexfoundry.org:10003 [2022-04-10T23:05:43.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:05:43.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:05:43.636Z] Configure a credential helper to remove this warning. See [2022-04-10T23:05:43.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:05:43.636Z] [2022-04-10T23:05:43.636Z] Login Succeeded [2022-04-10T23:05:43.636Z] nexus3.edgexfoundry.org:10004 [2022-04-10T23:05:44.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:05:44.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:05:44.007Z] Configure a credential helper to remove this warning. See [2022-04-10T23:05:44.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:05:44.007Z] [2022-04-10T23:05:44.007Z] Login Succeeded [2022-04-10T23:05:44.007Z] docker.io [2022-04-10T23:05:44.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T23:05:45.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T23:05:45.224Z] Configure a credential helper to remove this warning. See [2022-04-10T23:05:45.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T23:05:45.224Z] [2022-04-10T23:05:45.224Z] Login Succeeded [2022-04-10T23:05:45.224Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T23:05:45.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T23:05:45.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T23:05:45.772Z] ========================================================= [2022-04-10T23:05:45.772Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T23:05:45.772Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:05:46.135Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-10T23:05:46.739Z] Sending build context to Docker daemon 5.175MB [2022-04-10T23:05:46.739Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T23:05:46.739Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T23:05:46.739Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T23:05:46.739Z] 9b3977197b4f: Pulling fs layer [2022-04-10T23:05:46.739Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T23:05:46.739Z] 94645a83ff95: Pulling fs layer [2022-04-10T23:05:46.739Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T23:05:46.739Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T23:05:46.739Z] f7c0051592d6: Pulling fs layer [2022-04-10T23:05:46.739Z] a227ed2f7395: Pulling fs layer [2022-04-10T23:05:46.739Z] 7b1c46037f91: Pulling fs layer [2022-04-10T23:05:46.739Z] 0c92f367c5e7: Waiting [2022-04-10T23:05:46.739Z] f7c0051592d6: Waiting [2022-04-10T23:05:46.739Z] 7b1c46037f91: Waiting [2022-04-10T23:05:46.739Z] a227ed2f7395: Waiting [2022-04-10T23:05:46.739Z] 3f3a8bcf1eab: Waiting [2022-04-10T23:05:47.017Z] 94645a83ff95: Verifying Checksum [2022-04-10T23:05:47.017Z] 94645a83ff95: Download complete [2022-04-10T23:05:47.017Z] 1a89e8eeedd5: Download complete [2022-04-10T23:05:47.017Z] 0c92f367c5e7: Verifying Checksum [2022-04-10T23:05:47.017Z] 0c92f367c5e7: Download complete [2022-04-10T23:05:47.017Z] f7c0051592d6: Verifying Checksum [2022-04-10T23:05:47.017Z] f7c0051592d6: Download complete [2022-04-10T23:05:47.017Z] 9b3977197b4f: Download complete [2022-04-10T23:05:47.017Z] a227ed2f7395: Verifying Checksum [2022-04-10T23:05:47.017Z] a227ed2f7395: Download complete [2022-04-10T23:05:48.025Z] 9b3977197b4f: Pull complete [2022-04-10T23:05:48.629Z] 1a89e8eeedd5: Pull complete [2022-04-10T23:05:48.909Z] 94645a83ff95: Pull complete [2022-04-10T23:05:49.186Z] 7b1c46037f91: Verifying Checksum [2022-04-10T23:05:49.186Z] 7b1c46037f91: Download complete [2022-04-10T23:05:49.788Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T23:05:49.788Z] 3f3a8bcf1eab: Download complete [2022-04-10T23:06:02.215Z] 3f3a8bcf1eab: Pull complete [2022-04-10T23:06:02.215Z] 0c92f367c5e7: Pull complete [2022-04-10T23:06:02.492Z] f7c0051592d6: Pull complete [2022-04-10T23:06:03.090Z] a227ed2f7395: Pull complete [2022-04-10T23:06:09.841Z] 7b1c46037f91: Pull complete [2022-04-10T23:06:09.841Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T23:06:09.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T23:06:09.841Z] ---> f79e39bc4007 [2022-04-10T23:06:09.841Z] Step 3/11 : ARG MAKE=make build [2022-04-10T23:06:09.841Z] ---> Running in 820642d0b434 [2022-04-10T23:06:10.117Z] Removing intermediate container 820642d0b434 [2022-04-10T23:06:10.117Z] ---> f1aaea9e77a8 [2022-04-10T23:06:10.117Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-10T23:06:10.117Z] ---> Running in 6706f6310ea5 [2022-04-10T23:06:10.396Z] Removing intermediate container 6706f6310ea5 [2022-04-10T23:06:10.396Z] ---> f4ddd4da5592 [2022-04-10T23:06:10.396Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T23:06:10.673Z] ---> Running in bc8c2a033852 [2022-04-10T23:06:10.953Z] Removing intermediate container bc8c2a033852 [2022-04-10T23:06:10.953Z] ---> 3bf666f6e013 [2022-04-10T23:06:10.953Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T23:06:10.953Z] ---> Running in 7ed0d9aebde3 [2022-04-10T23:06:12.953Z] Removing intermediate container 7ed0d9aebde3 [2022-04-10T23:06:12.953Z] ---> 3bd94684283a [2022-04-10T23:06:12.953Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T23:06:13.238Z] ---> Running in 28faf7ee732b [2022-04-10T23:06:14.240Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T23:06:15.250Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T23:06:16.243Z] OK: 220 MiB in 52 packages [2022-04-10T23:06:18.253Z] Removing intermediate container 28faf7ee732b [2022-04-10T23:06:18.253Z] ---> 2bc556d304af [2022-04-10T23:06:18.253Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T23:06:19.727Z] ---> 16fc0ee4b7bc [2022-04-10T23:06:19.727Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T23:06:19.727Z] ---> Running in b285061957b4 [2022-04-10T23:07:16.358Z] Removing intermediate container b285061957b4 [2022-04-10T23:07:16.358Z] ---> 69df19d806e0 [2022-04-10T23:07:16.358Z] Step 10/11 : COPY . . [2022-04-10T23:07:16.358Z] ---> 3d5a38ff593e [2022-04-10T23:07:16.358Z] Step 11/11 : RUN ${MAKE} [2022-04-10T23:07:16.358Z] ---> Running in 9783f8c79aa2 [2022-04-10T23:07:16.358Z] noop [2022-04-10T23:07:16.358Z] Removing intermediate container 9783f8c79aa2 [2022-04-10T23:07:16.358Z] ---> 892dcbc42bbb [2022-04-10T23:07:16.358Z] Successfully built 892dcbc42bbb [2022-04-10T23:07:16.358Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:07:16.719Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T23:07:16.719Z] . [Pipeline] withDockerContainer [2022-04-10T23:07:16.965Z] prd-ubuntu20.04-docker-arm64-4c-16g-19346 does not seem to be running inside a container [2022-04-10T23:07:17.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T23:07:18.481Z] $ docker top adc29cb789e41f8d508c572a63aa9f2a2f4e2e482169833b8a0f550b0d0964c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T23:07:19.429Z] + go version [2022-04-10T23:07:19.429Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T23:07:19.462Z] $ docker stop --time=1 adc29cb789e41f8d508c572a63aa9f2a2f4e2e482169833b8a0f550b0d0964c1 [2022-04-10T23:07:21.180Z] $ docker rm -f adc29cb789e41f8d508c572a63aa9f2a2f4e2e482169833b8a0f550b0d0964c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:07:21.811Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T23:07:21.811Z] . [Pipeline] withDockerContainer [2022-04-10T23:07:22.056Z] prd-ubuntu20.04-docker-arm64-4c-16g-19346 does not seem to be running inside a container [2022-04-10T23:07:22.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T23:07:23.556Z] $ docker top abe34f208d9a27b985f64d5e609bbe7506052d27835190e82f0ba8c205d15ad8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T23:07:24.513Z] + make test [2022-04-10T23:07:24.513Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-10T23:07:26.512Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-10T23:09:03.451Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-10T23:09:03.451Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-10T23:09:03.451Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-10T23:09:07.823Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.094s coverage: 23.3% of statements [2022-04-10T23:09:07.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-10T23:09:07.823Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.079s coverage: 27.6% of statements [2022-04-10T23:09:07.823Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.114s coverage: 78.9% of statements [2022-04-10T23:09:09.844Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.198s coverage: 10.8% of statements [2022-04-10T23:09:09.844Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-10T23:09:09.844Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-10T23:09:09.844Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-10T23:09:14.200Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.161s coverage: 33.2% of statements [2022-04-10T23:09:14.200Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-10T23:09:15.194Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.099s coverage: 86.1% of statements [2022-04-10T23:09:15.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-10T23:09:15.194Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-10T23:09:16.182Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 57.4% of statements [2022-04-10T23:09:16.182Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.220s coverage: 89.2% of statements [2022-04-10T23:09:16.182Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-10T23:09:20.508Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.077s coverage: 4.8% of statements [2022-04-10T23:09:20.508Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-10T23:09:21.109Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T23:09:21.109Z] GO111MODULE=on go vet ./... [2022-04-10T23:10:00.204Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T23:10:00.204Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T23:10:00.204Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T23:10:00.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T23:10:00.253Z] $ docker stop --time=1 abe34f208d9a27b985f64d5e609bbe7506052d27835190e82f0ba8c205d15ad8 [2022-04-10T23:10:02.191Z] $ docker rm -f abe34f208d9a27b985f64d5e609bbe7506052d27835190e82f0ba8c205d15ad8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T23:10:03.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T23:10:03.278Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T23:10:04.045Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T23:10:04.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T23:10:04.812Z] + ls -al . [2022-04-10T23:10:04.812Z] total 312 [2022-04-10T23:10:04.812Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 23:09 . [2022-04-10T23:10:04.812Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:05 .. [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 23:05 .dockerignore [2022-04-10T23:10:04.812Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 23:05 .git [2022-04-10T23:10:04.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:05 .github [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 23:05 .gitignore [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 23:05 .golangci.yml [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 23:05 CHANGELOG.md [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 23:05 GOVERNANCE.md [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 23:05 Jenkinsfile [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 23:05 LICENSE [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 23:05 Makefile [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 23:05 OWNERS.md [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 23:05 README.md [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 22:40 VERSION [2022-04-10T23:10:04.812Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:05 bin [2022-04-10T23:10:04.812Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 23:09 coverage.out [2022-04-10T23:10:04.812Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 23:05 example [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 10 23:05 go.mod [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 10 23:05 go.sum [2022-04-10T23:10:04.812Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 23:05 internal [2022-04-10T23:10:04.812Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:05 openapi [2022-04-10T23:10:04.812Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 23:05 pkg [2022-04-10T23:10:04.812Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:05 snap [2022-04-10T23:10:04.812Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 23:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:10:05.219Z] + 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=0585fd7db716542023b240f973d745842ef6e787 --label arch=arm64 --label version=0.0.0 . [2022-04-10T23:10:05.866Z] Sending build context to Docker daemon 5.304MB [2022-04-10T23:10:05.866Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T23:10:05.866Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T23:10:05.866Z] ---> 892dcbc42bbb [2022-04-10T23:10:05.866Z] Step 3/25 : ARG MAKE=make build [2022-04-10T23:10:06.148Z] ---> Running in 271baed639f5 [2022-04-10T23:10:06.454Z] Removing intermediate container 271baed639f5 [2022-04-10T23:10:06.454Z] ---> 4f0e4c612e7e [2022-04-10T23:10:06.454Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-10T23:10:06.739Z] ---> Running in fda0ea7635fa [2022-04-10T23:10:07.039Z] Removing intermediate container fda0ea7635fa [2022-04-10T23:10:07.039Z] ---> 442ec1658526 [2022-04-10T23:10:07.039Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T23:10:07.317Z] ---> Running in 589a807019dc [2022-04-10T23:10:07.595Z] Removing intermediate container 589a807019dc [2022-04-10T23:10:07.595Z] ---> 6eb13474c561 [2022-04-10T23:10:07.595Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T23:10:07.595Z] ---> Running in 59e3ecad8a3f [2022-04-10T23:10:09.606Z] Removing intermediate container 59e3ecad8a3f [2022-04-10T23:10:09.606Z] ---> c0a73ad97421 [2022-04-10T23:10:09.606Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T23:10:09.606Z] ---> Running in e125cc2845be [2022-04-10T23:10:11.053Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T23:10:11.655Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T23:10:13.111Z] OK: 220 MiB in 52 packages [2022-04-10T23:10:13.716Z] Removing intermediate container e125cc2845be [2022-04-10T23:10:13.716Z] ---> d98139dcea15 [2022-04-10T23:10:13.716Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T23:10:14.337Z] ---> 47bfd8ce65f2 [2022-04-10T23:10:14.337Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T23:10:14.337Z] ---> Running in d744b1a2bd26 [2022-04-10T23:10:16.992Z] Removing intermediate container d744b1a2bd26 [2022-04-10T23:10:16.992Z] ---> 3dc92f85aaff [2022-04-10T23:10:16.992Z] Step 10/25 : COPY . . [2022-04-10T23:10:17.990Z] ---> a148716aac37 [2022-04-10T23:10:17.990Z] Step 11/25 : RUN ${MAKE} [2022-04-10T23:10:18.277Z] ---> Running in 2d824d37de74 [2022-04-10T23:10:19.270Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-10T23:12:56.293Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-10T23:12:56.293Z] Removing intermediate container 2d824d37de74 [2022-04-10T23:12:56.293Z] ---> 25fc9acd1e85 [2022-04-10T23:12:56.293Z] Step 12/25 : FROM alpine:3.14 [2022-04-10T23:12:56.293Z] 3.14: Pulling from library/alpine [2022-04-10T23:12:56.293Z] 455c02918c45: Pulling fs layer [2022-04-10T23:12:56.293Z] 455c02918c45: Verifying Checksum [2022-04-10T23:12:56.293Z] 455c02918c45: Download complete [2022-04-10T23:12:56.293Z] 455c02918c45: Pull complete [2022-04-10T23:12:56.293Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T23:12:56.293Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T23:12:56.293Z] ---> ac73e934f311 [2022-04-10T23:12:56.293Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T23:12:56.293Z] ---> Running in fdcf7b8afe25 [2022-04-10T23:12:56.293Z] Removing intermediate container fdcf7b8afe25 [2022-04-10T23:12:56.293Z] ---> d8e0f0cadb90 [2022-04-10T23:12:56.293Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T23:12:56.293Z] ---> Running in 289318089ac7 [2022-04-10T23:12:57.745Z] Removing intermediate container 289318089ac7 [2022-04-10T23:12:57.745Z] ---> 0c9e9fb6fe31 [2022-04-10T23:12:57.745Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T23:12:57.745Z] ---> Running in af227a1369c4 [2022-04-10T23:12:58.737Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-10T23:12:59.727Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-10T23:13:01.171Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T23:13:01.171Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T23:13:01.171Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T23:13:01.449Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T23:13:01.449Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T23:13:01.449Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T23:13:01.449Z] OK: 8 MiB in 19 packages [2022-04-10T23:13:02.896Z] Removing intermediate container af227a1369c4 [2022-04-10T23:13:02.896Z] ---> 4e97bf096de6 [2022-04-10T23:13:02.896Z] Step 16/25 : WORKDIR / [2022-04-10T23:13:02.896Z] ---> Running in e2a6cfa25ffc [2022-04-10T23:13:03.178Z] Removing intermediate container e2a6cfa25ffc [2022-04-10T23:13:03.178Z] ---> 57826f2adcb4 [2022-04-10T23:13:03.178Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-10T23:13:03.778Z] ---> ce499f61dfb2 [2022-04-10T23:13:03.778Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-10T23:13:05.773Z] ---> 5e7dd8e40546 [2022-04-10T23:13:05.773Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-10T23:13:06.379Z] ---> 8df2cd2ee074 [2022-04-10T23:13:06.379Z] Step 20/25 : EXPOSE 59999 [2022-04-10T23:13:06.379Z] ---> Running in 8d3c1d683d9d [2022-04-10T23:13:06.657Z] Removing intermediate container 8d3c1d683d9d [2022-04-10T23:13:06.657Z] ---> 3d300bdceb05 [2022-04-10T23:13:06.657Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-10T23:13:06.936Z] ---> Running in 76a0003e89f4 [2022-04-10T23:13:07.212Z] Removing intermediate container 76a0003e89f4 [2022-04-10T23:13:07.212Z] ---> 964259a6bf5c [2022-04-10T23:13:07.212Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T23:13:07.212Z] ---> Running in e59ddfb36cae [2022-04-10T23:13:07.501Z] Removing intermediate container e59ddfb36cae [2022-04-10T23:13:07.501Z] ---> db322aa2c361 [2022-04-10T23:13:07.501Z] Step 23/25 : LABEL arch=arm64 [2022-04-10T23:13:07.778Z] ---> Running in 5f33a534bd04 [2022-04-10T23:13:08.053Z] Removing intermediate container 5f33a534bd04 [2022-04-10T23:13:08.053Z] ---> 8da06396ae99 [2022-04-10T23:13:08.053Z] Step 24/25 : LABEL git_sha=0585fd7db716542023b240f973d745842ef6e787 [2022-04-10T23:13:08.053Z] ---> Running in b16d478d9161 [2022-04-10T23:13:08.654Z] Removing intermediate container b16d478d9161 [2022-04-10T23:13:08.654Z] ---> 015bc06e856f [2022-04-10T23:13:08.654Z] Step 25/25 : LABEL version=0.0.0 [2022-04-10T23:13:08.654Z] ---> Running in e251b33f77c2 [2022-04-10T23:13:08.931Z] Removing intermediate container e251b33f77c2 [2022-04-10T23:13:08.931Z] ---> f820536e418a [2022-04-10T23:13:08.931Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T23:13:08.931Z] Successfully built f820536e418a [2022-04-10T23:13:08.931Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:13:09.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T23:13:09.376Z] [2022-04-10T23:13:09.376Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:13:10.018Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T23:13:10.294Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T23:13:10.295Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T23:13:10.295Z] 04944245beec: Pulling fs layer [2022-04-10T23:13:10.295Z] 699f458cf7ca: Pulling fs layer [2022-04-10T23:13:10.295Z] 765212b225bb: Pulling fs layer [2022-04-10T23:13:10.295Z] f23df028b6ca: Pulling fs layer [2022-04-10T23:13:10.295Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T23:13:10.295Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T23:13:10.295Z] f23df028b6ca: Waiting [2022-04-10T23:13:10.295Z] d65c8cfc05b1: Waiting [2022-04-10T23:13:10.295Z] 2437ff75d9bd: Waiting [2022-04-10T23:13:10.295Z] 765212b225bb: Waiting [2022-04-10T23:13:10.295Z] 04944245beec: Verifying Checksum [2022-04-10T23:13:10.295Z] 04944245beec: Download complete [2022-04-10T23:13:10.295Z] 765212b225bb: Verifying Checksum [2022-04-10T23:13:10.295Z] 765212b225bb: Download complete [2022-04-10T23:13:10.295Z] f23df028b6ca: Verifying Checksum [2022-04-10T23:13:10.295Z] f23df028b6ca: Download complete [2022-04-10T23:13:10.573Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T23:13:10.573Z] d65c8cfc05b1: Download complete [2022-04-10T23:13:10.573Z] 699f458cf7ca: Verifying Checksum [2022-04-10T23:13:10.573Z] 699f458cf7ca: Download complete [2022-04-10T23:13:10.855Z] 8998bd30e6a1: Download complete [2022-04-10T23:13:13.507Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T23:13:13.507Z] 2437ff75d9bd: Download complete [2022-04-10T23:13:15.508Z] 8998bd30e6a1: Pull complete [2022-04-10T23:13:16.129Z] 04944245beec: Pull complete [2022-04-10T23:13:18.150Z] 699f458cf7ca: Pull complete [2022-04-10T23:13:18.150Z] 765212b225bb: Pull complete [2022-04-10T23:13:19.150Z] f23df028b6ca: Pull complete [2022-04-10T23:13:19.429Z] d65c8cfc05b1: Pull complete [2022-04-10T23:13:37.798Z] 2437ff75d9bd: Pull complete [2022-04-10T23:13:37.798Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T23:13:37.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T23:13:37.798Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T23:13:38.077Z] prd-ubuntu20.04-docker-arm64-4c-16g-19346 does not seem to be running inside a container [2022-04-10T23:13:38.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-10T23:13:41.351Z] $ docker top d104db73614dc918be8196742bd5b4dc1d73b2e2ff37d196e928d1a86c4f085a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:42.330Z] ---> job-cost.sh [2022-04-10T23:13:42.330Z] lf-activate-venv: SKIPPING [2022-04-10T23:13:42.330Z] INFO: No Stack... [2022-04-10T23:13:42.932Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T23:13:43.920Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T23:13:44.594Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-04-10T23:13:44.594Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T23:13:44.668Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] [2022-04-10T23:13:44.673Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] did not exist. Created. [2022-04-10T23:13:44.673Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T23:13:45.357Z] /w/workspace/device-sdk-go/2@tmp/durable-47c7d9ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T23:13:46.069Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-10T23:13:46.098Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T23:13:46.176Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T23:13:46.184Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T23:13:46.217Z] $ docker stop --time=1 d104db73614dc918be8196742bd5b4dc1d73b2e2ff37d196e928d1a86c4f085a [2022-04-10T23:13:47.935Z] $ docker rm -f d104db73614dc918be8196742bd5b4dc1d73b2e2ff37d196e928d1a86c4f085a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-10T23:13:48.611Z] provisioning config files... [2022-04-10T23:13:48.622Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config715738751623356145tmp [Pipeline] { [Pipeline] sh [2022-04-10T23:13:48.923Z] + set +x [2022-04-10T23:13:48.923Z] + curl -s https://codecov.io/bash [2022-04-10T23:13:48.923Z] + bash -s -- [2022-04-10T23:13:48.923Z] [2022-04-10T23:13:48.923Z] _____ _ [2022-04-10T23:13:48.923Z] / ____| | | [2022-04-10T23:13:48.923Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T23:13:48.923Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T23:13:48.923Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T23:13:48.923Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T23:13:48.923Z] Bash-1.0.6 [2022-04-10T23:13:48.923Z] [2022-04-10T23:13:48.923Z] [2022-04-10T23:13:48.923Z] ==> git version 2.25.1 found [2022-04-10T23:13:48.923Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-10T23:13:48.923Z] Release-Date: 2020-01-08 [2022-04-10T23:13:48.923Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-10T23:13:48.923Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T23:13:48.923Z] ==> Jenkins CI detected. [2022-04-10T23:13:48.923Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1123 [2022-04-10T23:13:48.923Z] project root: . [2022-04-10T23:13:48.923Z] --> token set from env [2022-04-10T23:13:48.923Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T23:13:48.923Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T23:13:48.923Z] ==> Python coveragepy not found [2022-04-10T23:13:48.923Z] ==> Searching for coverage reports in: [2022-04-10T23:13:48.923Z] + . [2022-04-10T23:13:48.923Z] -> Found 1 reports [2022-04-10T23:13:48.923Z] ==> Detecting git/mercurial file structure [2022-04-10T23:13:48.923Z] ==> Reading reports [2022-04-10T23:13:48.923Z] + ./coverage.out bytes=129001 [2022-04-10T23:13:48.923Z] ==> Appending adjustments [2022-04-10T23:13:48.923Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T23:13:49.183Z] + Found adjustments [2022-04-10T23:13:49.183Z] ==> Gzipping contents [2022-04-10T23:13:49.183Z] 16K /tmp/codecov.tplgYD.gz [2022-04-10T23:13:49.443Z] ==> Uploading reports [2022-04-10T23:13:49.443Z] url: https://codecov.io [2022-04-10T23:13:49.443Z] query: branch=PR-1123&commit=8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= [2022-04-10T23:13:49.443Z] -> Pinging Codecov [2022-04-10T23:13:49.443Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1123&commit=8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= [2022-04-10T23:13:49.443Z] -> Uploading to [2022-04-10T23:13:49.443Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/7E55EF52A471D76F132DFD9A03CDDE97/8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa/9287e31c-7f47-466b-a0e4-a5bbb8db32f1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T231349Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd1113d608257fa0cdf87273dbf1467353b9f4fe26be9b1737c50e62e8d4a58a [2022-04-10T23:13:49.443Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T23:13:49.443Z] Dload Upload Total Spent Left Speed [2022-04-10T23:13:49.702Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16242 0 0 100 16242 0 74164 --:--:-- --:--:-- --:--:-- 73827 [2022-04-10T23:13:49.702Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8b07e06e9c5f4f4ecd8fd3fa49560de35f4d99fa [Pipeline] } [2022-04-10T23:13:49.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-10T23:13:50.406Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives ] [2022-04-10T23:13:50.406Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives [2022-04-10T23:13:50.406Z] total 16 [2022-04-10T23:13:50.406Z] drwxr-xr-x 3 root root 4096 Apr 10 22:42 . [2022-04-10T23:13:50.406Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 22:42 .. [2022-04-10T23:13:50.406Z] drwxr-xr-x 2 root root 4096 Apr 10 22:42 cost [2022-04-10T23:13:50.406Z] -rw-r--r-- 1 root root 86 Apr 10 22:42 cost.csv [2022-04-10T23:13:50.406Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives [2022-04-10T23:13:50.406Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives [2022-04-10T23:13:50.406Z] total 16 [2022-04-10T23:13:50.406Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 22:42 . [2022-04-10T23:13:50.406Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 22:42 .. [2022-04-10T23:13:50.406Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 22:42 cost [2022-04-10T23:13:50.406Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 10 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:50.701Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:51.566Z] ---> package-listing.sh [2022-04-10T23:13:51.566Z] ++ facter osfamily [2022-04-10T23:13:51.566Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T23:13:51.827Z] + OS_FAMILY=debian [2022-04-10T23:13:51.827Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1123 [2022-04-10T23:13:51.827Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T23:13:51.827Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T23:13:51.827Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T23:13:51.827Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T23:13:51.827Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' [2022-04-10T23:13:51.827Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T23:13:51.827Z] + case "${OS_FAMILY}" in [2022-04-10T23:13:51.827Z] + dpkg -l [2022-04-10T23:13:51.827Z] + grep '^ii' [2022-04-10T23:13:51.827Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T23:13:51.827Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T23:13:51.827Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T23:13:51.827Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' [2022-04-10T23:13:51.827Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ [2022-04-10T23:13:51.827Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ [Pipeline] echo [2022-04-10T23:13:51.840Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-10T23:13:52.123Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T23:13:52.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T23:13:52.679Z] . [Pipeline] withDockerContainer [2022-04-10T23:13:52.749Z] prd-ubuntu20.04-docker-8c-8g-11903 does not seem to be running inside a container [2022-04-10T23:13:52.790Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T23:13:52.998Z] $ docker top 752b2e38f4dc2e97cd1f8675039067e2b432d2aa262aeb9e4214c492e3516fef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T23:13:53.350Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T23:13:53.635Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T23:13:53.924Z] + ls /var/log/sa-host [2022-04-10T23:13:53.925Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T23:13:54.005Z] provisioning config files... [2022-04-10T23:13:54.012Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config8980721921759522365tmp [Pipeline] { [Pipeline] echo [2022-04-10T23:13:54.027Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:54.317Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T23:13:54.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:54.649Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T23:13:54.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:54.947Z] ---> sudo-logs.sh [2022-04-10T23:13:54.947Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T23:13:54.979Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:55.270Z] ---> job-cost.sh [2022-04-10T23:13:55.270Z] lf-activate-venv: SKIPPING [2022-04-10T23:13:55.270Z] DEBUG: total: 0.6600000262260437 [2022-04-10T23:13:55.270Z] INFO: Retrieving Stack Cost... [2022-04-10T23:13:55.840Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T23:13:56.099Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T23:13:56.113Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T23:13:56.400Z] ---> logs-deploy.sh [2022-04-10T23:13:56.400Z] lf-activate-venv: SKIPPING [2022-04-10T23:13:56.400Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1123/2 [2022-04-10T23:13:56.400Z] INFO: archiving workspace using pattern(s): [2022-04-10T23:13:57.337Z] Archives upload complete. [2022-04-10T23:13:57.337Z] INFO: archiving logs to Nexus