Pull request #1234 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 624544a05e8fa8c65c1d4e3398e527d8dc64c10c+09c8a507c77d2bd2f09eb9ac13068a60ef71d0df (587eff194255aada3e7e0cd6f85246c005402cd3) 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-ssh9597560715774458656.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4179430229842398076.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1234/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-1234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh852073870358653828.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-1234/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17401893785046801159.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6544911560971469312.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-1234/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-1234/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17401298694849087080.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7731 in /w/workspace/gexfoundry_device-sdk-go_PR-1234 [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-1234 # 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/1234/head:refs/remotes/origin/PR-1234 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df into PR head commit 624544a05e8fa8c65c1d4e3398e527d8dc64c10c Merge succeeded, producing 624544a05e8fa8c65c1d4e3398e527d8dc64c10c Checking out Revision 624544a05e8fa8c65c1d4e3398e527d8dc64c10c (PR-1234) > git config core.sparsecheckout # timeout=10 > git checkout -f 624544a05e8fa8c65c1d4e3398e527d8dc64c10c # 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 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 624544a05e8fa8c65c1d4e3398e527d8dc64c10c # timeout=10 Commit message: "fix: return BaseResponse in set command response envelope" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:25:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:25:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:25:30 ========================================================= 05:25:30 EdgeX Global Pipelines Version Info 05:25:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:25:30 ------------------- 05:25:30 stable info: 05:25:30 ------------------- 05:25:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:25:30 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:25:30 Message: update stable to v1.0.239 05:25:31 ------------------- 05:25:31 experimental info: 05:25:31 ------------------- 05:25:31 Commited By: **** collab-it+edgex@linuxfoundation.org 05:25:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:25:31 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:25:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:25:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:25:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:25:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:25:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:25:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:25:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1234 [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1234 [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1234 [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 624544a05e8fa8c65c1d4e3398e527d8dc64c10c [Pipeline] echo 05:25:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 624544a [Pipeline] echo 05:25:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:25:33 provisioning config files... 05:25:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/config5460742956015460258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:25:33 ---> docker-login.sh 05:25:33 nexus3.edgexfoundry.org:10001 05:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:34 Configure a credential helper to remove this warning. See 05:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:34 05:25:34 Login Succeeded 05:25:34 nexus3.edgexfoundry.org:10002 05:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:34 Configure a credential helper to remove this warning. See 05:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:34 05:25:34 Login Succeeded 05:25:34 nexus3.edgexfoundry.org:10003 05:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:34 Configure a credential helper to remove this warning. See 05:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:34 05:25:34 Login Succeeded 05:25:34 nexus3.edgexfoundry.org:10004 05:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:34 Configure a credential helper to remove this warning. See 05:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:34 05:25:34 Login Succeeded 05:25:34 docker.io 05:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:34 Configure a credential helper to remove this warning. See 05:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:34 05:25:34 Login Succeeded 05:25:34 ---> docker-login.sh ends [Pipeline] } 05:25:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:25:35 + git rev-list -1 --merges 624544a05e8fa8c65c1d4e3398e527d8dc64c10c~1..624544a05e8fa8c65c1d4e3398e527d8dc64c10c [Pipeline] echo 05:25:35 -----------> git rev-list -1 --merges 624544a05e8fa8c65c1d4e3398e527d8dc64c10c~1..624544a05e8fa8c65c1d4e3398e527d8dc64c10c 624544a05e8fa8c65c1d4e3398e527d8dc64c10c [false] [Pipeline] sh 05:25:35 + git log --format=format:%s -1 624544a05e8fa8c65c1d4e3398e527d8dc64c10c [Pipeline] echo 05:25:35 ========================================================= 05:25:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:25:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:25:36 + git log --format=format:%s -1 624544a05e8fa8c65c1d4e3398e527d8dc64c10c [Pipeline] echo 05:25:36 [semverPrep] GIT_COMMIT: 624544a05e8fa8c65c1d4e3398e527d8dc64c10c, Commit Message: fix: return BaseResponse in set command response envelope [Pipeline] echo 05:25:36 [semverPrep] This is not a build commit. [Pipeline] sh 05:25:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:25:36 + grep -v github /etc/ssh/ssh_known_hosts 05:25:36 + [ -e /tmp/ssh_known_hosts ] 05:25:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:25:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:25:36 + sudo tee -a /etc/ssh/ssh_known_hosts 05:25:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:25:37 05:25:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:25:37 0.1.4: Pulling from edgex-devops/py-git-semver 05:25:37 b85a868b505f: Pulling fs layer 05:25:37 e2be974225ed: Pulling fs layer 05:25:37 339a4e72a1f5: Pulling fs layer 05:25:37 988bab9f4d93: Pulling fs layer 05:25:37 1469e6f7b9e6: Pulling fs layer 05:25:37 eaf3925da568: Pulling fs layer 05:25:37 bab4dde63d76: Pulling fs layer 05:25:37 bde34c3a00c8: Pulling fs layer 05:25:37 b352a97aabf1: Pulling fs layer 05:25:37 4872d77fe225: Pulling fs layer 05:25:37 5851b861e8e6: Pulling fs layer 05:25:37 988bab9f4d93: Waiting 05:25:37 b352a97aabf1: Waiting 05:25:37 bab4dde63d76: Waiting 05:25:37 bde34c3a00c8: Waiting 05:25:37 4872d77fe225: Waiting 05:25:37 5851b861e8e6: Waiting 05:25:37 eaf3925da568: Waiting 05:25:37 1469e6f7b9e6: Waiting 05:25:37 e2be974225ed: Verifying Checksum 05:25:37 e2be974225ed: Download complete 05:25:37 988bab9f4d93: Verifying Checksum 05:25:37 988bab9f4d93: Download complete 05:25:37 1469e6f7b9e6: Verifying Checksum 05:25:37 1469e6f7b9e6: Download complete 05:25:37 eaf3925da568: Download complete 05:25:37 339a4e72a1f5: Verifying Checksum 05:25:37 339a4e72a1f5: Download complete 05:25:37 bde34c3a00c8: Verifying Checksum 05:25:37 bde34c3a00c8: Download complete 05:25:37 b352a97aabf1: Verifying Checksum 05:25:37 b352a97aabf1: Download complete 05:25:37 4872d77fe225: Verifying Checksum 05:25:37 4872d77fe225: Download complete 05:25:37 5851b861e8e6: Verifying Checksum 05:25:37 5851b861e8e6: Download complete 05:25:37 b85a868b505f: Verifying Checksum 05:25:37 b85a868b505f: Download complete 05:25:38 bab4dde63d76: Verifying Checksum 05:25:38 bab4dde63d76: Download complete 05:25:39 b85a868b505f: Pull complete 05:25:39 e2be974225ed: Pull complete 05:25:39 339a4e72a1f5: Pull complete 05:25:39 988bab9f4d93: Pull complete 05:25:39 1469e6f7b9e6: Pull complete 05:25:39 eaf3925da568: Pull complete 05:25:41 bab4dde63d76: Pull complete 05:25:41 bde34c3a00c8: Pull complete 05:25:42 b352a97aabf1: Pull complete 05:25:42 4872d77fe225: Pull complete 05:25:42 5851b861e8e6: Pull complete 05:25:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:25:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:25:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:25:42 prd-ubuntu20.04-docker-8c-8g-7731 does not seem to be running inside a container 05:25:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1234 -v /w/workspace/gexfoundry_device-sdk-go_PR-1234:/w/workspace/gexfoundry_device-sdk-go_PR-1234:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1234@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-devops/py-git-semver:0.1.4 cat 05:25:45 $ docker top d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 -eo pid,comm 05:25:45 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). 05:25:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:25:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:25:45 [ssh-agent] Looking for ssh-agent implementation... 05:25:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:25:45 $ docker exec d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 ssh-agent 05:25:45 SSH_AUTH_SOCK=/tmp/ssh-cxaphXoWiMIv/agent.32 05:25:45 SSH_AGENT_PID=38 05:25:45 Running ssh-add (command line suppressed) 05:25:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/private_key_9493395281742574119.key (/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/private_key_9493395281742574119.key) 05:25:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:25:46 + git tag --points-at HEAD [Pipeline] } 05:25:46 $ docker exec --env ******** --env ******** d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 ssh-agent -k 05:25:46 unset SSH_AUTH_SOCK; 05:25:46 unset SSH_AGENT_PID; 05:25:46 echo Agent pid 38 killed; 05:25:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:25:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:25:46 [ssh-agent] Looking for ssh-agent implementation... 05:25:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:25:46 $ docker exec d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 ssh-agent 05:25:46 SSH_AUTH_SOCK=/tmp/ssh-6V4EJX6XCllF/agent.70 05:25:46 SSH_AGENT_PID=76 05:25:46 Running ssh-add (command line suppressed) 05:25:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/private_key_11749297051111343113.key (/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/private_key_11749297051111343113.key) 05:25:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:25:47 + git semver init 05:25:47 2022-10-12 05:25:47,366 [run_init] DEBUG init version:0.0.0 force:False 05:25:47 2022-10-12 05:25:47,367 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver 05:25:47 2022-10-12 05:25:47,367 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver 05:25:47 2022-10-12 05:25:47,368 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1234, universal_newlines=False, shell=None, istream=None) 05:25:48 2022-10-12 05:25:48,442 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234/.git/info/exclude 05:25:48 2022-10-12 05:25:48,443 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver/PR-1234 with force:False 05:25:48 2022-10-12 05:25:48,443 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver/PR-1234 05:25:48 2022-10-12 05:25:48,447 [execute] INFO git cat-file --batch-check 05:25:48 2022-10-12 05:25:48,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver, universal_newlines=False, shell=None, istream=) 05:25:48 2022-10-12 05:25:48,453 [execute] INFO git cat-file --batch 05:25:48 2022-10-12 05:25:48,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver, universal_newlines=False, shell=None, istream=) 05:25:48 2022-10-12 05:25:48,459 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1234/.semver/PR-1234 05:25:48 0.0.0 [Pipeline] } 05:25:48 $ docker exec --env ******** --env ******** d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 ssh-agent -k 05:25:48 unset SSH_AUTH_SOCK; 05:25:48 unset SSH_AGENT_PID; 05:25:48 echo Agent pid 76 killed; 05:25:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:25:49 + git semver [Pipeline] } 05:25:49 $ docker stop --time=1 d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 05:25:50 $ docker rm -f d9adfd0c78b42c886a6507eae589b485ab3200aaa251c9548699914b84184609 [Pipeline] // withDockerContainer [Pipeline] sh 05:25:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:25:51 Stashed 1 file(s) [Pipeline] echo 05:25:51 [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 05:25:52 provisioning config files... 05:25:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/config18096334756409375568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:25:52 ---> docker-login.sh 05:25:52 nexus3.edgexfoundry.org:10001 05:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:52 Configure a credential helper to remove this warning. See 05:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:52 05:25:52 Login Succeeded 05:25:52 nexus3.edgexfoundry.org:10002 05:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:52 Configure a credential helper to remove this warning. See 05:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:52 05:25:52 Login Succeeded 05:25:52 nexus3.edgexfoundry.org:10003 05:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:52 Configure a credential helper to remove this warning. See 05:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:52 05:25:52 Login Succeeded 05:25:52 nexus3.edgexfoundry.org:10004 05:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:52 Configure a credential helper to remove this warning. See 05:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:52 05:25:52 Login Succeeded 05:25:52 docker.io 05:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:25:53 Configure a credential helper to remove this warning. See 05:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:25:53 05:25:53 Login Succeeded 05:25:53 ---> docker-login.sh ends [Pipeline] } 05:25:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:25:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:25:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:25:53 ========================================================= 05:25:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:25:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:54 + 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 . 05:25:54 Sending build context to Docker daemon 10.01MB 05:25:54 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:25:54 Step 2/11 : FROM ${BASE} AS builder 05:25:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:25:54 213ec9aee27d: Pulling fs layer 05:25:54 4583459ba037: Pulling fs layer 05:25:54 93c1e223e6f2: Pulling fs layer 05:25:54 53926ce57604: Pulling fs layer 05:25:54 21b2b0c7a3f4: Pulling fs layer 05:25:54 30f14e443154: Pulling fs layer 05:25:54 801331c1e519: Pulling fs layer 05:25:54 53926ce57604: Waiting 05:25:54 30f14e443154: Waiting 05:25:54 21b2b0c7a3f4: Waiting 05:25:54 99cc6dd402b0: Pulling fs layer 05:25:54 7d9ed39f4882: Pulling fs layer 05:25:54 801331c1e519: Waiting 05:25:54 99cc6dd402b0: Waiting 05:25:54 7d9ed39f4882: Waiting 05:25:54 93c1e223e6f2: Verifying Checksum 05:25:54 93c1e223e6f2: Download complete 05:25:54 4583459ba037: Verifying Checksum 05:25:54 4583459ba037: Download complete 05:25:54 21b2b0c7a3f4: Verifying Checksum 05:25:54 21b2b0c7a3f4: Download complete 05:25:54 30f14e443154: Download complete 05:25:54 213ec9aee27d: Verifying Checksum 05:25:54 213ec9aee27d: Download complete 05:25:54 801331c1e519: Verifying Checksum 05:25:54 801331c1e519: Download complete 05:25:54 213ec9aee27d: Pull complete 05:25:54 4583459ba037: Pull complete 05:25:54 93c1e223e6f2: Pull complete 05:25:54 7d9ed39f4882: Verifying Checksum 05:25:54 7d9ed39f4882: Download complete 05:25:54 99cc6dd402b0: Verifying Checksum 05:25:54 99cc6dd402b0: Download complete 05:25:55 53926ce57604: Verifying Checksum 05:25:55 53926ce57604: Download complete 05:25:59 53926ce57604: Pull complete 05:25:59 21b2b0c7a3f4: Pull complete 05:25:59 30f14e443154: Pull complete 05:25:59 801331c1e519: Pull complete 05:26:01 99cc6dd402b0: Pull complete 05:26:01 7d9ed39f4882: Pull complete 05:26:01 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 05:26:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:26:01 ---> 1dedd983c030 05:26:01 Step 3/11 : ARG MAKE=make build 05:26:07 Still waiting to schedule task 05:26:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:26:07 ---> Running in 548e9cfe162a 05:26:07 Removing intermediate container 548e9cfe162a 05:26:07 ---> 3f9faafa64fa 05:26:07 Step 4/11 : WORKDIR /device-sdk-go 05:26:07 ---> Running in 51e598716cd2 05:26:07 Removing intermediate container 51e598716cd2 05:26:07 ---> ffd53f2d65e1 05:26:07 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:26:07 ---> Running in 188e2f7d8e84 05:26:07 Removing intermediate container 188e2f7d8e84 05:26:07 ---> 11eba9ac307b 05:26:07 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:26:07 ---> Running in 7132b9f63dd4 05:26:07 Removing intermediate container 7132b9f63dd4 05:26:07 ---> e3a640b0995b 05:26:07 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:26:07 ---> Running in 36c608ee0602 05:26:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:26:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:26:08 OK: 211 MiB in 51 packages 05:26:08 Removing intermediate container 36c608ee0602 05:26:08 ---> d36d24eff9ff 05:26:08 Step 8/11 : COPY go.mod vendor* ./ 05:26:09 ---> 22829aafd106 05:26:09 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:26:09 ---> Running in 1bde36bb2d88 05:26:35 Removing intermediate container 1bde36bb2d88 05:26:35 ---> 03cb8e1055c1 05:26:35 Step 10/11 : COPY . . 05:26:35 ---> 92657ba44558 05:26:35 Step 11/11 : RUN ${MAKE} 05:26:35 ---> Running in 8bbc24c50ea0 05:26:35 noop 05:26:35 Removing intermediate container 8bbc24c50ea0 05:26:35 ---> 8b40e36e9c29 05:26:35 Successfully built 8b40e36e9c29 05:26:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:36 + docker inspect -f . ci-base-image-x86_64 05:26:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:36 prd-ubuntu20.04-docker-8c-8g-7731 does not seem to be running inside a container 05:26:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1234 -v /w/workspace/gexfoundry_device-sdk-go_PR-1234:/w/workspace/gexfoundry_device-sdk-go_PR-1234:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:26:36 $ docker top dae3d09fb5776281f92a5a2708108daea42e78ec46f641b7f62b5560f7d8168e -eo pid,comm [Pipeline] { [Pipeline] sh 05:26:36 + go version 05:26:36 go version go1.18.7 linux/amd64 [Pipeline] } 05:26:37 $ docker stop --time=1 dae3d09fb5776281f92a5a2708108daea42e78ec46f641b7f62b5560f7d8168e 05:26:38 $ docker rm -f dae3d09fb5776281f92a5a2708108daea42e78ec46f641b7f62b5560f7d8168e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:39 + docker inspect -f . ci-base-image-x86_64 05:26:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:39 prd-ubuntu20.04-docker-8c-8g-7731 does not seem to be running inside a container 05:26:39 $ 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-1234 -v /w/workspace/gexfoundry_device-sdk-go_PR-1234:/w/workspace/gexfoundry_device-sdk-go_PR-1234:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:26:39 $ docker top 77082db696414ec26bfd03e195c080365f62b3b5e6470ece440f8e5ec3af173b -eo pid,comm [Pipeline] { [Pipeline] sh 05:26:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1234 [Pipeline] fileExists [Pipeline] sh 05:26:40 + make test 05:26:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:26:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:26:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 27.6% of statements 05:26:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 05:26:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 60.0% of statements 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:26:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.125s coverage: 54.4% of statements 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:26:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 05:26:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.758s coverage: 89.2% of statements 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:26:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 05:26:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:27:17 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." 05:27:17 GO111MODULE=on go vet ./... 05:27:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:27:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:27:18 ./bin/test-attribution-txt.sh 05:27:18 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 05:27:18 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:27:18 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:27:18 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:27:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:27:18 $ docker stop --time=1 77082db696414ec26bfd03e195c080365f62b3b5e6470ece440f8e5ec3af173b 05:27:23 $ docker rm -f 77082db696414ec26bfd03e195c080365f62b3b5e6470ece440f8e5ec3af173b [Pipeline] // withDockerContainer [Pipeline] sh 05:27:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:27:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:27:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:27:24 + ls -al . 05:27:24 total 276 05:27:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 05:26 . 05:27:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:25 .. 05:27:24 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 05:25 .dockerignore 05:27:24 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 05:27 .git 05:27:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:25 .github 05:27:24 -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 05:25 .gitignore 05:27:24 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 05:25 .golangci.yml 05:27:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 05:25 .semver 05:27:24 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 12 05:25 CHANGELOG.md 05:27:24 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 05:25 GOVERNANCE.md 05:27:24 -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 05:25 Jenkinsfile 05:27:24 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 05:25 LICENSE 05:27:24 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 12 05:25 Makefile 05:27:24 -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 05:25 OWNERS.md 05:27:24 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 12 05:25 README.md 05:27:24 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 05:25 VERSION 05:27:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:25 bin 05:27:24 -rw-r--r-- 1 jenkins jenkins 101009 Oct 12 05:26 coverage.out 05:27:24 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 05:25 example 05:27:24 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 12 05:25 go.mod 05:27:24 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 12 05:25 go.sum 05:27:24 drwxrwxr-x 14 jenkins jenkins 4096 Oct 12 05:25 internal 05:27:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:25 openapi 05:27:24 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 05:25 pkg 05:27:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:25 snap 05:27:24 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 05:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:25 + 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=624544a05e8fa8c65c1d4e3398e527d8dc64c10c --label arch=amd64 --label version=0.0.0 . 05:27:25 Sending build context to Docker daemon 10.11MB 05:27:25 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:27:25 Step 2/25 : FROM ${BASE} AS builder 05:27:25 ---> 8b40e36e9c29 05:27:25 Step 3/25 : ARG MAKE=make build 05:27:25 ---> Running in 91e141086a2e 05:27:25 Removing intermediate container 91e141086a2e 05:27:25 ---> a7391f88e9b8 05:27:25 Step 4/25 : WORKDIR /device-sdk-go 05:27:25 ---> Running in 72652b415ab0 05:27:25 Removing intermediate container 72652b415ab0 05:27:25 ---> 8822e75a2a60 05:27:25 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:27:25 ---> Running in 779e42812896 05:27:25 Removing intermediate container 779e42812896 05:27:25 ---> bd772b5d0363 05:27:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:27:25 ---> Running in a8e0f0be4d30 05:27:26 Removing intermediate container a8e0f0be4d30 05:27:26 ---> 7a428255f6df 05:27:26 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:27:26 ---> Running in 8b559ec91f1e 05:27:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:27:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:27:27 OK: 211 MiB in 51 packages 05:27:28 Removing intermediate container 8b559ec91f1e 05:27:28 ---> e42fba08a2cc 05:27:28 Step 8/25 : COPY go.mod vendor* ./ 05:27:28 ---> a28d99ed8569 05:27:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:27:28 ---> Running in 8476ee410d9b 05:27:28 Removing intermediate container 8476ee410d9b 05:27:28 ---> 13bc22f71768 05:27:28 Step 10/25 : COPY . . 05:27:29 ---> d8ea817dbea3 05:27:29 Step 11/25 : RUN ${MAKE} 05:27:29 ---> Running in d88cd3e378ce 05:27:29 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 05:27:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7732 in /w/workspace/gexfoundry_device-sdk-go_PR-1234 [Pipeline] { [Pipeline] ws 05:27:37 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:27:37 The recommended git tool is: git 05:27:42 using credential edgex-jenkins-ssh 05:27:42 Cloning the remote Git repository 05:27:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:27:42 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:27:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:27:42 > git --version # timeout=10 05:27:42 > git --version # 'git version 2.25.1' 05:27:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:27:42 Verifying host key using known hosts file 05:27:42 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. 05:27:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:27:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:27:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:27:45 Merging remotes/origin/main commit 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df into PR head commit 624544a05e8fa8c65c1d4e3398e527d8dc64c10c 05:27:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:27:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:27:45 using GIT_SSH to set credentials SSH Credentials for GitHub 05:27:45 Verifying host key using known hosts file 05:27:45 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. 05:27:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1234/head:refs/remotes/origin/PR-1234 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:27:46 > git config core.sparsecheckout # timeout=10 05:27:46 > git checkout -f 624544a05e8fa8c65c1d4e3398e527d8dc64c10c # timeout=10 05:27:46 > git remote # timeout=10 05:27:46 > git config --get remote.origin.url # timeout=10 05:27:46 using GIT_SSH to set credentials SSH Credentials for GitHub 05:27:46 Verifying host key using known hosts file 05:27:46 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. 05:27:46 > git merge 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df # timeout=10 05:27:46 Merge succeeded, producing 624544a05e8fa8c65c1d4e3398e527d8dc64c10c 05:27:46 Checking out Revision 624544a05e8fa8c65c1d4e3398e527d8dc64c10c (PR-1234) 05:27:46 > git rev-parse HEAD^{commit} # timeout=10 05:27:46 > git config core.sparsecheckout # timeout=10 05:27:46 > git checkout -f 624544a05e8fa8c65c1d4e3398e527d8dc64c10c # timeout=10 05:27:47 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:27:49 Commit message: "fix: return BaseResponse in set command response envelope" 05:27:49 > git --version # timeout=10 05:27:49 > git --version # 'git version 2.25.1' 05:27:49 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:27:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:27:50 % Total % Received % Xferd Average Speed Time Time Time Current 05:27:50 Dload Upload Total Spent Left Speed 05:27:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97689 0 --:--:-- --:--:-- --:--:-- 97689 [Pipeline] sh 05:27:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:27:51 Removing intermediate container d88cd3e378ce 05:27:51 ---> 8c3fdd1520fd 05:27:51 Step 12/25 : FROM alpine:3.16 05:27:51 3.16: Pulling from library/alpine 05:27:51 213ec9aee27d: Already exists 05:27:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:27:52 + sudo tee /etc/docker/daemon.new 05:27:52 { 05:27:52 "registry-mirrors": [ 05:27:52 "https://nexus3.edgexfoundry.org:10001" 05:27:52 ], 05:27:52 "bip": "10.250.0.254/24", 05:27:52 "hosts": [ 05:27:52 "tcp://0.0.0.0:5555", 05:27:52 "unix:///var/run/docker.sock" 05:27:52 ], 05:27:52 "mtu": 1458, 05:27:52 "selinux-enabled": true, 05:27:52 "seccomp-profile": "/etc/docker/seccomp.json" 05:27:52 } [Pipeline] sh 05:27:52 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:27:52 Status: Downloaded newer image for alpine:3.16 05:27:52 ---> 9c6f07244728 05:27:52 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:27:52 ---> Running in 75e4d8b0e3af 05:27:52 Removing intermediate container 75e4d8b0e3af 05:27:52 ---> 18953ee94555 05:27:52 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:27:52 ---> Running in 530b0b686156 05:27:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:27:52 + sudo service docker restart 05:27:52 Removing intermediate container 530b0b686156 05:27:52 ---> 22c77d91b959 05:27:52 Step 15/25 : RUN apk add --update --no-cache zeromq 05:27:52 ---> Running in c453d0d504d1 05:27:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:27:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:27:54 (1/5) Installing libgcc (11.2.1_git20220219-r2) 05:27:54 (2/5) Installing libsodium (1.0.18-r0) 05:27:54 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 05:27:54 (4/5) Installing libzmq (4.3.4-r0) 05:27:54 (5/5) Installing zeromq (4.3.4-r0) 05:27:54 Executing busybox-1.35.0-r17.trigger 05:27:54 OK: 8 MiB in 19 packages 05:27:54 Removing intermediate container c453d0d504d1 05:27:54 ---> b0b58ae97176 05:27:54 Step 16/25 : WORKDIR / 05:27:55 ---> Running in e25a561e3041 05:27:55 Removing intermediate container e25a561e3041 05:27:55 ---> 56412b057bac 05:27:55 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:27:55 ---> 54d54b48c250 05:27:55 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:27:56 ---> 30b0ffc7c5e6 05:27:56 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:27:56 ---> 27f9b124b976 05:27:56 Step 20/25 : EXPOSE 59999 05:27:56 ---> Running in b90572ff0c69 05:27:56 Removing intermediate container b90572ff0c69 05:27:56 ---> a83b5a3894c1 05:27:56 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:27:56 ---> Running in d3c1d1fd02de 05:27:56 Removing intermediate container d3c1d1fd02de 05:27:56 ---> 5781a6f8e3af 05:27:56 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:27:56 ---> Running in a7a5fd424c1b 05:27:56 Removing intermediate container a7a5fd424c1b 05:27:56 ---> c18f717bf4ec 05:27:56 Step 23/25 : LABEL arch=amd64 05:27:56 ---> Running in c1ac4e7ef43b 05:27:56 Removing intermediate container c1ac4e7ef43b 05:27:56 ---> f469c03e5fce 05:27:56 Step 24/25 : LABEL git_sha=624544a05e8fa8c65c1d4e3398e527d8dc64c10c 05:27:56 ---> Running in 3b399c79de71 05:27:56 Removing intermediate container 3b399c79de71 05:27:56 ---> 0b905091f7bf 05:27:56 Step 25/25 : LABEL version=0.0.0 05:27:56 ---> Running in bc1b57068029 05:27:56 Removing intermediate container bc1b57068029 05:27:56 ---> 5bacff42c30b 05:27:56 [Warning] One or more build-args [ARCH] were not consumed 05:27:56 Successfully built 5bacff42c30b 05:27:56 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 05:27:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:27:57 05:27:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:27:57 latest: Pulling from edgex-lftools-log-publisher 05:27:57 5eb5b503b376: Pulling fs layer 05:27:57 5c69ac0246d0: Pulling fs layer 05:27:57 ec43610c2a17: Pulling fs layer 05:27:57 3a2ae6a8a46f: Pulling fs layer 05:27:57 33b1e0a273af: Pulling fs layer 05:27:57 5d3b04190fa2: Pulling fs layer 05:27:57 2f39f015ded8: Pulling fs layer 05:27:57 3a2ae6a8a46f: Waiting 05:27:57 33b1e0a273af: Waiting 05:27:57 5d3b04190fa2: Waiting 05:27:57 2f39f015ded8: Waiting 05:27:57 5c69ac0246d0: Verifying Checksum 05:27:57 5c69ac0246d0: Download complete 05:27:57 3a2ae6a8a46f: Verifying Checksum 05:27:57 3a2ae6a8a46f: Download complete 05:27:57 33b1e0a273af: Download complete 05:27:58 5d3b04190fa2: Verifying Checksum 05:27:58 5d3b04190fa2: Download complete 05:27:58 ec43610c2a17: Verifying Checksum 05:27:58 ec43610c2a17: Download complete 05:27:58 5eb5b503b376: Verifying Checksum 05:27:58 5eb5b503b376: Download complete 05:27:58 2f39f015ded8: Download complete 05:27:59 5eb5b503b376: Pull complete 05:27:59 5c69ac0246d0: Pull complete 05:28:00 ec43610c2a17: Pull complete 05:28:00 3a2ae6a8a46f: Pull complete 05:28:00 33b1e0a273af: Pull complete 05:28:00 5d3b04190fa2: Pull complete 05:28:05 2f39f015ded8: Pull complete 05:28:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:28:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:28:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:06 prd-ubuntu20.04-docker-8c-8g-7731 does not seem to be running inside a container 05:28:06 $ 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-1234 -v /w/workspace/gexfoundry_device-sdk-go_PR-1234:/w/workspace/gexfoundry_device-sdk-go_PR-1234:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:28:10 $ docker top cbec61ec23bb041c8bf4c55c143986928496ba948e7804191373e6cc78cc0a82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:10 ---> job-cost.sh 05:28:10 lf-activate-venv: SKIPPING 05:28:10 INFO: No Stack... 05:28:11 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:11 provisioning config files... 05:28:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12755102270322521567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:11 INFO: Archiving Costs [Pipeline] sh 05:28:11 ---> docker-login.sh 05:28:11 nexus3.edgexfoundry.org:10001 05:28:11 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives/cost.csv 05:28:11 + cut -d, -f6 [Pipeline] lock 05:28:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] 05:28:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] did not exist. Created. 05:28:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:28:12 + echo total: 0.2199999988079071 [Pipeline] stash 05:28:12 Stashed 1 file(s) [Pipeline] } 05:28:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:12 Configure a credential helper to remove this warning. See 05:28:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:12 05:28:12 Login Succeeded 05:28:12 nexus3.edgexfoundry.org:10002 05:28:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:28:12 $ docker stop --time=1 cbec61ec23bb041c8bf4c55c143986928496ba948e7804191373e6cc78cc0a82 05:28:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:12 Configure a credential helper to remove this warning. See 05:28:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:12 05:28:12 Login Succeeded 05:28:12 nexus3.edgexfoundry.org:10003 05:28:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:12 Configure a credential helper to remove this warning. See 05:28:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:12 05:28:12 Login Succeeded 05:28:12 nexus3.edgexfoundry.org:10004 05:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:13 Configure a credential helper to remove this warning. See 05:28:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:13 05:28:13 Login Succeeded 05:28:13 docker.io 05:28:13 $ docker rm -f cbec61ec23bb041c8bf4c55c143986928496ba948e7804191373e6cc78cc0a82 05:28:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:28:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:14 Configure a credential helper to remove this warning. See 05:28:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:14 05:28:14 Login Succeeded 05:28:14 ---> docker-login.sh ends [Pipeline] } 05:28:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:28:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:28:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:28:14 ========================================================= 05:28:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:28:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:14 + 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 . 05:28:15 Sending build context to Docker daemon 5.382MB 05:28:15 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 05:28:15 Step 2/11 : FROM ${BASE} AS builder 05:28:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:28:15 9b18e9b68314: Pulling fs layer 05:28:15 d32db5db7311: Pulling fs layer 05:28:15 d0c4b47475fc: Pulling fs layer 05:28:15 5831b945b038: Pulling fs layer 05:28:15 86bbec2aaacd: Pulling fs layer 05:28:15 e10730c5d714: Pulling fs layer 05:28:15 5dd5c2283517: Pulling fs layer 05:28:15 d5ac0230b979: Pulling fs layer 05:28:15 5831b945b038: Waiting 05:28:15 86bbec2aaacd: Waiting 05:28:15 e10730c5d714: Waiting 05:28:15 5dd5c2283517: Waiting 05:28:15 d5ac0230b979: Waiting 05:28:15 d0c4b47475fc: Download complete 05:28:15 d32db5db7311: Verifying Checksum 05:28:15 d32db5db7311: Download complete 05:28:15 86bbec2aaacd: Verifying Checksum 05:28:15 86bbec2aaacd: Download complete 05:28:15 e10730c5d714: Verifying Checksum 05:28:15 e10730c5d714: Download complete 05:28:15 9b18e9b68314: Verifying Checksum 05:28:16 9b18e9b68314: Pull complete 05:28:16 d5ac0230b979: Verifying Checksum 05:28:16 d5ac0230b979: Download complete 05:28:17 d32db5db7311: Pull complete 05:28:17 d0c4b47475fc: Pull complete 05:28:17 5dd5c2283517: Verifying Checksum 05:28:17 5dd5c2283517: Download complete 05:28:18 5831b945b038: Verifying Checksum 05:28:18 5831b945b038: Download complete 05:28:30 5831b945b038: Pull complete 05:28:30 86bbec2aaacd: Pull complete 05:28:30 e10730c5d714: Pull complete 05:28:37 5dd5c2283517: Pull complete 05:28:38 d5ac0230b979: Pull complete 05:28:38 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 05:28:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:28:38 ---> 59b3b1a385d4 05:28:38 Step 3/11 : ARG MAKE=make build 05:28:40 ---> Running in 0a4bfdc445d8 05:28:40 Removing intermediate container 0a4bfdc445d8 05:28:40 ---> 8bd25dad75d9 05:28:40 Step 4/11 : WORKDIR /device-sdk-go 05:28:40 ---> Running in 2b4b2c545518 05:28:41 Removing intermediate container 2b4b2c545518 05:28:41 ---> de70c3907d24 05:28:41 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:28:41 ---> Running in 8cee2f2b7797 05:28:41 Removing intermediate container 8cee2f2b7797 05:28:41 ---> c5bc807f7bbc 05:28:41 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:28:41 ---> Running in 0575c3269afe 05:28:43 Removing intermediate container 0575c3269afe 05:28:43 ---> c2b56c56394c 05:28:43 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:28:43 ---> Running in abc0d18f5039 05:28:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:28:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:28:46 OK: 221 MiB in 51 packages 05:28:47 Removing intermediate container abc0d18f5039 05:28:47 ---> fbb7b4585090 05:28:47 Step 8/11 : COPY go.mod vendor* ./ 05:28:47 ---> 571d431fb4c6 05:28:47 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:28:47 ---> Running in fdf18e4004fc 05:29:34 Removing intermediate container fdf18e4004fc 05:29:34 ---> 0b7c89a1bfad 05:29:34 Step 10/11 : COPY . . 05:29:34 ---> 1976d2c472fa 05:29:34 Step 11/11 : RUN ${MAKE} 05:29:34 ---> Running in cc06fa1432e1 05:29:34 noop 05:29:35 Removing intermediate container cc06fa1432e1 05:29:35 ---> 4de98bed0082 05:29:35 Successfully built 4de98bed0082 05:29:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:35 + docker inspect -f . ci-base-image-arm64 05:29:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:35 prd-ubuntu20.04-docker-arm64-4c-16g-7732 does not seem to be running inside a container 05:29:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:29:36 $ docker top f27d46cf00cda10670ef53645a4a4c25bae06e7156f17130c7ab0b534f7dbf75 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:37 + go version 05:29:37 go version go1.18.7 linux/arm64 [Pipeline] } 05:29:37 $ docker stop --time=1 f27d46cf00cda10670ef53645a4a4c25bae06e7156f17130c7ab0b534f7dbf75 05:29:39 $ docker rm -f f27d46cf00cda10670ef53645a4a4c25bae06e7156f17130c7ab0b534f7dbf75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:40 + docker inspect -f . ci-base-image-arm64 05:29:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:40 prd-ubuntu20.04-docker-arm64-4c-16g-7732 does not seem to be running inside a container 05:29:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:29:41 $ docker top bc1e984bed67ae69bdb068339014a1412e7641c3fd03f0203c783462d638abb5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:42 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 05:29:42 + make test 05:29:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:30:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:32:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:32:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:32:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:32:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:32:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:32:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.357s coverage: 27.6% of statements 05:32:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.450s coverage: 78.9% of statements 05:32:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 05:32:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.466s coverage: 60.0% of statements 05:32:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:32:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:32:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.948s coverage: 54.4% of statements 05:32:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:32:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 05:32:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:32:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:32:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.492s coverage: 65.1% of statements 05:32:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 05:32:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 05:32:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.759s coverage: 89.2% of statements 05:32:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:32:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.243s coverage: 4.7% of statements 05:32:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:32:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:32:20 GO111MODULE=on go vet ./... 05:33:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:33:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:33:57 ./bin/test-attribution-txt.sh 05:33:57 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 05:33:57 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:33:57 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:33:57 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:33:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:33:57 $ docker stop --time=1 bc1e984bed67ae69bdb068339014a1412e7641c3fd03f0203c783462d638abb5 05:33:59 $ docker rm -f bc1e984bed67ae69bdb068339014a1412e7641c3fd03f0203c783462d638abb5 [Pipeline] // withDockerContainer [Pipeline] sh 05:34:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:34:00 Warning: overwriting stash ‘coverage-report’ 05:34:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:34:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:34:02 + ls -al . 05:34:02 total 272 05:34:02 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 05:29 . 05:34:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:27 .. 05:34:02 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 05:27 .dockerignore 05:34:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 05:27 .git 05:34:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:27 .github 05:34:02 -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 05:27 .gitignore 05:34:02 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 05:27 .golangci.yml 05:34:02 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 12 05:27 CHANGELOG.md 05:34:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 05:27 GOVERNANCE.md 05:34:02 -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 05:27 Jenkinsfile 05:34:02 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 05:27 LICENSE 05:34:02 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 12 05:27 Makefile 05:34:02 -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 05:27 OWNERS.md 05:34:02 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 12 05:27 README.md 05:34:02 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 05:25 VERSION 05:34:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 05:27 bin 05:34:02 -rw-r--r-- 1 jenkins jenkins 101009 Oct 12 05:32 coverage.out 05:34:02 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 05:27 example 05:34:02 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 12 05:27 go.mod 05:34:02 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 12 05:27 go.sum 05:34:02 drwxrwxr-x 14 jenkins jenkins 4096 Oct 12 05:27 internal 05:34:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 05:27 openapi 05:34:02 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 05:27 pkg 05:34:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 05:27 snap 05:34:02 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:02 + 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=624544a05e8fa8c65c1d4e3398e527d8dc64c10c --label arch=arm64 --label version=0.0.0 . 05:34:03 Sending build context to Docker daemon 5.484MB 05:34:03 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:34:03 Step 2/25 : FROM ${BASE} AS builder 05:34:03 ---> 4de98bed0082 05:34:03 Step 3/25 : ARG MAKE=make build 05:34:03 ---> Running in d854988c0149 05:34:04 Removing intermediate container d854988c0149 05:34:04 ---> 63b8c3bf7cbc 05:34:04 Step 4/25 : WORKDIR /device-sdk-go 05:34:04 ---> Running in ec8236166c15 05:34:05 Removing intermediate container ec8236166c15 05:34:05 ---> 4af76e9f0de1 05:34:05 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:34:05 ---> Running in d34c3168a5c9 05:34:05 Removing intermediate container d34c3168a5c9 05:34:05 ---> 4516a431e153 05:34:05 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:34:05 ---> Running in 9df669bb703f 05:34:07 Removing intermediate container 9df669bb703f 05:34:07 ---> e1b120dac3ce 05:34:07 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:34:07 ---> Running in bb17cc3ebac2 05:34:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:34:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:34:09 OK: 221 MiB in 51 packages 05:34:10 Removing intermediate container bb17cc3ebac2 05:34:10 ---> ff0bdef1b227 05:34:10 Step 8/25 : COPY go.mod vendor* ./ 05:34:11 ---> 04ea108e2381 05:34:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:34:11 ---> Running in f3776cef4f77 05:34:13 Removing intermediate container f3776cef4f77 05:34:13 ---> 0188fe107070 05:34:13 Step 10/25 : COPY . . 05:34:14 ---> 5b7348979edc 05:34:14 Step 11/25 : RUN ${MAKE} 05:34:14 ---> Running in eb7af2ca210b 05:34:14 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 05:36:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:36:21 Removing intermediate container eb7af2ca210b 05:36:21 ---> 28ebd324891f 05:36:21 Step 12/25 : FROM alpine:3.16 05:36:21 3.16: Pulling from library/alpine 05:36:21 9b18e9b68314: Already exists 05:36:21 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:36:21 Status: Downloaded newer image for alpine:3.16 05:36:21 ---> a6215f271958 05:36:21 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:36:21 ---> Running in ea6b34ec40d6 05:36:21 Removing intermediate container ea6b34ec40d6 05:36:21 ---> c39bd2db7474 05:36:21 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:36:21 ---> Running in 78e829f364a1 05:36:23 Removing intermediate container 78e829f364a1 05:36:23 ---> 5ece130ddd80 05:36:23 Step 15/25 : RUN apk add --update --no-cache zeromq 05:36:23 ---> Running in 970f352adf06 05:36:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:36:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:36:26 (1/5) Installing libgcc (11.2.1_git20220219-r2) 05:36:26 (2/5) Installing libsodium (1.0.18-r0) 05:36:26 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 05:36:26 (4/5) Installing libzmq (4.3.4-r0) 05:36:26 (5/5) Installing zeromq (4.3.4-r0) 05:36:26 Executing busybox-1.35.0-r17.trigger 05:36:27 OK: 8 MiB in 19 packages 05:36:28 Removing intermediate container 970f352adf06 05:36:28 ---> ee7280c84777 05:36:28 Step 16/25 : WORKDIR / 05:36:28 ---> Running in c42f16fce234 05:36:28 Removing intermediate container c42f16fce234 05:36:28 ---> 71e6f738d272 05:36:28 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:36:28 ---> ca993d5b4db7 05:36:28 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:36:29 ---> c3d4714b085b 05:36:29 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:36:30 ---> 853622c9d179 05:36:30 Step 20/25 : EXPOSE 59999 05:36:30 ---> Running in 317e6acc27d2 05:36:30 Removing intermediate container 317e6acc27d2 05:36:30 ---> 0fbaa5e47a87 05:36:30 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:36:30 ---> Running in 46b8249fe6b1 05:36:31 Removing intermediate container 46b8249fe6b1 05:36:31 ---> 58d78c649ac2 05:36:31 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:36:31 ---> Running in 79b4dcb1efb9 05:36:31 Removing intermediate container 79b4dcb1efb9 05:36:31 ---> 5d505ee6e5de 05:36:31 Step 23/25 : LABEL arch=arm64 05:36:31 ---> Running in e0b16758b74e 05:36:31 Removing intermediate container e0b16758b74e 05:36:31 ---> 61622e541d79 05:36:31 Step 24/25 : LABEL git_sha=624544a05e8fa8c65c1d4e3398e527d8dc64c10c 05:36:31 ---> Running in 23c10f4c3726 05:36:32 Removing intermediate container 23c10f4c3726 05:36:32 ---> 7841134d341a 05:36:32 Step 25/25 : LABEL version=0.0.0 05:36:32 ---> Running in 06a0ebec3ab7 05:36:32 Removing intermediate container 06a0ebec3ab7 05:36:32 ---> 7888de9e883b 05:36:32 [Warning] One or more build-args [ARCH] were not consumed 05:36:32 Successfully built 7888de9e883b 05:36:32 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 05:36:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:33 05:36:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:33 arm64: Pulling from edgex-lftools-log-publisher 05:36:33 8998bd30e6a1: Pulling fs layer 05:36:33 04944245beec: Pulling fs layer 05:36:33 699f458cf7ca: Pulling fs layer 05:36:33 765212b225bb: Pulling fs layer 05:36:33 f23df028b6ca: Pulling fs layer 05:36:33 d65c8cfc05b1: Pulling fs layer 05:36:33 2437ff75d9bd: Pulling fs layer 05:36:33 765212b225bb: Waiting 05:36:33 f23df028b6ca: Waiting 05:36:33 d65c8cfc05b1: Waiting 05:36:33 2437ff75d9bd: Waiting 05:36:34 04944245beec: Verifying Checksum 05:36:34 04944245beec: Download complete 05:36:34 765212b225bb: Verifying Checksum 05:36:34 765212b225bb: Download complete 05:36:34 f23df028b6ca: Verifying Checksum 05:36:34 f23df028b6ca: Download complete 05:36:34 d65c8cfc05b1: Verifying Checksum 05:36:34 d65c8cfc05b1: Download complete 05:36:34 699f458cf7ca: Verifying Checksum 05:36:34 699f458cf7ca: Download complete 05:36:34 8998bd30e6a1: Verifying Checksum 05:36:34 8998bd30e6a1: Download complete 05:36:36 2437ff75d9bd: Verifying Checksum 05:36:36 2437ff75d9bd: Download complete 05:36:38 8998bd30e6a1: Pull complete 05:36:38 04944245beec: Pull complete 05:36:40 699f458cf7ca: Pull complete 05:36:40 765212b225bb: Pull complete 05:36:41 f23df028b6ca: Pull complete 05:36:41 d65c8cfc05b1: Pull complete 05:36:56 2437ff75d9bd: Pull complete 05:36:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:36:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:36:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:56 prd-ubuntu20.04-docker-arm64-4c-16g-7732 does not seem to be running inside a container 05:36:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:36:59 $ docker top 63417c41b596d926414077c8f81e9bf96ea530d772faf03a9838afc2cdce37c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:59 ---> job-cost.sh 05:37:00 lf-activate-venv: SKIPPING 05:37:00 INFO: No Stack... 05:37:00 INFO: Retrieving Pricing Info for: v3-standard-4 05:37:01 INFO: Archiving Costs [Pipeline] sh 05:37:01 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:37:01 + cut -d, -f6 [Pipeline] lock 05:37:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] 05:37:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] did not exist. Created. 05:37:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:37:02 /w/workspace/device-sdk-go/1@tmp/durable-a1faa416/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:37:03 + echo total: 0.10999999940395355 [Pipeline] stash 05:37:03 Warning: overwriting stash ‘stack-cost’ 05:37:03 Stashed 1 file(s) [Pipeline] } 05:37:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1234-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:37:03 $ docker stop --time=1 63417c41b596d926414077c8f81e9bf96ea530d772faf03a9838afc2cdce37c3 05:37:04 $ docker rm -f 63417c41b596d926414077c8f81e9bf96ea530d772faf03a9838afc2cdce37c3 [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 05:37:05 provisioning config files... 05:37:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/config3871052917351804271tmp [Pipeline] { [Pipeline] sh 05:37:06 + set +x 05:37:06 + curl -s https://codecov.io/bash 05:37:06 + bash -s -- 05:37:06 05:37:06 _____ _ 05:37:06 / ____| | | 05:37:06 | | ___ __| | ___ ___ _____ __ 05:37:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:37:06 | |___| (_) | (_| | __/ (_| (_) \ V / 05:37:06 \_____\___/ \__,_|\___|\___\___/ \_/ 05:37:06 Bash-1.0.6 05:37:06 05:37:06 05:37:06 ==> git version 2.25.1 found 05:37:06 ==> 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 05:37:06 Release-Date: 2020-01-08 05:37:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:37:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:37:06 ==> Jenkins CI detected. 05:37:06 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1234 05:37:06 project root: . 05:37:06 --> token set from env 05:37:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:37:06 ==> Running gcov in . (disable via -X gcov) 05:37:06 ==> Python coveragepy not found 05:37:06 ==> Searching for coverage reports in: 05:37:06 + . 05:37:06 -> Found 1 reports 05:37:06 ==> Detecting git/mercurial file structure 05:37:06 ==> Reading reports 05:37:06 + ./coverage.out bytes=101009 05:37:06 ==> Appending adjustments 05:37:06 https://docs.codecov.io/docs/fixing-reports 05:37:06 + Found adjustments 05:37:06 ==> Gzipping contents 05:37:06 16K /tmp/codecov.xlztAM.gz 05:37:06 ==> Uploading reports 05:37:06 url: https://codecov.io 05:37:06 query: branch=PR-1234&commit=624544a05e8fa8c65c1d4e3398e527d8dc64c10c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1234&job=&cmd_args= 05:37:06 -> Pinging Codecov 05:37:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1234&commit=624544a05e8fa8c65c1d4e3398e527d8dc64c10c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1234%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1234&job=&cmd_args= 05:37:07 -> Uploading to 05:37:07 https://storage.googleapis.com/codecov/v4/raw/2022-10-12/7E55EF52A471D76F132DFD9A03CDDE97/624544a05e8fa8c65c1d4e3398e527d8dc64c10c/f11244c8-c05f-4864-92e7-8335dc5e36b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T053706Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b677b7ee96f459ae9ec0b833de91c2e599c408873e396dc2e4777c63183340be 05:37:07 % Total % Received % Xferd Average Speed Time Time Time Current 05:37:07 Dload Upload Total Spent Left Speed 05:37:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14602 0 0 100 14602 0 61611 --:--:-- --:--:-- --:--:-- 61611 05:37:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/624544a05e8fa8c65c1d4e3398e527d8dc64c10c [Pipeline] } 05:37:07 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 05:37:09 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives ] 05:37:09 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives 05:37:09 total 16 05:37:09 drwxr-xr-x 3 root root 4096 Oct 12 05:28 . 05:37:09 drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 05:28 .. 05:37:09 drwxr-xr-x 2 root root 4096 Oct 12 05:28 cost 05:37:09 -rw-r--r-- 1 root root 86 Oct 12 05:28 cost.csv 05:37:09 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives 05:37:09 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives 05:37:09 total 16 05:37:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 05:28 . 05:37:09 drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 05:28 .. 05:37:09 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 05:28 cost 05:37:09 -rw-r--r-- 1 jenkins jenkins 86 Oct 12 05:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:37:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:37:10 ---> package-listing.sh 05:37:10 ++ tr '[:upper:]' '[:lower:]' 05:37:10 ++ facter osfamily 05:37:10 + OS_FAMILY=debian 05:37:10 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1234 05:37:10 + START_PACKAGES=/tmp/packages_start.txt 05:37:10 + END_PACKAGES=/tmp/packages_end.txt 05:37:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:37:10 + PACKAGES=/tmp/packages_start.txt 05:37:10 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1234 ']' 05:37:10 + PACKAGES=/tmp/packages_end.txt 05:37:10 + case "${OS_FAMILY}" in 05:37:10 + dpkg -l 05:37:10 + grep '^ii' 05:37:10 + '[' -f /tmp/packages_start.txt ']' 05:37:10 + '[' -f /tmp/packages_end.txt ']' 05:37:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:37:10 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1234 ']' 05:37:10 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives/ 05:37:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1234/archives/ [Pipeline] echo 05:37:10 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-1234/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:37:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:37:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:11 prd-ubuntu20.04-docker-8c-8g-7731 does not seem to be running inside a container 05:37:11 $ 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-1234/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-1234 -v /w/workspace/gexfoundry_device-sdk-go_PR-1234:/w/workspace/gexfoundry_device-sdk-go_PR-1234:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:37:11 $ docker top 182b1f7136e1c32dba738c880bbe4bdeec848336e8d9d591bed8ee9dad024636 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:12 + touch /tmp/pre-build-complete [Pipeline] sh 05:37:12 + mkdir -p /var/log/sysstat [Pipeline] sh 05:37:12 + ls /var/log/sa-host 05:37:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:37:13 provisioning config files... 05:37:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1234@tmp/config18012240238916094262tmp [Pipeline] { [Pipeline] echo 05:37:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:37:13 ---> create-netrc.sh [Pipeline] } 05:37:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:37:13 ---> python-tools-install.sh [Pipeline] echo 05:37:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:37:14 ---> sudo-logs.sh 05:37:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:37:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:37:14 ---> job-cost.sh 05:37:14 lf-activate-venv: SKIPPING 05:37:14 DEBUG: total: 0.2199999988079071 05:37:14 INFO: Retrieving Stack Cost... 05:37:15 INFO: Retrieving Pricing Info for: v3-standard-8 05:37:15 INFO: Archiving Costs [Pipeline] echo 05:37:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:37:15 ---> logs-deploy.sh 05:37:15 lf-activate-venv: SKIPPING 05:37:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1234/1 05:37:15 INFO: archiving workspace using pattern(s): 05:37:16 Archives upload complete. 05:37:16 INFO: archiving logs to Nexus