Pull request #1249 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2af52405221536dc1454a56b55a26145cb4bfa2a+21e2314d0be0883f9fe388992978a72096c1cede (71b97839ceabf2ead029037844b4ecd3025b3d41) 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-ssh9275301358100722749.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh5956164449705161350.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-1249/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-1249/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2183822103313273058.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 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-ssh5055917004032802082.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-1249/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-1249/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10485209400927850432.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-117074’ Running on prd-ubuntu20.04-docker-8c-8g-117076 in /w/workspace/gexfoundry_device-sdk-go_PR-1249 [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-1249 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1249/head:refs/remotes/origin/PR-1249 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit 2af52405221536dc1454a56b55a26145cb4bfa2a Merge succeeded, producing 2af52405221536dc1454a56b55a26145cb4bfa2a Checking out Revision 2af52405221536dc1454a56b55a26145cb4bfa2a (PR-1249) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T05:58:20.963Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T05:58:21.011Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T05:58:21.027Z] ========================================================= [2022-10-26T05:58:21.027Z] EdgeX Global Pipelines Version Info [2022-10-26T05:58:21.027Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 2af52405221536dc1454a56b55a26145cb4bfa2a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2af52405221536dc1454a56b55a26145cb4bfa2a # timeout=10 > git rev-list --no-walk a43bf3ceac6661ab89f1aea70c9fab2af54a2b86 # timeout=10 [2022-10-26T05:58:21.726Z] ------------------- [2022-10-26T05:58:21.726Z] stable info: [2022-10-26T05:58:21.726Z] ------------------- [2022-10-26T05:58:21.726Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T05:58:21.726Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T05:58:21.726Z] Message: update stable to v1.0.243 [2022-10-26T05:58:22.296Z] ------------------- [2022-10-26T05:58:22.296Z] experimental info: [2022-10-26T05:58:22.296Z] ------------------- [2022-10-26T05:58:22.296Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T05:58:22.296Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T05:58:22.296Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T05:58:22.448Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-26T05:58:22.462Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-26T05:58:22.473Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T05:58:22.487Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T05:58:22.497Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T05:58:22.508Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T05:58:22.521Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T05:58:22.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-26T05:58:22.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T05:58:22.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T05:58:22.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T05:58:22.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-26T05:58:22.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T05:58:22.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T05:58:22.618Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T05:58:22.632Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T05:58:22.642Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T05:58:22.653Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T05:58:22.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T05:58:22.677Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T05:58:22.695Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T05:58:22.707Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-26T05:58:22.718Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T05:58:22.730Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T05:58:22.741Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T05:58:22.752Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T05:58:22.764Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T05:58:22.774Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1249 [Pipeline] echo [2022-10-26T05:58:22.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1249 [Pipeline] echo [2022-10-26T05:58:22.801Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1249 [Pipeline] echo [2022-10-26T05:58:22.812Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2af52405221536dc1454a56b55a26145cb4bfa2a [Pipeline] echo [2022-10-26T05:58:22.822Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2af5240 [Pipeline] echo [2022-10-26T05:58:22.833Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T05:58:22.870Z] provisioning config files... [2022-10-26T05:58:22.886Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config476157407696737989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T05:58:23.189Z] ---> docker-login.sh [2022-10-26T05:58:23.189Z] nexus3.edgexfoundry.org:10001 [2022-10-26T05:58:23.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T05:58:23.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T05:58:23.450Z] Configure a credential helper to remove this warning. See [2022-10-26T05:58:23.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T05:58:23.450Z] [2022-10-26T05:58:23.450Z] Login Succeeded [2022-10-26T05:58:23.450Z] nexus3.edgexfoundry.org:10002 [2022-10-26T05:58:23.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T05:58:23.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T05:58:23.450Z] Configure a credential helper to remove this warning. See [2022-10-26T05:58:23.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T05:58:23.450Z] [2022-10-26T05:58:23.450Z] Login Succeeded [2022-10-26T05:58:23.450Z] nexus3.edgexfoundry.org:10003 [2022-10-26T05:58:23.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T05:58:23.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T05:58:23.710Z] Configure a credential helper to remove this warning. See [2022-10-26T05:58:23.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T05:58:23.710Z] [2022-10-26T05:58:23.710Z] Login Succeeded [2022-10-26T05:58:23.710Z] nexus3.edgexfoundry.org:10004 [2022-10-26T05:58:23.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T05:58:23.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T05:58:23.710Z] Configure a credential helper to remove this warning. See [2022-10-26T05:58:23.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T05:58:23.710Z] [2022-10-26T05:58:23.710Z] Login Succeeded [2022-10-26T05:58:23.710Z] docker.io [2022-10-26T05:58:23.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T05:58:24.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T05:58:24.278Z] Configure a credential helper to remove this warning. See [2022-10-26T05:58:24.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T05:58:24.278Z] [2022-10-26T05:58:24.278Z] Login Succeeded [2022-10-26T05:58:24.278Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T05:58:24.286Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T05:58:24.675Z] + git rev-list -1 --merges 2af52405221536dc1454a56b55a26145cb4bfa2a~1..2af52405221536dc1454a56b55a26145cb4bfa2a [Pipeline] echo [2022-10-26T05:58:24.708Z] -----------> git rev-list -1 --merges 2af52405221536dc1454a56b55a26145cb4bfa2a~1..2af52405221536dc1454a56b55a26145cb4bfa2a 2af52405221536dc1454a56b55a26145cb4bfa2a [false] [Pipeline] sh [2022-10-26T05:58:24.995Z] + git log --format=format:%s -1 2af52405221536dc1454a56b55a26145cb4bfa2a [Pipeline] echo [2022-10-26T05:58:25.009Z] ========================================================= [2022-10-26T05:58:25.010Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T05:58:25.010Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T05:58:25.345Z] + git log --format=format:%s -1 2af52405221536dc1454a56b55a26145cb4bfa2a [Pipeline] echo [2022-10-26T05:58:25.356Z] [semverPrep] GIT_COMMIT: 2af52405221536dc1454a56b55a26145cb4bfa2a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-10-26T05:58:25.368Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T05:58:25.704Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T05:58:25.705Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T05:58:25.705Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T05:58:25.705Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T05:58:25.705Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T05:58:25.705Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T05:58:25.705Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T05:58:26.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T05:58:26.046Z] [2022-10-26T05:58:26.046Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T05:58:26.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T05:58:26.351Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T05:58:26.351Z] b85a868b505f: Pulling fs layer [2022-10-26T05:58:26.351Z] e2be974225ed: Pulling fs layer [2022-10-26T05:58:26.351Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T05:58:26.351Z] 988bab9f4d93: Pulling fs layer [2022-10-26T05:58:26.351Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T05:58:26.351Z] eaf3925da568: Pulling fs layer [2022-10-26T05:58:26.351Z] bab4dde63d76: Pulling fs layer [2022-10-26T05:58:26.351Z] bde34c3a00c8: Pulling fs layer [2022-10-26T05:58:26.351Z] b352a97aabf1: Pulling fs layer [2022-10-26T05:58:26.351Z] 4872d77fe225: Pulling fs layer [2022-10-26T05:58:26.351Z] 5851b861e8e6: Pulling fs layer [2022-10-26T05:58:26.351Z] eaf3925da568: Waiting [2022-10-26T05:58:26.351Z] bab4dde63d76: Waiting [2022-10-26T05:58:26.351Z] bde34c3a00c8: Waiting [2022-10-26T05:58:26.351Z] b352a97aabf1: Waiting [2022-10-26T05:58:26.351Z] 988bab9f4d93: Waiting [2022-10-26T05:58:26.351Z] 4872d77fe225: Waiting [2022-10-26T05:58:26.351Z] 1469e6f7b9e6: Waiting [2022-10-26T05:58:26.351Z] e2be974225ed: Download complete [2022-10-26T05:58:26.351Z] 988bab9f4d93: Verifying Checksum [2022-10-26T05:58:26.351Z] 988bab9f4d93: Download complete [2022-10-26T05:58:26.613Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T05:58:26.613Z] 1469e6f7b9e6: Download complete [2022-10-26T05:58:26.613Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T05:58:26.613Z] 339a4e72a1f5: Download complete [2022-10-26T05:58:26.613Z] eaf3925da568: Download complete [2022-10-26T05:58:26.613Z] bde34c3a00c8: Download complete [2022-10-26T05:58:26.613Z] b352a97aabf1: Download complete [2022-10-26T05:58:26.613Z] 4872d77fe225: Verifying Checksum [2022-10-26T05:58:26.613Z] 4872d77fe225: Download complete [2022-10-26T05:58:26.613Z] 5851b861e8e6: Download complete [2022-10-26T05:58:26.613Z] b85a868b505f: Verifying Checksum [2022-10-26T05:58:26.613Z] b85a868b505f: Download complete [2022-10-26T05:58:26.872Z] bab4dde63d76: Verifying Checksum [2022-10-26T05:58:26.872Z] bab4dde63d76: Download complete [2022-10-26T05:58:27.809Z] b85a868b505f: Pull complete [2022-10-26T05:58:28.068Z] e2be974225ed: Pull complete [2022-10-26T05:58:28.635Z] 339a4e72a1f5: Pull complete [2022-10-26T05:58:28.635Z] 988bab9f4d93: Pull complete [2022-10-26T05:58:28.895Z] 1469e6f7b9e6: Pull complete [2022-10-26T05:58:28.895Z] eaf3925da568: Pull complete [2022-10-26T05:58:30.797Z] bab4dde63d76: Pull complete [2022-10-26T05:58:30.797Z] bde34c3a00c8: Pull complete [2022-10-26T05:58:31.058Z] b352a97aabf1: Pull complete [2022-10-26T05:58:31.058Z] 4872d77fe225: Pull complete [2022-10-26T05:58:31.058Z] 5851b861e8e6: Pull complete [2022-10-26T05:58:31.058Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T05:58:31.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T05:58:31.058Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T05:58:31.143Z] prd-ubuntu20.04-docker-8c-8g-117076 does not seem to be running inside a container [2022-10-26T05:58:31.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T05:58:32.576Z] $ docker top fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c -eo pid,comm [2022-10-26T05:58:32.651Z] 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-10-26T05:58:32.651Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T05:58:32.692Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T05:58:32.692Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T05:58:32.807Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T05:58:32.792Z] $ docker exec fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c ssh-agent [2022-10-26T05:58:32.914Z] SSH_AUTH_SOCK=/tmp/ssh-ZklsFFKRdvQR/agent.32 [2022-10-26T05:58:32.914Z] SSH_AGENT_PID=38 [2022-10-26T05:58:32.920Z] Running ssh-add (command line suppressed) [2022-10-26T05:58:33.004Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_6713210064845074147.key (/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_6713210064845074147.key) [2022-10-26T05:58:33.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T05:58:33.320Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T05:58:33.315Z] $ docker exec --env ******** --env ******** fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c ssh-agent -k [2022-10-26T05:58:33.415Z] unset SSH_AUTH_SOCK; [2022-10-26T05:58:33.415Z] unset SSH_AGENT_PID; [2022-10-26T05:58:33.415Z] echo Agent pid 38 killed; [2022-10-26T05:58:33.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T05:58:33.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T05:58:33.471Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T05:58:33.587Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T05:58:33.573Z] $ docker exec fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c ssh-agent [2022-10-26T05:58:33.693Z] SSH_AUTH_SOCK=/tmp/ssh-WOEqKEj6mJ6G/agent.70 [2022-10-26T05:58:33.693Z] SSH_AGENT_PID=76 [2022-10-26T05:58:33.698Z] Running ssh-add (command line suppressed) [2022-10-26T05:58:33.776Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_14374838052210709647.key (/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/private_key_14374838052210709647.key) [2022-10-26T05:58:33.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T05:58:34.089Z] + git semver init [2022-10-26T05:58:34.347Z] 2022-10-26 05:58:34,272 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T05:58:34.347Z] 2022-10-26 05:58:34,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver [2022-10-26T05:58:34.347Z] 2022-10-26 05:58:34,273 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver [2022-10-26T05:58:34.347Z] 2022-10-26 05:58:34,274 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1249, universal_newlines=False, shell=None, istream=None) [2022-10-26T05:58:35.284Z] 2022-10-26 05:58:35,240 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.git/info/exclude [2022-10-26T05:58:35.284Z] 2022-10-26 05:58:35,240 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver/PR-1249 with force:False [2022-10-26T05:58:35.284Z] 2022-10-26 05:58:35,241 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver/PR-1249 [2022-10-26T05:58:35.284Z] 2022-10-26 05:58:35,245 [execute] INFO git cat-file --batch-check [2022-10-26T05:58:35.284Z] 2022-10-26 05:58:35,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T05:58:35.284Z] 2022-10-26 05:58:35,251 [execute] INFO git cat-file --batch [2022-10-26T05:58:35.284Z] 2022-10-26 05:58:35,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T05:58:35.284Z] 2022-10-26 05:58:35,257 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1249/.semver/PR-1249 [2022-10-26T05:58:35.284Z] 0.0.0 [Pipeline] } [2022-10-26T05:58:35.539Z] $ docker exec --env ******** --env ******** fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c ssh-agent -k [2022-10-26T05:58:35.632Z] unset SSH_AUTH_SOCK; [2022-10-26T05:58:35.632Z] unset SSH_AGENT_PID; [2022-10-26T05:58:35.632Z] echo Agent pid 76 killed; [2022-10-26T05:58:35.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T05:58:35.964Z] + git semver [Pipeline] } [2022-10-26T05:58:36.221Z] $ docker stop --time=1 fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c [2022-10-26T05:58:37.531Z] $ docker rm -f fa59687a876eb3861734ca8d915732ec5eeaa009380d1d5dccd63df842893f4c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T05:58:37.880Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T05:58:38.052Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T05:58:38.055Z] [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-10-26T05:58:38.219Z] provisioning config files... [2022-10-26T05:58:38.233Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config14188771009177030879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T05:58:38.538Z] ---> docker-login.sh [2022-10-26T05:58:38.538Z] nexus3.edgexfoundry.org:10001 [2022-10-26T05:58:38.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T05:58:38.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T05:58:38.538Z] Configure a credential helper to remove this warning. See [2022-10-26T05:58:38.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T05:58:38.538Z] [2022-10-26T05:58:38.538Z] Login Succeeded [2022-10-26T05:58:38.538Z] nexus3.edgexfoundry.org:10002 [2022-10-26T05:58:38.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T05:58:38.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T05:58:38.538Z] Configure a credential helper to remove this warning. See [2022-10-26T05:58:38.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T05:58:38.538Z] [2022-10-26T05:58:38.538Z] Login Succeeded [2022-10-26T05:58:38.538Z] nexus3.edgexfoundry.org:10003 [2022-10-26T05:58:38.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T05:58:38.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T05:58:38.798Z] Configure a credential helper to remove this warning. See [2022-10-26T05:58:38.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T05:58:38.798Z] [2022-10-26T05:58:38.798Z] Login Succeeded [2022-10-26T05:58:38.798Z] nexus3.edgexfoundry.org:10004 [2022-10-26T05:58:38.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T05:58:38.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T05:58:38.798Z] Configure a credential helper to remove this warning. See [2022-10-26T05:58:38.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T05:58:38.798Z] [2022-10-26T05:58:38.798Z] Login Succeeded [2022-10-26T05:58:38.798Z] docker.io [2022-10-26T05:58:38.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T05:58:39.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T05:58:39.366Z] Configure a credential helper to remove this warning. See [2022-10-26T05:58:39.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T05:58:39.366Z] [2022-10-26T05:58:39.366Z] Login Succeeded [2022-10-26T05:58:39.366Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T05:58:39.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T05:58:39.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T05:58:39.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T05:58:39.457Z] ========================================================= [2022-10-26T05:58:39.457Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T05:58:39.457Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T05:58:39.768Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T05:58:39.768Z] Sending build context to Docker daemon 10.08MB [2022-10-26T05:58:39.768Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T05:58:39.768Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T05:58:39.768Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T05:58:39.768Z] 213ec9aee27d: Pulling fs layer [2022-10-26T05:58:39.768Z] 4583459ba037: Pulling fs layer [2022-10-26T05:58:39.768Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T05:58:39.768Z] 53926ce57604: Pulling fs layer [2022-10-26T05:58:39.768Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T05:58:39.768Z] 30f14e443154: Pulling fs layer [2022-10-26T05:58:39.768Z] 801331c1e519: Pulling fs layer [2022-10-26T05:58:39.768Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T05:58:39.768Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T05:58:39.768Z] 30f14e443154: Waiting [2022-10-26T05:58:39.768Z] 801331c1e519: Waiting [2022-10-26T05:58:39.768Z] 53926ce57604: Waiting [2022-10-26T05:58:39.768Z] 21b2b0c7a3f4: Waiting [2022-10-26T05:58:39.768Z] 99cc6dd402b0: Waiting [2022-10-26T05:58:40.034Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T05:58:40.034Z] 93c1e223e6f2: Download complete [2022-10-26T05:58:40.034Z] 4583459ba037: Verifying Checksum [2022-10-26T05:58:40.034Z] 4583459ba037: Download complete [2022-10-26T05:58:40.034Z] 21b2b0c7a3f4: Download complete [2022-10-26T05:58:40.034Z] 30f14e443154: Verifying Checksum [2022-10-26T05:58:40.034Z] 30f14e443154: Download complete [2022-10-26T05:58:40.034Z] 213ec9aee27d: Verifying Checksum [2022-10-26T05:58:40.034Z] 213ec9aee27d: Download complete [2022-10-26T05:58:40.034Z] 801331c1e519: Download complete [2022-10-26T05:58:40.034Z] 213ec9aee27d: Pull complete [2022-10-26T05:58:40.303Z] 4583459ba037: Pull complete [2022-10-26T05:58:40.303Z] 93c1e223e6f2: Pull complete [2022-10-26T05:58:40.303Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T05:58:40.899Z] 53926ce57604: Verifying Checksum [2022-10-26T05:58:40.899Z] 53926ce57604: Download complete [2022-10-26T05:58:40.899Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T05:58:40.899Z] 99cc6dd402b0: Download complete [2022-10-26T05:58:44.182Z] 53926ce57604: Pull complete [2022-10-26T05:58:44.441Z] 21b2b0c7a3f4: Pull complete [2022-10-26T05:58:44.441Z] 30f14e443154: Pull complete [2022-10-26T05:58:44.441Z] 801331c1e519: Pull complete [2022-10-26T05:58:46.973Z] 99cc6dd402b0: Pull complete [2022-10-26T05:58:47.231Z] 7d9ed39f4882: Pull complete [2022-10-26T05:58:47.490Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T05:58:47.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T05:58:47.490Z] ---> 1dedd983c030 [2022-10-26T05:58:47.490Z] Step 3/10 : ARG MAKE=make build [2022-10-26T05:58:49.395Z] ---> Running in 7aa52cd70a10 [2022-10-26T05:58:49.395Z] Removing intermediate container 7aa52cd70a10 [2022-10-26T05:58:49.395Z] ---> 79c4b1f2d7e5 [2022-10-26T05:58:49.395Z] Step 4/10 : WORKDIR /device-sdk-go [2022-10-26T05:58:49.395Z] ---> Running in 4f562c9b61ff [2022-10-26T05:58:49.395Z] Removing intermediate container 4f562c9b61ff [2022-10-26T05:58:49.395Z] ---> bbe9f8db0386 [2022-10-26T05:58:49.395Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T05:58:49.395Z] ---> Running in 28906135c789 [2022-10-26T05:58:49.395Z] Removing intermediate container 28906135c789 [2022-10-26T05:58:49.395Z] ---> c0d7f3e4dbb9 [2022-10-26T05:58:49.395Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T05:58:49.654Z] ---> Running in b61fa80d5fd7 [2022-10-26T05:58:49.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T05:58:49.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T05:58:50.171Z] OK: 211 MiB in 51 packages [2022-10-26T05:58:50.431Z] Removing intermediate container b61fa80d5fd7 [2022-10-26T05:58:50.431Z] ---> 6729f2b0348f [2022-10-26T05:58:50.431Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T05:58:50.431Z] ---> 1f0a6670baff [2022-10-26T05:58:50.431Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T05:58:50.692Z] ---> Running in ec6a95442dd4 [2022-10-26T05:58:53.161Z] Still waiting to schedule task [2022-10-26T05:58:53.161Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117075’ [2022-10-26T05:59:08.964Z] Removing intermediate container ec6a95442dd4 [2022-10-26T05:59:08.964Z] ---> 5649c56acdbe [2022-10-26T05:59:08.964Z] Step 9/10 : COPY . . [2022-10-26T05:59:08.964Z] ---> eb6403e0bfed [2022-10-26T05:59:08.964Z] Step 10/10 : RUN ${MAKE} [2022-10-26T05:59:08.964Z] ---> Running in 496ade71fc7e [2022-10-26T05:59:08.964Z] noop [2022-10-26T05:59:08.964Z] Removing intermediate container 496ade71fc7e [2022-10-26T05:59:08.964Z] ---> 84df4bb73dcb [2022-10-26T05:59:08.964Z] Successfully built 84df4bb73dcb [2022-10-26T05:59:08.964Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T05:59:09.266Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T05:59:09.266Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T05:59:09.329Z] prd-ubuntu20.04-docker-8c-8g-117076 does not seem to be running inside a container [2022-10-26T05:59:09.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@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-x86_64 cat [2022-10-26T05:59:09.737Z] $ docker top 00b40802cfd58ae841fa7e48a13f7f18fdfdfb8afc2874e4795bd4833449801b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T05:59:10.084Z] + go version [2022-10-26T05:59:10.084Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T05:59:10.099Z] $ docker stop --time=1 00b40802cfd58ae841fa7e48a13f7f18fdfdfb8afc2874e4795bd4833449801b [2022-10-26T05:59:11.391Z] $ docker rm -f 00b40802cfd58ae841fa7e48a13f7f18fdfdfb8afc2874e4795bd4833449801b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T05:59:11.769Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T05:59:11.769Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T05:59:11.832Z] prd-ubuntu20.04-docker-8c-8g-117076 does not seem to be running inside a container [2022-10-26T05:59:11.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@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-x86_64 cat [2022-10-26T05:59:12.260Z] $ docker top 89ef8644bab20e9cb04d7166f0ad47eda8d90357a5d01479f62d3e8b06f8c06b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T05:59:12.596Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1249 [Pipeline] fileExists [Pipeline] sh [2022-10-26T05:59:12.891Z] + make test [2022-10-26T05:59:12.891Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-26T05:59:19.458Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-26T05:59:34.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements [2022-10-26T05:59:34.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.093s coverage: 78.9% of statements [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-26T05:59:34.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.099s coverage: 73.1% of statements [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-26T05:59:34.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-26T05:59:34.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-26T05:59:34.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.752s coverage: 89.2% of statements [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-26T05:59:34.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-10-26T05:59:34.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-26T05:59:52.405Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-26T05:59:52.405Z] GO111MODULE=on go vet ./... [2022-10-26T05:59:53.338Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T05:59:53.338Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T05:59:53.596Z] ./bin/test-attribution-txt.sh [2022-10-26T05:59:53.596Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-26T05:59:53.596Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-26T05:59:53.596Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-26T05:59:53.596Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-26T05:59:53.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T05:59:53.627Z] $ docker stop --time=1 89ef8644bab20e9cb04d7166f0ad47eda8d90357a5d01479f62d3e8b06f8c06b [2022-10-26T05:59:55.708Z] $ docker rm -f 89ef8644bab20e9cb04d7166f0ad47eda8d90357a5d01479f62d3e8b06f8c06b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T05:59:56.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T05:59:56.301Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T05:59:56.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T05:59:57.065Z] + ls -al . [2022-10-26T05:59:57.065Z] total 280 [2022-10-26T05:59:57.065Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 05:59 . [2022-10-26T05:59:57.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 05:58 .. [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 05:58 .dockerignore [2022-10-26T05:59:57.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 05:59 .git [2022-10-26T05:59:57.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 05:58 .github [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 05:58 .gitignore [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 05:58 .golangci.yml [2022-10-26T05:59:57.065Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 05:58 .semver [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 05:58 CHANGELOG.md [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 05:58 GOVERNANCE.md [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 05:58 Jenkinsfile [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 05:58 LICENSE [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 05:58 Makefile [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 05:58 OWNERS.md [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 05:58 README.md [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 05:58 VERSION [2022-10-26T05:59:57.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 05:58 bin [2022-10-26T05:59:57.065Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 05:59 coverage.out [2022-10-26T05:59:57.065Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 05:58 example [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 05:58 go.mod [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 05:58 go.sum [2022-10-26T05:59:57.065Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 05:58 internal [2022-10-26T05:59:57.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 05:58 openapi [2022-10-26T05:59:57.065Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 05:58 pkg [2022-10-26T05:59:57.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 05:58 snap [2022-10-26T05:59:57.065Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T05:59:57.379Z] + 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=2af52405221536dc1454a56b55a26145cb4bfa2a --label arch=amd64 --label version=0.0.0 . [2022-10-26T05:59:57.379Z] Sending build context to Docker daemon 10.18MB [2022-10-26T05:59:57.379Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T05:59:57.379Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T05:59:57.379Z] ---> 84df4bb73dcb [2022-10-26T05:59:57.379Z] Step 3/23 : ARG MAKE=make build [2022-10-26T05:59:57.640Z] ---> Running in 09ed72a7392a [2022-10-26T05:59:57.640Z] Removing intermediate container 09ed72a7392a [2022-10-26T05:59:57.640Z] ---> 9f4467be5a77 [2022-10-26T05:59:57.640Z] Step 4/23 : WORKDIR /device-sdk-go [2022-10-26T05:59:57.640Z] ---> Running in 557c3f892daa [2022-10-26T05:59:57.640Z] Removing intermediate container 557c3f892daa [2022-10-26T05:59:57.640Z] ---> 91f853417207 [2022-10-26T05:59:57.640Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T05:59:57.640Z] ---> Running in 7dffce3d4d7a [2022-10-26T05:59:57.899Z] Removing intermediate container 7dffce3d4d7a [2022-10-26T05:59:57.899Z] ---> 442cd4605f07 [2022-10-26T05:59:57.899Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T05:59:57.899Z] ---> Running in 6f6fd08143a8 [2022-10-26T05:59:58.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T05:59:58.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T05:59:58.418Z] OK: 211 MiB in 51 packages [2022-10-26T05:59:58.678Z] Removing intermediate container 6f6fd08143a8 [2022-10-26T05:59:58.678Z] ---> 9dbb0c2dd010 [2022-10-26T05:59:58.678Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T05:59:58.937Z] ---> 6f7366cad327 [2022-10-26T05:59:58.937Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T05:59:58.937Z] ---> Running in 9559750440de [2022-10-26T05:59:59.506Z] Removing intermediate container 9559750440de [2022-10-26T05:59:59.506Z] ---> d00ec598b25a [2022-10-26T05:59:59.506Z] Step 9/23 : COPY . . [2022-10-26T06:00:00.074Z] ---> 6d2235a47ad3 [2022-10-26T06:00:00.074Z] Step 10/23 : RUN ${MAKE} [2022-10-26T06:00:00.074Z] ---> Running in 92a205656643 [2022-10-26T06:00:00.336Z] 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-10-26T06:00:18.409Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-26T06:00:20.313Z] Removing intermediate container 92a205656643 [2022-10-26T06:00:20.313Z] ---> 7f3794befe3d [2022-10-26T06:00:20.313Z] Step 11/23 : FROM alpine:3.16 [2022-10-26T06:00:20.571Z] 3.16: Pulling from library/alpine [2022-10-26T06:00:20.831Z] 213ec9aee27d: Already exists [2022-10-26T06:00:20.831Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T06:00:20.831Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T06:00:20.831Z] ---> 9c6f07244728 [2022-10-26T06:00:20.831Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T06:00:21.089Z] ---> Running in 77710c1cafe2 [2022-10-26T06:00:21.089Z] Removing intermediate container 77710c1cafe2 [2022-10-26T06:00:21.089Z] ---> dfa7c03bb8d5 [2022-10-26T06:00:21.089Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-10-26T06:00:21.089Z] ---> Running in c130dd83fad6 [2022-10-26T06:00:21.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T06:00:21.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T06:00:21.865Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T06:00:21.865Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T06:00:21.865Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T06:00:21.865Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T06:00:21.865Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T06:00:21.865Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T06:00:21.865Z] OK: 8 MiB in 19 packages [2022-10-26T06:00:22.123Z] Removing intermediate container c130dd83fad6 [2022-10-26T06:00:22.123Z] ---> 98e029c4d17d [2022-10-26T06:00:22.123Z] Step 14/23 : WORKDIR / [2022-10-26T06:00:22.123Z] ---> Running in 2510f9779463 [2022-10-26T06:00:22.381Z] Removing intermediate container 2510f9779463 [2022-10-26T06:00:22.381Z] ---> 18cd08c5ea37 [2022-10-26T06:00:22.381Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-26T06:00:22.381Z] ---> 949e73389529 [2022-10-26T06:00:22.381Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-26T06:00:22.948Z] ---> 5394c4a74e81 [2022-10-26T06:00:22.948Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-26T06:00:23.206Z] ---> c2aeddbe73c5 [2022-10-26T06:00:23.206Z] Step 18/23 : EXPOSE 59999 [2022-10-26T06:00:23.206Z] ---> Running in 7b6aa97811a8 [2022-10-26T06:00:23.206Z] Removing intermediate container 7b6aa97811a8 [2022-10-26T06:00:23.206Z] ---> e9d654c76509 [2022-10-26T06:00:23.206Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-10-26T06:00:23.207Z] ---> Running in 25303d49bd64 [2022-10-26T06:00:23.465Z] Removing intermediate container 25303d49bd64 [2022-10-26T06:00:23.465Z] ---> 12693d467c52 [2022-10-26T06:00:23.465Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T06:00:23.465Z] ---> Running in 096f71d4d0d3 [2022-10-26T06:00:23.465Z] Removing intermediate container 096f71d4d0d3 [2022-10-26T06:00:23.465Z] ---> bb1ddba97cdd [2022-10-26T06:00:23.465Z] Step 21/23 : LABEL arch=amd64 [2022-10-26T06:00:23.465Z] ---> Running in 730fcaf5519d [2022-10-26T06:00:23.725Z] Removing intermediate container 730fcaf5519d [2022-10-26T06:00:23.725Z] ---> bffdff7d0e0b [2022-10-26T06:00:23.725Z] Step 22/23 : LABEL git_sha=2af52405221536dc1454a56b55a26145cb4bfa2a [2022-10-26T06:00:23.725Z] ---> Running in 630282c63652 [2022-10-26T06:00:23.725Z] Removing intermediate container 630282c63652 [2022-10-26T06:00:23.725Z] ---> e9079c217b03 [2022-10-26T06:00:23.725Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T06:00:23.725Z] ---> Running in 1d134dc45bd7 [2022-10-26T06:00:23.984Z] Removing intermediate container 1d134dc45bd7 [2022-10-26T06:00:23.984Z] ---> eab4c1603a2b [2022-10-26T06:00:23.984Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T06:00:23.984Z] Successfully built eab4c1603a2b [2022-10-26T06:00:23.984Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T06:00:24.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T06:00:24.403Z] [2022-10-26T06:00:24.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T06:00:24.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T06:00:24.697Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T06:00:24.697Z] 5eb5b503b376: Pulling fs layer [2022-10-26T06:00:24.697Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T06:00:24.697Z] ec43610c2a17: Pulling fs layer [2022-10-26T06:00:24.697Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T06:00:24.697Z] 33b1e0a273af: Pulling fs layer [2022-10-26T06:00:24.697Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T06:00:24.697Z] 2f39f015ded8: Pulling fs layer [2022-10-26T06:00:24.697Z] 33b1e0a273af: Waiting [2022-10-26T06:00:24.697Z] 3a2ae6a8a46f: Waiting [2022-10-26T06:00:24.697Z] 5d3b04190fa2: Waiting [2022-10-26T06:00:24.697Z] 2f39f015ded8: Waiting [2022-10-26T06:00:24.697Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T06:00:24.697Z] 5c69ac0246d0: Download complete [2022-10-26T06:00:24.697Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T06:00:24.697Z] 3a2ae6a8a46f: Download complete [2022-10-26T06:00:24.697Z] 33b1e0a273af: Verifying Checksum [2022-10-26T06:00:24.697Z] 33b1e0a273af: Download complete [2022-10-26T06:00:24.956Z] ec43610c2a17: Verifying Checksum [2022-10-26T06:00:24.956Z] ec43610c2a17: Download complete [2022-10-26T06:00:24.956Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T06:00:24.956Z] 5d3b04190fa2: Download complete [2022-10-26T06:00:24.956Z] 5eb5b503b376: Verifying Checksum [2022-10-26T06:00:24.956Z] 5eb5b503b376: Download complete [2022-10-26T06:00:25.519Z] 2f39f015ded8: Download complete [2022-10-26T06:00:26.084Z] 5eb5b503b376: Pull complete [2022-10-26T06:00:26.084Z] 5c69ac0246d0: Pull complete [2022-10-26T06:00:26.652Z] ec43610c2a17: Pull complete [2022-10-26T06:00:26.652Z] 3a2ae6a8a46f: Pull complete [2022-10-26T06:00:26.910Z] 33b1e0a273af: Pull complete [2022-10-26T06:00:26.910Z] 5d3b04190fa2: Pull complete [2022-10-26T06:00:32.173Z] 2f39f015ded8: Pull complete [2022-10-26T06:00:32.173Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T06:00:32.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T06:00:32.173Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T06:00:32.242Z] prd-ubuntu20.04-docker-8c-8g-117076 does not seem to be running inside a container [2022-10-26T06:00:32.279Z] $ 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-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@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:latest cat [2022-10-26T06:00:34.022Z] $ docker top a19bc859f69a8074ac1bfa1bcbbc41bd161230f004c3245d4912a2851f3ff352 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T06:00:34.432Z] ---> job-cost.sh [2022-10-26T06:00:34.432Z] lf-activate-venv: SKIPPING [2022-10-26T06:00:34.432Z] INFO: No Stack... [2022-10-26T06:00:34.693Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T06:00:34.951Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T06:00:35.240Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives/cost.csv [2022-10-26T06:00:35.240Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T06:00:35.252Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] [2022-10-26T06:00:35.260Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] did not exist. Created. [2022-10-26T06:00:35.261Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T06:00:35.558Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T06:00:35.595Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T06:00:35.601Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T06:00:35.629Z] $ docker stop --time=1 a19bc859f69a8074ac1bfa1bcbbc41bd161230f004c3245d4912a2851f3ff352 [2022-10-26T06:00:36.803Z] $ docker rm -f a19bc859f69a8074ac1bfa1bcbbc41bd161230f004c3245d4912a2851f3ff352 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T06:01:19.165Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117077 in /w/workspace/gexfoundry_device-sdk-go_PR-1249 [Pipeline] { [Pipeline] ws [2022-10-26T06:01:19.176Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-10-26T06:01:19.209Z] The recommended git tool is: git [2022-10-26T06:01:24.517Z] using credential edgex-jenkins-ssh [2022-10-26T06:01:24.535Z] Cloning the remote Git repository [2022-10-26T06:01:24.578Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T06:01:24.652Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-10-26T06:01:24.798Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T06:01:24.799Z] > git --version # timeout=10 [2022-10-26T06:01:24.819Z] > git --version # 'git version 2.25.1' [2022-10-26T06:01:24.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T06:01:24.868Z] Verifying host key using known hosts file [2022-10-26T06:01:25.101Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T06:01:25.113Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T06:01:26.698Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-26T06:01:26.717Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T06:01:27.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-26T06:01:27.636Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-26T06:01:27.637Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T06:01:27.642Z] Verifying host key using known hosts file [2022-10-26T06:01:27.649Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T06:01:27.659Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1249/head:refs/remotes/origin/PR-1249 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T06:01:28.270Z] Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit 2af52405221536dc1454a56b55a26145cb4bfa2a [2022-10-26T06:01:28.545Z] Merge succeeded, producing 2af52405221536dc1454a56b55a26145cb4bfa2a [2022-10-26T06:01:28.546Z] Checking out Revision 2af52405221536dc1454a56b55a26145cb4bfa2a (PR-1249) [2022-10-26T06:01:29.073Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-10-26T06:01:28.293Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T06:01:28.319Z] > git checkout -f 2af52405221536dc1454a56b55a26145cb4bfa2a # timeout=10 [2022-10-26T06:01:28.434Z] > git remote # timeout=10 [2022-10-26T06:01:28.452Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T06:01:28.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T06:01:28.484Z] Verifying host key using known hosts file [2022-10-26T06:01:28.491Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T06:01:28.502Z] > git merge 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 [2022-10-26T06:01:28.528Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T06:01:28.551Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T06:01:28.567Z] > git checkout -f 2af52405221536dc1454a56b55a26145cb4bfa2a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T06:01:30.079Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T06:01:30.079Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T06:01:30.079Z] Dload Upload Total Spent Left Speed [2022-10-26T06:01:30.079Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-10-26T06:01:30.676Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T06:01:30.998Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T06:01:30.998Z] + sudo tee /etc/docker/daemon.new [2022-10-26T06:01:30.998Z] { [2022-10-26T06:01:30.998Z] "registry-mirrors": [ [2022-10-26T06:01:30.998Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T06:01:30.998Z] ], [2022-10-26T06:01:30.998Z] "bip": "10.250.0.254/24", [2022-10-26T06:01:30.998Z] "hosts": [ [2022-10-26T06:01:30.998Z] "tcp://0.0.0.0:5555", [2022-10-26T06:01:30.998Z] "unix:///var/run/docker.sock" [2022-10-26T06:01:30.998Z] ], [2022-10-26T06:01:30.998Z] "mtu": 1458, [2022-10-26T06:01:30.998Z] "selinux-enabled": true, [2022-10-26T06:01:30.998Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T06:01:30.998Z] } [Pipeline] sh [2022-10-26T06:01:31.320Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T06:01:31.648Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T06:01:49.908Z] provisioning config files... [2022-10-26T06:01:49.934Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config13701512222548401849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T06:01:50.283Z] ---> docker-login.sh [2022-10-26T06:01:50.283Z] nexus3.edgexfoundry.org:10001 [2022-10-26T06:01:50.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T06:01:51.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T06:01:51.143Z] Configure a credential helper to remove this warning. See [2022-10-26T06:01:51.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T06:01:51.143Z] [2022-10-26T06:01:51.143Z] Login Succeeded [2022-10-26T06:01:51.143Z] nexus3.edgexfoundry.org:10002 [2022-10-26T06:01:51.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T06:01:51.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T06:01:51.412Z] Configure a credential helper to remove this warning. See [2022-10-26T06:01:51.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T06:01:51.412Z] [2022-10-26T06:01:51.412Z] Login Succeeded [2022-10-26T06:01:51.412Z] nexus3.edgexfoundry.org:10003 [2022-10-26T06:01:51.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T06:01:51.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T06:01:51.953Z] Configure a credential helper to remove this warning. See [2022-10-26T06:01:51.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T06:01:51.953Z] [2022-10-26T06:01:51.953Z] Login Succeeded [2022-10-26T06:01:51.953Z] nexus3.edgexfoundry.org:10004 [2022-10-26T06:01:52.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T06:01:52.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T06:01:52.226Z] Configure a credential helper to remove this warning. See [2022-10-26T06:01:52.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T06:01:52.226Z] [2022-10-26T06:01:52.226Z] Login Succeeded [2022-10-26T06:01:52.226Z] docker.io [2022-10-26T06:01:52.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T06:01:52.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T06:01:52.765Z] Configure a credential helper to remove this warning. See [2022-10-26T06:01:52.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T06:01:52.765Z] [2022-10-26T06:01:52.765Z] Login Succeeded [2022-10-26T06:01:52.765Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T06:01:52.780Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T06:01:52.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T06:01:52.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T06:01:52.962Z] ========================================================= [2022-10-26T06:01:52.962Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T06:01:52.962Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T06:01:53.302Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T06:01:53.579Z] Sending build context to Docker daemon 5.423MB [2022-10-26T06:01:53.579Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T06:01:53.579Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T06:01:53.851Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T06:01:53.851Z] 9b18e9b68314: Pulling fs layer [2022-10-26T06:01:53.851Z] d32db5db7311: Pulling fs layer [2022-10-26T06:01:53.851Z] d0c4b47475fc: Pulling fs layer [2022-10-26T06:01:53.851Z] 5831b945b038: Pulling fs layer [2022-10-26T06:01:53.851Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T06:01:53.851Z] e10730c5d714: Pulling fs layer [2022-10-26T06:01:53.851Z] 5dd5c2283517: Pulling fs layer [2022-10-26T06:01:53.851Z] d5ac0230b979: Pulling fs layer [2022-10-26T06:01:53.851Z] e10730c5d714: Waiting [2022-10-26T06:01:53.851Z] 5dd5c2283517: Waiting [2022-10-26T06:01:53.851Z] d5ac0230b979: Waiting [2022-10-26T06:01:53.851Z] 5831b945b038: Waiting [2022-10-26T06:01:53.851Z] 86bbec2aaacd: Waiting [2022-10-26T06:01:53.851Z] d0c4b47475fc: Verifying Checksum [2022-10-26T06:01:53.851Z] d0c4b47475fc: Download complete [2022-10-26T06:01:53.851Z] d32db5db7311: Verifying Checksum [2022-10-26T06:01:53.851Z] d32db5db7311: Download complete [2022-10-26T06:01:53.851Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T06:01:53.851Z] e10730c5d714: Verifying Checksum [2022-10-26T06:01:53.851Z] e10730c5d714: Download complete [2022-10-26T06:01:53.851Z] 9b18e9b68314: Verifying Checksum [2022-10-26T06:01:53.851Z] 9b18e9b68314: Download complete [2022-10-26T06:01:54.833Z] 9b18e9b68314: Pull complete [2022-10-26T06:01:55.109Z] d5ac0230b979: Download complete [2022-10-26T06:01:55.704Z] d32db5db7311: Pull complete [2022-10-26T06:01:55.973Z] d0c4b47475fc: Pull complete [2022-10-26T06:01:56.242Z] 5dd5c2283517: Verifying Checksum [2022-10-26T06:01:56.242Z] 5dd5c2283517: Download complete [2022-10-26T06:01:57.210Z] 5831b945b038: Verifying Checksum [2022-10-26T06:01:57.210Z] 5831b945b038: Download complete [2022-10-26T06:02:09.550Z] 5831b945b038: Pull complete [2022-10-26T06:02:09.550Z] 86bbec2aaacd: Pull complete [2022-10-26T06:02:09.550Z] e10730c5d714: Pull complete [2022-10-26T06:02:16.242Z] 5dd5c2283517: Pull complete [2022-10-26T06:02:18.310Z] d5ac0230b979: Pull complete [2022-10-26T06:02:18.310Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T06:02:18.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T06:02:18.310Z] ---> 59b3b1a385d4 [2022-10-26T06:02:18.310Z] Step 3/10 : ARG MAKE=make build [2022-10-26T06:02:20.259Z] ---> Running in 80b0852b13cf [2022-10-26T06:02:20.846Z] Removing intermediate container 80b0852b13cf [2022-10-26T06:02:20.846Z] ---> 6489ff7f92e5 [2022-10-26T06:02:20.846Z] Step 4/10 : WORKDIR /device-sdk-go [2022-10-26T06:02:20.846Z] ---> Running in 604ca4633401 [2022-10-26T06:02:21.115Z] Removing intermediate container 604ca4633401 [2022-10-26T06:02:21.115Z] ---> ae9dbf428fb1 [2022-10-26T06:02:21.115Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T06:02:21.115Z] ---> Running in aab0d873ba7e [2022-10-26T06:02:21.708Z] Removing intermediate container aab0d873ba7e [2022-10-26T06:02:21.708Z] ---> 123760684a6b [2022-10-26T06:02:21.708Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T06:02:21.708Z] ---> Running in b518469cfeb4 [2022-10-26T06:02:23.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T06:02:23.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T06:02:24.097Z] OK: 221 MiB in 51 packages [2022-10-26T06:02:25.078Z] Removing intermediate container b518469cfeb4 [2022-10-26T06:02:25.078Z] ---> c966dc3da822 [2022-10-26T06:02:25.078Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T06:02:25.359Z] ---> 6407861c7348 [2022-10-26T06:02:25.359Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T06:02:25.359Z] ---> Running in e4b0ebac37a6 [2022-10-26T06:03:33.285Z] Removing intermediate container e4b0ebac37a6 [2022-10-26T06:03:33.285Z] ---> c9254d8759ad [2022-10-26T06:03:33.285Z] Step 9/10 : COPY . . [2022-10-26T06:03:33.285Z] ---> d2074428184a [2022-10-26T06:03:33.285Z] Step 10/10 : RUN ${MAKE} [2022-10-26T06:03:33.285Z] ---> Running in aabe6772e5b2 [2022-10-26T06:03:33.285Z] noop [2022-10-26T06:03:33.285Z] Removing intermediate container aabe6772e5b2 [2022-10-26T06:03:33.285Z] ---> 04d40369dffd [2022-10-26T06:03:33.285Z] Successfully built 04d40369dffd [2022-10-26T06:03:33.285Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T06:03:33.649Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T06:03:33.649Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T06:03:33.863Z] prd-ubuntu20.04-docker-arm64-4c-16g-117077 does not seem to be running inside a container [2022-10-26T06:03:33.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T06:03:35.318Z] $ docker top 577a3c0c937c1f5e806bc8bd84d11bfb67c4db0e777db55584f4f58adef0f9d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T06:03:36.194Z] + go version [2022-10-26T06:03:36.194Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T06:03:36.220Z] $ docker stop --time=1 577a3c0c937c1f5e806bc8bd84d11bfb67c4db0e777db55584f4f58adef0f9d2 [2022-10-26T06:03:37.902Z] $ docker rm -f 577a3c0c937c1f5e806bc8bd84d11bfb67c4db0e777db55584f4f58adef0f9d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T06:03:38.486Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T06:03:38.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T06:03:38.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-117077 does not seem to be running inside a container [2022-10-26T06:03:38.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T06:03:40.022Z] $ docker top 1a816cac474df72a7b0d49255084023b3af17f72786a1744c430c70b4aa512e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T06:03:40.892Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-26T06:03:41.551Z] + make test [2022-10-26T06:03:41.551Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-26T06:04:20.509Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-26T06:06:42.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-26T06:06:42.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-26T06:06:42.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-26T06:06:42.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-26T06:06:42.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-26T06:06:42.234Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.569s coverage: 27.6% of statements [2022-10-26T06:06:42.234Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.377s coverage: 78.9% of statements [2022-10-26T06:06:42.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-26T06:06:50.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.643s coverage: 73.1% of statements [2022-10-26T06:06:50.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-26T06:06:50.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-26T06:06:53.875Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.565s coverage: 54.4% of statements [2022-10-26T06:06:53.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-26T06:06:53.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-26T06:06:53.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-26T06:06:53.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-26T06:06:53.875Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.466s coverage: 65.1% of statements [2022-10-26T06:06:53.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-26T06:06:53.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-26T06:06:53.875Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.931s coverage: 89.2% of statements [2022-10-26T06:06:53.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-26T06:06:54.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.251s coverage: 4.7% of statements [2022-10-26T06:06:54.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-26T06:06:55.798Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T06:06:55.798Z] GO111MODULE=on go vet ./... [2022-10-26T06:08:32.486Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T06:08:32.486Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T06:08:32.486Z] ./bin/test-attribution-txt.sh [2022-10-26T06:08:32.486Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-26T06:08:32.486Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-26T06:08:32.486Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-26T06:08:32.486Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-26T06:08:32.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T06:08:32.517Z] $ docker stop --time=1 1a816cac474df72a7b0d49255084023b3af17f72786a1744c430c70b4aa512e3 [2022-10-26T06:08:34.363Z] $ docker rm -f 1a816cac474df72a7b0d49255084023b3af17f72786a1744c430c70b4aa512e3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T06:08:35.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T06:08:35.797Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T06:08:36.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T06:08:36.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T06:08:37.030Z] + ls -al . [2022-10-26T06:08:37.030Z] total 276 [2022-10-26T06:08:37.030Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 06:03 . [2022-10-26T06:08:37.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 06:01 .. [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 06:01 .dockerignore [2022-10-26T06:08:37.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 06:01 .git [2022-10-26T06:08:37.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 06:01 .github [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 06:01 .gitignore [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 06:01 .golangci.yml [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 06:01 CHANGELOG.md [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 06:01 GOVERNANCE.md [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 06:01 Jenkinsfile [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 06:01 LICENSE [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 06:01 Makefile [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 06:01 OWNERS.md [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 06:01 README.md [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 05:58 VERSION [2022-10-26T06:08:37.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 06:01 bin [2022-10-26T06:08:37.030Z] -rw-r--r-- 1 jenkins jenkins 101760 Oct 26 06:06 coverage.out [2022-10-26T06:08:37.030Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 06:01 example [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 06:01 go.mod [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 06:01 go.sum [2022-10-26T06:08:37.030Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 06:01 internal [2022-10-26T06:08:37.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 06:01 openapi [2022-10-26T06:08:37.030Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 06:01 pkg [2022-10-26T06:08:37.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 06:01 snap [2022-10-26T06:08:37.030Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T06:08:37.375Z] + 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=2af52405221536dc1454a56b55a26145cb4bfa2a --label arch=arm64 --label version=0.0.0 . [2022-10-26T06:08:37.644Z] Sending build context to Docker daemon 5.525MB [2022-10-26T06:08:37.911Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T06:08:37.911Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T06:08:37.911Z] ---> 04d40369dffd [2022-10-26T06:08:37.911Z] Step 3/23 : ARG MAKE=make build [2022-10-26T06:08:37.911Z] ---> Running in e9f5c1abbe2d [2022-10-26T06:08:38.180Z] Removing intermediate container e9f5c1abbe2d [2022-10-26T06:08:38.180Z] ---> ebb09401cbce [2022-10-26T06:08:38.180Z] Step 4/23 : WORKDIR /device-sdk-go [2022-10-26T06:08:38.449Z] ---> Running in 72ce8a9f8eca [2022-10-26T06:08:38.724Z] Removing intermediate container 72ce8a9f8eca [2022-10-26T06:08:38.724Z] ---> 919de1588993 [2022-10-26T06:08:38.724Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T06:08:38.724Z] ---> Running in 8cfcee88208a [2022-10-26T06:08:38.992Z] Removing intermediate container 8cfcee88208a [2022-10-26T06:08:38.992Z] ---> 1238473d1f5a [2022-10-26T06:08:38.992Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T06:08:38.992Z] ---> Running in 936e0bd83d47 [2022-10-26T06:08:39.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T06:08:40.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T06:08:41.202Z] OK: 221 MiB in 51 packages [2022-10-26T06:08:42.166Z] Removing intermediate container 936e0bd83d47 [2022-10-26T06:08:42.166Z] ---> fe1c6e907940 [2022-10-26T06:08:42.166Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T06:08:42.752Z] ---> e36661ab2838 [2022-10-26T06:08:42.752Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T06:08:42.752Z] ---> Running in ed0dd973cf07 [2022-10-26T06:08:44.703Z] Removing intermediate container ed0dd973cf07 [2022-10-26T06:08:44.703Z] ---> cf96e0f3d70e [2022-10-26T06:08:44.703Z] Step 9/23 : COPY . . [2022-10-26T06:08:46.115Z] ---> de9727f91d79 [2022-10-26T06:08:46.115Z] Step 10/23 : RUN ${MAKE} [2022-10-26T06:08:46.115Z] ---> Running in 09a3ee07baa9 [2022-10-26T06:08:47.080Z] 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-10-26T06:10:53.756Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-26T06:11:00.434Z] Removing intermediate container 09a3ee07baa9 [2022-10-26T06:11:00.434Z] ---> 0777d56d2a48 [2022-10-26T06:11:00.434Z] Step 11/23 : FROM alpine:3.16 [2022-10-26T06:11:00.700Z] 3.16: Pulling from library/alpine [2022-10-26T06:11:00.700Z] 9b18e9b68314: Already exists [2022-10-26T06:11:00.966Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T06:11:00.966Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T06:11:00.966Z] ---> a6215f271958 [2022-10-26T06:11:00.966Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T06:11:00.966Z] ---> Running in ecab5382f77f [2022-10-26T06:11:01.233Z] Removing intermediate container ecab5382f77f [2022-10-26T06:11:01.233Z] ---> a297d6871496 [2022-10-26T06:11:01.233Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-10-26T06:11:01.502Z] ---> Running in d4abc2a1b815 [2022-10-26T06:11:02.465Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T06:11:02.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T06:11:03.765Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T06:11:03.765Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-26T06:11:03.765Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T06:11:03.765Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-26T06:11:03.765Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-26T06:11:03.765Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T06:11:03.765Z] OK: 8 MiB in 19 packages [2022-10-26T06:11:04.767Z] Removing intermediate container d4abc2a1b815 [2022-10-26T06:11:04.767Z] ---> df3cfb22b311 [2022-10-26T06:11:04.767Z] Step 14/23 : WORKDIR / [2022-10-26T06:11:04.767Z] ---> Running in b046f3dff8f2 [2022-10-26T06:11:05.037Z] Removing intermediate container b046f3dff8f2 [2022-10-26T06:11:05.037Z] ---> 3976148f501f [2022-10-26T06:11:05.037Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-26T06:11:05.648Z] ---> 19592dafa9d2 [2022-10-26T06:11:05.648Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-26T06:11:07.112Z] ---> 51eced0d4c9b [2022-10-26T06:11:07.112Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-26T06:11:07.379Z] ---> 5d7bc2e7e130 [2022-10-26T06:11:07.379Z] Step 18/23 : EXPOSE 59999 [2022-10-26T06:11:07.646Z] ---> Running in 090c8f9efe34 [2022-10-26T06:11:07.912Z] Removing intermediate container 090c8f9efe34 [2022-10-26T06:11:07.912Z] ---> 3c06b710e626 [2022-10-26T06:11:07.912Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-10-26T06:11:07.912Z] ---> Running in a4898f53cd2e [2022-10-26T06:11:08.180Z] Removing intermediate container a4898f53cd2e [2022-10-26T06:11:08.180Z] ---> f541b924712f [2022-10-26T06:11:08.180Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T06:11:08.180Z] ---> Running in dbc5386beb32 [2022-10-26T06:11:08.459Z] Removing intermediate container dbc5386beb32 [2022-10-26T06:11:08.459Z] ---> 8df55282c096 [2022-10-26T06:11:08.459Z] Step 21/23 : LABEL arch=arm64 [2022-10-26T06:11:08.459Z] ---> Running in 0ac7f62dc4bf [2022-10-26T06:11:08.724Z] Removing intermediate container 0ac7f62dc4bf [2022-10-26T06:11:08.724Z] ---> 6c4576da5030 [2022-10-26T06:11:08.724Z] Step 22/23 : LABEL git_sha=2af52405221536dc1454a56b55a26145cb4bfa2a [2022-10-26T06:11:08.999Z] ---> Running in 18e5858f8d43 [2022-10-26T06:11:09.266Z] Removing intermediate container 18e5858f8d43 [2022-10-26T06:11:09.266Z] ---> 89a667fe3e4b [2022-10-26T06:11:09.266Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T06:11:09.266Z] ---> Running in 8105e6d347ee [2022-10-26T06:11:09.533Z] Removing intermediate container 8105e6d347ee [2022-10-26T06:11:09.533Z] ---> 70f8ad8c31da [2022-10-26T06:11:09.533Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T06:11:09.533Z] Successfully built 70f8ad8c31da [2022-10-26T06:11:09.533Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T06:11:09.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T06:11:09.967Z] [2022-10-26T06:11:09.967Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T06:11:10.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T06:11:10.301Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T06:11:10.301Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T06:11:10.301Z] 04944245beec: Pulling fs layer [2022-10-26T06:11:10.301Z] 699f458cf7ca: Pulling fs layer [2022-10-26T06:11:10.301Z] 765212b225bb: Pulling fs layer [2022-10-26T06:11:10.301Z] f23df028b6ca: Pulling fs layer [2022-10-26T06:11:10.301Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T06:11:10.301Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T06:11:10.301Z] 765212b225bb: Waiting [2022-10-26T06:11:10.301Z] d65c8cfc05b1: Waiting [2022-10-26T06:11:10.301Z] 2437ff75d9bd: Waiting [2022-10-26T06:11:10.301Z] f23df028b6ca: Waiting [2022-10-26T06:11:10.577Z] 04944245beec: Verifying Checksum [2022-10-26T06:11:10.577Z] 04944245beec: Download complete [2022-10-26T06:11:10.577Z] 765212b225bb: Verifying Checksum [2022-10-26T06:11:10.577Z] 765212b225bb: Download complete [2022-10-26T06:11:10.577Z] f23df028b6ca: Verifying Checksum [2022-10-26T06:11:10.577Z] f23df028b6ca: Download complete [2022-10-26T06:11:10.577Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T06:11:10.577Z] d65c8cfc05b1: Download complete [2022-10-26T06:11:10.846Z] 699f458cf7ca: Verifying Checksum [2022-10-26T06:11:10.846Z] 699f458cf7ca: Download complete [2022-10-26T06:11:11.112Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T06:11:11.112Z] 8998bd30e6a1: Download complete [2022-10-26T06:11:13.724Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T06:11:13.724Z] 2437ff75d9bd: Download complete [2022-10-26T06:11:15.146Z] 8998bd30e6a1: Pull complete [2022-10-26T06:11:15.414Z] 04944245beec: Pull complete [2022-10-26T06:11:16.825Z] 699f458cf7ca: Pull complete [2022-10-26T06:11:16.825Z] 765212b225bb: Pull complete [2022-10-26T06:11:17.785Z] f23df028b6ca: Pull complete [2022-10-26T06:11:17.785Z] d65c8cfc05b1: Pull complete [2022-10-26T06:11:32.808Z] 2437ff75d9bd: Pull complete [2022-10-26T06:11:32.808Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T06:11:32.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T06:11:32.809Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T06:11:33.007Z] prd-ubuntu20.04-docker-arm64-4c-16g-117077 does not seem to be running inside a container [2022-10-26T06:11:33.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T06:11:35.755Z] $ docker top 3a61262bf0cead6c8df1f3307fdba0532aac9868223592ef7370c5e9c2068efb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T06:11:36.572Z] ---> job-cost.sh [2022-10-26T06:11:36.572Z] lf-activate-venv: SKIPPING [2022-10-26T06:11:36.572Z] INFO: No Stack... [2022-10-26T06:11:36.838Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T06:11:37.799Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T06:11:38.439Z] + cut -d, -f6 [2022-10-26T06:11:38.439Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2022-10-26T06:11:38.509Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] [2022-10-26T06:11:38.515Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] did not exist. Created. [2022-10-26T06:11:38.515Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T06:11:39.169Z] /w/workspace/device-sdk-go/2@tmp/durable-f66cdf4e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T06:11:39.820Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T06:11:39.843Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T06:11:39.911Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T06:11:39.917Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1249-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T06:11:39.936Z] $ docker stop --time=1 3a61262bf0cead6c8df1f3307fdba0532aac9868223592ef7370c5e9c2068efb [2022-10-26T06:11:41.440Z] $ docker rm -f 3a61262bf0cead6c8df1f3307fdba0532aac9868223592ef7370c5e9c2068efb [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-10-26T06:11:41.894Z] provisioning config files... [2022-10-26T06:11:41.900Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config11787112311564937561tmp [Pipeline] { [Pipeline] sh [2022-10-26T06:11:42.189Z] + set +x [2022-10-26T06:11:42.189Z] + curl -s https://codecov.io/bash [2022-10-26T06:11:42.189Z] + bash -s -- [2022-10-26T06:11:42.189Z] [2022-10-26T06:11:42.189Z] _____ _ [2022-10-26T06:11:42.189Z] / ____| | | [2022-10-26T06:11:42.189Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T06:11:42.189Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T06:11:42.189Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T06:11:42.189Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T06:11:42.189Z] Bash-1.0.6 [2022-10-26T06:11:42.189Z] [2022-10-26T06:11:42.189Z] [2022-10-26T06:11:42.189Z] ==> git version 2.25.1 found [2022-10-26T06:11:42.189Z] ==> 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-10-26T06:11:42.189Z] Release-Date: 2020-01-08 [2022-10-26T06:11:42.189Z] 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-10-26T06:11:42.189Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T06:11:42.189Z] ==> Jenkins CI detected. [2022-10-26T06:11:42.189Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1249 [2022-10-26T06:11:42.189Z] project root: . [2022-10-26T06:11:42.189Z] --> token set from env [2022-10-26T06:11:42.189Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T06:11:42.189Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T06:11:42.189Z] ==> Python coveragepy not found [2022-10-26T06:11:42.189Z] ==> Searching for coverage reports in: [2022-10-26T06:11:42.189Z] + . [2022-10-26T06:11:42.189Z] -> Found 1 reports [2022-10-26T06:11:42.189Z] ==> Detecting git/mercurial file structure [2022-10-26T06:11:42.189Z] ==> Reading reports [2022-10-26T06:11:42.189Z] + ./coverage.out bytes=101760 [2022-10-26T06:11:42.189Z] ==> Appending adjustments [2022-10-26T06:11:42.189Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T06:11:42.448Z] + Found adjustments [2022-10-26T06:11:42.448Z] ==> Gzipping contents [2022-10-26T06:11:42.448Z] 16K /tmp/codecov.IV9LgN.gz [2022-10-26T06:11:42.448Z] ==> Uploading reports [2022-10-26T06:11:42.448Z] url: https://codecov.io [2022-10-26T06:11:42.448Z] query: branch=PR-1249&commit=2af52405221536dc1454a56b55a26145cb4bfa2a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1249%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1249&job=&cmd_args= [2022-10-26T06:11:42.448Z] -> Pinging Codecov [2022-10-26T06:11:42.448Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1249&commit=2af52405221536dc1454a56b55a26145cb4bfa2a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1249%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1249&job=&cmd_args= [2022-10-26T06:11:43.021Z] -> Uploading to [2022-10-26T06:11:43.021Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/2af52405221536dc1454a56b55a26145cb4bfa2a/86b224c8-90e9-4ab9-bdcc-e161dda5ea62.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T061142Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c75041e7bde87815adfcbfbf15136b71d9daf651837e4c6a4151fc7ae614307f [2022-10-26T06:11:43.021Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T06:11:43.021Z] Dload Upload Total Spent Left Speed [2022-10-26T06:11:43.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14710 0 0 100 14710 0 58373 --:--:-- --:--:-- --:--:-- 58373 [2022-10-26T06:11:43.280Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2af52405221536dc1454a56b55a26145cb4bfa2a [Pipeline] } [2022-10-26T06:11:43.286Z] 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-10-26T06:11:43.989Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives ] [2022-10-26T06:11:43.989Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives [2022-10-26T06:11:43.989Z] total 16 [2022-10-26T06:11:43.989Z] drwxr-xr-x 3 root root 4096 Oct 26 06:00 . [2022-10-26T06:11:43.989Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 06:00 .. [2022-10-26T06:11:43.989Z] drwxr-xr-x 2 root root 4096 Oct 26 06:00 cost [2022-10-26T06:11:43.989Z] -rw-r--r-- 1 root root 86 Oct 26 06:00 cost.csv [2022-10-26T06:11:43.989Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives [2022-10-26T06:11:43.989Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives [2022-10-26T06:11:43.989Z] total 16 [2022-10-26T06:11:43.989Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 06:00 . [2022-10-26T06:11:43.989Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 06:00 .. [2022-10-26T06:11:43.989Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 06:00 cost [2022-10-26T06:11:43.989Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T06:11:44.274Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T06:11:45.132Z] ---> package-listing.sh [2022-10-26T06:11:45.132Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T06:11:45.132Z] ++ facter osfamily [2022-10-26T06:11:45.392Z] + OS_FAMILY=debian [2022-10-26T06:11:45.392Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1249 [2022-10-26T06:11:45.392Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T06:11:45.392Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T06:11:45.392Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T06:11:45.392Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T06:11:45.392Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1249 ']' [2022-10-26T06:11:45.392Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T06:11:45.392Z] + case "${OS_FAMILY}" in [2022-10-26T06:11:45.392Z] + dpkg -l [2022-10-26T06:11:45.392Z] + grep '^ii' [2022-10-26T06:11:45.392Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T06:11:45.392Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T06:11:45.392Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T06:11:45.392Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1249 ']' [2022-10-26T06:11:45.392Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives/ [2022-10-26T06:11:45.392Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1249/archives/ [Pipeline] echo [2022-10-26T06:11:45.403Z] 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-1249/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T06:11:45.681Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T06:11:46.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T06:11:46.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T06:11:46.307Z] prd-ubuntu20.04-docker-8c-8g-117076 does not seem to be running inside a container [2022-10-26T06:11:46.356Z] $ 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-1249/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-1249 -v /w/workspace/gexfoundry_device-sdk-go_PR-1249:/w/workspace/gexfoundry_device-sdk-go_PR-1249:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1249@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-10-26T06:11:46.566Z] $ docker top bc494ec8d7ebff3c9a60735a7e30afe223baf0d3e5708b2fc510b85fc049353c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T06:11:46.878Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T06:11:47.162Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T06:11:47.447Z] + ls /var/log/sa-host [2022-10-26T06:11:47.447Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T06:11:47.509Z] provisioning config files... [2022-10-26T06:11:47.517Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1249@tmp/config4773319664643729372tmp [Pipeline] { [Pipeline] echo [2022-10-26T06:11:47.525Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T06:11:47.804Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T06:11:47.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T06:11:48.133Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T06:11:48.142Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T06:11:48.426Z] ---> sudo-logs.sh [2022-10-26T06:11:48.426Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T06:11:48.456Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T06:11:48.740Z] ---> job-cost.sh [2022-10-26T06:11:48.741Z] lf-activate-venv: SKIPPING [2022-10-26T06:11:48.741Z] DEBUG: total: 0.2199999988079071 [2022-10-26T06:11:48.741Z] INFO: Retrieving Stack Cost... [2022-10-26T06:11:49.000Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T06:11:49.570Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T06:11:49.578Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T06:11:49.859Z] ---> logs-deploy.sh [2022-10-26T06:11:49.859Z] lf-activate-venv: SKIPPING [2022-10-26T06:11:49.859Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1249/2 [2022-10-26T06:11:49.859Z] INFO: archiving workspace using pattern(s): [2022-10-26T06:11:50.796Z] Archives upload complete. [2022-10-26T06:11:50.796Z] INFO: archiving logs to Nexus