Pull request #1216 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 2a1e4923af529abf66cb087d1ef4c8494172dbc4 rather than c7cd50c6e69c915e37397c2df1a48575bb480629 Obtained Jenkinsfile from 2a1e4923af529abf66cb087d1ef4c8494172dbc4 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-ssh5256188056126096321.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh13485511521131827907.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7484743755382650594.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8068727563137766835.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3442973506895985637.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8641782429651318922.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-745 in /w/workspace/gexfoundry_device-sdk-go_PR-1216 [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-1216 # 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/1216/head:refs/remotes/origin/PR-1216 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2a1e4923af529abf66cb087d1ef4c8494172dbc4 into PR head commit c7cd50c6e69c915e37397c2df1a48575bb480629 Merge succeeded, producing c7cd50c6e69c915e37397c2df1a48575bb480629 Checking out Revision c7cd50c6e69c915e37397c2df1a48575bb480629 (PR-1216) > git config core.sparsecheckout # timeout=10 > git checkout -f c7cd50c6e69c915e37397c2df1a48575bb480629 # 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 2a1e4923af529abf66cb087d1ef4c8494172dbc4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7cd50c6e69c915e37397c2df1a48575bb480629 # timeout=10 Commit message: "fix: Skip Subscription to Empty Command Request Topic" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:23:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:23:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:23:56 ========================================================= 18:23:56 EdgeX Global Pipelines Version Info 18:23:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:23:57 ------------------- 18:23:57 stable info: 18:23:57 ------------------- 18:23:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:23:57 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 18:23:57 Message: update stable to v1.0.239 18:23:57 ------------------- 18:23:57 experimental info: 18:23:57 ------------------- 18:23:57 Commited By: **** collab-it+edgex@linuxfoundation.org 18:23:57 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 18:23:57 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:23:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:23:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1216 [Pipeline] echo 18:23:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1216 [Pipeline] echo 18:23:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1216 [Pipeline] echo 18:23:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7cd50c6e69c915e37397c2df1a48575bb480629 [Pipeline] echo 18:23:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7cd50c [Pipeline] echo 18:23:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:23:59 provisioning config files... 18:23:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/config10273294420450938385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:59 ---> docker-login.sh 18:23:59 nexus3.edgexfoundry.org:10001 18:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:00 Configure a credential helper to remove this warning. See 18:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:00 18:24:00 Login Succeeded 18:24:00 nexus3.edgexfoundry.org:10002 18:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:00 Configure a credential helper to remove this warning. See 18:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:00 18:24:00 Login Succeeded 18:24:00 nexus3.edgexfoundry.org:10003 18:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:00 Configure a credential helper to remove this warning. See 18:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:00 18:24:00 Login Succeeded 18:24:00 nexus3.edgexfoundry.org:10004 18:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:00 Configure a credential helper to remove this warning. See 18:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:00 18:24:00 Login Succeeded 18:24:00 docker.io 18:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:00 Configure a credential helper to remove this warning. See 18:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:00 18:24:00 Login Succeeded 18:24:00 ---> docker-login.sh ends [Pipeline] } 18:24:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:24:01 + git rev-list -1 --merges c7cd50c6e69c915e37397c2df1a48575bb480629~1..c7cd50c6e69c915e37397c2df1a48575bb480629 [Pipeline] echo 18:24:01 -----------> git rev-list -1 --merges c7cd50c6e69c915e37397c2df1a48575bb480629~1..c7cd50c6e69c915e37397c2df1a48575bb480629 c7cd50c6e69c915e37397c2df1a48575bb480629 [false] [Pipeline] sh 18:24:02 + git log --format=format:%s -1 c7cd50c6e69c915e37397c2df1a48575bb480629 [Pipeline] echo 18:24:02 ========================================================= 18:24:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:24:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:24:02 + git log --format=format:%s -1 c7cd50c6e69c915e37397c2df1a48575bb480629 [Pipeline] echo 18:24:02 [semverPrep] GIT_COMMIT: c7cd50c6e69c915e37397c2df1a48575bb480629, Commit Message: fix: Skip Subscription to Empty Command Request Topic [Pipeline] echo 18:24:02 [semverPrep] This is not a build commit. [Pipeline] sh 18:24:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:24:02 + grep -v github /etc/ssh/ssh_known_hosts 18:24:02 + [ -e /tmp/ssh_known_hosts ] 18:24:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:24:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:24:02 + sudo tee -a /etc/ssh/ssh_known_hosts 18:24:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:03 18:24:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:03 0.1.4: Pulling from edgex-devops/py-git-semver 18:24:03 b85a868b505f: Pulling fs layer 18:24:03 e2be974225ed: Pulling fs layer 18:24:03 339a4e72a1f5: Pulling fs layer 18:24:03 988bab9f4d93: Pulling fs layer 18:24:03 1469e6f7b9e6: Pulling fs layer 18:24:03 eaf3925da568: Pulling fs layer 18:24:03 bab4dde63d76: Pulling fs layer 18:24:03 bde34c3a00c8: Pulling fs layer 18:24:03 b352a97aabf1: Pulling fs layer 18:24:03 4872d77fe225: Pulling fs layer 18:24:03 1469e6f7b9e6: Waiting 18:24:03 eaf3925da568: Waiting 18:24:03 988bab9f4d93: Waiting 18:24:03 bab4dde63d76: Waiting 18:24:03 bde34c3a00c8: Waiting 18:24:03 b352a97aabf1: Waiting 18:24:03 5851b861e8e6: Pulling fs layer 18:24:03 5851b861e8e6: Waiting 18:24:03 4872d77fe225: Waiting 18:24:03 e2be974225ed: Verifying Checksum 18:24:03 e2be974225ed: Download complete 18:24:03 988bab9f4d93: Verifying Checksum 18:24:03 988bab9f4d93: Download complete 18:24:04 1469e6f7b9e6: Verifying Checksum 18:24:04 1469e6f7b9e6: Download complete 18:24:04 eaf3925da568: Verifying Checksum 18:24:04 339a4e72a1f5: Verifying Checksum 18:24:04 339a4e72a1f5: Download complete 18:24:04 bde34c3a00c8: Download complete 18:24:04 b352a97aabf1: Download complete 18:24:04 4872d77fe225: Verifying Checksum 18:24:04 4872d77fe225: Download complete 18:24:04 5851b861e8e6: Verifying Checksum 18:24:04 5851b861e8e6: Download complete 18:24:04 b85a868b505f: Verifying Checksum 18:24:04 b85a868b505f: Download complete 18:24:04 bab4dde63d76: Verifying Checksum 18:24:04 bab4dde63d76: Download complete 18:24:05 b85a868b505f: Pull complete 18:24:05 e2be974225ed: Pull complete 18:24:06 339a4e72a1f5: Pull complete 18:24:06 988bab9f4d93: Pull complete 18:24:06 1469e6f7b9e6: Pull complete 18:24:06 eaf3925da568: Pull complete 18:24:08 bab4dde63d76: Pull complete 18:24:08 bde34c3a00c8: Pull complete 18:24:08 b352a97aabf1: Pull complete 18:24:08 4872d77fe225: Pull complete 18:24:08 5851b861e8e6: Pull complete 18:24:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:24:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:09 prd-ubuntu20.04-docker-8c-8g-745 does not seem to be running inside a container 18:24:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1216 -v /w/workspace/gexfoundry_device-sdk-go_PR-1216:/w/workspace/gexfoundry_device-sdk-go_PR-1216:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:24:10 $ docker top f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 -eo pid,comm 18:24:10 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). 18:24:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:24:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:24:10 [ssh-agent] Looking for ssh-agent implementation... 18:24:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:24:10 $ docker exec f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 ssh-agent 18:24:11 SSH_AUTH_SOCK=/tmp/ssh-NWg20aek8eIF/agent.32 18:24:11 SSH_AGENT_PID=38 18:24:11 Running ssh-add (command line suppressed) 18:24:11 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/private_key_7261155986193854921.key (/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/private_key_7261155986193854921.key) 18:24:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:24:11 + git tag --points-at HEAD [Pipeline] } 18:24:11 $ docker exec --env ******** --env ******** f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 ssh-agent -k 18:24:11 unset SSH_AUTH_SOCK; 18:24:11 unset SSH_AGENT_PID; 18:24:11 echo Agent pid 38 killed; 18:24:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:24:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:24:11 [ssh-agent] Looking for ssh-agent implementation... 18:24:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:24:11 $ docker exec f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 ssh-agent 18:24:11 SSH_AUTH_SOCK=/tmp/ssh-n4RezqZJWCUd/agent.70 18:24:11 SSH_AGENT_PID=76 18:24:11 Running ssh-add (command line suppressed) 18:24:12 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/private_key_6738970923705266506.key (/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/private_key_6738970923705266506.key) 18:24:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:24:12 + git semver init 18:24:12 2022-09-23 18:24:12,627 [run_init] DEBUG init version:0.0.0 force:False 18:24:12 2022-09-23 18:24:12,628 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver 18:24:12 2022-09-23 18:24:12,629 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver 18:24:12 2022-09-23 18:24:12,629 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1216, universal_newlines=False, shell=None, istream=None) 18:24:13 2022-09-23 18:24:13,639 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216/.git/info/exclude 18:24:13 2022-09-23 18:24:13,640 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver/PR-1216 with force:False 18:24:13 2022-09-23 18:24:13,640 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver/PR-1216 18:24:13 2022-09-23 18:24:13,645 [execute] INFO git cat-file --batch-check 18:24:13 2022-09-23 18:24:13,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver, universal_newlines=False, shell=None, istream=) 18:24:13 2022-09-23 18:24:13,654 [execute] INFO git cat-file --batch 18:24:13 2022-09-23 18:24:13,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver, universal_newlines=False, shell=None, istream=) 18:24:13 2022-09-23 18:24:13,659 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver/PR-1216 18:24:13 0.0.0 [Pipeline] } 18:24:13 $ docker exec --env ******** --env ******** f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 ssh-agent -k 18:24:14 unset SSH_AUTH_SOCK; 18:24:14 unset SSH_AGENT_PID; 18:24:14 echo Agent pid 76 killed; 18:24:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:24:14 + git semver [Pipeline] } 18:24:14 $ docker stop --time=1 f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 18:24:16 $ docker rm -f f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 [Pipeline] // withDockerContainer [Pipeline] sh 18:24:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:24:16 Stashed 1 file(s) [Pipeline] echo 18:24:16 [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 18:24:17 provisioning config files... 18:24:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/config16176122398730493914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:17 ---> docker-login.sh 18:24:17 nexus3.edgexfoundry.org:10001 18:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:17 Configure a credential helper to remove this warning. See 18:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:17 18:24:17 Login Succeeded 18:24:17 nexus3.edgexfoundry.org:10002 18:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:17 Configure a credential helper to remove this warning. See 18:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:17 18:24:17 Login Succeeded 18:24:17 nexus3.edgexfoundry.org:10003 18:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:17 Configure a credential helper to remove this warning. See 18:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:17 18:24:17 Login Succeeded 18:24:17 nexus3.edgexfoundry.org:10004 18:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:17 Configure a credential helper to remove this warning. See 18:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:17 18:24:17 Login Succeeded 18:24:17 docker.io 18:24:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:18 Configure a credential helper to remove this warning. See 18:24:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:18 18:24:18 Login Succeeded 18:24:18 ---> docker-login.sh ends [Pipeline] } 18:24:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:24:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:18 ========================================================= 18:24:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:24:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:19 + 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 . 18:24:19 Sending build context to Docker daemon 9.892MB 18:24:19 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 18:24:19 Step 2/11 : FROM ${BASE} AS builder 18:24:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:24:19 2408cc74d12b: Pulling fs layer 18:24:19 ea60b727a1ce: Pulling fs layer 18:24:19 30c4a7721957: Pulling fs layer 18:24:19 370296b7ddb6: Pulling fs layer 18:24:19 7c6cee850709: Pulling fs layer 18:24:19 39a5fcdaea64: Pulling fs layer 18:24:19 d94ebbe4e438: Pulling fs layer 18:24:19 bcfd1f05c69d: Pulling fs layer 18:24:19 59ccb84bbe0f: Pulling fs layer 18:24:19 370296b7ddb6: Waiting 18:24:19 7c6cee850709: Waiting 18:24:19 39a5fcdaea64: Waiting 18:24:19 59ccb84bbe0f: Waiting 18:24:19 bcfd1f05c69d: Waiting 18:24:19 30c4a7721957: Download complete 18:24:19 ea60b727a1ce: Verifying Checksum 18:24:19 ea60b727a1ce: Download complete 18:24:19 7c6cee850709: Verifying Checksum 18:24:19 7c6cee850709: Download complete 18:24:19 39a5fcdaea64: Verifying Checksum 18:24:19 39a5fcdaea64: Download complete 18:24:19 2408cc74d12b: Verifying Checksum 18:24:19 2408cc74d12b: Download complete 18:24:19 d94ebbe4e438: Download complete 18:24:19 2408cc74d12b: Pull complete 18:24:19 ea60b727a1ce: Pull complete 18:24:19 30c4a7721957: Pull complete 18:24:20 59ccb84bbe0f: Verifying Checksum 18:24:20 59ccb84bbe0f: Download complete 18:24:20 bcfd1f05c69d: Verifying Checksum 18:24:20 bcfd1f05c69d: Download complete 18:24:20 370296b7ddb6: Verifying Checksum 18:24:20 370296b7ddb6: Download complete 18:24:24 370296b7ddb6: Pull complete 18:24:24 7c6cee850709: Pull complete 18:24:24 39a5fcdaea64: Pull complete 18:24:24 d94ebbe4e438: Pull complete 18:24:26 bcfd1f05c69d: Pull complete 18:24:27 59ccb84bbe0f: Pull complete 18:24:27 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:24:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:24:27 ---> a4fb48ad2a94 18:24:27 Step 3/11 : ARG MAKE=make build 18:24:29 ---> Running in 5e2f37c613fe 18:24:29 Removing intermediate container 5e2f37c613fe 18:24:29 ---> 0eaf4e3df3a6 18:24:29 Step 4/11 : WORKDIR /device-sdk-go 18:24:29 ---> Running in b8a54c9ae939 18:24:29 Removing intermediate container b8a54c9ae939 18:24:29 ---> 5c1fbb05781f 18:24:29 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:24:29 ---> Running in 5003243bc8a6 18:24:29 Removing intermediate container 5003243bc8a6 18:24:29 ---> 7dc27a9ef287 18:24:29 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:24:29 ---> Running in 4033c6ee9b2d 18:24:30 Removing intermediate container 4033c6ee9b2d 18:24:30 ---> ec83540bb4ad 18:24:30 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:24:30 ---> Running in 8ae6273d95d2 18:24:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:24:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:24:32 OK: 211 MiB in 51 packages 18:24:32 Still waiting to schedule task 18:24:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:24:32 Removing intermediate container 8ae6273d95d2 18:24:32 ---> d37c58d897b2 18:24:32 Step 8/11 : COPY go.mod vendor* ./ 18:24:32 ---> 3015d93acfb5 18:24:32 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:32 ---> Running in 9cb42eda6e25 18:24:50 Removing intermediate container 9cb42eda6e25 18:24:50 ---> a2fedb264610 18:24:50 Step 10/11 : COPY . . 18:24:51 ---> be780807266d 18:24:51 Step 11/11 : RUN ${MAKE} 18:24:51 ---> Running in 8ad3b1312214 18:24:51 noop 18:24:51 Removing intermediate container 8ad3b1312214 18:24:51 ---> 11cfcad82a9e 18:24:51 Successfully built 11cfcad82a9e 18:24:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:52 + docker inspect -f . ci-base-image-x86_64 18:24:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:52 prd-ubuntu20.04-docker-8c-8g-745 does not seem to be running inside a container 18:24:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1216 -v /w/workspace/gexfoundry_device-sdk-go_PR-1216:/w/workspace/gexfoundry_device-sdk-go_PR-1216:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:24:52 $ docker top a7c06e7f3d0fbfec00f194c17cb8169245baee72c9c6cadea48fa2e140ecd73c -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:52 + go version 18:24:52 go version go1.18.3 linux/amd64 [Pipeline] } 18:24:53 $ docker stop --time=1 a7c06e7f3d0fbfec00f194c17cb8169245baee72c9c6cadea48fa2e140ecd73c 18:24:54 $ docker rm -f a7c06e7f3d0fbfec00f194c17cb8169245baee72c9c6cadea48fa2e140ecd73c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:55 + docker inspect -f . ci-base-image-x86_64 18:24:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:55 prd-ubuntu20.04-docker-8c-8g-745 does not seem to be running inside a container 18:24:55 $ 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-1216 -v /w/workspace/gexfoundry_device-sdk-go_PR-1216:/w/workspace/gexfoundry_device-sdk-go_PR-1216:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:24:55 $ docker top 10de0f61fcc4004c0d01491237d80a7d5751cbe05be6331d66d66762b92f4cde -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1216 [Pipeline] fileExists [Pipeline] sh 18:24:56 + make test 18:24:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:25:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:25:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 27.6% of statements 18:25:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 78.9% of statements 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 18:25:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.086s coverage: 60.0% of statements 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:25:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 54.4% of statements 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:25:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:25:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.756s coverage: 89.2% of statements 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:25:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 4.5% of statements 18:25:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:25:35 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." 18:25:35 GO111MODULE=on go vet ./... 18:25:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:25:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:25:36 ./bin/test-attribution-txt.sh 18:25:36 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 18:25:36 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 18:25:36 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 18:25:36 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 18:25:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:25:36 $ docker stop --time=1 10de0f61fcc4004c0d01491237d80a7d5751cbe05be6331d66d66762b92f4cde 18:25:38 $ docker rm -f 10de0f61fcc4004c0d01491237d80a7d5751cbe05be6331d66d66762b92f4cde [Pipeline] // withDockerContainer [Pipeline] sh 18:25:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:25:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:25:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:25:40 + ls -al . 18:25:40 total 276 18:25:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 23 18:24 . 18:25:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:23 .. 18:25:40 -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 18:23 .dockerignore 18:25:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 18:25 .git 18:25:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:23 .github 18:25:40 -rw-rw-r-- 1 jenkins jenkins 131 Sep 23 18:23 .gitignore 18:25:40 -rw-rw-r-- 1 jenkins jenkins 42 Sep 23 18:23 .golangci.yml 18:25:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 18:24 .semver 18:25:40 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 23 18:23 CHANGELOG.md 18:25:40 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 18:23 GOVERNANCE.md 18:25:40 -rw-rw-r-- 1 jenkins jenkins 880 Sep 23 18:23 Jenkinsfile 18:25:40 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 23 18:23 LICENSE 18:25:40 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 23 18:23 Makefile 18:25:40 -rw-rw-r-- 1 jenkins jenkins 619 Sep 23 18:23 OWNERS.md 18:25:40 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 23 18:23 README.md 18:25:40 -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 18:24 VERSION 18:25:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:23 bin 18:25:40 -rw-r--r-- 1 jenkins jenkins 101794 Sep 23 18:25 coverage.out 18:25:40 drwxrwxr-x 5 jenkins jenkins 4096 Sep 23 18:23 example 18:25:40 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 23 18:23 go.mod 18:25:40 -rw-rw-r-- 1 jenkins jenkins 37485 Sep 23 18:23 go.sum 18:25:40 drwxrwxr-x 14 jenkins jenkins 4096 Sep 23 18:23 internal 18:25:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:23 openapi 18:25:40 drwxrwxr-x 6 jenkins jenkins 4096 Sep 23 18:23 pkg 18:25:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:23 snap 18:25:40 -rw-rw-r-- 1 jenkins jenkins 222 Sep 23 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:40 + 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=c7cd50c6e69c915e37397c2df1a48575bb480629 --label arch=amd64 --label version=0.0.0 . 18:25:40 Sending build context to Docker daemon 9.994MB 18:25:40 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:25:40 Step 2/25 : FROM ${BASE} AS builder 18:25:40 ---> 11cfcad82a9e 18:25:40 Step 3/25 : ARG MAKE=make build 18:25:40 ---> Running in 8b835b4972cb 18:25:40 Removing intermediate container 8b835b4972cb 18:25:40 ---> b544f8c432d7 18:25:40 Step 4/25 : WORKDIR /device-sdk-go 18:25:40 ---> Running in 3db73ff94837 18:25:40 Removing intermediate container 3db73ff94837 18:25:40 ---> 69ca3fd431b2 18:25:40 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:25:41 ---> Running in 3fec906b9a47 18:25:41 Removing intermediate container 3fec906b9a47 18:25:41 ---> ecaee1f0737d 18:25:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:41 ---> Running in 5eaeda6dd6b7 18:25:41 Removing intermediate container 5eaeda6dd6b7 18:25:41 ---> 2711bbfdc7e1 18:25:41 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:25:41 ---> Running in dfa60c138819 18:25:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:25:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:25:43 OK: 211 MiB in 51 packages 18:25:43 Removing intermediate container dfa60c138819 18:25:43 ---> 6f6e89885982 18:25:43 Step 8/25 : COPY go.mod vendor* ./ 18:25:43 ---> abddd35a428f 18:25:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:25:43 ---> Running in b335f59c6f2c 18:25:44 Removing intermediate container b335f59c6f2c 18:25:44 ---> df45f503649e 18:25:44 Step 10/25 : COPY . . 18:25:44 ---> 3cf58d27725c 18:25:44 Step 11/25 : RUN ${MAKE} 18:25:44 ---> Running in b007a75967fc 18:25:44 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 18:26:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-746 in /w/workspace/gexfoundry_device-sdk-go_PR-1216 [Pipeline] { [Pipeline] ws 18:26:01 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 18:26:01 The recommended git tool is: git 18:26:03 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:26:04 Removing intermediate container b007a75967fc 18:26:04 ---> 74f45661d545 18:26:04 Step 12/25 : FROM alpine:3.16 18:26:05 3.16: Pulling from library/alpine 18:26:05 213ec9aee27d: Pulling fs layer 18:26:05 213ec9aee27d: Download complete 18:26:05 213ec9aee27d: Pull complete 18:26:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:26:05 Status: Downloaded newer image for alpine:3.16 18:26:05 ---> 9c6f07244728 18:26:05 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:26:05 ---> Running in 907f1c0445aa 18:26:05 Removing intermediate container 907f1c0445aa 18:26:05 ---> 25cda5511734 18:26:05 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:26:05 ---> Running in 6465c6d47d9b 18:26:06 Removing intermediate container 6465c6d47d9b 18:26:06 ---> 02f1787729f9 18:26:06 Step 15/25 : RUN apk add --update --no-cache zeromq 18:26:06 ---> Running in a580b9d7ab6a 18:26:06 using credential edgex-jenkins-ssh 18:26:06 Cloning the remote Git repository 18:26:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:26:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:26:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:26:06 > git init /w/workspace/device-sdk-go/1 # timeout=10 18:26:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:26:06 > git --version # timeout=10 18:26:06 > git --version # 'git version 2.25.1' 18:26:06 using GIT_SSH to set credentials SSH Credentials for GitHub 18:26:06 Verifying host key using known hosts file 18:26:06 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. 18:26:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:26:07 (1/5) Installing libgcc (11.2.1_git20220219-r2) 18:26:07 (2/5) Installing libsodium (1.0.18-r0) 18:26:08 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 18:26:08 (4/5) Installing libzmq (4.3.4-r0) 18:26:08 (5/5) Installing zeromq (4.3.4-r0) 18:26:08 Executing busybox-1.35.0-r17.trigger 18:26:08 OK: 8 MiB in 19 packages 18:26:08 Removing intermediate container a580b9d7ab6a 18:26:08 ---> cda3007bad79 18:26:08 Step 16/25 : WORKDIR / 18:26:08 ---> Running in 3c42bd4d591d 18:26:08 Removing intermediate container 3c42bd4d591d 18:26:08 ---> e81db96392aa 18:26:08 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:26:08 ---> 2908aa0f6e3d 18:26:08 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:26:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:26:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:26:09 ---> b77bd0d64897 18:26:09 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:26:09 ---> db962aaee596 18:26:09 Step 20/25 : EXPOSE 59999 18:26:09 ---> Running in a166004298a4 18:26:09 Removing intermediate container a166004298a4 18:26:09 ---> 4802016a43c5 18:26:09 Step 21/25 : ENTRYPOINT ["/device-simple"] 18:26:09 ---> Running in c1063969ce34 18:26:09 Removing intermediate container c1063969ce34 18:26:09 ---> f2b7f37e0d7f 18:26:09 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:26:09 ---> Running in 65661e99faea 18:26:10 Merging remotes/origin/main commit 2a1e4923af529abf66cb087d1ef4c8494172dbc4 into PR head commit c7cd50c6e69c915e37397c2df1a48575bb480629 18:26:10 Removing intermediate container 65661e99faea 18:26:10 ---> 87758d0aeb0c 18:26:10 Step 23/25 : LABEL arch=amd64 18:26:10 ---> Running in d7d36f9d2bc5 18:26:10 Removing intermediate container d7d36f9d2bc5 18:26:10 ---> 917c446a0261 18:26:10 Step 24/25 : LABEL git_sha=c7cd50c6e69c915e37397c2df1a48575bb480629 18:26:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:26:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:26:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:26:09 Verifying host key using known hosts file 18:26:09 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. 18:26:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1216/head:refs/remotes/origin/PR-1216 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:26:10 > git config core.sparsecheckout # timeout=10 18:26:10 > git checkout -f c7cd50c6e69c915e37397c2df1a48575bb480629 # timeout=10 18:26:10 > git remote # timeout=10 18:26:10 > git config --get remote.origin.url # timeout=10 18:26:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:26:10 Verifying host key using known hosts file 18:26:10 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. 18:26:10 > git merge 2a1e4923af529abf66cb087d1ef4c8494172dbc4 # timeout=10 18:26:10 Merge succeeded, producing c7cd50c6e69c915e37397c2df1a48575bb480629 18:26:10 Checking out Revision c7cd50c6e69c915e37397c2df1a48575bb480629 (PR-1216) 18:26:10 ---> Running in df25405bc594 18:26:10 Removing intermediate container df25405bc594 18:26:10 ---> 30df3341c084 18:26:10 Step 25/25 : LABEL version=0.0.0 18:26:10 ---> Running in 05879938eec9 18:26:10 Removing intermediate container 05879938eec9 18:26:10 ---> 09343151d811 18:26:10 [Warning] One or more build-args [ARCH] were not consumed 18:26:10 Successfully built 09343151d811 18:26:10 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 18:26:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:11 18:26:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:10 > git rev-parse HEAD^{commit} # timeout=10 18:26:10 > git config core.sparsecheckout # timeout=10 18:26:10 > git checkout -f c7cd50c6e69c915e37397c2df1a48575bb480629 # timeout=10 18:26:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:11 latest: Pulling from edgex-lftools-log-publisher 18:26:11 5eb5b503b376: Pulling fs layer 18:26:11 5c69ac0246d0: Pulling fs layer 18:26:11 ec43610c2a17: Pulling fs layer 18:26:11 3a2ae6a8a46f: Pulling fs layer 18:26:11 33b1e0a273af: Pulling fs layer 18:26:11 5d3b04190fa2: Pulling fs layer 18:26:11 2f39f015ded8: Pulling fs layer 18:26:11 3a2ae6a8a46f: Waiting 18:26:11 2f39f015ded8: Waiting 18:26:11 33b1e0a273af: Waiting 18:26:11 5d3b04190fa2: Waiting 18:26:11 5c69ac0246d0: Download complete 18:26:11 3a2ae6a8a46f: Verifying Checksum 18:26:11 3a2ae6a8a46f: Download complete 18:26:12 33b1e0a273af: Verifying Checksum 18:26:12 33b1e0a273af: Download complete 18:26:12 5d3b04190fa2: Verifying Checksum 18:26:12 5d3b04190fa2: Download complete 18:26:12 ec43610c2a17: Verifying Checksum 18:26:12 ec43610c2a17: Download complete 18:26:12 5eb5b503b376: Download complete 18:26:12 2f39f015ded8: Download complete 18:26:13 5eb5b503b376: Pull complete 18:26:13 5c69ac0246d0: Pull complete 18:26:13 Commit message: "fix: Skip Subscription to Empty Command Request Topic" 18:26:13 ec43610c2a17: Pull complete 18:26:13 > git --version # timeout=10 18:26:13 > git --version # 'git version 2.25.1' 18:26:13 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 18:26:14 3a2ae6a8a46f: Pull complete 18:26:14 33b1e0a273af: Pull complete 18:26:14 18:26:14 GitHub has been notified of this commit’s build result 18:26:14 [Pipeline] withEnv [Pipeline] { 18:26:14 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:26:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:26:15 % Total % Received % Xferd Average Speed Time Time Time Current 18:26:15 Dload Upload Total Spent Left Speed 18:26:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 61 12602 61 7747 0 0 46951 0 --:--:-- --:--:-- --:--:-- 46668 100 12602 100 12602 0 0 75461 0 --:--:-- --:--:-- --:--:-- 75011 [Pipeline] sh 18:26:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:26:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:26:16 + sudo tee /etc/docker/daemon.new 18:26:16 { 18:26:16 "registry-mirrors": [ 18:26:16 "https://nexus3.edgexfoundry.org:10001" 18:26:16 ], 18:26:16 "bip": "10.250.0.254/24", 18:26:16 "hosts": [ 18:26:16 "tcp://0.0.0.0:5555", 18:26:16 "unix:///var/run/docker.sock" 18:26:16 ], 18:26:16 "mtu": 1458, 18:26:16 "selinux-enabled": true, 18:26:16 "seccomp-profile": "/etc/docker/seccomp.json" 18:26:16 } [Pipeline] sh 18:26:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:26:16 + sudo service docker restart 18:26:18 2f39f015ded8: Pull complete 18:26:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:26:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:18 prd-ubuntu20.04-docker-8c-8g-745 does not seem to be running inside a container 18:26:18 $ 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-1216 -v /w/workspace/gexfoundry_device-sdk-go_PR-1216:/w/workspace/gexfoundry_device-sdk-go_PR-1216:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1216@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 18:26:20 $ docker top 4acf7bfa94729d59525e2669c9468375147765c20d5dd6cb23d9ec4848c3897a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:20 ---> job-cost.sh 18:26:20 lf-activate-venv: SKIPPING 18:26:20 INFO: No Stack... 18:26:21 INFO: Retrieving Pricing Info for: v3-standard-8 18:26:21 INFO: Archiving Costs [Pipeline] sh 18:26:22 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives/cost.csv 18:26:22 + cut -d, -f6 [Pipeline] lock 18:26:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] 18:26:22 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] did not exist. Created. 18:26:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:26:22 + echo total: 0.2199999988079071 [Pipeline] stash 18:26:22 Stashed 1 file(s) [Pipeline] } 18:26:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:26:22 $ docker stop --time=1 4acf7bfa94729d59525e2669c9468375147765c20d5dd6cb23d9ec4848c3897a 18:26:23 $ docker rm -f 4acf7bfa94729d59525e2669c9468375147765c20d5dd6cb23d9ec4848c3897a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:26:35 provisioning config files... 18:26:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config93510594851722078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:35 ---> docker-login.sh 18:26:35 nexus3.edgexfoundry.org:10001 18:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:36 Configure a credential helper to remove this warning. See 18:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:36 18:26:36 Login Succeeded 18:26:36 nexus3.edgexfoundry.org:10002 18:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:36 Configure a credential helper to remove this warning. See 18:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:36 18:26:36 Login Succeeded 18:26:36 nexus3.edgexfoundry.org:10003 18:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:36 Configure a credential helper to remove this warning. See 18:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:36 18:26:36 Login Succeeded 18:26:36 nexus3.edgexfoundry.org:10004 18:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:37 Configure a credential helper to remove this warning. See 18:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:37 18:26:37 Login Succeeded 18:26:37 docker.io 18:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:37 Configure a credential helper to remove this warning. See 18:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:37 18:26:37 Login Succeeded 18:26:37 ---> docker-login.sh ends [Pipeline] } 18:26:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:26:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:26:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:26:38 ========================================================= 18:26:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:26:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:38 + 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 . 18:26:38 Sending build context to Docker daemon 5.313MB 18:26:38 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 18:26:38 Step 2/11 : FROM ${BASE} AS builder 18:26:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:26:39 b3c136eddcbf: Pulling fs layer 18:26:39 c0a3192eca97: Pulling fs layer 18:26:39 a050256f5b6f: Pulling fs layer 18:26:39 656be50a0ddc: Pulling fs layer 18:26:39 2bbca73fdf42: Pulling fs layer 18:26:39 46d945488cbd: Pulling fs layer 18:26:39 8a5474983e97: Pulling fs layer 18:26:39 329c88fbcd65: Pulling fs layer 18:26:39 2bbca73fdf42: Waiting 18:26:39 46d945488cbd: Waiting 18:26:39 8a5474983e97: Waiting 18:26:39 329c88fbcd65: Waiting 18:26:39 656be50a0ddc: Waiting 18:26:39 c0a3192eca97: Verifying Checksum 18:26:39 c0a3192eca97: Download complete 18:26:39 2bbca73fdf42: Verifying Checksum 18:26:39 2bbca73fdf42: Download complete 18:26:39 46d945488cbd: Verifying Checksum 18:26:39 46d945488cbd: Download complete 18:26:39 b3c136eddcbf: Verifying Checksum 18:26:39 b3c136eddcbf: Download complete 18:26:40 b3c136eddcbf: Pull complete 18:26:40 329c88fbcd65: Verifying Checksum 18:26:40 329c88fbcd65: Download complete 18:26:40 c0a3192eca97: Pull complete 18:26:40 a050256f5b6f: Pull complete 18:26:41 8a5474983e97: Verifying Checksum 18:26:41 8a5474983e97: Download complete 18:26:42 656be50a0ddc: Verifying Checksum 18:26:42 656be50a0ddc: Download complete 18:26:54 656be50a0ddc: Pull complete 18:26:54 2bbca73fdf42: Pull complete 18:26:54 46d945488cbd: Pull complete 18:27:01 8a5474983e97: Pull complete 18:27:02 329c88fbcd65: Pull complete 18:27:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:27:02 ---> ff4287adb874 18:27:02 Step 3/11 : ARG MAKE=make build 18:27:04 ---> Running in cd111aec4116 18:27:04 Removing intermediate container cd111aec4116 18:27:04 ---> 4c44590519ed 18:27:04 Step 4/11 : WORKDIR /device-sdk-go 18:27:04 ---> Running in dc632930455f 18:27:05 Removing intermediate container dc632930455f 18:27:05 ---> 0264ed7bc808 18:27:05 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:27:05 ---> Running in bbdc2ebea626 18:27:05 Removing intermediate container bbdc2ebea626 18:27:05 ---> bec3399fcc97 18:27:05 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:27:05 ---> Running in 34f2be2e4786 18:27:07 Removing intermediate container 34f2be2e4786 18:27:07 ---> 28f034294470 18:27:07 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:27:07 ---> Running in 6de6482e537d 18:27:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:27:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:27:10 OK: 221 MiB in 51 packages 18:27:11 Removing intermediate container 6de6482e537d 18:27:11 ---> dc499d2621f9 18:27:11 Step 8/11 : COPY go.mod vendor* ./ 18:27:11 ---> c6bcac694d0c 18:27:11 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:27:11 ---> Running in 9121bc0e7e82 18:27:58 Removing intermediate container 9121bc0e7e82 18:27:58 ---> d906cbb65b78 18:27:58 Step 10/11 : COPY . . 18:27:59 ---> b50056672f34 18:27:59 Step 11/11 : RUN ${MAKE} 18:27:59 ---> Running in c13bbb0cfdd7 18:28:00 noop 18:28:01 Removing intermediate container c13bbb0cfdd7 18:28:01 ---> 6a59122ea691 18:28:01 Successfully built 6a59122ea691 18:28:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:01 + docker inspect -f . ci-base-image-arm64 18:28:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:01 prd-ubuntu20.04-docker-arm64-4c-16g-746 does not seem to be running inside a container 18:28:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:28:03 $ docker top 66322c1976245902f6e96953283e5f5d17384df38b2b05667ac82b3552fa6fab -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:03 + go version 18:28:03 go version go1.18.3 linux/arm64 [Pipeline] } 18:28:03 $ docker stop --time=1 66322c1976245902f6e96953283e5f5d17384df38b2b05667ac82b3552fa6fab 18:28:05 $ docker rm -f 66322c1976245902f6e96953283e5f5d17384df38b2b05667ac82b3552fa6fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:06 + docker inspect -f . ci-base-image-arm64 18:28:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:06 prd-ubuntu20.04-docker-arm64-4c-16g-746 does not seem to be running inside a container 18:28:06 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:28:07 $ docker top cadd4d68d460cd76de8a4afca67832c8fa9f17e7e936fce756efda49bf3f8020 -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:08 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 18:28:08 + make test 18:28:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:28:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:30:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:30:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:30:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:30:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 18:30:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:30:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.381s coverage: 27.6% of statements 18:30:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.593s coverage: 78.9% of statements 18:30:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 18:30:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.491s coverage: 60.0% of statements 18:30:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:30:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:30:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.999s coverage: 54.4% of statements 18:30:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:30:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 18:30:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:30:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:30:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.582s coverage: 65.1% of statements 18:30:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 18:30:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:30:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.570s coverage: 89.2% of statements 18:30:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:30:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.250s coverage: 4.5% of statements 18:30:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:30:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:30:46 GO111MODULE=on go vet ./... 18:32:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:32:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:32:23 ./bin/test-attribution-txt.sh 18:32:23 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 18:32:23 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 18:32:23 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 18:32:23 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 18:32:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:32:23 $ docker stop --time=1 cadd4d68d460cd76de8a4afca67832c8fa9f17e7e936fce756efda49bf3f8020 18:32:25 $ docker rm -f cadd4d68d460cd76de8a4afca67832c8fa9f17e7e936fce756efda49bf3f8020 [Pipeline] // withDockerContainer [Pipeline] sh 18:32:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:32:26 Warning: overwriting stash ‘coverage-report’ 18:32:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:32:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:32:28 + ls -al . 18:32:28 total 272 18:32:28 drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 18:28 . 18:32:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:26 .. 18:32:28 -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 18:26 .dockerignore 18:32:28 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 18:26 .git 18:32:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:26 .github 18:32:28 -rw-rw-r-- 1 jenkins jenkins 131 Sep 23 18:26 .gitignore 18:32:28 -rw-rw-r-- 1 jenkins jenkins 42 Sep 23 18:26 .golangci.yml 18:32:28 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 23 18:26 CHANGELOG.md 18:32:28 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 18:26 GOVERNANCE.md 18:32:28 -rw-rw-r-- 1 jenkins jenkins 880 Sep 23 18:26 Jenkinsfile 18:32:28 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 23 18:26 LICENSE 18:32:28 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 23 18:26 Makefile 18:32:28 -rw-rw-r-- 1 jenkins jenkins 619 Sep 23 18:26 OWNERS.md 18:32:28 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 23 18:26 README.md 18:32:28 -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 18:24 VERSION 18:32:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:26 bin 18:32:28 -rw-r--r-- 1 jenkins jenkins 101794 Sep 23 18:30 coverage.out 18:32:28 drwxrwxr-x 5 jenkins jenkins 4096 Sep 23 18:26 example 18:32:28 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 23 18:26 go.mod 18:32:28 -rw-rw-r-- 1 jenkins jenkins 37485 Sep 23 18:26 go.sum 18:32:28 drwxrwxr-x 14 jenkins jenkins 4096 Sep 23 18:26 internal 18:32:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:26 openapi 18:32:28 drwxrwxr-x 6 jenkins jenkins 4096 Sep 23 18:26 pkg 18:32:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:26 snap 18:32:28 -rw-rw-r-- 1 jenkins jenkins 222 Sep 23 18:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:28 + 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=c7cd50c6e69c915e37397c2df1a48575bb480629 --label arch=arm64 --label version=0.0.0 . 18:32:30 Sending build context to Docker daemon 5.415MB 18:32:30 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:32:30 Step 2/25 : FROM ${BASE} AS builder 18:32:30 ---> 6a59122ea691 18:32:30 Step 3/25 : ARG MAKE=make build 18:32:30 ---> Running in 61265667b401 18:32:30 Removing intermediate container 61265667b401 18:32:30 ---> e0071ca46624 18:32:30 Step 4/25 : WORKDIR /device-sdk-go 18:32:30 ---> Running in 3d9144c1e5e3 18:32:31 Removing intermediate container 3d9144c1e5e3 18:32:31 ---> b8b6199fc0b0 18:32:31 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:32:31 ---> Running in 0651f2665d8b 18:32:31 Removing intermediate container 0651f2665d8b 18:32:31 ---> edb6ca9cc5e4 18:32:31 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:32:31 ---> Running in 354ba791e69a 18:32:32 Removing intermediate container 354ba791e69a 18:32:32 ---> b2de0cb7929a 18:32:32 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:32:32 ---> Running in c03c2bee9a6b 18:32:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:32:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:32:35 OK: 221 MiB in 51 packages 18:32:36 Removing intermediate container c03c2bee9a6b 18:32:36 ---> 65e16f6d90ad 18:32:36 Step 8/25 : COPY go.mod vendor* ./ 18:32:37 ---> 7976496328fc 18:32:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:32:37 ---> Running in 1b71515af3e7 18:32:39 Removing intermediate container 1b71515af3e7 18:32:39 ---> 67881a11b45a 18:32:39 Step 10/25 : COPY . . 18:32:39 ---> c63ae78f479e 18:32:39 Step 11/25 : RUN ${MAKE} 18:32:39 ---> Running in 3286b40c1d94 18:32:40 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 18:34:47 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:34:47 Removing intermediate container 3286b40c1d94 18:34:47 ---> 1f96df800b2e 18:34:47 Step 12/25 : FROM alpine:3.16 18:34:47 3.16: Pulling from library/alpine 18:34:47 9b18e9b68314: Pulling fs layer 18:34:47 9b18e9b68314: Verifying Checksum 18:34:47 9b18e9b68314: Download complete 18:34:47 9b18e9b68314: Pull complete 18:34:47 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:34:47 Status: Downloaded newer image for alpine:3.16 18:34:47 ---> a6215f271958 18:34:47 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:34:47 ---> Running in b51540424323 18:34:48 Removing intermediate container b51540424323 18:34:48 ---> 45bc8555656b 18:34:48 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:34:48 ---> Running in c0866bddc2a2 18:34:50 Removing intermediate container c0866bddc2a2 18:34:50 ---> 500c8bdd6afa 18:34:50 Step 15/25 : RUN apk add --update --no-cache zeromq 18:34:50 ---> Running in 3cff55ee1678 18:34:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:34:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:34:52 (1/5) Installing libgcc (11.2.1_git20220219-r2) 18:34:52 (2/5) Installing libsodium (1.0.18-r0) 18:34:52 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 18:34:52 (4/5) Installing libzmq (4.3.4-r0) 18:34:53 (5/5) Installing zeromq (4.3.4-r0) 18:34:53 Executing busybox-1.35.0-r17.trigger 18:34:53 OK: 8 MiB in 19 packages 18:34:54 Removing intermediate container 3cff55ee1678 18:34:54 ---> e9c3ef4524aa 18:34:54 Step 16/25 : WORKDIR / 18:34:54 ---> Running in 00a93af41f29 18:34:54 Removing intermediate container 00a93af41f29 18:34:54 ---> 367b50f386b1 18:34:54 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:34:54 ---> 226281043bf0 18:34:54 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:34:56 ---> 3d0ed7d512a8 18:34:56 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:34:56 ---> ba7963342bbe 18:34:56 Step 20/25 : EXPOSE 59999 18:34:56 ---> Running in a3b8ab11244d 18:34:57 Removing intermediate container a3b8ab11244d 18:34:57 ---> d55cf4ba139d 18:34:57 Step 21/25 : ENTRYPOINT ["/device-simple"] 18:34:57 ---> Running in 59df26fdc9e0 18:34:57 Removing intermediate container 59df26fdc9e0 18:34:57 ---> 575b8dcc06db 18:34:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:34:57 ---> Running in 17f41dee6178 18:34:57 Removing intermediate container 17f41dee6178 18:34:57 ---> f794c570c0ed 18:34:57 Step 23/25 : LABEL arch=arm64 18:34:57 ---> Running in 8bfd30fdafcf 18:34:58 Removing intermediate container 8bfd30fdafcf 18:34:58 ---> d9147875ad93 18:34:58 Step 24/25 : LABEL git_sha=c7cd50c6e69c915e37397c2df1a48575bb480629 18:34:58 ---> Running in 6ba9054f90e0 18:34:58 Removing intermediate container 6ba9054f90e0 18:34:58 ---> 3dfcbc9c5e4e 18:34:58 Step 25/25 : LABEL version=0.0.0 18:34:58 ---> Running in c2c4bbfcea6e 18:34:59 Removing intermediate container c2c4bbfcea6e 18:34:59 ---> 224e775bfbd0 18:34:59 [Warning] One or more build-args [ARCH] were not consumed 18:34:59 Successfully built 224e775bfbd0 18:34:59 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 18:34:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:34:59 18:34:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:35:00 arm64: Pulling from edgex-lftools-log-publisher 18:35:00 8998bd30e6a1: Pulling fs layer 18:35:00 04944245beec: Pulling fs layer 18:35:00 699f458cf7ca: Pulling fs layer 18:35:00 765212b225bb: Pulling fs layer 18:35:00 f23df028b6ca: Pulling fs layer 18:35:00 d65c8cfc05b1: Pulling fs layer 18:35:00 2437ff75d9bd: Pulling fs layer 18:35:00 765212b225bb: Waiting 18:35:00 f23df028b6ca: Waiting 18:35:00 d65c8cfc05b1: Waiting 18:35:00 2437ff75d9bd: Waiting 18:35:00 04944245beec: Verifying Checksum 18:35:00 04944245beec: Download complete 18:35:00 765212b225bb: Verifying Checksum 18:35:00 765212b225bb: Download complete 18:35:00 f23df028b6ca: Verifying Checksum 18:35:00 f23df028b6ca: Download complete 18:35:00 d65c8cfc05b1: Verifying Checksum 18:35:00 d65c8cfc05b1: Download complete 18:35:00 699f458cf7ca: Verifying Checksum 18:35:00 699f458cf7ca: Download complete 18:35:01 8998bd30e6a1: Download complete 18:35:03 2437ff75d9bd: Verifying Checksum 18:35:03 2437ff75d9bd: Download complete 18:35:05 8998bd30e6a1: Pull complete 18:35:05 04944245beec: Pull complete 18:35:06 699f458cf7ca: Pull complete 18:35:06 765212b225bb: Pull complete 18:35:07 f23df028b6ca: Pull complete 18:35:07 d65c8cfc05b1: Pull complete 18:35:22 2437ff75d9bd: Pull complete 18:35:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:35:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:35:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:23 prd-ubuntu20.04-docker-arm64-4c-16g-746 does not seem to be running inside a container 18:35:23 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:35:25 $ docker top cf7fecc92cb5608036f3846c73d0776cd34d0c3c655ad1172cd607d7f1c56992 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:26 ---> job-cost.sh 18:35:26 lf-activate-venv: SKIPPING 18:35:26 INFO: No Stack... 18:35:27 INFO: Retrieving Pricing Info for: v3-standard-4 18:35:27 INFO: Archiving Costs [Pipeline] sh 18:35:27 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 18:35:27 + cut -d, -f6 [Pipeline] lock 18:35:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] 18:35:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] did not exist. Created. 18:35:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:35:28 /w/workspace/device-sdk-go/1@tmp/durable-18fc61f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:35:28 + echo total: 0.10999999940395355 [Pipeline] stash 18:35:28 Warning: overwriting stash ‘stack-cost’ 18:35:28 Stashed 1 file(s) [Pipeline] } 18:35:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:35:28 $ docker stop --time=1 cf7fecc92cb5608036f3846c73d0776cd34d0c3c655ad1172cd607d7f1c56992 18:35:30 $ docker rm -f cf7fecc92cb5608036f3846c73d0776cd34d0c3c655ad1172cd607d7f1c56992 [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 18:35:31 provisioning config files... 18:35:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/config3707044633543574805tmp [Pipeline] { [Pipeline] sh 18:35:31 + set +x 18:35:31 + curl -s https://codecov.io/bash 18:35:31 + bash -s -- 18:35:31 18:35:31 _____ _ 18:35:31 / ____| | | 18:35:31 | | ___ __| | ___ ___ _____ __ 18:35:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:35:31 | |___| (_) | (_| | __/ (_| (_) \ V / 18:35:31 \_____\___/ \__,_|\___|\___\___/ \_/ 18:35:31 Bash-1.0.6 18:35:31 18:35:31 18:35:31 ==> git version 2.25.1 found 18:35:31 ==> 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 18:35:31 Release-Date: 2020-01-08 18:35:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:35:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:35:31 ==> Jenkins CI detected. 18:35:31 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1216 18:35:31 project root: . 18:35:31 --> token set from env 18:35:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:35:31 ==> Running gcov in . (disable via -X gcov) 18:35:31 ==> Python coveragepy not found 18:35:31 ==> Searching for coverage reports in: 18:35:31 + . 18:35:31 -> Found 1 reports 18:35:31 ==> Detecting git/mercurial file structure 18:35:31 ==> Reading reports 18:35:31 + ./coverage.out bytes=101794 18:35:31 ==> Appending adjustments 18:35:31 https://docs.codecov.io/docs/fixing-reports 18:35:32 + Found adjustments 18:35:32 ==> Gzipping contents 18:35:32 16K /tmp/codecov.W0mvd0.gz 18:35:32 ==> Uploading reports 18:35:32 url: https://codecov.io 18:35:32 query: branch=PR-1216&commit=c7cd50c6e69c915e37397c2df1a48575bb480629&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1216%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1216&job=&cmd_args= 18:35:32 -> Pinging Codecov 18:35:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1216&commit=c7cd50c6e69c915e37397c2df1a48575bb480629&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1216%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1216&job=&cmd_args= 18:35:32 -> Uploading to 18:35:32 https://storage.googleapis.com/codecov/v4/raw/2022-09-23/7E55EF52A471D76F132DFD9A03CDDE97/c7cd50c6e69c915e37397c2df1a48575bb480629/9488145c-66ad-45ec-a6f4-305b2407259d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220923T183532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43b55afaf9a891b5fbe9bc795c0bb8df61b187794c1b0e624558fc8e3bc3a5ae 18:35:32 % Total % Received % Xferd Average Speed Time Time Time Current 18:35:32 Dload Upload Total Spent Left Speed 18:35:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14613 0 0 100 14613 0 58219 --:--:-- --:--:-- --:--:-- 58219 18:35:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c7cd50c6e69c915e37397c2df1a48575bb480629 [Pipeline] } 18:35:32 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 18:35:34 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives ] 18:35:34 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives 18:35:34 total 16 18:35:34 drwxr-xr-x 3 root root 4096 Sep 23 18:26 . 18:35:34 drwxrwxr-x 12 jenkins jenkins 4096 Sep 23 18:26 .. 18:35:34 drwxr-xr-x 2 root root 4096 Sep 23 18:26 cost 18:35:34 -rw-r--r-- 1 root root 86 Sep 23 18:26 cost.csv 18:35:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives 18:35:34 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives 18:35:34 total 16 18:35:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 18:26 . 18:35:34 drwxrwxr-x 12 jenkins jenkins 4096 Sep 23 18:26 .. 18:35:34 drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 18:26 cost 18:35:34 -rw-r--r-- 1 jenkins jenkins 86 Sep 23 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:35:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:35:35 ---> package-listing.sh 18:35:35 ++ facter osfamily 18:35:35 ++ tr '[:upper:]' '[:lower:]' 18:35:35 + OS_FAMILY=debian 18:35:35 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1216 18:35:35 + START_PACKAGES=/tmp/packages_start.txt 18:35:35 + END_PACKAGES=/tmp/packages_end.txt 18:35:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:35:35 + PACKAGES=/tmp/packages_start.txt 18:35:35 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1216 ']' 18:35:35 + PACKAGES=/tmp/packages_end.txt 18:35:35 + case "${OS_FAMILY}" in 18:35:35 + dpkg -l 18:35:35 + grep '^ii' 18:35:35 + '[' -f /tmp/packages_start.txt ']' 18:35:35 + '[' -f /tmp/packages_end.txt ']' 18:35:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:35:35 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1216 ']' 18:35:35 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives/ 18:35:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives/ [Pipeline] echo 18:35:35 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-1216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:35:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:36 prd-ubuntu20.04-docker-8c-8g-745 does not seem to be running inside a container 18:35:36 $ 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-1216/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-1216 -v /w/workspace/gexfoundry_device-sdk-go_PR-1216:/w/workspace/gexfoundry_device-sdk-go_PR-1216:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:35:37 $ docker top 41736a4fb81aa90cfbf0b24ca4781ee58ee6bb7c49b9667aeb6c4b7cb7bd1ee3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:35:37 + touch /tmp/pre-build-complete [Pipeline] sh 18:35:37 + mkdir -p /var/log/sysstat [Pipeline] sh 18:35:38 + ls /var/log/sa-host 18:35:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:38 provisioning config files... 18:35:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/config2187146142236692662tmp [Pipeline] { [Pipeline] echo 18:35:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:35:38 ---> create-netrc.sh [Pipeline] } 18:35:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:35:39 ---> python-tools-install.sh [Pipeline] echo 18:35:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:35:39 ---> sudo-logs.sh 18:35:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:35:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:35:39 ---> job-cost.sh 18:35:39 lf-activate-venv: SKIPPING 18:35:39 DEBUG: total: 0.2199999988079071 18:35:39 INFO: Retrieving Stack Cost... 18:35:40 INFO: Retrieving Pricing Info for: v3-standard-8 18:35:40 INFO: Archiving Costs [Pipeline] echo 18:35:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:35:41 ---> logs-deploy.sh 18:35:41 lf-activate-venv: SKIPPING 18:35:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1216/1 18:35:41 INFO: archiving workspace using pattern(s): 18:35:42 Archives upload complete. 18:35:42 INFO: archiving logs to Nexus