Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b72d49ff0aa294b99fec981cfa1e65ad4433cb94+b2d7386986501f8c504e256bc873431da18a2db4 (3831dde9602bb94761617119b40965dba17822f7) 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-ssh15702991166392910338.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh10292472349907549410.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-1144/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-1144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15581922498853937749.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh8426513314733249512.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-1144/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-1144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2888529537132390172.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-33630’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-33631’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-33635 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [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-1144 # 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 b2d7386986501f8c504e256bc873431da18a2db4 into PR head commit b72d49ff0aa294b99fec981cfa1e65ad4433cb94 Merge succeeded, producing b72d49ff0aa294b99fec981cfa1e65ad4433cb94 Checking out Revision b72d49ff0aa294b99fec981cfa1e65ad4433cb94 (PR-1144) > 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/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b72d49ff0aa294b99fec981cfa1e65ad4433cb94 # 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 b2d7386986501f8c504e256bc873431da18a2db4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b72d49ff0aa294b99fec981cfa1e65ad4433cb94 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 267ff576d04d099c801cb5d53fb1f6359d04b69e # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-28T08:44:48.583Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-28T08:44:48.650Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-28T08:44:48.669Z] ========================================================= [2022-04-28T08:44:48.669Z] EdgeX Global Pipelines Version Info [2022-04-28T08:44:48.669Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:44:49.447Z] ------------------- [2022-04-28T08:44:49.447Z] stable info: [2022-04-28T08:44:49.447Z] ------------------- [2022-04-28T08:44:49.447Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-28T08:44:49.447Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-04-28T08:44:49.447Z] Message: update stable to v1.0.227 [2022-04-28T08:44:50.021Z] ------------------- [2022-04-28T08:44:50.021Z] experimental info: [2022-04-28T08:44:50.021Z] ------------------- [2022-04-28T08:44:50.021Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-28T08:44:50.021Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-04-28T08:44:50.021Z] Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-28T08:44:50.159Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-28T08:44:50.170Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-28T08:44:50.183Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-28T08:44:50.199Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-28T08:44:50.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-28T08:44:50.231Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-28T08:44:50.246Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-28T08:44:50.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-28T08:44:50.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-28T08:44:50.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-28T08:44:50.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-28T08:44:50.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-28T08:44:50.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-28T08:44:50.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-28T08:44:50.345Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-28T08:44:50.358Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T08:44:50.371Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T08:44:50.387Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T08:44:50.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-28T08:44:50.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-28T08:44:50.427Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-28T08:44:50.446Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-28T08:44:50.464Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-28T08:44:50.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-28T08:44:50.495Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-28T08:44:50.511Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-28T08:44:50.523Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo [2022-04-28T08:44:50.536Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo [2022-04-28T08:44:50.557Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo [2022-04-28T08:44:50.573Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b72d49ff0aa294b99fec981cfa1e65ad4433cb94 [Pipeline] echo [2022-04-28T08:44:50.587Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b72d49f [Pipeline] echo [2022-04-28T08:44:50.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T08:44:50.650Z] provisioning config files... [2022-04-28T08:44:50.667Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config2115193627795258706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:44:51.003Z] ---> docker-login.sh [2022-04-28T08:44:51.004Z] nexus3.edgexfoundry.org:10001 [2022-04-28T08:44:51.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:44:51.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:44:51.531Z] Configure a credential helper to remove this warning. See [2022-04-28T08:44:51.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:44:51.531Z] [2022-04-28T08:44:51.531Z] Login Succeeded [2022-04-28T08:44:51.531Z] nexus3.edgexfoundry.org:10002 [2022-04-28T08:44:51.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:44:51.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:44:51.531Z] Configure a credential helper to remove this warning. See [2022-04-28T08:44:51.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:44:51.531Z] [2022-04-28T08:44:51.531Z] Login Succeeded [2022-04-28T08:44:51.531Z] nexus3.edgexfoundry.org:10003 [2022-04-28T08:44:51.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:44:51.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:44:51.793Z] Configure a credential helper to remove this warning. See [2022-04-28T08:44:51.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:44:51.793Z] [2022-04-28T08:44:51.793Z] Login Succeeded [2022-04-28T08:44:51.793Z] nexus3.edgexfoundry.org:10004 [2022-04-28T08:44:51.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:44:52.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:44:52.054Z] Configure a credential helper to remove this warning. See [2022-04-28T08:44:52.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:44:52.054Z] [2022-04-28T08:44:52.054Z] Login Succeeded [2022-04-28T08:44:52.054Z] docker.io [2022-04-28T08:44:52.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:44:52.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:44:52.316Z] Configure a credential helper to remove this warning. See [2022-04-28T08:44:52.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:44:52.316Z] [2022-04-28T08:44:52.316Z] Login Succeeded [2022-04-28T08:44:52.316Z] ---> docker-login.sh ends [Pipeline] } [2022-04-28T08:44:52.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-28T08:44:52.715Z] + git rev-list -1 --merges b72d49ff0aa294b99fec981cfa1e65ad4433cb94~1..b72d49ff0aa294b99fec981cfa1e65ad4433cb94 [Pipeline] echo [2022-04-28T08:44:52.822Z] -----------> git rev-list -1 --merges b72d49ff0aa294b99fec981cfa1e65ad4433cb94~1..b72d49ff0aa294b99fec981cfa1e65ad4433cb94 b72d49ff0aa294b99fec981cfa1e65ad4433cb94 [false] [Pipeline] sh [2022-04-28T08:44:53.117Z] + git log --format=format:%s -1 b72d49ff0aa294b99fec981cfa1e65ad4433cb94 [Pipeline] echo [2022-04-28T08:44:53.135Z] ========================================================= [2022-04-28T08:44:53.136Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-28T08:44:53.136Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T08:44:53.493Z] + git log --format=format:%s -1 b72d49ff0aa294b99fec981cfa1e65ad4433cb94 [Pipeline] echo [2022-04-28T08:44:53.510Z] [semverPrep] GIT_COMMIT: b72d49ff0aa294b99fec981cfa1e65ad4433cb94, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 [Pipeline] echo [2022-04-28T08:44:53.523Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-28T08:44:53.918Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-28T08:44:53.918Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-28T08:44:53.918Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-28T08:44:53.918Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-28T08:44:53.918Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-28T08:44:53.918Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-28T08:44:53.918Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:44:54.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T08:44:54.255Z] [2022-04-28T08:44:54.255Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:44:54.563Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T08:44:54.563Z] latest: Pulling from edgex-devops/py-git-semver [2022-04-28T08:44:54.563Z] 1fe172e4850f: Pulling fs layer [2022-04-28T08:44:54.563Z] caf521ccaac6: Pulling fs layer [2022-04-28T08:44:54.563Z] 3ead6fa29328: Pulling fs layer [2022-04-28T08:44:54.563Z] 5c2a1cbceb83: Pulling fs layer [2022-04-28T08:44:54.563Z] a8d5f1318db7: Pulling fs layer [2022-04-28T08:44:54.563Z] c427282e49a2: Pulling fs layer [2022-04-28T08:44:54.563Z] 1827001aaf11: Pulling fs layer [2022-04-28T08:44:54.563Z] 0714d37db230: Pulling fs layer [2022-04-28T08:44:54.563Z] ac28cf19c067: Pulling fs layer [2022-04-28T08:44:54.563Z] ca983d60f3e2: Pulling fs layer [2022-04-28T08:44:54.563Z] 9f894cec8388: Pulling fs layer [2022-04-28T08:44:54.563Z] 1827001aaf11: Waiting [2022-04-28T08:44:54.563Z] ac28cf19c067: Waiting [2022-04-28T08:44:54.563Z] 0714d37db230: Waiting [2022-04-28T08:44:54.563Z] 5c2a1cbceb83: Waiting [2022-04-28T08:44:54.563Z] c427282e49a2: Waiting [2022-04-28T08:44:54.563Z] 9f894cec8388: Waiting [2022-04-28T08:44:54.563Z] a8d5f1318db7: Waiting [2022-04-28T08:44:54.563Z] ca983d60f3e2: Waiting [2022-04-28T08:44:54.563Z] caf521ccaac6: Download complete [2022-04-28T08:44:54.563Z] 5c2a1cbceb83: Download complete [2022-04-28T08:44:54.563Z] a8d5f1318db7: Verifying Checksum [2022-04-28T08:44:54.563Z] a8d5f1318db7: Download complete [2022-04-28T08:44:54.823Z] c427282e49a2: Verifying Checksum [2022-04-28T08:44:54.823Z] c427282e49a2: Download complete [2022-04-28T08:44:54.823Z] 3ead6fa29328: Verifying Checksum [2022-04-28T08:44:54.823Z] 3ead6fa29328: Download complete [2022-04-28T08:44:54.823Z] 0714d37db230: Verifying Checksum [2022-04-28T08:44:54.823Z] 0714d37db230: Download complete [2022-04-28T08:44:54.823Z] ac28cf19c067: Download complete [2022-04-28T08:44:54.823Z] ca983d60f3e2: Verifying Checksum [2022-04-28T08:44:54.823Z] ca983d60f3e2: Download complete [2022-04-28T08:44:54.823Z] 9f894cec8388: Verifying Checksum [2022-04-28T08:44:54.823Z] 9f894cec8388: Download complete [2022-04-28T08:44:54.823Z] 1fe172e4850f: Download complete [2022-04-28T08:44:55.084Z] 1827001aaf11: Verifying Checksum [2022-04-28T08:44:55.084Z] 1827001aaf11: Download complete [2022-04-28T08:44:56.496Z] 1fe172e4850f: Pull complete [2022-04-28T08:44:56.496Z] caf521ccaac6: Pull complete [2022-04-28T08:44:57.068Z] 3ead6fa29328: Pull complete [2022-04-28T08:44:57.068Z] 5c2a1cbceb83: Pull complete [2022-04-28T08:44:57.332Z] a8d5f1318db7: Pull complete [2022-04-28T08:44:57.594Z] c427282e49a2: Pull complete [2022-04-28T08:44:59.513Z] 1827001aaf11: Pull complete [2022-04-28T08:44:59.775Z] 0714d37db230: Pull complete [2022-04-28T08:44:59.775Z] ac28cf19c067: Pull complete [2022-04-28T08:45:00.040Z] ca983d60f3e2: Pull complete [2022-04-28T08:45:00.040Z] 9f894cec8388: Pull complete [2022-04-28T08:45:00.040Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-04-28T08:45:00.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T08:45:00.040Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-04-28T08:45:00.119Z] prd-ubuntu20.04-docker-8c-8g-33635 does not seem to be running inside a container [2022-04-28T08:45:00.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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:10003/edgex-devops/py-git-semver:latest cat [2022-04-28T08:45:02.004Z] $ docker top a2182f547c30f4981d65b661ee07b4fa3a5a514953a8214e57d1fb9ea6ac8b67 -eo pid,comm [2022-04-28T08:45:02.073Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-04-28T08:45:02.073Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-28T08:45:02.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-28T08:45:02.115Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-28T08:45:02.248Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-28T08:45:02.255Z] $ docker exec a2182f547c30f4981d65b661ee07b4fa3a5a514953a8214e57d1fb9ea6ac8b67 ssh-agent [2022-04-28T08:45:02.396Z] SSH_AUTH_SOCK=/tmp/ssh-RbLViXckKFDv/agent.34 [2022-04-28T08:45:02.396Z] SSH_AGENT_PID=40 [2022-04-28T08:45:02.404Z] Running ssh-add (command line suppressed) [2022-04-28T08:45:02.540Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_2416054186361203323.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_2416054186361203323.key) [2022-04-28T08:45:02.558Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-28T08:45:02.850Z] + git tag --points-at HEAD [Pipeline] } [2022-04-28T08:45:02.867Z] $ docker exec --env ******** --env ******** a2182f547c30f4981d65b661ee07b4fa3a5a514953a8214e57d1fb9ea6ac8b67 ssh-agent -k [2022-04-28T08:45:02.987Z] unset SSH_AUTH_SOCK; [2022-04-28T08:45:02.987Z] unset SSH_AGENT_PID; [2022-04-28T08:45:02.987Z] echo Agent pid 40 killed; [2022-04-28T08:45:02.997Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-28T08:45:03.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-28T08:45:03.030Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-28T08:45:03.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-28T08:45:03.163Z] $ docker exec a2182f547c30f4981d65b661ee07b4fa3a5a514953a8214e57d1fb9ea6ac8b67 ssh-agent [2022-04-28T08:45:03.292Z] SSH_AUTH_SOCK=/tmp/ssh-GXty3MXB7TZC/agent.74 [2022-04-28T08:45:03.292Z] SSH_AGENT_PID=80 [2022-04-28T08:45:03.298Z] Running ssh-add (command line suppressed) [2022-04-28T08:45:03.425Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_6247923859370238868.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_6247923859370238868.key) [2022-04-28T08:45:03.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-28T08:45:03.729Z] + git semver init [2022-04-28T08:45:03.991Z] 2022-04-28 08:45:03,937 [run_init] DEBUG init version:0.0.0 force:False [2022-04-28T08:45:03.991Z] 2022-04-28 08:45:03,938 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-04-28T08:45:03.991Z] 2022-04-28 08:45:03,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-04-28T08:45:03.991Z] 2022-04-28 08:45:03,939 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144, universal_newlines=False, shell=None, istream=None) [2022-04-28T08:45:04.937Z] 2022-04-28 08:45:04,849 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.git/info/exclude [2022-04-28T08:45:04.937Z] 2022-04-28 08:45:04,850 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 with force:False [2022-04-28T08:45:04.937Z] 2022-04-28 08:45:04,850 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-04-28T08:45:04.937Z] 2022-04-28 08:45:04,855 [execute] INFO git cat-file --batch-check [2022-04-28T08:45:04.937Z] 2022-04-28 08:45:04,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-04-28T08:45:04.937Z] 2022-04-28 08:45:04,861 [execute] INFO git cat-file --batch [2022-04-28T08:45:04.937Z] 2022-04-28 08:45:04,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-04-28T08:45:04.937Z] 2022-04-28 08:45:04,867 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-04-28T08:45:04.937Z] 0.0.0 [Pipeline] } [2022-04-28T08:45:04.952Z] $ docker exec --env ******** --env ******** a2182f547c30f4981d65b661ee07b4fa3a5a514953a8214e57d1fb9ea6ac8b67 ssh-agent -k [2022-04-28T08:45:05.073Z] unset SSH_AUTH_SOCK; [2022-04-28T08:45:05.074Z] unset SSH_AGENT_PID; [2022-04-28T08:45:05.074Z] echo Agent pid 80 killed; [2022-04-28T08:45:05.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-28T08:45:05.395Z] + git semver [Pipeline] } [2022-04-28T08:45:05.674Z] $ docker stop --time=1 a2182f547c30f4981d65b661ee07b4fa3a5a514953a8214e57d1fb9ea6ac8b67 [2022-04-28T08:45:07.029Z] $ docker rm -f a2182f547c30f4981d65b661ee07b4fa3a5a514953a8214e57d1fb9ea6ac8b67 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T08:45:07.379Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-28T08:45:07.673Z] Stashed 1 file(s) [Pipeline] echo [2022-04-28T08:45:07.677Z] [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-28T08:45:07.853Z] provisioning config files... [2022-04-28T08:45:07.864Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config1101911622647142150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:45:08.162Z] ---> docker-login.sh [2022-04-28T08:45:08.162Z] nexus3.edgexfoundry.org:10001 [2022-04-28T08:45:08.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:45:08.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:45:08.163Z] Configure a credential helper to remove this warning. See [2022-04-28T08:45:08.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:45:08.163Z] [2022-04-28T08:45:08.163Z] Login Succeeded [2022-04-28T08:45:08.163Z] nexus3.edgexfoundry.org:10002 [2022-04-28T08:45:08.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:45:08.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:45:08.423Z] Configure a credential helper to remove this warning. See [2022-04-28T08:45:08.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:45:08.423Z] [2022-04-28T08:45:08.423Z] Login Succeeded [2022-04-28T08:45:08.423Z] nexus3.edgexfoundry.org:10003 [2022-04-28T08:45:08.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:45:08.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:45:08.423Z] Configure a credential helper to remove this warning. See [2022-04-28T08:45:08.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:45:08.423Z] [2022-04-28T08:45:08.423Z] Login Succeeded [2022-04-28T08:45:08.423Z] nexus3.edgexfoundry.org:10004 [2022-04-28T08:45:08.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:45:08.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:45:08.684Z] Configure a credential helper to remove this warning. See [2022-04-28T08:45:08.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:45:08.684Z] [2022-04-28T08:45:08.684Z] Login Succeeded [2022-04-28T08:45:08.684Z] docker.io [2022-04-28T08:45:08.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:45:08.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:45:08.945Z] Configure a credential helper to remove this warning. See [2022-04-28T08:45:08.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:45:08.945Z] [2022-04-28T08:45:08.945Z] Login Succeeded [2022-04-28T08:45:08.945Z] ---> docker-login.sh ends [Pipeline] } [2022-04-28T08:45:08.955Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-28T08:45:09.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-28T08:45:09.036Z] ========================================================= [2022-04-28T08:45:09.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-28T08:45:09.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:45:09.356Z] + 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-28T08:45:09.356Z] Sending build context to Docker daemon 9.675MB [2022-04-28T08:45:09.356Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T08:45:09.356Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-28T08:45:09.356Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-28T08:45:09.356Z] 59bf1c3509f3: Pulling fs layer [2022-04-28T08:45:09.356Z] 666ba61612fd: Pulling fs layer [2022-04-28T08:45:09.356Z] 8ed8ca486205: Pulling fs layer [2022-04-28T08:45:09.356Z] 4fe6c5a15a65: Pulling fs layer [2022-04-28T08:45:09.356Z] 22a0e8bec74d: Pulling fs layer [2022-04-28T08:45:09.356Z] ca2b28591e48: Pulling fs layer [2022-04-28T08:45:09.356Z] a51346096db8: Pulling fs layer [2022-04-28T08:45:09.356Z] daebc70d1ce1: Pulling fs layer [2022-04-28T08:45:09.356Z] 0e18a0eac166: Pulling fs layer [2022-04-28T08:45:09.356Z] 22a0e8bec74d: Waiting [2022-04-28T08:45:09.356Z] ca2b28591e48: Waiting [2022-04-28T08:45:09.356Z] a51346096db8: Waiting [2022-04-28T08:45:09.356Z] daebc70d1ce1: Waiting [2022-04-28T08:45:09.356Z] 0e18a0eac166: Waiting [2022-04-28T08:45:09.356Z] 4fe6c5a15a65: Waiting [2022-04-28T08:45:09.356Z] 8ed8ca486205: Verifying Checksum [2022-04-28T08:45:09.356Z] 8ed8ca486205: Download complete [2022-04-28T08:45:09.356Z] 666ba61612fd: Download complete [2022-04-28T08:45:09.618Z] 22a0e8bec74d: Verifying Checksum [2022-04-28T08:45:09.618Z] 22a0e8bec74d: Download complete [2022-04-28T08:45:09.618Z] ca2b28591e48: Verifying Checksum [2022-04-28T08:45:09.618Z] ca2b28591e48: Download complete [2022-04-28T08:45:09.618Z] 59bf1c3509f3: Verifying Checksum [2022-04-28T08:45:09.618Z] 59bf1c3509f3: Download complete [2022-04-28T08:45:09.618Z] a51346096db8: Verifying Checksum [2022-04-28T08:45:09.618Z] a51346096db8: Download complete [2022-04-28T08:45:09.618Z] daebc70d1ce1: Verifying Checksum [2022-04-28T08:45:09.618Z] daebc70d1ce1: Download complete [2022-04-28T08:45:09.618Z] 59bf1c3509f3: Pull complete [2022-04-28T08:45:09.879Z] 666ba61612fd: Pull complete [2022-04-28T08:45:09.879Z] 8ed8ca486205: Pull complete [2022-04-28T08:45:10.140Z] 0e18a0eac166: Verifying Checksum [2022-04-28T08:45:10.140Z] 0e18a0eac166: Download complete [2022-04-28T08:45:10.140Z] 4fe6c5a15a65: Verifying Checksum [2022-04-28T08:45:10.140Z] 4fe6c5a15a65: Download complete [2022-04-28T08:45:14.348Z] 4fe6c5a15a65: Pull complete [2022-04-28T08:45:14.348Z] 22a0e8bec74d: Pull complete [2022-04-28T08:45:14.609Z] ca2b28591e48: Pull complete [2022-04-28T08:45:14.609Z] a51346096db8: Pull complete [2022-04-28T08:45:14.872Z] daebc70d1ce1: Pull complete [2022-04-28T08:45:17.424Z] 0e18a0eac166: Pull complete [2022-04-28T08:45:17.425Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-28T08:45:17.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-28T08:45:17.425Z] ---> f018257e8ee9 [2022-04-28T08:45:17.425Z] Step 3/11 : ARG MAKE=make build [2022-04-28T08:45:18.810Z] ---> Running in fb975b36f803 [2022-04-28T08:45:19.072Z] Removing intermediate container fb975b36f803 [2022-04-28T08:45:19.072Z] ---> 2b9198992bc0 [2022-04-28T08:45:19.072Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-28T08:45:19.072Z] ---> Running in 2d66a76cc41a [2022-04-28T08:45:19.072Z] Removing intermediate container 2d66a76cc41a [2022-04-28T08:45:19.072Z] ---> b2b959bc646d [2022-04-28T08:45:19.072Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T08:45:19.072Z] ---> Running in 828c4bb6a1bb [2022-04-28T08:45:19.332Z] Removing intermediate container 828c4bb6a1bb [2022-04-28T08:45:19.332Z] ---> fb6456cf968c [2022-04-28T08:45:19.332Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T08:45:19.332Z] ---> Running in 36328c739fc0 [2022-04-28T08:45:19.903Z] Removing intermediate container 36328c739fc0 [2022-04-28T08:45:19.903Z] ---> 25431e92570a [2022-04-28T08:45:19.903Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T08:45:19.903Z] ---> Running in 4e5fd519ea11 [2022-04-28T08:45:20.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-28T08:45:21.053Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-28T08:45:21.315Z] OK: 221 MiB in 52 packages [2022-04-28T08:45:21.888Z] Removing intermediate container 4e5fd519ea11 [2022-04-28T08:45:21.888Z] ---> c4f214a03a94 [2022-04-28T08:45:21.888Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-28T08:45:22.149Z] ---> 8bb16bea3407 [2022-04-28T08:45:22.149Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T08:45:22.149Z] ---> Running in a7296142ce9b [2022-04-28T08:45:22.802Z] Still waiting to schedule task [2022-04-28T08:45:22.802Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33631’ [2022-04-28T08:46:00.957Z] Removing intermediate container a7296142ce9b [2022-04-28T08:46:00.957Z] ---> b4ca3d08ccef [2022-04-28T08:46:00.957Z] Step 10/11 : COPY . . [2022-04-28T08:46:00.957Z] ---> 46c63e10a840 [2022-04-28T08:46:00.957Z] Step 11/11 : RUN ${MAKE} [2022-04-28T08:46:00.957Z] ---> Running in 3aa0764a3714 [2022-04-28T08:46:00.957Z] noop [2022-04-28T08:46:00.957Z] Removing intermediate container 3aa0764a3714 [2022-04-28T08:46:00.957Z] ---> ff0f9eca8455 [2022-04-28T08:46:00.957Z] Successfully built ff0f9eca8455 [2022-04-28T08:46:00.957Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:46:01.256Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-28T08:46:01.256Z] . [Pipeline] withDockerContainer [2022-04-28T08:46:01.323Z] prd-ubuntu20.04-docker-8c-8g-33635 does not seem to be running inside a container [2022-04-28T08:46:01.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-28T08:46:02.147Z] $ docker top 90643ec3dbf94b0d17f2c8a4f6bc9c78d3f3829fc2eb62810d338b1beb991a6f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T08:46:02.507Z] + go version [2022-04-28T08:46:02.507Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-28T08:46:02.524Z] $ docker stop --time=1 90643ec3dbf94b0d17f2c8a4f6bc9c78d3f3829fc2eb62810d338b1beb991a6f [2022-04-28T08:46:04.062Z] $ docker rm -f 90643ec3dbf94b0d17f2c8a4f6bc9c78d3f3829fc2eb62810d338b1beb991a6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:46:04.608Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-28T08:46:04.608Z] . [Pipeline] withDockerContainer [2022-04-28T08:46:04.748Z] prd-ubuntu20.04-docker-8c-8g-33635 does not seem to be running inside a container [2022-04-28T08:46:04.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-28T08:46:05.413Z] $ docker top be4a9ee4e467dd4cdb1b8691406e17522883561d282e937e4cd0a1c520e78ade -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-28T08:46:05.791Z] + make test [2022-04-28T08:46:05.791Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-28T08:46:11.080Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-28T08:46:23.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-28T08:46:23.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-28T08:46:23.299Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-28T08:46:23.870Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 23.3% of statements [2022-04-28T08:46:23.870Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-28T08:46:24.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 27.6% of statements [2022-04-28T08:46:24.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.093s coverage: 78.9% of statements [2022-04-28T08:46:24.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.076s coverage: 10.8% of statements [2022-04-28T08:46:24.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.096s coverage: 60.0% of statements [2022-04-28T08:46:24.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-28T08:46:24.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-28T08:46:24.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements [2022-04-28T08:46:24.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-28T08:46:24.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.081s coverage: 86.1% of statements [2022-04-28T08:46:24.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-28T08:46:24.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-28T08:46:24.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 65.1% of statements [2022-04-28T08:46:24.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.932s coverage: 89.2% of statements [2022-04-28T08:46:24.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-28T08:46:24.698Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-04-28T08:46:24.698Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-28T08:46:39.610Z] GO111MODULE=on go vet ./... [2022-04-28T08:46:44.897Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T08:46:44.897Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-28T08:46:44.897Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-28T08:46:44.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-28T08:46:44.927Z] $ docker stop --time=1 be4a9ee4e467dd4cdb1b8691406e17522883561d282e937e4cd0a1c520e78ade [2022-04-28T08:46:47.960Z] $ docker rm -f be4a9ee4e467dd4cdb1b8691406e17522883561d282e937e4cd0a1c520e78ade [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T08:46:48.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-28T08:46:48.508Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-28T08:46:49.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-28T08:46:49.323Z] + ls -al . [2022-04-28T08:46:49.323Z] total 316 [2022-04-28T08:46:49.323Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 08:46 . [2022-04-28T08:46:49.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 08:44 .. [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 08:44 .dockerignore [2022-04-28T08:46:49.323Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 08:45 .git [2022-04-28T08:46:49.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 08:44 .github [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 08:44 .gitignore [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 08:44 .golangci.yml [2022-04-28T08:46:49.323Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 08:45 .semver [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 28 08:44 CHANGELOG.md [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 08:44 GOVERNANCE.md [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 08:44 Jenkinsfile [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 08:44 LICENSE [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 28 08:44 Makefile [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 08:44 OWNERS.md [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 28 08:44 README.md [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 08:45 VERSION [2022-04-28T08:46:49.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 08:44 bin [2022-04-28T08:46:49.323Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 28 08:46 coverage.out [2022-04-28T08:46:49.323Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 08:44 example [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 28 08:44 go.mod [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 53849 Apr 28 08:44 go.sum [2022-04-28T08:46:49.323Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 28 08:44 internal [2022-04-28T08:46:49.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 08:44 openapi [2022-04-28T08:46:49.323Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 08:44 pkg [2022-04-28T08:46:49.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 08:44 snap [2022-04-28T08:46:49.323Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 08:44 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:46:49.621Z] + 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=b72d49ff0aa294b99fec981cfa1e65ad4433cb94 --label arch=amd64 --label version=0.0.0 . [2022-04-28T08:46:49.622Z] Sending build context to Docker daemon 9.806MB [2022-04-28T08:46:49.622Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T08:46:49.622Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-28T08:46:49.622Z] ---> ff0f9eca8455 [2022-04-28T08:46:49.622Z] Step 3/25 : ARG MAKE=make build [2022-04-28T08:46:49.881Z] ---> Running in 7f9b115417d8 [2022-04-28T08:46:49.881Z] Removing intermediate container 7f9b115417d8 [2022-04-28T08:46:49.881Z] ---> b060378b07ce [2022-04-28T08:46:49.881Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-28T08:46:49.881Z] ---> Running in 115d648dfd37 [2022-04-28T08:46:50.140Z] Removing intermediate container 115d648dfd37 [2022-04-28T08:46:50.140Z] ---> 779b4ac5fc7c [2022-04-28T08:46:50.140Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T08:46:50.140Z] ---> Running in cac1d910b861 [2022-04-28T08:46:50.400Z] Removing intermediate container cac1d910b861 [2022-04-28T08:46:50.400Z] ---> 3a5c433da440 [2022-04-28T08:46:50.400Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T08:46:50.400Z] ---> Running in b290b3f9b4b8 [2022-04-28T08:46:50.971Z] Removing intermediate container b290b3f9b4b8 [2022-04-28T08:46:50.971Z] ---> f8a9c87721ad [2022-04-28T08:46:50.971Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T08:46:51.231Z] ---> Running in 9cb3328e0299 [2022-04-28T08:46:51.491Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-28T08:46:52.433Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-28T08:46:52.699Z] OK: 221 MiB in 52 packages [2022-04-28T08:46:52.959Z] Removing intermediate container 9cb3328e0299 [2022-04-28T08:46:52.959Z] ---> 3a491a3f968e [2022-04-28T08:46:52.959Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-28T08:46:53.219Z] ---> f60b80c83681 [2022-04-28T08:46:53.219Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T08:46:53.480Z] ---> Running in 635b342157b2 [2022-04-28T08:46:54.049Z] Removing intermediate container 635b342157b2 [2022-04-28T08:46:54.049Z] ---> 78c1bd3c6f6e [2022-04-28T08:46:54.049Z] Step 10/25 : COPY . . [2022-04-28T08:46:54.630Z] ---> 9df52684a4e8 [2022-04-28T08:46:54.630Z] Step 11/25 : RUN ${MAKE} [2022-04-28T08:46:54.630Z] ---> Running in 8e262353e243 [2022-04-28T08:46:54.895Z] 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-28T08:47:12.990Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-28T08:47:15.527Z] Removing intermediate container 8e262353e243 [2022-04-28T08:47:15.527Z] ---> 85b5867e0066 [2022-04-28T08:47:15.527Z] Step 12/25 : FROM alpine:3.14 [2022-04-28T08:47:16.098Z] 3.14: Pulling from library/alpine [2022-04-28T08:47:16.358Z] 8663204ce13b: Pulling fs layer [2022-04-28T08:47:16.661Z] 8663204ce13b: Verifying Checksum [2022-04-28T08:47:16.661Z] 8663204ce13b: Download complete [2022-04-28T08:47:16.661Z] 8663204ce13b: Pull complete [2022-04-28T08:47:16.661Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-28T08:47:16.661Z] Status: Downloaded newer image for alpine:3.14 [2022-04-28T08:47:16.661Z] ---> e04c818066af [2022-04-28T08:47:16.661Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T08:47:16.923Z] ---> Running in 0bcd185fa219 [2022-04-28T08:47:16.923Z] Removing intermediate container 0bcd185fa219 [2022-04-28T08:47:16.923Z] ---> 62b9969315ec [2022-04-28T08:47:16.923Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T08:47:16.923Z] ---> Running in 55890a95c68e [2022-04-28T08:47:17.494Z] Removing intermediate container 55890a95c68e [2022-04-28T08:47:17.494Z] ---> 1ff4ad6642f6 [2022-04-28T08:47:17.494Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-28T08:47:17.757Z] ---> Running in e3e541d7f246 [2022-04-28T08:47:18.016Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-28T08:47:18.954Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-28T08:47:18.954Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-28T08:47:19.214Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-28T08:47:19.214Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-28T08:47:19.214Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-28T08:47:19.475Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-28T08:47:19.475Z] Executing busybox-1.33.1-r7.trigger [2022-04-28T08:47:19.475Z] OK: 8 MiB in 19 packages [2022-04-28T08:47:20.046Z] Removing intermediate container e3e541d7f246 [2022-04-28T08:47:20.046Z] ---> a506092acc5b [2022-04-28T08:47:20.046Z] Step 16/25 : WORKDIR / [2022-04-28T08:47:20.046Z] ---> Running in 7ac4d78379a7 [2022-04-28T08:47:20.046Z] Removing intermediate container 7ac4d78379a7 [2022-04-28T08:47:20.046Z] ---> 179d7f47448e [2022-04-28T08:47:20.046Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-28T08:47:20.306Z] ---> dc39c7495659 [2022-04-28T08:47:20.306Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-28T08:47:20.875Z] ---> d5fa917bee0d [2022-04-28T08:47:20.875Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-28T08:47:21.151Z] ---> ab4aa728d49d [2022-04-28T08:47:21.151Z] Step 20/25 : EXPOSE 59999 [2022-04-28T08:47:21.151Z] ---> Running in e973f7e4bcb8 [2022-04-28T08:47:21.151Z] Removing intermediate container e973f7e4bcb8 [2022-04-28T08:47:21.151Z] ---> 766464a1c8fb [2022-04-28T08:47:21.151Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-28T08:47:21.411Z] ---> Running in 73742bf13bef [2022-04-28T08:47:21.411Z] Removing intermediate container 73742bf13bef [2022-04-28T08:47:21.411Z] ---> de8a023f9709 [2022-04-28T08:47:21.411Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-28T08:47:21.411Z] ---> Running in d2fb5b78e3a5 [2022-04-28T08:47:21.671Z] Removing intermediate container d2fb5b78e3a5 [2022-04-28T08:47:21.671Z] ---> e02f516d27af [2022-04-28T08:47:21.671Z] Step 23/25 : LABEL arch=amd64 [2022-04-28T08:47:21.671Z] ---> Running in 0067499016dd [2022-04-28T08:47:21.671Z] Removing intermediate container 0067499016dd [2022-04-28T08:47:21.671Z] ---> 966e9dc6bbe0 [2022-04-28T08:47:21.671Z] Step 24/25 : LABEL git_sha=b72d49ff0aa294b99fec981cfa1e65ad4433cb94 [2022-04-28T08:47:21.671Z] ---> Running in 7222e59e8314 [2022-04-28T08:47:21.933Z] Removing intermediate container 7222e59e8314 [2022-04-28T08:47:21.933Z] ---> 8006322e4274 [2022-04-28T08:47:21.933Z] Step 25/25 : LABEL version=0.0.0 [2022-04-28T08:47:21.933Z] ---> Running in 89e86bbaf8d5 [2022-04-28T08:47:22.194Z] Removing intermediate container 89e86bbaf8d5 [2022-04-28T08:47:22.194Z] ---> cee43f797153 [2022-04-28T08:47:22.194Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-28T08:47:22.194Z] Successfully built cee43f797153 [2022-04-28T08:47:22.194Z] 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-28T08:47:22.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T08:47:22.613Z] [2022-04-28T08:47:22.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:47:22.917Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T08:47:22.917Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-28T08:47:22.917Z] 5eb5b503b376: Pulling fs layer [2022-04-28T08:47:22.917Z] 5c69ac0246d0: Pulling fs layer [2022-04-28T08:47:22.917Z] ec43610c2a17: Pulling fs layer [2022-04-28T08:47:22.917Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-28T08:47:22.917Z] 33b1e0a273af: Pulling fs layer [2022-04-28T08:47:22.917Z] 5d3b04190fa2: Pulling fs layer [2022-04-28T08:47:22.917Z] 2f39f015ded8: Pulling fs layer [2022-04-28T08:47:22.917Z] 3a2ae6a8a46f: Waiting [2022-04-28T08:47:22.917Z] 5d3b04190fa2: Waiting [2022-04-28T08:47:22.917Z] 33b1e0a273af: Waiting [2022-04-28T08:47:22.917Z] 2f39f015ded8: Waiting [2022-04-28T08:47:22.917Z] 5c69ac0246d0: Download complete [2022-04-28T08:47:22.917Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-28T08:47:22.917Z] 3a2ae6a8a46f: Download complete [2022-04-28T08:47:22.917Z] 33b1e0a273af: Verifying Checksum [2022-04-28T08:47:22.917Z] 33b1e0a273af: Download complete [2022-04-28T08:47:22.917Z] 5d3b04190fa2: Verifying Checksum [2022-04-28T08:47:22.917Z] 5d3b04190fa2: Download complete [2022-04-28T08:47:22.917Z] ec43610c2a17: Verifying Checksum [2022-04-28T08:47:22.917Z] ec43610c2a17: Download complete [2022-04-28T08:47:23.175Z] 5eb5b503b376: Verifying Checksum [2022-04-28T08:47:23.175Z] 5eb5b503b376: Download complete [2022-04-28T08:47:23.744Z] 2f39f015ded8: Download complete [2022-04-28T08:47:24.684Z] 5eb5b503b376: Pull complete [2022-04-28T08:47:24.684Z] 5c69ac0246d0: Pull complete [2022-04-28T08:47:25.259Z] ec43610c2a17: Pull complete [2022-04-28T08:47:25.259Z] 3a2ae6a8a46f: Pull complete [2022-04-28T08:47:25.520Z] 33b1e0a273af: Pull complete [2022-04-28T08:47:25.520Z] 5d3b04190fa2: Pull complete [2022-04-28T08:47:30.802Z] 2f39f015ded8: Pull complete [2022-04-28T08:47:30.802Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-28T08:47:30.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T08:47:30.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-28T08:47:30.867Z] prd-ubuntu20.04-docker-8c-8g-33635 does not seem to be running inside a container [2022-04-28T08:47:30.911Z] $ 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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-28T08:47:33.495Z] $ docker top 1ac38f6840ebfb1b8d44699bfbb80167b221c0a131a42dba0847c8ed10ea68b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:47:33.978Z] ---> job-cost.sh [2022-04-28T08:47:33.978Z] lf-activate-venv: SKIPPING [2022-04-28T08:47:33.978Z] INFO: No Stack... [2022-04-28T08:47:34.277Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-28T08:47:34.537Z] INFO: Archiving Costs [Pipeline] sh [2022-04-28T08:47:34.839Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv [2022-04-28T08:47:34.839Z] + cut -d, -f6 [Pipeline] lock [2022-04-28T08:47:34.856Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-7-stack-cost] [2022-04-28T08:47:34.862Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-7-stack-cost] did not exist. Created. [2022-04-28T08:47:34.862Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-28T08:47:35.175Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-28T08:47:35.202Z] Stashed 1 file(s) [Pipeline] } [2022-04-28T08:47:35.211Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-28T08:47:35.237Z] $ docker stop --time=1 1ac38f6840ebfb1b8d44699bfbb80167b221c0a131a42dba0847c8ed10ea68b4 [2022-04-28T08:47:36.446Z] $ docker rm -f 1ac38f6840ebfb1b8d44699bfbb80167b221c0a131a42dba0847c8ed10ea68b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-28T08:48:20.261Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33638 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws [2022-04-28T08:48:20.275Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2022-04-28T08:48:20.807Z] The recommended git tool is: git [2022-04-28T08:48:28.905Z] using credential edgex-jenkins-ssh [2022-04-28T08:48:28.929Z] Cloning the remote Git repository [2022-04-28T08:48:29.014Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-28T08:48:29.114Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2022-04-28T08:48:29.235Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-28T08:48:29.236Z] > git --version # timeout=10 [2022-04-28T08:48:29.263Z] > git --version # 'git version 2.25.1' [2022-04-28T08:48:29.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T08:48:29.370Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-28T08:48:31.277Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-28T08:48:31.299Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-28T08:48:32.083Z] Merging remotes/origin/main commit b2d7386986501f8c504e256bc873431da18a2db4 into PR head commit b72d49ff0aa294b99fec981cfa1e65ad4433cb94 [2022-04-28T08:48:32.449Z] Merge succeeded, producing b72d49ff0aa294b99fec981cfa1e65ad4433cb94 [2022-04-28T08:48:32.450Z] Checking out Revision b72d49ff0aa294b99fec981cfa1e65ad4433cb94 (PR-1144) [2022-04-28T08:48:31.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-28T08:48:31.396Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-28T08:48:31.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T08:48:31.416Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-28T08:48:32.123Z] > git config core.sparsecheckout # timeout=10 [2022-04-28T08:48:32.147Z] > git checkout -f b72d49ff0aa294b99fec981cfa1e65ad4433cb94 # timeout=10 [2022-04-28T08:48:32.319Z] > git remote # timeout=10 [2022-04-28T08:48:32.342Z] > git config --get remote.origin.url # timeout=10 [2022-04-28T08:48:32.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T08:48:32.389Z] > git merge b2d7386986501f8c504e256bc873431da18a2db4 # timeout=10 [2022-04-28T08:48:32.431Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-28T08:48:32.463Z] > git config core.sparsecheckout # timeout=10 [2022-04-28T08:48:32.490Z] > git checkout -f b72d49ff0aa294b99fec981cfa1e65ad4433cb94 # timeout=10 [2022-04-28T08:48:36.945Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T08:48:37.826Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-28T08:48:37.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-28T08:48:37.826Z] Dload Upload Total Spent Left Speed [2022-04-28T08:48:37.826Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-04-28T08:48:38.397Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-28T08:48:38.745Z] + sudo tee /etc/docker/daemon.new [2022-04-28T08:48:38.745Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-28T08:48:38.745Z] { [2022-04-28T08:48:38.745Z] "registry-mirrors": [ [2022-04-28T08:48:38.745Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-28T08:48:38.745Z] ], [2022-04-28T08:48:38.745Z] "bip": "10.250.0.254/24", [2022-04-28T08:48:38.745Z] "hosts": [ [2022-04-28T08:48:38.745Z] "tcp://0.0.0.0:5555", [2022-04-28T08:48:38.745Z] "unix:///var/run/docker.sock" [2022-04-28T08:48:38.745Z] ], [2022-04-28T08:48:38.745Z] "mtu": 1458, [2022-04-28T08:48:38.745Z] "selinux-enabled": true, [2022-04-28T08:48:38.745Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-28T08:48:38.745Z] } [Pipeline] sh [2022-04-28T08:48:39.102Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-28T08:48:39.470Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T08:48:57.850Z] provisioning config files... [2022-04-28T08:48:57.877Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1574750156195914219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:48:58.240Z] ---> docker-login.sh [2022-04-28T08:48:58.240Z] nexus3.edgexfoundry.org:10001 [2022-04-28T08:48:58.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:48:59.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:48:59.112Z] Configure a credential helper to remove this warning. See [2022-04-28T08:48:59.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:48:59.112Z] [2022-04-28T08:48:59.112Z] Login Succeeded [2022-04-28T08:48:59.112Z] nexus3.edgexfoundry.org:10002 [2022-04-28T08:48:59.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:48:59.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:48:59.660Z] Configure a credential helper to remove this warning. See [2022-04-28T08:48:59.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:48:59.660Z] [2022-04-28T08:48:59.660Z] Login Succeeded [2022-04-28T08:48:59.660Z] nexus3.edgexfoundry.org:10003 [2022-04-28T08:48:59.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:48:59.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:48:59.934Z] Configure a credential helper to remove this warning. See [2022-04-28T08:48:59.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:48:59.934Z] [2022-04-28T08:48:59.934Z] Login Succeeded [2022-04-28T08:48:59.934Z] nexus3.edgexfoundry.org:10004 [2022-04-28T08:49:00.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:49:00.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:49:00.492Z] Configure a credential helper to remove this warning. See [2022-04-28T08:49:00.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:49:00.492Z] [2022-04-28T08:49:00.492Z] Login Succeeded [2022-04-28T08:49:00.492Z] docker.io [2022-04-28T08:49:00.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-28T08:49:01.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-28T08:49:01.366Z] Configure a credential helper to remove this warning. See [2022-04-28T08:49:01.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-28T08:49:01.367Z] [2022-04-28T08:49:01.367Z] Login Succeeded [2022-04-28T08:49:01.367Z] ---> docker-login.sh ends [Pipeline] } [2022-04-28T08:49:01.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-28T08:49:01.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-28T08:49:01.862Z] ========================================================= [2022-04-28T08:49:01.862Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-28T08:49:01.862Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:49:02.253Z] + 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-28T08:49:02.527Z] Sending build context to Docker daemon 5.209MB [2022-04-28T08:49:02.799Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T08:49:02.799Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-28T08:49:02.799Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-28T08:49:02.799Z] 9b3977197b4f: Pulling fs layer [2022-04-28T08:49:02.799Z] 1a89e8eeedd5: Pulling fs layer [2022-04-28T08:49:02.799Z] 94645a83ff95: Pulling fs layer [2022-04-28T08:49:02.799Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-28T08:49:02.799Z] 0c92f367c5e7: Pulling fs layer [2022-04-28T08:49:02.799Z] 3096ccb668a1: Pulling fs layer [2022-04-28T08:49:02.799Z] e8cf19c19ddd: Pulling fs layer [2022-04-28T08:49:02.799Z] a4caa8a26152: Pulling fs layer [2022-04-28T08:49:02.799Z] 3096ccb668a1: Waiting [2022-04-28T08:49:02.799Z] e8cf19c19ddd: Waiting [2022-04-28T08:49:02.799Z] a4caa8a26152: Waiting [2022-04-28T08:49:02.799Z] 0c92f367c5e7: Waiting [2022-04-28T08:49:02.799Z] 3f3a8bcf1eab: Waiting [2022-04-28T08:49:02.799Z] 94645a83ff95: Download complete [2022-04-28T08:49:02.799Z] 1a89e8eeedd5: Verifying Checksum [2022-04-28T08:49:02.799Z] 1a89e8eeedd5: Download complete [2022-04-28T08:49:03.088Z] 0c92f367c5e7: Verifying Checksum [2022-04-28T08:49:03.088Z] 0c92f367c5e7: Download complete [2022-04-28T08:49:03.088Z] 3096ccb668a1: Verifying Checksum [2022-04-28T08:49:03.088Z] 3096ccb668a1: Download complete [2022-04-28T08:49:03.088Z] 9b3977197b4f: Verifying Checksum [2022-04-28T08:49:03.088Z] 9b3977197b4f: Download complete [2022-04-28T08:49:03.088Z] e8cf19c19ddd: Verifying Checksum [2022-04-28T08:49:03.088Z] e8cf19c19ddd: Download complete [2022-04-28T08:49:03.688Z] 9b3977197b4f: Pull complete [2022-04-28T08:49:04.290Z] 1a89e8eeedd5: Pull complete [2022-04-28T08:49:04.572Z] 94645a83ff95: Pull complete [2022-04-28T08:49:05.172Z] a4caa8a26152: Verifying Checksum [2022-04-28T08:49:05.172Z] a4caa8a26152: Download complete [2022-04-28T08:49:05.770Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-28T08:49:05.770Z] 3f3a8bcf1eab: Download complete [2022-04-28T08:49:20.889Z] 3f3a8bcf1eab: Pull complete [2022-04-28T08:49:20.889Z] 0c92f367c5e7: Pull complete [2022-04-28T08:49:20.889Z] 3096ccb668a1: Pull complete [2022-04-28T08:49:20.889Z] e8cf19c19ddd: Pull complete [2022-04-28T08:49:26.321Z] a4caa8a26152: Pull complete [2022-04-28T08:49:26.321Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-28T08:49:26.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-28T08:49:26.322Z] ---> 725f1c02e7f9 [2022-04-28T08:49:26.322Z] Step 3/11 : ARG MAKE=make build [2022-04-28T08:49:27.323Z] ---> Running in ecce6fea1377 [2022-04-28T08:49:27.943Z] Removing intermediate container ecce6fea1377 [2022-04-28T08:49:27.943Z] ---> 790623d5bdfc [2022-04-28T08:49:27.943Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-28T08:49:27.943Z] ---> Running in 23c264d3ebab [2022-04-28T08:49:28.221Z] Removing intermediate container 23c264d3ebab [2022-04-28T08:49:28.221Z] ---> 9cce3f073762 [2022-04-28T08:49:28.221Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T08:49:28.221Z] ---> Running in c8aeb3f7cff1 [2022-04-28T08:49:28.827Z] Removing intermediate container c8aeb3f7cff1 [2022-04-28T08:49:28.827Z] ---> 8213dbf42446 [2022-04-28T08:49:28.827Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T08:49:28.827Z] ---> Running in 38544e31496e [2022-04-28T08:49:32.243Z] Removing intermediate container 38544e31496e [2022-04-28T08:49:32.243Z] ---> 966a90c1511c [2022-04-28T08:49:32.243Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T08:49:32.243Z] ---> Running in 7268a96ae723 [2022-04-28T08:49:32.845Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-28T08:49:37.158Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-28T08:49:42.564Z] OK: 220 MiB in 52 packages [2022-04-28T08:49:42.564Z] Removing intermediate container 7268a96ae723 [2022-04-28T08:49:42.564Z] ---> dd50e888e4dc [2022-04-28T08:49:42.564Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-28T08:49:43.161Z] ---> 5270d082717d [2022-04-28T08:49:43.161Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T08:49:43.161Z] ---> Running in 514dd9e4c9b0 [2022-04-28T08:50:39.774Z] Removing intermediate container 514dd9e4c9b0 [2022-04-28T08:50:39.774Z] ---> de9bc755a90f [2022-04-28T08:50:39.774Z] Step 10/11 : COPY . . [2022-04-28T08:50:39.774Z] ---> 455725b474d0 [2022-04-28T08:50:39.774Z] Step 11/11 : RUN ${MAKE} [2022-04-28T08:50:39.774Z] ---> Running in 591e0fe0169f [2022-04-28T08:50:39.774Z] noop [2022-04-28T08:50:39.774Z] Removing intermediate container 591e0fe0169f [2022-04-28T08:50:39.774Z] ---> d822703ad7fa [2022-04-28T08:50:39.774Z] Successfully built d822703ad7fa [2022-04-28T08:50:39.774Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:50:40.134Z] + docker inspect -f . ci-base-image-arm64 [2022-04-28T08:50:40.134Z] . [Pipeline] withDockerContainer [2022-04-28T08:50:40.416Z] prd-ubuntu20.04-docker-arm64-4c-16g-33638 does not seem to be running inside a container [2022-04-28T08:50:40.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-28T08:50:41.964Z] $ docker top 8d8abf0a06323a8d5c2e0813d76fc0b064bd3cb75affd3917d3700ee5385b1bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T08:50:42.926Z] + go version [2022-04-28T08:50:42.926Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-28T08:50:42.954Z] $ docker stop --time=1 8d8abf0a06323a8d5c2e0813d76fc0b064bd3cb75affd3917d3700ee5385b1bf [2022-04-28T08:50:44.661Z] $ docker rm -f 8d8abf0a06323a8d5c2e0813d76fc0b064bd3cb75affd3917d3700ee5385b1bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:50:45.321Z] + docker inspect -f . ci-base-image-arm64 [2022-04-28T08:50:45.321Z] . [Pipeline] withDockerContainer [2022-04-28T08:50:45.583Z] prd-ubuntu20.04-docker-arm64-4c-16g-33638 does not seem to be running inside a container [2022-04-28T08:50:45.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-28T08:50:47.084Z] $ docker top eaf3a216883bfbea5ca547d2fea93539bd73a94aac61eb0571903b8423133279 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-28T08:50:48.067Z] + make test [2022-04-28T08:50:48.067Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-28T08:51:27.137Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-28T08:53:19.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-28T08:53:19.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-28T08:53:19.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-28T08:53:29.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.380s coverage: 23.3% of statements [2022-04-28T08:53:29.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-28T08:53:29.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.277s coverage: 27.6% of statements [2022-04-28T08:53:29.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.365s coverage: 78.9% of statements [2022-04-28T08:53:29.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.261s coverage: 10.8% of statements [2022-04-28T08:53:34.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.415s coverage: 60.0% of statements [2022-04-28T08:53:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-28T08:53:34.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-28T08:53:38.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.457s coverage: 34.8% of statements [2022-04-28T08:53:38.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-28T08:53:40.225Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.375s coverage: 86.1% of statements [2022-04-28T08:53:40.225Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-28T08:53:40.225Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-28T08:53:40.225Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.501s coverage: 65.1% of statements [2022-04-28T08:53:44.571Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.564s coverage: 89.2% of statements [2022-04-28T08:53:44.571Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-28T08:53:46.567Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.271s coverage: 4.7% of statements [2022-04-28T08:53:46.567Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-28T08:53:47.168Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-28T08:53:47.168Z] GO111MODULE=on go vet ./... [2022-04-28T08:55:39.177Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T08:55:39.177Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-28T08:55:39.177Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-28T08:55:39.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-28T08:55:39.225Z] $ docker stop --time=1 eaf3a216883bfbea5ca547d2fea93539bd73a94aac61eb0571903b8423133279 [2022-04-28T08:55:41.091Z] $ docker rm -f eaf3a216883bfbea5ca547d2fea93539bd73a94aac61eb0571903b8423133279 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T08:55:42.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-28T08:55:42.595Z] Warning: overwriting stash ‘coverage-report’ [2022-04-28T08:55:43.258Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T08:55:43.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-28T08:55:43.988Z] + ls -al . [2022-04-28T08:55:43.988Z] total 312 [2022-04-28T08:55:43.988Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 08:55 . [2022-04-28T08:55:43.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 08:48 .. [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 08:48 .dockerignore [2022-04-28T08:55:43.988Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 08:48 .git [2022-04-28T08:55:43.988Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 08:48 .github [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 08:48 .gitignore [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 08:48 .golangci.yml [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 28 08:48 CHANGELOG.md [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 08:48 GOVERNANCE.md [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 08:48 Jenkinsfile [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 08:48 LICENSE [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 28 08:48 Makefile [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 08:48 OWNERS.md [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 28 08:48 README.md [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 08:45 VERSION [2022-04-28T08:55:43.988Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 08:48 bin [2022-04-28T08:55:43.988Z] -rw-r--r-- 1 jenkins jenkins 130818 Apr 28 08:53 coverage.out [2022-04-28T08:55:43.988Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 08:48 example [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 28 08:48 go.mod [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 53849 Apr 28 08:48 go.sum [2022-04-28T08:55:43.988Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 28 08:48 internal [2022-04-28T08:55:43.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 08:48 openapi [2022-04-28T08:55:43.988Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 08:48 pkg [2022-04-28T08:55:43.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 08:48 snap [2022-04-28T08:55:43.988Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 08:48 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:55:44.332Z] + 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=b72d49ff0aa294b99fec981cfa1e65ad4433cb94 --label arch=arm64 --label version=0.0.0 . [2022-04-28T08:55:44.932Z] Sending build context to Docker daemon 5.341MB [2022-04-28T08:55:44.933Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-28T08:55:44.933Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-28T08:55:44.933Z] ---> d822703ad7fa [2022-04-28T08:55:44.933Z] Step 3/25 : ARG MAKE=make build [2022-04-28T08:55:44.933Z] ---> Running in c765e05e8582 [2022-04-28T08:55:45.211Z] Removing intermediate container c765e05e8582 [2022-04-28T08:55:45.211Z] ---> 4c34809df68c [2022-04-28T08:55:45.211Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-28T08:55:45.490Z] ---> Running in 4a607deeb145 [2022-04-28T08:55:45.765Z] Removing intermediate container 4a607deeb145 [2022-04-28T08:55:45.765Z] ---> fd441939847d [2022-04-28T08:55:45.765Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T08:55:45.765Z] ---> Running in 7e09547d0517 [2022-04-28T08:55:46.045Z] Removing intermediate container 7e09547d0517 [2022-04-28T08:55:46.045Z] ---> 9fc047c1bc21 [2022-04-28T08:55:46.045Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T08:55:46.326Z] ---> Running in 552d1dfc35ba [2022-04-28T08:55:48.312Z] Removing intermediate container 552d1dfc35ba [2022-04-28T08:55:48.312Z] ---> c37f656f54c6 [2022-04-28T08:55:48.312Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-28T08:55:48.312Z] ---> Running in 4f80bc6e6960 [2022-04-28T08:55:49.295Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-28T08:55:49.900Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-28T08:55:50.888Z] OK: 220 MiB in 52 packages [2022-04-28T08:55:51.875Z] Removing intermediate container 4f80bc6e6960 [2022-04-28T08:55:51.875Z] ---> 305855017bd3 [2022-04-28T08:55:51.875Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-28T08:55:52.477Z] ---> 6fa8ddbd87fb [2022-04-28T08:55:52.477Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-28T08:55:52.477Z] ---> Running in 0a663cd3f8b2 [2022-04-28T08:55:54.461Z] Removing intermediate container 0a663cd3f8b2 [2022-04-28T08:55:54.461Z] ---> 9a3a318f75b2 [2022-04-28T08:55:54.461Z] Step 10/25 : COPY . . [2022-04-28T08:55:55.908Z] ---> a06fc0b9d5c0 [2022-04-28T08:55:55.908Z] Step 11/25 : RUN ${MAKE} [2022-04-28T08:55:55.908Z] ---> Running in facb641dec48 [2022-04-28T08:55:56.889Z] 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-28T08:58:18.791Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-28T08:58:18.791Z] Removing intermediate container facb641dec48 [2022-04-28T08:58:18.791Z] ---> ec4c271c4404 [2022-04-28T08:58:18.791Z] Step 12/25 : FROM alpine:3.14 [2022-04-28T08:58:18.791Z] 3.14: Pulling from library/alpine [2022-04-28T08:58:18.791Z] 455c02918c45: Pulling fs layer [2022-04-28T08:58:18.791Z] 455c02918c45: Download complete [2022-04-28T08:58:18.791Z] 455c02918c45: Pull complete [2022-04-28T08:58:18.791Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-28T08:58:18.791Z] Status: Downloaded newer image for alpine:3.14 [2022-04-28T08:58:18.791Z] ---> ac73e934f311 [2022-04-28T08:58:18.791Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-28T08:58:18.791Z] ---> Running in a741cb9ae9d5 [2022-04-28T08:58:18.791Z] Removing intermediate container a741cb9ae9d5 [2022-04-28T08:58:18.791Z] ---> 426b449ce90f [2022-04-28T08:58:18.791Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-28T08:58:18.791Z] ---> Running in 74cabf5571a1 [2022-04-28T08:58:18.791Z] Removing intermediate container 74cabf5571a1 [2022-04-28T08:58:18.791Z] ---> 41c88b978d65 [2022-04-28T08:58:18.791Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-28T08:58:18.791Z] ---> Running in 1168b97767b8 [2022-04-28T08:58:18.791Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-28T08:58:19.066Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-28T08:58:20.049Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-28T08:58:20.049Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-28T08:58:20.049Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-28T08:58:20.049Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-28T08:58:20.325Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-28T08:58:20.325Z] Executing busybox-1.33.1-r7.trigger [2022-04-28T08:58:20.325Z] OK: 8 MiB in 19 packages [2022-04-28T08:58:21.325Z] Removing intermediate container 1168b97767b8 [2022-04-28T08:58:21.325Z] ---> 2e826df9a5c9 [2022-04-28T08:58:21.325Z] Step 16/25 : WORKDIR / [2022-04-28T08:58:21.325Z] ---> Running in fcb0b3c942ac [2022-04-28T08:58:21.600Z] Removing intermediate container fcb0b3c942ac [2022-04-28T08:58:21.600Z] ---> dba4697116a4 [2022-04-28T08:58:21.600Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-28T08:58:22.194Z] ---> 8b228366ba8d [2022-04-28T08:58:22.194Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-28T08:58:23.644Z] ---> 41054f0577fe [2022-04-28T08:58:23.644Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-28T08:58:24.254Z] ---> cf8821186dc4 [2022-04-28T08:58:24.254Z] Step 20/25 : EXPOSE 59999 [2022-04-28T08:58:24.535Z] ---> Running in e0c6332cacc4 [2022-04-28T08:58:24.809Z] Removing intermediate container e0c6332cacc4 [2022-04-28T08:58:24.809Z] ---> 65b8e740859d [2022-04-28T08:58:24.809Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-28T08:58:24.809Z] ---> Running in ae7755625e87 [2022-04-28T08:58:25.087Z] Removing intermediate container ae7755625e87 [2022-04-28T08:58:25.087Z] ---> d8d00a62e70e [2022-04-28T08:58:25.087Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-28T08:58:25.087Z] ---> Running in 622d557f42d4 [2022-04-28T08:58:25.377Z] Removing intermediate container 622d557f42d4 [2022-04-28T08:58:25.377Z] ---> e0254a590113 [2022-04-28T08:58:25.377Z] Step 23/25 : LABEL arch=arm64 [2022-04-28T08:58:25.656Z] ---> Running in f83d23484107 [2022-04-28T08:58:25.927Z] Removing intermediate container f83d23484107 [2022-04-28T08:58:25.927Z] ---> ddd9752d6576 [2022-04-28T08:58:25.927Z] Step 24/25 : LABEL git_sha=b72d49ff0aa294b99fec981cfa1e65ad4433cb94 [2022-04-28T08:58:25.927Z] ---> Running in 55d471770068 [2022-04-28T08:58:26.204Z] Removing intermediate container 55d471770068 [2022-04-28T08:58:26.204Z] ---> d87356a314af [2022-04-28T08:58:26.204Z] Step 25/25 : LABEL version=0.0.0 [2022-04-28T08:58:26.204Z] ---> Running in e27776ef0598 [2022-04-28T08:58:26.804Z] Removing intermediate container e27776ef0598 [2022-04-28T08:58:26.804Z] ---> 1d743d7e524f [2022-04-28T08:58:26.804Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-28T08:58:26.804Z] Successfully built 1d743d7e524f [2022-04-28T08:58:26.804Z] 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-28T08:58:27.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T08:58:27.243Z] [2022-04-28T08:58:27.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:58:27.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T08:58:27.868Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-28T08:58:27.868Z] 8998bd30e6a1: Pulling fs layer [2022-04-28T08:58:27.868Z] 04944245beec: Pulling fs layer [2022-04-28T08:58:27.868Z] 699f458cf7ca: Pulling fs layer [2022-04-28T08:58:27.868Z] 765212b225bb: Pulling fs layer [2022-04-28T08:58:27.868Z] f23df028b6ca: Pulling fs layer [2022-04-28T08:58:27.868Z] d65c8cfc05b1: Pulling fs layer [2022-04-28T08:58:27.868Z] 2437ff75d9bd: Pulling fs layer [2022-04-28T08:58:27.868Z] 765212b225bb: Waiting [2022-04-28T08:58:27.868Z] f23df028b6ca: Waiting [2022-04-28T08:58:27.868Z] d65c8cfc05b1: Waiting [2022-04-28T08:58:27.868Z] 2437ff75d9bd: Waiting [2022-04-28T08:58:27.868Z] 04944245beec: Verifying Checksum [2022-04-28T08:58:27.868Z] 04944245beec: Download complete [2022-04-28T08:58:27.868Z] 765212b225bb: Verifying Checksum [2022-04-28T08:58:27.868Z] 765212b225bb: Download complete [2022-04-28T08:58:27.868Z] f23df028b6ca: Download complete [2022-04-28T08:58:27.868Z] d65c8cfc05b1: Download complete [2022-04-28T08:58:28.147Z] 699f458cf7ca: Verifying Checksum [2022-04-28T08:58:28.147Z] 699f458cf7ca: Download complete [2022-04-28T08:58:28.420Z] 8998bd30e6a1: Verifying Checksum [2022-04-28T08:58:28.420Z] 8998bd30e6a1: Download complete [2022-04-28T08:58:31.043Z] 2437ff75d9bd: Verifying Checksum [2022-04-28T08:58:33.028Z] 8998bd30e6a1: Pull complete [2022-04-28T08:58:33.301Z] 04944245beec: Pull complete [2022-04-28T08:58:34.733Z] 699f458cf7ca: Pull complete [2022-04-28T08:58:35.007Z] 765212b225bb: Pull complete [2022-04-28T08:58:35.986Z] f23df028b6ca: Pull complete [2022-04-28T08:58:36.302Z] d65c8cfc05b1: Pull complete [2022-04-28T08:58:51.457Z] 2437ff75d9bd: Pull complete [2022-04-28T08:58:51.457Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-28T08:58:51.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T08:58:51.457Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-28T08:58:51.724Z] prd-ubuntu20.04-docker-arm64-4c-16g-33638 does not seem to be running inside a container [2022-04-28T08:58:51.821Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-28T08:58:54.709Z] $ docker top d3ce7a5b65dc896fa6d8b3a0eefc1c2447a2b8a491fd6a6e0ac031a3b7fcf178 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:58:55.657Z] ---> job-cost.sh [2022-04-28T08:58:55.657Z] lf-activate-venv: SKIPPING [2022-04-28T08:58:55.657Z] INFO: No Stack... [2022-04-28T08:58:55.933Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-28T08:58:56.919Z] INFO: Archiving Costs [Pipeline] sh [2022-04-28T08:58:57.591Z] + + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2022-04-28T08:58:57.591Z] cut -d, -f6 [Pipeline] lock [2022-04-28T08:58:57.669Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-7-stack-cost] [2022-04-28T08:58:57.676Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-7-stack-cost] did not exist. Created. [2022-04-28T08:58:57.676Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-28T08:58:58.383Z] /w/workspace/device-sdk-go/7@tmp/durable-149e75ef/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-28T08:58:59.073Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-28T08:58:59.102Z] Warning: overwriting stash ‘stack-cost’ [2022-04-28T08:58:59.180Z] Stashed 1 file(s) [Pipeline] } [2022-04-28T08:58:59.187Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-28T08:58:59.211Z] $ docker stop --time=1 d3ce7a5b65dc896fa6d8b3a0eefc1c2447a2b8a491fd6a6e0ac031a3b7fcf178 [2022-04-28T08:59:00.778Z] $ docker rm -f d3ce7a5b65dc896fa6d8b3a0eefc1c2447a2b8a491fd6a6e0ac031a3b7fcf178 [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-28T08:59:01.231Z] provisioning config files... [2022-04-28T08:59:01.239Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config6505482981052356433tmp [Pipeline] { [Pipeline] sh [2022-04-28T08:59:01.536Z] + set +x [2022-04-28T08:59:01.536Z] + bash -s -- [2022-04-28T08:59:01.536Z] + curl -s https://codecov.io/bash [2022-04-28T08:59:01.536Z] [2022-04-28T08:59:01.536Z] _____ _ [2022-04-28T08:59:01.536Z] / ____| | | [2022-04-28T08:59:01.536Z] | | ___ __| | ___ ___ _____ __ [2022-04-28T08:59:01.536Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-28T08:59:01.536Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-28T08:59:01.536Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-28T08:59:01.536Z] Bash-1.0.6 [2022-04-28T08:59:01.536Z] [2022-04-28T08:59:01.536Z] [2022-04-28T08:59:01.536Z] ==> git version 2.25.1 found [2022-04-28T08:59:01.536Z] ==> 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-28T08:59:01.536Z] Release-Date: 2020-01-08 [2022-04-28T08:59:01.536Z] 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-28T08:59:01.536Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-28T08:59:01.536Z] ==> Jenkins CI detected. [2022-04-28T08:59:01.536Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-28T08:59:01.536Z] project root: . [2022-04-28T08:59:01.536Z] --> token set from env [2022-04-28T08:59:01.536Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-28T08:59:01.536Z] ==> Running gcov in . (disable via -X gcov) [2022-04-28T08:59:01.536Z] ==> Python coveragepy not found [2022-04-28T08:59:01.536Z] ==> Searching for coverage reports in: [2022-04-28T08:59:01.536Z] + . [2022-04-28T08:59:01.536Z] -> Found 1 reports [2022-04-28T08:59:01.536Z] ==> Detecting git/mercurial file structure [2022-04-28T08:59:01.536Z] ==> Reading reports [2022-04-28T08:59:01.536Z] + ./coverage.out bytes=130818 [2022-04-28T08:59:01.536Z] ==> Appending adjustments [2022-04-28T08:59:01.536Z] https://docs.codecov.io/docs/fixing-reports [2022-04-28T08:59:01.795Z] + Found adjustments [2022-04-28T08:59:01.795Z] ==> Gzipping contents [2022-04-28T08:59:01.795Z] 20K /tmp/codecov.HE4PdB.gz [2022-04-28T08:59:01.795Z] ==> Uploading reports [2022-04-28T08:59:01.795Z] url: https://codecov.io [2022-04-28T08:59:01.795Z] query: branch=PR-1144&commit=b72d49ff0aa294b99fec981cfa1e65ad4433cb94&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-04-28T08:59:01.795Z] -> Pinging Codecov [2022-04-28T08:59:01.795Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1144&commit=b72d49ff0aa294b99fec981cfa1e65ad4433cb94&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-04-28T08:59:02.056Z] -> Uploading to [2022-04-28T08:59:02.056Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-28/7E55EF52A471D76F132DFD9A03CDDE97/b72d49ff0aa294b99fec981cfa1e65ad4433cb94/a04eeee1-9454-4718-b9b0-ab263dc802f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T085901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=636af6f41afd53b9be881e964e9d1b890dc3a675af7673ab5c8a2b22e4de96c6 [2022-04-28T08:59:02.056Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-28T08:59:02.056Z] Dload Upload Total Spent Left Speed [2022-04-28T08:59:02.316Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16847 0 0 100 16847 0 82990 --:--:-- --:--:-- --:--:-- 82583 100 16847 0 0 100 16847 0 63573 --:--:-- --:--:-- --:--:-- 63334 [2022-04-28T08:59:02.316Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b72d49ff0aa294b99fec981cfa1e65ad4433cb94 [Pipeline] } [2022-04-28T08:59:02.323Z] 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-28T08:59:03.072Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] [2022-04-28T08:59:03.072Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-28T08:59:03.072Z] total 16 [2022-04-28T08:59:03.072Z] drwxr-xr-x 3 root root 4096 Apr 28 08:47 . [2022-04-28T08:59:03.072Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 08:47 .. [2022-04-28T08:59:03.072Z] drwxr-xr-x 2 root root 4096 Apr 28 08:47 cost [2022-04-28T08:59:03.072Z] -rw-r--r-- 1 root root 85 Apr 28 08:47 cost.csv [2022-04-28T08:59:03.072Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-28T08:59:03.072Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-04-28T08:59:03.072Z] total 16 [2022-04-28T08:59:03.072Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 08:47 . [2022-04-28T08:59:03.072Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 08:47 .. [2022-04-28T08:59:03.072Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 08:47 cost [2022-04-28T08:59:03.072Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 28 08:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:59:03.369Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:59:04.240Z] ---> package-listing.sh [2022-04-28T08:59:04.241Z] ++ facter osfamily [2022-04-28T08:59:04.241Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-28T08:59:04.502Z] + OS_FAMILY=debian [2022-04-28T08:59:04.502Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-04-28T08:59:04.502Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-28T08:59:04.502Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-28T08:59:04.502Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-28T08:59:04.502Z] + PACKAGES=/tmp/packages_start.txt [2022-04-28T08:59:04.502Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-28T08:59:04.502Z] + PACKAGES=/tmp/packages_end.txt [2022-04-28T08:59:04.502Z] + case "${OS_FAMILY}" in [2022-04-28T08:59:04.502Z] + dpkg -l [2022-04-28T08:59:04.502Z] + grep '^ii' [2022-04-28T08:59:04.502Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-28T08:59:04.502Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-28T08:59:04.502Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-28T08:59:04.502Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-04-28T08:59:04.502Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [2022-04-28T08:59:04.502Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo [2022-04-28T08:59:04.514Z] 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-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-28T08:59:04.794Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-28T08:59:05.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T08:59:05.352Z] . [Pipeline] withDockerContainer [2022-04-28T08:59:05.421Z] prd-ubuntu20.04-docker-8c-8g-33635 does not seem to be running inside a container [2022-04-28T08:59:05.462Z] $ 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-1144/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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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-28T08:59:05.905Z] $ docker top 9e53fb4339007d8fa5856d997d7fc982724a6cc41b5219a4d095cf8d72d53dbf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T08:59:06.261Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-28T08:59:06.553Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-28T08:59:06.844Z] + ls /var/log/sa-host [2022-04-28T08:59:06.844Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T08:59:06.933Z] provisioning config files... [2022-04-28T08:59:06.943Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4513476424436400165tmp [Pipeline] { [Pipeline] echo [2022-04-28T08:59:06.962Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:59:07.249Z] ---> create-netrc.sh [Pipeline] } [2022-04-28T08:59:07.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:59:07.592Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-28T08:59:07.600Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:59:07.887Z] ---> sudo-logs.sh [2022-04-28T08:59:07.887Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-28T08:59:07.923Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:59:08.215Z] ---> job-cost.sh [2022-04-28T08:59:08.215Z] lf-activate-venv: SKIPPING [2022-04-28T08:59:08.215Z] DEBUG: total: 0.2199999988079071 [2022-04-28T08:59:08.215Z] INFO: Retrieving Stack Cost... [2022-04-28T08:59:08.475Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-28T08:59:09.048Z] INFO: Archiving Costs [Pipeline] echo [2022-04-28T08:59:09.062Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T08:59:09.355Z] ---> logs-deploy.sh [2022-04-28T08:59:09.355Z] lf-activate-venv: SKIPPING [2022-04-28T08:59:09.355Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/7 [2022-04-28T08:59:09.355Z] INFO: archiving workspace using pattern(s): [2022-04-28T08:59:10.299Z] Archives upload complete. [2022-04-28T08:59:10.299Z] INFO: archiving logs to Nexus