Pull request #1258 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a81fe95d70c4864c7c3b07bc307e4797ff811bbc+b76771b07adf0b8c2e38dd8a749adeac8b55b549 (2f9ae0ad8c6f62db2ad58ed89f94732cf1cee349) 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-ssh3411627747866224921.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5647066915089205238.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1258/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-1258/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16149503642563918643.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-1258/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9635760913542047546.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12945289983390268317.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-1258/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-1258/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6884906329180796848.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118531 in /w/workspace/gexfoundry_device-sdk-go_PR-1258 [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-1258 # 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/1258/head:refs/remotes/origin/PR-1258 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b76771b07adf0b8c2e38dd8a749adeac8b55b549 into PR head commit a81fe95d70c4864c7c3b07bc307e4797ff811bbc Merge succeeded, producing a81fe95d70c4864c7c3b07bc307e4797ff811bbc Checking out Revision a81fe95d70c4864c7c3b07bc307e4797ff811bbc (PR-1258) Commit message: "ci: automated version changes for OpenAPI version: [2.4.0]" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:55:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f a81fe95d70c4864c7c3b07bc307e4797ff811bbc # 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 b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a81fe95d70c4864c7c3b07bc307e4797ff811bbc # timeout=10 [Pipeline] withCredentials 22:55:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:55:29 ========================================================= 22:55:29 EdgeX Global Pipelines Version Info 22:55:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:55:30 ------------------- 22:55:30 stable info: 22:55:30 ------------------- 22:55:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:55:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:55:30 Message: update stable to v1.0.244 22:55:30 ------------------- 22:55:30 experimental info: 22:55:30 ------------------- 22:55:30 Commited By: **** collab-it+edgex@linuxfoundation.org 22:55:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:55:30 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:55:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:55:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1258 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1258 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1258 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a81fe95 [Pipeline] echo 22:55:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:32 provisioning config files... 22:55:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/config11231742782777657872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:32 ---> docker-login.sh 22:55:32 nexus3.edgexfoundry.org:10001 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 nexus3.edgexfoundry.org:10002 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 nexus3.edgexfoundry.org:10003 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 nexus3.edgexfoundry.org:10004 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 docker.io 22:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:34 Configure a credential helper to remove this warning. See 22:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:34 22:55:34 Login Succeeded 22:55:34 ---> docker-login.sh ends [Pipeline] } 22:55:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:55:34 + git rev-list -1 --merges a81fe95d70c4864c7c3b07bc307e4797ff811bbc~1..a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo 22:55:34 -----------> git rev-list -1 --merges a81fe95d70c4864c7c3b07bc307e4797ff811bbc~1..a81fe95d70c4864c7c3b07bc307e4797ff811bbc a81fe95d70c4864c7c3b07bc307e4797ff811bbc [false] [Pipeline] sh 22:55:34 + git log --format=format:%s -1 a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo 22:55:35 ========================================================= 22:55:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:55:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:55:35 + git log --format=format:%s -1 a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo 22:55:35 [semverPrep] GIT_COMMIT: a81fe95d70c4864c7c3b07bc307e4797ff811bbc, Commit Message: ci: automated version changes for OpenAPI version: [2.4.0] [Pipeline] echo 22:55:35 [semverPrep] This is not a build commit. [Pipeline] sh 22:55:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:55:35 + grep -v github /etc/ssh/ssh_known_hosts 22:55:35 + [ -e /tmp/ssh_known_hosts ] 22:55:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:55:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:55:35 + sudo tee -a /etc/ssh/ssh_known_hosts 22:55:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:55:36 22:55:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:55:36 0.1.4: Pulling from edgex-devops/py-git-semver 22:55:36 b85a868b505f: Pulling fs layer 22:55:36 e2be974225ed: Pulling fs layer 22:55:36 339a4e72a1f5: Pulling fs layer 22:55:36 988bab9f4d93: Pulling fs layer 22:55:36 1469e6f7b9e6: Pulling fs layer 22:55:36 eaf3925da568: Pulling fs layer 22:55:36 bab4dde63d76: Pulling fs layer 22:55:36 bde34c3a00c8: Pulling fs layer 22:55:36 b352a97aabf1: Pulling fs layer 22:55:36 4872d77fe225: Pulling fs layer 22:55:36 5851b861e8e6: Pulling fs layer 22:55:36 988bab9f4d93: Waiting 22:55:36 1469e6f7b9e6: Waiting 22:55:36 eaf3925da568: Waiting 22:55:36 bab4dde63d76: Waiting 22:55:36 bde34c3a00c8: Waiting 22:55:36 4872d77fe225: Waiting 22:55:36 5851b861e8e6: Waiting 22:55:36 b352a97aabf1: Waiting 22:55:36 e2be974225ed: Verifying Checksum 22:55:36 e2be974225ed: Download complete 22:55:36 988bab9f4d93: Verifying Checksum 22:55:36 988bab9f4d93: Download complete 22:55:36 1469e6f7b9e6: Verifying Checksum 22:55:36 1469e6f7b9e6: Download complete 22:55:36 eaf3925da568: Verifying Checksum 22:55:36 eaf3925da568: Download complete 22:55:36 339a4e72a1f5: Verifying Checksum 22:55:36 339a4e72a1f5: Download complete 22:55:36 bde34c3a00c8: Verifying Checksum 22:55:36 bde34c3a00c8: Download complete 22:55:36 b352a97aabf1: Verifying Checksum 22:55:36 b352a97aabf1: Download complete 22:55:36 4872d77fe225: Verifying Checksum 22:55:36 4872d77fe225: Download complete 22:55:36 5851b861e8e6: Verifying Checksum 22:55:36 5851b861e8e6: Download complete 22:55:36 b85a868b505f: Verifying Checksum 22:55:36 b85a868b505f: Download complete 22:55:37 bab4dde63d76: Verifying Checksum 22:55:37 bab4dde63d76: Download complete 22:55:38 b85a868b505f: Pull complete 22:55:38 e2be974225ed: Pull complete 22:55:38 339a4e72a1f5: Pull complete 22:55:38 988bab9f4d93: Pull complete 22:55:38 1469e6f7b9e6: Pull complete 22:55:38 eaf3925da568: Pull complete 22:55:40 bab4dde63d76: Pull complete 22:55:40 bde34c3a00c8: Pull complete 22:55:40 b352a97aabf1: Pull complete 22:55:40 4872d77fe225: Pull complete 22:55:40 5851b861e8e6: Pull complete 22:55:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:55:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:55:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:41 prd-ubuntu20.04-docker-8c-8g-118531 does not seem to be running inside a container 22:55:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1258 -v /w/workspace/gexfoundry_device-sdk-go_PR-1258:/w/workspace/gexfoundry_device-sdk-go_PR-1258:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:55:42 $ docker top 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f -eo pid,comm 22:55:42 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). 22:55:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:55:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:43 [ssh-agent] Looking for ssh-agent implementation... 22:55:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:43 $ docker exec 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f ssh-agent 22:55:43 SSH_AUTH_SOCK=/tmp/ssh-3i3rRwsaLMuj/agent.32 22:55:43 SSH_AGENT_PID=38 22:55:43 Running ssh-add (command line suppressed) 22:55:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/private_key_6009046767085130040.key (/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/private_key_6009046767085130040.key) 22:55:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:43 + git tag --points-at HEAD [Pipeline] } 22:55:43 $ docker exec --env ******** --env ******** 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f ssh-agent -k 22:55:43 unset SSH_AUTH_SOCK; 22:55:43 unset SSH_AGENT_PID; 22:55:43 echo Agent pid 38 killed; 22:55:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:55:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:44 [ssh-agent] Looking for ssh-agent implementation... 22:55:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:44 $ docker exec 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f ssh-agent 22:55:44 SSH_AUTH_SOCK=/tmp/ssh-TJvQHU6onqtB/agent.70 22:55:44 SSH_AGENT_PID=76 22:55:44 Running ssh-add (command line suppressed) 22:55:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/private_key_7443202238700537922.key (/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/private_key_7443202238700537922.key) 22:55:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:44 + git semver init 22:55:44 2022-11-07 22:55:44,874 [run_init] DEBUG init version:0.0.0 force:False 22:55:44 2022-11-07 22:55:44,875 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver 22:55:44 2022-11-07 22:55:44,875 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver 22:55:44 2022-11-07 22:55:44,876 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1258, universal_newlines=False, shell=None, istream=None) 22:55:45 2022-11-07 22:55:45,872 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258/.git/info/exclude 22:55:45 2022-11-07 22:55:45,873 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver/PR-1258 with force:False 22:55:45 2022-11-07 22:55:45,873 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver/PR-1258 22:55:45 2022-11-07 22:55:45,877 [execute] INFO git cat-file --batch-check 22:55:45 2022-11-07 22:55:45,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver, universal_newlines=False, shell=None, istream=) 22:55:45 2022-11-07 22:55:45,884 [execute] INFO git cat-file --batch 22:55:45 2022-11-07 22:55:45,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver, universal_newlines=False, shell=None, istream=) 22:55:45 2022-11-07 22:55:45,889 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1258/.semver/PR-1258 22:55:45 0.0.0 [Pipeline] } 22:55:46 $ docker exec --env ******** --env ******** 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f ssh-agent -k 22:55:46 unset SSH_AUTH_SOCK; 22:55:46 unset SSH_AGENT_PID; 22:55:46 echo Agent pid 76 killed; 22:55:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:55:46 + git semver [Pipeline] } 22:55:46 $ docker stop --time=1 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f 22:55:48 $ docker rm -f 357ba74736cb0b38235c5ddfb1fdfef215112c8330120830984eccdeeffcbe1f [Pipeline] // withDockerContainer [Pipeline] sh 22:55:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:55:48 Stashed 1 file(s) [Pipeline] echo 22:55:48 [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 22:55:49 provisioning config files... 22:55:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/config580586771811550375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:49 ---> docker-login.sh 22:55:49 nexus3.edgexfoundry.org:10001 22:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:49 Configure a credential helper to remove this warning. See 22:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:49 22:55:49 Login Succeeded 22:55:49 nexus3.edgexfoundry.org:10002 22:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:49 Configure a credential helper to remove this warning. See 22:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:49 22:55:49 Login Succeeded 22:55:49 nexus3.edgexfoundry.org:10003 22:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:50 Configure a credential helper to remove this warning. See 22:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:50 22:55:50 Login Succeeded 22:55:50 nexus3.edgexfoundry.org:10004 22:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:50 Configure a credential helper to remove this warning. See 22:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:50 22:55:50 Login Succeeded 22:55:50 docker.io 22:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:50 Configure a credential helper to remove this warning. See 22:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:50 22:55:50 Login Succeeded 22:55:50 ---> docker-login.sh ends [Pipeline] } 22:55:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:55:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:51 ========================================================= 22:55:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:55:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:51 + 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 . 22:55:51 Sending build context to Docker daemon 10.13MB 22:55:51 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:55:51 Step 2/10 : FROM ${BASE} AS builder 22:55:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:55:51 213ec9aee27d: Pulling fs layer 22:55:51 4583459ba037: Pulling fs layer 22:55:51 93c1e223e6f2: Pulling fs layer 22:55:51 53926ce57604: Pulling fs layer 22:55:51 21b2b0c7a3f4: Pulling fs layer 22:55:51 22ff95d597cd: Pulling fs layer 22:55:51 12d6caf4c0d1: Pulling fs layer 22:55:51 96b7cbca73a9: Pulling fs layer 22:55:51 a7acece74701: Pulling fs layer 22:55:51 53926ce57604: Waiting 22:55:51 21b2b0c7a3f4: Waiting 22:55:51 22ff95d597cd: Waiting 22:55:51 12d6caf4c0d1: Waiting 22:55:51 96b7cbca73a9: Waiting 22:55:51 a7acece74701: Waiting 22:55:51 93c1e223e6f2: Verifying Checksum 22:55:51 93c1e223e6f2: Download complete 22:55:51 4583459ba037: Verifying Checksum 22:55:51 4583459ba037: Download complete 22:55:51 21b2b0c7a3f4: Verifying Checksum 22:55:51 21b2b0c7a3f4: Download complete 22:55:51 22ff95d597cd: Verifying Checksum 22:55:51 22ff95d597cd: Download complete 22:55:51 213ec9aee27d: Download complete 22:55:52 12d6caf4c0d1: Download complete 22:55:52 213ec9aee27d: Pull complete 22:55:52 4583459ba037: Pull complete 22:55:52 93c1e223e6f2: Pull complete 22:55:52 a7acece74701: Verifying Checksum 22:55:52 a7acece74701: Download complete 22:55:52 96b7cbca73a9: Verifying Checksum 22:55:52 96b7cbca73a9: Download complete 22:55:52 53926ce57604: Verifying Checksum 22:55:52 53926ce57604: Download complete 22:55:56 53926ce57604: Pull complete 22:55:56 21b2b0c7a3f4: Pull complete 22:55:56 22ff95d597cd: Pull complete 22:55:56 12d6caf4c0d1: Pull complete 22:55:58 96b7cbca73a9: Pull complete 22:55:59 a7acece74701: Pull complete 22:55:59 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:55:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:55:59 ---> db6d94c90886 22:55:59 Step 3/10 : ARG MAKE=make build 22:56:00 ---> Running in a4da57bec164 22:56:01 Removing intermediate container a4da57bec164 22:56:01 ---> 62145f65e581 22:56:01 Step 4/10 : WORKDIR /device-sdk-go 22:56:01 ---> Running in b9de2f480d0e 22:56:01 Removing intermediate container b9de2f480d0e 22:56:01 ---> 07f3a92cf225 22:56:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:56:01 ---> Running in 2bbc088b3976 22:56:01 Removing intermediate container 2bbc088b3976 22:56:01 ---> 9cf26239619d 22:56:01 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:56:01 ---> Running in e3b7ac57d3e3 22:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:56:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:56:02 OK: 211 MiB in 51 packages 22:56:02 Removing intermediate container e3b7ac57d3e3 22:56:02 ---> d9f8e391a784 22:56:02 Step 7/10 : COPY go.mod vendor* ./ 22:56:02 ---> 94af5b536a58 22:56:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:56:02 ---> Running in d8c7d2575f28 22:56:04 Still waiting to schedule task 22:56:04 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:56:20 Removing intermediate container d8c7d2575f28 22:56:20 ---> 72152aaba11f 22:56:20 Step 9/10 : COPY . . 22:56:20 ---> 7cc6a70a21bc 22:56:20 Step 10/10 : RUN ${MAKE} 22:56:20 ---> Running in 471bd98a14da 22:56:20 noop 22:56:20 Removing intermediate container 471bd98a14da 22:56:20 ---> 59458bff9b16 22:56:20 Successfully built 59458bff9b16 22:56:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:21 + docker inspect -f . ci-base-image-x86_64 22:56:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:21 prd-ubuntu20.04-docker-8c-8g-118531 does not seem to be running inside a container 22:56:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1258 -v /w/workspace/gexfoundry_device-sdk-go_PR-1258:/w/workspace/gexfoundry_device-sdk-go_PR-1258:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:56:21 $ docker top c5079ae02839b3b76d38bb1f0a7e9b1f182c45472592c18c68295f04c70fd829 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:22 + go version 22:56:22 go version go1.18.7 linux/amd64 [Pipeline] } 22:56:22 $ docker stop --time=1 c5079ae02839b3b76d38bb1f0a7e9b1f182c45472592c18c68295f04c70fd829 22:56:23 $ docker rm -f c5079ae02839b3b76d38bb1f0a7e9b1f182c45472592c18c68295f04c70fd829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:24 + docker inspect -f . ci-base-image-x86_64 22:56:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:24 prd-ubuntu20.04-docker-8c-8g-118531 does not seem to be running inside a container 22:56:24 $ 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-1258 -v /w/workspace/gexfoundry_device-sdk-go_PR-1258:/w/workspace/gexfoundry_device-sdk-go_PR-1258:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:56:24 $ docker top 927422a6a267cfa4589d1c4b2e39936db7b3e767d19adee648874cf0b5746c03 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1258 [Pipeline] fileExists [Pipeline] sh 22:56:25 + make test 22:56:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:56:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:56:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:56:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:56:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:56:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:56:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:56:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements 22:56:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.100s coverage: 78.9% of statements 22:56:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 22:56:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.122s coverage: 73.1% of statements 22:56:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:56:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:56:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.124s coverage: 54.4% of statements 22:56:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:56:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 22:56:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:56:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:56:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements 22:56:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:56:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:56:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.724s coverage: 89.2% of statements 22:56:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:56:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 22:56:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:56:59 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." 22:56:59 GO111MODULE=on go vet ./... 22:57:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:57:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:57:03 ./bin/test-attribution-txt.sh 22:57:03 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 22:57:03 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:57:03 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:57:03 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:57:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:57:03 $ docker stop --time=1 927422a6a267cfa4589d1c4b2e39936db7b3e767d19adee648874cf0b5746c03 22:57:05 $ docker rm -f 927422a6a267cfa4589d1c4b2e39936db7b3e767d19adee648874cf0b5746c03 [Pipeline] // withDockerContainer [Pipeline] sh 22:57:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:57:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:57:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:57:06 + ls -al . 22:57:06 total 280 22:57:06 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 22:56 . 22:57:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:55 .. 22:57:06 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 22:55 .dockerignore 22:57:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:56 .git 22:57:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:55 .github 22:57:06 -rw-rw-r-- 1 jenkins jenkins 131 Nov 7 22:55 .gitignore 22:57:06 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 22:55 .golangci.yml 22:57:06 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 22:55 .semver 22:57:06 -rw-rw-r-- 1 jenkins jenkins 31677 Nov 7 22:55 CHANGELOG.md 22:57:06 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 22:55 GOVERNANCE.md 22:57:06 -rw-rw-r-- 1 jenkins jenkins 880 Nov 7 22:55 Jenkinsfile 22:57:06 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 22:55 LICENSE 22:57:06 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 7 22:55 Makefile 22:57:06 -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 22:55 OWNERS.md 22:57:06 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 7 22:55 README.md 22:57:06 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 22:55 VERSION 22:57:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:55 bin 22:57:06 -rw-r--r-- 1 jenkins jenkins 101759 Nov 7 22:56 coverage.out 22:57:06 drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 22:55 example 22:57:06 -rw-rw-r-- 1 jenkins jenkins 3347 Nov 7 22:55 go.mod 22:57:06 -rw-rw-r-- 1 jenkins jenkins 44423 Nov 7 22:55 go.sum 22:57:06 drwxrwxr-x 14 jenkins jenkins 4096 Nov 7 22:55 internal 22:57:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:55 openapi 22:57:06 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 22:55 pkg 22:57:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:55 snap 22:57:06 -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 22:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:07 + 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=a81fe95d70c4864c7c3b07bc307e4797ff811bbc --label arch=amd64 --label version=0.0.0 . 22:57:07 Sending build context to Docker daemon 10.23MB 22:57:07 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 22:57:07 Step 2/23 : FROM ${BASE} AS builder 22:57:07 ---> 59458bff9b16 22:57:07 Step 3/23 : ARG MAKE=make build 22:57:07 ---> Running in fde4a82480ba 22:57:07 Removing intermediate container fde4a82480ba 22:57:07 ---> fe5fbaacfcef 22:57:07 Step 4/23 : WORKDIR /device-sdk-go 22:57:07 ---> Running in 8a0acf103738 22:57:07 Removing intermediate container 8a0acf103738 22:57:07 ---> 6d2b9a3683d5 22:57:07 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:57:07 ---> Running in 47507ad2b328 22:57:07 Removing intermediate container 47507ad2b328 22:57:07 ---> abf5634f8ebf 22:57:07 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:57:07 ---> Running in f94f1c23ec63 22:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:57:08 OK: 211 MiB in 51 packages 22:57:08 Removing intermediate container f94f1c23ec63 22:57:08 ---> 20f49e70499d 22:57:08 Step 7/23 : COPY go.mod vendor* ./ 22:57:08 ---> f584558411b2 22:57:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:57:08 ---> Running in c47726422ac9 22:57:09 Removing intermediate container c47726422ac9 22:57:09 ---> 08184e253abb 22:57:09 Step 9/23 : COPY . . 22:57:09 ---> 963bf612112b 22:57:09 Step 10/23 : RUN ${MAKE} 22:57:09 ---> Running in 6034ca480159 22:57:10 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 22:57:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:57:28 Removing intermediate container 6034ca480159 22:57:28 ---> 337fa7c03afb 22:57:28 Step 11/23 : FROM alpine:3.16 22:57:28 3.16: Pulling from library/alpine 22:57:28 213ec9aee27d: Already exists 22:57:28 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:57:28 Status: Downloaded newer image for alpine:3.16 22:57:28 ---> 9c6f07244728 22:57:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:57:28 ---> Running in 315d6c0c0bbb 22:57:28 Removing intermediate container 315d6c0c0bbb 22:57:28 ---> 34ce8f8c92e0 22:57:28 Step 13/23 : RUN apk add --update --no-cache zeromq 22:57:29 ---> Running in bf0a29c818f2 22:57:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:57:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:57:29 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:57:29 (2/5) Installing libsodium (1.0.18-r0) 22:57:29 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:57:29 (4/5) Installing libzmq (4.3.4-r0) 22:57:29 (5/5) Installing zeromq (4.3.4-r0) 22:57:29 Executing busybox-1.35.0-r17.trigger 22:57:29 OK: 8 MiB in 19 packages 22:57:30 Removing intermediate container bf0a29c818f2 22:57:30 ---> 70141b0caa9a 22:57:30 Step 14/23 : WORKDIR / 22:57:30 ---> Running in 8e24f56cc964 22:57:30 Removing intermediate container 8e24f56cc964 22:57:30 ---> 0a8512aa3e52 22:57:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:57:30 ---> 4ddb9fe0fbf9 22:57:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:57:30 ---> 56cb192722fa 22:57:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:57:30 ---> 95b9194f33e8 22:57:30 Step 18/23 : EXPOSE 59999 22:57:30 ---> Running in 5ed80e796b73 22:57:31 Removing intermediate container 5ed80e796b73 22:57:31 ---> 3c71f6fe4b92 22:57:31 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:57:31 ---> Running in 8af2fcc77e65 22:57:31 Removing intermediate container 8af2fcc77e65 22:57:31 ---> 5cef22774491 22:57:31 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:57:31 ---> Running in cf1bbd26edb6 22:57:31 Removing intermediate container cf1bbd26edb6 22:57:31 ---> 485d95401e05 22:57:31 Step 21/23 : LABEL arch=amd64 22:57:31 ---> Running in 7e64ef1aa63c 22:57:31 Removing intermediate container 7e64ef1aa63c 22:57:31 ---> 63c1c775ecb0 22:57:31 Step 22/23 : LABEL git_sha=a81fe95d70c4864c7c3b07bc307e4797ff811bbc 22:57:31 ---> Running in 106ab9e1d82d 22:57:31 Removing intermediate container 106ab9e1d82d 22:57:31 ---> 1be35cbf0fa4 22:57:31 Step 23/23 : LABEL version=0.0.0 22:57:31 ---> Running in 3971947305f9 22:57:31 Removing intermediate container 3971947305f9 22:57:31 ---> 8f51027b66cb 22:57:31 [Warning] One or more build-args [ARCH] were not consumed 22:57:31 Successfully built 8f51027b66cb 22:57:31 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 22:57:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:32 22:57:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:32 latest: Pulling from edgex-lftools-log-publisher 22:57:32 5eb5b503b376: Pulling fs layer 22:57:32 5c69ac0246d0: Pulling fs layer 22:57:32 ec43610c2a17: Pulling fs layer 22:57:32 3a2ae6a8a46f: Pulling fs layer 22:57:32 33b1e0a273af: Pulling fs layer 22:57:32 5d3b04190fa2: Pulling fs layer 22:57:32 2f39f015ded8: Pulling fs layer 22:57:32 33b1e0a273af: Waiting 22:57:32 5d3b04190fa2: Waiting 22:57:32 3a2ae6a8a46f: Waiting 22:57:32 2f39f015ded8: Waiting 22:57:32 5c69ac0246d0: Download complete 22:57:32 3a2ae6a8a46f: Download complete 22:57:32 33b1e0a273af: Verifying Checksum 22:57:32 33b1e0a273af: Download complete 22:57:32 5d3b04190fa2: Verifying Checksum 22:57:32 5d3b04190fa2: Download complete 22:57:33 ec43610c2a17: Verifying Checksum 22:57:33 ec43610c2a17: Download complete 22:57:33 5eb5b503b376: Verifying Checksum 22:57:33 5eb5b503b376: Download complete 22:57:33 2f39f015ded8: Download complete 22:57:34 5eb5b503b376: Pull complete 22:57:34 5c69ac0246d0: Pull complete 22:57:34 ec43610c2a17: Pull complete 22:57:34 3a2ae6a8a46f: Pull complete 22:57:34 33b1e0a273af: Pull complete 22:57:35 5d3b04190fa2: Pull complete 22:57:39 2f39f015ded8: Pull complete 22:57:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:57:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:57:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:39 prd-ubuntu20.04-docker-8c-8g-118531 does not seem to be running inside a container 22:57:39 $ 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-1258 -v /w/workspace/gexfoundry_device-sdk-go_PR-1258:/w/workspace/gexfoundry_device-sdk-go_PR-1258:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:57:40 $ docker top ba6d2ea80484a049b63631f63e972f1bcd0bd80fd5d2282ad19455a7b0b467db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:41 ---> job-cost.sh 22:57:41 lf-activate-venv: SKIPPING 22:57:41 INFO: No Stack... 22:57:41 INFO: Retrieving Pricing Info for: v3-standard-8 22:57:42 INFO: Archiving Costs [Pipeline] sh 22:57:42 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives/cost.csv 22:57:42 + cut -d, -f6 [Pipeline] lock 22:57:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] 22:57:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] did not exist. Created. 22:57:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:57:42 + echo total: 0.2199999988079071 [Pipeline] stash 22:57:42 Stashed 1 file(s) [Pipeline] } 22:57:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:57:43 $ docker stop --time=1 ba6d2ea80484a049b63631f63e972f1bcd0bd80fd5d2282ad19455a7b0b467db 22:57:44 $ docker rm -f ba6d2ea80484a049b63631f63e972f1bcd0bd80fd5d2282ad19455a7b0b467db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:58:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118533 in /w/workspace/gexfoundry_device-sdk-go_PR-1258 [Pipeline] { [Pipeline] ws 22:58:15 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 22:58:15 The recommended git tool is: git 22:58:21 using credential edgex-jenkins-ssh 22:58:21 Cloning the remote Git repository 22:58:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:58:21 > git init /w/workspace/device-sdk-go/1 # timeout=10 22:58:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:58:22 > git --version # timeout=10 22:58:22 > git --version # 'git version 2.25.1' 22:58:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:22 Verifying host key using known hosts file 22:58:22 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:58:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:58:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:25 Merging remotes/origin/main commit b76771b07adf0b8c2e38dd8a749adeac8b55b549 into PR head commit a81fe95d70c4864c7c3b07bc307e4797ff811bbc 22:58:25 Merge succeeded, producing a81fe95d70c4864c7c3b07bc307e4797ff811bbc 22:58:25 Checking out Revision a81fe95d70c4864c7c3b07bc307e4797ff811bbc (PR-1258) 22:58:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:58:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:58:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:24 Verifying host key using known hosts file 22:58:24 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. 22:58:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1258/head:refs/remotes/origin/PR-1258 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:58:25 > git config core.sparsecheckout # timeout=10 22:58:25 > git checkout -f a81fe95d70c4864c7c3b07bc307e4797ff811bbc # timeout=10 22:58:25 > git remote # timeout=10 22:58:25 > git config --get remote.origin.url # timeout=10 22:58:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:25 Verifying host key using known hosts file 22:58:25 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. 22:58:25 > git merge b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 22:58:25 > git rev-parse HEAD^{commit} # timeout=10 22:58:25 > git config core.sparsecheckout # timeout=10 22:58:25 > git checkout -f a81fe95d70c4864c7c3b07bc307e4797ff811bbc # timeout=10 22:58:26 Commit message: "ci: automated version changes for OpenAPI version: [2.4.0]" 22:58:26 > git --version # timeout=10 22:58:26 > git --version # 'git version 2.25.1' 22:58:26 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:58:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:58:27 % Total % Received % Xferd Average Speed Time Time Time Current 22:58:27 Dload Upload Total Spent Left Speed 22:58:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 22:58:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:58:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:58:28 + sudo tee /etc/docker/daemon.new 22:58:28 { 22:58:28 "registry-mirrors": [ 22:58:28 "https://nexus3.edgexfoundry.org:10001" 22:58:28 ], 22:58:28 "bip": "10.250.0.254/24", 22:58:28 "hosts": [ 22:58:28 "tcp://0.0.0.0:5555", 22:58:28 "unix:///var/run/docker.sock" 22:58:28 ], 22:58:28 "mtu": 1458, 22:58:28 "selinux-enabled": true, 22:58:28 "seccomp-profile": "/etc/docker/seccomp.json" 22:58:28 } [Pipeline] sh 22:58:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:58:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:58:47 provisioning config files... 22:58:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3151032221956846493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:47 ---> docker-login.sh 22:58:47 nexus3.edgexfoundry.org:10001 22:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:48 Configure a credential helper to remove this warning. See 22:58:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:48 22:58:48 Login Succeeded 22:58:48 nexus3.edgexfoundry.org:10002 22:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:49 Configure a credential helper to remove this warning. See 22:58:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:49 22:58:49 Login Succeeded 22:58:49 nexus3.edgexfoundry.org:10003 22:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:49 Configure a credential helper to remove this warning. See 22:58:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:49 22:58:49 Login Succeeded 22:58:49 nexus3.edgexfoundry.org:10004 22:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:49 Configure a credential helper to remove this warning. See 22:58:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:49 22:58:49 Login Succeeded 22:58:49 docker.io 22:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:50 Configure a credential helper to remove this warning. See 22:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:50 22:58:50 Login Succeeded 22:58:50 ---> docker-login.sh ends [Pipeline] } 22:58:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:58:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:58:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:58:50 ========================================================= 22:58:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:58:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:51 + 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 . 22:58:51 Sending build context to Docker daemon 5.449MB 22:58:51 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 22:58:51 Step 2/10 : FROM ${BASE} AS builder 22:58:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:58:51 9b18e9b68314: Pulling fs layer 22:58:51 35d82f9e3411: Pulling fs layer 22:58:51 e16973657156: Pulling fs layer 22:58:51 fc693d55d65f: Pulling fs layer 22:58:51 7e9fc2657dce: Pulling fs layer 22:58:51 dda99020689f: Pulling fs layer 22:58:51 db1c61fa0a46: Pulling fs layer 22:58:51 891c053d2c06: Pulling fs layer 22:58:51 dda99020689f: Waiting 22:58:51 db1c61fa0a46: Waiting 22:58:51 891c053d2c06: Waiting 22:58:51 fc693d55d65f: Waiting 22:58:51 7e9fc2657dce: Waiting 22:58:51 e16973657156: Verifying Checksum 22:58:51 e16973657156: Download complete 22:58:51 35d82f9e3411: Verifying Checksum 22:58:51 35d82f9e3411: Download complete 22:58:52 7e9fc2657dce: Verifying Checksum 22:58:52 7e9fc2657dce: Download complete 22:58:52 dda99020689f: Download complete 22:58:52 9b18e9b68314: Verifying Checksum 22:58:53 9b18e9b68314: Pull complete 22:58:53 891c053d2c06: Verifying Checksum 22:58:53 891c053d2c06: Download complete 22:58:53 35d82f9e3411: Pull complete 22:58:53 e16973657156: Pull complete 22:58:54 db1c61fa0a46: Verifying Checksum 22:58:54 db1c61fa0a46: Download complete 22:58:55 fc693d55d65f: Download complete 22:59:07 fc693d55d65f: Pull complete 22:59:07 7e9fc2657dce: Pull complete 22:59:07 dda99020689f: Pull complete 22:59:12 db1c61fa0a46: Pull complete 22:59:13 891c053d2c06: Pull complete 22:59:13 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:59:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:59:14 ---> f96f9c87975a 22:59:14 Step 3/10 : ARG MAKE=make build 22:59:16 ---> Running in 49b7a23caf56 22:59:16 Removing intermediate container 49b7a23caf56 22:59:16 ---> 5177f51ed316 22:59:16 Step 4/10 : WORKDIR /device-sdk-go 22:59:16 ---> Running in 120efd71a76c 22:59:16 Removing intermediate container 120efd71a76c 22:59:16 ---> 846c7ad4333e 22:59:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:59:16 ---> Running in 4a539d57af50 22:59:16 Removing intermediate container 4a539d57af50 22:59:16 ---> 465a711eb7a8 22:59:16 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:59:17 ---> Running in fda2624b38c1 22:59:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:59:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:59:19 OK: 221 MiB in 51 packages 22:59:20 Removing intermediate container fda2624b38c1 22:59:20 ---> 030a76262e69 22:59:20 Step 7/10 : COPY go.mod vendor* ./ 22:59:20 ---> 86c8f790d06b 22:59:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:59:20 ---> Running in 701adea49a2c 23:00:17 Removing intermediate container 701adea49a2c 23:00:17 ---> 23c9ac7aa1f0 23:00:17 Step 9/10 : COPY . . 23:00:17 ---> 4dcdc5030817 23:00:17 Step 10/10 : RUN ${MAKE} 23:00:17 ---> Running in 9639cc7672ea 23:00:17 noop 23:00:17 Removing intermediate container 9639cc7672ea 23:00:17 ---> c92ac510b9b8 23:00:17 Successfully built c92ac510b9b8 23:00:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:18 + docker inspect -f . ci-base-image-arm64 23:00:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:18 prd-ubuntu20.04-docker-arm64-4c-16g-118533 does not seem to be running inside a container 23:00:18 $ 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 ******** ci-base-image-arm64 cat 23:00:20 $ docker top 6d891440870361cafb8e3f8b235c782961b857ea30e98da48397498e162d2b38 -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:20 + go version 23:00:20 go version go1.18.7 linux/arm64 [Pipeline] } 23:00:20 $ docker stop --time=1 6d891440870361cafb8e3f8b235c782961b857ea30e98da48397498e162d2b38 23:00:22 $ docker rm -f 6d891440870361cafb8e3f8b235c782961b857ea30e98da48397498e162d2b38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:23 + docker inspect -f . ci-base-image-arm64 23:00:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:23 prd-ubuntu20.04-docker-arm64-4c-16g-118533 does not seem to be running inside a container 23:00:23 $ 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 ******** ci-base-image-arm64 cat 23:00:25 $ docker top 040dde709bacd85917a6f415f05ab0fd597830143fd2889b00717a84f69c00d0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:25 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 23:00:26 + make test 23:00:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:01:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:03:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:03:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:03:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:03:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 23:03:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:03:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.489s coverage: 27.6% of statements 23:03:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.511s coverage: 78.9% of statements 23:03:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 23:03:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.666s coverage: 73.1% of statements 23:03:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:03:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:03:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.564s coverage: 54.4% of statements 23:03:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:03:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 23:03:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:03:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:03:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.488s coverage: 65.1% of statements 23:03:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 23:03:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:03:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.732s coverage: 89.2% of statements 23:03:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:03:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.261s coverage: 4.7% of statements 23:03:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:03:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:03:49 GO111MODULE=on go vet ./... 23:05:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:05:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:05:40 ./bin/test-attribution-txt.sh 23:05:40 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 23:05:40 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 23:05:40 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 23:05:40 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 23:05:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:05:40 $ docker stop --time=1 040dde709bacd85917a6f415f05ab0fd597830143fd2889b00717a84f69c00d0 23:05:42 $ docker rm -f 040dde709bacd85917a6f415f05ab0fd597830143fd2889b00717a84f69c00d0 [Pipeline] // withDockerContainer [Pipeline] sh 23:05:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:05:44 Warning: overwriting stash ‘coverage-report’ 23:05:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:05:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:05:45 + ls -al . 23:05:45 total 276 23:05:45 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 23:00 . 23:05:45 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:58 .. 23:05:45 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 22:58 .dockerignore 23:05:45 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 22:58 .git 23:05:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:58 .github 23:05:45 -rw-rw-r-- 1 jenkins jenkins 131 Nov 7 22:58 .gitignore 23:05:45 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 22:58 .golangci.yml 23:05:45 -rw-rw-r-- 1 jenkins jenkins 31677 Nov 7 22:58 CHANGELOG.md 23:05:45 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 22:58 GOVERNANCE.md 23:05:45 -rw-rw-r-- 1 jenkins jenkins 880 Nov 7 22:58 Jenkinsfile 23:05:45 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 22:58 LICENSE 23:05:45 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 7 22:58 Makefile 23:05:45 -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 22:58 OWNERS.md 23:05:45 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 7 22:58 README.md 23:05:45 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 22:55 VERSION 23:05:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 22:58 bin 23:05:45 -rw-r--r-- 1 jenkins jenkins 101759 Nov 7 23:03 coverage.out 23:05:45 drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 22:58 example 23:05:45 -rw-rw-r-- 1 jenkins jenkins 3347 Nov 7 22:58 go.mod 23:05:45 -rw-rw-r-- 1 jenkins jenkins 44423 Nov 7 22:58 go.sum 23:05:45 drwxrwxr-x 14 jenkins jenkins 4096 Nov 7 22:58 internal 23:05:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 22:58 openapi 23:05:45 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 22:58 pkg 23:05:45 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 22:58 snap 23:05:45 -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 22:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:46 + 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=a81fe95d70c4864c7c3b07bc307e4797ff811bbc --label arch=arm64 --label version=0.0.0 . 23:05:46 Sending build context to Docker daemon 5.551MB 23:05:46 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 23:05:46 Step 2/23 : FROM ${BASE} AS builder 23:05:46 ---> c92ac510b9b8 23:05:46 Step 3/23 : ARG MAKE=make build 23:05:46 ---> Running in b5d6b5574303 23:05:46 Removing intermediate container b5d6b5574303 23:05:46 ---> b4f75fc05e82 23:05:46 Step 4/23 : WORKDIR /device-sdk-go 23:05:47 ---> Running in ce986e34f800 23:05:47 Removing intermediate container ce986e34f800 23:05:47 ---> d75fe79c72ac 23:05:47 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:05:47 ---> Running in d4438c06567e 23:05:47 Removing intermediate container d4438c06567e 23:05:47 ---> a33bb9750fa8 23:05:47 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:05:47 ---> Running in fba738849709 23:05:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:05:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:05:50 OK: 221 MiB in 51 packages 23:05:50 Removing intermediate container fba738849709 23:05:50 ---> 5af3b83aa88f 23:05:50 Step 7/23 : COPY go.mod vendor* ./ 23:05:51 ---> f7e2d1df6e8f 23:05:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:05:51 ---> Running in 640362f3e7cc 23:05:53 Removing intermediate container 640362f3e7cc 23:05:53 ---> ec2bcd255f20 23:05:53 Step 9/23 : COPY . . 23:05:54 ---> ffe58d86de24 23:05:54 Step 10/23 : RUN ${MAKE} 23:05:54 ---> Running in bbe23b06fb2f 23:05:55 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 23:08:17 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:08:21 Removing intermediate container bbe23b06fb2f 23:08:21 ---> e1249ff14652 23:08:21 Step 11/23 : FROM alpine:3.16 23:08:22 3.16: Pulling from library/alpine 23:08:22 9b18e9b68314: Already exists 23:08:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:08:23 Status: Downloaded newer image for alpine:3.16 23:08:23 ---> a6215f271958 23:08:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:08:23 ---> Running in 936a731cc2fe 23:08:23 Removing intermediate container 936a731cc2fe 23:08:23 ---> cd318f7641d3 23:08:23 Step 13/23 : RUN apk add --update --no-cache zeromq 23:08:23 ---> Running in 6656822ab19b 23:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:08:25 (1/5) Installing libgcc (11.2.1_git20220219-r2) 23:08:25 (2/5) Installing libsodium (1.0.18-r0) 23:08:25 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 23:08:25 (4/5) Installing libzmq (4.3.4-r0) 23:08:25 (5/5) Installing zeromq (4.3.4-r0) 23:08:25 Executing busybox-1.35.0-r17.trigger 23:08:25 OK: 8 MiB in 19 packages 23:08:26 Removing intermediate container 6656822ab19b 23:08:26 ---> b319b59a677a 23:08:26 Step 14/23 : WORKDIR / 23:08:26 ---> Running in ade844b9f911 23:08:27 Removing intermediate container ade844b9f911 23:08:27 ---> 7364a06745ec 23:08:27 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:08:27 ---> 2d94ac534505 23:08:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:08:29 ---> 997c9f740451 23:08:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:08:29 ---> a2101b68122d 23:08:29 Step 18/23 : EXPOSE 59999 23:08:29 ---> Running in eca21c55aef0 23:08:30 Removing intermediate container eca21c55aef0 23:08:30 ---> 1908dece79ab 23:08:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:08:30 ---> Running in bef0db4d96f1 23:08:30 Removing intermediate container bef0db4d96f1 23:08:30 ---> ff3956943abd 23:08:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:08:30 ---> Running in 43a9e448c2b6 23:08:30 Removing intermediate container 43a9e448c2b6 23:08:30 ---> 2c87e6afcf2c 23:08:30 Step 21/23 : LABEL arch=arm64 23:08:30 ---> Running in 7463811a577a 23:08:31 Removing intermediate container 7463811a577a 23:08:31 ---> d0f9a1034603 23:08:31 Step 22/23 : LABEL git_sha=a81fe95d70c4864c7c3b07bc307e4797ff811bbc 23:08:31 ---> Running in 2de8db859a56 23:08:31 Removing intermediate container 2de8db859a56 23:08:31 ---> ca39a9b3d93f 23:08:31 Step 23/23 : LABEL version=0.0.0 23:08:31 ---> Running in 66a649df5a9c 23:08:31 Removing intermediate container 66a649df5a9c 23:08:31 ---> 9c9f0128df25 23:08:31 [Warning] One or more build-args [ARCH] were not consumed 23:08:31 Successfully built 9c9f0128df25 23:08:31 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 23:08:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:08:32 23:08:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:08:33 arm64: Pulling from edgex-lftools-log-publisher 23:08:33 8998bd30e6a1: Pulling fs layer 23:08:33 04944245beec: Pulling fs layer 23:08:33 699f458cf7ca: Pulling fs layer 23:08:33 765212b225bb: Pulling fs layer 23:08:33 f23df028b6ca: Pulling fs layer 23:08:33 d65c8cfc05b1: Pulling fs layer 23:08:33 2437ff75d9bd: Pulling fs layer 23:08:33 f23df028b6ca: Waiting 23:08:33 d65c8cfc05b1: Waiting 23:08:33 765212b225bb: Waiting 23:08:33 2437ff75d9bd: Waiting 23:08:33 04944245beec: Verifying Checksum 23:08:33 04944245beec: Download complete 23:08:33 765212b225bb: Verifying Checksum 23:08:33 765212b225bb: Download complete 23:08:33 f23df028b6ca: Download complete 23:08:33 d65c8cfc05b1: Verifying Checksum 23:08:33 d65c8cfc05b1: Download complete 23:08:33 699f458cf7ca: Verifying Checksum 23:08:33 699f458cf7ca: Download complete 23:08:33 8998bd30e6a1: Verifying Checksum 23:08:33 8998bd30e6a1: Download complete 23:08:36 2437ff75d9bd: Verifying Checksum 23:08:36 2437ff75d9bd: Download complete 23:08:37 8998bd30e6a1: Pull complete 23:08:38 04944245beec: Pull complete 23:08:39 699f458cf7ca: Pull complete 23:08:39 765212b225bb: Pull complete 23:08:40 f23df028b6ca: Pull complete 23:08:40 d65c8cfc05b1: Pull complete 23:08:55 2437ff75d9bd: Pull complete 23:08:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:08:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:08:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:56 prd-ubuntu20.04-docker-arm64-4c-16g-118533 does not seem to be running inside a container 23:08: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:08:58 $ docker top c73d31922a779e1b5e98daaab3a6b70b3161cd744253d5720c987be757551bf6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:59 ---> job-cost.sh 23:08:59 lf-activate-venv: SKIPPING 23:08:59 INFO: No Stack... 23:09:00 INFO: Retrieving Pricing Info for: v3-standard-4 23:09:00 INFO: Archiving Costs [Pipeline] sh 23:09:01 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 23:09:01 + cut -d, -f6 [Pipeline] lock 23:09:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] 23:09:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] did not exist. Created. 23:09:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:09:02 /w/workspace/device-sdk-go/1@tmp/durable-3dec1d3c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:09:03 + echo total: 0.10999999940395355 [Pipeline] stash 23:09:03 Warning: overwriting stash ‘stack-cost’ 23:09:03 Stashed 1 file(s) [Pipeline] } 23:09:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1258-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:09:03 $ docker stop --time=1 c73d31922a779e1b5e98daaab3a6b70b3161cd744253d5720c987be757551bf6 23:09:04 $ docker rm -f c73d31922a779e1b5e98daaab3a6b70b3161cd744253d5720c987be757551bf6 [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 23:09:05 provisioning config files... 23:09:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/config9161835600815502962tmp [Pipeline] { [Pipeline] sh 23:09:06 + set +x 23:09:06 + curl -s https://codecov.io/bash 23:09:06 + bash -s -- 23:09:06 23:09:06 _____ _ 23:09:06 / ____| | | 23:09:06 | | ___ __| | ___ ___ _____ __ 23:09:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:09:06 | |___| (_) | (_| | __/ (_| (_) \ V / 23:09:06 \_____\___/ \__,_|\___|\___\___/ \_/ 23:09:06 Bash-1.0.6 23:09:06 23:09:06 23:09:06 ==> git version 2.25.1 found 23:09: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 23:09:06 Release-Date: 2020-01-08 23:09: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 23:09:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:09:06 ==> Jenkins CI detected. 23:09:06 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1258 23:09:06 project root: . 23:09:06 --> token set from env 23:09:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:09:06 ==> Running gcov in . (disable via -X gcov) 23:09:06 ==> Python coveragepy not found 23:09:06 ==> Searching for coverage reports in: 23:09:06 + . 23:09:06 -> Found 1 reports 23:09:06 ==> Detecting git/mercurial file structure 23:09:06 ==> Reading reports 23:09:06 + ./coverage.out bytes=101759 23:09:06 ==> Appending adjustments 23:09:06 https://docs.codecov.io/docs/fixing-reports 23:09:06 + Found adjustments 23:09:06 ==> Gzipping contents 23:09:06 16K /tmp/codecov.VB92k7.gz 23:09:06 ==> Uploading reports 23:09:06 url: https://codecov.io 23:09:06 query: branch=PR-1258&commit=a81fe95d70c4864c7c3b07bc307e4797ff811bbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1258%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1258&job=&cmd_args= 23:09:06 -> Pinging Codecov 23:09: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-1258&commit=a81fe95d70c4864c7c3b07bc307e4797ff811bbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1258%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1258&job=&cmd_args= 23:09:06 -> Uploading to 23:09:06 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7E55EF52A471D76F132DFD9A03CDDE97/a81fe95d70c4864c7c3b07bc307e4797ff811bbc/76e53ad0-c77c-4c52-a398-4a2f8c09aa8a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T230906Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9db9abdf55da099173cbf524f6f0e29b728cdf7b1b5ad256ee3077beaf8de02 23:09:06 % Total % Received % Xferd Average Speed Time Time Time Current 23:09:06 Dload Upload Total Spent Left Speed 23:09:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14700 0 0 100 14700 0 52688 --:--:-- --:--:-- --:--:-- 52500 100 14700 0 0 100 14700 0 52500 --:--:-- --:--:-- --:--:-- 52500 23:09:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] } 23:09: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 23:09:08 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives ] 23:09:08 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives 23:09:08 total 16 23:09:08 drwxr-xr-x 3 root root 4096 Nov 7 22:57 . 23:09:08 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 22:57 .. 23:09:08 drwxr-xr-x 2 root root 4096 Nov 7 22:57 cost 23:09:08 -rw-r--r-- 1 root root 86 Nov 7 22:57 cost.csv 23:09:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives 23:09:08 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives 23:09:08 total 16 23:09:08 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 22:57 . 23:09:08 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 22:57 .. 23:09:08 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 22:57 cost 23:09:08 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 22:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:09:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:09:10 ---> package-listing.sh 23:09:10 ++ facter osfamily 23:09:10 ++ tr '[:upper:]' '[:lower:]' 23:09:10 + OS_FAMILY=debian 23:09:10 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1258 23:09:10 + START_PACKAGES=/tmp/packages_start.txt 23:09:10 + END_PACKAGES=/tmp/packages_end.txt 23:09:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:09:10 + PACKAGES=/tmp/packages_start.txt 23:09:10 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1258 ']' 23:09:10 + PACKAGES=/tmp/packages_end.txt 23:09:10 + case "${OS_FAMILY}" in 23:09:10 + dpkg -l 23:09:10 + grep '^ii' 23:09:10 + '[' -f /tmp/packages_start.txt ']' 23:09:10 + '[' -f /tmp/packages_end.txt ']' 23:09:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:09:10 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1258 ']' 23:09:10 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives/ 23:09:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1258/archives/ [Pipeline] echo 23:09: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-1258/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:09:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:11 prd-ubuntu20.04-docker-8c-8g-118531 does not seem to be running inside a container 23:09: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-1258/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-1258 -v /w/workspace/gexfoundry_device-sdk-go_PR-1258:/w/workspace/gexfoundry_device-sdk-go_PR-1258:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:09:11 $ docker top 2c09dc444d19f6bfaac4fe061e642e82c8ef5766a7860d7d0bc03e93ab3d1fc9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:12 + touch /tmp/pre-build-complete [Pipeline] sh 23:09:12 + mkdir -p /var/log/sysstat [Pipeline] sh 23:09:12 + ls /var/log/sa-host 23:09:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:09:12 provisioning config files... 23:09:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1258@tmp/config15306380583877890527tmp [Pipeline] { [Pipeline] echo 23:09:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:09:13 ---> create-netrc.sh [Pipeline] } 23:09:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:09:13 ---> python-tools-install.sh [Pipeline] echo 23:09:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:09:14 ---> sudo-logs.sh 23:09:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:09:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:09:14 ---> job-cost.sh 23:09:14 lf-activate-venv: SKIPPING 23:09:14 DEBUG: total: 0.2199999988079071 23:09:14 INFO: Retrieving Stack Cost... 23:09:14 INFO: Retrieving Pricing Info for: v3-standard-8 23:09:15 INFO: Archiving Costs [Pipeline] echo 23:09:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:09:15 ---> logs-deploy.sh 23:09:15 lf-activate-venv: SKIPPING 23:09:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1258/1 23:09:15 INFO: archiving workspace using pattern(s): 23:09:16 Archives upload complete. 23:09:16 INFO: archiving logs to Nexus