Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 94ac6d2266df18c991779d09973ee9ae491e9f24+690b0c9df30b882b455dec0110a7cd4f7611a33b (5844f00d9996f7dd2348628674ed7284ac7d6037) 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-ssh1923931108767650371.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14967982962346571794.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh563083070786285110.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh2906630724769330084.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15221963724493369746.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7046 in /w/workspace/gexfoundry_device-sdk-go_PR-1226 [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-1226 # 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/1226/head:refs/remotes/origin/PR-1226 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 690b0c9df30b882b455dec0110a7cd4f7611a33b into PR head commit 94ac6d2266df18c991779d09973ee9ae491e9f24 Merge succeeded, producing 335d37f3bf52907231f062710320a74a14c5c04f Checking out Revision 335d37f3bf52907231f062710320a74a14c5c04f (PR-1226) > git config core.sparsecheckout # timeout=10 > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # 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 690b0c9df30b882b455dec0110a7cd4f7611a33b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 335d37f3bf52907231f062710320a74a14c5c04f # timeout=10 Commit message: "Merge commit '690b0c9df30b882b455dec0110a7cd4f7611a33b' into HEAD" > git rev-list --no-walk 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:41:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:41:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:41:23 ========================================================= 06:41:23 EdgeX Global Pipelines Version Info 06:41:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:41:24 ------------------- 06:41:24 stable info: 06:41:24 ------------------- 06:41:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:41:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:41:24 Message: update stable to v1.0.239 06:41:24 ------------------- 06:41:24 experimental info: 06:41:24 ------------------- 06:41:24 Commited By: **** collab-it+edgex@linuxfoundation.org 06:41:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:41:24 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1226 [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1226 [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1226 [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 335d37f3bf52907231f062710320a74a14c5c04f [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 335d37f [Pipeline] echo 06:41:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:25 provisioning config files... 06:41:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config14136588590493201505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:25 ---> docker-login.sh 06:41:25 nexus3.edgexfoundry.org:10001 06:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:26 Configure a credential helper to remove this warning. See 06:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:26 06:41:26 Login Succeeded 06:41:26 nexus3.edgexfoundry.org:10002 06:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:26 Configure a credential helper to remove this warning. See 06:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:26 06:41:26 Login Succeeded 06:41:26 nexus3.edgexfoundry.org:10003 06:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:26 Configure a credential helper to remove this warning. See 06:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:26 06:41:26 Login Succeeded 06:41:26 nexus3.edgexfoundry.org:10004 06:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:26 Configure a credential helper to remove this warning. See 06:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:26 06:41:26 Login Succeeded 06:41:26 docker.io 06:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:27 Configure a credential helper to remove this warning. See 06:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:27 06:41:27 Login Succeeded 06:41:27 ---> docker-login.sh ends [Pipeline] } 06:41:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:41:27 + git rev-list -1 --merges 335d37f3bf52907231f062710320a74a14c5c04f~1..335d37f3bf52907231f062710320a74a14c5c04f [Pipeline] echo 06:41:27 -----------> git rev-list -1 --merges 335d37f3bf52907231f062710320a74a14c5c04f~1..335d37f3bf52907231f062710320a74a14c5c04f 335d37f3bf52907231f062710320a74a14c5c04f 06:41:27 335d37f3bf52907231f062710320a74a14c5c04f [false] [Pipeline] sh 06:41:27 + git log --format=format:%s -1 335d37f3bf52907231f062710320a74a14c5c04f [Pipeline] echo 06:41:27 ========================================================= 06:41:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:41:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:41:28 + git log --format=format:%s -1 335d37f3bf52907231f062710320a74a14c5c04f [Pipeline] echo 06:41:28 [semverPrep] GIT_COMMIT: 335d37f3bf52907231f062710320a74a14c5c04f, Commit Message: Merge commit '690b0c9df30b882b455dec0110a7cd4f7611a33b' into HEAD [Pipeline] echo 06:41:28 [semverPrep] This is not a build commit. [Pipeline] sh 06:41:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:41:28 + grep -v github /etc/ssh/ssh_known_hosts 06:41:28 + [ -e /tmp/ssh_known_hosts ] 06:41:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:41:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:41:28 + sudo tee -a /etc/ssh/ssh_known_hosts 06:41:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:28 06:41:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:29 0.1.4: Pulling from edgex-devops/py-git-semver 06:41:29 b85a868b505f: Pulling fs layer 06:41:29 e2be974225ed: Pulling fs layer 06:41:29 339a4e72a1f5: Pulling fs layer 06:41:29 988bab9f4d93: Pulling fs layer 06:41:29 1469e6f7b9e6: Pulling fs layer 06:41:29 eaf3925da568: Pulling fs layer 06:41:29 bab4dde63d76: Pulling fs layer 06:41:29 988bab9f4d93: Waiting 06:41:29 1469e6f7b9e6: Waiting 06:41:29 bde34c3a00c8: Pulling fs layer 06:41:29 b352a97aabf1: Pulling fs layer 06:41:29 bde34c3a00c8: Waiting 06:41:29 bab4dde63d76: Waiting 06:41:29 eaf3925da568: Waiting 06:41:29 4872d77fe225: Pulling fs layer 06:41:29 b352a97aabf1: Waiting 06:41:29 5851b861e8e6: Pulling fs layer 06:41:29 4872d77fe225: Waiting 06:41:29 5851b861e8e6: Waiting 06:41:29 e2be974225ed: Verifying Checksum 06:41:29 e2be974225ed: Download complete 06:41:29 988bab9f4d93: Verifying Checksum 06:41:29 988bab9f4d93: Download complete 06:41:29 1469e6f7b9e6: Verifying Checksum 06:41:29 1469e6f7b9e6: Download complete 06:41:29 339a4e72a1f5: Verifying Checksum 06:41:29 339a4e72a1f5: Download complete 06:41:29 eaf3925da568: Verifying Checksum 06:41:29 eaf3925da568: Download complete 06:41:29 bde34c3a00c8: Download complete 06:41:29 b352a97aabf1: Download complete 06:41:29 4872d77fe225: Download complete 06:41:29 5851b861e8e6: Download complete 06:41:29 b85a868b505f: Verifying Checksum 06:41:29 b85a868b505f: Download complete 06:41:29 bab4dde63d76: Verifying Checksum 06:41:29 bab4dde63d76: Download complete 06:41:30 b85a868b505f: Pull complete 06:41:30 e2be974225ed: Pull complete 06:41:31 339a4e72a1f5: Pull complete 06:41:31 988bab9f4d93: Pull complete 06:41:31 1469e6f7b9e6: Pull complete 06:41:31 eaf3925da568: Pull complete 06:41:33 bab4dde63d76: Pull complete 06:41:33 bde34c3a00c8: Pull complete 06:41:33 b352a97aabf1: Pull complete 06:41:33 4872d77fe225: Pull complete 06:41:34 5851b861e8e6: Pull complete 06:41:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:41:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:34 prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container 06:41:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:41:35 $ docker top dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f -eo pid,comm 06:41:35 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). 06:41:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:41:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:36 [ssh-agent] Looking for ssh-agent implementation... 06:41:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:36 $ docker exec dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f ssh-agent 06:41:36 SSH_AUTH_SOCK=/tmp/ssh-Gfk43BAJFEFm/agent.33 06:41:36 SSH_AGENT_PID=39 06:41:36 Running ssh-add (command line suppressed) 06:41:36 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_9371985735910371945.key (/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_9371985735910371945.key) 06:41:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:36 + git tag --points-at HEAD [Pipeline] } 06:41:36 $ docker exec --env ******** --env ******** dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f ssh-agent -k 06:41:36 unset SSH_AUTH_SOCK; 06:41:36 unset SSH_AGENT_PID; 06:41:36 echo Agent pid 39 killed; 06:41:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:41:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:36 [ssh-agent] Looking for ssh-agent implementation... 06:41:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:36 $ docker exec dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f ssh-agent 06:41:37 SSH_AUTH_SOCK=/tmp/ssh-vIDTBMxHBSLX/agent.72 06:41:37 SSH_AGENT_PID=78 06:41:37 Running ssh-add (command line suppressed) 06:41:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_17501008549536592371.key (/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/private_key_17501008549536592371.key) 06:41:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:37 + git semver init 06:41:37 2022-10-04 06:41:37,690 [run_init] DEBUG init version:0.0.0 force:False 06:41:37 2022-10-04 06:41:37,691 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver 06:41:37 2022-10-04 06:41:37,692 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver 06:41:37 2022-10-04 06:41:37,693 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226, universal_newlines=False, shell=None, istream=None) 06:41:39 2022-10-04 06:41:38,690 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.git/info/exclude 06:41:39 2022-10-04 06:41:38,691 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 with force:False 06:41:39 2022-10-04 06:41:38,691 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 06:41:39 2022-10-04 06:41:38,695 [execute] INFO git cat-file --batch-check 06:41:39 2022-10-04 06:41:38,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver, universal_newlines=False, shell=None, istream=) 06:41:39 2022-10-04 06:41:38,704 [execute] INFO git cat-file --batch 06:41:39 2022-10-04 06:41:38,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver, universal_newlines=False, shell=None, istream=) 06:41:39 2022-10-04 06:41:38,709 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1226/.semver/PR-1226 06:41:39 0.0.0 [Pipeline] } 06:41:39 $ docker exec --env ******** --env ******** dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f ssh-agent -k 06:41:39 unset SSH_AUTH_SOCK; 06:41:39 unset SSH_AGENT_PID; 06:41:39 echo Agent pid 78 killed; 06:41:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:41:39 + git semver [Pipeline] } 06:41:39 $ docker stop --time=1 dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f 06:41:41 $ docker rm -f dd4a1ae0a002d4dd9f329d99b5f37ecf3b41613b4f989d12d569ad1157be066f [Pipeline] // withDockerContainer [Pipeline] sh 06:41:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:41:41 Stashed 1 file(s) [Pipeline] echo 06:41:41 [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 06:41:41 provisioning config files... 06:41:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config16060701428870193621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:42 ---> docker-login.sh 06:41:42 nexus3.edgexfoundry.org:10001 06:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:42 Configure a credential helper to remove this warning. See 06:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:42 06:41:42 Login Succeeded 06:41:42 nexus3.edgexfoundry.org:10002 06:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:42 Configure a credential helper to remove this warning. See 06:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:42 06:41:42 Login Succeeded 06:41:42 nexus3.edgexfoundry.org:10003 06:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:42 Configure a credential helper to remove this warning. See 06:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:42 06:41:42 Login Succeeded 06:41:42 nexus3.edgexfoundry.org:10004 06:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:42 Configure a credential helper to remove this warning. See 06:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:42 06:41:42 Login Succeeded 06:41:42 docker.io 06:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:42 Configure a credential helper to remove this warning. See 06:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:42 06:41:42 Login Succeeded 06:41:42 ---> docker-login.sh ends [Pipeline] } 06:41:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:41:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:41:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:41:42 ========================================================= 06:41:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:41:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:43 + 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 . 06:41:43 Sending build context to Docker daemon 10.01MB 06:41:43 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:41:43 Step 2/11 : FROM ${BASE} AS builder 06:41:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:41:43 2408cc74d12b: Pulling fs layer 06:41:43 ea60b727a1ce: Pulling fs layer 06:41:43 30c4a7721957: Pulling fs layer 06:41:43 370296b7ddb6: Pulling fs layer 06:41:43 7c6cee850709: Pulling fs layer 06:41:43 aa9baa53a306: Pulling fs layer 06:41:43 8b309c321861: Pulling fs layer 06:41:43 d8d76fd02f46: Pulling fs layer 06:41:43 fa31f396de31: Pulling fs layer 06:41:43 370296b7ddb6: Waiting 06:41:43 7c6cee850709: Waiting 06:41:43 aa9baa53a306: Waiting 06:41:43 8b309c321861: Waiting 06:41:43 d8d76fd02f46: Waiting 06:41:43 fa31f396de31: Waiting 06:41:43 30c4a7721957: Download complete 06:41:43 ea60b727a1ce: Verifying Checksum 06:41:43 ea60b727a1ce: Download complete 06:41:43 7c6cee850709: Verifying Checksum 06:41:43 7c6cee850709: Download complete 06:41:43 aa9baa53a306: Download complete 06:41:43 2408cc74d12b: Verifying Checksum 06:41:43 2408cc74d12b: Download complete 06:41:43 8b309c321861: Verifying Checksum 06:41:43 8b309c321861: Download complete 06:41:43 2408cc74d12b: Pull complete 06:41:43 ea60b727a1ce: Pull complete 06:41:43 30c4a7721957: Pull complete 06:41:44 fa31f396de31: Verifying Checksum 06:41:44 fa31f396de31: Download complete 06:41:44 370296b7ddb6: Verifying Checksum 06:41:44 370296b7ddb6: Download complete 06:41:44 d8d76fd02f46: Download complete 06:41:47 370296b7ddb6: Pull complete 06:41:48 7c6cee850709: Pull complete 06:41:48 aa9baa53a306: Pull complete 06:41:48 8b309c321861: Pull complete 06:41:50 d8d76fd02f46: Pull complete 06:41:51 fa31f396de31: Pull complete 06:41:51 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 06:41:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:41:51 ---> cef68f9685f8 06:41:51 Step 3/11 : ARG MAKE=make build 06:41:53 ---> Running in 7c7fd92ccdff 06:41:53 Removing intermediate container 7c7fd92ccdff 06:41:53 ---> dd594b18e51e 06:41:53 Step 4/11 : WORKDIR /device-sdk-go 06:41:53 ---> Running in eabf1a98084e 06:41:53 Removing intermediate container eabf1a98084e 06:41:53 ---> 3bbbf4c4ebfa 06:41:53 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:41:53 ---> Running in 0737847cd624 06:41:53 Removing intermediate container 0737847cd624 06:41:53 ---> 352bf3781c32 06:41:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:53 ---> Running in 46928482f028 06:41:53 Removing intermediate container 46928482f028 06:41:53 ---> 440898837137 06:41:53 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:41:54 ---> Running in 51039946fd0d 06:41:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:41:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:41:55 OK: 211 MiB in 51 packages 06:41:55 Removing intermediate container 51039946fd0d 06:41:55 ---> 5c0a4d6922cb 06:41:55 Step 8/11 : COPY go.mod vendor* ./ 06:41:56 ---> b8f73e5ae6ad 06:41:56 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:41:56 ---> Running in e7a291ac6f15 06:41:56 Still waiting to schedule task 06:41:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:42:14 Removing intermediate container e7a291ac6f15 06:42:14 ---> 629b0e504336 06:42:14 Step 10/11 : COPY . . 06:42:14 ---> d8714948d40b 06:42:14 Step 11/11 : RUN ${MAKE} 06:42:14 ---> Running in 941f5c43fc19 06:42:14 noop 06:42:15 Removing intermediate container 941f5c43fc19 06:42:15 ---> 748e2f91b0b5 06:42:15 Successfully built 748e2f91b0b5 06:42:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:15 + docker inspect -f . ci-base-image-x86_64 06:42:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:15 prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container 06:42:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:16 $ docker top b31d2fc798c3c6b8cfe03e6f388b27755c5ec9abe8df23efb43466b1538b8540 -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:16 + go version 06:42:16 go version go1.18.3 linux/amd64 [Pipeline] } 06:42:16 $ docker stop --time=1 b31d2fc798c3c6b8cfe03e6f388b27755c5ec9abe8df23efb43466b1538b8540 06:42:17 $ docker rm -f b31d2fc798c3c6b8cfe03e6f388b27755c5ec9abe8df23efb43466b1538b8540 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:18 + docker inspect -f . ci-base-image-x86_64 06:42:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:18 prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container 06:42:18 $ 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-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:18 $ docker top 1b513a5eb0d452cbddd858b3d9d29267dcbf8d1965faa6ab45c5b25ab8d6ce72 -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1226 [Pipeline] fileExists [Pipeline] sh 06:42:19 + make test 06:42:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:42:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:42:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 27.6% of statements 06:42:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:42:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.080s coverage: 60.0% of statements 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:42:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:42:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 65.1% of statements 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:42:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.778s coverage: 89.2% of statements 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:42:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.7% of statements 06:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:42:52 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." 06:42:52 GO111MODULE=on go vet ./... 06:42:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:42:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:42:54 ./bin/test-attribution-txt.sh 06:42:54 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:42:54 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:42:54 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:42:54 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:42:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:42:54 $ docker stop --time=1 1b513a5eb0d452cbddd858b3d9d29267dcbf8d1965faa6ab45c5b25ab8d6ce72 06:42:57 $ docker rm -f 1b513a5eb0d452cbddd858b3d9d29267dcbf8d1965faa6ab45c5b25ab8d6ce72 [Pipeline] // withDockerContainer [Pipeline] sh 06:42:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:42:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:58 + ls -al . 06:42:58 total 276 06:42:58 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 06:42 . 06:42:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:41 .. 06:42:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 06:41 .dockerignore 06:42:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 06:42 .git 06:42:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:41 .github 06:42:58 -rw-rw-r-- 1 jenkins jenkins 131 Oct 4 06:41 .gitignore 06:42:58 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 06:41 .golangci.yml 06:42:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 06:41 .semver 06:42:58 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 4 06:41 CHANGELOG.md 06:42:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 06:41 GOVERNANCE.md 06:42:58 -rw-rw-r-- 1 jenkins jenkins 880 Oct 4 06:41 Jenkinsfile 06:42:58 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 06:41 LICENSE 06:42:58 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 4 06:41 Makefile 06:42:58 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 06:41 OWNERS.md 06:42:58 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 4 06:41 README.md 06:42:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 06:41 VERSION 06:42:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:41 bin 06:42:58 -rw-r--r-- 1 jenkins jenkins 101009 Oct 4 06:42 coverage.out 06:42:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 06:41 example 06:42:58 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 4 06:41 go.mod 06:42:58 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 4 06:41 go.sum 06:42:58 drwxrwxr-x 14 jenkins jenkins 4096 Oct 4 06:41 internal 06:42:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:41 openapi 06:42:58 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 06:41 pkg 06:42:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:41 snap 06:42:58 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 06:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:58 + 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=335d37f3bf52907231f062710320a74a14c5c04f --label arch=amd64 --label version=0.0.0 . 06:42:58 Sending build context to Docker daemon 10.11MB 06:42:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:42:58 Step 2/25 : FROM ${BASE} AS builder 06:42:58 ---> 748e2f91b0b5 06:42:58 Step 3/25 : ARG MAKE=make build 06:42:59 ---> Running in 34d4dd47d6c5 06:42:59 Removing intermediate container 34d4dd47d6c5 06:42:59 ---> 9caefb3409c9 06:42:59 Step 4/25 : WORKDIR /device-sdk-go 06:42:59 ---> Running in 41cb35418805 06:42:59 Removing intermediate container 41cb35418805 06:42:59 ---> bb2ace7497d2 06:42:59 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:42:59 ---> Running in 7690d2b4b544 06:42:59 Removing intermediate container 7690d2b4b544 06:42:59 ---> d59c694f8472 06:42:59 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:59 ---> Running in f36a9cd37116 06:43:00 Removing intermediate container f36a9cd37116 06:43:00 ---> ed5975a08189 06:43:00 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:43:00 ---> Running in d1502fd49f26 06:43:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:43:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:43:01 OK: 211 MiB in 51 packages 06:43:01 Removing intermediate container d1502fd49f26 06:43:01 ---> 18ffd268030a 06:43:01 Step 8/25 : COPY go.mod vendor* ./ 06:43:01 ---> d116a0319c5e 06:43:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:43:02 ---> Running in 44512757848e 06:43:02 Removing intermediate container 44512757848e 06:43:02 ---> 3439654c39ef 06:43:02 Step 10/25 : COPY . . 06:43:03 ---> 6c28174ed0e2 06:43:03 Step 11/25 : RUN ${MAKE} 06:43:03 ---> Running in 521b2dbb3580 06:43:03 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 06:43:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:43:21 Removing intermediate container 521b2dbb3580 06:43:21 ---> 092ea3d4a2f2 06:43:21 Step 12/25 : FROM alpine:3.16 06:43:22 3.16: Pulling from library/alpine 06:43:22 213ec9aee27d: Pulling fs layer 06:43:22 213ec9aee27d: Verifying Checksum 06:43:22 213ec9aee27d: Download complete 06:43:22 213ec9aee27d: Pull complete 06:43:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:43:23 Status: Downloaded newer image for alpine:3.16 06:43:23 ---> 9c6f07244728 06:43:23 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:43:23 ---> Running in 7f3e3c5bc2ad 06:43:23 Removing intermediate container 7f3e3c5bc2ad 06:43:23 ---> e9bb3d689f12 06:43:23 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:23 ---> Running in ab04a09f9cab 06:43:23 Removing intermediate container ab04a09f9cab 06:43:23 ---> b4c6bc96e85d 06:43:23 Step 15/25 : RUN apk add --update --no-cache zeromq 06:43:23 ---> Running in 3e8261800c20 06:43:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:43:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:43:25 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:43:25 (2/5) Installing libsodium (1.0.18-r0) 06:43:25 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:43:25 (4/5) Installing libzmq (4.3.4-r0) 06:43:25 (5/5) Installing zeromq (4.3.4-r0) 06:43:25 Executing busybox-1.35.0-r17.trigger 06:43:25 OK: 8 MiB in 19 packages 06:43:26 Removing intermediate container 3e8261800c20 06:43:26 ---> 1227f2839482 06:43:26 Step 16/25 : WORKDIR / 06:43:26 ---> Running in edc4fd0650ee 06:43:26 Removing intermediate container edc4fd0650ee 06:43:26 ---> fc5faff38320 06:43:26 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:43:26 ---> 129f6c51c5b2 06:43:26 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:43:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7047 in /w/workspace/gexfoundry_device-sdk-go_PR-1226 [Pipeline] { [Pipeline] ws 06:43:26 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:43:26 The recommended git tool is: git 06:43:27 ---> 710a8c86c4bd 06:43:27 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:43:27 ---> a4fe2d2ea16e 06:43:27 Step 20/25 : EXPOSE 59999 06:43:27 ---> Running in 97b3395606cd 06:43:27 Removing intermediate container 97b3395606cd 06:43:27 ---> b4da80eea27d 06:43:27 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:43:27 ---> Running in e6d05e1f562d 06:43:27 Removing intermediate container e6d05e1f562d 06:43:27 ---> 24245bf6a022 06:43:27 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:43:27 ---> Running in a21079cef7b8 06:43:27 Removing intermediate container a21079cef7b8 06:43:27 ---> 0230190bfc72 06:43:27 Step 23/25 : LABEL arch=amd64 06:43:27 ---> Running in 153ca735c5c2 06:43:27 Removing intermediate container 153ca735c5c2 06:43:27 ---> fc350e9eb721 06:43:27 Step 24/25 : LABEL git_sha=335d37f3bf52907231f062710320a74a14c5c04f 06:43:27 ---> Running in 1e74f7eab268 06:43:27 Removing intermediate container 1e74f7eab268 06:43:27 ---> 58fdabbc58e3 06:43:27 Step 25/25 : LABEL version=0.0.0 06:43:27 ---> Running in bed23dad9c82 06:43:28 Removing intermediate container bed23dad9c82 06:43:28 ---> 8c6cebfc868f 06:43:28 [Warning] One or more build-args [ARCH] were not consumed 06:43:28 Successfully built 8c6cebfc868f 06:43:28 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 06:43:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:28 06:43:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:28 latest: Pulling from edgex-lftools-log-publisher 06:43:28 5eb5b503b376: Pulling fs layer 06:43:28 5c69ac0246d0: Pulling fs layer 06:43:28 ec43610c2a17: Pulling fs layer 06:43:28 3a2ae6a8a46f: Pulling fs layer 06:43:28 33b1e0a273af: Pulling fs layer 06:43:28 3a2ae6a8a46f: Waiting 06:43:28 5d3b04190fa2: Pulling fs layer 06:43:28 2f39f015ded8: Pulling fs layer 06:43:28 33b1e0a273af: Waiting 06:43:28 2f39f015ded8: Waiting 06:43:28 5d3b04190fa2: Waiting 06:43:28 5c69ac0246d0: Verifying Checksum 06:43:28 5c69ac0246d0: Download complete 06:43:28 3a2ae6a8a46f: Verifying Checksum 06:43:28 3a2ae6a8a46f: Download complete 06:43:28 ec43610c2a17: Verifying Checksum 06:43:28 ec43610c2a17: Download complete 06:43:28 33b1e0a273af: Verifying Checksum 06:43:28 33b1e0a273af: Download complete 06:43:28 5d3b04190fa2: Verifying Checksum 06:43:28 5d3b04190fa2: Download complete 06:43:29 5eb5b503b376: Verifying Checksum 06:43:29 5eb5b503b376: Download complete 06:43:29 2f39f015ded8: Verifying Checksum 06:43:29 2f39f015ded8: Download complete 06:43:30 5eb5b503b376: Pull complete 06:43:30 5c69ac0246d0: Pull complete 06:43:30 ec43610c2a17: Pull complete 06:43:30 3a2ae6a8a46f: Pull complete 06:43:30 33b1e0a273af: Pull complete 06:43:31 5d3b04190fa2: Pull complete 06:43:32 using credential edgex-jenkins-ssh 06:43:32 Cloning the remote Git repository 06:43:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:43:32 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:43:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:43:32 > git --version # timeout=10 06:43:32 > git --version # 'git version 2.25.1' 06:43:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:32 Verifying host key using known hosts file 06:43:32 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. 06:43:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:43:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:35 2f39f015ded8: Pull complete 06:43:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:43:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:43:35 prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container 06:43:35 $ 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-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:43:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:43:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:43:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:34 Verifying host key using known hosts file 06:43:34 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. 06:43:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1226/head:refs/remotes/origin/PR-1226 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:43:35 Merging remotes/origin/main commit 690b0c9df30b882b455dec0110a7cd4f7611a33b into PR head commit 94ac6d2266df18c991779d09973ee9ae491e9f24 06:43:36 Merge succeeded, producing 746eee8fa88d2e552ecbcd4d8df487429ffd7518 06:43:36 Checking out Revision 746eee8fa88d2e552ecbcd4d8df487429ffd7518 (PR-1226) 06:43:35 > git config core.sparsecheckout # timeout=10 06:43:35 > git checkout -f 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 06:43:35 > git remote # timeout=10 06:43:35 > git config --get remote.origin.url # timeout=10 06:43:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:35 Verifying host key using known hosts file 06:43:35 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. 06:43:35 > git merge 690b0c9df30b882b455dec0110a7cd4f7611a33b # timeout=10 06:43:35 > git rev-parse HEAD^{commit} # timeout=10 06:43:36 > git config core.sparsecheckout # timeout=10 06:43:36 > git checkout -f 746eee8fa88d2e552ecbcd4d8df487429ffd7518 # timeout=10 06:43:37 $ docker top 040b37912501140fa6b2ff4fec672c3a275ce1acd4650976129dcd40c24d936c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:37 ---> job-cost.sh 06:43:37 lf-activate-venv: SKIPPING 06:43:37 INFO: No Stack... 06:43:38 INFO: Retrieving Pricing Info for: v3-standard-8 06:43:38 INFO: Archiving Costs [Pipeline] sh 06:43:38 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/cost.csv 06:43:38 + cut -d, -f6 [Pipeline] lock 06:43:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] 06:43:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] did not exist. Created. 06:43:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:43:38 + echo total: 0.2199999988079071 [Pipeline] stash 06:43:38 Stashed 1 file(s) [Pipeline] } 06:43:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:43:38 $ docker stop --time=1 040b37912501140fa6b2ff4fec672c3a275ce1acd4650976129dcd40c24d936c 06:43:39 Commit message: "Merge commit '690b0c9df30b882b455dec0110a7cd4f7611a33b' into HEAD" 06:43:39 > git rev-list --no-walk 94ac6d2266df18c991779d09973ee9ae491e9f24 # timeout=10 06:43:40 06:43:40 GitHub has been notified of this commit’s build result 06:43:40 06:43:40 $ docker rm -f 040b37912501140fa6b2ff4fec672c3a275ce1acd4650976129dcd40c24d936c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:43:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:43:40 Dload Upload Total Spent Left Speed 06:43:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh 06:43:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:43:41 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 06:43:41 /etc/docker/daemon.new 06:43:41 { 06:43:41 "registry-mirrors": [ 06:43:41 "https://nexus3.edgexfoundry.org:10001" 06:43:41 ], 06:43:41 "bip": "10.250.0.254/24", 06:43:41 "hosts": [ 06:43:41 "tcp://0.0.0.0:5555", 06:43:41 "unix:///var/run/docker.sock" 06:43:41 ], 06:43:41 "mtu": 1458, 06:43:41 "selinux-enabled": true, 06:43:41 "seccomp-profile": "/etc/docker/seccomp.json" 06:43:41 } [Pipeline] sh 06:43:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:43:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:00 provisioning config files... 06:44:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2100966001650951193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:01 ---> docker-login.sh 06:44:01 nexus3.edgexfoundry.org:10001 06:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:01 Configure a credential helper to remove this warning. See 06:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:01 06:44:01 Login Succeeded 06:44:01 nexus3.edgexfoundry.org:10002 06:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:02 Configure a credential helper to remove this warning. See 06:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:02 06:44:02 Login Succeeded 06:44:02 nexus3.edgexfoundry.org:10003 06:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:02 Configure a credential helper to remove this warning. See 06:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:02 06:44:02 Login Succeeded 06:44:02 nexus3.edgexfoundry.org:10004 06:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:02 Configure a credential helper to remove this warning. See 06:44:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:02 06:44:02 Login Succeeded 06:44:02 docker.io 06:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:44:03 Configure a credential helper to remove this warning. See 06:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:44:03 06:44:03 Login Succeeded 06:44:03 ---> docker-login.sh ends [Pipeline] } 06:44:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:44:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:44:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:44:03 ========================================================= 06:44:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:44:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:04 + 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 . 06:44:04 Sending build context to Docker daemon 5.399MB 06:44:04 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:44:04 Step 2/11 : FROM ${BASE} AS builder 06:44:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:44:04 b3c136eddcbf: Pulling fs layer 06:44:04 c0a3192eca97: Pulling fs layer 06:44:04 a050256f5b6f: Pulling fs layer 06:44:04 656be50a0ddc: Pulling fs layer 06:44:04 2bbca73fdf42: Pulling fs layer 06:44:04 f607e4fc86c3: Pulling fs layer 06:44:04 4d572c569a2c: Pulling fs layer 06:44:04 fcf976331f73: Pulling fs layer 06:44:04 f607e4fc86c3: Waiting 06:44:04 4d572c569a2c: Waiting 06:44:04 fcf976331f73: Waiting 06:44:04 656be50a0ddc: Waiting 06:44:04 2bbca73fdf42: Waiting 06:44:04 a050256f5b6f: Verifying Checksum 06:44:04 a050256f5b6f: Download complete 06:44:04 c0a3192eca97: Download complete 06:44:04 2bbca73fdf42: Verifying Checksum 06:44:04 2bbca73fdf42: Download complete 06:44:04 f607e4fc86c3: Download complete 06:44:04 b3c136eddcbf: Verifying Checksum 06:44:04 b3c136eddcbf: Download complete 06:44:05 b3c136eddcbf: Pull complete 06:44:05 fcf976331f73: Verifying Checksum 06:44:05 fcf976331f73: Download complete 06:44:06 c0a3192eca97: Pull complete 06:44:06 a050256f5b6f: Pull complete 06:44:06 4d572c569a2c: Verifying Checksum 06:44:06 4d572c569a2c: Download complete 06:44:07 656be50a0ddc: Verifying Checksum 06:44:07 656be50a0ddc: Download complete 06:44:20 656be50a0ddc: Pull complete 06:44:20 2bbca73fdf42: Pull complete 06:44:20 f607e4fc86c3: Pull complete 06:44:26 4d572c569a2c: Pull complete 06:44:27 fcf976331f73: Pull complete 06:44:27 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 06:44:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:44:27 ---> 3970a7415f9e 06:44:27 Step 3/11 : ARG MAKE=make build 06:44:29 ---> Running in 094a1655ad20 06:44:30 Removing intermediate container 094a1655ad20 06:44:30 ---> 462cd4e60a31 06:44:30 Step 4/11 : WORKDIR /device-sdk-go 06:44:30 ---> Running in 2c9a2f9bafdc 06:44:30 Removing intermediate container 2c9a2f9bafdc 06:44:30 ---> 89124427898a 06:44:30 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:44:30 ---> Running in 4f3afd0453af 06:44:30 Removing intermediate container 4f3afd0453af 06:44:30 ---> 2bcc64cb484a 06:44:30 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:31 ---> Running in 0089a6a9fe5a 06:44:32 Removing intermediate container 0089a6a9fe5a 06:44:32 ---> 94d41592efc1 06:44:32 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:44:32 ---> Running in b3bca2ab9eb6 06:44:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:44:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:44:35 OK: 221 MiB in 51 packages 06:44:36 Removing intermediate container b3bca2ab9eb6 06:44:36 ---> c73296343100 06:44:36 Step 8/11 : COPY go.mod vendor* ./ 06:44:37 ---> 799ec99c3096 06:44:37 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:37 ---> Running in 24755495db03 06:45:23 Removing intermediate container 24755495db03 06:45:23 ---> e572a1dbf909 06:45:23 Step 10/11 : COPY . . 06:45:24 ---> 4be1d82b6bcc 06:45:24 Step 11/11 : RUN ${MAKE} 06:45:24 ---> Running in 6bd5159c491a 06:45:25 noop 06:45:26 Removing intermediate container 6bd5159c491a 06:45:26 ---> 0b02439bba37 06:45:26 Successfully built 0b02439bba37 06:45:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:26 + docker inspect -f . ci-base-image-arm64 06:45:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:26 prd-ubuntu20.04-docker-arm64-4c-16g-7047 does not seem to be running inside a container 06:45:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:45:28 $ docker top 42d959ffcd3104929feb292a928c4bc5f2dd6263f87961d2d72734dc3c747f45 -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:29 + go version 06:45:29 go version go1.18.3 linux/arm64 [Pipeline] } 06:45:29 $ docker stop --time=1 42d959ffcd3104929feb292a928c4bc5f2dd6263f87961d2d72734dc3c747f45 06:45:30 $ docker rm -f 42d959ffcd3104929feb292a928c4bc5f2dd6263f87961d2d72734dc3c747f45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:31 + docker inspect -f . ci-base-image-arm64 06:45:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:31 prd-ubuntu20.04-docker-arm64-4c-16g-7047 does not seem to be running inside a container 06:45:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:45:32 $ docker top a4d6e0558ca13fe18859b58838dd6880fa50c5a8b5c0e5168d332f70ca76b2de -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:33 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 06:45:33 + make test 06:45:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:46:06 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:48:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.372s coverage: 27.6% of statements 06:48:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.581s coverage: 78.9% of statements 06:48:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:48:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.547s coverage: 60.0% of statements 06:48:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:48:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:48:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.956s coverage: 54.4% of statements 06:48:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:48:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:48:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:48:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:48:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.479s coverage: 65.1% of statements 06:48:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:48:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:48:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.443s coverage: 89.2% of statements 06:48:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:48:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.275s coverage: 4.7% of statements 06:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:48:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:48:30 GO111MODULE=on go vet ./... 06:50:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:50:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:50:07 ./bin/test-attribution-txt.sh 06:50:07 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:50:08 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:50:08 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:50:08 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:50:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:50:08 $ docker stop --time=1 a4d6e0558ca13fe18859b58838dd6880fa50c5a8b5c0e5168d332f70ca76b2de 06:50:10 $ docker rm -f a4d6e0558ca13fe18859b58838dd6880fa50c5a8b5c0e5168d332f70ca76b2de [Pipeline] // withDockerContainer [Pipeline] sh 06:50:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:50:11 Warning: overwriting stash ‘coverage-report’ 06:50:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:50:12 + ls -al . 06:50:12 total 272 06:50:12 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 06:45 . 06:50:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:43 .. 06:50:12 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 06:43 .dockerignore 06:50:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 06:43 .git 06:50:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:43 .github 06:50:12 -rw-rw-r-- 1 jenkins jenkins 131 Oct 4 06:43 .gitignore 06:50:12 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 06:43 .golangci.yml 06:50:12 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 4 06:43 CHANGELOG.md 06:50:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 06:43 GOVERNANCE.md 06:50:12 -rw-rw-r-- 1 jenkins jenkins 880 Oct 4 06:43 Jenkinsfile 06:50:12 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 06:43 LICENSE 06:50:12 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 4 06:43 Makefile 06:50:12 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 06:43 OWNERS.md 06:50:12 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 4 06:43 README.md 06:50:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 06:41 VERSION 06:50:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:43 bin 06:50:12 -rw-r--r-- 1 jenkins jenkins 101009 Oct 4 06:48 coverage.out 06:50:12 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 06:43 example 06:50:12 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 4 06:43 go.mod 06:50:12 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 4 06:43 go.sum 06:50:12 drwxrwxr-x 14 jenkins jenkins 4096 Oct 4 06:43 internal 06:50:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:43 openapi 06:50:12 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 06:43 pkg 06:50:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:43 snap 06:50:12 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:12 + 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=746eee8fa88d2e552ecbcd4d8df487429ffd7518 --label arch=arm64 --label version=0.0.0 . 06:50:13 Sending build context to Docker daemon 5.501MB 06:50:13 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:50:13 Step 2/25 : FROM ${BASE} AS builder 06:50:13 ---> 0b02439bba37 06:50:13 Step 3/25 : ARG MAKE=make build 06:50:13 ---> Running in dae2e59e4051 06:50:13 Removing intermediate container dae2e59e4051 06:50:13 ---> 9f6c81a214b8 06:50:13 Step 4/25 : WORKDIR /device-sdk-go 06:50:14 ---> Running in 5bcf2215de3c 06:50:14 Removing intermediate container 5bcf2215de3c 06:50:14 ---> 297650394c02 06:50:14 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:50:14 ---> Running in b1b14cb74ca7 06:50:14 Removing intermediate container b1b14cb74ca7 06:50:14 ---> 3d73dbf6b576 06:50:14 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:14 ---> Running in 79b111626502 06:50:16 Removing intermediate container 79b111626502 06:50:16 ---> e82aeaa62c33 06:50:16 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:50:16 ---> Running in c9e2c7a0e11b 06:50:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:50:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:50:19 OK: 221 MiB in 51 packages 06:50:21 Removing intermediate container c9e2c7a0e11b 06:50:21 ---> 0e2fd1ba6748 06:50:21 Step 8/25 : COPY go.mod vendor* ./ 06:50:21 ---> cbdc6daf948b 06:50:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:50:21 ---> Running in 00690f7b2531 06:50:23 Removing intermediate container 00690f7b2531 06:50:23 ---> 5de1895d11d0 06:50:23 Step 10/25 : COPY . . 06:50:24 ---> f2072cf3136f 06:50:24 Step 11/25 : RUN ${MAKE} 06:50:24 ---> Running in d170a92b2991 06:50:25 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 06:52:32 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:52:36 Removing intermediate container d170a92b2991 06:52:36 ---> 46a7532fccf7 06:52:36 Step 12/25 : FROM alpine:3.16 06:52:37 3.16: Pulling from library/alpine 06:52:37 9b18e9b68314: Pulling fs layer 06:52:37 9b18e9b68314: Verifying Checksum 06:52:37 9b18e9b68314: Download complete 06:52:38 9b18e9b68314: Pull complete 06:52:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:52:38 Status: Downloaded newer image for alpine:3.16 06:52:38 ---> a6215f271958 06:52:38 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:52:38 ---> Running in f81c9c2c1857 06:52:39 Removing intermediate container f81c9c2c1857 06:52:39 ---> 2f746a330233 06:52:39 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:52:39 ---> Running in 8680724dfc55 06:52:40 Removing intermediate container 8680724dfc55 06:52:40 ---> 2fe783c36426 06:52:40 Step 15/25 : RUN apk add --update --no-cache zeromq 06:52:40 ---> Running in dfa4ab429524 06:52:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:52:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:52:43 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:52:43 (2/5) Installing libsodium (1.0.18-r0) 06:52:43 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:52:44 (4/5) Installing libzmq (4.3.4-r0) 06:52:44 (5/5) Installing zeromq (4.3.4-r0) 06:52:44 Executing busybox-1.35.0-r17.trigger 06:52:44 OK: 8 MiB in 19 packages 06:52:45 Removing intermediate container dfa4ab429524 06:52:45 ---> 1b568230f06e 06:52:45 Step 16/25 : WORKDIR / 06:52:45 ---> Running in 394fa5790c54 06:52:45 Removing intermediate container 394fa5790c54 06:52:45 ---> 3ba64b9852d9 06:52:45 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:52:46 ---> 0390b72442c3 06:52:46 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:52:47 ---> bc3a8b5799c8 06:52:47 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:52:48 ---> 119627785c4f 06:52:48 Step 20/25 : EXPOSE 59999 06:52:48 ---> Running in 799c5fe297f0 06:52:48 Removing intermediate container 799c5fe297f0 06:52:48 ---> 52c33581f748 06:52:48 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:52:48 ---> Running in 59eda4bb5273 06:52:48 Removing intermediate container 59eda4bb5273 06:52:48 ---> a160c1198eda 06:52:48 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:52:49 ---> Running in e1d1178c9b97 06:52:49 Removing intermediate container e1d1178c9b97 06:52:49 ---> be3b2834def3 06:52:49 Step 23/25 : LABEL arch=arm64 06:52:49 ---> Running in 4d2dd0ea9fbe 06:52:49 Removing intermediate container 4d2dd0ea9fbe 06:52:49 ---> d08b0fb806c7 06:52:49 Step 24/25 : LABEL git_sha=746eee8fa88d2e552ecbcd4d8df487429ffd7518 06:52:49 ---> Running in 752de9285846 06:52:49 Removing intermediate container 752de9285846 06:52:49 ---> 83f9574dc99f 06:52:49 Step 25/25 : LABEL version=0.0.0 06:52:50 ---> Running in bc8b0fcd683a 06:52:50 Removing intermediate container bc8b0fcd683a 06:52:50 ---> cb5e048bbe03 06:52:50 [Warning] One or more build-args [ARCH] were not consumed 06:52:50 Successfully built cb5e048bbe03 06:52:50 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 06:52:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:50 06:52:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:51 arm64: Pulling from edgex-lftools-log-publisher 06:52:51 8998bd30e6a1: Pulling fs layer 06:52:51 04944245beec: Pulling fs layer 06:52:51 699f458cf7ca: Pulling fs layer 06:52:51 765212b225bb: Pulling fs layer 06:52:51 f23df028b6ca: Pulling fs layer 06:52:51 d65c8cfc05b1: Pulling fs layer 06:52:51 2437ff75d9bd: Pulling fs layer 06:52:51 d65c8cfc05b1: Waiting 06:52:51 765212b225bb: Waiting 06:52:51 f23df028b6ca: Waiting 06:52:51 2437ff75d9bd: Waiting 06:52:51 04944245beec: Verifying Checksum 06:52:51 04944245beec: Download complete 06:52:51 765212b225bb: Verifying Checksum 06:52:51 765212b225bb: Download complete 06:52:51 f23df028b6ca: Verifying Checksum 06:52:51 f23df028b6ca: Download complete 06:52:51 d65c8cfc05b1: Verifying Checksum 06:52:51 d65c8cfc05b1: Download complete 06:52:51 699f458cf7ca: Verifying Checksum 06:52:51 699f458cf7ca: Download complete 06:52:51 8998bd30e6a1: Verifying Checksum 06:52:51 8998bd30e6a1: Download complete 06:52:54 2437ff75d9bd: Verifying Checksum 06:52:54 2437ff75d9bd: Download complete 06:52:55 8998bd30e6a1: Pull complete 06:52:56 04944245beec: Pull complete 06:52:57 699f458cf7ca: Pull complete 06:52:57 765212b225bb: Pull complete 06:52:58 f23df028b6ca: Pull complete 06:52:58 d65c8cfc05b1: Pull complete 06:53:13 2437ff75d9bd: Pull complete 06:53:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:53:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:53:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:13 prd-ubuntu20.04-docker-arm64-4c-16g-7047 does not seem to be running inside a container 06:53:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:53:16 $ docker top c9989691bfa117069ed3b90554b831c64dc3de95d6cf46952ed93e78e2cef400 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:53:16 ---> job-cost.sh 06:53:17 lf-activate-venv: SKIPPING 06:53:17 INFO: No Stack... 06:53:17 INFO: Retrieving Pricing Info for: v3-standard-4 06:53:18 INFO: Archiving Costs [Pipeline] sh 06:53:19 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 06:53:19 + cut -d, -f6 [Pipeline] lock 06:53:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] 06:53:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] did not exist. Created. 06:53:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:53:19 /w/workspace/device-sdk-go/2@tmp/durable-f2ac4a6f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:53:20 + echo total: 0.10999999940395355 [Pipeline] stash 06:53:20 Warning: overwriting stash ‘stack-cost’ 06:53:20 Stashed 1 file(s) [Pipeline] } 06:53:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1226-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:53:20 $ docker stop --time=1 c9989691bfa117069ed3b90554b831c64dc3de95d6cf46952ed93e78e2cef400 06:53:22 $ docker rm -f c9989691bfa117069ed3b90554b831c64dc3de95d6cf46952ed93e78e2cef400 [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 06:53:22 provisioning config files... 06:53:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config14442991090293558898tmp [Pipeline] { [Pipeline] sh 06:53:22 + set +x 06:53:22 + + bash -s -- 06:53:22 curl -s https://codecov.io/bash 06:53:22 06:53:22 _____ _ 06:53:22 / ____| | | 06:53:22 | | ___ __| | ___ ___ _____ __ 06:53:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:53:22 | |___| (_) | (_| | __/ (_| (_) \ V / 06:53:22 \_____\___/ \__,_|\___|\___\___/ \_/ 06:53:22 Bash-1.0.6 06:53:22 06:53:22 06:53:22 ==> git version 2.25.1 found 06:53:22 ==> 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 06:53:22 Release-Date: 2020-01-08 06:53:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:53:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:53:22 ==> Jenkins CI detected. 06:53:22 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1226 06:53:22 project root: . 06:53:22 --> token set from env 06:53:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:53:22 ==> Running gcov in . (disable via -X gcov) 06:53:22 ==> Python coveragepy not found 06:53:22 ==> Searching for coverage reports in: 06:53:22 + . 06:53:22 -> Found 1 reports 06:53:22 ==> Detecting git/mercurial file structure 06:53:22 ==> Reading reports 06:53:22 + ./coverage.out bytes=101009 06:53:22 ==> Appending adjustments 06:53:22 https://docs.codecov.io/docs/fixing-reports 06:53:23 + Found adjustments 06:53:23 ==> Gzipping contents 06:53:23 16K /tmp/codecov.t1sXQf.gz 06:53:23 ==> Uploading reports 06:53:23 url: https://codecov.io 06:53:23 query: branch=PR-1226&commit=335d37f3bf52907231f062710320a74a14c5c04f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1226%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1226&job=&cmd_args= 06:53:23 -> Pinging Codecov 06:53:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1226&commit=335d37f3bf52907231f062710320a74a14c5c04f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1226%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1226&job=&cmd_args= 06:53:23 -> Uploading to 06:53:23 https://storage.googleapis.com/codecov/v4/raw/2022-10-04/7E55EF52A471D76F132DFD9A03CDDE97/335d37f3bf52907231f062710320a74a14c5c04f/5bf9cff5-3a07-446b-9767-2ae9789dac15.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221004T065323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7ae355507ae9bff3f798a444e0d45d5537c077b5863ea9d11d97368af3a12d26 06:53:23 % Total % Received % Xferd Average Speed Time Time Time Current 06:53:23 Dload Upload Total Spent Left Speed 06:53:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14595 0 0 100 14595 0 66040 --:--:-- --:--:-- --:--:-- 65743 100 14595 0 0 100 14595 0 58380 --:--:-- --:--:-- --:--:-- 58147 06:53:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/335d37f3bf52907231f062710320a74a14c5c04f [Pipeline] } 06:53:23 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 06:53:24 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives ] 06:53:24 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives 06:53:24 total 16 06:53:24 drwxr-xr-x 3 root root 4096 Oct 4 06:43 . 06:53:24 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 06:43 .. 06:53:24 drwxr-xr-x 2 root root 4096 Oct 4 06:43 cost 06:53:24 -rw-r--r-- 1 root root 86 Oct 4 06:43 cost.csv 06:53:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives 06:53:24 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives 06:53:24 total 16 06:53:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 06:43 . 06:53:24 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 06:43 .. 06:53:24 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 06:43 cost 06:53:24 -rw-r--r-- 1 jenkins jenkins 86 Oct 4 06:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:53:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:53:25 ---> package-listing.sh 06:53:25 ++ facter osfamily 06:53:25 ++ tr '[:upper:]' '[:lower:]' 06:53:25 + OS_FAMILY=debian 06:53:25 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1226 06:53:25 + START_PACKAGES=/tmp/packages_start.txt 06:53:25 + END_PACKAGES=/tmp/packages_end.txt 06:53:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:53:25 + PACKAGES=/tmp/packages_start.txt 06:53:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1226 ']' 06:53:25 + PACKAGES=/tmp/packages_end.txt 06:53:25 + case "${OS_FAMILY}" in 06:53:25 + dpkg -l 06:53:25 + grep '^ii' 06:53:25 + '[' -f /tmp/packages_start.txt ']' 06:53:25 + '[' -f /tmp/packages_end.txt ']' 06:53:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:53:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1226 ']' 06:53:25 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/ 06:53:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1226/archives/ [Pipeline] echo 06:53:25 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-1226/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:53:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:53:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:53:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:53:26 prd-ubuntu20.04-docker-8c-8g-7046 does not seem to be running inside a container 06:53:26 $ 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-1226/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-1226 -v /w/workspace/gexfoundry_device-sdk-go_PR-1226:/w/workspace/gexfoundry_device-sdk-go_PR-1226:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:53:27 $ docker top da7a89b6eebedb0781cdf90e75290d742eff1e66a9843c2668d0bdc8a5cbec25 -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:27 + touch /tmp/pre-build-complete [Pipeline] sh 06:53:27 + mkdir -p /var/log/sysstat [Pipeline] sh 06:53:28 + ls /var/log/sa-host 06:53:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:53:28 provisioning config files... 06:53:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1226@tmp/config5574319041779319471tmp [Pipeline] { [Pipeline] echo 06:53:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:53:28 ---> create-netrc.sh [Pipeline] } 06:53:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:53:28 ---> python-tools-install.sh [Pipeline] echo 06:53:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:53:29 ---> sudo-logs.sh 06:53:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:53:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:53:29 ---> job-cost.sh 06:53:29 lf-activate-venv: SKIPPING 06:53:29 DEBUG: total: 0.2199999988079071 06:53:29 INFO: Retrieving Stack Cost... 06:53:29 INFO: Retrieving Pricing Info for: v3-standard-8 06:53:30 INFO: Archiving Costs [Pipeline] echo 06:53:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:53:30 ---> logs-deploy.sh 06:53:30 lf-activate-venv: SKIPPING 06:53:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1226/2 06:53:30 INFO: archiving workspace using pattern(s): 06:53:31 Archives upload complete. 06:53:31 INFO: archiving logs to Nexus