Pull request #1243 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2c04776a14dcf683e7ba9590ce75aeb4e8d969c+5df0661f6aa28262333844c5296207997c828617 (61ca3f6b84dd44dca5beed3350b1428011782b49) 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-ssh3949134625901090266.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17998765639378523935.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh 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-1243/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-1243/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6890885948776653280.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-1243/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8790193651230722759.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh4763049624484858017.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-1243/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-1243/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5137937199790013372.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-8739 in /w/workspace/gexfoundry_device-sdk-go_PR-1243 [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-1243 # 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/1243/head:refs/remotes/origin/PR-1243 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5df0661f6aa28262333844c5296207997c828617 into PR head commit d2c04776a14dcf683e7ba9590ce75aeb4e8d969c Merge succeeded, producing d2c04776a14dcf683e7ba9590ce75aeb4e8d969c Checking out Revision d2c04776a14dcf683e7ba9590ce75aeb4e8d969c (PR-1243) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f d2c04776a14dcf683e7ba9590ce75aeb4e8d969c # 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 5df0661f6aa28262333844c5296207997c828617 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2c04776a14dcf683e7ba9590ce75aeb4e8d969c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:06:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:05 ========================================================= 04:06:05 EdgeX Global Pipelines Version Info 04:06:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:05 ------------------- 04:06:05 stable info: 04:06:05 ------------------- 04:06:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:05 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:06:05 Message: update stable to v1.0.243 04:06:06 ------------------- 04:06:06 experimental info: 04:06:06 ------------------- 04:06:06 Commited By: **** collab-it+edgex@linuxfoundation.org 04:06:06 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:06:06 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:06:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:06:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:06:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1243 [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1243 [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1243 [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2c0477 [Pipeline] echo 04:06:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:08 provisioning config files... 04:06:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/config17079127541747493741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:08 ---> docker-login.sh 04:06:08 nexus3.edgexfoundry.org:10001 04:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:08 Configure a credential helper to remove this warning. See 04:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:08 04:06:08 Login Succeeded 04:06:08 nexus3.edgexfoundry.org:10002 04:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:08 Configure a credential helper to remove this warning. See 04:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:08 04:06:08 Login Succeeded 04:06:08 nexus3.edgexfoundry.org:10003 04:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:09 Configure a credential helper to remove this warning. See 04:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:09 04:06:09 Login Succeeded 04:06:09 nexus3.edgexfoundry.org:10004 04:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:09 Configure a credential helper to remove this warning. See 04:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:09 04:06:09 Login Succeeded 04:06:09 docker.io 04:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:09 Configure a credential helper to remove this warning. See 04:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:09 04:06:09 Login Succeeded 04:06:09 ---> docker-login.sh ends [Pipeline] } 04:06:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:06:10 + git rev-list -1 --merges d2c04776a14dcf683e7ba9590ce75aeb4e8d969c~1..d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [Pipeline] echo 04:06:10 -----------> git rev-list -1 --merges d2c04776a14dcf683e7ba9590ce75aeb4e8d969c~1..d2c04776a14dcf683e7ba9590ce75aeb4e8d969c d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [false] [Pipeline] sh 04:06:10 + git log --format=format:%s -1 d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [Pipeline] echo 04:06:10 ========================================================= 04:06:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:06:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:11 + git log --format=format:%s -1 d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [Pipeline] echo 04:06:11 [semverPrep] GIT_COMMIT: d2c04776a14dcf683e7ba9590ce75aeb4e8d969c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:06:11 [semverPrep] This is not a build commit. [Pipeline] sh 04:06:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:11 + grep -v github /etc/ssh/ssh_known_hosts 04:06:11 + [ -e /tmp/ssh_known_hosts ] 04:06:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:06:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:06:11 + sudo tee -a /etc/ssh/ssh_known_hosts 04:06:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:12 04:06:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:12 0.1.4: Pulling from edgex-devops/py-git-semver 04:06:12 b85a868b505f: Pulling fs layer 04:06:12 e2be974225ed: Pulling fs layer 04:06:12 339a4e72a1f5: Pulling fs layer 04:06:12 988bab9f4d93: Pulling fs layer 04:06:12 1469e6f7b9e6: Pulling fs layer 04:06:12 eaf3925da568: Pulling fs layer 04:06:12 988bab9f4d93: Waiting 04:06:12 1469e6f7b9e6: Waiting 04:06:12 bab4dde63d76: Pulling fs layer 04:06:12 bde34c3a00c8: Pulling fs layer 04:06:12 b352a97aabf1: Pulling fs layer 04:06:12 4872d77fe225: Pulling fs layer 04:06:12 5851b861e8e6: Pulling fs layer 04:06:12 eaf3925da568: Waiting 04:06:12 bde34c3a00c8: Waiting 04:06:12 b352a97aabf1: Waiting 04:06:12 4872d77fe225: Waiting 04:06:12 bab4dde63d76: Waiting 04:06:12 e2be974225ed: Download complete 04:06:12 988bab9f4d93: Verifying Checksum 04:06:12 988bab9f4d93: Download complete 04:06:12 339a4e72a1f5: Verifying Checksum 04:06:12 339a4e72a1f5: Download complete 04:06:12 1469e6f7b9e6: Verifying Checksum 04:06:12 1469e6f7b9e6: Download complete 04:06:12 eaf3925da568: Verifying Checksum 04:06:12 eaf3925da568: Download complete 04:06:12 bde34c3a00c8: Download complete 04:06:12 b352a97aabf1: Download complete 04:06:12 4872d77fe225: Download complete 04:06:12 5851b861e8e6: Download complete 04:06:12 b85a868b505f: Download complete 04:06:13 bab4dde63d76: Verifying Checksum 04:06:13 bab4dde63d76: Download complete 04:06:14 b85a868b505f: Pull complete 04:06:14 e2be974225ed: Pull complete 04:06:14 339a4e72a1f5: Pull complete 04:06:14 988bab9f4d93: Pull complete 04:06:15 1469e6f7b9e6: Pull complete 04:06:15 eaf3925da568: Pull complete 04:06:16 bab4dde63d76: Pull complete 04:06:16 bde34c3a00c8: Pull complete 04:06:16 b352a97aabf1: Pull complete 04:06:16 4872d77fe225: Pull complete 04:06:17 5851b861e8e6: Pull complete 04:06:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:06:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:17 prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container 04:06:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1243 -v /w/workspace/gexfoundry_device-sdk-go_PR-1243:/w/workspace/gexfoundry_device-sdk-go_PR-1243:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1243@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:06:20 $ docker top e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 -eo pid,comm 04:06:20 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). 04:06:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:06:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:20 [ssh-agent] Looking for ssh-agent implementation... 04:06:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:20 $ docker exec e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 ssh-agent 04:06:21 SSH_AUTH_SOCK=/tmp/ssh-OuXdu9Y3bI50/agent.32 04:06:21 SSH_AGENT_PID=38 04:06:21 Running ssh-add (command line suppressed) 04:06:21 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/private_key_16442549498282311871.key (/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/private_key_16442549498282311871.key) 04:06:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:21 + git tag --points-at HEAD [Pipeline] } 04:06:21 $ docker exec --env ******** --env ******** e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 ssh-agent -k 04:06:21 unset SSH_AUTH_SOCK; 04:06:21 unset SSH_AGENT_PID; 04:06:21 echo Agent pid 38 killed; 04:06:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:06:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:21 [ssh-agent] Looking for ssh-agent implementation... 04:06:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:21 $ docker exec e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 ssh-agent 04:06:21 SSH_AUTH_SOCK=/tmp/ssh-3EsMAy9fIhZG/agent.70 04:06:21 SSH_AGENT_PID=76 04:06:21 Running ssh-add (command line suppressed) 04:06:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/private_key_4864958355763835687.key (/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/private_key_4864958355763835687.key) 04:06:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:22 + git semver init 04:06:22 2022-10-21 04:06:22,573 [run_init] DEBUG init version:0.0.0 force:False 04:06:22 2022-10-21 04:06:22,574 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver 04:06:22 2022-10-21 04:06:22,574 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver 04:06:22 2022-10-21 04:06:22,575 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1243, universal_newlines=False, shell=None, istream=None) 04:06:24 2022-10-21 04:06:23,637 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243/.git/info/exclude 04:06:24 2022-10-21 04:06:23,638 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver/PR-1243 with force:False 04:06:24 2022-10-21 04:06:23,638 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver/PR-1243 04:06:24 2022-10-21 04:06:23,642 [execute] INFO git cat-file --batch-check 04:06:24 2022-10-21 04:06:23,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver, universal_newlines=False, shell=None, istream=) 04:06:24 2022-10-21 04:06:23,649 [execute] INFO git cat-file --batch 04:06:24 2022-10-21 04:06:23,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver, universal_newlines=False, shell=None, istream=) 04:06:24 2022-10-21 04:06:23,655 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1243/.semver/PR-1243 04:06:24 0.0.0 [Pipeline] } 04:06:24 $ docker exec --env ******** --env ******** e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 ssh-agent -k 04:06:24 unset SSH_AUTH_SOCK; 04:06:24 unset SSH_AGENT_PID; 04:06:24 echo Agent pid 76 killed; 04:06:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:06:24 + git semver [Pipeline] } 04:06:24 $ docker stop --time=1 e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 04:06:26 $ docker rm -f e576aad0f80324fadefb9732cdb60312501c82c5b9f740f6000f9e4d32181d37 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:06:26 Stashed 1 file(s) [Pipeline] echo 04:06:26 [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 04:06:27 provisioning config files... 04:06:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/config7325250774517758596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:27 ---> docker-login.sh 04:06:27 nexus3.edgexfoundry.org:10001 04:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:27 Configure a credential helper to remove this warning. See 04:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:27 04:06:27 Login Succeeded 04:06:27 nexus3.edgexfoundry.org:10002 04:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:27 Configure a credential helper to remove this warning. See 04:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:27 04:06:27 Login Succeeded 04:06:27 nexus3.edgexfoundry.org:10003 04:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:28 Configure a credential helper to remove this warning. See 04:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:28 04:06:28 Login Succeeded 04:06:28 nexus3.edgexfoundry.org:10004 04:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:28 Configure a credential helper to remove this warning. See 04:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:28 04:06:28 Login Succeeded 04:06:28 docker.io 04:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:28 Configure a credential helper to remove this warning. See 04:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:28 04:06:28 Login Succeeded 04:06:28 ---> docker-login.sh ends [Pipeline] } 04:06:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:06:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:28 ========================================================= 04:06:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:06:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:29 + 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 . 04:06:29 Sending build context to Docker daemon 10.04MB 04:06:29 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:06:29 Step 2/11 : FROM ${BASE} AS builder 04:06:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:06:29 213ec9aee27d: Pulling fs layer 04:06:29 4583459ba037: Pulling fs layer 04:06:29 93c1e223e6f2: Pulling fs layer 04:06:29 53926ce57604: Pulling fs layer 04:06:29 21b2b0c7a3f4: Pulling fs layer 04:06:29 30f14e443154: Pulling fs layer 04:06:29 801331c1e519: Pulling fs layer 04:06:29 99cc6dd402b0: Pulling fs layer 04:06:29 53926ce57604: Waiting 04:06:29 21b2b0c7a3f4: Waiting 04:06:29 801331c1e519: Waiting 04:06:29 30f14e443154: Waiting 04:06:29 7d9ed39f4882: Pulling fs layer 04:06:29 99cc6dd402b0: Waiting 04:06:29 7d9ed39f4882: Waiting 04:06:29 93c1e223e6f2: Verifying Checksum 04:06:29 93c1e223e6f2: Download complete 04:06:29 4583459ba037: Verifying Checksum 04:06:29 21b2b0c7a3f4: Verifying Checksum 04:06:29 21b2b0c7a3f4: Download complete 04:06:29 30f14e443154: Download complete 04:06:29 213ec9aee27d: Verifying Checksum 04:06:29 213ec9aee27d: Download complete 04:06:29 801331c1e519: Verifying Checksum 04:06:29 801331c1e519: Download complete 04:06:29 213ec9aee27d: Pull complete 04:06:29 4583459ba037: Pull complete 04:06:29 7d9ed39f4882: Verifying Checksum 04:06:29 7d9ed39f4882: Download complete 04:06:29 93c1e223e6f2: Pull complete 04:06:30 53926ce57604: Verifying Checksum 04:06:30 53926ce57604: Download complete 04:06:30 99cc6dd402b0: Verifying Checksum 04:06:30 99cc6dd402b0: Download complete 04:06:34 53926ce57604: Pull complete 04:06:34 21b2b0c7a3f4: Pull complete 04:06:34 30f14e443154: Pull complete 04:06:34 801331c1e519: Pull complete 04:06:36 99cc6dd402b0: Pull complete 04:06:37 7d9ed39f4882: Pull complete 04:06:37 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:06:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:06:37 ---> 1dedd983c030 04:06:37 Step 3/11 : ARG MAKE=make build 04:06:42 Still waiting to schedule task 04:06:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:06:43 ---> Running in 6267ed9535a4 04:06:43 Removing intermediate container 6267ed9535a4 04:06:43 ---> 14a80a5d7074 04:06:43 Step 4/11 : WORKDIR /device-sdk-go 04:06:43 ---> Running in 4ebd54fe8796 04:06:43 Removing intermediate container 4ebd54fe8796 04:06:43 ---> 8fc72f9a230a 04:06:43 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:06:43 ---> Running in d91ffc7799c7 04:06:43 Removing intermediate container d91ffc7799c7 04:06:43 ---> b93d9a9ffc75 04:06:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:43 ---> Running in c1564e90b76e 04:06:43 Removing intermediate container c1564e90b76e 04:06:43 ---> 30df37d112a6 04:06:43 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:43 ---> Running in 7b573e6fd34e 04:06:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:06:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:06:45 OK: 211 MiB in 51 packages 04:06:45 Removing intermediate container 7b573e6fd34e 04:06:45 ---> 815137d2505e 04:06:45 Step 8/11 : COPY go.mod vendor* ./ 04:06:45 ---> 91fcbb7ca90c 04:06:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:45 ---> Running in cd3e328255f1 04:07:12 Removing intermediate container cd3e328255f1 04:07:12 ---> 961627056633 04:07:12 Step 10/11 : COPY . . 04:07:12 ---> 747ea19894fd 04:07:12 Step 11/11 : RUN ${MAKE} 04:07:12 ---> Running in 180a412e7e42 04:07:12 noop 04:07:12 Removing intermediate container 180a412e7e42 04:07:12 ---> e7bf22929274 04:07:12 Successfully built e7bf22929274 04:07:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:12 + docker inspect -f . ci-base-image-x86_64 04:07:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:12 prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container 04:07:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1243 -v /w/workspace/gexfoundry_device-sdk-go_PR-1243:/w/workspace/gexfoundry_device-sdk-go_PR-1243:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1243@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 ******** ci-base-image-x86_64 cat 04:07:13 $ docker top b5e72b0f3267ae413ed31886c3697e5b5fe4b94987742fd20f6405513be0abaa -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:13 + go version 04:07:13 go version go1.18.7 linux/amd64 [Pipeline] } 04:07:13 $ docker stop --time=1 b5e72b0f3267ae413ed31886c3697e5b5fe4b94987742fd20f6405513be0abaa 04:07:15 $ docker rm -f b5e72b0f3267ae413ed31886c3697e5b5fe4b94987742fd20f6405513be0abaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:15 + docker inspect -f . ci-base-image-x86_64 04:07:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:15 prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container 04:07:15 $ 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-1243 -v /w/workspace/gexfoundry_device-sdk-go_PR-1243:/w/workspace/gexfoundry_device-sdk-go_PR-1243:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1243@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 ******** ci-base-image-x86_64 cat 04:07:16 $ docker top a710810dbaa593228707e5c90dab38101c0d0e291c1c9c256b968b9d33c63cf3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:16 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1243 [Pipeline] fileExists [Pipeline] sh 04:07:16 + make test 04:07:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:07:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:07:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 04:07:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.098s coverage: 78.9% of statements 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:07:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.077s coverage: 73.1% of statements 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:07:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.145s coverage: 54.4% of statements 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:07:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 65.1% of statements 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:07:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.723s coverage: 89.2% of statements 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:07:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements 04:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:07:51 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." 04:07:51 GO111MODULE=on go vet ./... 04:07:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:07:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:07:53 ./bin/test-attribution-txt.sh 04:07:53 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:07:53 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:07:53 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:07:53 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:07:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:07:53 $ docker stop --time=1 a710810dbaa593228707e5c90dab38101c0d0e291c1c9c256b968b9d33c63cf3 04:07:57 $ docker rm -f a710810dbaa593228707e5c90dab38101c0d0e291c1c9c256b968b9d33c63cf3 [Pipeline] // withDockerContainer [Pipeline] sh 04:07:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:07:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:07:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:07:59 + ls -al . 04:07:59 total 276 04:07:59 drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 04:07 . 04:07:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 04:06 .. 04:07:59 -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 04:06 .dockerignore 04:07:59 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 04:07 .git 04:07:59 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 04:06 .github 04:07:59 -rw-rw-r-- 1 jenkins jenkins 131 Oct 21 04:06 .gitignore 04:07:59 -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 04:06 .golangci.yml 04:07:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 04:06 .semver 04:07:59 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 21 04:06 CHANGELOG.md 04:07:59 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 04:06 GOVERNANCE.md 04:07:59 -rw-rw-r-- 1 jenkins jenkins 880 Oct 21 04:06 Jenkinsfile 04:07:59 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 04:06 LICENSE 04:07:59 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 21 04:06 Makefile 04:07:59 -rw-rw-r-- 1 jenkins jenkins 619 Oct 21 04:06 OWNERS.md 04:07:59 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 21 04:06 README.md 04:07:59 -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 04:06 VERSION 04:07:59 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 04:06 bin 04:07:59 -rw-r--r-- 1 jenkins jenkins 101760 Oct 21 04:07 coverage.out 04:07:59 drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 04:06 example 04:07:59 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 21 04:06 go.mod 04:07:59 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 21 04:06 go.sum 04:07:59 drwxrwxr-x 14 jenkins jenkins 4096 Oct 21 04:06 internal 04:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 04:06 openapi 04:07:59 drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 04:06 pkg 04:07:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 04:06 snap 04:07:59 -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:59 + 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=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c --label arch=amd64 --label version=0.0.0 . 04:07:59 Sending build context to Docker daemon 10.14MB 04:07:59 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:07:59 Step 2/25 : FROM ${BASE} AS builder 04:07:59 ---> e7bf22929274 04:07:59 Step 3/25 : ARG MAKE=make build 04:08:00 ---> Running in f31d275c4b3d 04:08:00 Removing intermediate container f31d275c4b3d 04:08:00 ---> 807c7c85d4a3 04:08:00 Step 4/25 : WORKDIR /device-sdk-go 04:08:00 ---> Running in de27d0658900 04:08:00 Removing intermediate container de27d0658900 04:08:00 ---> d93f2f640fd2 04:08:00 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:00 ---> Running in 52f3e53b890d 04:08:00 Removing intermediate container 52f3e53b890d 04:08:00 ---> 4d08f038deff 04:08:00 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:00 ---> Running in 4ea358914f4a 04:08:00 Removing intermediate container 4ea358914f4a 04:08:00 ---> 078f73302321 04:08:00 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:00 ---> Running in f5e4ee410936 04:08:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:08:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:08:02 OK: 211 MiB in 51 packages 04:08:02 Removing intermediate container f5e4ee410936 04:08:02 ---> 64be155839ae 04:08:02 Step 8/25 : COPY go.mod vendor* ./ 04:08:02 ---> b2c105ff2343 04:08:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:02 ---> Running in 1a251b59d39a 04:08:03 Removing intermediate container 1a251b59d39a 04:08:03 ---> 0e91ad3ebbc6 04:08:03 Step 10/25 : COPY . . 04:08:04 ---> 3a839853baf9 04:08:04 Step 11/25 : RUN ${MAKE} 04:08:04 ---> Running in 925a72a66c44 04:08:04 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 04:08:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8741 in /w/workspace/gexfoundry_device-sdk-go_PR-1243 [Pipeline] { [Pipeline] ws 04:08:15 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:08:15 The recommended git tool is: git 04:08:19 using credential edgex-jenkins-ssh 04:08:19 Cloning the remote Git repository 04:08:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:08:19 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:08:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:20 > git --version # timeout=10 04:08:20 > git --version # 'git version 2.25.1' 04:08:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:20 Verifying host key using known hosts file 04:08:20 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. 04:08:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:08:23 Merging remotes/origin/main commit 5df0661f6aa28262333844c5296207997c828617 into PR head commit d2c04776a14dcf683e7ba9590ce75aeb4e8d969c 04:08:23 Merge succeeded, producing d2c04776a14dcf683e7ba9590ce75aeb4e8d969c 04:08:23 Checking out Revision d2c04776a14dcf683e7ba9590ce75aeb4e8d969c (PR-1243) 04:08:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:22 Verifying host key using known hosts file 04:08:22 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. 04:08:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1243/head:refs/remotes/origin/PR-1243 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:08:23 > git config core.sparsecheckout # timeout=10 04:08:23 > git checkout -f d2c04776a14dcf683e7ba9590ce75aeb4e8d969c # timeout=10 04:08:23 > git remote # timeout=10 04:08:23 > git config --get remote.origin.url # timeout=10 04:08:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:23 Verifying host key using known hosts file 04:08:23 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. 04:08:23 > git merge 5df0661f6aa28262333844c5296207997c828617 # timeout=10 04:08:23 > git rev-parse HEAD^{commit} # timeout=10 04:08:23 > git config core.sparsecheckout # timeout=10 04:08:23 > git checkout -f d2c04776a14dcf683e7ba9590ce75aeb4e8d969c # timeout=10 04:08:24 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:08:24 > git --version # timeout=10 04:08:24 > git --version # 'git version 2.25.1' 04:08:24 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:25 Removing intermediate container 925a72a66c44 04:08:25 ---> 42e72e27cf83 04:08:25 Step 12/25 : FROM alpine:3.16 04:08:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:08:25 % Total % Received % Xferd Average Speed Time Time Time Current 04:08:25 Dload Upload Total Spent Left Speed 04:08:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 99228 04:08:25 3.16: Pulling from library/alpine 04:08:25 213ec9aee27d: Already exists 04:08:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:08:25 Status: Downloaded newer image for alpine:3.16 04:08:25 ---> 9c6f07244728 04:08:25 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:25 ---> Running in 18ea9df385aa 04:08:25 Removing intermediate container 18ea9df385aa 04:08:25 ---> 58617a4fe0b3 04:08:25 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] sh 04:08:25 ---> Running in 4ca779f1a2e0 04:08:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:08:26 + sudo tee /etc/docker/daemon.new 04:08:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:08:26 { 04:08:26 "registry-mirrors": [ 04:08:26 "https://nexus3.edgexfoundry.org:10001" 04:08:26 ], 04:08:26 "bip": "10.250.0.254/24", 04:08:26 "hosts": [ 04:08:26 "tcp://0.0.0.0:5555", 04:08:26 "unix:///var/run/docker.sock" 04:08:26 ], 04:08:26 "mtu": 1458, 04:08:26 "selinux-enabled": true, 04:08:26 "seccomp-profile": "/etc/docker/seccomp.json" 04:08:26 } [Pipeline] sh 04:08:26 Removing intermediate container 4ca779f1a2e0 04:08:26 ---> f5b3d2fdd809 04:08:26 Step 15/25 : RUN apk add --update --no-cache zeromq 04:08:26 ---> Running in 68f8a7dc85ca 04:08:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:08:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:08:26 + sudo service docker restart 04:08:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:08:27 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:08:27 (2/5) Installing libsodium (1.0.18-r0) 04:08:27 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:08:28 (4/5) Installing libzmq (4.3.4-r0) 04:08:28 (5/5) Installing zeromq (4.3.4-r0) 04:08:28 Executing busybox-1.35.0-r17.trigger 04:08:28 OK: 8 MiB in 19 packages 04:08:28 Removing intermediate container 68f8a7dc85ca 04:08:28 ---> 3876c6d66d88 04:08:28 Step 16/25 : WORKDIR / 04:08:28 ---> Running in 958771c6cdc5 04:08:28 Removing intermediate container 958771c6cdc5 04:08:28 ---> 9a33f37a52f5 04:08:28 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:08:28 ---> aeca151f4ed5 04:08:28 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:08:29 ---> a086045c0a87 04:08:29 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:08:29 ---> 8ffb7eb82568 04:08:29 Step 20/25 : EXPOSE 59999 04:08:29 ---> Running in 4ce3f04ff312 04:08:29 Removing intermediate container 4ce3f04ff312 04:08:29 ---> 74aa940fbf28 04:08:29 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:08:29 ---> Running in a69ad4dc75d3 04:08:29 Removing intermediate container a69ad4dc75d3 04:08:29 ---> f42bac79f64e 04:08:29 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:08:29 ---> Running in 25d670d121ff 04:08:29 Removing intermediate container 25d670d121ff 04:08:29 ---> 1b3160e919c9 04:08:29 Step 23/25 : LABEL arch=amd64 04:08:29 ---> Running in bff6564cfe24 04:08:29 Removing intermediate container bff6564cfe24 04:08:29 ---> 393b64b0aaac 04:08:29 Step 24/25 : LABEL git_sha=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c 04:08:29 ---> Running in 88cf19b8d2fb 04:08:30 Removing intermediate container 88cf19b8d2fb 04:08:30 ---> 0d121d846e4a 04:08:30 Step 25/25 : LABEL version=0.0.0 04:08:30 ---> Running in 404b29ce048f 04:08:30 Removing intermediate container 404b29ce048f 04:08:30 ---> 6e89a58b9b49 04:08:30 [Warning] One or more build-args [ARCH] were not consumed 04:08:30 Successfully built 6e89a58b9b49 04:08:30 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 04:08:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:31 04:08:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:31 latest: Pulling from edgex-lftools-log-publisher 04:08:31 5eb5b503b376: Pulling fs layer 04:08:31 5c69ac0246d0: Pulling fs layer 04:08:31 ec43610c2a17: Pulling fs layer 04:08:31 3a2ae6a8a46f: Pulling fs layer 04:08:31 33b1e0a273af: Pulling fs layer 04:08:31 5d3b04190fa2: Pulling fs layer 04:08:31 2f39f015ded8: Pulling fs layer 04:08:31 3a2ae6a8a46f: Waiting 04:08:31 33b1e0a273af: Waiting 04:08:31 5d3b04190fa2: Waiting 04:08:31 5c69ac0246d0: Download complete 04:08:31 3a2ae6a8a46f: Verifying Checksum 04:08:31 3a2ae6a8a46f: Download complete 04:08:31 33b1e0a273af: Verifying Checksum 04:08:31 33b1e0a273af: Download complete 04:08:31 ec43610c2a17: Verifying Checksum 04:08:31 ec43610c2a17: Download complete 04:08:31 5d3b04190fa2: Verifying Checksum 04:08:31 5d3b04190fa2: Download complete 04:08:31 5eb5b503b376: Verifying Checksum 04:08:31 5eb5b503b376: Download complete 04:08:32 2f39f015ded8: Download complete 04:08:32 5eb5b503b376: Pull complete 04:08:33 5c69ac0246d0: Pull complete 04:08:33 ec43610c2a17: Pull complete 04:08:33 3a2ae6a8a46f: Pull complete 04:08:33 33b1e0a273af: Pull complete 04:08:33 5d3b04190fa2: Pull complete 04:08:37 2f39f015ded8: Pull complete 04:08:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:38 prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container 04:08:38 $ 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-1243 -v /w/workspace/gexfoundry_device-sdk-go_PR-1243:/w/workspace/gexfoundry_device-sdk-go_PR-1243:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1243@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 04:08:41 $ docker top 475fd119c32d843653c7d28c0395cca7e20faf0e031f72effbffc8f834a0eb3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:41 ---> job-cost.sh 04:08:41 lf-activate-venv: SKIPPING 04:08:41 INFO: No Stack... 04:08:42 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:42 INFO: Archiving Costs [Pipeline] sh 04:08:43 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives/cost.csv 04:08:43 + cut -d, -f6 [Pipeline] lock 04:08:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] 04:08:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] did not exist. Created. 04:08:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:08:43 + echo total: 0.2199999988079071 [Pipeline] stash 04:08:43 Stashed 1 file(s) [Pipeline] } 04:08:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:08:43 $ docker stop --time=1 475fd119c32d843653c7d28c0395cca7e20faf0e031f72effbffc8f834a0eb3c 04:08:44 $ docker rm -f 475fd119c32d843653c7d28c0395cca7e20faf0e031f72effbffc8f834a0eb3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:45 provisioning config files... 04:08:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8837215316277346347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:45 ---> docker-login.sh 04:08:45 nexus3.edgexfoundry.org:10001 04:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:46 Configure a credential helper to remove this warning. See 04:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:46 04:08:46 Login Succeeded 04:08:46 nexus3.edgexfoundry.org:10002 04:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:46 Configure a credential helper to remove this warning. See 04:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:46 04:08:46 Login Succeeded 04:08:46 nexus3.edgexfoundry.org:10003 04:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:47 Configure a credential helper to remove this warning. See 04:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:47 04:08:47 Login Succeeded 04:08:47 nexus3.edgexfoundry.org:10004 04:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:47 Configure a credential helper to remove this warning. See 04:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:47 04:08:47 Login Succeeded 04:08:47 docker.io 04:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:47 Configure a credential helper to remove this warning. See 04:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:47 04:08:47 Login Succeeded 04:08:47 ---> docker-login.sh ends [Pipeline] } 04:08:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:48 ========================================================= 04:08:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:08:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:48 + 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 . 04:08:48 Sending build context to Docker daemon 5.4MB 04:08:48 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:08:48 Step 2/11 : FROM ${BASE} AS builder 04:08:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:08:49 9b18e9b68314: Pulling fs layer 04:08:49 d32db5db7311: Pulling fs layer 04:08:49 d0c4b47475fc: Pulling fs layer 04:08:49 5831b945b038: Pulling fs layer 04:08:49 86bbec2aaacd: Pulling fs layer 04:08:49 e10730c5d714: Pulling fs layer 04:08:49 5dd5c2283517: Pulling fs layer 04:08:49 d5ac0230b979: Pulling fs layer 04:08:49 5831b945b038: Waiting 04:08:49 86bbec2aaacd: Waiting 04:08:49 e10730c5d714: Waiting 04:08:49 5dd5c2283517: Waiting 04:08:49 d5ac0230b979: Waiting 04:08:49 d0c4b47475fc: Verifying Checksum 04:08:49 d0c4b47475fc: Download complete 04:08:49 d32db5db7311: Verifying Checksum 04:08:49 d32db5db7311: Download complete 04:08:49 86bbec2aaacd: Verifying Checksum 04:08:49 86bbec2aaacd: Download complete 04:08:49 e10730c5d714: Verifying Checksum 04:08:49 e10730c5d714: Download complete 04:08:49 9b18e9b68314: Verifying Checksum 04:08:49 9b18e9b68314: Download complete 04:08:50 9b18e9b68314: Pull complete 04:08:50 d5ac0230b979: Verifying Checksum 04:08:50 d5ac0230b979: Download complete 04:08:50 d32db5db7311: Pull complete 04:08:50 d0c4b47475fc: Pull complete 04:08:51 5dd5c2283517: Verifying Checksum 04:08:51 5dd5c2283517: Download complete 04:08:51 5831b945b038: Verifying Checksum 04:08:51 5831b945b038: Download complete 04:09:04 5831b945b038: Pull complete 04:09:04 86bbec2aaacd: Pull complete 04:09:04 e10730c5d714: Pull complete 04:09:09 5dd5c2283517: Pull complete 04:09:11 d5ac0230b979: Pull complete 04:09:11 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:09:11 ---> 59b3b1a385d4 04:09:11 Step 3/11 : ARG MAKE=make build 04:09:13 ---> Running in 6ec134a4fd45 04:09:14 Removing intermediate container 6ec134a4fd45 04:09:14 ---> 2c8ba0c361b6 04:09:14 Step 4/11 : WORKDIR /device-sdk-go 04:09:14 ---> Running in d08acd2264bd 04:09:14 Removing intermediate container d08acd2264bd 04:09:14 ---> b58510760059 04:09:14 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:09:14 ---> Running in 02dcd3204d1c 04:09:14 Removing intermediate container 02dcd3204d1c 04:09:14 ---> 3957baeb387f 04:09:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:14 ---> Running in aa58313318af 04:09:16 Removing intermediate container aa58313318af 04:09:16 ---> e8e48fae1baa 04:09:16 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:09:16 ---> Running in d6f0bc0b639d 04:09:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:09:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:09:19 OK: 221 MiB in 51 packages 04:09:20 Removing intermediate container d6f0bc0b639d 04:09:20 ---> d74a14f98505 04:09:20 Step 8/11 : COPY go.mod vendor* ./ 04:09:20 ---> 90611c032b9f 04:09:20 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:20 ---> Running in ebe4cc8a1b88 04:10:07 Removing intermediate container ebe4cc8a1b88 04:10:07 ---> 4a3922de1c59 04:10:07 Step 10/11 : COPY . . 04:10:07 ---> a769f5669ab2 04:10:07 Step 11/11 : RUN ${MAKE} 04:10:07 ---> Running in 2fe8bbd0f2fa 04:10:08 noop 04:10:09 Removing intermediate container 2fe8bbd0f2fa 04:10:09 ---> d16b260f174a 04:10:09 Successfully built d16b260f174a 04:10:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:10 + docker inspect -f . ci-base-image-arm64 04:10:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:10 prd-ubuntu20.04-docker-arm64-4c-16g-8741 does not seem to be running inside a container 04:10:10 $ 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 ******** ci-base-image-arm64 cat 04:10:11 $ docker top 8f3e65eb3fd467710b2483b36b429c9639e9d5cf6d3f5578c3cf811aa65c2800 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:12 + go version 04:10:12 go version go1.18.7 linux/arm64 [Pipeline] } 04:10:12 $ docker stop --time=1 8f3e65eb3fd467710b2483b36b429c9639e9d5cf6d3f5578c3cf811aa65c2800 04:10:14 $ docker rm -f 8f3e65eb3fd467710b2483b36b429c9639e9d5cf6d3f5578c3cf811aa65c2800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:14 + docker inspect -f . ci-base-image-arm64 04:10:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:15 prd-ubuntu20.04-docker-arm64-4c-16g-8741 does not seem to be running inside a container 04:10:15 $ 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 ******** ci-base-image-arm64 cat 04:10:16 $ docker top 761b6c823cf707ed2401819269de086c93aefcb0b8c2c03e0dd4d1a7933ab5ae -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:17 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:10:17 + make test 04:10:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:10:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:12:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:12:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:12:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:12:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:12:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:12:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.380s coverage: 27.6% of statements 04:12:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.352s coverage: 78.9% of statements 04:12:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:12:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.720s coverage: 73.1% of statements 04:12:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:12:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:13:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.654s coverage: 54.4% of statements 04:13:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:13:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:13:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:13:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:13:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.464s coverage: 65.1% of statements 04:13:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:13:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:13:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.416s coverage: 89.2% of statements 04:13:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:13:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.244s coverage: 4.7% of statements 04:13:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:13:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:13:08 GO111MODULE=on go vet ./... 04:14:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:14:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:14:59 ./bin/test-attribution-txt.sh 04:14:59 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:14:59 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:14:59 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:14:59 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:14:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:14:59 $ docker stop --time=1 761b6c823cf707ed2401819269de086c93aefcb0b8c2c03e0dd4d1a7933ab5ae 04:15:01 $ docker rm -f 761b6c823cf707ed2401819269de086c93aefcb0b8c2c03e0dd4d1a7933ab5ae [Pipeline] // withDockerContainer [Pipeline] sh 04:15:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:15:03 Warning: overwriting stash ‘coverage-report’ 04:15:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:04 + ls -al . 04:15:04 total 272 04:15:04 drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 04:10 . 04:15:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 04:08 .. 04:15:04 -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 04:08 .dockerignore 04:15:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 04:08 .git 04:15:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 04:08 .github 04:15:04 -rw-rw-r-- 1 jenkins jenkins 131 Oct 21 04:08 .gitignore 04:15:04 -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 04:08 .golangci.yml 04:15:04 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 21 04:08 CHANGELOG.md 04:15:04 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 04:08 GOVERNANCE.md 04:15:04 -rw-rw-r-- 1 jenkins jenkins 880 Oct 21 04:08 Jenkinsfile 04:15:04 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 04:08 LICENSE 04:15:04 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 21 04:08 Makefile 04:15:04 -rw-rw-r-- 1 jenkins jenkins 619 Oct 21 04:08 OWNERS.md 04:15:04 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 21 04:08 README.md 04:15:04 -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 04:06 VERSION 04:15:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 04:08 bin 04:15:04 -rw-r--r-- 1 jenkins jenkins 101759 Oct 21 04:13 coverage.out 04:15:04 drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 04:08 example 04:15:04 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 21 04:08 go.mod 04:15:04 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 21 04:08 go.sum 04:15:04 drwxrwxr-x 14 jenkins jenkins 4096 Oct 21 04:08 internal 04:15:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 04:08 openapi 04:15:04 drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 04:08 pkg 04:15:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 04:08 snap 04:15:04 -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:04 + 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=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c --label arch=arm64 --label version=0.0.0 . 04:15:05 Sending build context to Docker daemon 5.502MB 04:15:05 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:15:05 Step 2/25 : FROM ${BASE} AS builder 04:15:05 ---> d16b260f174a 04:15:05 Step 3/25 : ARG MAKE=make build 04:15:05 ---> Running in 8cec89047a38 04:15:05 Removing intermediate container 8cec89047a38 04:15:05 ---> d9ce13de1dc3 04:15:05 Step 4/25 : WORKDIR /device-sdk-go 04:15:06 ---> Running in 3a83fbb58b0a 04:15:06 Removing intermediate container 3a83fbb58b0a 04:15:06 ---> 09c21972c773 04:15:06 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:15:06 ---> Running in 8730054c8e4a 04:15:06 Removing intermediate container 8730054c8e4a 04:15:06 ---> f73964a459e9 04:15:06 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:06 ---> Running in 479e7aae42b4 04:15:08 Removing intermediate container 479e7aae42b4 04:15:08 ---> 02cf3c8073d7 04:15:08 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:15:08 ---> Running in d22e51e4a042 04:15:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:15:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:15:11 OK: 221 MiB in 51 packages 04:15:12 Removing intermediate container d22e51e4a042 04:15:12 ---> 56803f4b0d92 04:15:12 Step 8/25 : COPY go.mod vendor* ./ 04:15:12 ---> 54e0238a5f20 04:15:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:12 ---> Running in 664f50ca9d20 04:15:14 Removing intermediate container 664f50ca9d20 04:15:14 ---> 63e140071601 04:15:14 Step 10/25 : COPY . . 04:15:16 ---> d275cc098c9d 04:15:16 Step 11/25 : RUN ${MAKE} 04:15:16 ---> Running in 09a567e91aa9 04:15:16 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 04:17:38 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:17:38 Removing intermediate container 09a567e91aa9 04:17:38 ---> db245fc3e020 04:17:38 Step 12/25 : FROM alpine:3.16 04:17:38 3.16: Pulling from library/alpine 04:17:38 9b18e9b68314: Already exists 04:17:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:17:38 Status: Downloaded newer image for alpine:3.16 04:17:38 ---> a6215f271958 04:17:38 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:17:38 ---> Running in 98b213e2d86b 04:17:38 Removing intermediate container 98b213e2d86b 04:17:38 ---> 64a6083927d8 04:17:38 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:17:38 ---> Running in 0046fb8db7ee 04:17:38 Removing intermediate container 0046fb8db7ee 04:17:38 ---> abf956e15dbc 04:17:38 Step 15/25 : RUN apk add --update --no-cache zeromq 04:17:38 ---> Running in 270c0eb5dfbf 04:17:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:17:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:17:38 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:17:38 (2/5) Installing libsodium (1.0.18-r0) 04:17:38 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:17:38 (4/5) Installing libzmq (4.3.4-r0) 04:17:38 (5/5) Installing zeromq (4.3.4-r0) 04:17:38 Executing busybox-1.35.0-r17.trigger 04:17:38 OK: 8 MiB in 19 packages 04:17:39 Removing intermediate container 270c0eb5dfbf 04:17:39 ---> 3b305017ef81 04:17:39 Step 16/25 : WORKDIR / 04:17:39 ---> Running in 81e22eb348c4 04:17:39 Removing intermediate container 81e22eb348c4 04:17:39 ---> c3615170e2ca 04:17:39 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:17:40 ---> 9d53f135f25d 04:17:40 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:17:42 ---> f42f931853ca 04:17:42 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:17:42 ---> 41072c2bbc6c 04:17:42 Step 20/25 : EXPOSE 59999 04:17:42 ---> Running in 16146f22f00d 04:17:42 Removing intermediate container 16146f22f00d 04:17:42 ---> 68319af31af1 04:17:42 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:17:42 ---> Running in 11516518b616 04:17:43 Removing intermediate container 11516518b616 04:17:43 ---> 21f9c8143f7e 04:17:43 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:17:43 ---> Running in 1870ebd85419 04:17:43 Removing intermediate container 1870ebd85419 04:17:43 ---> 33ff6fe990e0 04:17:43 Step 23/25 : LABEL arch=arm64 04:17:43 ---> Running in 639d5c01f9a0 04:17:44 Removing intermediate container 639d5c01f9a0 04:17:44 ---> 121ca590e3df 04:17:44 Step 24/25 : LABEL git_sha=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c 04:17:44 ---> Running in 797fe80e1a7d 04:17:44 Removing intermediate container 797fe80e1a7d 04:17:44 ---> c248ebf648e0 04:17:44 Step 25/25 : LABEL version=0.0.0 04:17:44 ---> Running in b4b08c673399 04:17:44 Removing intermediate container b4b08c673399 04:17:44 ---> dc9a7dd0c023 04:17:44 [Warning] One or more build-args [ARCH] were not consumed 04:17:44 Successfully built dc9a7dd0c023 04:17:44 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 04:17:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:45 04:17:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:46 arm64: Pulling from edgex-lftools-log-publisher 04:17:46 8998bd30e6a1: Pulling fs layer 04:17:46 04944245beec: Pulling fs layer 04:17:46 699f458cf7ca: Pulling fs layer 04:17:46 765212b225bb: Pulling fs layer 04:17:46 f23df028b6ca: Pulling fs layer 04:17:46 d65c8cfc05b1: Pulling fs layer 04:17:46 2437ff75d9bd: Pulling fs layer 04:17:46 765212b225bb: Waiting 04:17:46 f23df028b6ca: Waiting 04:17:46 d65c8cfc05b1: Waiting 04:17:46 2437ff75d9bd: Waiting 04:17:46 04944245beec: Verifying Checksum 04:17:46 04944245beec: Download complete 04:17:46 765212b225bb: Verifying Checksum 04:17:46 765212b225bb: Download complete 04:17:46 f23df028b6ca: Verifying Checksum 04:17:46 f23df028b6ca: Download complete 04:17:46 d65c8cfc05b1: Verifying Checksum 04:17:46 d65c8cfc05b1: Download complete 04:17:46 699f458cf7ca: Verifying Checksum 04:17:46 699f458cf7ca: Download complete 04:17:46 8998bd30e6a1: Verifying Checksum 04:17:46 8998bd30e6a1: Download complete 04:17:49 2437ff75d9bd: Verifying Checksum 04:17:49 2437ff75d9bd: Download complete 04:17:50 8998bd30e6a1: Pull complete 04:17:51 04944245beec: Pull complete 04:17:52 699f458cf7ca: Pull complete 04:17:52 765212b225bb: Pull complete 04:17:53 f23df028b6ca: Pull complete 04:17:54 d65c8cfc05b1: Pull complete 04:18:09 2437ff75d9bd: Pull complete 04:18:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:18:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:09 prd-ubuntu20.04-docker-arm64-4c-16g-8741 does not seem to be running inside a container 04:18:09 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:18:12 $ docker top 7d5b191ecbc689d260583ad8da89808bc29ea668d0a17a780f442c5cadd39c1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:13 ---> job-cost.sh 04:18:13 lf-activate-venv: SKIPPING 04:18:13 INFO: No Stack... 04:18:13 INFO: Retrieving Pricing Info for: v3-standard-4 04:18:14 INFO: Archiving Costs [Pipeline] sh 04:18:15 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:18:15 + cut -d, -f6 [Pipeline] lock 04:18:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] 04:18:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] did not exist. Created. 04:18:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:18:16 /w/workspace/device-sdk-go/1@tmp/durable-2ec8b8f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:18:16 + echo total: 0.10999999940395355 [Pipeline] stash 04:18:16 Warning: overwriting stash ‘stack-cost’ 04:18:16 Stashed 1 file(s) [Pipeline] } 04:18:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1243-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:18:16 $ docker stop --time=1 7d5b191ecbc689d260583ad8da89808bc29ea668d0a17a780f442c5cadd39c1a 04:18:18 $ docker rm -f 7d5b191ecbc689d260583ad8da89808bc29ea668d0a17a780f442c5cadd39c1a [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 04:18:19 provisioning config files... 04:18:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/config1127544880989336046tmp [Pipeline] { [Pipeline] sh 04:18:19 + set +x 04:18:19 + curl -s https://codecov.io/bash 04:18:19 + bash -s -- 04:18:19 04:18:19 _____ _ 04:18:19 / ____| | | 04:18:19 | | ___ __| | ___ ___ _____ __ 04:18:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:18:19 | |___| (_) | (_| | __/ (_| (_) \ V / 04:18:19 \_____\___/ \__,_|\___|\___\___/ \_/ 04:18:19 Bash-1.0.6 04:18:19 04:18:19 04:18:19 ==> git version 2.25.1 found 04:18:19 ==> 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 04:18:19 Release-Date: 2020-01-08 04:18:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:18:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:18:19 ==> Jenkins CI detected. 04:18:19 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1243 04:18:19 project root: . 04:18:19 --> token set from env 04:18:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:18:19 ==> Running gcov in . (disable via -X gcov) 04:18:19 ==> Python coveragepy not found 04:18:19 ==> Searching for coverage reports in: 04:18:19 + . 04:18:19 -> Found 1 reports 04:18:19 ==> Detecting git/mercurial file structure 04:18:19 ==> Reading reports 04:18:19 + ./coverage.out bytes=101759 04:18:19 ==> Appending adjustments 04:18:19 https://docs.codecov.io/docs/fixing-reports 04:18:20 + Found adjustments 04:18:20 ==> Gzipping contents 04:18:20 16K /tmp/codecov.AsSdwt.gz 04:18:20 ==> Uploading reports 04:18:20 url: https://codecov.io 04:18:20 query: branch=PR-1243&commit=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1243%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1243&job=&cmd_args= 04:18:20 -> Pinging Codecov 04:18:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1243&commit=d2c04776a14dcf683e7ba9590ce75aeb4e8d969c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1243%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1243&job=&cmd_args= 04:18:20 -> Uploading to 04:18:20 https://storage.googleapis.com/codecov/v4/raw/2022-10-21/7E55EF52A471D76F132DFD9A03CDDE97/d2c04776a14dcf683e7ba9590ce75aeb4e8d969c/4c676441-1b17-4a08-abfc-096d3e6a217f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221021%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221021T041820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16bf3a51aad31d48b301a0fd0509510e49a3ee238ec09b3f1bda06b808819222 04:18:20 % Total % Received % Xferd Average Speed Time Time Time Current 04:18:20 Dload Upload Total Spent Left Speed 04:18:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14703 0 0 100 14703 0 66529 --:--:-- --:--:-- --:--:-- 66229 100 14703 0 0 100 14703 0 60506 --:--:-- --:--:-- --:--:-- 60258 04:18:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d2c04776a14dcf683e7ba9590ce75aeb4e8d969c [Pipeline] } 04:18:20 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 04:18:22 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives ] 04:18:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives 04:18:22 total 16 04:18:22 drwxr-xr-x 3 root root 4096 Oct 21 04:08 . 04:18:22 drwxrwxr-x 12 jenkins jenkins 4096 Oct 21 04:08 .. 04:18:22 drwxr-xr-x 2 root root 4096 Oct 21 04:08 cost 04:18:22 -rw-r--r-- 1 root root 86 Oct 21 04:08 cost.csv 04:18:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives 04:18:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives 04:18:22 total 16 04:18:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 04:08 . 04:18:22 drwxrwxr-x 12 jenkins jenkins 4096 Oct 21 04:08 .. 04:18:22 drwxr-xr-x 2 jenkins jenkins 4096 Oct 21 04:08 cost 04:18:22 -rw-r--r-- 1 jenkins jenkins 86 Oct 21 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:18:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:18:23 ---> package-listing.sh 04:18:23 ++ facter osfamily 04:18:23 ++ tr '[:upper:]' '[:lower:]' 04:18:23 + OS_FAMILY=debian 04:18:23 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1243 04:18:23 + START_PACKAGES=/tmp/packages_start.txt 04:18:23 + END_PACKAGES=/tmp/packages_end.txt 04:18:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:18:23 + PACKAGES=/tmp/packages_start.txt 04:18:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1243 ']' 04:18:23 + PACKAGES=/tmp/packages_end.txt 04:18:23 + case "${OS_FAMILY}" in 04:18:23 + grep '^ii' 04:18:23 + dpkg -l 04:18:23 + '[' -f /tmp/packages_start.txt ']' 04:18:23 + '[' -f /tmp/packages_end.txt ']' 04:18:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:18:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1243 ']' 04:18:23 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives/ 04:18:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1243/archives/ [Pipeline] echo 04:18:23 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-1243/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:18:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:25 prd-ubuntu20.04-docker-8c-8g-8739 does not seem to be running inside a container 04:18:25 $ 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-1243/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-1243 -v /w/workspace/gexfoundry_device-sdk-go_PR-1243:/w/workspace/gexfoundry_device-sdk-go_PR-1243:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:18:25 $ docker top 551a90c4408a66073a8e28e03a61637fcb0fb077b8b6ef027a9344a9b16b6044 -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:25 + touch /tmp/pre-build-complete [Pipeline] sh 04:18:25 + mkdir -p /var/log/sysstat [Pipeline] sh 04:18:26 + ls /var/log/sa-host 04:18:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:26 provisioning config files... 04:18:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1243@tmp/config9832288690537209848tmp [Pipeline] { [Pipeline] echo 04:18:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:18:26 ---> create-netrc.sh [Pipeline] } 04:18:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:18:27 ---> python-tools-install.sh [Pipeline] echo 04:18:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:18:27 ---> sudo-logs.sh 04:18:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:18:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:18:27 ---> job-cost.sh 04:18:27 lf-activate-venv: SKIPPING 04:18:27 DEBUG: total: 0.2199999988079071 04:18:27 INFO: Retrieving Stack Cost... 04:18:28 INFO: Retrieving Pricing Info for: v3-standard-8 04:18:28 INFO: Archiving Costs [Pipeline] echo 04:18:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:18:29 ---> logs-deploy.sh 04:18:29 lf-activate-venv: SKIPPING 04:18:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1243/1 04:18:29 INFO: archiving workspace using pattern(s): 04:18:30 Archives upload complete. 04:18:30 INFO: archiving logs to Nexus